/* ==========================================================================
   Dessert Lapis yuki — gold-luxe × 金茶
   ========================================================================== */

:root {
  --cp-primary: #82622F;
  --cp-accent: #B5894D;
  --cp-text: #2D1F0A;
  --cp-muted: #6B5C39;
  --cp-bg: #F8F0E0;
  --cp-white: #FFFFFF;
  --cp-line: #E2E8F0;

  --cp-dark: #2B190E;
  --cp-dark-2: #3A2413;
  --gold-1: #E9CE96;
  --gold-2: #D9B878;
  --gold-3: #B5894D;
  --gold-4: #8C6A38;
  --gold-grad: linear-gradient(135deg, var(--gold-1), var(--gold-2) 35%, var(--gold-3) 70%, var(--gold-4));
  --gold-grad-soft: linear-gradient(90deg, transparent, var(--gold-2) 30%, var(--gold-3) 70%, transparent);

  --font-display: "Bodoni Moda", "Didot", "Noto Serif JP", serif;
  --font-body: "Lora", "Noto Serif JP", "Source Serif Pro", serif;
  --font-mono: "IBM Plex Mono", monospace;

  --cp-radius: 4px;
  --shadow-deep: 0 8px 32px rgba(20, 12, 4, 0.15);
  --shadow-deeper: 0 14px 44px rgba(20, 12, 4, 0.25);
  --container: 1200px;
  --pad-x: clamp(1rem, 3vw, 3rem);
}

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

body {
  margin: 0;
  background: var(--cp-bg);
  color: var(--cp-text);
  font-family: var(--font-body);
  font-feature-settings: "palt", "liga";
  font-size: 1.05rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cp-primary);
  text-decoration: none;
  transition: color 0.4s ease-out;
}

a:hover {
  color: var(--cp-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--cp-text);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.05vw, 2.5rem); text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }

p {
  margin: 0 0 1.2em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(4rem, 8vw, 8rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--dark {
  background: var(--cp-dark);
  color: #F3E9D5;
}

.section--dark h2,
.section--dark h3 {
  color: var(--gold-1);
}

.section--dark p {
  color: #E6D9BE;
}

.section--cream {
  background: color-mix(in oklab, var(--cp-bg) 82%, var(--cp-white));
}

.section--bg-host {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

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

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cp-dark);
  color: var(--gold-1);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--cp-radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--cp-bg) 92%, #fff);
  border-bottom: 1px solid color-mix(in oklab, var(--gold-3) 35%, transparent);
  transition: box-shadow 0.6s ease-out;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(20, 12, 4, 0.12);
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cp-text);
}

/* ロゴは横長（約 570:291）。高さ基準で置き、正方形に潰れないようにする */
.brand img {
  display: block;
  width: auto;
  height: 42px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--cp-primary);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--cp-muted);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cp-text);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--cp-primary);
  border-bottom-color: var(--cp-accent);
}

.burger {
  display: none;
  background: none;
  border: 1px solid color-mix(in oklab, var(--gold-3) 55%, transparent);
  border-radius: var(--cp-radius);
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cp-primary);
  transition: transform 0.4s ease-out;
}

/* --------------------------------------------------------------------------
   Drawer (SP menu) — body 直下・overlay と兄弟 / drawer z > overlay z
   -------------------------------------------------------------------------- */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(23, 13, 5, 0.55);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.drawer-overlay.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(84vw, 340px);
  background: var(--cp-dark);
  color: #F3E9D5;
  padding: 1.25rem 1.5rem 2.5rem;
  transform: translateX(102%);
  transition: transform 0.5s ease-out;
  overflow-y: auto;
  border-left: 1px solid var(--gold-4);
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--gold-4);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: var(--gold-1);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}

.drawer__nav a {
  color: #F3E9D5;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid color-mix(in oklab, var(--gold-4) 40%, transparent);
}

.drawer__nav a:hover {
  color: var(--gold-1);
}

