/* =========================================================
   凪カーケア LP（ポートフォリオ制作デモ）
   ========================================================= */

:root {
  --navy: #0e2a47;
  --navy-2: #173b5f;
  --ink: #1b2b3a;
  --muted: #4a5d70;
  --aqua: #bfe6f2;
  --aqua-pale: #eef8fb;
  --aqua-line: #cfe8f0;
  --accent: #1f6f8b;
  --white: #ffffff;
  --error: #b42318;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(14, 42, 71, .08);
  --header-h: 68px;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", 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(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
/* 対応ブラウザでは日本語を文節単位で改行 */
h1, h2, h3, p, li, summary, dd { word-break: auto-phrase; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--navy); }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

:focus-visible {
  outline: 3px solid #2b8fb3;
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.pc-only { display: none; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

section[id], main [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Demo bar ---------- */
.demo-bar {
  background: var(--aqua-pale);
  border-bottom: 1px solid var(--aqua-line);
  color: var(--navy);
  font-size: .8125rem;
  line-height: 1.6;
  text-align: center;
  padding: 7px 16px;
}
.demo-bar strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(14, 42, 71, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}
.logo-mark { width: 36px; height: 36px; flex: none; color: var(--navy); }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-sub { font-size: .6875rem; color: var(--muted); letter-spacing: .08em; }
.logo-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: .12em; }

.global-nav { display: none; }
@media (min-width: 960px) {
  .global-nav { display: block; margin-left: auto; }
  .global-nav ul { display: flex; gap: 4px; }
  .global-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--navy);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
  }
  .global-nav a:hover { background: var(--aqua-pale); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--aqua-pale); color: var(--navy); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .875rem; white-space: nowrap; }
@media (max-width: 380px) {
  .btn-small { padding: 8px 14px; font-size: .8125rem; }
  .logo-name { font-size: 1.125rem; }
}

/* ---------- Section common ---------- */
.section { padding-block: 88px; }
@media (min-width: 768px) { .section { padding-block: 120px; } }

.section-head { margin-bottom: 48px; }
.section-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.625rem, 4.6vw, 2.375rem);
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--navy);
}
.section-note { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.detail-note { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, var(--aqua-pale) 100%);
  padding: 24px 0 96px;
}
.hero-inner {
  display: grid;
  gap: 32px;
}
.hero-visual {
  order: -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-text { color: var(--ink); }
.hero-eyebrow {
  display: inline-block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
  padding: 4px 14px;
  background: var(--aqua);
  border-radius: 999px;
}
.hero-title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 8.4vw, 3.25rem);
  line-height: 1.45;
  letter-spacing: .08em;
  color: var(--navy);
}
.nowrap { white-space: nowrap; }
.hero-lead {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--ink);
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .btn { flex: 1 1 200px; }
.hero-facts {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: .875rem;
  color: var(--muted);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 48px;
  display: block;
}
.wave-hero { color: var(--white); }

@media (min-width: 900px) {
  .hero { padding: 56px 0 128px; }
  .hero-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 56px;
  }
  .hero-visual { order: 0; aspect-ratio: 5 / 4; }
  .hero-title { font-size: clamp(2.125rem, 3.6vw, 3.25rem); }
  .hero-actions .btn { flex: 0 0 auto; }
  .wave { height: 72px; }
}

/* ---------- Worries ---------- */
.worries-inner { display: grid; gap: 40px; }
.worry-list { margin-top: 32px; border-top: 1px solid var(--aqua-line); }
.worry-list li {
  position: relative;
  padding: 18px 0 18px 36px;
  border-bottom: 1px solid var(--aqua-line);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: calc(18px + .85em - 5px);
  width: 18px; height: 10px;
  background:
    radial-gradient(circle at 25% 50%, var(--accent) 0 3px, transparent 3.5px),
    radial-gradient(circle at 75% 50%, var(--aqua) 0 3px, transparent 3.5px);
}
.worries-answer {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  line-height: 1.85;
}
.worries-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.worries-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .worries-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 72px; }
  .worries-visual { aspect-ratio: 3 / 4; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
}

