/* ARC LP — delivery stylesheet
   配色・書体は proposal-directions.md、余白は brief.json designPolicy.editorial に準拠。
   形式: segmented（章ごとに背景面・境界を変える）。
*/

:root {
  --color-teal: #23454F;
  --color-olive: #627048;
  --color-terracotta: #9A4A31;
  --color-terracotta-dark: #7E3B27;

  --bg-offwhite: #FBF9F5;
  --bg-cream: #F2EDE4;
  --bg-wood: #E8DFD1;
  --bg-white: #FFFFFF;

  --font-heading: 'Zen Old Mincho', serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  --font-num: 'Jost', sans-serif;

  --heading-to-body: 32px;
  --text-to-visual: 48px;
  --block-gap: 72px;
  --section-padding: 112px;

  --max-width: 1240px;
  --edge-gutter: 32px;
}

@media (max-width: 767px) {
  :root {
    --heading-to-body: 24px;
    --text-to-visual: 32px;
    --block-gap: 48px;
    --section-padding: 72px;
    --edge-gutter: 20px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-teal);
  background: var(--bg-offwhite);
  line-height: 1.85;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: var(--color-teal);
}

p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-teal);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.amount { display: inline-flex; align-items: baseline; gap: .08em; white-space: nowrap; font-family: var(--font-num); }
.amount__number { font-size: 1em; font-weight: 500; }
.amount__unit { font-size: .5em; font-family: var(--font-body); }

/* ---------- CTA button ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--color-terracotta);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  padding: 18px 32px;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
  text-align: left;
}
.cta:hover { background: var(--color-terracotta-dark); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}
.cta__arrow { font-size: 1.1em; }
.cta--small { padding: 10px 20px; font-size: .875rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-offwhite);
  border-bottom: 1px solid var(--bg-wood);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--edge-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo {
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: .08em;
  margin: 0;
  color: var(--color-olive);
  display: flex;
  align-items: baseline;
  gap: .6em;
}
.site-header__logo-sub {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-teal);
  letter-spacing: 0;
}

/* ---------- Section shell (segmented format) ---------- */
.section {
  padding: var(--section-padding) 0;
}
.section--offwhite { background: var(--bg-offwhite); }
.section--cream { background: var(--bg-cream); }
.section--wood { background: var(--bg-wood); }
.section--white { background: var(--bg-white); }
.section--teal { background: var(--color-teal); color: #fff; }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--edge-gutter);
}
.section__heading {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  margin-bottom: var(--heading-to-body);
}
.section__heading--onteal { color: #fff; }
.break-narrow { display: none; }
@media (max-width: 900px) { .break-narrow { display: inline; } }
.section__body {
  max-width: 62ch;
  margin-bottom: var(--heading-to-body);
}
.section__body--onteal { color: rgba(255,255,255,.92); }
.section__note {
  font-size: .875rem;
  color: #5a6b64;
  margin-top: var(--heading-to-body);
}
.section--teal .section__note,
.section__body--onteal + .closing__conditions { color: rgba(255,255,255,.75); }

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--text-to-visual);
  align-items: center;
}
.section__inner--reverse { direction: rtl; }
.section__inner--reverse > * { direction: ltr; }

.section__visual img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; display: block; }
.section__visual { overflow: hidden; height: 340px; }
.section__visual--pair { display: flex; gap: 16px; align-items: flex-end; }
.section__visual--pair img { width: auto; height: 140px; }

.section__card-copy {
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--color-teal);
  background: var(--bg-wood);
  padding: 24px 20px;
  line-height: 2;
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* s02: text | large photo | narrow note panel */
.section__inner--triple {
  display: grid;
  grid-template-columns: .9fr 1fr .55fr;
  gap: var(--text-to-visual);
  align-items: stretch;
}
.section__inner--triple .section__visual--tall { height: 460px; }

/* s05: photo | text | photo, all edge to edge */
.section__inner--room {
  display: grid;
  grid-template-columns: .8fr 1.3fr .8fr;
  gap: var(--text-to-visual);
  align-items: stretch;
}
.section__visual--edge { height: 340px; }
.section__visual--wide { height: 380px; }

