/* MIGIWA STUDIO — calm "water's edge" theme built from the logo palette */
:root {
  --ink: #303338;
  --ink-2: #555b63;
  --ink-3: #7a8088;
  --sea: #2f5d78;
  --sea-deep: #244a60;
  --sea-2: #43738f;
  --mist: #6c9bb7;
  --mist-2: #a9c6d6;
  --foam: #dce8ee;
  --paper: #fbfaf7;
  --water: #f1f6f8;
  --line: #dde5ea;
  --white: #ffffff;
  --rose: #b85a70;
  --serif: "Shippori Mincho", "Zen Old Mincho", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Montserrat", var(--sans);
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(47, 93, 120, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.material-symbols-outlined { font-variation-settings: "wght" 300; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.section { padding: 128px 0; position: relative; }
.bg-paper { background: var(--paper); }
.bg-water { background: var(--water); }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--en); font-size: 12px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--mist);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(27px, 3.4vw, 40px); line-height: 1.55; letter-spacing: 0.05em;
}
.h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.6; letter-spacing: 0.04em; }
/* Break Japanese headings at phrase boundaries instead of mid-word */
h1, h2, h3, h4, .h2, .h3, .reasons-close, .callout strong { word-break: auto-phrase; text-wrap: balance; }
.lead { word-break: auto-phrase; text-wrap: pretty; }
.lead { color: var(--ink-2); font-size: 16px; line-height: 2; }
.small { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.center { text-align: center; }
.head { margin-bottom: 64px; }
.head .lead { margin-top: 18px; }
.mark { background: linear-gradient(transparent 62%, rgba(108, 155, 183, 0.28) 62%); padding: 0 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 32px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.08em;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn .material-symbols-outlined { font-size: 20px; }
.btn-primary { background: var(--sea); color: var(--white); }
.btn-primary:hover { background: var(--sea-deep); }
.btn-ghost { border: 1px solid var(--sea); color: var(--sea); background: transparent; }
.btn-ghost:hover { background: var(--sea); color: var(--white); }
.btn:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--mist); outline-offset: 3px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo svg { height: 28px; width: auto; color: var(--ink); }
.nav { display: flex; gap: 30px; }
.nav a {
  font-family: var(--en); font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2); position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--mist); transform: scaleX(0); transition: transform .3s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header .btn { min-height: 42px; padding: 0 22px; font-size: 13px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink);
  border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px 0 16px; }
.mobile-nav a { padding: 12px 14px; border-radius: 10px; font-family: var(--en); font-size: 13px; letter-spacing: 0.14em; color: var(--ink-2); }
.mobile-nav a:hover { background: var(--water); }

