/* ==========================================================
   できたねランド v2 — デザインシステム「あそびばポップ」
   LP / 信頼性ページ 共通スタイル
   パレット: ネイビー#2b2350 / オレンジ#ff7a1a / イエロー#ffd23f
            ピンク#ff5da2 / ティール#00c2b8 / パープル#7b5bf2
            クリーム#fff6e9 / 白
   ========================================================== */

:root {
  --navy: #2b2350;
  --navy-soft: #5d5680;
  --orange: #ff7a1a;
  --orange-deep: #e2640a;
  --yellow: #ffd23f;
  --yellow-deep: #e3b41f;
  --pink: #ff5da2;
  --pink-deep: #e0408a;
  --teal: #00c2b8;
  --teal-deep: #00a299;
  --purple: #7b5bf2;
  --purple-deep: #6347d4;
  --cream: #fff6e9;
  --white: #ffffff;

  --yellow-tint: #fff3cf;
  --teal-tint: #e2f8f5;
  --pink-tint: #ffe9f3;
  --purple-tint: #efe9ff;

  --text: var(--navy);
  --text-soft: var(--navy-soft);
  --line: #ece4d6;

  /* スクワークル（不均一角丸） */
  --squircle: 28px 32px 26px 30px;
  --squircle-2: 30px 26px 32px 28px;
  --squircle-s: 18px 22px 16px 20px;

  --shadow: 0 12px 32px rgba(43, 35, 80, .14);
  --shadow-soft: 0 5px 16px rgba(43, 35, 80, .09);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "BIZ UDGothic", "メイリオ", "Meiryo", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img, svg { vertical-align: middle; }
a { color: var(--purple); }

[hidden] { display: none !important; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.center { text-align: center; }

/* ---------- マスコット共通 ---------- */
.mascot { display: inline-block; pointer-events: none; }
img.mascot { height: auto; filter: drop-shadow(0 4px 10px rgba(43, 35, 80, .16)); }
.logo-img {
  height: 62px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 5px 8px;
  box-shadow: 0 4px 12px rgba(43, 35, 80, .14);
  margin-bottom: -20px;
  position: relative;
  z-index: 60;
}
.logo-img-footer {
  height: 76px;
  margin-bottom: 0;
}
/* スマホではヘッダーロゴをバー内に収める（スクロール時の被り防止） */
@media (max-width: 600px) {
  .logo-img {
    height: 44px;
    padding: 3px 6px;
    border-radius: 11px;
    margin-bottom: 0;
    box-shadow: none;
  }
  .logo-img-footer { height: 64px; }
}
.hero-logo-img {
  display: block;
  width: min(320px, 78%);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 18px rgba(43, 35, 80, .12));
}
@media (min-width: 880px) {
  .hero-logo-img { width: 360px; }
}
.m-puka { animation: puka 5.5s ease-in-out infinite; }
.m-puka2 { animation: puka 6.5s ease-in-out -2s infinite; }
.m-puka3 { animation: puka 7s ease-in-out -4s infinite; }
.m-nod { animation: nod 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.m-wiggle { animation: wiggle 4.5s ease-in-out infinite; transform-origin: 50% 60%; }

@keyframes puka {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}
@keyframes nod {
  0%, 100% { transform: rotate(-2deg); }
  45%      { transform: rotate(5deg) translateY(-3px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(6deg); }
}

/* ---------- ブロブ & 紙吹雪 ---------- */
.blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 22s ease-in-out infinite;
}
.blob-2 { animation-duration: 26s; animation-delay: -8s; }
.blob-3 { animation-duration: 30s; animation-delay: -15s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(16px, -22px) rotate(5deg); }
  66%      { transform: translate(-12px, 14px) rotate(-4deg); }
}

.confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- ステッカー風バッジ ---------- */
.sticker {
  display: inline-block;
  font-weight: 900;
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-3deg);
  line-height: 1.4;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--cream);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.logo svg { flex: none; }
.logo .logo-land { color: var(--orange); }
.header-cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  font-size: .9rem;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--yellow-deep);
  white-space: nowrap;
  transition: transform .18s var(--pop);
}
.header-cta:hover { transform: scale(1.06) rotate(-2deg); }
.header-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--yellow-deep); }

