/*
 * サブスくんのページ（/subsukun/ 以下）。/style.css のあとに読み込み、色をアプリに合わせる。
 * 色はアプリの src/ui/tokens.ts（白・ミント・淡い緑）から取っている。
 */
:root {
  --bg: #faf8f2;
  --surface: #fffdf8;
  --soft: #f0eee7;
  --fg: #27372e;
  --sub: #59675d;
  --line: #e2e3d9;
  --accent: #246344;
  --accent-ink: #ffffff;
  --accent-soft: #edf5ee;
  --brand-soft: #e1f2e5;
  --link: #246344;
  --phone-frame: #27372e;
  --phone-shadow: 0 14px 32px #27372e29;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a15;
    --surface: #18241d;
    --soft: #1c2a22;
    --fg: #e7efe9;
    --sub: #b4c3b8;
    --line: #2a3a31;
    --accent: #7fcf9f;
    --accent-ink: #0f1d15;
    --accent-soft: #1c3025;
    --brand-soft: #1d3a29;
    --link: #8fd0a6;
    --phone-frame: #3a4c40;
    --phone-shadow: 0 14px 32px #0006;
  }
}
body { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif; }

/* ヒーロー */
.hero { display: grid; gap: 32px; align-items: center; padding: 40px 0 24px; }
@media (min-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 56px 0 36px; } }
.hero h1 { margin: 14px 0 16px; font-size: clamp(30px, 5vw, 52px); line-height: 1.3; font-weight: 700; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 26em; margin: 0 0 28px; color: var(--sub); font-size: clamp(15px, 1.9vw, 17px); }
.hero .note { margin: 14px 0 0; font-size: 13px; color: var(--sub); }
.hero-art {
  position: relative; display: grid; justify-items: center; align-items: center; width: min(100%, 480px);
  justify-self: center; padding: clamp(20px, 4vw, 32px); border-radius: 32px;
  background: radial-gradient(ellipse at 75% 74%, var(--brand-soft), var(--accent-soft));
}
.hero-phone { width: min(65%, 230px); margin-inline-end: 16%; }
.hero-mascot { position: absolute; z-index: 1; bottom: 8%; right: 0; width: 35%; height: auto; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
}
.btn:hover { text-decoration: underline; }

/* アプリの画面 */
.phone {
  display: block; max-width: 100%; padding: clamp(3px, 0.75vw, 6px); border-radius: clamp(18px, 3vw, 32px);
  overflow: hidden; background: var(--phone-frame); box-shadow: var(--phone-shadow);
}
.phone img { display: block; width: 100%; height: auto; border-radius: clamp(15px, 2.5vw, 26px); }
.phone:hover, .phone:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.review-showcase, .screen-feature {
  display: grid; gap: clamp(16px, 3vw, 32px); align-items: center;
  padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius);
}
.review-showcase { background: var(--accent-soft); }
.showcase-copy h3 { margin: 0 0 10px; font-size: clamp(20px, 3vw, 28px); line-height: 1.4; }
.showcase-copy h3 em { font-style: normal; color: var(--accent); }
.showcase-copy p { max-width: 27em; margin: 0; color: var(--sub); }
.screen-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: center; gap: clamp(10px, 2vw, 24px); width: min(100%, 440px); }
.screen { min-width: 0; margin: 0; text-align: center; }
.screen figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--sub); }
.screen-features { display: grid; gap: 16px; margin-top: 16px; }
.screen-feature { background: var(--surface); }
.screen-feature .showcase-copy h3 { font-size: clamp(20px, 2.5vw, 24px); }
.screen-feature .phone { width: min(100%, 214px); justify-self: center; }
@media (min-width: 540px) {
  .screen-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}
@media (min-width: 820px) {
  .review-showcase { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); }
}
@media (min-width: 960px) {
  .screen-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 小さな機能のカード */
.utilities { padding-top: 0; }
.utilities > .wrap > h2 { margin-bottom: 16px; }
.cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h4 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: var(--sub); line-height: 1.75; }

/* しないこと */
.nots { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .nots { grid-template-columns: 1fr 1fr; } }
.nots li { display: flex; gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: var(--accent-soft); }
.nots li::before { content: "🌱"; flex: none; }
.nots b { display: block; }
.nots span { font-size: 14px; color: var(--sub); }

/* プラン */
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.plan.plus { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { margin: 2px 0 0; color: var(--sub); font-size: 14px; }
.plan ul { margin: 14px 0 0; padding: 0; list-style: none; }
.plan li { position: relative; padding: 5px 0 5px 24px; font-size: 15px; }
.plan .fine { margin: 14px 0 0; font-size: 13px; color: var(--sub); line-height: 1.7; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* 締め */
.cta { display: grid; gap: 8px 24px; align-items: center; justify-items: center; text-align: center; padding: 28px 24px; border-radius: 28px; background: var(--brand-soft); }
@media (min-width: 720px) { .cta { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: 28px 40px; } }
.cta img { width: 150px; height: auto; }
.cta .say { margin: 0 0 14px; font-weight: 700; font-size: clamp(18px, 2.6vw, 22px); line-height: 1.5; }
.disclaimer { color: var(--sub); font-size: 13px; padding-bottom: 48px; }
.disclaimer p { margin: 0 0 4px; }
