/* ==========================================================================
   components.css — 数寄舎
   DESIGN: 墨絵（Sumi-e）× 和紙（Washi）× 苔（Moss）
   全コンポーネントスタイル
   ========================================================================== */

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 110px var(--section-pad-x) 120px;
  overflow: hidden;
  background: var(--paper);
}

/* 動画背景 */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease;
  /* GPU合成レイヤーに昇格させてカクつきを防ぐ */
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero__video.is-loaded {
  opacity: 0.38;
}

/* 動画オーバーレイ — 左側テキストを読みやすく、右側は映像を生かす */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(243,241,235,0.92) 0%, rgba(243,241,235,0.65) 42%, rgba(243,241,235,0.08) 100%),
    linear-gradient(to bottom, rgba(243,241,235,0.55) 0%, rgba(243,241,235,0.05) 45%, rgba(243,241,235,0.50) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(74,93,58,0.06), transparent 50%),
    radial-gradient(ellipse at 5%  92%, rgba(13,13,13,0.05), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__copy { position: relative; }
.hero__poem {
  font-family: var(--yuji);
  writing-mode: vertical-rl;
  position: absolute;
  top: 0; right: 0;
  font-size: var(--fs-caption);
  letter-spacing: 0.4em;
  color: var(--mist);
  line-height: 2.2;
  font-weight: 500;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}
.hero__pre {
  font-family: var(--garamond);
  font-size: var(--fs-small);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__pre::before {
  content: ""; width: 36px; height: 1px; background: var(--ink);
}
.hero__title {
  font-family: var(--yuji);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0.06em;
  margin: 0 0 32px;
  color: var(--ink-deep);
}
.hero__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}
.hero__lead {
  font-family: var(--shippori);
  font-size: var(--fs-body);
  line-height: 2.35;
  color: var(--mist);
  max-width: 460px;
  margin: 0 0 var(--space-lg);
  letter-spacing: 0.07em;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: 38px;
}
.hero__chip {
  font-family: var(--shippori);
  font-size: 13px;
  letter-spacing: 0.20em;
  padding: 6px 14px;
  border: 1px solid rgba(13,13,13,0.32);
  color: var(--ink);
  transition: border-color var(--duration-base) ease, background var(--duration-base) ease;
}
.hero__chip:hover {
  border-color: var(--moss);
  background: rgba(74,93,58,0.05);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__cta-note {
  font-family: var(--shippori);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  opacity: 0.75;
  margin: 0;
}

/* 山水画 / ビジュアルフレーム */
.painting {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  box-shadow:
    0 0 0 1px rgba(13, 13, 13, 0.10),
    0 0 0 16px var(--paper),
    0 1px 0 17px rgba(13, 13, 13, 0.14),
    0 50px 80px rgba(0, 0, 0, 0.10),
    0 20px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.painting__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.88) contrast(1.05);
  transition: transform 0.8s var(--easing);
}
.painting:hover .painting__photo {
  transform: scale(1.03);
}
.painting__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(13,13,13,0.45) 100%),
    linear-gradient(to right, rgba(13,13,13,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.painting__seal {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 62px; height: 62px;
  background: var(--moss);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--yuji);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
  box-shadow: 0 4px 12px rgba(74, 93, 58, 0.4), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.painting__seal small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.88;
  margin-bottom: 2px;
}


/* ══════════════════════════════════════════════
   TRUST
   ══════════════════════════════════════════════ */
.trust {
  background: var(--paper-d);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.trust__item::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 1px;
  background: var(--ink);
  opacity: 0.45;
}
.trust__item:last-child { border-right: none; }
.trust__num {
  font-family: var(--yuji);
  font-size: clamp(38px, 4.2vw, 48px);
  font-weight: 400;
  color: var(--ink-deep);
  line-height: 1;
  letter-spacing: 0.02em;
  display: block;
  text-align: center;
}
.trust__num small {
  font-size: var(--fs-body-s);
  color: var(--mist);
  margin-left: 4px;
  font-family: var(--shippori);
}
.trust__lab {
  font-family: var(--shippori);
  font-size: var(--fs-caption);
  letter-spacing: 0.22em;
  color: var(--ink);
  margin-top: 14px;
  display: block;
  text-align: center;
}


/* ══════════════════════════════════════════════
   PROBLEM
   ══════════════════════════════════════════════ */
.problem {
  scroll-margin-top: var(--scroll-offset);
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
  position: relative;
}
.problem__head {
  max-width: var(--container-lg);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: end;
}
.problem__grid {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.problem__card {
  background: var(--paper-w);
  border: 1px solid var(--line);
  border-top: 3px solid var(--moss);
  padding: 44px 28px 36px;
  position: relative;
  transition: transform var(--duration-base), box-shadow var(--duration-base);
}
.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}
.problem__card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 36px; height: 36px;
  border-top: 1.5px solid var(--ink-deep);
  border-left: 1.5px solid var(--ink-deep);
}
.problem__num {
  font-family: var(--yuji);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--moss);
  margin-bottom: 20px;
}
.problem__icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-md);
  color: var(--moss);
}
.problem__h3 {
  font-family: var(--yuji);
  font-size: var(--fs-h3s);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-deep);
  line-height: 1.6;
  margin-bottom: 14px;
}
.problem__p {
  font-family: var(--shippori);
  font-size: var(--fs-caption);
  line-height: 1.95;
  color: var(--mist);
  letter-spacing: 0.02em;
}
.problem__solve {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--shippori);
  font-size: 13.5px;
  letter-spacing: 0.18em;
  color: var(--moss-d);
  font-weight: 500;
}