.drawer__nav .drawer__jp {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #C9B893;
  text-transform: none;
}

.drawer .btn {
  margin-top: 1.75rem;
}

.drawer__note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #C9B893;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--cp-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.6s ease-out, box-shadow 0.6s ease-out, transform 0.6s ease-out;
}

.btn--gold {
  background: var(--gold-grad);
  color: var(--cp-dark);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--gold:hover {
  color: var(--cp-dark);
  filter: brightness(0.94) saturate(1.1);
  box-shadow: var(--shadow-deeper), inset 0 0 12px rgba(60, 36, 8, 0.25);
}

.btn--outline {
  background: linear-gradient(var(--cp-bg), var(--cp-bg)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  color: var(--cp-primary);
}

.section--dark .btn--outline,
.drawer .btn--outline,
.cp-footer .btn--outline {
  background: linear-gradient(var(--cp-dark), var(--cp-dark)) padding-box, var(--gold-grad) border-box;
  color: var(--gold-1);
}

.btn--outline:hover {
  color: var(--cp-accent);
  box-shadow: 0 6px 20px rgba(20, 12, 4, 0.18);
}

.btn--lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   Eyebrow / heading / divider
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cp-primary);
  margin-bottom: 1.1rem;
}

.section--dark .eyebrow,
.cp-page-hero .eyebrow {
  color: var(--cp-accent);
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold-grad-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.section-head .lead {
  color: color-mix(in oklab, var(--cp-text) 78%, var(--cp-muted));
}

.section--dark .section-head .lead {
  color: #EADCBE;
}

.gold-divider {
  display: block;
  width: 120px;
  height: 2px;
  margin: 1.1rem 0 1.4rem;
  overflow: visible;
}

.section-head--center .gold-divider {
  margin-inline: auto;
}

/* stroke は各 SVG のインライン gradient (url(#gl-*)) に任せる */
.gold-divider path {
  stroke-width: 2;
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s ease-out 0.15s;
}

html.js-enabled .fade-in:not(.is-in) .gold-divider path,
html.js-enabled .gold-divider.fade-in:not(.is-in) path {
  stroke-dashoffset: 120;
}

/* --------------------------------------------------------------------------
   Hero (top)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 78vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cp-dark);
}

.hero__img,
.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(30, 17, 7, 0.78) 0%, rgba(30, 17, 7, 0.55) 38%, rgba(30, 17, 7, 0.12) 78%);
}

.hero__inner {
  width: 100%;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero .eyebrow {
  color: var(--gold-2);
}

.hero__title {
  color: var(--gold-1);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.gold-text {
  background: linear-gradient(100deg, #EFDBAC, #C9A25E 38%, #F0DFB4 55%, #B5894D 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.js-enabled .hero__title .gold-text {
  animation: shimmer 9s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__lead {
  max-width: 34em;
  color: #F3E9D5;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__note {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: color-mix(in oklab, var(--gold-2) 80%, #fff);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Sub page hero — 背景画像は generator が CSS 変数経由で配置
   -------------------------------------------------------------------------- */

.cp-page-hero {
  position: relative;
  isolation: isolate;
  background-color: var(--cp-dark);
  background-size: cover;
  background-position: center;
  color: #F3E9D5;
  padding-block: clamp(5rem, 11vw, 8.5rem);
  overflow: hidden;
}

.cp-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(30, 17, 7, 0.82), rgba(30, 17, 7, 0.45) 60%, rgba(30, 17, 7, 0.25));
}

.cp-page-hero .container {
  position: relative;
  z-index: 1;
}

.cp-page-hero h1 {
  color: var(--gold-1);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 0.75rem;
}

