/* ベーススタイル */
:root {
  --black: #222;
  --white: #ffffff;
  --orange: #f78b5a;
  --blue: #539fed;
  --purple: #717bcc;
  --yellow: #ffdc2f;
  --log-cabin: #222222;

  --font-size-l: 34px;
  --font-size-m: 24px;
  --font-size-xs: 15.5px;

  --font-family-inter: "Inter", Helvetica;
  --font-family-noto_sans_jp: "M PLUS 1p", "Noto Sans JP", Helvetica;

  --section-padding: 80px;
  --container-widthtext-container: 1200px;
  --border-radius: 8px;
}

/* リセットとベース設定 */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: var(--font-family-noto_sans_jp);
}

img {
  max-width: 100%;
  height: auto;
}

/* レイアウト */
.container-center-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* セクション共通 */
.section {
  width: 100%;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-container {
  max-width: 700px;
  width: 85%;
}

/* 共通コンポーネント */
.text-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.image-container {
  width: 100%;
  max-width: 671px;
  margin: 0 auto;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* テキストスタイル */
.section-title {
  color: var(--white);
  font-family: var(--font-family-noto_sans_jp);
  font-size: var(--font-size-l);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.5;
}

.section-title.black {
  color: var(--black);
}

.section-subtitle {
  color: var(--white);
  font-family: var(--font-family-inter);
  font-size: var(--font-size-xs);
  font-style: italic;
  font-weight: 900;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .section-subtitle {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.section-subtitle.black {
  color: var(--black);
}

.section-message {
  color: var(--white);
  font-family: var(--font-family-noto_sans_jp);
  font-size: var(--font-size-m);
  font-weight: 700;
  color: white;
  line-height: 1.5;
  margin-top: 30px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .section-message {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.section-message.black {
  color: var(--black);
}

/* セクション固有スタイル */
.header {
  background-color: var(--yellow);
  border-bottom: 1px solid var(--black);
  padding: 40px 40px 0;
  overflow: hidden;
  min-height: min(100vh, 900px);
  justify-content: center;
}

.header-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header-messages {
  width: 57%;
}

.header-image {
  width: 43%;
}

/* .header-messages */
.header-messages .min-title {
  margin-bottom: 30px;
  font-size: min(16px, 1.5vw);
  color: #626262;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .header-messages .min-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.header-messages img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .header-messages img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.header-messages .download-container {
  display: flex;
  max-width: 100%;
  padding-top: 40px;
  padding-bottom: 80px;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .header-messages .download-container {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.header-messages .download-container img {
  display: block;
  width: 40%;
  object-fit: contain;
}

.header-messages .download-container .download-text {
  width: 30%;
}

/* .header-image */
.header-image {
  width: 43%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .header-image {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.header-image img {
  display: block;
}

/* シリーズ */
.series-header {
  display: flex;
  gap: 14px;
  margin: 0 auto;
  width: fit-content;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .series-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .series-grid {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.series-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  box-sizing: border-box;
}

h2.series-title {
  font-size: 22px;
  padding-top: 1px;
}

.series-grid img.apple-download-link {
  object-fit: contain;
  aspect-ratio: auto;
  margin-top: 14px;
}

/* ゲーム感覚 */
.game-section {
  background-color: var(--orange);
  border-block: 1px solid var(--black);
}

/* AI */
.ai-section {
  background-color: var(--white);
}

.ai-qa-section {
  background-color: var(--blue);
  border-block: 1px solid var(--black);
}

/* 単語帳 */
.book-section {
  background-color: var(--purple);
  border-block: 1px solid var(--black);
}

/* フッター */
.footer {
  background-color: var(--white);
  padding: 30px 0;
  min-height: auto;
  opacity: 1 !important;
  transform: none !important;
}

.footer * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.copyright {
  color: var(--black);
  text-align: center;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .header {
    padding-top: 10vw;
    padding-bottom: 0;
  }

  .header-messages .min-title {
    font-size: 2.5vw;
    text-align: center;
  }

  .header-messages .download-container {
    padding-bottom: 16px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-messages .download-container .download-text {
    width: 60%;
  }

  .header-messages .download-container img {
    width: 60%;
    margin-top: 0;
  }

  .header-image img {
    width: 90%;
    margin: 0 auto;
  }

  .series-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: var(--font-size-m);
  }

  h2.series-title {
    font-size: 18px;
  }

  .series-header img {
    width: 16px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-subtitle {
    font-size: 12px;
  }

  .section-message {
    font-size: 16px;
  }

  .header-container {
    flex-direction: column;
    width: 85%;
  }

  .header-messages {
    width: 100%;
  }

  .header-image {
    width: 100%;
  }

  footer.section.footer {
    padding: 20px 0;
    font-size: 12px;
  }

  img.apple-download-link{
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}

/* アニメーション用のキーフレーム追加 */
@keyframes subtitleSlide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ホバーエフェクト */
.series-item img {
  transition: transform 0.3s ease;
}

.series-item img:hover {
  transform: translateY(-5px) !important;
}

.download-container {
  transition: transform 0.3s ease;
}

.download-container:hover {
  transform: scale(1.02);
}

.book-link {
  transition: transform 0.3s ease;
  display: block;
}

.book-link:hover {
  transform: scale(1.02);
}

/* アニメーション共通設定 */
.section-title,
.image-container,
.section-message,
.series-grid,
.series-header,
.header-messages .min-title,
.header-messages img,
.header-messages .download-container,
.header-image {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 各要素の表示タイミングをずらす */
.section.visible .section-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.section.visible .image-container {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.section.visible .section-message {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.section.visible .series-grid {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.highlight {
  position: relative;
  display: inline;
  border-radius: 4px;
}

.highlight::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 0;
  height: 30%;
  background-color: #ffd331e8;
  z-index: -1;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.83, 0, 0.17, 1);
}

.section.visible .highlight::after {
  width: 104%;
  transition-delay: 0.6s;
}

/* アニメーション用のキーフレーム追加 */
@keyframes subtitleSlide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* アニメーション基本設定 */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ハイライトアニメーション */
.highlight::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 0;
  height: 30%;
  background-color: #ffd331e8;
  z-index: -1;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section.visible .highlight::after {
  width: 104%;
  transition-delay: 0.8s;
}

/* イメージコンテナアニメーション */
.image-container {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .image-container {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.5s;
}

/* メッセージアニメーション */
.section-message {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .section-message {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* シリーズグリッドアニメーション */
.series-grid {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .series-grid {
  opacity: 1;
  transition-delay: 0.4s;
}

.series-grid .series-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .series-grid .series-item {
  opacity: 1;
  transform: translateY(0);
}

/* シリーズアイテムの遅延を順番に設定 */
.section.visible .series-grid .series-item:nth-child(1) { transition-delay: 0.4s; }
.section.visible .series-grid .series-item:nth-child(2) { transition-delay: 0.45s; }
.section.visible .series-grid .series-item:nth-child(3) { transition-delay: 0.5s; }
.section.visible .series-grid .series-item:nth-child(4) { transition-delay: 0.55s; }
.section.visible .series-grid .series-item:nth-child(5) { transition-delay: 0.6s; }
.section.visible .series-grid .series-item:nth-child(6) { transition-delay: 0.65s; }
.section.visible .series-grid .series-item:nth-child(7) { transition-delay: 0.7s; }
.section.visible .series-grid .series-item:nth-child(8) { transition-delay: 0.75s; }
.section.visible .series-grid .series-item:nth-child(9) { transition-delay: 0.8s; }
.section.visible .series-grid .series-item:nth-child(10) { transition-delay: 0.85s; }

/* ホバーエフェクトの改善 */
.series-item {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.series-item:hover {
  transform: translateY(-8px) scale(1.02);
}

.download-container {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-container:hover {
  transform: scale(1.03);
}

.book-link {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.book-link:hover {
  transform: scale(1.03) translateY(-5px);
}

/* ========================================
   テンプレート追加スタイル
   ======================================== */

/* ヘッダーフックテキスト（「やめられない…」） */
.header-hook {
  font-family: var(--font-family-noto_sans_jp);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 5px #222;
  paint-order: stroke fill;
  line-height: 1.3;
  margin: 0 0 8px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .header-hook {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* ヒーロータイトル（白文字＋黒縁取り） */
.hero-title {
  font-family: var(--font-family-noto_sans_jp);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 5px #222;
  paint-order: stroke fill;
  line-height: 1.3;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* ダウンロードCTA */
.download-cta {
  padding-top: 30px;
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .download-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.download-cta-text {
  font-family: var(--font-family-noto_sans_jp);
  font-size: 15px;
  font-weight: 700;
  color: #626262;
  margin: 0 0 14px 0;
}

/* ストアバッジ共通 */
.store-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.store-badge {
  height: 40px;
  width: auto;
  display: block;
}

/* Google Play バッジ（CSS製） */
.playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #fff;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-family-inter);
  font-size: 13px;
  font-weight: 600;
  height: 40px;
  box-sizing: border-box;
  transition: background 0.2s;
  white-space: nowrap;
}

.playstore-badge:hover {
  background: #333;
}

.playstore-badge svg {
  flex-shrink: 0;
}

/* ダウンロードグリッド内の小型Playバッジ */
.playstore-badge-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-family-inter);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.playstore-badge-small:hover {
  background: #333;
}

.playstore-badge-small svg {
  flex-shrink: 0;
}

/* ダウンロードグリッドのストアリンク */
.download-grid .series-item,
.download-grid > div {
  text-align: center;
}

.store-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}

.store-links .apple-download-link {
  object-fit: contain;
  aspect-ratio: auto;
  width: 100%;
  margin: 0;
  display: block;
}

/* デバイスフレーム（iPhoneモック） */
.device-frame {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  border: 4px solid #1a1a1a;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.18),
    inset 0 0 0 2px #333;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 28px;
  background: #1a1a1a;
  border-radius: 14px;
  z-index: 2;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #f0f0f0 0%, #e0e0e0 100%);
  border-radius: 28px;
  overflow: hidden;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ヘッダー内のデバイスフレーム — 画面に応じて拡大、常に下1/3見切れ */
.header-image .device-frame {
  width: clamp(280px, 30vw, 500px);
  margin: 60px auto -33%;
}

/* セクション内のデバイスフレーム */
.image-container .device-frame {
  width: 260px;
}

/* シリーズアイテム: 現在のアプリをハイライト */
.series-item.current {
  position: relative;
}

.series-item.current::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 3px solid var(--orange);
  border-radius: 12px;
  pointer-events: none;
}

/* ========================================
   概要セクション
   ======================================== */
.description-section {
  background-color: var(--yellow);
}

.description-section .section-title {
  color: #fff;
}

.description-text {
  width: 100%;
  max-width: 700px;
  text-align: center;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible .description-text {
  opacity: 1;
  transform: translateX(0);
}

.description-text p {
  font-family: var(--font-family-noto_sans_jp);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.8;
  color: #fff;
  margin: 0;
}

.description-text .highlight::after {
  background: #ffd331e8;
}

.description-section.dark-text .description-text p,
.description-section.dark-text .section-title {
  color: #222;
}

/* ========================================
   サンプルクイズ
   ======================================== */
.quiz-section {
  background: #fff;
}

.quiz-container {
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
  font-family: var(--font-family-noto_sans_jp);
}

.quiz-counter {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  margin-bottom: 8px;
}

.quiz-name {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  margin-bottom: 6px;
}

.quiz-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.quiz-code {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.quiz-code code {
  color: #d4d4d4;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.quiz-text {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  margin-bottom: 20px;
}

.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.quiz-choice {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font-family-noto_sans_jp);
  white-space: pre-line;
}

.quiz-choice:hover {
  border-color: #aaa;
}

.quiz-choice.selected {
  border-color: var(--orange);
  background: #fff8f0;
}

.quiz-choice.correct {
  border-color: #4caf50;
  background: #e8f5e9;
  color: #2e7d32;
}

.quiz-choice.wrong {
  border-color: #e53935;
  background: #ffeaea;
  color: #c62828;
}

.quiz-choice.correct::before {
  content: '\2713  ';
}

.quiz-choice.wrong::before {
  content: '\2717  ';
}

.quiz-submit,
.quiz-next {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-family-noto_sans_jp);
  transition: background 0.2s, opacity 0.2s;
}

.quiz-submit {
  background: var(--orange);
  color: #fff;
}

.quiz-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quiz-submit:not(:disabled):hover {
  background: #e07a22;
}

.quiz-next {
  background: #222;
  color: #fff;
  margin-top: 12px;
}

.quiz-next:hover {
  background: #444;
}

.quiz-explanation {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.quiz-explanation strong {
  color: #1976d2;
}

/* クイズ完了画面 */
.quiz-complete {
  text-align: center;
  padding: 40px 0;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz-complete-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  border: none;
  margin-bottom: 24px;
}

.quiz-complete-title {
  font-size: 22px;
  font-weight: 900;
  color: #222;
  margin-bottom: 28px;
}

.quiz-complete-stores {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-complete-badge {
  height: 44px;
  width: auto;
}

.quiz-retry {
  display: inline-block;
  padding: 12px 32px;
  background: none;
  border: 2px solid #aaa;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  font-family: var(--font-family-noto_sans_jp);
  transition: border-color 0.2s, color 0.2s;
}

.quiz-retry:hover {
  border-color: #222;
  color: #222;
}

/* ========================================
   カテゴリ一覧
   ======================================== */
.categories-section {
  background-color: #111;
}

.categories-section .section-container {
  text-align: center;
}

.categories-section .section-subtitle {
  color: #888;
}

.categories-section .section-title {
  color: #fff;
}

.categories-section .section-title .highlight::after {
  background: #ffd331e8;
}

.categories-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  display: inline-block;
  text-align: left;
}

.categories-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-family-noto_sans_jp);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.categories-list li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

/* ========================================
   レスポンシブ追加
   ======================================== */
@media (max-width: 768px) {
  .header-hook {
    font-size: clamp(22px, 7vw, 36px);
    -webkit-text-stroke: 3.5px #222;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(22px, 7vw, 36px);
    -webkit-text-stroke: 3.5px #222;
    text-align: center;
  }

  .download-cta {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
  }

  .download-cta-text {
    font-size: 13px;
  }

  .store-badges {
    justify-content: center;
  }

  .store-badge {
    height: 34px;
  }

  .playstore-badge {
    height: 34px;
    font-size: 11px;
    padding: 0 10px;
  }

  .header-image .device-frame {
    width: 55vw;
    margin: 10px auto -33%;
  }

  .image-container .device-frame {
    width: 200px;
  }

  .playstore-badge-small {
    font-size: 10px;
    padding: 4px 8px;
  }

  .lang-switcher {
    top: 10px;
    right: 10px;
  }

  .lang-switcher-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* ========================================
   言語スイッチャー
   ======================================== */
.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

.lang-switcher-btn {
  background: #fff;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: var(--font-family-noto_sans_jp);
}

.lang-switcher-btn:hover {
  background: #f5f5f5;
}

.lang-switcher-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 4px 0;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  max-height: 70vh;
  overflow-y: auto;
}

.lang-switcher-menu.open {
  display: block;
}

.lang-switcher-menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-family: var(--font-family-noto_sans_jp);
}

.lang-switcher-menu a:hover {
  background: #f0f0f0;
}

.lang-switcher-menu a.active {
  font-weight: 700;
  background: #f8f8f8;
}