/* ---------- ボタン ---------- */
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.3rem;
  padding: 20px 46px;
  border-radius: 999px;
  box-shadow: 0 8px 0 var(--yellow-deep), var(--shadow);
  text-align: center;
  letter-spacing: .02em;
  transition: transform .22s var(--pop), box-shadow .22s ease;
}
.btn-primary:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 10px 0 var(--yellow-deep), var(--shadow);
}
.btn-primary:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--yellow-deep);
}
.btn-note {
  display: block;
  margin-top: 14px;
  font-size: .85rem;
  color: var(--text-soft);
}
.btn-ghost {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  border: 3px solid var(--navy);
  text-decoration: none;
  font-weight: 900;
  padding: 12px 28px;
  border-radius: 999px;
  transition: transform .22s var(--pop), background .15s ease, color .15s ease;
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: scale(1.04) rotate(-1.5deg);
}

/* ---------- セクション共通 ---------- */
section { padding: 64px 0; position: relative; }
.section-label {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: .06em;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 rgba(43, 35, 80, .18);
}
.section-title {
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
  letter-spacing: -.02em;
  transform: rotate(-1deg);
}
.section-lead {
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 640px;
}
.center .section-lead { margin-left: auto; margin-right: auto; }
.title-mascot { margin: -4px 0 14px; }

/* ---------- 波形セクション区切り ---------- */
.wave { display: block; line-height: 0; }
.wave svg { display: block; width: 100%; height: 44px; }
.wave path { fill: currentColor; }
.bgw-cream { background: var(--cream); }
.bgw-white { background: #fff; }
.bgw-navy  { background: var(--navy); }
.bgw-teal  { background: var(--teal-tint); }
.tow-cream { color: var(--cream); }
.tow-white { color: #fff; }
.tow-navy  { color: var(--navy); }
.tow-teal  { color: var(--teal-tint); }

/* ---------- ヒーロー ---------- */
.hero {
  padding: 52px 0 76px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 30%, var(--cream) 100%);
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.hero-copy { text-align: center; max-width: 580px; }
.hero-logo {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -.01em;
}
.hero-logo .lt1 { color: var(--orange); }
.hero-logo .lt2 { color: var(--teal); }
.hero-logo .lt3 { color: var(--pink); }
.hero-logo .lt4 { color: var(--purple); }
.hero-logo .logo-land { color: var(--navy); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  border: 4px solid #fff;
  font-weight: 900;
  font-size: .88rem;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
}
.hero h1 {
  font-size: clamp(2.2rem, 7.5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  transform: rotate(-1.5deg);
}
/* フレーズ単位で折り返す（単語の途中で折れない） */
.hero h1 .nw { display: inline-block; white-space: nowrap; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--orange) 20%, var(--pink) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: var(--text-soft);
  margin-bottom: 32px;
  font-size: 1.02rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}
.hero-points li {
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 3px 0 rgba(43, 35, 80, .16);
}

/* ヒーローのマスコット配置 */
.hero-visual { position: relative; z-index: 1; }
.hero-m { position: absolute; z-index: 2; }
.hero-m1 { top: -52px; left: -44px; width: 92px; height: 92px; }
.hero-m2 { bottom: -26px; left: -58px; width: 86px; height: 86px; }
.hero-m3 { top: 34%; right: -56px; width: 88px; height: 88px; }

/* ---------- デバイスモックアップ ---------- */
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  border-radius: 44px;
  background: var(--navy);
  padding: 12px;
  box-shadow: 0 26px 52px rgba(43, 35, 80, .28);
  transform: rotate(1.5deg);
}
.phone-notch {
  width: 96px; height: 8px;
  background: #1d1740;
  border-radius: 999px;
  margin: 2px auto 8px;
}
.phone-screen {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  padding-bottom: 18px;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: .82rem;
  padding: 10px 14px;
}
.app-greet {
  font-size: .8rem;
  font-weight: 900;
  padding: 12px 16px 4px;
  color: var(--navy);
}
.game-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 14px 0;
}
.game-card {
  border-radius: 14px 17px 13px 16px;
  padding: 12px 4px 10px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.game-card .gc-emoji { font-size: 1.5rem; display: block; line-height: 1.2; }
.game-card .gc-name { font-size: .58rem; font-weight: 900; display: block; margin-top: 4px; color: var(--navy); }
.gc-y { background: var(--yellow-tint); }
.gc-t { background: var(--teal-tint); }
.gc-v { background: var(--purple-tint); }
.gc-p { background: var(--pink-tint); }

.float-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
  font-size: .8rem;
  padding: 8px 16px;
  white-space: nowrap;
  color: #fff;
}
.float-badge.fb-noad {
  top: 22px; left: -58px;
  background: var(--teal);
  transform: rotate(-5deg);
  animation: puka 6s ease-in-out infinite;
}
.float-badge.fb-hanamaru {
  bottom: 44px; right: -48px;
  background: var(--pink);
  transform: rotate(4deg);
  animation: puka 7s ease-in-out -3s infinite;
}