.cp-page-hero .lead {
  max-width: 38em;
  color: #EADCBE;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Numbered trio (サムネ NO.01-03 骨格)
   -------------------------------------------------------------------------- */

.trio {
  background: color-mix(in oklab, var(--cp-bg) 88%, var(--gold-2));
}

@media (min-width: 1024px) {
  .trio {
    background:
      linear-gradient(90deg,
        color-mix(in oklab, var(--gold-2) 55%, var(--cp-bg)) 0 56px,
        transparent 56px calc(100% - 56px),
        color-mix(in oklab, var(--gold-2) 55%, var(--cp-bg)) calc(100% - 56px)),
      color-mix(in oklab, var(--cp-bg) 88%, var(--gold-2));
  }
}

.trio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.trio-card {
  background: linear-gradient(var(--cp-white), var(--cp-white)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deep);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.6s ease-out, transform 0.6s ease-out;
}

.trio-card:hover {
  box-shadow: var(--shadow-deeper);
  transform: translateY(-3px);
}

.trio-card__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--cp-primary);
}

.trio-card__spark {
  color: var(--cp-accent);
  margin: 0.9rem auto;
}

.trio-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.trio-card__jp {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--cp-muted);
  margin-bottom: 1rem;
}

.trio-card figure {
  margin: 0 0 1.25rem;
  border-radius: var(--cp-radius);
  overflow: hidden;
}

.trio-card figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s ease-out, filter 1.2s ease-out;
  filter: saturate(0.96);
}

.trio-card:hover figure img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.trio-card p {
  font-size: 0.95rem;
  text-align: left;
  flex-grow: 1;
}

.trio-card .btn {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Split (about teaser / message)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--rev {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split__media {
  position: relative;
}

.split__media img {
  display: block;
  width: 100%;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deeper);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split__media--portrait img {
  aspect-ratio: 3 / 4;
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid color-mix(in oklab, var(--gold-3) 55%, transparent);
  border-radius: var(--cp-radius);
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
}

.stats > div {
  text-align: center;
  padding: 1.75rem 1rem;
  border-top: 1px solid color-mix(in oklab, var(--gold-3) 45%, transparent);
}

.stats dt {
  font-family: var(--font-display);
  color: var(--cp-primary);
}

.section--dark .stats dt {
  color: var(--gold-1);
}

.stats .num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stats .unit {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--cp-primary);
  margin-left: 0.35rem;
  text-transform: uppercase;
}

.section--dark .stats .unit {
  color: var(--gold-2);
}

.stats dd {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--cp-muted);
}

.section--dark .stats dd {
  color: #C9B893;
}

/* --------------------------------------------------------------------------
   Feature cards (こだわり)
   -------------------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.feature {
  background: linear-gradient(var(--cp-white), var(--cp-white)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deep);
  padding: 2rem;
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cp-primary);
  background: color-mix(in oklab, var(--gold-1) 40%, var(--cp-white));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold-3) 60%, transparent);
  margin-bottom: 1.25rem;
}

.feature h3 {
  margin-bottom: 0.6rem;
}

.feature p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Menu cards / price list
   -------------------------------------------------------------------------- */

.menu-flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  padding: 0;
  margin: 1rem 0 1.5rem;
  list-style: none;
}

.menu-flavors li {
  font-size: 0.88rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(var(--cp-white), var(--cp-white)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  color: color-mix(in oklab, var(--cp-text) 85%, var(--cp-primary));
}

.section--dark .menu-flavors li {
  background: linear-gradient(var(--cp-dark-2), var(--cp-dark-2)) padding-box, var(--gold-grad) border-box;
  color: var(--gold-1);
}

.price-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--cp-muted);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.shop-card {
  background: linear-gradient(var(--cp-white), var(--cp-white)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deep);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shop-card h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
}

.shop-card .price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--cp-primary);
  letter-spacing: 0.04em;
}

.shop-card .price small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--cp-muted);
  margin-left: 0.4rem;
}