/* ---------- wave line ---------- */
.wave { color: var(--mist-2); width: 100%; height: 24px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.5; letter-spacing: 0.06em; margin-bottom: 28px;
}
.hero h1 .accent { color: var(--sea); }
.hero .lead { margin-bottom: 40px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .material-symbols-outlined { font-size: 18px; color: var(--mist); }
.video-card {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 6 / 5;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); color: var(--sea);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- philosophy ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value { border-top: 1px solid var(--mist-2); padding-top: 28px; }
.value .num { font-family: var(--en); font-size: 13px; letter-spacing: 0.2em; color: var(--mist); display: block; margin-bottom: 14px; }
.value .h3 { margin-bottom: 14px; }
.value p { font-size: 15px; color: var(--ink-2); }

/* ---------- works ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.work { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work figure { aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: var(--foam); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work:hover img { transform: scale(1.03); }
.work .tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); font-family: var(--en); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-2);
}
.work-body { padding: 24px 26px 28px; }
.work-body .cat { font-family: var(--en); font-size: 11px; letter-spacing: 0.2em; color: var(--mist); text-transform: uppercase; }
.work-body h3 { font-family: var(--en); font-weight: 500; font-size: 18px; letter-spacing: 0.14em; margin: 6px 0 10px; }
.work-body p { font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.works-note { margin-top: 24px; }

/* ---------- structure (funnel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.callout { margin-top: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.callout strong { display: flex; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.6; margin-bottom: 8px; }
.callout strong .material-symbols-outlined { color: var(--sea); font-size: 24px; margin-top: 2px; }
.callout p { font-size: 14px; color: var(--ink-2); padding-left: 34px; }
.funnel { display: flex; flex-direction: column; gap: 6px; }
.funnel li {
  margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 15px 28px;
  clip-path: polygon(0 0, 100% 0, 96.5% 100%, 3.5% 100%);
}
.funnel .n {
  width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--sea);
  font-family: var(--en); font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none;
}
.funnel .material-symbols-outlined { font-size: 26px; flex: none; }
.funnel b { display: block; font-size: 15px; letter-spacing: 0.06em; }
.funnel small { display: block; font-size: 12px; line-height: 1.6; opacity: 0.85; }
.funnel .t1 { width: 100%; background: var(--sea); color: var(--white); }
.funnel .t2 { width: 92%; background: var(--sea-2); color: var(--white); }
.funnel .t3 { width: 84%; background: var(--mist-2); color: var(--ink); }
.funnel .t4 { width: 76%; background: #c9dce6; color: var(--ink); }
.funnel .t5 { width: 68%; background: #e4eef3; color: var(--ink); }
.cv { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
.cv > .material-symbols-outlined { color: var(--mist); font-size: 30px; }
.cv-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 24px 8px 8px; margin-top: 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.cv-pill .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--sea); color: var(--white); display: flex; align-items: center; justify-content: center; }
.cv-pill b { display: block; font-size: 15px; }
.cv-pill small { display: block; font-size: 12px; color: var(--ink-3); }

/* ---------- service ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.service .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--water); color: var(--sea); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service .ic .material-symbols-outlined { font-size: 26px; }
.service .h3 { margin-bottom: 10px; }
.service p { font-size: 14px; color: var(--ink-2); }

/* ---------- AI band (the one coloured surface) ---------- */
.ai { background: linear-gradient(120deg, #2a5670 0%, var(--sea-2) 55%, #5f8eaa 100%); color: var(--white); overflow: hidden; }
.ai .eyebrow { color: rgba(255, 255, 255, 0.8); }
.ai .lead { color: rgba(255, 255, 255, 0.88); margin-top: 24px; }
.ai-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.ai-features li {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); font-size: 14px; font-weight: 500;
}
.ai-features .material-symbols-outlined { font-size: 18px; color: var(--foam); }
.chat { background: var(--white); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(10, 30, 45, 0.55); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--water); color: var(--sea); display: flex; align-items: center; justify-content: center; }
.chat-head b { font-size: 14px; display: block; }
.chat-head small { font-size: 11px; color: #3f8f6b; display: flex; align-items: center; gap: 5px; }
.chat-head small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3f8f6b; }
.chat-head .demo { margin-left: auto; font-family: var(--en); font-size: 10px; letter-spacing: 0.14em; padding: 3px 10px; border-radius: 999px; background: var(--water); color: var(--sea); }
.chat-body { padding: 20px 0 14px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.bubble-user { align-self: flex-end; background: var(--sea); color: var(--white); padding: 10px 16px; border-radius: 16px 16px 4px 16px; }
.bubble-ai { align-self: flex-start; background: var(--water); padding: 12px 16px; border-radius: 16px 16px 16px 4px; line-height: 1.85; max-width: 92%; }
.chat-note { border-top: 1px solid var(--line); padding-top: 12px; font-size: 11px; color: var(--ink-3); text-align: center; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--mist-2); border-radius: 24px; padding: 44px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow);
}
.limit { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: #f6e9ec; color: var(--rose); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.limit .material-symbols-outlined { font-size: 17px; }
.price-card .name { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-top: 22px; }
.price-card .regular { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.price { font-family: var(--en); font-weight: 600; font-size: clamp(54px, 6vw, 72px); line-height: 1.1; color: var(--sea); letter-spacing: 0.01em; }
.price span { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--ink); margin-left: 4px; }
.price small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-weight: 500; }
.price-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 30px; }
.price-points span { padding: 6px 14px; border-radius: 999px; background: var(--water); color: var(--sea); font-size: 13px; font-weight: 700; }
.price-card .btn { width: 100%; }
.price-card .small { margin-top: 16px; font-size: 12px; }
.includes { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.includes h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin-bottom: 20px; }
.includes li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.includes li:last-child { border-bottom: 0; }
.includes .material-symbols-outlined { color: var(--mist); font-size: 22px; margin-top: 2px; }
.includes b { display: block; font-size: 15px; }
.includes small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.7; }

