/* 貯水槽ナビ LP。紙の白・濃い紺・水の青1色。飾りは細い罫線と数字だけ。 */
:root {
  --paper: #f5f3ee;
  --paper-2: #ebe8e0;
  --white: #ffffff;
  --ink: #0f1c26;
  --ink-2: #33424e;
  --sub: #66727c;
  --line: #d8d4ca;
  --accent: #0b6fa4;
  --accent-deep: #08557e;
  --accent-soft: #e3eef4;
  --dark: #0f1c26;
  --dark-2: #182a37;
  --dark-ink: #e8eef2;
  --dark-sub: #9db0be;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "BIZ UDPGothic", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.35; letter-spacing: 0.01em; }
h1 span, h2 span { display: inline-block; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- 上のバー ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 243, 238, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; }
.brand-mark { width: 22px; height: 22px; fill: var(--accent); }
.brand-wave { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.status { display: none; font-size: 12px; color: var(--sub); border-left: 1px solid var(--line); padding-left: 16px; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top-nav a { display: none; color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 6px; }
.top-nav a:hover { background: var(--paper-2); }
.top-nav .top-cta { display: inline-block; background: var(--ink); color: #fff; padding: 8px 14px; }
.top-nav .top-cta:hover { background: var(--accent-deep); }
@media (min-width: 860px) {
  .status { display: inline; }
  .top-nav a { display: inline-block; }
}

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-deep); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }

/* ---------- ヒーロー ---------- */
.hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.kicker { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.18em; margin-bottom: 18px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.hero h1 { font-size: clamp(32px, 6.4vw, 54px); font-weight: 800; letter-spacing: 0.02em; line-height: 1.3; }
.lead { margin-top: 24px; color: var(--ink-2); font-size: 16px; max-width: 34em; }
.lead strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-shot { margin: 0; }
.hero-shot figcaption { margin-top: 10px; font-size: 12px; color: var(--sub); text-align: right; }
@media (min-width: 980px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .hero-shot { margin-right: -120px; }
}

/* 画面の枠（ブラウザ風） */
.frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(15, 28, 38, 0.04), 0 24px 48px -24px rgba(15, 28, 38, 0.28); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #faf9f6; font-size: 11px; color: var(--sub); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.frame-bar span { margin-left: 10px; }

/* ---------- 事実の帯 ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; }
.fact { padding: 32px 0; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; }
.fact-num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.fact-num span { font-size: 16px; font-weight: 700; margin-left: 4px; color: var(--accent); }
.fact-text { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.fact-src { margin-top: 10px; font-size: 12px; color: var(--sub); line-height: 1.6; }
@media (min-width: 860px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact { padding: 40px 32px; border-top: 0; border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
  .fact:last-child { padding-right: 0; }
}

/* ---------- 節 ---------- */
.sec { padding: 72px 0; border-bottom: 1px solid var(--line); }
.sec-tint { background: var(--paper-2); }
.sec-head { margin-bottom: 32px; }
.sec-no { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.2em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.sec-no::after { content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.sec h2 { font-size: clamp(24px, 4.2vw, 34px); font-weight: 800; }
.sec-note { margin-top: 12px; font-size: 14px; color: var(--sub); max-width: 34em; }
.sec-body > p + p, .sec-body > p + .split, .sec-body > .keep + p { margin-top: 16px; }
.two-col { display: grid; }
@media (min-width: 980px) {
  .sec { padding: 104px 0; }
  .two-col { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .two-col .sec-head { position: sticky; top: 96px; margin-bottom: 0; }
}

.split { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .split { grid-template-columns: 1fr 1fr; } }
.split-item { padding: 20px 22px; border-radius: var(--radius); font-size: 15px; }
.split-label { font-weight: 800; margin-bottom: 6px; }
.split-item.is-off { border: 1px dashed var(--line); color: var(--sub); }
.split-item.is-on { background: var(--ink); color: var(--dark-ink); }
.split-item.is-on .split-label { color: #fff; }

/* 仕組みの4段 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: f; border-top: 1px solid var(--ink); }
.flow li { counter-increment: f; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
.flow li::before { content: counter(f, decimal-leading-zero); grid-row: 1 / span 3; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.flow-step { font-size: 12px; font-weight: 700; color: var(--sub); letter-spacing: 0.16em; }
.flow h3 { font-size: 18px; font-weight: 800; margin: 4px 0 8px; }
.flow li p:last-child { font-size: 15px; color: var(--ink-2); }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .flow li { display: block; padding: 0 24px 0 0; border-bottom: 0; border-top: 1px solid var(--ink); padding-top: 24px; margin-right: 24px; }
  .flow li:last-child { margin-right: 0; }
  .flow li::before { display: block; margin-bottom: 18px; }
}

/* ---------- 画面のスライド ---------- */
.sec-dark { background: var(--dark); color: var(--dark-ink); border-bottom: 0; }
.sec-dark .sec-no { color: #7fc0e3; }
.sec-dark h2 { color: #fff; }
.sec-dark .sec-note { color: var(--dark-sub); }
.slider { position: relative; }
.slider-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; outline-offset: 6px; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { margin: 0; flex: 0 0 100%; scroll-snap-align: center; }
.slide .frame { border-color: #2b3d4a; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.slide figcaption { margin-top: 18px; font-size: 15px; color: var(--dark-sub); display: grid; gap: 4px; max-width: 46em; }
.slide figcaption b { color: #fff; font-size: 17px; }
.slider-ui { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.slider-ui[hidden] { display: none; }
.slider-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a4f5e; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s; }
.slider-btn:hover { background: var(--dark-2); }
.slider-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn [data-icon-play] { fill: currentColor; stroke: none; }
.slider-btn svg[hidden] { display: none; }
.slider-dots { display: flex; gap: 6px; flex: 1; }
.slider-dot { flex: 1; max-width: 72px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slider-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #33495a; }
.slider-dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0; background: #fff; }
.slider-dot[aria-current="true"]::after { width: 100%; }
.slider.is-playing .slider-dot[aria-current="true"]::after { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.slider-count { font-size: 13px; color: var(--dark-sub); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
@media (prefers-reduced-motion: reduce) { .slider.is-playing .slider-dot[aria-current="true"]::after { animation: none; width: 100%; } }

/* ---------- メールの見本 ---------- */
.mail { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; box-shadow: 0 24px 48px -32px rgba(15, 28, 38, 0.3); }
.mail-head { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mail-head p { display: flex; gap: 12px; }
.mail-head span { color: var(--sub); min-width: 3.5em; }
.mail-body { padding: 22px 20px; display: grid; gap: 12px; }
.mail-btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 6px; font-size: 14px; }
.mail-fine { font-size: 12px; color: var(--sub); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- 料金 ---------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.is-main { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.plan-name { font-weight: 800; }
.plan-price { margin: 8px 0 18px; }
.plan-price b { font-size: 44px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.plan-price small { color: var(--sub); margin-left: 4px; }
.plan ul { margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-calc { background: transparent; border-style: dashed; display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink-2); }
.calc-line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.calc-line b { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.terms { margin: 24px 0 0; display: grid; gap: 6px; }
.terms div { display: flex; gap: 16px; }
.terms dt { font-weight: 700; min-width: 9em; }
.terms dd { margin: 0; }
.fine { margin-top: 14px; font-size: 13px; color: var(--sub); }

/* ---------- 預かる4項目 ---------- */
.keep { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.keep li { background: var(--white); padding: 22px 16px; font-weight: 800; text-align: center; font-size: 17px; }
.keep small { display: block; font-weight: 400; font-size: 12px; color: var(--sub); }
@media (min-width: 640px) { .keep { grid-template-columns: repeat(4, 1fr); } }

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- 問い合わせ ---------- */
.contact { background: var(--accent); color: #fff; padding: 72px 0; }
.contact-grid { display: grid; gap: 32px; align-items: center; }
.contact h2 { font-size: clamp(26px, 4.6vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.contact p { color: #e3f0f7; max-width: 32em; }
.contact-box { display: grid; gap: 14px; justify-items: start; }
.contact-help { font-size: 13px; }
.contact-mail { font-weight: 700; color: #fff; }
@media (min-width: 900px) { .contact { padding: 96px 0; } .contact-grid { grid-template-columns: 1.3fr 1fr; } .contact-box { justify-items: end; text-align: right; } }

.footer { padding: 28px 0; font-size: 13px; color: var(--sub); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.brand-foot { font-weight: 700; color: var(--ink); }
