/* ============================================================
   おやこクエスト - スタイルシート
   世界観: マザリアル (レトロゲーム × ドット絵 × コドモゴコロ)
   ※ WordPress移行時: テーマの style.css またはページ専用CSSとして
     そのまま読み込めます (依存はGoogle Fontsのみ)
============================================================ */

:root {
  /* 夜空の冒険パレット */
  --night: #171a38;
  --night-deep: #101228;
  --cream: #fdf6e7;
  --paper: #fffdf7;
  --ink: #33304a;
  --yellow: #ffd93d;   /* コイン */
  --pink: #ff6b9d;     /* ハート */
  --green: #5ecf6f;    /* 草原 */
  --green-dark: #3da452;
  --blue: #5aa9ff;
  --orange: #ff9d4d;

  --font-pixel: "DotGothic16", "MS Gothic", monospace;
  --font-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;

  --shadow-pixel: 4px 4px 0 rgba(23, 26, 56, .18);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ------------------------------------------------------------
   共通パーツ
------------------------------------------------------------ */
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.section { padding: 96px 0; position: relative; }

.section-eyebrow {
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: .35em;
  color: var(--pink);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(26px, 4.5vw, 40px);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 48px;
}

.section-lead { text-align: center; margin: -24px 0 48px; }

/* ボタン: 「ぼうけんのしょ」風 */
.btn {
  display: inline-block;
  font-family: var(--font-pixel);
  text-decoration: none;
  text-align: center;
  padding: 14px 32px;
  border: 3px solid var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pixel);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(23, 26, 56, .18); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }

.btn-primary { background: var(--yellow); color: var(--night); font-weight: 700; }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 rgba(253, 246, 231, .15); }
.btn-large { font-size: 18px; padding: 18px 40px; }
.btn-small { font-size: 13px; padding: 8px 18px; }

/* カーソル点滅 ▶ */
.blink { animation: blink 1.1s steps(2, start) infinite; display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }

/* CTA鼓動 */
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* スクロール連動の出現アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* 経験値バー(スクロール進行) */
.xp-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: rgba(23, 26, 56, .12);
  z-index: 1000;
}
.xp-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