/* ══════════════════════════════════════════════
   CATEGORY (DARK SECTION)
   ══════════════════════════════════════════════ */
.cat {
  scroll-margin-top: var(--scroll-offset);
  background: var(--ink-deep);
  color: var(--paper);
  padding: var(--space-3xl) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255, 255, 255, 0.04), transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(74, 93, 58, 0.12), transparent 55%);
  pointer-events: none;
}
.cat__head {
  max-width: var(--container-lg);
  margin: 0 auto 70px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.cat__pre {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-small);
  letter-spacing: 0.5em;
  color: var(--mist-l);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cat__title {
  font-family: var(--yuji);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--paper);
}
.cat__sub {
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  line-height: 2;
  color: var(--mist-l);
  margin-top: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cat__grid {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.cat__item {
  background: var(--ink-deep);
  padding: 50px 24px 44px;
  text-align: center;
  position: relative;
  transition: background var(--duration-slow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}
.cat__item:hover { background: var(--ink-hover); }
.cat__item:hover .cat__char { color: var(--paper-moss); }
.cat__char {
  font-family: var(--yuji);
  font-size: 68px;
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
  position: relative;
  transition: color var(--duration-slow);
}
.cat__char::after {
  content: "";
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 1px;
  background: var(--moss);
  opacity: 0.7;
}
.cat__name {
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  letter-spacing: 0.18em;
  color: var(--paper);
  margin-top: var(--space-xs);
}
.cat__en {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-label);
  letter-spacing: 0.3em;
  color: var(--mist-l);
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════
   PRICE
   ══════════════════════════════════════════════ */
.price {
  scroll-margin-top: var(--scroll-offset);
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
}
.price__head {
  max-width: var(--container-inner);
  margin: 0 auto var(--space-xl);
  text-align: center;
}
.price__head .section-sub { margin-left: auto; margin-right: auto; }
.price__table-wrap {
  max-width: var(--container-inner);
  margin: 0 auto;
  background: var(--paper-w);
  border: 1px solid var(--line);
  position: relative;
}
.price__table-wrap::before, .price__table-wrap::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--ink-deep);
}
.price__table-wrap::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.price__table-wrap::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.price__row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr 1fr;
  gap: 32px;
  padding: 24px 36px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background var(--duration-fast);
}
.price__row:last-child { border-bottom: none; }
.price__row:hover { background: rgba(13, 13, 13, 0.018); }
.price__row--head {
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--shippori);
  font-size: var(--fs-small);
  letter-spacing: 0.25em;
}
.price__row--head:hover { background: var(--ink-deep); }
.price__cat {
  font-family: var(--yuji);
  font-size: var(--fs-h3);
  letter-spacing: 0.08em;
  color: var(--ink-deep);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price__cat small {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-label);
  letter-spacing: 0.25em;
  color: var(--mist);
}
.price__example {
  font-family: var(--shippori);
  font-size: var(--fs-ui);
  color: var(--mist);
  line-height: 1.8;
}
.price__amount {
  font-family: var(--garamond);
  font-size: var(--fs-h2);
  color: var(--ink-deep);
  letter-spacing: 0.02em;
  font-weight: 400;
  text-align: right;
}
.price__amount small {
  font-family: var(--shippori);
  font-size: var(--fs-small);
  color: var(--mist);
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.price__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--yuji);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  width: 56px; height: 56px;
  background: var(--moss);
  color: var(--paper);
  border-radius: 50%;
  transform: rotate(-6deg);
  line-height: 1.15;
  margin-left: auto;
}
.price__badge--empty { visibility: hidden; }
.price__note {
  margin-top: var(--space-md);
  text-align: center;
  font-family: var(--shippori);
  font-size: var(--fs-caption);
  color: var(--mist);
  letter-spacing: 0.05em;
}