.shop-card p {
  font-size: 0.86rem;
  color: var(--cp-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  /* お客様の声は原文どおり全文掲載するため長さがまちまち。
     引き伸ばさず、それぞれの本文の高さで素直に縦に伸ばす */
  align-items: start;
}

.testimonial {
  background: linear-gradient(var(--cp-dark-2), var(--cp-dark-2)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deeper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial figure {
  margin: 0;
}

.testimonial figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.testimonial blockquote {
  margin: 0;
  padding: 1.75rem 1.75rem 1.5rem;
  flex-grow: 1;
}

.testimonial blockquote p {
  font-size: 0.95rem;
  color: #EADCBE;
  margin-bottom: 0.6em;
}

.testimonial blockquote p:last-child {
  margin-bottom: 0;
}

/* ①②③ の手順行は折り返しても番号の右に揃うようぶら下げインデントにする */
.testimonial blockquote p.is-step {
  padding-left: 1.15em;
  text-indent: -1.15em;
  margin-bottom: 0.25em;
}

.testimonial cite {
  display: block;
  padding: 0 1.75rem 1.5rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-2);
}

/* --------------------------------------------------------------------------
   News / FAQ details
   -------------------------------------------------------------------------- */

.news-list {
  max-width: 860px;
  margin-inline: auto;
}

.news-list details {
  border-bottom: 1px solid color-mix(in oklab, var(--gold-3) 40%, transparent);
}

.news-list summary {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.2rem 2.4rem 1.2rem 0.25rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.news-list summary::-webkit-details-marker {
  display: none;
}

.news-list summary::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--cp-primary);
  border-bottom: 1.5px solid var(--cp-primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.4s ease-out;
}

.news-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.news-list time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--cp-muted);
  flex-shrink: 0;
}

.news-list .news-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.news-list .news-body {
  padding: 0 0.25rem 1.4rem;
  font-size: 0.95rem;
  color: color-mix(in oklab, var(--cp-text) 82%, var(--cp-muted));
}

.news-list .news-body p {
  margin-bottom: 0.6em;
}

/* --------------------------------------------------------------------------
   Event / related links
   -------------------------------------------------------------------------- */

.event-card {
  background: linear-gradient(var(--cp-white), var(--cp-white)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deep);
  padding: 1.75rem 1.75rem 1.5rem;
}

.event-card time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--cp-primary);
}

.event-card h3 {
  margin: 0.4rem 0 0.6rem;
}

.event-card p {
  font-size: 0.94rem;
  margin-bottom: 0.75rem;
}

.link-out {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--cp-accent);
  padding-bottom: 1px;
}

/* --------------------------------------------------------------------------
   Table (概要)
   -------------------------------------------------------------------------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid color-mix(in oklab, var(--gold-3) 35%, transparent);
}

.spec-table th {
  width: 11em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--cp-primary);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-form {
  max-width: 760px;
  margin-inline: auto;
  background: linear-gradient(var(--cp-white), var(--cp-white)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--cp-radius);
  box-shadow: var(--shadow-deep);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-field {
  margin-bottom: 1.4rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.form-field .req {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #B00000;
  margin-left: 0.5rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cp-text);
  background: color-mix(in oklab, var(--cp-bg) 45%, var(--cp-white));
  border: 1px solid color-mix(in oklab, var(--gold-3) 50%, var(--cp-line));
  border-radius: var(--cp-radius);
  padding: 0.8rem 1rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--cp-accent);
  outline-offset: 1px;
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}

.form-agree input {
  margin-top: 0.45em;
}

#contact-otp-block {
  margin-bottom: 1.4rem;
  padding: 1.25rem;
  border: 1px dashed var(--cp-accent);
  border-radius: var(--cp-radius);
  background: color-mix(in oklab, var(--gold-1) 22%, var(--cp-white));
}

#contact-otp-block[hidden] {
  display: none !important;
}

#contact-otp-block label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

#contact-otp-block input {
  width: 100%;
  max-width: 220px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--cp-accent);
  border-radius: var(--cp-radius);
}

#contact-otp-block p {
  font-size: 0.82rem;
  color: var(--cp-muted);
  margin: 0.6rem 0 0;
}

.cf-turnstile {
  margin-bottom: 1.4rem;
}

#contact-status {
  margin-top: 1rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Map
   -------------------------------------------------------------------------- */

