:root {
  --ground: #F7F5F0;
  --card: #FFFFFF;
  --ink: #222226;
  --ink-soft: #55555D;
  --ink-faint: #8C8C94;
  --rule: #E4E0D6;
  --accent: #0A84FF;
  --green: #9BE58A;
  --yellow: #F6EC8E;
  --pink: #F4B6C2;
  --cyan: #9EE2EA;
  --purple: #D7BDE8;
  --orange: #F6C5A0;
  --frame: #1C1C20;
  --shadow: 0 2px 4px rgba(34, 34, 38, .04), 0 18px 40px rgba(34, 34, 38, .10);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- ヘッダー ---------- */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 245, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.top.scrolled { border-bottom-color: var(--rule); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.logo img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
header.top nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
header.top nav a { color: var(--ink-soft); text-decoration: none; }
header.top nav a:hover { color: var(--ink); }
@media (max-width: 720px) { header.top nav .opt { display: none; } }

/* ---------- 共通 ---------- */
section { padding: 96px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 14px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: .01em; word-break: auto-phrase; }
h2 { font-size: clamp(26px, 4.2vw, 40px); line-height: 1.45; }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--ink-soft); line-height: 2; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 14px; font-size: 15.5px; font-weight: 700; text-decoration: none; }
.btn-store { background: var(--ink); color: #fff; }
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.btn-store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1.2; }
.btn-store span { line-height: 1.25; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-faint); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 端末の枠 ---------- */
.phone { background: var(--frame); padding: 9px; border-radius: 46px; box-shadow: var(--shadow); }
.phone img { border-radius: 37px; width: 100%; }
.tablet { background: var(--frame); padding: 12px; border-radius: 30px; box-shadow: var(--shadow); }
.tablet img { border-radius: 19px; width: 100%; }
.laptop { position: relative; }
.laptop .lid { background: var(--frame); padding: 14px 14px 18px; border-radius: 18px 18px 6px 6px; box-shadow: var(--shadow); }
.laptop .lid img { border-radius: 6px; width: 100%; }
.laptop .base { height: 16px; margin: 0 -7%; background: linear-gradient(#DADCE1, #BDC0C7); border-radius: 0 0 14px 14px; position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #AEB1B8; border-radius: 0 0 6px 6px; }

/* ---------- ヒーロー ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.34; margin-bottom: 26px; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .soft { color: var(--ink-faint); }
.hero .lead { margin: 0 0 34px; max-width: 520px; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.hero-visual { position: relative; height: 640px; }
.hero-visual .phone { position: absolute; width: 290px; right: 40px; top: 0; transform: rotate(2.5deg); z-index: 2; }
.hero-visual .stack { position: absolute; left: 0; bottom: 20px; width: 210px; z-index: 3; transform: rotate(-2deg); }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-visual .phone { width: 250px; right: 10px; }
  .hero-visual .stack { width: 180px; }
}

/* 積み上がるブロックの図（アプリのブロックをかたどった飾り） */
.stack { display: flex; flex-direction: column; gap: 0; padding: 14px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
.stack .day { font-size: 12px; font-weight: 700; color: var(--ink-faint); margin: 0 0 8px 2px; letter-spacing: .05em; }
.blk { border: 1px solid rgba(0,0,0,.22); margin-top: -1px; font-size: 12px; font-weight: 600; padding: 4px 8px; position: relative; color: #2b2b30; display: flex; justify-content: space-between; }
.blk small { font-weight: 500; color: rgba(0,0,0,.5); font-size: 11px; }
.blk.plan::after { content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgba(0,0,0,.45); pointer-events: none; }
.blk.saved { background: transparent; border: 1.5px dashed rgba(0,0,0,.3); color: var(--ink-faint); }
.g { background: var(--green); } .y { background: var(--yellow); } .p { background: var(--pink); } .c { background: var(--cyan); } .v { background: var(--purple); }
.stack .blk { animation: drop .7s cubic-bezier(.2,.8,.2,1) both; }
.stack .blk:nth-child(2) { animation-delay: .1s; } .stack .blk:nth-child(3) { animation-delay: .25s; } .stack .blk:nth-child(4) { animation-delay: .4s; } .stack .blk:nth-child(5) { animation-delay: .55s; } .stack .blk:nth-child(6) { animation-delay: .7s; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stack .blk { animation: none; } html { scroll-behavior: auto; } }

/* ---------- 悩み ---------- */
.worries { background: var(--card); }
.worries ul { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.worries li { background: var(--ground); border-radius: 18px; padding: 28px 26px; font-size: 16px; line-height: 1.85; font-weight: 600; }
.worries li .q { display: block; font-size: 13px; color: var(--ink-faint); font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; }
.worries .answer { margin-top: 56px; font-size: clamp(20px, 3vw, 28px); font-weight: 800; line-height: 1.6; }
@media (max-width: 860px) { .worries ul { grid-template-columns: 1fr; } }

/* ---------- 考え方（3つの要素） ---------- */
.concept .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card { background: var(--card); border-radius: 22px; padding: 30px 28px; box-shadow: 0 1px 2px rgba(34,34,38,.04); border: 1px solid var(--rule); }
.card .tag { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; margin-bottom: 16px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.card .ex { margin-top: 16px; font-size: 13.5px; color: var(--ink-faint); }
.card .mini { margin-top: 18px; }
.todo-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.todo-row i { width: 17px; height: 17px; border-radius: 50%; border: 1.8px solid #F06A6A; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 11px 3px 9px; border-radius: 999px; background: var(--ground); margin: 0 6px 8px 0; font-weight: 600; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.link-note { margin: 34px auto 0; max-width: 640px; text-align: center; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .concept .trio { grid-template-columns: 1fr; } }

/* ---------- 機能 ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--rule); }
.feature .shot { display: flex; justify-content: center; }
.feature .shot .phone { width: 300px; }
.feature.flip .shot { order: 2; }
.feature .num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .08em; margin-bottom: 12px; display: block; }
.feature h3 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.45; margin-bottom: 20px; }
.feature p { margin: 0 0 14px; color: var(--ink-soft); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: var(--ink-soft); }
.feature li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 9px; height: 9px; border-radius: 3px; background: var(--green); }
.feature li:nth-child(2)::before { background: var(--yellow); }
.feature li:nth-child(3)::before { background: var(--pink); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .sw { width: 26px; height: 14px; border-radius: 3px; }
.legend .sw.dash { border: 1.5px dashed var(--ink-faint); }
.legend .sw.fill { background: var(--green); border: 1px solid rgba(0,0,0,.2); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .shot { order: 0; }
  .feature .shot .phone { width: 260px; }
}

/* ---------- 対応端末 ---------- */
.devices { background: var(--card); overflow: hidden; }
.devices .stage { position: relative; margin: 60px auto 0; max-width: 980px; padding-bottom: 40px; }
.devices .laptop { width: 82%; margin-left: 9%; }
.devices .tablet { position: absolute; width: 40%; left: -2%; bottom: 0; }
.devices .phone.small { position: absolute; width: 17%; right: 0; bottom: 6px; padding: 6px; border-radius: 30px; }
.devices .phone.small img { border-radius: 25px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.points div { padding: 4px 0 0; border-top: 2px solid var(--ink); }
.points h3 { font-size: 17px; margin: 16px 0 8px; }
.points p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .points { grid-template-columns: 1fr; }
  .devices .tablet { width: 46%; }
  .devices .phone.small { width: 22%; padding: 4px; border-radius: 20px; }
  .devices .phone.small img { border-radius: 16px; }
}

/* ---------- 使い方 ---------- */
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 26px 22px 24px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; font-size: 15px; margin-bottom: 16px; background: var(--c, var(--green)); }
.steps li:nth-child(2) { --c: var(--yellow); } .steps li:nth-child(3) { --c: var(--pink); } .steps li:nth-child(4) { --c: var(--cyan); }
.steps .when { font-size: 12.5px; font-weight: 800; color: var(--ink-faint); letter-spacing: .05em; }
.steps h3 { font-size: 17px; margin: 4px 0 8px; line-height: 1.5; }
.steps p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- プライバシー ---------- */
.privacy-box { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px clamp(24px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.privacy-box h2 { color: #fff; }
.privacy-box .lead { color: rgba(255,255,255,.72); margin: 18px 0 0; }
.privacy-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.privacy-box li { background: rgba(255,255,255,.07); border-radius: 14px; padding: 16px 18px 16px 52px; position: relative; font-size: 15px; line-height: 1.7; }
.privacy-box li b { display: block; font-size: 16px; }
.privacy-box li span { color: rgba(255,255,255,.66); font-size: 14px; }
.privacy-box li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.privacy-box li::after { content: ""; position: absolute; left: 24px; top: 26px; width: 7px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.privacy-box a { color: #fff; }
@media (max-width: 860px) { .privacy-box { grid-template-columns: 1fr; } }

/* ---------- よくある質問 ---------- */
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--ink-faint); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; }
.faq .list { margin-top: 44px; }

/* ---------- 最後の呼びかけ ---------- */
.cta { text-align: center; padding: 104px 0 112px; }
.cta img.icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.cta .actions { justify-content: center; margin-top: 34px; }

/* ---------- フッター ---------- */
footer.foot { border-top: 1px solid var(--rule); padding: 36px 0 48px; font-size: 13.5px; color: var(--ink-faint); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
footer.foot .name { font-weight: 800; color: var(--ink); font-size: 15px; margin-right: auto; }
footer.foot a { color: var(--ink-soft); text-decoration: none; }
footer.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- 下層ページ（プライバシー・お問い合わせ） ---------- */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(26px, 4.4vw, 34px); line-height: 1.45; margin-bottom: 8px; }
.doc .meta { font-size: 13px; color: var(--ink-faint); margin: 0 0 36px; }
.doc h2 { font-size: 19px; line-height: 1.6; margin: 40px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.doc h3 { font-size: 16px; line-height: 1.6; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 15.5px; }
.doc ul { padding-left: 1.3em; }
.doc .summary { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 26px; }
.doc .summary p { margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.doc .summary ul { margin: 0; }
.mail-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 8px; }
.mail-cards a { display: block; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.mail-cards a:hover { border-color: var(--ink-faint); }
.mail-cards b { display: block; font-size: 16px; }
.mail-cards span { font-size: 13.5px; color: var(--ink-faint); }
.address { display: inline-block; font-size: 18px; font-weight: 700; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 18px; margin: 4px 0; user-select: all; }
@media (max-width: 560px) { .mail-cards { grid-template-columns: 1fr; } }