/* ══════════════════════════════════════════════
   FLOW
   ══════════════════════════════════════════════ */
.flow {
  scroll-margin-top: var(--scroll-offset);
  background: var(--paper-d);
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
  position: relative;
  overflow: hidden;
}
.flow__head {
  max-width: var(--container-lg);
  margin: 0 auto 70px;
  text-align: center;
}
.flow__steps {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow__steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--ink) 0, var(--ink) 4px,
    transparent 4px, transparent 10px
  );
  opacity: 0.4;
  z-index: 0;
}
.flow__step {
  text-align: center;
  padding: 26px 14px 0;
  position: relative;
  z-index: 1;
}
.flow__circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink-deep);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-md);
  font-family: var(--yuji);
  font-size: var(--fs-h2);
  color: var(--ink-deep);
  position: relative;
  overflow: visible;
}
.flow__step:last-child .flow__circle {
  background: var(--paper);
  color: var(--moss-d);
  border-color: var(--moss);
  border-width: 2px;
}
.flow__step:last-child .flow__circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--moss);
  border-radius: 50%;
  opacity: 0.45;
}
.flow__circle::before {
  content: attr(data-num);
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--paper-d);
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-label);
  letter-spacing: 0.3em;
  color: var(--mist);
  padding: 0 var(--space-xs);
}
.flow__h {
  font-family: var(--yuji);
  font-size: var(--fs-h4);
  letter-spacing: 0.1em;
  color: var(--ink-deep);
  margin-bottom: 12px;
  font-weight: 500;
}
.flow__p {
  font-family: var(--shippori);
  font-size: var(--fs-caption);
  line-height: 1.95;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.flow__cta {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}
.flow__cta-note {
  width: 100%;
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--mist);
  margin-top: var(--space-xs);
  letter-spacing: 0.02em;
}


/* ══════════════════════════════════════════════
   REASONS
   ══════════════════════════════════════════════ */
