/* セラ濾過槽 CW-900 LP
   色は製品そのものから: 槽のベージュ / ろ材マットの青と黒 / ロゴの赤 */
:root {
  --ink: #06324a;
  --ink-soft: #3d6071;
  --water: #e3f5fa;
  --paper: #ffffff;
  --tank: #ddd4bd;
  --tank-deep: #b9ad8f;
  --mat-blue: #0879a6;
  --mat-black: #04283a;
  --red: #d8371f;
  --red-deep: #a62a16;
  --line: #bfe0ea;
  --aqua: #19b5d8;
  --deep: #064a68;
  --head: "Zen Maru Gothic", "Zen Kaku Gothic New", "Hiragino Maru Gothic ProN", sans-serif;
  --wrap: 1120px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --num: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--mat-blue); outline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.num { font-family: var(--num); font-weight: 600; letter-spacing: 0.01em; }

/* ろ材マットの縞: このページの唯一の装飾 */
.mat-band {
  height: 22px;
  background: repeating-linear-gradient(90deg,
    var(--mat-blue) 0 34px, var(--mat-black) 34px 46px);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 14px 34px;
  background: var(--red); color: #fff;
  font-weight: 900; font-size: 1.08rem; line-height: 1.4; text-decoration: none; text-align: center;
  border-radius: 4px;
  box-shadow: 0 4px 0 var(--red-deep);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-deep); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); box-shadow: none; min-height: 52px; font-weight: 700; font-size: 1rem;
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: none; box-shadow: none; }
.btn-note { font-size: .92rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }

/* ---------- ヘッダー ---------- */
.site-head { border-bottom: 1px solid var(--line); background: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 6px; }
.brand-name { white-space: nowrap; font-weight: 900; font-size: 1.05rem; line-height: 1.25; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--num); font-weight: 600; font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft); }
.head-nav { display: flex; gap: 26px; margin-left: auto; margin-right: 12px; }
.head-nav a { font-size: .92rem; font-weight: 500; text-decoration: none; }
.head-nav a:hover { color: var(--mat-blue); }
.site-head { position: sticky; top: 0; z-index: 15; }
.site-head a.head-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; background: var(--red); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; border-radius: 4px; white-space: nowrap; }
.nb { display: inline-block; }