/* ---------- Hero (s01) ---------- */
.section--hero { padding: 0; overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 680px;
  align-items: stretch;
}
.hero__copy {
  background: var(--color-olive);
  color: #fff;
  padding: 56px var(--edge-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.hero__mark {
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: var(--font-num);
  font-size: 5rem;
  font-weight: 500;
  color: rgba(255,255,255,.12);
  margin: 0;
  letter-spacing: .05em;
  pointer-events: none;
}
.hero__heading {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.95);
}
.hero__lead {
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  max-width: 44ch;
}
.hero__actions { margin-top: 8px; }
.hero__price {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.25);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 4px;
}
.hero__price-label { font-size: .8rem; color: rgba(255,255,255,.8); flex-basis: 100%; }
.hero__price-values { display: flex; align-items: baseline; gap: 14px; }
.hero__price .amount { color: #fff; }
.hero__price .amount__number { font-size: 2rem; }
.hero__price .amount__unit { color: rgba(255,255,255,.85); }
.hero__price-note { font-size: .75rem; color: rgba(255,255,255,.7); flex-basis: 100%; }

.hero__visual {
  position: relative;
  display: flex;
  height: 100%;
  background: var(--bg-offwhite);
}
.hero__photo { height: 100%; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo--stretch { flex: 1.15; }
.hero__photo--room { flex: 1; }
.hero__vertical-copy {
  flex: 0 0 64px;
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--color-teal);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.9;
  background: var(--bg-offwhite);
}

/* ---------- s03 numbered list ---------- */
.numbered-list {
  list-style: none;
  margin: var(--text-to-visual) auto 0;
  padding: 0 var(--edge-gutter);
  max-width: var(--max-width);
  display: grid;
  gap: 12px;
}
.numbered-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-cream);
  padding: 16px 24px;
}
.numbered-list__num {
  font-family: var(--font-num);
  color: var(--color-olive);
  font-size: 1.25rem;
  font-weight: 500;
}