/* ------------------------------------------------------------
   ヘッダー
------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 5px; left: 0; right: 0;
  z-index: 900;
  background: rgba(23, 26, 56, .92);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--night-deep);
  transition: transform .3s ease;
}
.site-header.is-hidden { transform: translateY(-110%); }

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: var(--font-pixel);
  color: var(--cream);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: .12em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-pixel { color: var(--yellow); animation: blink 2s steps(2, start) infinite; }

.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.global-nav a:hover::after { transform: scaleX(1); }

/* ------------------------------------------------------------
   ヒーロー: 夜空のステージ
------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 55%, #23305e 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 120px 20px 150px;
}

.hero-sky { position: absolute; inset: 0; pointer-events: none; }

/* 星空: box-shadowでドットの星をばらまく */
.stars {
  position: absolute;
  width: 3px; height: 3px;
  background: transparent;
  border-radius: 0;
}
.stars-1 {
  box-shadow:
    8vw 12vh 0 #fff, 22vw 6vh 0 #ffd93d, 35vw 18vh 0 #fff,
    48vw 9vh 0 #fff, 61vw 15vh 0 #9fd0ff, 74vw 7vh 0 #fff,
    88vw 20vh 0 #ffd93d, 15vw 28vh 0 #fff, 42vw 30vh 0 #9fd0ff,
    69vw 26vh 0 #fff, 93vw 34vh 0 #fff, 5vw 40vh 0 #ffd93d,
    55vw 38vh 0 #fff, 80vw 44vh 0 #9fd0ff, 28vw 45vh 0 #fff;
  animation: twinkle 3s ease-in-out infinite;
}
.stars-2 {
  box-shadow:
    12vw 22vh 0 #fff, 30vw 10vh 0 #fff, 52vw 24vh 0 #ffd93d,
    66vw 12vh 0 #fff, 84vw 28vh 0 #fff, 20vw 36vh 0 #9fd0ff,
    46vw 42vh 0 #fff, 72vw 38vh 0 #ffd93d, 95vw 14vh 0 #fff,
    38vw 5vh 0 #fff;
  animation: twinkle 3s ease-in-out 1.5s infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ドット絵の雲 */
.pixel-cloud {
  position: absolute;
  width: 84px; height: 24px;
  background: rgba(255, 255, 255, .16);
  box-shadow:
    -24px 12px 0 rgba(255, 255, 255, .16),
    24px 12px 0 rgba(255, 255, 255, .16),
    0 12px 0 rgba(255, 255, 255, .16);
  animation: drift 40s linear infinite;
}
.cloud-1 { top: 16%; animation-duration: 46s; }
.cloud-2 { top: 34%; animation-duration: 60s; animation-delay: -22s; transform: scale(.7); }
.cloud-3 { top: 8%;  animation-duration: 74s; animation-delay: -40s; transform: scale(1.2); }
@keyframes drift {
  from { left: -140px; }
  to   { left: 110%; }
}

/* ドット月 */
.pixel-moon {
  position: absolute;
  top: 10%; right: 10%;
  width: 48px; height: 48px;
  background: var(--yellow);
  box-shadow:
    0 0 0 6px rgba(255, 217, 61, .18),
    0 0 42px 10px rgba(255, 217, 61, .28);
  image-rendering: pixelated;
  clip-path: polygon(25% 0, 75% 0, 75% 12.5%, 87.5% 12.5%, 87.5% 25%, 100% 25%, 100% 75%, 87.5% 75%, 87.5% 87.5%, 75% 87.5%, 75% 100%, 25% 100%, 25% 87.5%, 12.5% 87.5%, 12.5% 75%, 0 75%, 0 25%, 12.5% 25%, 12.5% 12.5%, 25% 12.5%);
  animation: moonFloat 6s ease-in-out infinite;
}
@keyframes moonFloat { 50% { transform: translateY(-10px); } }

.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero-eyebrow {
  font-family: var(--font-pixel);
  font-size: clamp(14px, 2vw, 17px);
  color: var(--yellow);
  letter-spacing: .18em;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 1.45;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, .35);
  margin-bottom: 28px;
}
.hero-title em { color: var(--yellow); }
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn .8s ease forwards;
}
.hero-title-line:nth-child(2) { animation-delay: .45s; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

.hero-lead {
  font-size: clamp(15px, 2.2vw, 18px);
  opacity: 0;
  animation: riseIn .8s ease 1s forwards;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn .8s ease 1.4s forwards;
}

/* 地面: 草原ステージ */
.hero-ground {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 96px;
  background: var(--green);
  border-top: 8px solid var(--green-dark);
  image-rendering: pixelated;
}
.hero-ground::before {
  content: "";
  position: absolute;
  top: -20px; left: 0; right: 0;
  height: 12px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 24px, var(--green-dark) 24px 36px, transparent 36px 72px);
}

/* 主人公スプライト: box-shadowで描くドット絵のこども */
.pixel-hero-sprite {
  position: absolute;
  bottom: 88px;
  left: -60px;
  width: 6px; height: 6px;
  animation: heroWalk 18s linear infinite, heroBob .5s steps(2) infinite;
}
.pixel-hero-sprite::before {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  /* 12x14ドットの男の子 (帽子+リュック) */
  box-shadow:
    /* 帽子 */
    18px 0 var(--pink), 24px 0 var(--pink), 30px 0 var(--pink),
    12px 6px var(--pink), 18px 6px var(--pink), 24px 6px var(--pink), 30px 6px var(--pink), 36px 6px var(--pink), 42px 6px var(--pink),
    /* 顔 */
    18px 12px #ffdbb0, 24px 12px #ffdbb0, 30px 12px #ffdbb0, 36px 12px #ffdbb0,
    18px 18px #ffdbb0, 24px 18px var(--night), 30px 18px #ffdbb0, 36px 18px var(--night),
    18px 24px #ffdbb0, 24px 24px #ffdbb0, 30px 24px #ffdbb0, 36px 24px #ffdbb0,
    /* からだ */
    18px 30px var(--blue), 24px 30px var(--blue), 30px 30px var(--blue), 36px 30px var(--blue),
    12px 36px #ffdbb0, 18px 36px var(--blue), 24px 36px var(--blue), 30px 36px var(--blue), 36px 36px var(--blue), 42px 36px #ffdbb0,
    18px 42px var(--blue), 24px 42px var(--blue), 30px 42px var(--blue), 36px 42px var(--blue),
    /* あし */
    18px 48px var(--night), 36px 48px var(--night),
    18px 54px var(--night), 36px 54px var(--night);
}
@keyframes heroWalk {
  from { left: -60px; }
  to   { left: 105%; }
}
@keyframes heroBob { 50% { transform: translateY(-4px); } }

