/* =========================================================
   GROUP合同会社 — style.css
   背景は純白。淡いアクアはカード・装飾の一部のみに使用。
   ========================================================= */

:root {
  --white: #FFFFFF;
  --aqua-50: #EAF8F8;
  --aqua-300: #8BCDD3;
  --teal-700: #246D73;
  --ink: #24343A;
  --ink-soft: #4F6168;
  --line: #CFE7E9;
  --line-strong: #A9D6DA;
  --focus: #246D73;

  --font-mincho: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --font-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: clamp(1.875rem, 1.4rem + 1.8vw, 2.5rem);
  --step-5: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
}

[hidden] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 52px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: var(--step-0);
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-mincho);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0 0 0.6em;
  color: var(--ink);
  word-break: auto-phrase;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--teal-700); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: 40em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-mincho);
  font-weight: 600; font-size: 1.375rem; letter-spacing: 0.16em;
}
.brand__sub { font-size: 0.6875rem; letter-spacing: 0.3em; color: var(--ink-soft); margin-top: 3px; }

.global-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
}
.global-nav a {
  color: var(--ink); text-decoration: none;
  font-size: 0.9375rem; letter-spacing: 0.08em;
  padding: 6px 2px; position: relative;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal-700);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav a[aria-current="page"] { color: var(--teal-700); }