/* ---------- s04 session grid ---------- */
.session-grid {
  max-width: var(--max-width);
  margin: var(--text-to-visual) auto 0;
  padding: 0 var(--edge-gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 24px;
  align-items: start;
}
.session-grid__item {
  text-align: center;
  padding: 20px 8px;
}
.session-grid__icon {
  width: 40px;
  height: 40px;
  color: var(--color-olive);
  margin-bottom: 12px;
}
.session-grid__item p { font-size: .85rem; }
.session-grid__visual {
  grid-row: 1 / 3;
  grid-column: 4;
  align-self: stretch;
  width: 180px;
  overflow: hidden;
}
.session-grid__visual img { height: 100%; width: 100%; object-fit: cover; display: block; }

/* ---------- s06 voice ---------- */
.section__sample-note {
  font-size: .8rem;
  color: #6b675a;
  margin-bottom: var(--heading-to-body);
}
.stat-line {
  font-size: 1rem;
  margin-bottom: var(--text-to-visual);
}
.stat-line strong { font-family: var(--font-num); font-weight: 500; color: var(--color-teal); }
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: var(--heading-to-body);
}
.voice-card {
  background: #fff;
  padding: 24px;
  margin: 0;
  border-left: 3px solid var(--color-olive);
}
.voice-card p { margin-bottom: 12px; }
.voice-card cite { font-style: normal; font-size: .85rem; color: #5a6b64; }

/* ---------- s07 price ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: var(--heading-to-body);
}
.price-card {
  background: #fff;
  padding: 24px 20px;
  text-align: center;
}
.price-card--highlight { background: var(--color-teal); color: #fff; }
.price-card__label { font-size: .85rem; margin-bottom: 12px; }
.price-card__amount { margin-bottom: 4px; }
.price-card__amount .amount { font-size: 1.3rem; }
.price-card__amount .amount__number { font-size: 1.6em; }
.price-card__amount--main .amount__number { font-size: 2.4em; }
.price-card--highlight .amount { color: #fff; }
.price-card__meta { font-size: .8rem; opacity: .8; margin-top: 8px; }

/* ---------- s08 faq (常時表示・アコーディオンにしない) ---------- */
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
}
.faq-item {
  background: var(--bg-offwhite);
  border: 1px solid var(--bg-wood);
  border-radius: 4px;
  padding: 20px 22px;
}
.faq-item dt {
  font-weight: 700;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.faq-item dd {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #4b5a55;
}
.faq-item__q, .faq-item__a {
  font-family: var(--font-num);
  font-weight: 500;
  color: var(--color-olive);
  flex-shrink: 0;
}

/* ---------- s09 shop ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: .8fr 1.3fr .9fr;
  gap: 24px;
  align-items: stretch;
}
.shop-photo { overflow: hidden; height: 320px; }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-photo__caption { font-size: .75rem; color: #5a6b64; margin-top: 8px; }
.shop-info { margin: 0; display: grid; gap: 10px; }
.shop-info__row { display: grid; grid-template-columns: 5em 1fr; gap: 12px; font-size: .9rem; }
.shop-info__row dt { color: var(--color-olive); font-weight: 700; }
.shop-info__row dd { margin: 0; }

/* ---------- s10 closing ---------- */
.closing__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.closing__price { font-size: .85rem; color: rgba(255,255,255,.85); }
.closing__conditions {
  margin-top: var(--heading-to-body);
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* ---------- footer ---------- */
.site-footer {
  background: #17262B;
  color: rgba(255,255,255,.8);
  padding: 32px 0;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--edge-gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__name { font-weight: 700; color: #fff; }
.site-footer__sample { font-size: .8rem; max-width: 46ch; }

/* =========================================================
   Mobile (<= 767px) — hero rebuilt as one scene (17-mobile-hero)
   ========================================================= */
@media (max-width: 767px) {
  .site-header__logo-sub { display: none; }

  .section__inner--split,
  .section__inner--triple,
  .section__inner--room {
    grid-template-columns: 1fr;
  }
  .section__inner--reverse { direction: ltr; }
  .section__visual--pair { justify-content: flex-start; }

  .section__visual,
  .section__visual--tall,
  .section__visual--edge,
  .section__visual--wide {
    height: 260px;
  }
  .section__card-copy { margin-top: 0; }

  .numbered-list { grid-template-columns: 1fr; }

  .section__visual--pair {
    flex-wrap: wrap;
  }
  .section__visual--pair img {
    height: auto;
    width: calc(50% - 8px);
    max-width: calc(50% - 8px);
    object-fit: cover;
  }

  .session-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .session-grid__visual { display: none; }

  .voice-grid { grid-template-columns: 1fr; }

  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card--highlight { grid-column: 1 / -1; }
  .price-card__amount--main .amount__number { font-size: 1.8em; }
  .price-card__amount .amount { font-size: .95rem; white-space: normal; }
  .price-card { padding: 20px 16px; }

  .faq-list { grid-template-columns: 1fr; }

  .shop-layout {
    grid-template-columns: 1fr 1fr;
  }
  .shop-photo { height: 200px; }
  .shop-info { grid-column: 1 / -1; order: 2; }
  .shop-layout .shop-photo:first-child { order: 1; }
  .shop-layout .shop-photo:last-child { order: 3; }

  /* --- hero: single scene. Copy and photos stack in normal flow on the
     same olive field, so nothing can ever overlap the text. --- */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__copy {
    background: var(--color-olive);
    padding: 40px 20px 32px;
  }
  .hero__mark { font-size: 3.2rem; top: 4px; right: 12px; }
  .hero__heading { font-size: 2rem; }
  .hero__actions { display: flex; }

  .hero__visual {
    background: var(--color-olive);
    height: 340px;
    padding: 0 20px 40px;
    gap: 8px;
  }
  .hero__vertical-copy {
    flex: 0 0 48px;
    background: transparent;
    color: rgba(255,255,255,.85);
  }
}

@media (max-width: 430px) {
  .hero__visual { height: 300px; }
}

.trainer-note__grid { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: clamp(28px, 5vw, 80px); }
.trainer-note__eyebrow { margin-bottom: 12px; color: #5a6b64; font-size: .75rem; letter-spacing: .16em; }
.trainer-note__facts { margin: 22px 0 0; border-top: 1px solid #d8d7ce; }
.trainer-note__facts div { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #d8d7ce; }
.trainer-note__facts dt { font-weight: 700; }
.trainer-note__facts dd { margin: 0; }
@media (max-width: 700px) { .trainer-note__grid { grid-template-columns: 1fr; } .trainer-note__facts div { grid-template-columns: 1fr; gap: 3px; } }