/* ---------- ファーストビュー ---------- */
.hero { background: var(--water); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-model { display: inline-flex; align-items: baseline; gap: 14px; font-weight: 700; font-size: 1.15rem; }
.hero-model .num { background: var(--ink); color: #fff; padding: 0 12px; font-size: 1.35rem; border-radius: 3px; }
.hero h1 {
  font-weight: 900; font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.16; letter-spacing: -0.01em;
  margin: 18px 0 22px;
}
.hero-three { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-three li { background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 4px 16px; font-weight: 700; font-size: 1.05rem; }
.hero-lead { max-width: 30em; color: var(--ink-soft); }
.hero-price { margin: 26px 0 20px; font-weight: 700; }
.hero-price .num { font-size: 3.1rem; line-height: 1; margin-right: 2px; }
.hero-price small { font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin-left: 8px; }
.hero-photo { position: relative; margin-right: calc((100vw - min(100vw - 40px, var(--wrap))) / -2 + 20px); padding-bottom: 54px; }
.hero-photo .hero-inset { position: absolute; left: -34px; bottom: 0; width: 34%; border: 6px solid #fff; border-radius: 6px; }
.hero-photo img { width: 100%; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(15, 34, 56, .55); }
.hero-photo figcaption { white-space: nowrap; position: absolute; left: calc(34% - 18px); bottom: 14px; font-size: .82rem; color: var(--ink-soft); }

/* 寸法線スタイルの主要スペック */
.keyspec { background: var(--ink); color: #fff; }
.keyspec ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.keyspec li { padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.18); }
.keyspec li:first-child { border-left: 0; padding-left: 0; }
.keyspec .k { display: block; font-size: .9rem; opacity: .8; line-height: 1.4; }
.keyspec .v { display: block; font-family: var(--num); font-weight: 600; font-size: 1.9rem; line-height: 1.25; }
.keyspec .v small { font-family: var(--font); font-size: .9rem; font-weight: 500; margin-left: 3px; }

/* ---------- 共通セクション ---------- */
.sec { padding-block: 88px; }
.sec--water { background: var(--water); }
.sec-title, .worry-answer, .reason h3 { text-wrap: balance; word-break: auto-phrase; }
.worry li { word-break: auto-phrase; }
.sec-title { font-weight: 900; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.35; margin-bottom: 14px; }
.sec-lead { max-width: 36em; color: var(--ink-soft); margin-bottom: 44px; }

/* ---------- 悩み ---------- */
.worry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 6px; background: #fff; }
.worry li { padding: 26px 16px; text-align: center; font-weight: 700; font-size: 1.12rem; border-left: 1px dashed var(--line); }
.worry li:first-child { border-left: 0; }
.worry-answer { margin-top: 34px; font-weight: 900; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.5; }

/* ---------- 3つの理由 ---------- */
.reason { display: grid; grid-template-columns: minmax(170px, 260px) minmax(0, 1fr) minmax(240px, 32%); gap: 36px; align-items: center; padding-block: 44px; border-top: 1px solid var(--line); }
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason p.reason-key { font-weight: 900; font-size: 1.9rem; line-height: 1.3; color: var(--ink); }
.reason-key .num { display: block; font-size: 4.6rem; line-height: 1; color: var(--mat-blue); }
.reason-key .num small { font-size: 2rem; }
.reason h3 { font-size: 1.3rem; font-weight: 900; line-height: 1.5; margin-bottom: 10px; }
.reason p { color: var(--ink-soft); }
.reason figure { background: var(--water); border-radius: 6px; padding: 16px; }
.reason figure img { margin-inline: auto; max-height: 230px; width: auto; border-radius: 3px; }

/* ---------- 動画 ---------- */
.movie { background: var(--mat-black); color: #fff; }
.movie .sec-lead { color: rgba(255,255,255,.78); margin-bottom: 32px; }
.movie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.movie-card { display: block; color: #fff; text-decoration: none; }
.movie-thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.movie-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.movie-card:hover .movie-thumb img { transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 54px; border-radius: 14px; background: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.yt-play::after { content: ""; position: absolute; left: 30px; top: 15px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.movie-card strong { display: block; margin-top: 14px; font-size: 1.15rem; font-weight: 900; line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
.movie-card small { display: block; margin-top: 4px; font-size: .9rem; opacity: .75; text-decoration: underline; }
.midcta :focus-visible, .movie :focus-visible, .site-foot :focus-visible, .keyspec :focus-visible { outline-color: #fff; }

/* ---------- 中間CTA ---------- */
.midcta { background: var(--mat-blue); color: #fff; padding-block: 30px; }
.midcta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.midcta p { font-weight: 700; font-size: 1.08rem; line-height: 1.6; }
.midcta .num { font-size: 1.7rem; margin-left: 4px; }
.midcta .btn { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(0,0,0,.28); min-height: 54px; }

/* ---------- 比較 ---------- */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare thead th.ours { background: var(--mat-blue); }
.compare tbody th { font-weight: 700; background: var(--water); width: 22%; }
.compare td.ours { font-weight: 900; font-size: 1.1rem; background: #f3f7fe; border-inline: 2px solid var(--mat-blue); }
.compare tbody tr:last-child td.ours { border-bottom: 2px solid var(--mat-blue); }
.compare td.other { color: var(--ink-soft); }
.fine { font-size: .92rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- 3タイプ ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: 6px; padding: 52px 24px 24px; position: relative; }
.plan--pick { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 16px 32px -18px rgba(15, 34, 56, .5); }
.plan-flag { position: absolute; top: 0; left: 0; right: 0; text-align: center; background: var(--red); color: #fff; font-weight: 900; font-size: .95rem; padding: 3px 14px; border-radius: 3px 3px 0 0; }
.plan figure { height: 190px; display: grid; place-items: center; margin-bottom: 18px; background: var(--water); border-radius: 4px; padding: 12px; }
.plan figure img { max-height: 166px; width: auto; border-radius: 2px; }
.plan h3 { font-size: 1.28rem; font-weight: 900; line-height: 1.45; }
.plan-for { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; min-height: 3.5em; }
.plan-price { margin: 14px 0 4px; font-weight: 700; }
.plan-price .num { font-size: 2.7rem; line-height: 1.1; }
.plan-price small { display: block; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.plan-items { margin: 16px 0 22px; padding-top: 16px; border-top: 1px dashed var(--line); flex: 1; }
.plan-items li { position: relative; padding-left: 1.3em; line-height: 1.6; margin-bottom: 7px; font-size: .97rem; }
.plan-items li::before { content: ""; position: absolute; left: 0; top: .5em; width: .62em; height: .62em; background: var(--mat-blue); }
.plan-items li.add { font-weight: 700; }
.plan-items li.add::before { background: var(--red); }
.plan .btn { width: 100%; padding-inline: 12px; font-size: 1rem; min-height: 60px; }
.plan-notes { margin-top: 28px; border-left: 6px solid var(--tank-deep); background: var(--water); padding: 18px 22px; }
.plan-notes p + p { margin-top: 6px; }
.plan-notes a { font-weight: 700; }
.flow-cta { margin-top: 36px; }

/* ---------- おすすめ ---------- */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.fit li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.fit li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.fit strong { display: block; font-size: 1.18rem; font-weight: 900; line-height: 1.5; margin-bottom: 6px; }
.fit span { color: var(--ink-soft); font-size: .97rem; }
.scenes { margin-top: 30px; font-weight: 700; }
.scenes b { display: inline-block; background: var(--tank); padding: 2px 14px; margin: 0 6px 6px 0; border-radius: 3px; }

/* ---------- 仕様 ---------- */
.spec-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.spec { width: 100%; border-collapse: collapse; border-top: 3px solid var(--ink); }
.spec th, .spec td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 9.5em; font-weight: 700; padding-right: 12px; }
.spec td .num { font-size: 1.3rem; }
.spec-fig { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
.spec-fig a { display: block; cursor: zoom-in; }
.spec-fig figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.spec-fig .spec-parts { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
[id] { scroll-margin-top: 84px; }
.docs { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.docs a { font-weight: 700; font-size: .93rem; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 3px; padding: 10px 16px; background: #fff; }
.docs a.docs-main { background: var(--ink); color: #fff; }
.docs a:hover { background: var(--ink); color: #fff; }

/* ---------- チェック ---------- */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.check h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 14px; }
.check li { position: relative; padding: 12px 0 12px 2.1em; border-bottom: 1px solid var(--line); line-height: 1.7; }
.check li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 1.05em; height: .55em; border-left: 3px solid var(--mat-blue); border-bottom: 3px solid var(--mat-blue); transform: rotate(-45deg); }
.note-box { background: var(--water); border-left: 6px solid var(--tank-deep); padding: 20px 22px; }
.note-box p + p { margin-top: 10px; }

/* ---------- 流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow li { counter-increment: step; padding: 24px 22px 24px 0; border-top: 3px solid var(--ink); position: relative; }
.flow li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.flow li::before { content: counter(step); font-family: var(--num); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--red); display: block; margin-bottom: 8px; }
.flow strong { display: block; font-weight: 900; font-size: 1.1rem; line-height: 1.5; margin-bottom: 6px; }
.flow span { color: var(--ink-soft); font-size: .95rem; line-height: 1.7; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 3px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.08rem; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-family: var(--num); font-size: 1.9rem; color: var(--mat-blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 44em; }

/* ---------- 最終CTA ---------- */
.final { background: var(--tank); }
.final .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.final .sec-title { margin-bottom: 18px; }
.final-prices { margin-bottom: 28px; }
.final-prices li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--tank-deep); font-weight: 700; }
.final-prices .num { font-size: 1.5rem; line-height: 1.3; white-space: nowrap; }
.final .btn-note { color: var(--ink); }
.final figure img { border-radius: 6px; margin-inline: auto; max-width: 260px; width: 100%; }
.final-tel { margin-top: 18px; font-weight: 700; }
.final-tel .num { font-size: 1.6rem; text-decoration: none; }
.final-tel a { display: inline-block; padding-block: 8px; }

/* ---------- フッター ---------- */
.site-foot { background: var(--ink); color: #fff; padding-block: 44px; font-size: .93rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-foot strong { font-size: 1.1rem; display: block; margin-bottom: 6px; }
.site-foot a { color: #fff; }
.site-foot nav a { display: block; padding-block: 8px; }
.site-foot a[href^="tel"] { display: inline-block; padding-block: 8px; }
.site-foot .copy { width: 100%; opacity: .6; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }

/* ---------- スマホ固定CTA ---------- */
.sticky { display: none; transition: transform .2s; }
.sticky.is-hidden { transform: translateY(110%); }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .sec { padding-block: 60px; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 40px; gap: 28px; }
  .keyspec ul { grid-template-columns: 1fr; padding-block: 6px; }
  .keyspec li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .keyspec li:first-child { border-top: 0; }
  .keyspec .v { font-size: 1.5rem; white-space: nowrap; }
  .worry { grid-template-columns: 1fr 1fr; }
  .worry li { border-left: 0; border-top: 1px dashed var(--line); padding: 20px 10px; }
  .worry li:nth-child(even) { border-left: 1px dashed var(--line); }
  .worry li:nth-child(-n+2) { border-top: 0; }
  .reason { grid-template-columns: 1fr; gap: 16px; padding-block: 34px; }
  .reason-key { font-size: 1.5rem; }
  .reason-key .num { font-size: 3.6rem; }
  .spec-grid, .check-grid, .final .wrap { grid-template-columns: 1fr; gap: 30px; }
  .plans { grid-template-columns: 1fr; gap: 34px; }
  .plan-for { min-height: 0; }
  .fit { grid-template-columns: 1fr; }
  .fit li, .fit li + li { padding: 20px 0; border-left: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding: 18px 0 18px 62px; border-left: 0; border-top: 1px solid var(--line); }
  .flow li:first-child { border-top: 3px solid var(--ink); }
  .flow li::before { position: absolute; left: 4px; top: 16px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: .85rem; }
  .brand-name small { display: none; }
  .movie-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-head { position: static; }
  .site-head a.head-link { font-size: .78rem; padding-inline: 9px; }
  .site-head .wrap { gap: 8px; }
  html { scroll-padding-bottom: 90px; }
  .hero .wrap { gap: 0; }
  .hero .wrap > div { display: contents; }
  .hero-photo { order: 1; margin-bottom: 18px; }
  .hero-lead, .hero-price, .hero .btn, .hero .btn-note { order: 2; }
  .hero .btn { width: 100%; }
  .hero-three { gap: 6px; }
  .hero-three li { padding: 2px 9px; font-size: .92rem; }
  .compare { min-width: 0; table-layout: fixed; }
  .compare th, .compare td { padding: 14px 6px; font-size: .9rem; line-height: 1.5; }
  .compare tbody th { width: 19%; }
  .compare td.ours { font-size: .95rem; }
  .spec-fig { order: -1; }
  .final .wrap { grid-template-columns: minmax(0, 1fr); }
  .flow-cta .btn { width: 100%; }
  .head-nav { display: none; }
  .site-foot { padding-bottom: 110px; }
  .hero-photo { margin-right: 0; padding-bottom: 46px; }
  .hero-photo figcaption { white-space: normal; }
  .hero-photo .hero-inset { left: 10px; width: 36%; border-width: 4px; }
  .hero-photo figcaption { left: calc(36% + 22px); bottom: 6px; line-height: 1.5; }
  .hero-price small { display: block; margin: 4px 0 0; }
  .midcta .btn { width: 100%; }
  [id] { scroll-margin-top: 70px; }
  .sticky {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 20;
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .sticky .btn { width: 100%; min-height: 54px; padding: 10px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky, .movie-thumb img { transition: none; }
}

@media (max-width: 350px) {
  .brand-name { display: none; }
}


/* ==========================================================
   アクアテーマ: 水中の青、波、泡、水面の波紋。CTAは錦鯉の朱色。
   （色・角丸・影・書体のみ。レイアウトは上の定義のまま）
   ========================================================== */
h1, h2, h3, .sec-title, .worry-answer, .reason p.reason-key, .plan h3, .brand-name, .btn, .flow strong, .fit strong, .faq summary, .movie-card strong, .plan-flag { font-family: var(--head); }
.btn { border-radius: 999px; box-shadow: 0 5px 0 var(--red-deep), 0 14px 24px -12px rgba(166, 42, 22, .55); }
.btn:hover { box-shadow: 0 3px 0 var(--red-deep), 0 10px 18px -12px rgba(166, 42, 22, .55); }
.btn--ghost { border-radius: 999px; box-shadow: none; border-color: var(--mat-blue); color: var(--mat-blue); }
.btn--ghost:hover { background: var(--mat-blue); color: #fff; box-shadow: none; }
.site-head a.head-link { border-radius: 999px; }
.site-head { border-bottom-color: var(--line); }
.brand-name small { color: var(--mat-blue); }
.head-nav a:hover { color: var(--mat-blue); }

/* 波の区切り */
.wave { display: block; width: 100%; height: 54px; }
.wave--hero { background: var(--deep); fill: var(--ink); }
.wave--final { background: var(--water); fill: #0a7fab; }

/* ファーストビュー: 水中 */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(112deg, rgba(255,255,255,.13) 0 7%, transparent 7% 16%, rgba(255,255,255,.07) 16% 21%, transparent 21% 38%, rgba(255,255,255,.05) 38% 43%, transparent 43%),
    radial-gradient(120% 80% at 80% 0%, rgba(120, 225, 245, .35), transparent 60%),
    linear-gradient(180deg, #097aa5 0%, #086a92 45%, var(--deep) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { text-shadow: 0 3px 18px rgba(3, 40, 58, .45); }
.hero-model .num { background: #fff; color: var(--ink); border-radius: 999px; padding-inline: 16px; }
.hero-three li { background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.75); color: #fff; border-radius: 999px; backdrop-filter: blur(4px); }
.hero-lead { color: rgba(255,255,255,.92); }
.hero-price small, .hero .btn-note, .hero-photo figcaption { color: rgba(255,255,255,.88); }
.hero-photo img { border-radius: 18px; box-shadow: 0 28px 60px -22px rgba(2, 30, 45, .8); }
.hero-photo .hero-inset { border-radius: 16px; border-color: #fff; }
.hero :focus-visible, .final :focus-visible { outline-color: #fff; }

/* 泡 */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles i {
  position: absolute; bottom: -40px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.9) 0 12%, rgba(255,255,255,.28) 13% 60%, rgba(255,255,255,.08) 61%);
  border: 1px solid rgba(255,255,255,.45);
  animation: rise 11s linear infinite;
}
.bubbles i:nth-child(1) { left: 6%; animation-duration: 12s; }
.bubbles i:nth-child(2) { left: 17%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: -3s; }
.bubbles i:nth-child(3) { left: 31%; width: 26px; height: 26px; animation-duration: 15s; animation-delay: -7s; }
.bubbles i:nth-child(4) { left: 46%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: -5s; }
.bubbles i:nth-child(5) { left: 58%; animation-duration: 13s; animation-delay: -9s; }
.bubbles i:nth-child(6) { left: 71%; width: 8px; height: 8px; animation-duration: 8s; animation-delay: -2s; }
.bubbles i:nth-child(7) { left: 84%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -11s; }
.bubbles i:nth-child(8) { left: 94%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: -6s; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(14px, -55vh); }
  100% { transform: translate(-8px, -110vh); opacity: 0; }
}

/* 主要スペック */
.keyspec { background: var(--ink); }
.keyspec .v { color: #8fe6f7; }
.keyspec .v small { color: #fff; }

/* 見出しの波線 */
.sec-title::after {
  content: ""; display: block; width: 76px; height: 10px; margin-top: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 10'%3E%3Cpath d='M1 5c6-6 12-6 18 0s12 6 18 0 12-6 18 0 12 6 18 0' fill='none' stroke='%2319b5d8' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.movie .sec-title::after, .final .sec-title::after { filter: brightness(1.5); }

/* 水面の波紋 */
.sec--water { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--water), #eefafd); }
#faq.sec--water { background: var(--water); }
.sec--water::before {
  content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(8, 121, 166, .09) 34px 36px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}
.sec--water > .wrap { position: relative; z-index: 1; }

/* 角丸と影 */
.worry { border: 0; border-radius: 20px; box-shadow: 0 18px 36px -24px rgba(6, 74, 104, .55); overflow: hidden; }
.worry li { border-color: var(--line); }
.worry-answer { color: var(--mat-blue); }
.reason-key .num { color: var(--aqua); }
.reason figure { border-radius: 20px; background: linear-gradient(160deg, #d6f1f8, var(--water)); }
.reason figure img { border-radius: 12px; }
.plan { border-radius: 20px; border-color: var(--line); box-shadow: 0 18px 36px -26px rgba(6, 74, 104, .5); overflow: hidden; }
.plan--pick { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 22px 40px -22px rgba(6, 74, 104, .6); }
.plan-flag { border-radius: 0; }
.plan figure { border-radius: 14px; background: linear-gradient(160deg, #d6f1f8, var(--water)); }
.plan-notes, .note-box { border-left: 0; border-radius: 14px; background: #d9f1f8; }
.spec-fig { border-radius: 18px; border-color: var(--line); }
.spec, .fit, .faq { border-top-color: var(--mat-blue); }
.flow li { border-top-color: var(--mat-blue); }
.docs a { border-radius: 999px; border-color: var(--mat-blue); color: var(--mat-blue); }
.docs a:hover { background: var(--mat-blue); color: #fff; }
.docs a.docs-main { background: var(--mat-blue); color: #fff; }
.scenes b { background: #c9ecf5; border-radius: 999px; }
.compare { border-radius: 16px; overflow: hidden; }
.compare td.ours { background: #e9f8fc; }
.faq summary::after { color: var(--mat-blue); }

/* 動画: 深い水の色 */
.movie { background: radial-gradient(120% 90% at 15% 0%, #0a5b7e, var(--mat-black) 70%); }
.movie-thumb { border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.yt-play { background: var(--red); }

/* 中間CTA */
.midcta { background: linear-gradient(90deg, #0a8fc0, var(--mat-blue)); }
.midcta .btn { box-shadow: 0 5px 0 rgba(4, 40, 58, .45); }

/* 最終CTA: 水中 */
.final { color: #fff; background: linear-gradient(180deg, #0a7fab 0%, #086a92 50%, var(--deep) 100%); }
.final-prices li { border-bottom-color: rgba(255,255,255,.35); }
.final .btn-note { color: rgba(255,255,255,.9); }
.final-tel a { color: #fff; }
.final figure img { border-radius: 18px; border: 6px solid #fff; box-shadow: 0 24px 50px -22px rgba(2, 30, 45, .8); }
.site-foot { background: #04202f; }

@media (prefers-reduced-motion: reduce) {
  .bubbles i { animation: none; bottom: auto; top: 20%; opacity: .5; }
  .bubbles i:nth-child(even) { top: 62%; }
}

/* おすすめ: 公式キービジュアルと並べる */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.fit-fig img { width: 100%; border-radius: 18px; box-shadow: 0 22px 44px -24px rgba(6, 74, 104, .6); }
.fit-grid .fit { grid-template-columns: 1fr; }
.fit-grid .fit li, .fit-grid .fit li + li { padding: 20px 0; border-left: 0; }
@media (max-width: 900px) {
  .fit-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* 購入相談ボタンの横に、お問い合わせボタン */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn.btn--line { background: transparent; color: inherit; border: 2px solid currentColor; box-shadow: none; font-weight: 700; }
.btn.btn--line:hover { background: rgba(255, 255, 255, .18); transform: none; box-shadow: none; }
.flow-cta .btn.btn--line { color: var(--mat-blue); }
.flow-cta .btn.btn--line:hover { background: var(--mat-blue); color: #fff; }
@media (max-width: 900px) {
  .hero .cta-row { order: 2; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-row .btn { width: 100%; }
}
@media (min-width: 901px) {
  .hero .cta-row { flex-wrap: nowrap; gap: 12px; }
  .hero .cta-row .btn { padding-inline: 20px; font-size: .95rem; white-space: nowrap; }
}

/* スマホ下部の固定バー: 2つのボタンを横並び */
@media (max-width: 900px) {
  .sticky { display: flex; gap: 8px; }
  .sticky .btn { flex: 1 1 0; width: auto; min-height: 52px; padding: 8px 6px; font-size: .92rem; white-space: nowrap; }
  .sticky .btn.btn--line { color: var(--mat-blue); background: #fff; }
}

/* ===== スマホ用ハンバーガーメニュー ===== */
.menu-btn, .sp-menu { display: none; }
@media (max-width: 900px) {
  .site-head { position: sticky; top: 0; z-index: 30; }
  [id] { scroll-margin-top: 70px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--deep); transition: transform .2s, opacity .2s; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sp-menu:not([hidden]) { display: block; }
  .sp-menu { position: absolute; left: 0; right: 0; top: 100%; padding: 6px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(6, 50, 74, .16); }
  .sp-menu a { display: flex; align-items: center; min-height: 50px; padding: 0 6px; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 700; color: var(--ink); text-decoration: none; }
  .sp-menu a.sp-menu-store, .sp-menu a.sp-menu-contact { justify-content: center; margin-top: 12px; border: 2px solid var(--red); border-radius: 999px; }
  .sp-menu a.sp-menu-store { background: var(--red); color: #fff; }
  .sp-menu a.sp-menu-contact { margin-top: 8px; border-color: var(--mat-blue); color: var(--mat-blue); }
}

/* ===== サイト②：読みもの型（悩み → 理由 → 商品） ===== */
.story { max-width: 800px; }
.sp-br { display: none; }
.hero--story h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.35; }
.hero--story .hero-lead strong { color: #fff; background: linear-gradient(transparent 62%, rgba(25,181,216,.55) 62%); }
.read-on { margin-top: 14px; }
.read-on a { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.read-on a::after { content: " ↓"; }
.scene-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.scene-list li { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 20px rgba(6,74,104,.07); }
.scene-when { display: inline-block; margin-bottom: 6px; padding: 3px 14px; border-radius: 999px; background: var(--deep); color: #fff; font-family: var(--head); font-weight: 700; font-size: .86rem; }
.scene-list p { margin: 0; font-size: 1.05rem; line-height: 1.9; }
.story-turn { margin: 34px 0 0; text-align: center; font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.8; color: var(--deep); }
.story-turn strong { color: var(--red); }
.lesson { list-style: none; counter-reset: lesson; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.lesson li { counter-increment: lesson; position: relative; padding: 22px 22px 22px 78px; background: var(--water); border-radius: 20px; }
.lesson li::before { content: counter(lesson); position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--aqua); color: #fff; font-family: var(--num); font-size: 1.5rem; }
.lesson h3 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.5; color: var(--deep); }
.lesson p { margin: 0; line-height: 1.9; }
.lesson strong, .honest strong { color: var(--mat-blue); }
.reveal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 28px; background: #fff; border-radius: 28px; box-shadow: 0 14px 34px rgba(6,74,104,.12); }
.reveal figure { margin: 0; }
.reveal img { display: block; width: 100%; height: auto; border-radius: 18px; }
.reveal h2 { margin: 6px 0 12px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.35; color: var(--deep); }
.reveal-tag { margin: 0; font-family: var(--head); font-weight: 700; color: var(--mat-blue); }
.reveal .hero-price { color: var(--ink); }
.sub-title { margin: 56px 0 22px; text-align: center; font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--deep); }
.gain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gain { padding: 18px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.gain figure { margin: 0 0 14px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--water); }
.gain img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gain-key { display: inline-block; margin: 0 0 8px; padding: 2px 14px; border-radius: 999px; background: var(--aqua); color: #fff; font-family: var(--head); font-weight: 700; font-size: .86rem; }
.gain h4 { margin: 0 0 8px; font-family: var(--head); font-size: 1.12rem; line-height: 1.6; color: var(--deep); }
.gain p:last-child { margin: 0; font-size: .95rem; line-height: 1.85; color: var(--ink-soft); }
.trans { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.trans li { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: center; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.trans-num { font-family: var(--head); font-weight: 700; color: var(--deep); line-height: 1.2; }
.trans-num b { font-size: 2rem; font-weight: 600; margin-right: 2px; }
.trans-num small { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-soft); }
.trans-word { position: relative; padding-left: 30px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1.6; }
.trans-word::before { content: "→"; position: absolute; left: 0; color: var(--aqua); }
.trans + .note { max-width: 800px; margin: 10px auto 0; font-size: .82rem; color: var(--ink-soft); }
.honest { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.honest li { position: relative; padding: 18px 20px 18px 54px; background: #fff; border: 1px solid var(--line); border-radius: 18px; line-height: 1.9; }
.honest li::before { content: "!"; position: absolute; left: 16px; top: 18px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: #fff; font-family: var(--num); font-size: 1.05rem; }
.honest strong { display: block; }
.final-feel { margin: 0 0 18px; font-family: var(--head); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.5; color: #fff; }
.final-get { margin: 14px 0 0; font-size: .95rem; line-height: 1.8; color: rgba(255,255,255,.9); }
@media (max-width: 900px) {
  .sp-br { display: inline; }
  .reveal { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .gain-grid { grid-template-columns: 1fr; }
  .trans li { grid-template-columns: 1fr; gap: 6px; }
  .lesson li { padding: 70px 18px 20px 18px; }
  .lesson li::before { left: 18px; top: 16px; }
  .scene-list p { font-size: 1rem; }
}

.hero--story h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero--story .cta-row { margin-top: 22px; }
@media (max-width: 900px) {
  .hero--story .hero-lead { order: 0; margin-bottom: 18px; }
  .hero--story .read-on { order: 3; }
}
.reveal .hero-price small { color: var(--ink-soft); }
.story .sec-lead { max-width: none; }