/* コイン */
.pixel-coin {
  position: absolute;
  bottom: 150px;
  width: 22px; height: 22px;
  background: var(--yellow);
  border: 3px solid #d9a900;
  border-radius: 2px;
  animation: coinSpin 1.6s ease-in-out infinite;
}
.coin-a { left: 24%; }
.coin-b { left: 50%; animation-delay: .3s; bottom: 190px; }
.coin-c { left: 76%; animation-delay: .6s; }
@keyframes coinSpin {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(.15); }
}

/* ゴールの旗 */
.pixel-flag {
  position: absolute;
  right: 8%;
  bottom: 96px;
  width: 6px; height: 84px;
  background: #cfd4e8;
}
.pixel-flag::before {
  content: "";
  position: absolute;
  top: 0; left: 6px;
  border-style: solid;
  border-width: 14px 0 14px 34px;
  border-color: transparent transparent transparent var(--pink);
  animation: flagWave 1.2s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes flagWave { 50% { transform: scaleX(.86); } }

.hero-scroll-hint {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .3em;
  color: rgba(253, 246, 231, .7);
  animation: hintNudge 1.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes hintNudge { 50% { transform: translate(-50%, 6px); } }

/* ------------------------------------------------------------
   サービス概要
------------------------------------------------------------ */
.about-definition {
  max-width: 760px;
  margin: 0 auto 56px;
  font-size: 17px;
}
.about-definition p + p { margin-top: 20px; }
.about-definition strong { color: var(--night); background: linear-gradient(transparent 62%, rgba(255, 217, 61, .65) 62%); }

/* 会話ウィンドウ (RPGのメッセージ窓) */
.about-window, .contact-window {
  max-width: 720px;
  margin: 0 auto;
  border: 4px solid var(--night);
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow-pixel);
  overflow: hidden;
}
.window-titlebar {
  font-family: var(--font-pixel);
  color: var(--yellow);
  text-align: center;
  font-size: 14px;
  letter-spacing: .2em;
  padding: 10px;
}
.window-body {
  background: var(--night-deep);
  border: 3px solid rgba(253, 246, 231, .35);
  border-radius: var(--radius);
  margin: 0 10px 10px;
  padding: 28px 30px;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 16px;
  line-height: 2.1;
}
.talk-line + .talk-line { margin-top: 14px; }
.talk-line::before { content: "▶ "; color: var(--yellow); }

/* ------------------------------------------------------------
   実話セクション (TRUE STORY)
------------------------------------------------------------ */
.section-story { background: var(--night); color: var(--cream); }
.section-story .section-title { color: var(--cream); }

.story-body {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 16px;
}
.story-body p + p { margin-top: 18px; }
.story-body strong { color: var(--yellow); font-weight: 700; }

.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 48px;
}
.stat-card {
  background: rgba(253, 246, 231, .06);
  border: 3px solid rgba(253, 246, 231, .45);
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
}
.stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: .15em;
  opacity: .75;
  margin-bottom: 10px;
}
.stat-value {
  display: block;
  font-family: var(--font-pixel);
  font-size: 17px;
  line-height: 1.5;
}
.stat-num {
  font-size: 38px;
  color: var(--yellow);
  font-weight: 400;
  margin-right: 2px;
}