.reasons {
  scroll-margin-top: var(--scroll-offset);
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
}
.reasons__head {
  max-width: var(--container-lg);
  margin: 0 auto 70px;
  text-align: center;
}
.reasons__grid {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reasons__item {
  background: var(--paper-w);
  padding: 44px 32px 38px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--duration-base), box-shadow var(--duration-base);
}
.reasons__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}
.reasons__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 2px;
  background: var(--ink-deep);
}
.reasons__num {
  font-family: var(--yuji);
  font-size: 36px;
  color: var(--ink-deep);
  margin-bottom: 4px;
  line-height: 1;
}
.reasons__num small {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-caption);
  letter-spacing: 0.3em;
  color: var(--mist);
  margin-left: 10px;
}
.reasons__h {
  font-family: var(--yuji);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--ink-deep);
  margin: 18px 0 16px;
  line-height: 1.55;
  font-weight: 500;
}
.reasons__p {
  font-family: var(--shippori);
  font-size: var(--fs-ui);
  line-height: 2;
  color: var(--mist);
  letter-spacing: 0.02em;
}


/* ══════════════════════════════════════════════
   VOICE (TESTIMONIALS)
   ══════════════════════════════════════════════ */
.voice {
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
  background: var(--paper-2);
  position: relative;
}
.voice::before {
  content: "聲";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(180px, 24vw, 320px);
  color: var(--ink-deep);
  opacity: 0.04;
  top: 60px; right: 5%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}
