/* ==========================================================
   Maison Lueur — 制作サンプル（エステサロン）
   骨組み：左右2分割ヒーロー／中央ロゴのナビ／アーチ形の写真と節の頭
   ========================================================== */

/* ---------- Tokens ---------- */
:root {
  --ivory: #FBF8F3;
  --green: #22352E;
  --ink: #2B2B28;
  --gold: #B89B5E;
  --mist: #E9EFE8;

  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-display: "Italiana", "Zen Old Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --sec: clamp(96px, 12vw, 168px);
  --gutter: clamp(16px, 5vw, 72px);
  /* 節の頭の円弧：高さ h = 9vw、幅いっぱいを弦とする円の半径 R = (W²/4 + h²) / 2h ≒ 143.39vw */
  --arch-h: 9vw;
  --arch-r: 143.39vw;
  --circle: 280px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol { margin: 0; padding: 0; }
ol { list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sheet :focus-visible, .section--green :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .site-header:not(.is-scrolled) :focus-visible { outline-color: #E2CD9C; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Reveal（JSが動いたときだけ隠す） ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Header（中央ロゴ・左右2リンク） ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  background: linear-gradient(to bottom, rgba(34,53,46,.78), rgba(34,53,46,0));
  transition: background-color .5s ease, color .5s ease, box-shadow .5s ease;
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 24px var(--gutter);
  transition: padding .4s ease;
}
.nav-group { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-group--left { justify-content: flex-end; padding-right: clamp(24px, 5vw, 80px); }
.nav-group--right { justify-content: space-between; padding-left: clamp(24px, 5vw, 80px); }
.nav-group__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-group a, .reserve-link {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
}
.nav-group a { position: relative; padding: 8px 0; }
.nav-group a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.nav-group a:hover::after { transform: scaleX(1); }
.logo { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .12em; line-height: 1; white-space: nowrap; }
.reserve-link { border: 1px solid currentColor; padding: 12px 22px 11px !important; transition: background-color .3s ease, color .3s ease; }
.nav-group .reserve-link::after { display: none; }
.reserve-link:hover { background: var(--ivory); color: var(--green); }

.site-header.is-scrolled { background: rgba(251,248,243,.96); color: var(--ink); box-shadow: 0 1px 0 rgba(184,155,94,.5); }
.site-header.is-scrolled .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
.site-header.is-scrolled .reserve-link:hover { background: var(--green); color: var(--ivory); }

.menu-toggle { display: none; }

/* ---------- Mobile sheet（下から出る） ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 55; background: rgba(34,53,46,.55);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--green); color: var(--ivory);
  padding: 72px var(--gutter) 48px;
  /* 上端は節の頭と同じ考え方の円弧（高さ 6vw → 半径 ≒ 211.33vw） */
  clip-path: circle(211.33vw at 50% 211.33vw);
  transform: translateY(105%); visibility: hidden;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), visibility .55s;
  text-align: center;
}
.sheet__close {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  background: none; border: 0; color: var(--gold); cursor: pointer;
  font-family: var(--font-display); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; padding: 10px 14px;
}
.sheet__nav { display: grid; gap: 4px; }
.sheet__nav a { font-family: var(--font-display); font-size: 28px; letter-spacing: .16em; padding: 8px 0; }
.sheet__nav .sheet__reserve { margin: 16px auto 0; border: 1px solid var(--gold); padding: 14px 32px 13px; font-size: 18px; }
.menu-open .sheet { transform: none; visibility: visible; }
.menu-open .sheet-backdrop { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }

/* ---------- Hero（全幅の写真に、左側へ文字を重ねる） ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  height: min(100svh, 960px); min-height: 640px;
  background: var(--green); color: var(--ivory);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 120px var(--gutter) 64px;
  position: relative; z-index: 2;
  text-shadow: 0 1px 18px rgba(20, 33, 28, .45);
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 8.4vw, 120px); line-height: .98; letter-spacing: .02em;
}
.hero__title span { display: block; }
.hero__title span + span { padding-left: .9em; color: #E2CD9C; }
.hero__copy {
  margin-top: clamp(28px, 4vw, 56px);
  font-size: clamp(19px, 2vw, 28px); line-height: 1.9; letter-spacing: .24em;
}
.hero__copy span { display: block; }
.hero__copy span:nth-child(2) { padding-left: 1em; }
.hero__copy span:nth-child(3) { padding-left: 2em; }
/* 初回体験：写真の上でまず目に入るように、金の地に緑の文字。押すと予約へ */
.hero__trial {
  position: relative; display: block;
  margin-top: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #D8C08A, #C2A468);
  color: var(--green);
  /* 幅はキャッチ（素肌が、いちばんのドレス。）とそろえる：キャッチの最長行は約 7.2em（字間 .24em・字下げ込み） */
  box-sizing: border-box; width: calc(7.4 * clamp(19px, 2vw, 28px)); min-width: 200px;
  padding: 14px 44px 14px 20px;
  outline: 1px solid rgba(226, 205, 156, .7); outline-offset: 6px;
  box-shadow: 0 10px 30px rgba(10, 20, 16, .35);
  text-shadow: none; line-height: 1.3; letter-spacing: .08em;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.hero__trial::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 16px; height: 1px; background: currentColor;
  box-shadow: none;
}
.hero__trial::before {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; margin-top: -4px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.hero__trial:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 34px rgba(10, 20, 16, .42); }
.hero__trial span { display: block; font-size: 14px; font-weight: 500; letter-spacing: .2em; }
.hero__trial-price { font-family: "Zen Old Mincho", serif; font-weight: 700; font-size: clamp(30px, 2.5vw, 36px); letter-spacing: .04em; line-height: 1.15; display: block; }
.hero__trial small { display: block; margin-top: 4px; font-family: var(--font-sans); font-weight: 400; font-size: 12px; letter-spacing: .04em; white-space: nowrap; }

.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 68% 50%; }
/* 文字を重ねる左側と、ナビが乗る上端を暗くして読めるようにする */
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 33, 28, .55) 0, rgba(20, 33, 28, 0) 22%),
    linear-gradient(to right, rgba(20, 33, 28, .86) 0%, rgba(20, 33, 28, .68) 30%, rgba(20, 33, 28, .22) 58%, rgba(20, 33, 28, .06) 100%);
}
.hero__badge {
  position: absolute; z-index: 3;
  right: clamp(20px, 6vw, 110px); bottom: clamp(28px, 6vw, 80px);
  width: clamp(110px, 11vw, 160px); height: auto;
}
.badge-bg { fill: var(--green); stroke: var(--gold); stroke-width: 1; }
.badge-ring { fill: none; stroke: rgba(184,155,94,.5); stroke-width: .8; }
.badge-text { font-family: var(--font-display); font-size: 10.5px; letter-spacing: .08em; fill: var(--ivory); }
.badge-flower { fill: #FBF6EC; stroke: var(--gold); stroke-width: .6; }
.badge-flower__eye { fill: #E2CD9C; stroke: none; }
.badge-flower__stamens { fill: var(--gold); stroke: none; }
.badge-spin { transform-origin: 80px 80px; animation: badge-rotate 28s linear infinite; }
@keyframes badge-rotate { to { transform: rotate(360deg); } }

/* ---------- Shared: section & heading ---------- */
.section { padding: var(--sec) var(--gutter); position: relative; }
.sec-head { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head::before {
  content: ""; display: block; width: 1px; height: 56px; background: var(--gold); margin: 0 auto 24px;
}
.sec-head__en { font-family: var(--font-display); font-size: 15px; letter-spacing: .4em; text-transform: uppercase; line-height: 1.4; margin-bottom: 14px; padding-left: .4em; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.6; letter-spacing: .12em; }
.sec-head--light { color: var(--ivory); }
.sec-head--light .sec-head__en { color: #E2CD9C; }

.arch-photo img { width: 100%; height: auto; object-fit: cover; }

/* ---------- Concept ---------- */
.concept { padding-bottom: calc(var(--sec) * .5 + var(--arch-h)); }
.concept__grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(320px, 1.55fr) 1fr; gap: clamp(24px, 4vw, 72px); align-items: start;
}
.arch-photo--a { margin-top: 12%; }
.arch-photo--b { margin-top: 38%; }
.concept__body { text-align: center; }
.concept__lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 2.3; letter-spacing: .1em; }
.concept__lead span { display: block; }
.concept__note {
  margin-top: 40px; display: inline-block;
  font-family: var(--font-sans); font-weight: 300; font-size: 13px; letter-spacing: .12em; line-height: 1.9;
  padding-top: 20px; border-top: 1px solid var(--gold);
}

/* ---------- 区切り：面の切り替え＋アーチ形の節の頭 ---------- */
.section--green { background: var(--green); color: var(--ivory); }
.section--mist { background: var(--mist); }
.section--arch { margin-top: 0; }
.section--arch::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
  height: var(--arch-h); background: var(--green);
  /* 楕円（border-radius）だと両端が立って角ばるので、十分大きな正円の一部で切る＝全幅で曲がり具合が一定 */
  clip-path: circle(var(--arch-r) at 50% var(--arch-r));
}

/* ---------- Menu ---------- */
.menu { padding-top: calc(var(--sec) * .55); padding-bottom: calc(var(--circle) / 2 + clamp(64px, 8vw, 112px)); }
.menu__cards {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start;
}
.course { border: 1px solid var(--gold); padding: 12px 12px 36px; }
.course:nth-child(2) { margin-top: clamp(24px, 4vw, 64px); }
.course__photo img { width: 100%; height: auto; object-fit: cover; }
.course__body { padding: 28px 16px 0; text-align: center; }
.course__name { font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: .12em; line-height: 1.3; }
.course__meta { display: flex; justify-content: center; gap: 20px; margin-top: 6px; font-size: 16px; letter-spacing: .1em; color: #E2CD9C; }
.course__meta span + span::before { content: ""; display: inline-block; width: 1px; height: .9em; background: var(--gold); margin-right: 20px; vertical-align: -.1em; }
.course__text { margin-top: 18px; font-size: 14.5px; line-height: 2; letter-spacing: .06em; }
.menu__foot { margin-top: 56px; text-align: center; font-family: var(--font-sans); font-weight: 300; font-size: 12px; letter-spacing: .12em; opacity: .8; }

/* 節をまたぐ正円の写真（Menu と Voice の境目） */
.circle-photo {
  position: absolute; left: 50%; bottom: 0; z-index: 5;
  width: var(--circle); height: var(--circle);
  transform: translate(-50%, 50%);
}
.circle-photo img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid var(--gold); outline-offset: 10px; }

/* ---------- Voice ---------- */
.voice { padding-top: calc(var(--circle) / 2 + var(--sec) * .6); padding-left: 0; padding-right: 0; overflow: hidden; }
.voice .sec-head { padding: 0 var(--gutter); }
.voice__track {
  display: flex; gap: clamp(32px, 5vw, 80px);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 24px var(--gutter) 40px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.quote { flex: 0 0 min(84vw, 600px); scroll-snap-align: center; position: relative; padding-top: 72px; }
.quote__mark {
  position: absolute; top: -24px; left: -8px;
  font-family: var(--font-display); font-size: 200px; line-height: 1; color: var(--gold); opacity: .85;
}
.quote blockquote p { font-size: clamp(19px, 2vw, 24px); line-height: 2.1; letter-spacing: .08em; position: relative; }
.quote figcaption { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--gold); font-family: var(--font-sans); font-weight: 300; font-size: 13px; letter-spacing: .12em; display: flex; gap: 16px; }
.quote figcaption span::before { content: "／"; margin-right: 16px; }
.voice__hint { text-align: center; font-family: var(--font-sans); font-weight: 300; font-size: 12px; letter-spacing: .2em; margin-top: 8px; }

/* ---------- Flow（縦の1本線・左右交互） ---------- */
.flow__list { position: relative; max-width: 1040px; margin: 0 auto; }
.flow__list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--gold); }
.flow__step { position: relative; width: 50%; padding: 0 clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.flow__step:last-child { padding-bottom: 0; }
.flow__step:nth-child(odd) { text-align: right; }
.flow__step:nth-child(even) { margin-left: 50%; text-align: left; margin-top: -4vw; }
.flow__step::before {
  content: ""; position: absolute; top: 18px; width: 13px; height: 13px;
  border: 1px solid var(--gold); background: var(--ivory); border-radius: 50%;
}
.flow__step:nth-child(odd)::before { right: -7px; }
.flow__step:nth-child(even)::before { left: -7px; }
.flow__no { display: block; font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--gold); letter-spacing: .06em; }
.flow__step h3 { font-size: 22px; letter-spacing: .12em; margin-top: 10px; line-height: 1.7; }
.flow__step p { margin-top: 8px; font-size: 15px; line-height: 2.05; letter-spacing: .05em; }