.global-nav .nav-cta {
  border: 1px solid var(--teal-700); border-radius: 999px;
  padding: 7px 18px; color: var(--teal-700);
}
.global-nav .nav-cta::after { display: none; }
.global-nav .nav-cta:hover { background: var(--teal-700); color: var(--white); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 16px;
  font: inherit; font-size: 0.875rem; color: var(--ink);
  align-items: center; gap: 10px; cursor: pointer;
}
.menu-toggle__bars { width: 18px; height: 10px; position: relative; display: inline-block; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--ink); transition: transform .3s ease, top .3s ease;
}
.menu-toggle__bars::before { top: 1px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .js .menu-toggle { display: inline-flex; }
  .js .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .js .global-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .js .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .global-nav li { border-bottom: 1px solid var(--line); }
  .js .global-nav a { display: block; padding: 16px 4px; font-size: 1rem; }
  .js .global-nav a::after { display: none; }
  .js .global-nav .nav-cta { margin-top: 18px; text-align: center; padding: 14px; }
  .js .global-nav li:last-child { border-bottom: 0; }
  /* JavaScript無効時はナビを折り返して表示 */
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .global-nav ul { flex-wrap: wrap; gap: 6px 18px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 22px; font-size: var(--step--1); color: var(--ink-soft); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "／"; margin: 0 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px;
  border-radius: 999px; border: 1px solid var(--teal-700);
  font: inherit; font-size: 0.9375rem; letter-spacing: 0.08em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--primary { background: var(--teal-700); color: var(--white); }
.btn--primary:hover { background: #1B565B; border-color: #1B565B; }
.btn--ghost { background: var(--white); color: var(--teal-700); }
.btn--ghost:hover { background: var(--aqua-50); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--white); color: var(--ink-soft);
  border-color: var(--line-strong); border-style: dashed; cursor: not-allowed;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Chips / notes ---------- */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.4;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--teal-700); background: var(--white);
  white-space: nowrap;
}
.status--now { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }
.status--sample { border-style: dashed; color: var(--ink-soft); }

.note {
  border-left: 3px solid var(--aqua-300);
  background: var(--aqua-50);
  padding: 16px 20px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.9375rem;
}
.note strong { color: var(--teal-700); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 40em; }
.section-head__kicker {
  display: block; font-family: var(--font-mincho);
  color: var(--teal-700); font-size: 0.9375rem; letter-spacing: 0.2em;
  margin-bottom: 10px;
}
.section-head p { color: var(--ink-soft); }

.wave-divider { display: block; width: 100%; height: 40px; color: var(--aqua-300); }
.wave-divider path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  padding-block: 56px 96px;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero__light {
  position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none;
  opacity: .55;
}
.hero__light path { fill: none; stroke: var(--aqua-300); stroke-width: 1; }
.hero__light .ripple-a { animation: ripple 9s ease-in-out infinite alternate; }
.hero__light .ripple-b { animation: ripple 12s ease-in-out infinite alternate-reverse; opacity: .6; }
@keyframes ripple {
  from { transform: translateX(-30px) scaleY(1); }
  to { transform: translateX(30px) scaleY(1.3); }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero__copy {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  letter-spacing: 0.22em;
  line-height: 1.75;
  margin: 0;
  color: var(--ink);
}
.hero__copy span { display: block; white-space: nowrap; }
.hero__copy span + span { margin-top: 2.2em; }
.hero__body { align-self: end; padding-bottom: 12px; }
.hero__lead { font-size: var(--step-1); line-height: 2.1; color: var(--ink); max-width: 24em; }
.hero__meta { font-size: 0.875rem; color: var(--ink-soft); margin-top: 22px; }
.hero__figure {
  margin: 0; align-self: start; position: relative;
  transform: translateY(-24px);
}
.hero__figure img {
  border-radius: 200px 200px var(--radius-l) var(--radius-l);
  border: 1px solid var(--line);
  background: var(--white);
}
.hero__figure figcaption {
  font-size: 0.75rem; color: var(--ink-soft); margin-top: 10px; text-align: right;
}
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: auto minmax(0, 1fr); }
  .hero__figure { grid-column: 1 / -1; max-width: 520px; justify-self: end; transform: none; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding-block: 40px 72px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy {
    writing-mode: horizontal-tb;
    font-size: clamp(1.75rem, 7.4vw, 2.25rem);
    letter-spacing: 0.1em; line-height: 1.6;
  }
  .hero__copy span + span { margin-top: 0; }
  .hero__figure { justify-self: stretch; }
}

/* ---------- Two column feature ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media { margin: 0; }
.split__media img {
  border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 160px;
  border: 1px solid var(--line);
}
.split--reverse .split__media img { border-radius: var(--radius-l) 160px var(--radius-l) var(--radius-l); }
.split__media figcaption { font-size: 0.75rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Flow (sequence) ---------- */
.flow { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: flow; display: grid; gap: 0; }
.flow li {
  counter-increment: flow;
  display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow li::before {
  content: counter(flow);
  font-family: var(--font-mincho); font-size: 1.5rem; color: var(--teal-700);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--aqua-300);
  display: grid; place-items: center; line-height: 1;
}
.flow h3 { font-size: var(--step-1); margin-bottom: 4px; }
.flow p { color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Product spotlight (bubble reveal) ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.spotlight__stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.spotlight__bubble {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0 18%, var(--aqua-50) 60%, #DDF2F3 100%);
  border: 1px solid var(--line-strong);
}
.spotlight__bubble::after {
  content: ""; position: absolute; left: 18%; top: 14%; width: 22%; height: 10%;
  border-radius: 50%; border-top: 2px solid rgba(255,255,255,.95);
  transform: rotate(-28deg);
}
.spotlight__card {
  position: absolute; inset: 12%;
  background: var(--white);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(36, 109, 115, 0.45);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.spotlight__card img { border-radius: var(--radius-m); flex: 1; object-fit: contain; min-height: 0; width: 100%; }
.spotlight__card .status { align-self: flex-start; }
.spotlight__tiny {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--aqua-300); background: rgba(255,255,255,.7);
}
.spotlight__tiny--1 { width: 14%; height: 14%; right: -2%; top: 8%; }
.spotlight__tiny--2 { width: 7%; height: 7%; right: 12%; top: -4%; }
.spotlight__tiny--3 { width: 9%; height: 9%; left: -3%; bottom: 14%; }

.js .spotlight[data-reveal] .spotlight__card {
  clip-path: circle(var(--reveal-r, 8%) at 50% 50%);
  transform: translateY(calc((1 - var(--reveal-p, 0)) * 24px)) scale(calc(0.92 + var(--reveal-p, 0) * 0.08));
}
.js .spotlight[data-reveal] .spotlight__copy { opacity: calc(0.25 + var(--reveal-p, 0) * 0.75); }

.spec-list { margin: 24px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 0; font-size: 0.9375rem; }
.spec-list dt, .spec-list dd { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.spec-list dt { color: var(--ink-soft); padding-right: 24px; }
.spec-list .pending { color: var(--ink-soft); }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; } }

/* ---------- Now / Next ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px;
  background: linear-gradient(90deg, var(--teal-700) 0 33%, var(--aqua-300) 33% 100%);
}
.timeline li { padding: 0 28px 0 0; position: relative; }
.timeline__dot {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--aqua-300); background: var(--white);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-mincho); color: var(--teal-700);
}
.timeline li:first-child .timeline__dot { background: var(--teal-700); color: var(--white); border-color: var(--teal-700); }
.timeline h3 { font-size: var(--step-1); margin: 18px 0 6px; }
.timeline p { font-size: 0.9375rem; color: var(--ink-soft); }
.timeline .status { margin-top: 12px; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--teal-700) 0 30%, var(--aqua-300) 30% 100%); }
  .timeline li { padding: 0 0 0 64px; }
  .timeline__dot { position: absolute; left: 0; top: 0; }
  .timeline h3 { margin-top: 6px; }
}

/* ---------- Category morph ---------- */
.morph { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.morph__stage {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0 25%, var(--aqua-50) 75%);
  border: 1px solid var(--line-strong);
}
.morph__stage svg.morph__shape {
  position: absolute; inset: 18%; width: 64%; height: 64%;
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.morph__stage svg.morph__shape.is-active { opacity: 1; transform: none; }
.no-js .morph__stage svg.morph__shape:first-of-type { opacity: 1; transform: none; }
.morph__caption {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  text-align: center; white-space: nowrap;
}
.morph__caption strong { display: block; font-family: var(--font-mincho); font-size: 1.0625rem; font-weight: 600; }
.morph__list { list-style: none; margin: 0; padding: 0; }
.morph__list li { border-top: 1px solid var(--line); }
.morph__list li:last-child { border-bottom: 1px solid var(--line); }
.morph__list button, .morph__list .morph__item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; font: inherit; color: var(--ink); text-align: left;
  padding: 18px 4px; cursor: pointer;
}
.morph__list .morph__name { font-family: var(--font-mincho); font-size: var(--step-1); font-weight: 600; }
.morph__list .morph__desc { display: block; font-family: var(--font-gothic); font-weight: 400; font-size: 0.875rem; color: var(--ink-soft); margin-top: 2px; }
.morph__list button[aria-pressed="true"] .morph__name { color: var(--teal-700); }
.morph__list button[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--teal-700); padding-left: 16px; }
.morph__list button { transition: padding .3s ease; }
.morph__controls { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.morph__controls button {
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 14px; font: inherit; color: var(--teal-700); cursor: pointer;
}
@media (max-width: 860px) { .morph { grid-template-columns: 1fr; } .morph__stage { max-width: 340px; } }

/* ---------- Cards (category grid etc.) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.cat-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; background: var(--white); }
.cat-card img { width: 72px; height: 72px; margin-bottom: 12px; }
.cat-card h3 { font-size: var(--step-1); margin-bottom: 6px; }
.cat-card p { font-size: 0.875rem; color: var(--ink-soft); }
.cat-card .status { margin-bottom: 12px; }

/* ---------- Representative ---------- */
.stance {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}
.stance__title { position: relative; }
.stance__title h2 { margin-bottom: 18px; }
.stance__name { font-family: var(--font-mincho); font-size: var(--step-1); }
.stance__name small { display: block; font-family: var(--font-gothic); font-size: 0.8125rem; color: var(--ink-soft); }
.stance__body p { font-size: 1.0625rem; line-height: 2.1; }
@media (max-width: 860px) { .stance { grid-template-columns: 1fr; } }

/* ---------- Info panel / CTA ---------- */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  position: relative; overflow: hidden;
}
.panel--aqua { background: var(--aqua-50); border-color: transparent; }
.cta {
  text-align: center;
  padding-block: clamp(64px, 9vw, 112px);
  position: relative;
}
.cta h2 { margin-bottom: 14px; }
.cta > .wave-divider { margin: calc(-1 * clamp(64px, 9vw, 112px)) 0 clamp(48px, 7vw, 80px); }
.spotlight h2 { font-size: var(--step-3); }
.cta p { color: var(--ink-soft); margin-bottom: 30px; }
.cta .btn-row { justify-content: center; }
.cta__contact { margin-top: 28px; font-size: 0.9375rem; color: var(--ink-soft); }
.cta__contact a { color: var(--ink); }