.voice__head {
  max-width: var(--container-lg);
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.voice__grid {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.voice__card {
  background: var(--paper-w);
  padding: 44px 32px 36px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--moss);
  position: relative;
}
.voice__quote {
  font-family: var(--garamond);
  font-style: italic;
  font-size: 64px;
  color: var(--moss);
  line-height: 1;
  position: absolute;
  top: 16px; left: 24px;
  opacity: 0.18;
}
.voice__text {
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  line-height: 2.05;
  color: var(--ink-mid);
  margin-top: 28px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.voice__meta {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.voice__person {
  font-family: var(--shippori);
  font-size: var(--fs-caption);
  color: var(--ink);
  letter-spacing: 0.08em;
}
.voice__person small {
  display: block;
  color: var(--mist);
  font-size: var(--fs-label);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.voice__item-tag {
  font-family: var(--yuji);
  font-size: var(--fs-label);
  padding: 4px 10px;
  background: var(--paper-d);
  color: var(--ink);
  letter-spacing: 0.1em;
}


/* ══════════════════════════════════════════════
   COMPARE
   ══════════════════════════════════════════════ */
.compare {
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
}
.compare__head {
  max-width: var(--container-inner);
  margin: 0 auto var(--space-xl);
  text-align: center;
}
.compare__head .section-sub { margin-left: auto; margin-right: auto; }
.compare__table {
  max-width: var(--container-inner);
  margin: 0 auto;
  background: var(--paper-w);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.compare__table::before, .compare__table::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--ink-deep);
}
.compare__table::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.compare__table::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare__row:last-child { border-bottom: none; }
.compare__cell {
  padding: 22px 24px;
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  color: var(--ink);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}
.compare__cell:last-child { border-right: none; }
.compare__cell--label {
  background: var(--paper-d);
  font-family: var(--yuji);
  font-size: var(--fs-body-s);
  color: var(--ink-deep);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.compare__cell--ours { background: rgba(74, 93, 58, 0.04); position: relative; }
.compare__cell--ours::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 2px; background: var(--moss);
}
.compare__row--head .compare__cell {
  font-family: var(--yuji);
  font-size: var(--fs-body-s);
  letter-spacing: 0.15em;
  background: var(--ink-deep);
  color: var(--paper);
  padding: 22px 24px;
  text-align: center;
  display: block;
  position: relative;
}
.compare__row--head .compare__cell--ours { background: var(--moss-d); }
.compare__row--head .compare__cell--ours::before { display: none; }
.compare__row--head .compare__cell--label { background: var(--ink-deep); }
.compare__row--head small {
  display: block;
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  margin-top: 4px;
  opacity: 0.7;
  text-transform: uppercase;
  font-weight: 300;
}
.compare__mark {
  font-family: var(--garamond);
  font-size: var(--fs-h2);
  font-weight: 400;
  margin-right: 10px;
  width: 24px;
  text-align: center;
}
.compare__mark--good { color: var(--moss-d); }
.compare__mark--mid { color: var(--mist); }
.compare__mark--bad { color: var(--mist-l); font-style: italic; }


/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
/* FAQ item styles → common.css */
.faq {
  scroll-margin-top: var(--scroll-offset);
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
  background: var(--paper-d);
}
.faq__head {
  max-width: var(--container-md);
  margin: 0 auto var(--space-xl);
  text-align: center;
}
.faq__head .section-sub { margin-left: auto; margin-right: auto; }
.faq__list {
  max-width: var(--container-md);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}


/* ══════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════ */
.ctaband {
  scroll-margin-top: var(--scroll-offset);
  background: var(--ink-deep);
  color: var(--paper);
  padding: var(--space-2xl-alt) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}
.ctaband::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(74, 93, 58, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 50%, rgba(255, 255, 255, 0.04), transparent 50%);
  pointer-events: none;
}
.ctaband__seal {
  position: absolute;
  top: 50%; right: 60px;
  transform: translateY(-50%) rotate(-8deg);
  width: 130px; height: 130px;
  background: var(--moss);
  display: grid;
  place-items: center;
  font-family: var(--yuji);
  color: var(--paper);
  text-align: center;
  font-size: var(--fs-h4);
  line-height: 1.4;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 30px rgba(74, 93, 58, 0.4);
  z-index: 1;
}
.ctaband__seal small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.4em;
  margin-bottom: 4px;
  font-family: var(--garamond);
  text-transform: uppercase;
  opacity: 0.8;
}
.ctaband__inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.ctaband__pre {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-small);
  letter-spacing: 0.5em;
  color: var(--paper-60);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.ctaband__title {
  font-family: var(--yuji);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--paper);
}
.ctaband__sub {
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  line-height: 2;
  color: var(--paper-70);
  margin-top: 20px;
  letter-spacing: 0.03em;
}
.ctaband__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ctaband__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  letter-spacing: 0.18em;
  font-weight: 500;
  border: 1.5px solid var(--paper);
  transition: background var(--duration-fast), color var(--duration-fast);
}
.ctaband__btn:hover { background: transparent; color: var(--paper); }
.ctaband__btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper-30);
}
.ctaband__btn--ghost:hover { border-color: var(--paper); background: var(--paper-06); }
.ctaband__btn--line {
  border-color: var(--line-green);
  color: var(--line-green);
}
.ctaband__btn--line:hover { background: rgba(6, 199, 85, 0.08); }
.ctaband__btn-arrow {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-h3);
}
.ctaband__tel {
  margin-top: var(--space-xs);
  text-align: center;
  font-family: var(--garamond);
  font-size: 31px;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.ctaband__tel small {
  display: block;
  font-family: var(--shippori);
  font-size: var(--fs-label);
  letter-spacing: 0.25em;
  color: var(--paper-60);
  margin-top: 2px;
}


/* ══════════════════════════════════════════════
   COMPANY / STORE
   ══════════════════════════════════════════════ */
.company {
  padding: var(--space-3xl) var(--section-pad-x) var(--space-2xl-p);
}
.company__inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.company__head { margin-bottom: 38px; }
.company__store-en {
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-caption);
  letter-spacing: 0.3em;
  color: var(--mist);
  text-transform: uppercase;
}
.company__desc {
  font-family: var(--shippori);
  font-size: var(--fs-body-s);
  line-height: 2.1;
  color: var(--mist);
  letter-spacing: 0.04em;
}
.info-table {
  width: 100%;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.info-table dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-md);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--shippori);
  font-size: var(--fs-ui);
  line-height: 1.7;
}
.info-table dt {
  color: var(--mist);
  letter-spacing: 0.18em;
  font-size: var(--fs-small);
}
.info-table dd { color: var(--ink); letter-spacing: 0.02em; }