/* ---------- 親の悩み（ネイビー面・吹き出し） ---------- */
.worries {
  background: var(--navy);
  color: #fff;
}
.worries .section-label {
  background: var(--yellow);
  color: var(--navy);
}
.worries .section-title { color: #fff; }
.bubble-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
}
.bubble-list li {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.bubble-list li:nth-child(even) { flex-direction: row-reverse; }
.bubble-face {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.bubble {
  position: relative;
  background: #fff;
  color: var(--navy);
  border-radius: var(--squircle-s);
  padding: 16px 20px;
  font-weight: 900;
  line-height: 1.7;
  text-align: left;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: -8px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 4px;
  transform: rotate(45deg);
}
.bubble-list li:nth-child(even) .bubble::after { left: auto; right: -8px; }
.bubble small { display: block; font-weight: normal; color: var(--text-soft); font-size: .85rem; margin-top: 4px; }
.worries-mascot { margin-top: 36px; }
.worries-answer {
  text-align: center;
  margin-top: 18px;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.7;
}
.worries-answer .accent {
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 特徴カード（色面） ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.feature-card {
  border-radius: var(--squircle);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  color: #fff;
  text-align: center;
  transition: transform .25s var(--pop);
}
.feature-card:nth-child(1) { background: var(--orange); transform: rotate(-1deg); }
.feature-card:nth-child(2) { background: var(--teal);   transform: rotate(1.2deg); border-radius: var(--squircle-2); }
.feature-card:nth-child(3) { background: var(--purple); transform: rotate(-.8deg); }
.feature-card:hover { transform: rotate(0deg) scale(1.03); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .6);
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 16px;
  box-shadow: 0 5px 0 rgba(43, 35, 80, .15);
}
.feature-card h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { font-size: .95rem; line-height: 1.8; }

/* ---------- カテゴリ（ビビッド丸タイル） ---------- */
.cats { background: var(--teal-tint); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 16px;
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
}
.cat-grid li {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--pop);
}
.cat-grid li:nth-child(5n+1) { background: var(--orange); }
.cat-grid li:nth-child(5n+2) { background: var(--teal); }
.cat-grid li:nth-child(5n+3) { background: var(--pink); }
.cat-grid li:nth-child(5n+4) { background: var(--purple); }
.cat-grid li:nth-child(5n)   { background: var(--yellow); color: var(--navy); }
.cat-grid li:nth-child(even) { transform: rotate(2deg); }
.cat-grid li:nth-child(odd)  { transform: rotate(-2deg); }
.cat-grid li:hover { transform: rotate(12deg) scale(1.1); }
.cat-emoji { display: block; font-size: 1.9rem; line-height: 1.2; }
.cat-name { display: block; font-weight: 900; font-size: .82rem; }
.cat-note { margin-top: 28px; font-size: .85rem; color: var(--text-soft); text-align: center; }

/* ---------- 安心ポイント（クリーム面・ステッカー） ---------- */
.safe { background: var(--cream); }
.safe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.safe-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--squircle-s);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.safe-item:nth-child(odd) { transform: rotate(-.5deg); }
.safe-item:nth-child(even) { transform: rotate(.5deg); border-radius: var(--squircle-2); }
.safe-icon {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transform: rotate(-5deg);
  box-shadow: 0 4px 0 rgba(43, 35, 80, .14);
}
.safe-item:nth-child(1) .safe-icon { background: var(--orange); }
.safe-item:nth-child(2) .safe-icon { background: var(--teal); }
.safe-item:nth-child(3) .safe-icon { background: var(--pink); }
.safe-item:nth-child(4) .safe-icon { background: var(--purple); }
.safe-item:nth-child(5) .safe-icon { background: var(--yellow); }
.safe-item:nth-child(6) .safe-icon { background: var(--teal); }
.safe-item h3 { font-size: 1.05rem; font-weight: 900; margin-bottom: 4px; }
.safe-item p { font-size: .9rem; color: var(--text-soft); }
.safe-more { text-align: center; margin-top: 36px; }