.reasons { margin-top: 96px; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.reason .num { font-family: var(--en); font-size: 13px; letter-spacing: 0.2em; color: var(--mist); }
.reason .h3 { margin: 10px 0 12px; font-size: 19px; }
.reason p { font-size: 14px; color: var(--ink-2); }
.reason .key { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--sea); border-bottom: 1px solid var(--mist-2); padding-bottom: 2px; }
.reasons-close { margin-top: 56px; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.7; }

.compare { margin-top: 72px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.compare summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px; font-weight: 700; color: var(--sea); letter-spacing: 0.06em;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary .material-symbols-outlined { transition: transform .3s; }
.compare[open] summary .material-symbols-outlined { transform: rotate(180deg); }
.compare-body { padding: 0 24px 28px; }
.table-scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 16px 14px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { border-top: 0; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.compare tbody th { text-align: left; font-weight: 700; color: var(--ink-2); white-space: nowrap; font-size: 13px; }
.compare .us { background: var(--water); color: var(--sea); font-weight: 700; }
.compare thead .us { background: var(--sea); color: var(--white); border-radius: 12px 12px 0 0; }
.compare td small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.compare .muted { color: var(--ink-2); }

.support { margin-top: 96px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.support-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.support-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.support-card h4 { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.support-card .fee { font-family: var(--en); font-weight: 600; color: var(--sea); font-size: 20px; white-space: nowrap; }
.support-card .fee span { font-family: var(--sans); font-size: 13px; }
.support-card ul { columns: 2; column-gap: 20px; font-size: 13.5px; color: var(--ink-2); }
.support-card li { break-inside: avoid; padding: 4px 0 4px 16px; position: relative; line-height: 1.7; }
.support-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--mist-2); }
.support-card .plus { font-weight: 700; color: var(--sea); }
.support-note { margin-top: 20px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.about-brand { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 56px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.about-brand svg { width: 132px; height: auto; }
.about-brand .name { font-family: var(--en); letter-spacing: 0.3em; font-size: 14px; color: var(--ink); }
.about-brand .kana { font-size: 13px; color: var(--ink-3); letter-spacing: 0.2em; margin-top: -14px; }
.about-text .h2 { margin-bottom: 24px; }
.about-text p { color: var(--ink-2); }
.about-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-list li { font-size: 14px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }

/* ---------- contact ---------- */
.contact-card { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 48px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field label em { font-style: normal; font-size: 11px; color: var(--ink-3); margin-left: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink-3);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notice { margin-top: 8px; padding: 22px; border-radius: 16px; background: var(--water); border: 1px solid var(--foam); text-align: center; }
.notice b { display: inline-flex; align-items: center; gap: 8px; color: var(--sea); }
.notice p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 64px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand svg { height: 36px; width: auto; color: var(--white); --logo-accent: var(--mist-2); }
.footer-brand p { font-size: 13px; margin-top: 12px; }
.footer-brand .kana { font-family: var(--en); font-size: 11px; letter-spacing: 0.26em; color: rgba(255, 255, 255, 0.6); margin-top: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.footer nav a { font-family: var(--en); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.footer nav a:hover { color: var(--white); }
.copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* ---------- mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .hero { padding: 56px 0 56px; }
  .hero-grid, .split, .about-grid, .price-grid { grid-template-columns: 1fr; gap: 40px; }
  .values, .works, .reasons-grid { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 76px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding: 72px 0; }
  .head { margin-bottom: 44px; }
  .header-inner { height: 64px; }
  .logo svg { height: 24px; }
  .header .btn { display: none; }
  .services, .ai-features, .about-list, .field-row { grid-template-columns: 1fr; }
  .price-card, .includes, .contact-card { padding: 32px 22px; }
  .support-card { padding: 26px 22px; }
  .support-card ul { columns: 1; }
  .funnel li { padding: 13px 20px; gap: 10px; }
  .funnel .material-symbols-outlined { display: none; }
  .compare-body { padding: 0 12px 20px; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px;
    background: rgba(251, 250, 247, 0.95); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* =====================================================================
   v2: Works / Service / Price — earlier layouts, recoloured to the logo palette
   ===================================================================== */
.v2-title { font-family: var(--en); font-weight: 600; letter-spacing: 0.02em; font-size: clamp(32px, 4vw, 46px); }
.sp-only { display: none; }

/* Works */
.v2-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.v2-work {
  background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(47, 93, 120, 0.35); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.v2-work:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgba(47, 93, 120, 0.45); }
.v2-work-img { position: relative; height: 208px; overflow: hidden; background: var(--foam); }
.v2-work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.v2-work:hover .v2-work-img img { transform: scale(1.05); }
.v2-tag { position: absolute; top: 12px; left: 12px; background: rgba(48, 51, 56, 0.9); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 6px; }
.v2-work-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.v2-cat { font-family: var(--en); font-size: 11px; font-weight: 600; color: var(--sea); text-transform: uppercase; letter-spacing: 0.06em; }
.v2-work-body h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin: 4px 0 8px; letter-spacing: 0.04em; }
.v2-work-body p { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.v2-work-body .v2-meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: 12px; }

/* Service */
.v2-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v2-service {
  background: var(--white); border-radius: 24px; padding: 30px 28px; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -20px rgba(47, 93, 120, 0.35); transition: border-color .25s;
}
.v2-service:hover { border-color: var(--mist-2); }
.v2-service.wide { grid-column: span 2; }
.v2-ic { width: 46px; height: 46px; border-radius: 16px; background: var(--water); border: 1px solid var(--foam); color: var(--sea); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.v2-ic .material-symbols-outlined { font-size: 24px; }
.v2-service h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.v2-service p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }

/* Price: why */
.v2-why { max-width: 1040px; margin: 0 auto 88px; }
.v2-why-title { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.5; letter-spacing: 0.04em; }
.v2-num-big { font-family: var(--en); font-weight: 600; color: var(--sea); font-size: 1.7em; padding: 0 4px; letter-spacing: -0.01em; }
.v2-num-big.sm { font-size: 1.2em; }
.v2-why-title .accent { color: var(--sea); }
.v2-why-sub { font-weight: 700; font-size: clamp(16px, 1.8vw, 19px); margin: 14px 0 10px; }
.v2-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.v2-reason { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px; display: flex; flex-direction: column; box-shadow: 0 12px 30px -20px rgba(47, 93, 120, 0.35); }
.v2-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--sea), var(--mist)); color: #fff; font-family: var(--en); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.v2-reason h4 { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.v2-reason > p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; margin-bottom: 18px; }
.v2-ill { margin-top: auto; margin-bottom: 18px; }
.reason-ill { width: 100%; height: auto; }
.v2-reason .v2-key { margin-bottom: 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--sea); background: var(--water); border: 1px solid var(--foam); border-radius: 999px; padding: 9px; }
.v2-why-close { margin-top: 40px; font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.6; }
.v2-why-close span { color: var(--sea); }

/* Price: plan card */
.v2-plan { position: relative; max-width: 900px; margin: 0 auto 88px; background: var(--white); border: 2px solid var(--mist-2); border-radius: 28px; padding: 52px 48px 40px; box-shadow: var(--shadow); }
.v2-plan-badge {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 20px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sea), var(--mist)); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
}
.v2-plan-badge .material-symbols-outlined { font-size: 16px; }
.v2-plan h3 { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); }
.v2-regular { margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.v2-price { font-family: var(--en); font-weight: 600; color: var(--sea); font-size: clamp(60px, 7vw, 82px); line-height: 1.1; }
.v2-price span { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 20px; margin-left: 4px; }
.v2-price small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-weight: 700; }
.v2-plan-hl { display: inline-block; margin: 18px 0 12px; padding: 10px 22px; border-radius: 14px; background: var(--water); border: 1px solid var(--foam); font-weight: 700; font-size: 14px; }
.v2-plan-hl b { color: var(--sea); font-size: 1.1em; }
.v2-inc-title { margin: 32px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.v2-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.v2-includes li { display: flex; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #f7f9fa; }
.v2-includes .material-symbols-outlined { color: var(--mist); font-size: 21px; margin-top: 2px; }
.v2-includes b { display: block; font-size: 14px; }
.v2-includes small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.v2-plan-btn { width: 100%; }

/* Price: comparison */
.v2-compare { max-width: 1040px; margin: 0 auto 88px; }
.v2-swipe { text-align: center; font-size: 12px; color: var(--ink-3); margin: 16px 0 6px; }
.v2-swipe .material-symbols-outlined { font-size: 16px; vertical-align: middle; }
.v2-table { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 30px -20px rgba(47, 93, 120, 0.35); }
.v2-table table { width: 100%; min-width: 680px; border-collapse: collapse; }
.v2-table th, .v2-table td { padding: 16px 14px; text-align: center; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.v2-table thead th { border-top: 0; background: #f7f9fa; font-weight: 700; font-size: 13px; }
.v2-table tbody th { background: #f7f9fa; text-align: left; font-weight: 700; white-space: nowrap; }
.v2-table .us { background: var(--water); color: var(--sea); font-weight: 700; font-size: 15px; border-left: 2px solid var(--mist-2); border-right: 2px solid var(--mist-2); }
.v2-table thead .us { background: linear-gradient(90deg, var(--sea), var(--mist)); color: #fff; border-color: transparent; }
.v2-table thead .us b { display: block; font-size: 16px; }
.v2-table small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.v2-table thead .us small { color: rgba(255, 255, 255, 0.85); }
.v2-table .strike { text-decoration: line-through; }
.v2-big { display: block; font-family: var(--en); font-weight: 600; font-size: 19px; }
.v2-mark { display: block; font-size: 22px; line-height: 1; margin-bottom: 4px; }

/* Price: support */
.v2-supports { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 36px auto 20px; }
.v2-support { background: var(--water); border: 1px solid var(--foam); border-radius: 24px; padding: 32px; }
.v2-support.featured { background: var(--white); border: 2px solid var(--mist-2); box-shadow: var(--shadow); }
.v2-support h4 { font-family: var(--sans); font-weight: 700; font-size: 20px; }
.v2-support .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.v2-support .fee { font-family: var(--en); font-weight: 600; color: var(--sea); font-size: 30px; margin: 14px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.v2-support .fee span { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-right: 4px; color: var(--ink); }
.v2-support li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 5px 0; color: var(--ink-2); }
.v2-support li .material-symbols-outlined { color: var(--mist); font-size: 18px; margin-top: 3px; }
.v2-support li.plus { color: var(--sea); font-weight: 700; }
.v2-support li.plus .material-symbols-outlined { color: var(--sea); }

@media (max-width: 900px) {
  .v2-works, .v2-reasons { grid-template-columns: 1fr; }
  .v2-services { grid-template-columns: 1fr 1fr; }
  .v2-supports { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sp-only { display: block; }
  br.sp-only { display: inline; }
  .v2-services, .v2-includes { grid-template-columns: 1fr; }
  .v2-service.wide { grid-column: auto; }
  .v2-plan { padding: 40px 20px 28px; }
  .v2-support { padding: 26px 22px; }
}

/* =====================================================================
   v3: premium pass — works-collage hero, one heading voice (mincho)
   ===================================================================== */
.pc-only { display: inline; }

/* ---------- hero: copy left, drifting works collage bleeding off the right edge ---------- */
.hero.hero-v3 {
  padding: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: clamp(620px, calc(100svh - 76px), 860px);
  background:
    radial-gradient(60% 70% at 100% 40%, rgba(169, 198, 214, 0.28), transparent 70%),
    var(--paper);
}
.hero-copy {
  align-self: center; padding: 72px 56px 72px max(24px, calc((100vw - 1120px) / 2));
}
.hero-v3 h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 3.5vw, 50px); line-height: 1.5; letter-spacing: 0.05em; margin-bottom: 30px;
}
.hero-v3 h1 .accent { color: var(--sea); }
.hero-v3 .lead { font-size: 16px; color: var(--ink-2); margin-bottom: 40px; }
.hero-v3 .btn-ghost { background: rgba(255, 255, 255, 0.6); }

.hero-facts {
  margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-facts > div { padding: 0 28px; border-left: 1px solid var(--line); }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); margin-bottom: 4px; }
.hero-facts dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--ink); letter-spacing: 0.02em; }
.hero-facts dd span { font-size: 14px; margin-left: 2px; }
.hero-facts dd small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; margin-top: 2px; }

.hero-gallery {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  height: 100%; max-height: 860px; overflow: hidden; padding: 0 0 0 8px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.hg-col { overflow: hidden; min-width: 0; }
.hg-col:nth-child(2) { margin-top: -90px; }
.hg-track { display: flex; flex-direction: column; gap: 18px; animation: hg-up 70s linear infinite; }
.hg-col:nth-child(2) .hg-track { animation-name: hg-down; animation-duration: 84s; }
.hg-col:nth-child(3) .hg-track { animation-duration: 96s; }
.hg-track img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top;
  border-radius: 10px; border: 1px solid rgba(48, 51, 56, 0.08); background: var(--foam);
}
@keyframes hg-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
@keyframes hg-down { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }

/* ---------- one heading voice: mincho everywhere, lighter numerals ---------- */
.v2-service h3, .v2-reason h4, .v2-plan h3, .v2-support h4,
.v2-why-title, .v2-why-sub, .v2-why-close {
  font-family: var(--serif); font-weight: 600; letter-spacing: 0.05em;
}
.v2-service h3 { font-size: 19px; }
.v2-why-title { font-size: clamp(22px, 2.8vw, 32px); }
.v2-num-big, .v2-price, .v2-big, .v2-support .fee { font-weight: 500; letter-spacing: 0.01em; }
.v2-price span, .v2-support .fee span { font-family: var(--serif); font-weight: 600; }
.work-body h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.06em; }

@media (max-width: 1080px) {
  .hero-copy { padding-right: 32px; }
  .hero-facts > div { padding: 0 18px; }
}
@media (max-width: 900px) {
  .pc-only { display: none; }
  .hero.hero-v3 { grid-template-columns: 1fr; min-height: 0; background: var(--paper); }
  .hero-copy { padding: 48px 20px 36px; }
  .hero-gallery {
    grid-template-columns: 1fr; gap: 12px; height: auto; padding: 0 0 48px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .hg-col:nth-child(2) { margin-top: 0; }
  .hg-col:nth-child(3) { display: none; }
  .hg-track { flex-direction: row; gap: 12px; width: max-content; animation-name: hg-left; }
  .hg-col:nth-child(2) .hg-track { animation-name: hg-right; }
  .hg-track img { width: 220px; }
  @keyframes hg-left { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
  @keyframes hg-right { from { transform: translateX(calc(-50% - 6px)); } to { transform: translateX(0); } }
}
@media (max-width: 640px) {
  .hero-v3 h1 { font-size: clamp(28px, 8vw, 34px); }
  .hero-v3 .lead { font-size: 15px; margin-bottom: 32px; }
  .hero-v3 .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { margin-top: 36px; }
  .hero-facts > div { padding: 0 12px; }
  .hero-facts dd { font-size: 20px; }
  .hero-facts dd span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-track { animation: none; }
}

/* ---------- shoreline divider (paper → water) ---------- */
.shore { background: var(--paper); line-height: 0; margin-bottom: -1px; }
.shore svg { width: 100%; height: clamp(64px, 9vw, 140px); }
.shore .s3 { fill: var(--mist-2); opacity: 0.38; }
.shore .s2 { fill: var(--mist-2); opacity: 0.3; }
.shore .s1 { fill: var(--water); }
.shore .crest { fill: none; stroke: var(--mist); stroke-width: 1.2; opacity: 0.55; vector-effect: non-scaling-stroke; }
.shore svg { overflow: hidden; }
.shore path { transform-box: fill-box; animation: shore-drift 34s linear infinite; }
.shore .s2 { animation-duration: 26s; animation-direction: reverse; }
.shore .s3 { animation-duration: 46s; }
@keyframes shore-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .shore path { animation: none; } }

/* =====================================================================
   v4: vivid ocean blues — brighter tokens, deep-sea bands, aqua accents
   (remove this block + the bg-deep classes to go back to the calm palette)
   ===================================================================== */
:root {
  --ink: #16263d;
  --ink-2: #42526a;
  --ink-3: #6b7a90;
  --sea: #1a5fb4;
  --sea-deep: #0f4386;
  --sea-2: #2a86d8;
  --mist: #3fa7e6;
  --mist-2: #9dd3f3;
  --foam: #d6ecfa;
  --paper: #fafcfe;
  --water: #eaf5fd;
  --line: #d7e6f2;
  --aqua: #35c3f0;
  --abyss: #0a2c5a;
  --shadow: 0 18px 40px -24px rgba(26, 95, 180, 0.45);
}
.header { background: rgba(250, 252, 254, 0.9); }
.btn-primary { background: linear-gradient(120deg, var(--sea) 0%, var(--sea-2) 100%); box-shadow: 0 10px 24px -12px rgba(26, 95, 180, 0.7); }
.btn-primary:hover { background: linear-gradient(120deg, var(--sea-deep) 0%, var(--sea) 100%); }
.mark { background: linear-gradient(transparent 60%, rgba(53, 195, 240, 0.32) 60%); }

/* hero: brighter sea glow behind the collage */
.hero.hero-v3 {
  background:
    radial-gradient(55% 75% at 100% 30%, rgba(53, 195, 240, 0.30), transparent 70%),
    radial-gradient(45% 60% at 70% 100%, rgba(26, 95, 180, 0.14), transparent 70%),
    var(--paper);
}
.hero-v3 h1 .accent {
  background: linear-gradient(100deg, var(--sea-deep) 0%, var(--sea-2) 55%, var(--aqua) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-facts dd { color: var(--sea-deep); }

/* shoreline now breaks into deep sea */
.shore .s3 { fill: var(--aqua); opacity: 0.35; }
.shore .s2 { fill: var(--sea-2); opacity: 0.45; }
.shore .s1 { fill: var(--sea-deep); }
.shore .crest { stroke: #ffffff; opacity: 0.55; }

/* deep-sea bands (Philosophy / About) */
.bg-deep {
  color: #fff;
  background:
    radial-gradient(50% 42% at 85% 62%, rgba(53, 195, 240, 0.2), transparent 70%),
    linear-gradient(180deg, var(--sea-deep) 0%, var(--abyss) 100%);
}
.bg-deep .eyebrow { color: #8fdcff; }
.bg-deep .h2, .bg-deep .h3 { color: #fff; }
.bg-deep p, .bg-deep .value p, .bg-deep .about-text p { color: rgba(255, 255, 255, 0.82); }
.bg-deep .value { border-top-color: rgba(143, 220, 255, 0.45); }
.bg-deep .value .num { color: #8fdcff; }
.bg-deep .about-brand { background: rgba(255, 255, 255, 0.96); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 10, 30, 0.6); }
.bg-deep .about-brand .name { color: var(--ink); }
.bg-deep .about-brand .kana { color: var(--ink-3); }
.bg-deep .about-list li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }

/* works / services / structure accents */
.bg-water { background: linear-gradient(180deg, var(--water) 0%, #f3f9fe 100%); }
.work .tag { color: var(--sea); }
.funnel .t1 { background: var(--sea-deep); }
.funnel .t2 { background: var(--sea); }
.funnel .t3 { background: var(--sea-2); color: #fff; }
.funnel .t4 { background: #7cc6f0; color: var(--ink); }
.funnel .t5 { background: #c4e6fa; color: var(--ink); }
.v2-ic { background: linear-gradient(135deg, var(--sea) 0%, var(--aqua) 100%); border: 0; color: #fff; }
.v2-service:hover { border-color: var(--mist); }
.v2-work, .v2-service, .v2-reason, .v2-table { box-shadow: 0 14px 34px -20px rgba(26, 95, 180, 0.4); }

/* AI band: cobalt → aqua */
.ai { background: linear-gradient(120deg, var(--abyss) 0%, var(--sea) 50%, #2aa6e8 100%); }
.ai-features .material-symbols-outlined { color: #8fdcff; }

/* price */
.v2-num, .v2-plan-badge, .v2-table thead .us { background: linear-gradient(120deg, var(--sea) 0%, var(--aqua) 100%); }
.v2-plan { border-color: var(--mist); }
.v2-price, .v2-num-big { background: linear-gradient(100deg, var(--sea-deep), var(--sea-2) 60%, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-includes li { background: #f2f8fd; }
.v2-includes .material-symbols-outlined, .v2-support li .material-symbols-outlined { color: var(--sea-2); }
.v2-table thead th, .v2-table tbody th { background: #f2f8fd; }
.v2-support.featured { border-color: var(--mist); }
.limit { background: #e3f4fd; color: var(--sea); }

/* footer: abyss navy instead of charcoal */
.footer { background: var(--abyss); }
.footer-brand svg { --logo-accent: #8fdcff; }

/* =====================================================================
   v5: tide — the wave rises with scroll, the deep band is underwater,
   and its content surfaces from below (blur → clear)
   ===================================================================== */
.shore {
  --shore-h: clamp(64px, 9vw, 140px); --rise: min(240px, 26vh);
  position: relative; z-index: 3; height: var(--shore-h);
  clip-path: inset(-100vh 0 0 0); /* let the water spill upward, never downward */
}
.shore-rise {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--shore-h) + var(--rise));
  display: flex; flex-direction: column; will-change: transform;
  transform: translateY(calc((1 - var(--p, 0)) * var(--rise)));
}
.shore-rise svg { height: var(--shore-h) !important; flex: none; }
.shore-body { flex: 1; background: var(--sea-deep); margin-top: -1px; }

/* underwater band */
.bg-deep { overflow: hidden; }
.bg-deep > .wrap { position: relative; z-index: 1; }
.tide .bg-deep > .wrap {
  transform: translateY(calc((1 - var(--q, 1)) * 70px));
  filter: blur(calc((1 - var(--q, 1)) * 7px));
  opacity: calc(0.25 + var(--q, 1) * 0.75);
}
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles i {
  position: absolute; bottom: -20px; width: var(--s); height: var(--s); border-radius: 50%;
  border: 1px solid rgba(190, 235, 255, 0.55);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.7) 0 18%, rgba(143, 220, 255, 0.12) 45%, transparent 70%);
  animation: bubble var(--d) linear infinite;
}
@keyframes bubble {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translate(var(--w), -55vh); }
  90% { opacity: 0.7; }
  100% { transform: translate(calc(var(--w) * -1), -110vh); opacity: 0; }
}
/* light filtering down from the surface */
.caustics {
  position: absolute; left: -10%; right: -10%; top: 0; height: 70%;
  background:
    repeating-linear-gradient(100deg, rgba(143, 220, 255, 0) 0 60px, rgba(143, 220, 255, 0.07) 60px 90px, rgba(143, 220, 255, 0) 90px 170px),
    repeating-linear-gradient(80deg, rgba(255, 255, 255, 0) 0 90px, rgba(255, 255, 255, 0.04) 90px 110px, rgba(255, 255, 255, 0) 110px 220px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, transparent 100%);
  filter: blur(10px); animation: caustics 14s ease-in-out infinite alternate;
}
@keyframes caustics { from { transform: translateX(-3%) skewX(-4deg); } to { transform: translateX(3%) skewX(4deg); } }

@media (max-width: 640px) {
  .shore { --rise: min(140px, 18vh); }
  .bubbles i:nth-child(n + 11) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles i, .caustics { animation: none; }
  .bubbles i { display: none; }
}

/* =====================================================================
   v8: make MIGIWA's price the hero of the comparison table
   ===================================================================== */
.v2-table td.us .v2-big-us {
  font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; letter-spacing: 0.01em; margin: 4px 0 2px;
  background: linear-gradient(100deg, var(--sea-deep), var(--sea-2) 60%, var(--aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v2-big-us .yen { font-family: var(--serif); font-size: 0.45em; font-weight: 600; color: var(--sea-deep); margin-left: 2px; }
.v2-table tbody tr:first-child td.us { padding: 24px 14px; background: #fff; box-shadow: inset 0 0 0 2px var(--mist); }
.v2-table tbody tr:first-child td.us .strike { font-size: 12px; }
@media (max-width: 640px) {
  .v2-table td.us .v2-big-us { font-size: 28px; }
}