/* ---------- Page head ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); position: relative; }
.page-head h1 { font-size: var(--step-4); margin-bottom: 14px; }
.page-head p { color: var(--ink-soft); max-width: 40em; }

/* ---------- Tables (company info) ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 18px 0; border-top: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 1px solid var(--line); }
.info-table th { width: 30%; min-width: 9em; font-weight: 500; color: var(--ink-soft); padding-right: 24px; }
.info-table .pending { color: var(--ink-soft); }
@media (max-width: 600px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 0; border-top: 1px solid var(--line); }
  .info-table td { border-top: 0; padding-top: 4px; }
  .info-table tr:last-child th { border-bottom: 0; }
}

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 42em; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 24px; max-width: 680px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 500; font-size: 0.9375rem; }
.req, .opt {
  font-size: 0.6875rem; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; font-weight: 400;
}
.req { background: var(--teal-700); color: var(--white); }
.opt { border: 1px solid var(--line-strong); color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="search"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 13px 16px; border-radius: var(--radius-s);
  border: 1px solid var(--line-strong); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(139, 205, 211, .45);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #B2453A; }
.field__hint { font-size: 0.8125rem; color: var(--ink-soft); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 0.9375rem; cursor: pointer;
}
.choice input:checked + span { background: var(--teal-700); color: var(--white); border-color: var(--teal-700); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; }
.check input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--teal-700); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 0.875rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer address { font-style: normal; color: var(--ink-soft); line-height: 2; margin-top: 18px; }
.site-footer address a { color: var(--ink-soft); }
.site-footer h2 { font-family: var(--font-gothic); font-size: 0.8125rem; letter-spacing: .12em; color: var(--ink-soft); font-weight: 500; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { color: var(--ink); text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Thank you / 404 ---------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.center-page__icon { width: 96px; margin: 0 auto 24px; }

/* =========================================================
   ECサンプル（shop-demo.html）
   ========================================================= */
