/* amu 公式サイト（1ページのLP＋利用規約・プライバシーポリシー）
   色は DESIGN.md 3.1（ライト）のトークンに準拠。ブランド色 #E36C4D の上の文字は白（意図的な決定）。
   淡い面の上の強調文字・リンクは primary(#B4491F) を使う。影は使わず、区切りは罫線と余白で作る（DESIGN.md 2章）。 */

:root {
  --brand: #e36c4d;
  --on-brand: #ffffff;
  --primary: #b4491f;
  --primary-container: #fdece4;
  --on-primary-container: #7e2f10;
  --bg: #fafaf9;
  --surface: #ffffff;
  --panel: #f8eedf;
  --text: #111113;
  --text-2: #6e6e73;
  --outline: #ececef;
  --outline-strong: #d6d6da;
  --ink: #343534; /* ペンギンの黒。ブランド色の面の上の強調文字 */
  --maxw: 1080px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt";
}
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--on-primary-container); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
[id] { scroll-margin-top: 72px; }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 249, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 22px; letter-spacing: 0.02em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--primary); }
@media (max-width: 560px) { .nav { gap: 14px; } .nav a { font-size: 13px; } .nav .opt { display: none; } }

/* ---- ヒーロー（アプリのログイン画面と同じ構成: ブランド色の面＋下の角丸＋ペンギン） ---- */
.hero { background: var(--bg); }
.hero-band {
  background: var(--brand); color: var(--on-brand);
  border-radius: 0 0 56px 56px;
}
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
  padding-top: 112px;
}
.eyebrow {
  display: inline-block; margin: 0 0 20px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--surface); color: var(--primary);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.hero h1 {
  margin: 0 0 20px; color: var(--on-brand);
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.25; font-weight: 800; letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--ink); }
.nw { white-space: nowrap; }
.hero .lead { margin: 0 0 32px; font-size: 17px; color: var(--on-brand); max-width: 28em; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 160px; }
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  background: var(--surface); color: var(--primary);
  font-weight: 800; font-size: 15px;
}
.soon-note { font-size: 14px; font-weight: 600; color: var(--on-brand); }
.hero-visual { position: relative; align-self: stretch; min-height: 660px; }
.hero-visual .penguins {
  position: absolute; left: -14%; bottom: 0; width: 84%; height: auto;
}
.hero-visual .phone {
  position: absolute; right: 0; bottom: -72px; width: min(290px, 52%);
}

/* ---- スマホの枠（スクショ） ---- */
.phone {
  border-radius: 44px; padding: 10px;
  background: #1c1c1e;
  border: 1px solid #3a3a3c;
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; background: var(--surface); }

/* ---- セクション共通 ---- */
section.block { padding: 112px 0; }
section.block.tint { background: var(--surface); border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; margin: 0 0 8px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 36px); line-height: 1.4; font-weight: 800; }
.section-head p { margin: 0; color: var(--text-2); }

/* ---- 悩み ---- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain {
  background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius);
  padding: 24px; font-weight: 700; font-size: 17px; line-height: 1.6;
}
.pain span { display: block; font-size: 28px; margin-bottom: 8px; }
.answer { text-align: center; margin: 48px auto 0; font-size: clamp(20px, 3vw, 26px); font-weight: 800; line-height: 1.6; }
.answer em { font-style: normal; color: var(--brand); }

/* ---- 特徴（スクショと交互） ---- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
  max-width: 920px; margin: 0 auto;
}
.feature + .feature { margin-top: 112px; }
.feature.rev .feature-text { order: 2; }
.feature .phone { width: min(280px, 72vw); margin: 0 auto; }
.feature .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-container); color: var(--on-primary-container);
  font-weight: 800; margin-bottom: 16px;
}
.feature h3 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 28px); line-height: 1.45; font-weight: 800; }
.feature p { margin: 0 0 12px; color: #4a4a4f; }
.feature .note { font-size: 13px; color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 6px 0; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---- そのほかの機能 ---- */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 112px; }
.mini { border: 1px solid var(--outline); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.mini b { display: block; font-size: 17px; margin-bottom: 4px; }
.mini p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---- 料金 ---- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--outline-strong); border-radius: var(--radius); padding: 32px; }
.plan.premium { border: 2px solid var(--brand); }
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 36px; font-weight: 800; line-height: 1.3; margin: 8px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--text-2); }
.plan .sub { color: var(--text-2); font-size: 14px; margin: 0 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--outline); }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--outline); display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.plan li b { white-space: nowrap; }
.pair-badge {
  max-width: 760px; margin: 20px auto 0; padding: 20px 24px; border-radius: var(--radius);
  background: var(--brand); color: var(--on-brand); font-weight: 700; text-align: center; font-size: 17px;
}
.fine { max-width: 760px; margin: 16px auto 0; color: var(--text-2); font-size: 13px; text-align: center; }