.story-message {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
}
.story-message p + p { margin-top: 18px; }
.story-message strong { color: var(--pink); font-weight: 700; }
.story-link { text-align: center; }
.story-link a {
  font-family: var(--font-pixel);
  color: var(--yellow);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px dashed var(--yellow);
  padding-bottom: 2px;
}
.story-link a:hover { border-bottom-style: solid; }

/* ------------------------------------------------------------
   共感パート
------------------------------------------------------------ */
.section-empathy { background: var(--paper); }

.empathy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.empathy-card {
  background: var(--cream);
  border: 3px solid var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pixel);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s ease;
}
.empathy-card:hover { transform: translateY(-6px); }
.empathy-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  image-rendering: auto;
  transition: transform .25s ease;
}
.empathy-card:hover .empathy-icon { transform: rotate(-3deg) scale(1.05); }
.empathy-card h3 { font-family: var(--font-pixel); font-size: 18px; line-height: 1.6; margin-bottom: 12px; }
.empathy-card p { font-size: 14px; text-align: left; }

.empathy-closing {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: clamp(20px, 3vw, 26px);
}
.empathy-closing strong { color: var(--pink); }

/* ------------------------------------------------------------
   特徴
------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--paper);
  border: 3px solid var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pixel);
  padding: 30px 26px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(23, 26, 56, .18); }
.feature-num {
  font-family: var(--font-pixel);
  font-size: 30px;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--night);
  display: block;
  margin-bottom: 8px;
}
.feature-card h3 { font-family: var(--font-pixel); font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; }

/* ------------------------------------------------------------
   利用シーン
------------------------------------------------------------ */
.section-scenes { background: var(--night); color: var(--cream); padding: 72px 0; }
.section-scenes .section-title { color: var(--cream); }

.scene-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.scene-chip {
  font-family: var(--font-pixel);
  font-size: 15px;
  background: rgba(253, 246, 231, .08);
  border: 2px solid rgba(253, 246, 231, .5);
  border-radius: 999px;
  padding: 10px 22px;
  transition: background .2s ease, transform .2s ease;
}
.scene-chip:hover { background: rgba(255, 217, 61, .2); transform: translateY(-3px); }

/* ------------------------------------------------------------
   制作の流れ
------------------------------------------------------------ */
.flow-list {
  max-width: 680px;
  margin: 0 auto;
  counter-reset: step;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 0 0 44px 84px;
}
/* 縦の破線コネクタ: 各ステップの背景として、バッジの下から次ステップまで描画。
   最後(STEP4)には引かないので、線が④のアイコンを突き抜けない */
.flow-step:not(:last-child) {
  background-image: repeating-linear-gradient(180deg, var(--green) 0 12px, transparent 12px 22px);
  background-repeat: no-repeat;
  background-position: 27px 50px;
  background-size: 6px calc(100% - 50px);
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 8px; top: 2px;
  width: 44px; height: 44px;
  background: var(--yellow);
  border: 3px solid var(--night);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 rgba(23, 26, 56, .18);
}
.flow-step::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 8px; top: 2px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-pixel);
  font-size: 22px;
  line-height: 1;
  color: var(--night);
  /* ドット絵書体の字形が左上に寄るため、視覚的な中央へ微調整 */
  transform: translate(1px, 2px);
}
.flow-badge {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--pink);
}
.flow-step h3 { font-family: var(--font-pixel); font-size: 22px; margin: 2px 0 8px; }
.flow-step p { font-size: 15px; }