.demo-banner {
  position: sticky; top: var(--header-h); z-index: 90;
  background: var(--teal-700); color: var(--white);
  font-size: 0.875rem; line-height: 1.6;
}
.demo-banner .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.demo-banner svg { width: 20px; height: 20px; flex: none; }
.demo-banner strong { font-weight: 700; }

.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cart-button {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--teal-700); color: var(--teal-700);
  border-radius: 999px; padding: 10px 20px; font: inherit; font-size: .9375rem; cursor: pointer;
}
.cart-button svg { width: 22px; height: 22px; }
.cart-button__count {
  min-width: 24px; height: 24px; border-radius: 999px; padding: 0 7px;
  background: var(--teal-700); color: var(--white);
  font-size: .75rem; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
}
.cart-button.is-bump { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.cart-button--float {
  position: fixed; right: 18px; bottom: 18px; z-index: 95;
  box-shadow: 0 12px 30px -12px rgba(36,109,115,.5);
  display: none;
}
@media (max-width: 760px) { .cart-button--float { display: inline-flex; } }

.toolbar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: end;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 28px;
}
.toolbar .field { gap: 6px; }
.toolbar .field label { font-size: .8125rem; color: var(--ink-soft); font-weight: 400; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); pointer-events: none; }
.search-box input { padding-left: 42px !important; }
.filter-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button {
  font: inherit; font-size: .875rem; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.filter-chips button[aria-pressed="true"] { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }
@media (max-width: 640px) { .toolbar { grid-template-columns: 1fr; } }

.result-meta { margin: 20px 0; font-size: .875rem; color: var(--ink-soft); }

.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { border-color: var(--aqua-300); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(36,109,115,.5); }
.product-card__media { position: relative; background: var(--aqua-50); aspect-ratio: 4 / 3; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-size: .75rem; color: var(--ink-soft); }
.product-card__name { font-family: var(--font-mincho); font-size: 1.0625rem; font-weight: 600; line-height: 1.6; margin: 0; }
.product-card__name button {
  all: unset; cursor: pointer; text-align: left;
}
.product-card__name button::after { content: ""; position: absolute; inset: 0; }
.product-card__name button:focus-visible { outline: none; }
.product-card:has(.product-card__name button:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.price { font-variant-numeric: tabular-nums; font-size: 1.125rem; font-weight: 500; }
.price small { font-size: .6875rem; color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.product-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__foot .btn { position: relative; z-index: 2; min-height: 42px; padding: 8px 18px; font-size: .875rem; }
.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-m); }

/* Modal */
.modal {
  border: 0; padding: 0; border-radius: var(--radius-l);
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  color: var(--ink); background: var(--white);
}
.modal::backdrop { background: rgba(36, 52, 58, .45); }
.modal[open] { animation: modal-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.modal__gallery { background: var(--aqua-50); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.modal__main { aspect-ratio: 1; border-radius: var(--radius-m); background: var(--white); overflow: hidden; }
.modal__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.modal__thumbs { display: flex; gap: 10px; }
.modal__thumbs button {
  width: 72px; height: 72px; padding: 0; border-radius: var(--radius-s); overflow: hidden;
  border: 2px solid transparent; background: var(--white); cursor: pointer;
}
.modal__thumbs button[aria-pressed="true"] { border-color: var(--teal-700); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.modal__content { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.modal__content h2 { font-size: var(--step-2); margin: 0; }
.modal__close {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--ink);
}
.modal__close svg { width: 18px; height: 18px; }
.modal .spec-list { margin-top: 4px; }
@media (max-width: 760px) { .modal__inner { grid-template-columns: 1fr; } .modal__content { padding: 24px 20px; } }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: var(--white); font-size: 1.125rem; color: var(--teal-700); cursor: pointer; }
.qty button:disabled { color: var(--line-strong); cursor: not-allowed; }
.qty output, .qty input {
  min-width: 40px; text-align: center; font-variant-numeric: tabular-nums;
  border: 0; font: inherit; width: 44px; color: var(--ink); background: transparent;
}
.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Drawer */
.drawer {
  border: 0; padding: 0; margin: 0 0 0 auto; height: 100vh; max-height: 100vh;
  width: min(460px, 100vw); background: var(--white); color: var(--ink);
}
.drawer::backdrop { background: rgba(36, 52, 58, .4); }
.drawer[open] { animation: drawer-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: var(--step-2); margin: 0; }
.drawer__head .modal__close { position: static; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 24px 24px; display: grid; gap: 12px; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; border-radius: var(--radius-s); background: var(--aqua-50); object-fit: contain; }
.cart-item__name { font-size: .9375rem; font-weight: 500; line-height: 1.5; margin: 0 0 4px; }
.cart-item__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cart-item .qty button { width: 34px; height: 34px; }
.cart-item .qty output { min-width: 32px; width: 36px; }
.link-button { background: none; border: 0; padding: 4px; font: inherit; font-size: .8125rem; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.cart-item.is-new { animation: slide-in .45s ease; }
@keyframes slide-in { from { background: var(--aqua-50); transform: translateX(10px); } to { background: transparent; transform: none; } }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; }
.subtotal strong { font-size: 1.375rem; font-variant-numeric: tabular-nums; transition: color .3s ease; }
.subtotal strong.is-updated { color: var(--teal-700); }
.subtotal-note { font-size: .75rem; color: var(--ink-soft); line-height: 1.6; }

.checkout-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; font-size: .75rem; color: var(--ink-soft); }
.checkout-steps li { flex: 1; text-align: center; padding-top: 8px; border-top: 2px solid var(--line); }
.checkout-steps li[aria-current="step"] { border-color: var(--teal-700); color: var(--teal-700); }
.checkout .form { gap: 16px; }
.checkout .field input, .checkout .field select { padding: 10px 12px; }
.pay-box { border: 1px dashed var(--line-strong); border-radius: var(--radius-m); padding: 16px; font-size: .875rem; }
.pay-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 10px 0 0; }
.pay-box dt { color: var(--ink-soft); }
.pay-box dd { margin: 0; }

.fly-dot {
  position: fixed; z-index: 300; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 25%, var(--aqua-300) 70%);
  border: 1px solid var(--teal-700); pointer-events: none;
}

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px;
  font-size: .875rem; opacity: 0; pointer-events: none; z-index: 400;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.prod-req { columns: 2 280px; column-gap: 40px; padding-left: 1.2em; }