/* ---------- 料金（白面＋紙吹雪） ---------- */
.price { background: #fff; }
.price .wrap { position: relative; z-index: 1; }
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 44px;
}
.plan {
  background: #fff;
  border-radius: var(--squircle);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border: 3px solid var(--line);
  position: relative;
  text-align: center;
}
.plan.plan-premium {
  border: 5px solid var(--yellow);
  background: #fffdf4;
  transform: rotate(.6deg);
}
.plan-tag {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: var(--pink);
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
  padding: 4px 20px;
  border-radius: 999px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }
.plan-price { font-size: 2.1rem; font-weight: 900; line-height: 1.3; letter-spacing: -.02em; }
.plan-price small { font-size: .9rem; font-weight: normal; color: var(--text-soft); }
.plan-premium .plan-price { color: var(--orange); }
.plan-list { list-style: none; margin: 18px 0 24px; text-align: left; }
.plan-list li {
  padding: 8px 0 8px 30px;
  border-bottom: 2px dashed var(--line);
  font-size: .95rem;
  position: relative;
}
.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 900;
}
.plan-list li.plan-na { color: #b3aec6; }
.plan-list li.plan-na::before { content: "−"; color: #c6c2d6; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--squircle-s);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: .9rem;
}
.compare-table th, .compare-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
  border-bottom: none;
}
.compare-table thead th.col-premium { color: var(--yellow); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; padding-left: 16px; }
.compare-table tbody .col-premium { color: var(--orange); font-weight: 900; }
.price-note { margin-top: 18px; font-size: .82rem; color: var(--text-soft); }

/* ---------- CTAバンド ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--purple), var(--pink));
  border-radius: var(--squircle);
  padding: 56px 24px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .confetti { z-index: 0; }
.cta-mascot { margin-bottom: 10px; }
.cta-band h2 {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: -.02em;
  transform: rotate(-1deg);
}
.cta-band p { margin-bottom: 28px; font-size: .95rem; }
.cta-band .btn-note { color: rgba(255, 255, 255, .85); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border-radius: var(--squircle-s);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  border: 3px solid var(--cream);
  overflow: hidden;
  text-align: left;
}
.faq-list details[open] { border-color: var(--yellow); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 20px;
  font-weight: 900;
  position: relative;
  font-size: .98rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q."; color: var(--orange); margin-right: 8px; font-weight: 900; }
.faq-list summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  font-weight: 900;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-a {
  padding: 0 20px 18px;
  color: var(--text-soft);
  font-size: .93rem;
}
.faq-a::before { content: "A."; color: var(--teal); font-weight: 900; margin-right: 8px; }

/* ---------- フッター（ネイビー面） ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 52px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo .logo-land { color: var(--yellow); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  font-size: .88rem;
}
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); text-decoration: underline; }
.footer-meta { font-size: .82rem; color: rgba(255, 255, 255, .65); margin-top: 8px; }
.copyright { font-size: .78rem; color: rgba(255, 255, 255, .5); margin-top: 20px; }

/* ==========================================================
   下層ページ（anshin / legal）
   ========================================================== */
.page-hero {
  background: var(--cream);
  padding: 44px 0 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: -.02em;
  transform: rotate(-1deg);
}
.page-hero p { color: var(--text-soft); font-size: .95rem; max-width: 620px; margin: 0 auto; }
.breadcrumb {
  font-size: .82rem;
  color: var(--text-soft);
  padding: 0 0 14px;
}
.breadcrumb a { color: var(--text-soft); }

/* 安全設計カード */
.anshin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.anshin-card {
  background: #fff;
  border-radius: var(--squircle);
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--cream);
  padding: 28px 24px;
}
.anshin-card:nth-child(even) { border-radius: var(--squircle-2); }
.anshin-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 12px;
  border: 3px solid #fff;
  box-shadow: 0 3px 0 rgba(43, 35, 80, .16);
  transform: rotate(-5deg);
}
.anshin-card:nth-child(5n+2) .anshin-num { background: var(--teal); }
.anshin-card:nth-child(5n+3) .anshin-num { background: var(--pink); }
.anshin-card:nth-child(5n+4) .anshin-num { background: var(--purple); }
.anshin-card:nth-child(5n)   .anshin-num { background: var(--yellow); color: var(--navy); }
.anshin-card h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 8px; }
.anshin-card > p { font-size: .93rem; color: var(--text-soft); }

