:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --glow: color-mix(in srgb, #1E96E6 18%, #FFFFFF);
  --glow-mid: color-mix(in srgb, #1E96E6 6%, #FFFFFF);
  --band: color-mix(in srgb, #1E96E6 8%, #FFFFFF);
  --ink: #30415B;
  --accent-600: #147FCC;
  --phone-shadow: rgba(15, 23, 42, .28);
  --line: rgba(48, 65, 91, .08);
  --card-shadow: 0 8px 24px rgba(48, 65, 91, .06);
  --teal: #56D8C3; --blue: #568CFC; --indigo: #8F7EFC; --violet: #A978FA; --magenta: #FC6ABF; --coral: #FD728E;
  --shape-alpha-k: 2;
  --gap: 64px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; border-radius: 6px; }
figure { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { height: 64px; display: flex; align-items: center; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 120px; }

/* 見出しの段: h1 (hero) > h2 (各節) = h3.row-title (機能の A 案) > h3 (カード・ステップ) */
.small { margin: 0 0 .5rem; font-size: 1.1875rem; line-height: 1.4; font-weight: 700; letter-spacing: .04em; color: var(--accent-600); }
h1, h2, .row-title { margin: 0; font-weight: 900; line-height: 1.25; color: var(--ink); }
h1 { font-size: 2.75rem; line-height: 1.2; letter-spacing: .035em; }
h2, .row-title { font-size: 1.75rem; letter-spacing: .025em; }
h3 { margin: 0; font-size: 1.125rem; line-height: 1.5; font-weight: 700; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.center { text-align: center; }
em.hl { font-style: normal; background: linear-gradient(transparent 60%, color-mix(in srgb, var(--hl) 45%, transparent) 60%); padding: 0 .04em; }
.s1 { --hl: var(--teal); } .s2 { --hl: var(--blue); } .s3 { --hl: var(--violet); } .s4 { --hl: var(--magenta); } .s5 { --hl: var(--coral); }
.lead { margin: 1rem 0 0; font-size: 1rem; line-height: 1.7; max-width: 34em; }
.target { margin: 1rem 0 0; font-size: .875rem; line-height: 1.6; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 1.75rem; }
.store-badge { display: inline-block; padding: 0; line-height: 0; }
.store-badge img { height: 48px; width: auto; }
.web-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 節の間隔: 通常の節は上下に --gap の半分ずつ (隣り合う節の中身の間 = --gap) */
.sec { padding: calc(var(--gap) / 2) 0; }
.hero + .sec { padding-top: var(--gap); }

/* 1. Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: 24px;
  background: radial-gradient(ellipse at 60% 85%, var(--glow) 0, var(--glow-mid) 35%, var(--bg) 67%); }
.hero .wrap, .band .wrap { position: relative; z-index: 1; }
.hero-visual { position: relative; max-width: 560px; margin: 40px auto 0; }
.hero-visual .phones { width: 100%; filter: drop-shadow(4px 11px 16px var(--phone-shadow)); }
.hero-visual .mascot { position: absolute; left: -2%; bottom: 6%; width: 28%; }

/* マスコットの接地影 (元画像の焼き込み影は除去済み。足の接地線 = --foot は各 PNG の不透明領域の下端) */
.mascot { display: block; position: relative; --foot: 14%; }
.mascot img { position: relative; z-index: 1; width: 100%; }
.mascot-shadow { position: absolute; z-index: 0; left: 15%; width: 70%; height: 12%; bottom: calc(var(--foot) - 6%);
  background: radial-gradient(ellipse, rgba(48, 65, 91, .16), transparent 70%); }
.band-visual .mascot { --foot: 19%; }

/* 2. 共感 */
.cards { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.card { padding: 24px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.card p { margin: .5rem 0 0; font-size: 1rem; line-height: 1.7; }
.icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 28%;
  background: color-mix(in srgb, var(--c) 18%, #FFFFFF); color: color-mix(in srgb, var(--c) 55%, #30415B); }
.icon svg { width: 24px; height: 24px; }
.c1 { --c: var(--teal); } .c2 { --c: var(--violet); } .c3 { --c: var(--magenta); }
.bridge { margin: 32px 0 0; text-wrap: balance; text-align: center; font-size: 1.0625rem; line-height: 1.7; font-weight: 700; }

/* 3. 使い方 */
.steps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.step { padding: 24px; border-radius: 24px; background: var(--glow-mid); }
.step p { margin: .5rem 0 0; font-size: 1rem; line-height: 1.7; }
.num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%;
  background: var(--accent-600); color: #FFFFFF; font-size: 1.25rem; font-weight: 900; line-height: 1; }

/* 4. 機能 (交互 2 カラム) */
.row { display: grid; gap: 32px; margin-top: 48px; }
.points { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.points li { position: relative; padding-left: 26px; font-size: 1rem; line-height: 1.7; }
.points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 28%; background: var(--hl); }
.stage { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 32px; padding-top: 32px;
  display: flex; justify-content: center; align-items: flex-start; background: color-mix(in srgb, var(--hl) 14%, #FFFFFF); }
.stage img { width: 48%; flex: none; filter: drop-shadow(0 12px 24px rgba(15, 23, 42, .16)); }

/* 5. 友達 (帯) */
.band { position: relative; overflow: hidden; isolation: isolate; margin: calc(var(--gap) / 2) 0; padding-top: var(--gap); background: var(--band); }
.band-visual { position: relative; width: min(220px, 100% - 112px); margin: 104px auto 0; }
.band-visual .phone { width: 100%; filter: drop-shadow(7px 17px 27px var(--phone-shadow)); }
.band-visual .mascot { position: absolute; z-index: 2; left: -56px; top: -72px; width: 112px; }

/* 6. できること */
.can { margin: 32px auto 0; max-width: 960px; padding: 0; list-style: none; display: grid; gap: 12px; }
.can li { position: relative; padding-left: 28px; font-size: 1rem; line-height: 1.7; }
.can li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 28%; background: var(--c); }
.can li:nth-child(6n+1) { --c: var(--teal); } .can li:nth-child(6n+2) { --c: var(--blue); } .can li:nth-child(6n+3) { --c: var(--indigo); }
.can li:nth-child(6n+4) { --c: var(--violet); } .can li:nth-child(6n+5) { --c: var(--magenta); } .can li:nth-child(6n+6) { --c: var(--coral); }

/* 7. FAQ */
.faq { margin: 32px auto 0; max-width: 760px; }
.qa { padding: 20px 0; border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-size: 1.0625rem; line-height: 1.6; font-weight: 700; }
.faq dd { margin: .5rem 0 0; font-size: 1rem; line-height: 1.7; }
.faq dd a { text-decoration: underline; text-underline-offset: 3px; }

/* 8. 最終 CTA */
.closing { padding: calc(var(--gap) / 2) 0 var(--gap); text-align: center;
  background: radial-gradient(ellipse at 50% 100%, var(--glow) 0, var(--glow-mid) 40%, var(--bg) 75%); }
.closing .mascot { width: 112px; margin: 0 auto 16px; }
.closing .cta { justify-content: center; }

/* フッター */
.site-footer { padding: 24px 0 48px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.copy { margin: 8px 0 0; font-size: .8125rem; line-height: 1.6; }

/* 散らし図形 (hero と帯だけ) */
.shape { position: absolute; z-index: 0; width: var(--size); height: var(--size); border-radius: 28%; background: var(--c); opacity: calc(var(--alpha) * var(--shape-alpha-k)); }
.shape.a { left: 3%; top: 12%; --size: 28px; --alpha: .14; }
.shape.b { right: 4%; top: 30%; --size: 20px; --alpha: .18; }
.shape.c { left: 6%; bottom: 18%; --size: 36px; --alpha: .12; }
.hero .shape.c { left: 2%; bottom: 8%; }
.s1 .a { --c: var(--teal); }    .s1 .b { --c: var(--blue); }    .s1 .c { --c: var(--indigo); }
.s5 .a { --c: var(--magenta); } .s5 .b { --c: var(--coral); }   .s5 .c { --c: var(--teal); }

@media (min-width: 960px) {
  :root { --gap: 96px; }
  .wrap { padding: 0 40px; }
  .site-header { height: 80px; }
  .logo img { width: 150px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: end; }
  .split .text { align-self: center; padding-bottom: var(--gap); }
  .small { font-size: 1.5rem; margin-bottom: .75rem; }
  h1 { font-size: 4rem; }
  h2, .row-title { font-size: 2.75rem; }
  h3 { font-size: 1.25rem; }
  .lead { font-size: 1.0625rem; line-height: 1.8; }
  .store-badge img { height: 56px; }
  .hero { padding-top: 64px; }
  .hero-visual { max-width: none; margin-top: 0; }
  .hero-visual .phones { filter: drop-shadow(6px 16px 25px var(--phone-shadow)); }
  .cards, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
  .card, .step { padding: 32px; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: center; margin-top: var(--gap); }
  .row.reverse .stage { order: -1; }
  .stage { padding-top: 48px; }
  .band-visual { width: 280px; margin-top: 0; }
  .band-visual .phone { filter: drop-shadow(8px 21px 32px var(--phone-shadow)); }
  .band-visual .mascot { left: -136px; top: 48px; width: 168px; }
  .shape.a { --size: 44px; } .shape.b { --size: 32px; } .shape.c { --size: 56px; }
  .can { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .closing .mascot { width: 144px; }
}