.prod-req li { break-inside: avoid; margin-bottom: 8px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .spotlight[data-reveal] .spotlight__card { clip-path: none; transform: none; }
  .js .spotlight[data-reveal] .spotlight__copy { opacity: 1; }
}

@media print {
  .site-header, .site-footer, .hero__canvas, .demo-banner, .cart-button { display: none !important; }
}

/* カード下部の折返し調整 */
.product-card__foot { flex-wrap: wrap; }
.product-card__foot .btn { white-space: nowrap; }

/* =========================================================
   本番EC（注文申込）用
   ========================================================= */
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--teal-700); text-decoration: none;
  transition: background-color .2s ease;
}
.cart-link:hover { background: var(--aqua-50); }
.cart-link svg { width: 22px; height: 22px; }
.cart-link .cart-button__count { position: absolute; right: -4px; top: -4px; min-width: 20px; height: 20px; font-size: .6875rem; padding: 0 5px; }
.cart-link.is-bump { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
.cart-link[aria-current="page"] { background: var(--aqua-50); border-color: var(--teal-700); }
@media (max-width: 900px) { .header-actions { gap: 8px; } }

.order-banner { font-size: .8125rem; line-height: 1.6; border-bottom: 1px solid var(--line); }
.order-banner .wrap { display: flex; align-items: center; gap: 10px; padding-block: 9px; }
.order-banner svg { width: 18px; height: 18px; flex: none; color: var(--teal-700); }
.order-banner p { margin: 0; }
.order-banner a { color: inherit; }
.order-banner--open { background: var(--aqua-50); }
.order-banner--test { background: #FFF7E0; border-bottom-color: #EBD9A3; }
.order-banner--test svg { color: #8A6A10; }

.price--pending { font-size: .9375rem; color: var(--ink-soft); font-weight: 400; }

/* 商品カード（写真） */
.product-card__media--photo { background: var(--white); aspect-ratio: 1 / 1; }
.product-card__media--photo img { object-fit: contain; padding: 6%; }
.product-card__name a { color: inherit; text-decoration: none; }
.product-card__name a::after { content: ""; position: absolute; inset: 0; }
.product-card:has(.product-card__name a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.product-card__name a:focus-visible { outline: none; }
.product-card__scent { font-size: .8125rem; color: var(--ink-soft); }
.product-card__foot .status { position: relative; z-index: 2; }

/* 商品詳細 */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pd__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd__photo {
  margin: 0; border-radius: var(--radius-l); border: 1px solid var(--line);
  background: var(--white); overflow: hidden; position: relative;
}
.pd__photo img { width: 100%; height: auto; padding: 4%; }

.pd__caption { font-size: .75rem; color: var(--ink-soft); margin-top: 10px; }
.pd h1 { font-size: var(--step-4); margin-bottom: 10px; }
.pd__lead { color: var(--ink-soft); }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; margin: 24px 0; display: grid; gap: 14px; }
.buy-box__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy-box__price .price { font-size: 1.625rem; }
.buy-box__note { font-size: .8125rem; color: var(--ink-soft); margin: 0; }
.pd-section { margin-top: 40px; }
.pd-section h2 { font-size: var(--step-2); padding-top: 18px; border-top: 1px solid var(--line); }
.pd-section ul { padding-left: 1.2em; margin: 0; }
.pd-section li { margin-bottom: .5em; font-size: .9375rem; }
.pd-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } .pd__gallery { position: static; } }

/* カートページ */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line__media img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.cart-line__name { margin: 0 0 4px; font-weight: 500; line-height: 1.6; }
.cart-line__name a { color: var(--ink); text-decoration: none; }
.cart-line__name a:hover { text-decoration: underline; }
.cart-line__unit { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.cart-line__row { display: flex; gap: 16px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.cart-line__subtotal { font-variant-numeric: tabular-nums; font-size: 1.0625rem; margin: 0; white-space: nowrap; }
.cart-line__ng { color: #A2402F; font-size: .8125rem; margin: 6px 0 0; }
.cart-line.is-ng img { opacity: .5; }
.cart-summary { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.cart-summary h2 { font-size: var(--step-1); margin: 0; }
.cart-summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.cart-summary .row span:last-child { text-align: right; }
.btn.is-disabled { background: var(--white); color: var(--ink-soft); border-color: var(--line-strong); border-style: dashed; pointer-events: none; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line__media img { width: 72px; height: 72px; }
  .cart-line__subtotal { grid-column: 2; }
}

/* 注文申込 */
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: flex; gap: 10px; font-size: .8125rem; color: var(--ink-soft); max-width: 680px; }
.steps li { flex: 1; padding-top: 10px; border-top: 2px solid var(--line); }
.steps li[aria-current="step"] { border-color: var(--teal-700); color: var(--teal-700); font-weight: 500; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.order-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.order-aside h2 { font-size: var(--step-1); }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } .order-aside { position: static; } }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }
fieldset.form-group { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
fieldset.form-group:disabled { opacity: .55; }
.form-group > legend { font-family: var(--font-mincho); font-weight: 600; font-size: var(--step-2); margin-bottom: 18px; padding: 0; }
.table-scroll { overflow-x: auto; }
.order-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 460px; }
.order-table th, .order-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.order-table thead th { font-weight: 500; color: var(--ink-soft); font-size: .8125rem; border-top: 1px solid var(--line); }
.order-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-table .small { font-size: .75rem; white-space: normal; color: var(--ink-soft); }
.order-table tfoot th { text-align: right; font-weight: 500; }
.order-table__id { display: block; font-size: .75rem; color: var(--ink-soft); }
.confirm-dl { display: grid; grid-template-columns: max-content 1fr; margin: 0; font-size: .9375rem; }
.confirm-dl dt, .confirm-dl dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.confirm-dl dt { color: var(--ink-soft); padding-right: 20px; }
@media (max-width: 560px) { .confirm-dl { grid-template-columns: 1fr; } .confirm-dl dd { border-top: 0; padding-top: 0; } }
.important { border: 1px solid var(--teal-700); border-radius: var(--radius-m); padding: 22px; }
.important h3 { font-size: var(--step-1); margin-bottom: 10px; }
.important ul { margin: 0 0 12px; padding-left: 1.2em; font-size: .9375rem; }
.important .spec-list { margin-top: 8px; font-size: .875rem; }
.blocked { border: 1px dashed var(--line-strong); border-radius: var(--radius-m); padding: 22px; margin-bottom: 28px; }
.ref-box { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-size: 1.25rem; font-weight: 500; color: var(--teal-700); }
.test-note { background: #FFF7E0; border: 1px solid #EBD9A3; border-radius: var(--radius-s); padding: 12px 16px; font-size: .875rem; }

/* ご注文の流れ */
.flow--wide li { grid-template-columns: 56px 1fr; }
.thanks-steps { text-align: left; max-width: 560px; margin: 28px auto 0; }
.global-nav { margin-left: auto; }
[data-cart-total] { transition: color .3s ease; }
[data-cart-total].is-updated { color: var(--teal-700); }
.page-head + .section--tight { padding-top: 8px; }

/* 写真素材 */
.hero__figure img.hero__photo { width: 100%; aspect-ratio: 560 / 760; object-fit: cover; }
.split__media img { width: 100%; object-fit: cover; }

/* 大切にしていること */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.values__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--aqua-50);
  display: grid; place-items: center; color: var(--teal-700);
}
.values__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.values h3 { font-size: var(--step-1); margin-bottom: 4px; }
.values p { font-size: .9375rem; color: var(--ink-soft); }

/* ご注文の流れ（アイコン） */
.step-icons { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.step-icons li { counter-increment: st; position: relative; text-align: center; padding: 0 4px; }
.step-icons li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; right: -14px; width: 10px; height: 10px;
  border-top: 1.5px solid var(--aqua-300); border-right: 1.5px solid var(--aqua-300); transform: rotate(45deg);
}
.step-icons__icon {
  position: relative; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--aqua-300); color: var(--teal-700); display: grid; place-items: center;
}
.step-icons__icon::before {
  content: counter(st); position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-700); color: var(--white); font-size: .75rem; display: grid; place-items: center; font-family: var(--font-gothic);
}
.step-icons__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-icons h3 { font-size: 1rem; margin-bottom: 6px; }
.step-icons p { font-size: .8125rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 860px) {
  .step-icons { grid-template-columns: 1fr; gap: 0; }
  .step-icons li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; text-align: left; padding: 14px 0; border-top: 1px solid var(--line); }
  .step-icons li::after { display: none; }
  .step-icons__icon { grid-row: span 2; margin: 0; }
  .step-icons h3 { margin: 4px 0 2px; }
}