/* 画面イメージ（ミニスクリーン） */
.mini-screen {
  margin-top: 16px;
  background: var(--cream);
  border-radius: var(--squircle-s);
  padding: 16px;
  font-size: .82rem;
}
.mini-screen-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 900;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 10px;
}
.ms-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ms-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: .85rem;
  box-shadow: 0 3px 0 var(--orange-deep);
}
.ms-btn.ms-big { padding: 14px 30px; font-size: 1rem; }
.ms-btn.ms-gray { background: #b3aec6; box-shadow: 0 3px 0 #918bab; }
.ms-chip {
  display: inline-block;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 6px 12px;
  color: var(--text-soft);
}
.ms-strike { text-decoration: line-through; color: #b3aec6; }
.ms-gate {
  background: #fff;
  border: 3px solid var(--purple);
  border-radius: var(--squircle-s);
  padding: 12px;
  text-align: center;
}
.ms-gate strong { color: var(--purple); display: block; margin-bottom: 4px; }
.ms-hanamaru { font-size: 1.4rem; }

/* データの扱い */
.data-box {
  background: var(--teal-tint);
  border-radius: var(--squircle);
  padding: 28px 24px;
  margin-top: 48px;
}
.data-box h2 { font-size: 1.25rem; font-weight: 900; margin-bottom: 16px; }
.data-box ul { list-style: none; }
.data-box li {
  background: #fff;
  border-radius: var(--squircle-s);
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: .93rem;
  box-shadow: var(--shadow-soft);
}
.data-box li strong { display: block; margin-bottom: 2px; }
.data-box li span { color: var(--text-soft); font-size: .88rem; }

/* 法務ドキュメント（読みやすさ最優先） */
.doc {
  background: #fff;
  border-radius: var(--squircle);
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--cream);
  padding: 36px 28px;
  margin: 36px 0 48px;
  font-size: .95rem;
}
.doc h2 {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 36px 0 12px;
  padding-left: 12px;
  border-left: 6px solid var(--orange);
  line-height: 1.5;
}
.doc h2:first-child { margin-top: 0; }
.doc p { margin-bottom: 12px; }
.doc ol, .doc ul { margin: 0 0 16px 1.4em; }
.doc li { margin-bottom: 6px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: .92rem;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: var(--cream); width: 34%; font-weight: 900; }
.placeholder {
  background: var(--pink-tint);
  color: #c2186b;
  border-radius: 6px;
  padding: 1px 8px;
  font-weight: 900;
}
.doc-date { color: var(--text-soft); font-size: .85rem; margin-top: 28px; }
.legal-note {
  margin: 0 0 48px;
  background: var(--cream);
  border-radius: var(--squircle-s);
  padding: 16px 20px;
  font-size: .85rem;
  color: var(--text-soft);
}

/* ---------- レスポンシブ（PC） ---------- */
@media (min-width: 760px) {
  section { padding: 88px 0; }
  .wave svg { height: 64px; }

  .hero { padding: 76px 0 100px; }

  .feature-cards { grid-template-columns: repeat(3, 1fr); }
  .safe-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
  .anshin-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 72px 40px 64px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .doc { padding: 48px 56px; }
}

/* ヒーローの2カラム化はタブレット横〜PCのみ（縦タブレットは読みやすい縦積み） */
@media (min-width: 980px) {
  .hero .wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .hero-copy { text-align: left; }
  .hero-points { justify-content: flex-start; }
  .hero-visual { margin-right: 56px; }
  .hero-m1 { top: -60px; left: -70px; width: 104px; height: 104px; }
  .hero-m2 { bottom: -30px; left: -84px; width: 96px; height: 96px; }
  .hero-m3 { top: 30%; right: -72px; width: 100px; height: 100px; }
}

/* 縦積みヒーロー（〜979px）ではロゴ・CTAを中央に */
@media (max-width: 979px) {
  .hero-logo-img { margin-left: auto; margin-right: auto; }
  .hero-copy { margin-left: auto; margin-right: auto; }
}

@media (max-width: 759px) {
  .hero-m1 { top: -48px; left: -16px; }
  .hero-m2 { bottom: -22px; left: -22px; }
  .hero-m3 { right: -24px; }
  .float-badge.fb-noad { left: -12px; }
  .float-badge.fb-hanamaru { right: -10px; }
}

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