@charset "UTF-8";
/* CSS Document */
.section-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem; /* 上下2rem、左右1remの余白 */
}
.section-title {
  font-size: 2rem;
  text-align: center;
  color: #fff0e6;
  margin-bottom: 2rem;
}
.app-card {
  background-color: #a4978e;
  color: #000;
  display: flex;
  margin-bottom: 60px;
  padding: 1.5rem;
  border-radius: 8px;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.app-icon {
  width: 150px;
  height: 150px;
  background-color: #000;
  border-radius: 8px;
  flex-shrink: 0;
}
.app-info {
  flex: 1;
  min-width: 200px;
}
.app-title-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.app-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.new-label {
  background-color: red;
  color: white;
  font-size: 0.8rem;
  padding: 0.2em 0.6em;
  border-radius: 4px;
}
.app-genre {
  font-size: 0.9rem;
  margin-top: 0.3rem;
  color: #333;
}
.app-description {
  font-size: 1rem;
  margin-top: 0.7rem;
  line-height: 1.5;
}
.button-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.policy-button, .store-button {
  background-color: #000;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  text-align: center;
}
/* スマホ対応 */
@media (max-width: 600px) {
  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .button-row {
    flex-direction: column;
    width: 100%;
  }
  .policy-button, .store-button {
    width: 100%;
    text-align: center;
  }
  .app-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
.games-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.game-card {
  background-color: #eae0d5;
  color: #2e1e17;
  border-radius: 8px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}
.game-card a {
  text-decoration: none;
}
.game-image {
  width: 100%;
  padding-top: 56.25%; /* 16:9のアスペクト比（高さは幅の56.25%） */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  background-color: #000; /* 画像読み込み前に黒背景 */
  margin-bottom: 16px;
}
.game-title {
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}
.game-description {
  font-size: 15px;
  text-align: center;
  margin-bottom: 16px;
}
.play-button {
  background-color: #7b4a3b;
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.play-button span {
  font-size: 12px;
  margin-top: 4px;
}
@media screen and (max-width: 600px) {
  .games-container {
    flex-direction: column;
    align-items: center;
  }
}
/* 共通スタイル */
.image-slider-section {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}
.image-slider {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.image-slider img {
  max-width: 30%;
  height: auto;
  transition: opacity 1s ease;
}
/* スマホ対応：1枚ずつ表示に切り替え */
@media screen and (max-width: 768px) {
  .image-slider {
    display: block;
    position: relative;
    height: auto;
  }
  .image-slider img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    opacity: 0;
  }
  .image-slider img.active {
    opacity: 1;
    position: relative;
  }
}