/* ---------- Features ---------- */
.features { background: var(--aqua-pale); }
.feature {
  display: grid;
  gap: 24px;
  align-items: center;
  padding-block: 40px;
}
.feature + .feature { border-top: 1px solid var(--aqua-line); }
.feature-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: .04em;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3.6vw, 1.75rem);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.feature-body p { color: var(--ink); }
.feature-illust { color: var(--navy); max-width: 280px; }
.feature-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-hand .feature-num { margin-bottom: 12px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-list li {
  padding: 4px 14px;
  background: var(--white);
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
}

.mini-price {
  display: grid;
  gap: 1px;
  background: var(--aqua-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mini-price > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
}
.mini-price dt { font-size: .9375rem; color: var(--muted); }
.mini-price dd { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.mini-price dd span { font-size: .875rem; margin-left: 2px; }

@media (min-width: 900px) {
  .feature { padding-block: 56px; gap: 48px; }
  .feature-home { grid-template-columns: 120px minmax(0, 1fr) 280px; }
  .feature-hand { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .feature-price { grid-template-columns: 120px minmax(0, 1fr) 340px; }
}

/* ---------- Price ---------- */
.price { background: var(--navy); color: var(--white); }
.price .section-title { color: var(--white); }
.price .section-label { color: var(--aqua); }
.price .section-note, .price .detail-note { color: #c7d6e4; }

.price-table-wrap {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 20px; text-align: left; }
.price-table thead th {
  font-size: .875rem;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid var(--navy);
}
.price-table tbody tr + tr th, .price-table tbody tr + tr td { border-top: 1px solid var(--aqua-line); }
.price-table tbody th { font-size: 1.0625rem; color: var(--navy); }
.price-table td { font-size: 1.0625rem; }
.price-table .yen { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); }

@media screen and (max-width: 719px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tbody tr { padding: 16px 12px; }
  .price-table tbody tr + tr { border-top: 1px solid var(--aqua-line); }
  .price-table tbody tr + tr th, .price-table tbody tr + tr td { border-top: 0; }
  .price-table tbody th { padding: 0 0 8px; font-size: 1.125rem; }
  .price-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
  }
  .price-table td::before { content: attr(data-label); font-size: .875rem; color: var(--muted); }
}

.price-details {
  margin-top: 40px;
  display: grid;
  gap: 32px;
}
.detail-block h3 {
  font-size: 1.0625rem;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(191, 230, 242, .35);
}
.check-list li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--aqua);
  border-bottom: 2px solid var(--aqua);
  transform: rotate(-45deg);
}
.time-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.time-list dd { font-weight: 700; }
@media (min-width: 768px) {
  .price-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- Flow ---------- */
.flow-list { display: grid; gap: 0; counter-reset: flow; }
.flow-step {
  position: relative;
  padding: 0 0 36px 72px;
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 23px; top: 48px; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--aqua) 0 6px, transparent 6px 12px);
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step:last-child::before { display: none; }
.flow-num {
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.flow-step h3 {
  font-size: 1.1875rem;
  color: var(--navy);
  line-height: 1.5;
  padding-top: 10px;
  margin-bottom: 8px;
}
.flow-step p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .flow-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .flow-step { padding: 72px 0 0; }
  .flow-step::before {
    left: 56px; right: -32px; top: 23px; bottom: auto;
    width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--aqua) 0 6px, transparent 6px 12px);
  }
  .flow-step h3 { padding-top: 0; }
}

/* ---------- Area ---------- */
.area { background: linear-gradient(180deg, var(--white) 0%, var(--aqua-pale) 100%); }
.area-inner { display: grid; gap: 48px; }
.area-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.area-cities span {
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .08em;
}
.coast { width: 100%; height: auto; margin-top: 16px; }
.area-conditions {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.area-conditions h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.condition-list li {
  display: grid;
  gap: 2px;
  padding: 18px 0 18px 36px;
  position: relative;
  border-bottom: 1px solid var(--aqua-line);
}
.condition-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.condition-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--aqua);
}
.condition-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 28px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}
.condition-list strong { color: var(--navy); }
.condition-list span { color: var(--muted); font-size: .9375rem; line-height: 1.75; }
@media (min-width: 900px) {
  .area-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; }
  .area-conditions { padding: 40px; }
}

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.faq-list { border-top: 1px solid var(--aqua-line); }
.faq-list details { border-bottom: 1px solid var(--aqua-line); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 40px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 4px; top: 20px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent);
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-answer { padding: 0 16px 24px 40px; color: var(--ink); }