.future-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.future-grid .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.future-grid .split__media img { height: 100%; max-height: 520px; border-radius: var(--radius-l) 160px var(--radius-l) var(--radius-l); }
@media (max-width: 860px) { .future-grid { grid-template-columns: 1fr; } .future-grid .split__media img { max-height: 360px; } }
@media (max-width: 520px) { .future-grid .cat-grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 無料相談 */
.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); }
.consult__head h2 { margin-bottom: 16px; }
.consult__head .btn-row { margin-top: 24px; }
.consult__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.consult__list li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line); position: relative; }
.consult__list li:last-child { border-bottom: 1px solid var(--line); }
.consult__list li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--aqua-300); background: radial-gradient(circle at 35% 30%, #fff 0 30%, var(--aqua-50) 70%); }
.consult__list h3 { font-size: var(--step-1); margin-bottom: 2px; }
.consult__list p { font-size: .875rem; color: var(--ink-soft); }
@media (max-width: 860px) { .consult { grid-template-columns: 1fr; } }

/* 入浴剤ガイド */
.guide-hero { margin: 0; }
.guide-hero img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 160px; }
.guide-hero figcaption { font-size: .75rem; color: var(--ink-soft); margin-top: 10px; }
.guide-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.guide-type { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; }
.guide-type h3 { font-size: var(--step-1); margin-bottom: 8px; }
.guide-type p { font-size: .9375rem; }
.guide-type__ours { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-strong); color: var(--teal-700); font-size: .875rem !important; }
.guide-choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.guide-choose h3 { font-size: var(--step-1); padding-top: 14px; border-top: 2px solid var(--aqua-300); }
.guide-choose p, .guide-choose li { font-size: .9375rem; }
.guide-choose ul { padding-left: 1.1em; margin: 0; }
.guide-choose li { margin-bottom: 8px; }
.guide-table td, .guide-table th { white-space: normal; }
@media (max-width: 860px) { .guide-choose { grid-template-columns: 1fr; } }
