/* 共通スタイル */
body {
  font-family: 'Zen Kaku Gothic New', cursive;
  line-height: 1.6;
  color: #000000;
}

header{
  position: relative;
  color: #000000;
  display: flex;
  justify-content: space-between;
  background-color: white;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
}

header a{
  font-size: 20px;
  color: #000;
}

h1{
  font-size: 40px;
}

.top{
  display: flex;
  justify-content: space-between;
}

.top img{
  width: 70%;
}

.download{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  background-color: #a8a8a89e;
}

.download p{
  font-size: 30px;
}

.download a{
  display: inline-block; /* インライン要素をブロック化 */
  font-size: 30px;
  padding: 10px 20px; /* 内側の余白を追加 */
  color: #ffffff; /* 文字色 */
  background-color: #007bff; /* 背景色 */
  text-decoration: none; /* 下線を削除 */
  border-radius: 5px; /* 角を丸くする */
  text-align: center; /* テキストを中央揃え */
}

.content {
  padding: 5%;
  background-image: url('src/tile.png');
  background-size: 96px;
}

h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  color: #000;
  font-size: 30px;
}

.content p{
  font-size: 23px;
  margin: 10px;
}

footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 16px;
}

.about{
  text-align: center;
}

/* スクリーンショット */
.screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  justify-content: center;
}

.screenshots img {
  width: calc(30% - 5%);
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content a{
  color: #000;
  font-size: 23px;
}

footer{
  font-size: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
  h1 {
    font-size: 35px;
  }

  .content p{
    font-size: 21px;
  }

  .content a{
    font-size: 21px;
  }

  .download p{
    font-size: 25px;
  }

  .download a{
    font-size: 25px
  }

  header a{
    font-size: 20px;
  }

  main a{
    font-size: 15px;
  }

  h2 {
    font-size: 25px;
  }
}

@media (max-width: 750px) {
  h1 {
    font-size: 30px;
  }

  .content p{
    font-size: 17px;
  }

  .download p{
    font-size: 16px;
  }

  .download a{
    font-size: 16px
  }

  header a{
    font-size: 15px;
  }

  main a{
    font-size: 15px;
  }

  h2 {
    font-size: 23px;
  }

  .content a{
    font-size: 17px;
  }
}

@media (max-width: 550px) {
  h1 {
    font-size: 20px;
  }

  .content p{
    font-size: 13px;
  }

  .content a{
    font-size: 13px;
  }

  .download p{
    font-size: 14px;
  }

  .download a{
    font-size: 14px;
    display: inline-block; /* インライン要素をブロック化 */
    padding: 5px 10px; /* 内側の余白を追加 */
    color: #ffffff; /* 文字色 */
    background-color: #007bff; /* 背景色 */
    text-decoration: none; /* 下線を削除 */
    border-radius: 5px; /* 角を丸くする */
    text-align: center; /* テキストを中央揃え */
  }

  header a{
    font-size: 12px;
  }

  main a{
    font-size: 8px;
  }

  h2 {
    font-size: 16px;
  }

  .screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
  }

  .screenshots img {
    width: calc(40%);
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 20px;
  }

  .content p{
    font-size: 11px;
  }

  .content a{
    font-size: 11px;
  }

  .download p{
    font-size: 10px;
  }

  .download a{
    font-size: 10px;
    display: inline-block; /* インライン要素をブロック化 */
    padding: 5px 10px; /* 内側の余白を追加 */
    color: #ffffff; /* 文字色 */
    background-color: #007bff; /* 背景色 */
    text-decoration: none; /* 下線を削除 */
    border-radius: 5px; /* 角を丸くする */
    text-align: center; /* テキストを中央揃え */
  }

  header a{
    font-size: 12px;
  }

  main a{
    font-size: 8px;
  }

  h2 {
    font-size: 16px;
  }

  .screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
  }

  .screenshots img {
    width: calc(40%);
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
}