/* ---------- Reserve demo ---------- */
.reserve { background: var(--aqua-pale); }
.reserve-inner { max-width: 880px; }
.demo-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: .9375rem;
  line-height: 1.75;
}
.demo-notice svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.demo-noscript { margin-bottom: 16px; color: var(--error); font-weight: 700; }

.reserve-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px 32px;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) { .reserve-card { padding: 40px 48px 48px; } }

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 32px;
  counter-reset: st;
}
.stepper li {
  position: relative;
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
  padding-top: 40px;
  counter-increment: st;
}
.stepper li::before {
  content: counter(st);
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--aqua-line);
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
  z-index: 1;
}
.stepper li + li::after {
  content: "";
  position: absolute;
  top: 15px; right: 50%;
  width: 100%; height: 2px;
  background: var(--aqua-line);
}
.stepper li.is-current, .stepper li.is-done { color: var(--navy); font-weight: 700; }
.stepper li.is-current::before { background: var(--navy); border-color: var(--navy); color: var(--white); }
.stepper li.is-done::before { background: var(--aqua); border-color: var(--aqua); color: var(--navy); }
.stepper li.is-done + li::after, .stepper li.is-current:not(:first-child)::after { background: var(--navy); }

.field { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.field legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
}
.req {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  font-size: .75rem;
  line-height: 1.7;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  vertical-align: 2px;
}
.field-hint { font-size: .875rem; color: var(--muted); margin: -4px 0 10px; }
.field-error {
  margin: -4px 0 10px;
  color: var(--error);
  font-size: .9375rem;
  font-weight: 700;
}