/* ---- よくある質問 ---- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--outline-strong); }
.faq details { border-bottom: 1px solid var(--outline-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--primary);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: #4a4a4f; }

/* ---- お問い合わせ ---- */
.contact {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--panel); border-radius: 28px; padding: 48px 24px;
}
.contact h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; }
.contact p { margin: 0 0 20px; color: #4a4a4f; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none;
}
.btn:hover { color: var(--on-brand); filter: brightness(0.95); }

/* ---- 規約・ポリシー（別ページ） ---- */
main.doc-page { padding: 56px 0 80px; }
main.doc-page .wrap { max-width: 760px; }
main.doc-page h1 { font-size: 30px; margin: 0 0 8px; line-height: 1.4; }
main.doc-page h2 { font-size: 20px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--outline); }
main.doc-page h3 { font-size: 16px; margin: 24px 0 8px; }
.page-lead { color: var(--text-2); margin-bottom: 32px; }
.doc ol, .doc ul { padding-left: 1.6em; margin: 0 0 14px; }
.doc li { margin: 4px 0; }
.doc ol ol { list-style-type: decimal; margin-top: 4px; }
.doc .stamp { margin-top: 40px; color: var(--text-2); text-align: right; }
.doc hr { border: 0; border-top: 1px solid var(--outline-strong); margin: 40px 0 16px; }
.doc address { font-style: normal; margin: 0 0 14px; }
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 16px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--outline-strong); padding: 8px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg); }

/* ---- フッター ---- */
.site-footer { border-top: 1px solid var(--outline); padding: 40px 0 48px; color: var(--text-2); font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--text-2); }
.site-footer p { margin: 0; }

/* ---- スマホ ---- */
@media (max-width: 820px) {
  .hero-band { border-radius: 0 0 40px 40px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; text-align: center; gap: 0; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .store-row { justify-content: center; padding-bottom: 48px; }
  .hero-visual { min-height: 0; height: min(440px, 112vw); }
  .hero-visual .penguins { left: 0; width: 62%; }
  .hero-visual .phone { right: 2%; width: min(220px, 50vw); bottom: -64px; }
  section.block { padding: 80px 0; }
  .pains, .minis, .plans { grid-template-columns: 1fr; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 32px; }
  .feature.rev .feature-text { order: 0; }
  .feature + .feature, .minis { margin-top: 80px; }
}

/* ---- 規約・ポリシーの表（スマホでは1行ずつカードのように縦に並べ、横にはみ出さない） ---- */
.doc a { overflow-wrap: anywhere; }
.doc ul ul { margin: 4px 0 0; }
@media (max-width: 600px) {
  .doc table.stack, .doc table.stack tbody, .doc table.stack tr, .doc table.stack td { display: block; width: 100%; }
  .doc table.stack thead { display: none; }
  .doc table.stack tr { border: 1px solid var(--outline-strong); border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; }
  .doc table.stack td { border: 0; padding: 4px 0; }
  .doc table.stack td::before {
    content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--text-2);
  }
}