.cp-map {
  border-radius: var(--cp-radius);
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--gold-grad);
  padding: 1px;
  box-shadow: var(--shadow-deep);
}

.cp-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: calc(var(--cp-radius) - 1px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.cp-footer {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, var(--cp-dark), #201107);
  color: #E6D9BE;
  padding: clamp(3.5rem, 7vw, 6rem) 0 2rem;
  border-top: 1px solid var(--gold-4);
}

.cp-footer__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cp-footer__inner {
  position: relative;
  z-index: 1;
}

.cp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.cp-footer .brand__name {
  color: var(--gold-1);
}

/* 濃茶の線画ロゴはダークブラウンのフッターに沈んで読めないため、白抜きに反転させる */
.cp-footer .brand img {
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.cp-footer__tag {
  font-size: 0.9rem;
  color: #C9B893;
  margin-top: 1rem;
}

.cp-footer h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1rem;
}

.cp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cp-footer li {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.cp-footer a {
  color: #E6D9BE;
}

.cp-footer a:hover {
  color: var(--gold-1);
}

.cp-footer address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 2;
}

.cp-footer__bottom {
  border-top: 1px solid color-mix(in oklab, var(--gold-4) 50%, transparent);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #A8946B;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(var(--cp-dark), var(--cp-dark)) padding-box, var(--gold-grad) border-box;
  border: 1px solid transparent;
  color: var(--gold-1);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-deep);
  opacity: 1;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Section background images (D2)
   -------------------------------------------------------------------------- */

.section--bg-host > .container {
  position: relative;
  z-index: 1;
}

.section--bg-host .bg-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section--bg-host.section--dark .bg-veil {
  background: linear-gradient(180deg, rgba(43, 25, 14, 0.88), rgba(43, 25, 14, 0.78));
}

.section--bg-host:not(.section--dark) .bg-veil {
  background: linear-gradient(180deg, rgba(248, 240, 224, 0.9), rgba(248, 240, 224, 0.86));
}

/* --------------------------------------------------------------------------
   Fade-in (opacity 1 維持・translate のみ)
   -------------------------------------------------------------------------- */

.fade-in {
  opacity: 1;
  transform: none;
  transition: transform 700ms ease-out;
}

html.js-enabled .fade-in:not(.is-in) {
  transform: translateY(8px);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .site-nav .nav-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .trio__grid,
  .features,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .split,
  .split--rev {
    grid-template-columns: 1fr;
  }

  .split__media::after {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .site-nav {
    display: flex;
  }

  .site-nav .nav-link {
    display: inline-block;
  }

  .burger {
    display: none;
  }
}

@media (max-width: 560px) {
  /* 狭幅では字送りを詰めて 1 行あたりの文字数を稼ぎ、見出し末尾の孤立文字を防ぐ */
  h2 {
    letter-spacing: 0.02em;
  }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.7rem;
  }

  .brand img {
    height: 34px;
  }

  .brand__name {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .brand__sub {
    font-size: 0.52rem;
  }

  .site-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .section {
    padding-block: 4rem;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .cp-map iframe {
    height: 280px;
  }

  .spec-table th {
    display: block;
    width: auto;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .spec-table td {
    display: block;
    padding-top: 0.35rem;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ai-hp enforced subpage hero backgrounds */
.aihp-subpage-hero--with-image {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(72, 54, 26, 0.9), rgba(72, 54, 26, 0.72)),
    var(--aihp-subpage-hero-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
  isolation: isolate;
}
.aihp-subpage-hero--with-image > * {
  position: relative;
  z-index: 1;
}