.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .choice-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--aqua-line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s, background-color .15s;
  position: relative;
}
.choice-body::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  border: 2px solid #8aa3b8;
  border-radius: 50%;
  background: var(--white);
}
.choice-title { font-weight: 700; color: var(--navy); line-height: 1.5; }
.choice-sub { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.choice:hover .choice-body { border-color: #8cc9dc; }
.choice input:checked + .choice-body { border-color: var(--navy); background: var(--aqua-pale); }
.choice input:checked + .choice-body::before {
  border-color: var(--navy);
  background: radial-gradient(circle, var(--navy) 0 5px, var(--white) 5.5px);
}
.choice input:focus-visible + .choice-body { outline: 3px solid #2b8fb3; outline-offset: 3px; }
.field.has-error .choice-body { border-color: #e4a29b; }

.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}
.date-choice .choice-body {
  padding: 10px 6px;
  align-items: center;
  text-align: center;
}
.date-choice .choice-body::before { display: none; }
.date-choice .choice-title { font-size: 1rem; }
.date-choice .choice-sub { font-size: .75rem; }
.date-choice.is-sun .choice-sub { color: #a6402f; }
.date-choice.is-sat .choice-sub { color: #23648a; }

.estimate {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  margin-bottom: 28px;
}
.estimate-label { font-size: .8125rem; color: #c7d6e4; }
.estimate-price { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1.4; }
.estimate-time { font-size: .875rem; color: #dbe7f1; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.form-actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .form-actions .btn { flex: 0 0 auto; } }

.step-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 20px;
}
/* 画面切り替え時にプログラムでフォーカスを移す見出し（操作対象ではないため枠線は出さない） */
.step-title:focus, .done-message:focus { outline: none; }
.summary { border-top: 1px solid var(--aqua-line); }
.summary > div {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--aqua-line);
}
.summary dt { color: var(--muted); font-size: .9375rem; }
.summary dd { font-weight: 700; color: var(--navy); }
.summary .is-total dd { font-family: var(--font-serif); font-size: 1.5rem; }
.form-step[data-step="2"] .form-actions { margin-top: 28px; }

.form-done { text-align: center; padding: 16px 0 8px; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 20px; }
.done-message {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 4.4vw, 1.625rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}
.form-done .form-actions { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1f35;
  color: #d5e2ee;
  padding: 64px 0 32px;
  font-size: .875rem;
  line-height: 1.85;
}
.footer-inner { display: grid; gap: 32px; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .12em;
}
.footer-logo span { display: block; font-family: var(--font-sans); font-size: .75rem; font-weight: 400; letter-spacing: .08em; color: #b8cad9; }
.footer-disclaimer {
  padding: 20px 22px;
  border: 1px solid rgba(191, 230, 242, .4);
  border-radius: var(--radius);
}
.footer-disclaimer strong { color: var(--white); }
.footer-credits h2 { font-size: .875rem; color: var(--white); margin-bottom: 8px; }
.footer-credits li { margin-bottom: 6px; }
.site-footer a { color: var(--aqua); }
.site-footer a:hover { color: var(--white); }
.copyright { color: #a9bccd; border-top: 1px solid rgba(191, 230, 242, .2); padding-top: 20px; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 64px; }
  .footer-credits, .copyright { grid-column: 1 / -1; }
}

/* ---------- Reveal (控えめなフェード) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- 印刷専用要素（画面では非表示） ---------- */
.print-only { display: none; }

/* =========================================================
   印刷・PDF保存用
   推奨設定：背景のグラフィック ON／ヘッダーとフッター OFF
   ========================================================= */
@media print {
  @page { size: A4; margin: 14mm 12mm; }

  html { scroll-behavior: auto; }
  body {
    font-size: 10pt;
    line-height: 1.75;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }

  /* 画面操作用の要素は出さない */
  .skip-link, .global-nav, .site-header .btn, .hero-actions, .wave,
  .reserve-card, .demo-notice, noscript, .demo-noscript { display: none !important; }
  .print-only { display: block; }

  .container { max-width: none; padding-inline: 0; }
  .site-header { position: static; background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--aqua-line); }
  .header-inner { min-height: 0; padding-block: 3mm; }
  .demo-bar { padding: 2mm 0; }

  /* 余白の圧縮 */
  .section { padding-block: 9mm; }
  .section-head { margin-bottom: 6mm; }
  .section-title { font-size: 17pt; }
  .section-label { margin-bottom: 1mm; }
  section[id], main [id] { scroll-margin-top: 0; }

  /* 見出しだけがページ末尾に残らないように */
  h1, h2, h3, .section-head, .section-label, summary {
    break-after: avoid;
    page-break-after: avoid;
  }
  h1, h2, h3 { break-inside: avoid; }
  p, li, dd { orphans: 3; widows: 3; }

  /* 短いまとまりは分断しない（セクション全体には指定しない） */
  .hero-inner, .feature, .price-table-wrap, .price-table tr, .detail-block,
  .flow-step, .area-map, .condition-list li, .faq-list details,
  .worries-answer, .worry-list li, .print-demo-note,
  .footer-disclaimer, .footer-credits li, .mini-price {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* ファーストビュー：2カラムで写真を小さく */
  .hero { padding: 6mm 0 4mm; background: #fff; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8mm; align-items: center; }
  .hero-visual { order: 0; aspect-ratio: 4 / 3; box-shadow: none; border-radius: 12px; }
  .hero-title { font-size: 22pt; margin-top: 3mm; }
  .hero-lead { margin-top: 3mm; }
  .hero-facts { margin-top: 4mm; }

  /* お悩み */
  .worries-inner { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8mm; align-items: center; }
  .worries-visual { aspect-ratio: 3 / 4; border-radius: 120px 120px 12px 12px; }
  .worry-list { margin-top: 4mm; }
  .worry-list li { padding-block: 2.5mm; font-size: 10pt; }
  .worry-list li::before { top: calc(2.5mm + .875em - 5px); }
  .worries-answer { margin-top: 5mm; padding: 4mm 5mm; background: var(--aqua-pale); color: var(--navy); border: 1px solid var(--aqua-line); }

  /* 特徴 */
  .feature { padding-block: 6mm; gap: 6mm; }
  .feature-num { font-size: 26pt; }
  .feature-title { font-size: 13pt; margin-bottom: 2mm; }
  .feature-home { grid-template-columns: 22mm minmax(0, 1fr) 42mm; }
  .feature-hand { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature-price { grid-template-columns: 22mm minmax(0, 1fr) 62mm; }
  .feature-illust { max-width: 42mm; }
  .feature-photo { aspect-ratio: 3 / 2; border-radius: 12px; }
  .mini-price > div { padding: 2.5mm 4mm; }
  .mini-price dd { font-size: 13pt; }

  /* 料金：背景グラフィックの有無にかかわらず読める淡色の配色に */
  .price { background: var(--aqua-pale); color: var(--ink); }
  .price .section-title { color: var(--navy); }
  .price .section-label { color: var(--accent); }
  .price .section-note, .price .detail-note { color: var(--muted); }
  .price-table-wrap { border: 1px solid var(--aqua-line); border-radius: 12px; padding: 0; overflow: hidden; }
  .price-table th, .price-table td { padding: 3mm 4mm; }
  .price-table thead th { background: var(--navy); color: #fff; border-bottom: 0; }
  .price-table tbody tr:nth-child(even) th, .price-table tbody tr:nth-child(even) td { background: #f6fbfd; }
  .price-table .yen { font-size: 13pt; }
  .price-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6mm; margin-top: 6mm; }
  .detail-block h3 { border-bottom-color: var(--aqua-line); padding-bottom: 2mm; margin-bottom: 2mm; }
  .check-list li::before { border-color: var(--accent); }

  /* ご利用の流れ：4列 */
  .flow-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5mm; }
  .flow-step { padding: 14mm 0 0; }
  .flow-step::before {
    left: 13mm; right: -5mm; top: 5mm; bottom: auto;
    width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--aqua) 0 6px, transparent 6px 12px);
  }
  .flow-step:last-child::before { display: none; }
  .flow-num { width: 10mm; height: 10mm; font-size: 12pt; }
  .flow-step h3 { font-size: 11pt; padding-top: 0; }
  .flow-step p { font-size: 9pt; }

  /* エリア */
  .area { background: #fff; }
  .area-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8mm; align-items: start; }
  .area-cities { margin: 3mm 0 1mm; }
  .area-conditions { box-shadow: none; border: 1px solid var(--aqua-line); padding: 5mm; }
  .condition-list li { padding-block: 2.5mm; }
  .condition-list li::before { top: 3.2mm; }
  .condition-list li::after { top: calc(3.2mm + 6px); }

  /* FAQ：回答を常に表示（details は印刷前に JS でも開く） */
  .faq-list summary { padding: 3mm 6mm 2mm 9mm; }
  .faq-list summary::before { top: 2.6mm; }
  .faq-list summary::after { display: none; }
  .faq-list details::details-content { content-visibility: visible; display: block; }
  .faq-answer { padding: 0 4mm 3mm 9mm; }

  /* 予約デモ：操作欄の代わりに案内文 */
  .reserve { padding-block: 8mm; background: #fff; }
  .print-demo-note {
    padding: 4mm 5mm;
    border: 1.5px solid var(--navy);
    border-radius: 10px;
    color: var(--navy);
    font-weight: 700;
  }

  /* フッター：白地にして注記とクレジットを残す */
  .site-footer { background: #fff; color: var(--ink); padding: 6mm 0 0; border-top: 2px solid var(--navy); font-size: 8.5pt; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 4mm; }
  .footer-logo { color: var(--navy); font-size: 13pt; }
  .footer-logo span { color: var(--muted); }
  .footer-disclaimer { border-color: var(--navy); padding: 3mm 4mm; }
  .footer-disclaimer strong, .footer-credits h2 { color: var(--navy); }
  .site-footer a { color: var(--accent); }
  .footer-credits a[href^="http"]::after {
    content: "（" attr(href) "）";
    color: var(--muted);
    word-break: break-all;
  }
  .copyright { color: var(--muted); border-top-color: var(--aqua-line); padding-top: 2mm; }
}