/* ---------- Access（全幅写真に情報カード） ---------- */
.access {
  position: relative; min-height: clamp(620px, 62vw, 820px);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 72px var(--gutter); background: var(--green); overflow: hidden;
}
.access__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.access__card {
  position: relative; width: min(460px, 100%);
  background: var(--ivory); padding: clamp(32px, 4vw, 52px);
  margin-right: clamp(0px, 6vw, 120px);
}
.access__card .sec-head { margin-bottom: 32px; }
.access__card .sec-head h2 { font-size: clamp(24px, 2.4vw, 30px); }
.access__list > div { display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(184,155,94,.55); }
.access__list > div:last-child { border-bottom: 1px solid rgba(184,155,94,.55); }
.access__list dt { font-family: var(--font-sans); font-weight: 300; font-size: 13px; letter-spacing: .12em; line-height: 2.2; }
.access__list dd { font-size: 15px; line-height: 1.9; letter-spacing: .06em; }
.access__note { margin-top: 20px; font-family: var(--font-sans); font-weight: 300; font-size: 13px; line-height: 1.9; letter-spacing: .06em; }
.button {
  display: block; margin-top: 28px; text-align: center;
  background: var(--green); color: var(--ivory); padding: 18px 20px 14px; line-height: 1.5;
  font-size: 17px; letter-spacing: .16em; border: 1px solid var(--green);
  transition: background-color .3s ease, color .3s ease;
}
.button small { display: block; font-family: var(--font-sans); font-weight: 300; font-size: 11px; letter-spacing: .08em; opacity: .8; margin-top: 2px; }
.button:hover { background: transparent; color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--ivory); text-align: center; padding: clamp(72px, 9vw, 120px) var(--gutter) 40px; }
.site-footer__logo { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); letter-spacing: .12em; line-height: 1.2; }
.site-footer__tag { margin-top: 8px; font-size: 14px; letter-spacing: .24em; color: #E2CD9C; }
.site-footer__nav { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.site-footer__nav a { font-family: var(--font-display); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.site-footer__sample { margin-top: 64px; font-family: var(--font-sans); font-weight: 300; font-size: 12px; letter-spacing: .06em; line-height: 1.9; opacity: .85; }
.site-footer__credit { margin-top: 12px; font-family: var(--font-sans); font-weight: 300; font-size: 12px; letter-spacing: .08em; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav-group a, .reserve-link { font-size: 13px; letter-spacing: .14em; }
}

@media (max-width: 900px) {
  :root { --circle: 220px; }

  /* Header：中央ロゴ＋右ハンバーガー */
  .nav-group { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto 1fr; padding-top: 16px; padding-bottom: 16px; }
  .logo { grid-column: 2; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    grid-column: 3; justify-self: end; width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 1px; background: currentColor; }

  /* Hero：縦積み */
  /* スマホ：写真を画面幅いっぱいに上へ敷き、文字は写真の下端に少し重ねる（人物の顔を文字で隠さない） */
  .hero { display: flex; flex-direction: column; align-items: stretch; height: auto; min-height: 0; }
  .hero__photo { order: -1; position: relative; inset: auto; height: min(78svh, 640px); min-height: 460px; }
  .hero__img { object-position: 70% 50%; }
  .hero__photo::after {
    background:
      linear-gradient(to bottom, rgba(20, 33, 28, .6) 0, rgba(20, 33, 28, 0) 18%),
      linear-gradient(to bottom, rgba(34, 53, 46, 0) 68%, rgba(34, 53, 46, .7) 88%, var(--green) 100%);
  }
  .hero__text { margin-top: -96px; padding: 0 var(--gutter) 64px; }
  .hero__badge { display: none; }
  .hero__title { font-size: clamp(64px, 17vw, 110px); }

  /* Concept */
  .concept__grid { grid-template-columns: 1fr 1fr; }
  .concept__body { grid-column: 1 / -1; grid-row: 1; margin-bottom: 24px; }
  .arch-photo--a { margin-top: 0; }
  .arch-photo--b { margin-top: 15%; }

  /* Menu */
  .menu__cards { grid-template-columns: 1fr; max-width: 420px; gap: 40px; }
  .course:nth-child(2) { margin-top: 0; }

  /* Flow：線を左へ */
  .flow__list::before { left: 7px; }
  .flow__step, .flow__step:nth-child(even) { width: 100%; margin-left: 0; margin-top: 0; text-align: left; padding: 0 0 48px 44px; }
  .flow__step:nth-child(odd)::before, .flow__step:nth-child(even)::before { left: 1px; right: auto; }

  /* Access */
  .access { align-items: flex-end; padding-top: 220px; padding-bottom: 32px; justify-content: center; }
  .access__card { margin-right: 0; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .quote__mark { font-size: 150px; top: -10px; }
  .quote { padding-top: 60px; }
  .site-header__inner { padding-left: 16px; padding-right: 12px; }
  .concept__lead { letter-spacing: .06em; }
}

@media (min-width: 1700px) {
  .concept__grid { max-width: 1440px; }
  .menu__cards { max-width: 1280px; }
  .flow__list { max-width: 1160px; }
}