.company__map {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.company__map svg { width: 100%; height: 100%; }
.company__map-pin {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  background: var(--moss);
  border-radius: 50% 50% 50% 0;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 8px 18px rgba(74, 93, 58, 0.35);
}
.company__map-pin::before {
  content: "茶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--yuji);
  font-size: var(--fs-body-s);
  transform: rotate(45deg);
}
.company__map-label {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--paper);
  padding: 14px 20px;
  font-family: var(--shippori);
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  color: var(--ink-deep);
  border: 1px solid var(--ink-deep);
}
.company__map-label small {
  display: block;
  font-family: var(--garamond);
  font-style: italic;
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  color: var(--mist);
  margin-bottom: 4px;
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .problem__head { grid-template-columns: 1fr; gap: var(--space-sm); }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
  .reasons__grid { grid-template-columns: repeat(2, 1fr); }
  .voice__grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .painting { aspect-ratio: 3 / 2; max-width: 500px; margin: 0 auto; }
  .hero__poem { display: none; }
  .painting { aspect-ratio: 16 / 7; }
  .ctaband__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .ctaband__seal { right: 30px; width: 100px; height: 100px; font-size: var(--fs-caption); }
  .company__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 760px) {
  .hero { padding: 64px var(--section-pad-x-mobile) 80px; }
  .hero__video.is-loaded { opacity: 0.25; }
  .hero__title { font-size: clamp(30px, 8vw, 40px); letter-spacing: 0.04em; }
  .hero__lead { font-size: var(--fs-body-s); line-height: 1.9; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .painting { aspect-ratio: 4 / 3; border-radius: 2px; }
  .painting__photo { object-position: center 35%; }

  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item { padding: 30px 12px; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .trust__item:nth-child(2) { border-right: none; }
  .trust__num { font-size: clamp(28px, 7.5vw, 38px); }

  .problem, .price, .flow, .reasons, .voice, .compare, .faq, .company { padding: 70px var(--section-pad-x-mobile); }
  .cat { padding: 70px var(--section-pad-x-mobile); }

  .problem__grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
  .cat__char { font-size: 54px; }

  .price__row {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
    padding: 20px 22px;
  }
  .price__row--head { display: none; }
  .price__amount { text-align: left; font-size: var(--fs-h3); }
  .price__badge { width: 44px; height: 44px; font-size: 11.5px; align-self: flex-start; margin-left: 0; }

  .flow__steps { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .flow__cta { gap: var(--space-xs); }
  .flow__cta .btn { width: 100%; justify-content: center; }
  .flow__steps::before { display: none; }
  .flow__circle { width: 60px; height: 60px; font-size: var(--fs-h3); }

  .reasons__grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .voice__grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .voice::before { display: none; }

  .compare__row {
    grid-template-columns: 1fr;
    border-bottom: 4px solid var(--line);
  }
  .compare__cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
  }
  .compare__cell:last-child { border-bottom: none; }
  .compare__row--head { display: none; }
  .compare__cell--label { font-size: var(--fs-caption); }
  .compare__cell::before {
    position: static;
    content: attr(data-label);
    font-family: var(--garamond);
    font-style: italic;
    font-size: var(--fs-xs);
    letter-spacing: 0.3em;
    color: var(--mist);
    text-transform: uppercase;
    width: 90px;
    flex-shrink: 0;
    background: none;
  }
  .compare__cell--label::before { display: none; }
  .compare__cell--ours {
    border-left: 2px solid var(--moss);
  }
  .compare__cell--ours::before {
    position: static;
    content: "数寄舎";
    font-family: var(--yuji);
    font-style: normal;
    color: var(--moss-d);
    letter-spacing: 0.1em;
    font-size: var(--fs-label);
    width: 90px;
    flex-shrink: 0;
    background: none;
    text-transform: none;
  }

  /* FAQ item responsive → common.css */

  .ctaband { padding: var(--space-xl) var(--space-md); }
  .ctaband__title { font-size: 22px; line-height: 1.7; }
  .ctaband__seal { display: none; }

  .info-table dl { grid-template-columns: 100px 1fr; gap: 14px; }
}


/* ══════════════════════════════════════════════
   Phase 60: 書的装飾仕掛け — 漢字ウォーターマーク・縦書きラベル・角印
   各セクションにサイトの品格を示す装飾を統一的に追加
   ══════════════════════════════════════════════ */

/* ── PROBLEM: 「憂」ウォーターマーク ── */
.problem::before {
  content: "憂";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.035;
  top: 40px; left: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── PRICE: 「値」ウォーターマーク ── */
.price { position: relative; }
.price::before {
  content: "値";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.035;
  top: 40px; right: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── FLOW: 「運」ウォーターマーク ── */
.flow::after {
  content: "運";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.04;
  bottom: 20px; left: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── REASONS: 「匠」ウォーターマーク ── */
.reasons { position: relative; }
.reasons::before {
  content: "匠";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.035;
  top: 40px; right: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── COMPARE: 「較」ウォーターマーク ── */
.compare { position: relative; }
.compare::before {
  content: "較";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.035;
  top: 40px; left: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── FAQ: 「問」ウォーターマーク ── */
.faq { position: relative; }
.faq::before {
  content: "問";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.04;
  top: 40px; right: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── CTABAND: 「縁」ウォーターマーク（明るい版） ── */
.ctaband::after {
  content: "縁";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--paper);
  opacity: 0.025;
  bottom: -20px; left: 5%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── COMPANY: 「誠」ウォーターマーク ── */
.company { position: relative; }
.company::before {
  content: "誠";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.035;
  top: 40px; right: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ── RECENT (page-top): 「歴」ウォーターマーク ── */
.recent { position: relative; }
.recent::before {
  content: "歴";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(160px, 22vw, 300px);
  color: var(--ink-deep);
  opacity: 0.035;
  top: 30px; left: 4%;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
}

/* ══════════════════════════════════════════════
   縦書きセクションラベル — .section-side-label
   各セクション左端に縦書きで Section 01 等を表示
   使い方: <span class="section-side-label" data-num="01">Common Concerns</span>
   ══════════════════════════════════════════════ */
.section-side-label {
  display: none; /* デフォルト非表示、PCのみ表示 */
}
@media (min-width: 1101px) {
  .section-side-label {
    display: block;
    position: absolute;
    left: clamp(12px, 2vw, 28px);
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    font-family: var(--garamond);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--ink-deep);
    opacity: 0.18;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    line-height: 1;
  }
  .section-side-label::before {
    content: attr(data-num) " — ";
    font-style: normal;
    letter-spacing: 0.3em;
  }
}

/* ══════════════════════════════════════════════
   見出しブロック角印 — .section-head-frame
   使い方: .section-head-frame クラスを __head 等に追加
   ══════════════════════════════════════════════ */
.section-head-frame {
  position: relative;
}
.section-head-frame::before,
.section-head-frame::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 1.5px solid var(--ink-deep);
  opacity: 0.2;
  pointer-events: none;
}
.section-head-frame::before {
  top: -12px; left: -16px;
  border-right: none; border-bottom: none;
}
.section-head-frame::after {
  bottom: -12px; right: -16px;
  border-left: none; border-top: none;
}

/* ══════════════════════════════════════════════
   ヒーロー スクロール誘導 — .hero__scroll-hint
   使い方: <div class="hero__scroll-hint"></div> を hero 末尾に追加
   ══════════════════════════════════════════════ */
.hero__scroll-hint {
  display: none;
}
@media (min-width: 1101px) {
  .hero__scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 48px;
    left: 20px;
    writing-mode: vertical-rl;
    font-family: var(--garamond);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--mist);
    opacity: 0.65;
    pointer-events: none;
    z-index: 10;
  }
  .hero__scroll-hint::after {
    content: "";
    display: block;
    width: 1px;
    height: 48px;
    background: var(--mist);
    opacity: 0.5;
    animation: scroll-line 2.2s ease-in-out infinite;
    transform-origin: top center;
  }
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0); transform-origin: top center; opacity: 0; }
  30%       { transform: scaleY(1); transform-origin: top center; opacity: 1; }
  70%       { transform: scaleY(1); transform-origin: bottom center; opacity: 1; }
  100%      { transform: scaleY(0); transform-origin: bottom center; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-hint::after { animation: none; opacity: 0.4; }
}

/* ══════════════════════════════════════════════
   TRUST セクション縦線区切り強化
   ══════════════════════════════════════════════ */
.trust__item::after {
  content: attr(data-en);
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--garamond);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--mist);
  opacity: 0.55;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   REASONS アイテム — 右下に番号装飾
   ══════════════════════════════════════════════ */
.reasons__item::after {
  content: attr(data-num-en);
  position: absolute;
  bottom: 16px; right: 20px;
  font-family: var(--garamond);
  font-style: italic;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--ink-deep);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  font-weight: 300;
}

/* ══════════════════════════════════════════════
   レスポンシブ — 漢字ウォーターマーク スマホ非表示
   ══════════════════════════════════════════════ */
@media (max-width: 760px) {
  .problem::before,
  .price::before,
  .flow::after,
  .reasons::before,
  .compare::before,
  .faq::before,
  .ctaband::after,
  .company::before,
  .recent::before { display: none; }
}


/* ══════════════════════════════════════════════
   Phase 60D: 追加品質施策
   ══════════════════════════════════════════════ */

/* ── 価格テーブル「円」ウォーターマーク ── */
.price__table-wrap {
  overflow: hidden; /* 既存に追加 */
}
.price__table-wrap::before {
  /* 既存の角印 L字 上書きせず、下記は新規 ::after をズラして使う */
}
/* price セクション内に大きな「円」を重ねる */
.price__head {
  position: relative;
}
.price__head::after {
  content: "円";
  position: absolute;
  font-family: var(--yuji);
  font-size: clamp(100px, 14vw, 200px);
  color: var(--ink-deep);
  opacity: 0.04;
  top: -10px; right: 0;
  line-height: 0.85;
  pointer-events: none;
  font-weight: 400;
  z-index: 0;
}

/* ── セクション境界 — 薄い横罫線（section-divider） ── */
/* components.css のメインセクションの間に視覚区切りを挿入 */
/* 使い方: <div class="section-divider" aria-hidden="true"></div> */
.section-divider {
  display: none; /* PCのみ表示 */
}
@media (min-width: 1101px) {
  .section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 var(--section-pad-x);
    height: 1px;
    position: relative;
    overflow: visible;
  }
  .section-divider::before,
  .section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .section-divider span {
    font-family: var(--garamond);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.6em;
    color: var(--mist);
    opacity: 0.6;
    white-space: nowrap;
    text-transform: uppercase;
  }
}

/* ── voice__card — 引用符の装飾強化 ── */
.voice__card {
  overflow: hidden; /* 既存補完 */
}
/* カード右下にカテゴリ漢字を薄く */
.voice__card::after {
  content: attr(data-char);
  position: absolute;
  bottom: -8px; right: 16px;
  font-family: var(--yuji);
  font-size: 64px;
  color: var(--moss);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  font-weight: 400;
}

/* ── reasons__item — 番号装飾（ブレース修正版） ── */
/* Phase 60B で定義済みの .reasons__item::after を補完 */

/* ── flow__circle — 最終ステップ輪郭アニメーション ── */
@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.08); }
}
.flow__step:last-child .flow__circle::after {
  animation: ring-pulse 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .flow__step:last-child .flow__circle::after { animation: none; }
}

/* ── cat__item — hover 時の漢字スケール強化 ── */
.cat__char {
  will-change: transform, color; /* GPU最適化 既存補完 */
}

/* ── company section scroll-hint ── */
.company { overflow: hidden; } /* ウォーターマーク切り取り */

/* ── レスポンシブ: price__head::after スマホ非表示 ── */
@media (max-width: 760px) {
  .price__head::after { display: none; }
  .section-divider { display: none; }
}