/* ------------------------------------------------------------
   料金
------------------------------------------------------------ */
.section-price { background: var(--paper); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--cream);
  border: 3px solid var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pixel);
  padding: 36px 26px 28px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: var(--night);
  color: var(--cream);
  transform: scale(1.04);
}
.price-ribbon {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 13px;
  padding: 5px 18px;
  border: 3px solid var(--night);
  border-radius: 999px;
  white-space: nowrap;
}
.price-plan { font-family: var(--font-pixel); font-size: 21px; margin-bottom: 14px; }
.price-amount { margin-bottom: 20px; }
.price-num {
  font-family: var(--font-pixel);
  font-size: clamp(30px, 3.6vw, 38px);
  color: var(--pink);
}
.price-card-featured .price-num { color: var(--yellow); }
.price-unit { font-size: 14px; margin-left: 4px; }
.price-features {
  text-align: left;
  font-size: 14px;
  margin-bottom: 18px;
  flex-grow: 1;
}
.price-features li { padding-left: 1.5em; position: relative; margin-bottom: 8px; }
.price-features li::before { content: "★"; position: absolute; left: 0; color: var(--yellow); }
.price-note { font-size: 12.5px; opacity: .8; }

/* オプション */
.price-options {
  max-width: 680px;
  margin: 44px auto 0;
  background: var(--cream);
  border: 3px dashed var(--night);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.price-options-title {
  font-family: var(--font-pixel);
  font-size: 18px;
  text-align: center;
  margin-bottom: 18px;
}
.price-options-title span { color: var(--pink); }
.price-options-list { display: grid; gap: 12px; }
.price-options-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 2px dotted rgba(51, 48, 74, .25);
  font-size: 14.5px;
}
.price-options-list li:last-child { border-bottom: none; padding-bottom: 0; }
.opt-name { font-weight: 500; }
.opt-price {
  flex-shrink: 0;
  font-family: var(--font-pixel);
  font-size: 18px;
  color: var(--pink);
}

.price-caption { text-align: center; font-size: 13px; margin-top: 36px; opacity: .75; }

/* ------------------------------------------------------------
   FAQ
------------------------------------------------------------ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 3px solid var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pixel);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-family: var(--font-pixel);
  font-size: 24px;
  color: var(--pink);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-q, .faq-a {
  flex-shrink: 0;
  font-family: var(--font-pixel);
  width: 30px; height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  font-size: 16px;
}
.faq-q { background: var(--night); color: var(--yellow); }
.faq-a { background: var(--pink); color: #fff; }
.faq-item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-item p .faq-a { margin-top: 3px; }

/* ------------------------------------------------------------
   CTA / お問い合わせ
------------------------------------------------------------ */
.section-contact {
  background: linear-gradient(180deg, var(--cream) 0%, #23305e 18%, var(--night) 100%);
  padding-bottom: 120px;
}
.contact-body { text-align: center; padding: 44px 30px 40px; }
.contact-title {
  font-family: var(--font-pixel);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-lead { font-size: 15px; margin-bottom: 32px; }
.contact-note { font-size: 12.5px; margin-top: 16px; opacity: .7; }

/* ------------------------------------------------------------
   フッター
------------------------------------------------------------ */
.site-footer {
  background: var(--night-deep);
  color: var(--cream);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-brand { font-family: var(--font-pixel); font-size: 18px; letter-spacing: .1em; }
.footer-brand span { color: var(--yellow); }
.footer-vision { font-size: 13px; opacity: .75; margin: 8px 0 20px; }
.footer-nav { display: flex; gap: 24px; justify-content: center; margin-bottom: 20px; }
.footer-nav a { color: var(--cream); font-size: 13.5px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { font-size: 12px; opacity: .6; }

/* ------------------------------------------------------------
   レスポンシブ
------------------------------------------------------------ */
@media (max-width: 900px) {
  .empathy-list, .feature-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .price-card-featured { transform: none; }
}

@media (max-width: 640px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .section { padding: 72px 0; }
  .global-nav { display: none; }

  .empathy-list, .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 170px; }
  .hero-cta .btn { width: 100%; }
  .coin-b { display: none; } /* 中央のコインはCTAボタンと重なるため非表示 */
  .window-body { padding: 22px 18px; font-size: 14.5px; }
  .flow-step { padding-left: 72px; }
}

/* ------------------------------------------------------------
   アクセシビリティ: 動きを減らす設定を尊重
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/*reCaptchaバッジを非表示*/
.grecaptcha-badge { visibility: hidden; }
