/* PLEVE v2
   数値は制作指示書 v2.0 の第5章・第10章・第14章・第15章による。
   ブレークポイント：PC 1025px〜（1281px〜は左右160px）／タブレット 768〜1024px／スマホ 〜767px */

:root {
  --beige: #F0ECE4;
  --gold: #AC9261;
  --text: #333333;
  --black: #000000;
  --font: Jost, "Zen Kaku Gothic Antique", sans-serif;
  /* 余白は 2026-11-20 の指示で全体に詰めた（以前：左右 160/80/64/40、欄の上下 160/120/80、見出しの下 64/40） */
  --gutter: 96px;
  --content: 1120px;
  --section: 96px;
  --header: 96px;
  --subnav: 0px; /* スマホ・タブレットでヘッダーの下に出す横並びメニューの高さ */
  --head-gap: 40px; /* 見出し群 → 本文・写真 */
  --ease-menu: cubic-bezier(.77, 0, .175, 1);
}
@media (max-width: 1280px) { :root { --gutter: 64px; } }
@media (max-width: 1024px) { :root { --gutter: 48px; --section: 80px; --header: 64px; --subnav: 44px; } }
@media (max-width: 767px)  { :root { --gutter: 24px; --section: 56px; --head-gap: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + var(--subnav) + 24px); }
body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  /* 約物（、。「」など）の余白を詰め、字間も3%詰める（2026-11-21 オーナー指示） */
  font-feature-settings: 'palt';
  letter-spacing: -.03em;
  overflow-x: clip;
  /* 日本語は文節の切れ目で折り返す（対応ブラウザのみ。非対応では通常の折り返し）。break-all は使わない */
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, .h-large { font-weight: 200; line-height: 1.3; text-wrap: balance; }
/* 見出しは意味のまとまり（phrase）の間でだけ折り返す。まとまりより狭い幅では、まとまりの中でも折り返す */
.phrase { display: inline-block; }
/* 段落の末尾の短い語句（src/data/typeset.mjs で指定した箇所だけ）を、ひとまとまりで折り返す */
.keep { white-space: nowrap; }
/* 本文は自然な折り返しのまま、段落の最後の行が極端に短くならないようにする（対応ブラウザのみ） */
p { text-wrap: pretty; }
h1 { font-size: 72px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
.h-large { font-size: 54px; }
p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }
.label { font-size: 16px; line-height: 1.6; color: var(--gold); font-weight: 300; margin-bottom: 16px; }
.label--line::before { content: ""; display: inline-block; width: 1.6em; height: 1px; background: currentColor; margin-right: .4em; vertical-align: .33em; }
.num { font-size: 40px; line-height: 64px; font-weight: 200; color: var(--gold); margin: 0; }
@media (max-width: 1280px) { h1 { font-size: 64px; } }
@media (max-width: 767px) {
  /* スマホの本文は16px、主要な日本語見出しは28px（修正指示書 2章）。行高は 2026-11-21 の指示で 1.95→1.6 */
  body { font-size: 16px; line-height: 1.6; }
  h1 { font-size: 48px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .h-large { font-size: 36px; }
  .label { font-size: 14px; line-height: 1.6; }
}

.skip-link { position: absolute; left: 8px; top: -100px; z-index: 10001; background: var(--beige); padding: 8px 16px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.inner { width: min(100% - var(--gutter) * 2, var(--content)); margin-inline: auto; }
.inner--narrow { width: min(100% - var(--gutter) * 2, 968px); text-align: center; }
.inner--detail { width: min(100% - var(--gutter) * 2, 960px); }
.inner--list { width: min(100% - var(--gutter) * 2, 960px); }
.inner--article { width: min(100% - var(--gutter) * 2, 800px); }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.section-head { margin-bottom: var(--head-gap); }
.section-head .label { margin-bottom: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head p:not(.label) { margin-top: 16px; }
.section-head--center { text-align: center; }

/* ---------- 写真の枠 ---------- */
.frame { position: relative; overflow: hidden; }
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--square { aspect-ratio: 1; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--arch { border-radius: 50% 50% 0 0; }
.frame--pending { display: grid; place-items: center; text-align: center; border: 1px dashed currentColor; opacity: .6; font-size: 13px; line-height: 1.8; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; padding: 8px 28px; border: 1px solid currentColor; border-radius: 1000px;
  font-size: 16px; line-height: 1.15; font-weight: 400; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--line { color: inherit; }
.btn--line:hover { background: var(--beige); border-color: var(--beige); color: var(--gold); }
.btn--light-line { color: var(--beige); border-color: var(--beige); }
.btn--light-line:hover { background: var(--beige); color: var(--gold); }
.btn--light-fill { background: var(--beige); border-color: var(--beige); color: var(--gold); }
.btn--light-fill:hover { background: transparent; color: var(--beige); }
.btn--gold-line { color: var(--gold); border-color: var(--gold); }
.btn--gold-line:hover { background: var(--gold); color: var(--beige); }
.btn--gold-fill { background: var(--gold); border-color: var(--gold); color: var(--beige); }
.btn--gold-fill:hover { background: transparent; color: var(--gold); }
.btn--wide { display: block; width: 100%; padding: 16px 24px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
@media (max-width: 767px) { .btn { font-size: 12px; padding: 8px 16px; } .btn--wide { font-size: 14px; padding: 16px; } }

.nav-link { position: relative; text-decoration: none; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center; transition: transform .2s;
}
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); transform-origin: left center; }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: var(--text); transition: color .8s; }
.site-header__bar { position: relative; height: var(--header); display: flex; align-items: center; padding-left: 96px; }
.site-header__nav > ul { display: flex; gap: 16px; font-size: 20px; line-height: 35px; }
.site-header__nav--right { margin-left: auto; }
.site-header__logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 160px; }
.site-header__logo .logo { width: 100%; transition: opacity .8s; }
.site-header__logo .logo--light { position: absolute; inset: 0; opacity: 0; }
.has-sub { position: relative; }
.sub-nav {
  position: absolute; top: 100%; left: -16px; min-width: 200px; padding: 8px 0; background: var(--beige); color: var(--text);
  font-size: 14px; line-height: 1.6; opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .25s, translate .25s, visibility .25s;
}
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; translate: 0 0; }
.sub-nav a { display: block; padding: 10px 16px; text-decoration: none; white-space: nowrap; transition: color .2s; }
.sub-nav a:hover { color: var(--gold); }
.btn-reserve {
  display: flex; align-items: center; justify-content: center; width: 112px; height: 96px; margin-left: 24px; padding-left: 8px;
  background: var(--gold); color: var(--beige); border-radius: 9999px 0 0 9999px;
  font-size: 16px; font-weight: 400; letter-spacing: .05em; text-decoration: none; transition: background-color .8s, color .8s, opacity .4s;
}
.burger { display: none; }
.site-menu { display: none; }
/* ゴールドの面の上にあるとき */
.site-header.is-light { color: var(--beige); }
.site-header.is-light .logo--gold { opacity: 0; }
.site-header.is-light .logo--light { opacity: 1; }
.site-header.is-light .btn-reserve { background: var(--beige); color: var(--gold); }

@media (max-width: 1024px) {
  .site-header__bar { padding-left: 0; }
  .site-header__nav { display: none; }
  .site-header__logo { width: 96px; z-index: 2; }
  .btn-reserve { position: absolute; right: 0; top: 0; width: 80px; height: 64px; margin: 0; padding-left: 4px; font-size: 13px; z-index: 2; }
  .burger {
    position: absolute; left: 24px; top: 50%; translate: 0 -50%; z-index: 2; display: grid; align-content: center; gap: 7px;
    width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .burger__line { display: block; width: 32px; height: 1px; background: currentColor; transition: transform .3s, background-color .8s; }
  .burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(4px) rotate(30deg); }
  .burger[aria-expanded="true"] .burger__line:last-child { transform: translateY(-4px) rotate(-30deg); }
  .site-menu {
    display: block; position: fixed; inset: 0 0 auto; z-index: 1; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--beige); color: var(--text); transform: translateY(-100%); transition: transform .8s var(--ease-menu), visibility 0s .8s; visibility: hidden;
  }
  .site-menu[hidden] { display: block !important; }
  .site-header.is-menu-open .site-menu { transform: translateY(0); visibility: visible; transition: transform .8s var(--ease-menu), visibility 0s; }
  .site-header.is-menu-open { color: var(--text); }
  .site-header.is-menu-open .logo--gold { opacity: 1; }
  .site-header.is-menu-open .logo--light { opacity: 0; }
  .site-header.is-menu-open .site-header__bar .btn-reserve { opacity: 0; pointer-events: none; }
  .site-menu__inner { padding: 128px 40px 64px; }
  .site-menu__list > li { padding-bottom: 24px; }
  .site-menu__list > li > a { font-size: 24px; line-height: normal; text-decoration: none; font-weight: 200; }
  .site-menu__sub { margin-top: 12px; padding-left: 16px; font-size: 14px; line-height: 2.2; }
  .site-menu__sub a { text-decoration: none; }
  .btn-reserve--menu { position: static; width: 100%; height: auto; padding: 24px; margin-top: 16px; border-radius: 9999px; font-size: 16px; background: var(--gold) !important; color: var(--beige) !important; }
}
/* スマホ・タブレットの横並びメニュー。≡ を開かなくても主なページへ移れるようにする（オーナーの要望で追加。指示書にはない） */
.site-subnav { display: none; }
@media (max-width: 1024px) {
  .site-subnav {
    display: block; height: var(--subnav); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    background: color-mix(in srgb, var(--beige) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-block: 1px solid rgba(51, 51, 51, .12); transition: background-color .8s, border-color .8s;
  }
  .site-subnav::-webkit-scrollbar { display: none; }
  /* 項目が収まるときは中央、はみ出すときは左から横にスクロール */
  .site-subnav ul { display: flex; justify-content: center; gap: 24px; width: max-content; min-width: 100%; height: 100%; padding: 0 20px; }
  .site-subnav a { position: relative; display: flex; align-items: center; height: 100%; font-size: 14px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
  .site-subnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; }
  .site-header.is-light .site-subnav { background: color-mix(in srgb, var(--gold) 94%, transparent); border-color: rgba(240, 236, 228, .3); }
  /* スクロールしたら、ヘッダーにもメニューと同じ背景を付けて一体にする（本文がロゴの裏に透けないように） */
  /* 背景のぼかしでヘッダーが重なりの単位になるため、ヘッダーごと全画面メニュー（z-index 1）より手前に置く */
  .site-header__bar { z-index: 2; transition: background-color .8s; }
  .site-header.is-menu-open .site-header__bar { background: transparent; }
  .site-header.is-scrolled .site-header__bar { background: color-mix(in srgb, var(--beige) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .site-header.is-scrolled.is-light .site-header__bar { background: color-mix(in srgb, var(--gold) 94%, transparent); }
  .site-subnav { border-top-color: transparent; }
}
/* JS が動かないときは開閉できないので、メニューのボタンを出さない（フッターに全ナビがある） */
.no-js .burger { display: none; }

/* ---------- フッター ---------- */
.site-footer { background: var(--gold); color: var(--beige); padding: 56px var(--gutter); text-align: center; }
.site-footer a { text-decoration: none; }
.site-footer__nav { display: flex; justify-content: center; gap: 24px; font-size: 24px; line-height: 1.5; margin-bottom: 24px; }
.site-footer__legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; margin-bottom: 24px; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__copy { font-size: 16px; margin: 0; }
.site-footer__copy small { font-size: inherit; }
.site-footer__mode { margin: 16px 0 0; font-size: 12px; opacity: .8; }
@media (max-width: 767px) {
  .site-footer { padding-block: 40px; }
  .site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 24px 40px; font-size: 16px; }
  .site-footer__legal { font-size: 12px; }
  .site-footer__copy { font-size: 12px; }
}

/* ---------- 予約モーダル ---------- */
.reserve-modal {
  position: fixed; inset: 0; z-index: 2000; background: var(--beige); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .6s ease-out;
}
.reserve-modal.is-open { opacity: 1; }
.reserve-modal__body {
  display: grid; grid-template-columns: 1fr 3fr; gap: 48px; width: min(85%, 1200px); margin: 40px auto; padding: 80px;
  translate: 0 20px; transition: translate .6s ease-out;
}
.reserve-modal.is-open .reserve-modal__body { translate: 0 0; }
.reserve-modal__head .label { margin-bottom: 8px; }
.reserve-modal__head h2 { font-size: 32px; }
.reserve-card { max-width: 520px; }
.reserve-card .frame { margin-bottom: 32px; }
.reserve-card h3 { margin-bottom: 8px; }
.reserve-card__address { margin-bottom: 24px; }
.reserve-card__note { margin-top: 8px; font-size: 12px; opacity: .8; }
.close-button {
  /* 円は36px（参考どおり右上96px）、押せる範囲は44px */
  position: fixed; top: 92px; right: 92px; z-index: 1; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.close-button::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--text); border-radius: 50%; }
.close-button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; translate: -50% -50%;
  background: linear-gradient(45deg, transparent calc(50% - .5px), var(--text) calc(50% - .5px), var(--text) calc(50% + .5px), transparent calc(50% + .5px)),
              linear-gradient(-45deg, transparent calc(50% - .5px), var(--text) calc(50% - .5px), var(--text) calc(50% + .5px), transparent calc(50% + .5px));
}
@media (max-width: 767px) {
  .reserve-modal__body { grid-template-columns: 1fr; gap: 24px; width: 100%; margin: 0; padding: 48px 40px; }
  .reserve-modal__head h2 { font-size: 24px; }
  .reserve-card h3 { font-size: 16px; }
  .close-button { top: 20px; right: 20px; }
}

/* ---------- 表示時の動き（JS があるときだけ隠してから出す） ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 冒頭のロゴ表示 ---------- */
.intro-cover { display: none; }
.js .intro-cover {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 3000; background: var(--gold);
  transition: opacity .6s; animation: intro-failsafe 0s 3s forwards; /* JS が止まっても 3 秒で必ず消える */
}
.intro-cover__logo { width: 200px; }
.intro-cover.is-done { opacity: 0; pointer-events: none; }
.intro-seen .intro-cover { display: none !important; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (max-width: 767px) { .intro-cover__logo { width: 140px; } }

/* ---------- トップ：Hero ---------- */
.hero { position: relative; height: 100vh; overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }
.no-js .hero__slide:not(:first-child) { display: none; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide:nth-child(1) img { object-position: 50% 50%; }
.hero__slide:nth-child(2) img { object-position: 50% 40%; }
/* 3枚目は黒いソファがヘッダーのメニューの裏に来るため、上端だけ薄いベージュを重ねて文字を読めるようにする（写真は加工しない） */
.hero__slide:nth-child(3)::after { content: ""; position: absolute; inset: 0 0 auto; height: 24%; background: linear-gradient(to bottom, color-mix(in srgb, var(--beige) 85%, transparent), transparent); pointer-events: none; }
.hero__text { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 56px; }
/* 2枚目（#9）は左下にお客様役の髪が入るため、文字の背後（左下）にだけ薄いベージュを重ねる。写真そのものは加工しない */
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 42%; background: radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--beige) 88%, transparent) 35%, transparent 70%); pointer-events: none; }
.hero__title { margin: 0; line-height: 0; }
.hero__logo { width: 240px; }
.hero__tagline { margin: 16px 0 0; font-size: 16px; line-height: 1.6; letter-spacing: .08em; color: var(--text); font-weight: 400; }
@media (max-width: 1024px) { .hero__text { padding: 40px; } }
@media (max-width: 767px) {
  .hero { height: 100vh; height: 100svh; }
  .hero__slide img { object-position: 50% 50% !important; }
  /* スマホは文字が画面の下側いっぱいに近いため、下側全体に薄く重ねる */
  .hero::after { width: 100%; height: 32%; background: linear-gradient(to top, color-mix(in srgb, var(--beige) 88%, transparent) 30%, transparent); }
  .hero__text { padding: 24px; }
  .hero__logo { width: 160px; }
  .hero__tagline { font-size: 13px; }
}

/* ---------- トップ：Essence → Philosophy ----------
   JS がないとき・動きを減らす設定・画面が低いときは静的な縦2ブロック（第15.6章）。
   JS が条件を確かめてから .is-dynamic を付け、430vh の固定演出に切り替える。 */
.essence { position: relative; z-index: 2; }
.essence__sticky { position: relative; }
.essence__text { position: relative; }
.essence__text h2 { color: var(--black); margin-bottom: 24px; }
.essence__text p { margin-bottom: 12px; }
.essence__body p:last-child { margin-bottom: 0; }
.essence__body + .essence__more { margin-top: 32px; }
.essence__text--1 { padding: var(--section) var(--gutter) 32px; max-width: calc(560px + var(--gutter)); margin-left: max(0px, (100% - var(--content) - var(--gutter) * 2) / 2); }
.essence__text--2 { padding: var(--section) var(--gutter); background: var(--gold); color: var(--beige); }
.essence__text--2 > * { max-width: 560px; margin-left: max(0px, (100vw - var(--content) - var(--gutter) * 2) / 2); }
.essence__text--2 h2, .essence__text--2 .label { color: var(--beige); }
/* 静的表示（動きを減らす設定・画面に収まらないとき・JS なし）では、文章 → 写真 → 文章の順に縦に並べる */
.essence:not(.is-dynamic) .essence__sticky { display: flex; flex-direction: column; }
.essence:not(.is-dynamic) .essence__text--1 { order: 1; }
.essence:not(.is-dynamic) .essence__stage { order: 2; }
.essence:not(.is-dynamic) .essence__text--2 { order: 3; }
.essence__rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: min(100% - var(--gutter) * 2, var(--content)); margin: 0 auto var(--section); }
.essence__item { overflow: hidden; aspect-ratio: 4 / 3; }
.essence__item img, .essence__item picture { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .essence__rail { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.essence.is-dynamic { height: calc(var(--H) * 4.3); }
.essence.is-dynamic .essence__sticky { position: sticky; top: 0; height: var(--H); overflow: hidden; background-color: var(--beige); transition: background-color .5s; }
.essence.is-dynamic.is-philosophy .essence__sticky { background-color: var(--gold); }
.essence.is-dynamic .essence__stage { position: absolute; inset: 0; }
.essence.is-dynamic .essence__rail {
  position: absolute; top: 0; left: 0; height: 100%; width: max-content; margin: 0;
  display: flex; align-items: center; gap: 5vw; padding: 0 10vw; will-change: transform;
}
.essence.is-dynamic .essence__item { position: relative; flex-shrink: 0; aspect-ratio: auto; }
.essence.is-dynamic .essence__item img { opacity: 0; filter: blur(12px); transition: opacity .8s ease-out, filter .8s ease-out; }
.essence.is-dynamic .essence__item.is-shown img { opacity: 1; filter: blur(0); }
.essence.is-dynamic .essence__item--1 { width: 600px; height: 400px; margin-top: calc(200px - var(--H) / 2); }
.essence.is-dynamic .essence__item--2 { width: 250px; height: 167px; margin-top: calc(-84px + var(--H) / 2); }
.essence.is-dynamic .essence__item--3 { width: 195px; height: 195px; margin-top: calc(97px - var(--H) / 2); }
.essence.is-dynamic .essence__item--4 { width: 255px; height: 382px; margin-top: calc(-191px + var(--H) / 2); }
.essence.is-dynamic .essence__item--5 { width: 250px; height: 167px; margin-top: calc(84px - var(--H) / 2); }
.essence.is-dynamic .essence__item--6 { width: 292px; height: 292px; margin-top: calc(-146px + var(--H) / 2); }
.essence.is-dynamic .essence__text {
  /* 固定ヘッダーの下の残りの高さの中央に置く */
  position: absolute; z-index: 2; top: calc(var(--header) + var(--subnav) + (100% - var(--header) - var(--subnav)) / 2); left: var(--gutter); translate: 0 -50%;
  width: 560px; max-width: calc(100% - var(--gutter)); padding: 32px; margin: 0;
  background: color-mix(in srgb, var(--beige) 82%, transparent); color: var(--text); transition: background-color .5s, color .5s;
}
.essence.is-dynamic .essence__text > * { max-width: none; margin-left: 0; }
.essence.is-dynamic .essence__text--2 { pointer-events: none; }
/* 下地は表示中の文章にだけ付ける（重ねた非表示側の下地が、もう一方の文字を覆わないように） */
.essence.is-dynamic:not(.is-philosophy) .essence__text--2,
.essence.is-dynamic.is-philosophy .essence__text--1 { background: transparent !important; }
.essence.is-dynamic .essence__text [data-fade] { opacity: var(--o, 1); }
.essence.is-dynamic .essence__text--2 [data-fade] { opacity: var(--o, 0); }
.essence.is-dynamic .essence__text h2 { color: var(--black); transition: color .5s; }
.essence.is-dynamic .essence__text--1 .label, .essence.is-dynamic .essence__text--2 .label { color: var(--gold); transition: color .5s; }
.essence.is-dynamic.is-philosophy .essence__text { background: color-mix(in srgb, var(--gold) 82%, transparent); color: var(--beige); }
.essence.is-dynamic.is-philosophy .essence__text h2, .essence.is-dynamic.is-philosophy .essence__text .label { color: var(--beige); }
.essence.is-dynamic .essence__more { opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s, background-color .2s, color .2s; }
.essence.is-dynamic.is-more .essence__more { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .4s, visibility 0s, background-color .2s, color .2s; }
@media (max-width: 1024px) { .essence.is-dynamic .essence__text { left: var(--gutter); } }
@media (max-width: 767px) {
  .essence.is-dynamic .essence__rail { padding: 0 6vw; }
  .essence.is-dynamic .essence__item--1 { width: 110px; height: 150px; margin-top: calc(75px - var(--H) / 2); left: 3%; top: 10%; }
  .essence.is-dynamic .essence__item--2 { width: 150px; height: 97px; margin-top: calc(-48px + var(--H) / 2); right: 3%; top: 18%; }
  .essence.is-dynamic .essence__item--3 { width: 100px; height: 115px; margin-top: calc(57px - var(--H) / 2); left: 8%; bottom: 10%; }
  .essence.is-dynamic .essence__item--4 { width: 140px; height: 150px; margin-top: calc(-75px + var(--H) / 2); right: 3%; top: 18%; }
  .essence.is-dynamic .essence__item--5 { width: 145px; height: 97px; margin-top: calc(48px - var(--H) / 2); }
  .essence.is-dynamic .essence__item--6 { width: 115px; height: 115px; margin-top: calc(-57px + var(--H) / 2); }
  /* 文章は固定ヘッダーのすぐ下に、余白なしで置く。写真は文章の下の帯（.is-band、JS が位置と高さを決める）を流れる */
  .essence.is-dynamic .essence__text { top: calc(var(--header) + var(--subnav) + 16px); translate: none; left: var(--gutter); width: calc(100% - var(--gutter) * 2); max-width: none; padding: 0; background: transparent !important; }
  .essence.is-dynamic .essence__text h2 { margin-bottom: 12px; }
  .essence.is-dynamic .essence__text .label { margin-bottom: 8px; }
  .essence.is-dynamic .essence__body p { margin-bottom: 12px; }
  .essence.is-dynamic .essence__body + .essence__more { margin-top: 16px; }
  .essence.is-band .essence__stage { inset: auto 0; overflow: hidden; }
  .essence.is-band .essence__item { inset: auto; margin-top: 0 !important; max-height: calc(var(--band) - 8px); }
  .essence.is-band .essence__item:nth-child(odd) { align-self: flex-start; }
  .essence.is-band .essence__item:nth-child(even) { align-self: flex-end; }
  .essence.is-dynamic .essence__text h2 { font-size: 28px; }
  .essence.is-dynamic .essence__text br { display: none; }
}

/* ---------- トップ：Our Approach ---------- */
.approach__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.approach__item .frame { margin-bottom: 24px; }
.approach__item .num { margin-bottom: 8px; }
.approach__item h3 { margin-bottom: 16px; }
@media (max-width: 1024px) {
  .approach__list { grid-template-columns: 1fr; gap: 64px; }
  .approach__item .frame { max-width: 480px; }
}
@media (max-width: 767px) {
  .approach__item .frame { max-width: none; }
  .approach__item .frame--arch { border-radius: 0; }
}

/* ---------- 曲線で切り替わるゴールドの面 ---------- */
.arch-reveal, .arch-static { position: relative; isolation: isolate; overflow-x: clip; color: var(--beige); }
.arch-reveal::before, .arch-static::before {
  content: ""; position: absolute; inset: 0 -10vw; z-index: -1; background: var(--gold);
  clip-path: ellipse(260vw 425vw at 50% 425vw);
}
.js .arch-reveal::before { clip-path: ellipse(240vw 410vw at 50% 425vw); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1); }
.js .arch-reveal.is-active::before { clip-path: ellipse(260vw 425vw at 50% 425vw); }
.arch-static::before { clip-path: ellipse(250vw 425vw at 50% 425vw); }
.arch-reveal .label, .arch-static .label { color: var(--beige); }

/* ---------- 店舗紹介（写真3：情報2） ---------- */
.store-block { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: center; }
.store-block h3 { margin-bottom: 16px; }
.store-block h3 a { text-decoration: none; }
.store-block p { margin-bottom: 8px; }
@media (max-width: 767px) {
  .store-block { grid-template-columns: 1fr; gap: 24px; }
  .store-block .btn-group { flex-direction: column; align-items: stretch; gap: 16px; }
}

/* ---------- Guests ---------- */
.guests__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; max-width: 800px; margin-inline: auto; }
.guest .frame { margin-bottom: 16px; }
.guest h3 { font-size: 20px; font-weight: 300; margin-bottom: 4px; }
.guest__profile { color: var(--gold); font-size: 14px; }
.guest__pending { font-size: 12px; opacity: .7; }
/* 2列で奇数人のときは、最後の1人を中央に置く */
.guests__grid .guest:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 20px); }

/* ---------- 施術事例（トップ・/salon/#case） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1040px; margin-inline: auto; }
.case-card__zoom { display: block; cursor: zoom-in; }
.case-card__zoom img { transition: opacity .3s; }
.case-card__zoom:hover img { opacity: .85; }
.case-card__num { margin-top: 12px; color: var(--gold); font-size: 14px; letter-spacing: .05em; }
.case-note { margin-top: 24px; text-align: center; font-size: 14px; }
.top-case__more { margin-top: 32px; text-align: center; }
/* スマホでは施術事例と来店写真を横並びにし、指で横へ送る。次のカードを少し見せて、横に続くことを示す */
@media (max-width: 767px) {
  .case-grid, .guests__grid {
    display: flex; gap: 16px; max-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .case-grid::-webkit-scrollbar, .guests__grid::-webkit-scrollbar { display: none; }
  .case-card, .guest { flex: 0 0 78%; scroll-snap-align: start; }
  .guests__grid .guest:last-child:nth-child(odd) { width: auto; }
  /* 横に隠れたカードが、送ったときにフェードし直さないようにする */
  .js .case-grid .reveal, .js .guests__grid .reveal { opacity: 1; transform: none; }
  .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .slider-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .3; transition: opacity .3s; }
  .slider-dots span.is-current { opacity: 1; }
}
@media (min-width: 768px) { .slider-dots { display: none; } }
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 72px 16px 24px;
  background: color-mix(in srgb, var(--beige) 96%, transparent); opacity: 0; transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__img { max-width: min(100%, 1080px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox .close-button { top: 16px; right: 16px; }

/* ---------- お知らせの行 ---------- */
.news-list { border-bottom: 1px solid var(--text); }
.news-list li { border-top: 1px solid var(--text); }
.news-row { display: flex; align-items: center; padding: 24px 0; text-decoration: none; transition: color .2s; }
.news-row:hover { color: var(--gold); }
.news-row time { flex: 0 0 auto; margin-right: 24px; font-size: 16px; line-height: 1; opacity: .7; }
.news-row__cat { flex: 0 0 auto; margin-right: 16px; padding: 4px 12px; border-radius: 100px; background: var(--gold); color: var(--beige); font-size: 12px; line-height: 1.4; }
.news-row__title { font-size: 14px; line-height: 1.8; }
.news-index .news-row time { width: 120px; margin-right: 0; }
.news-index .news-row__cat { margin-right: 24px; }
@media (max-width: 767px) {
  .news-row { flex-wrap: wrap; row-gap: 8px; }
  .news-row time { font-size: 14px; width: auto !important; margin-right: 16px !important; }
  .news-row__title { width: 100%; }
}
.news-empty { text-align: center; padding: 40px 0; }

/* ---------- 下層ページ共通 ---------- */
.page-intro { padding: 152px 0 56px; }
.page-intro .label { margin-bottom: 24px; }
.page-intro h1 { margin-bottom: 24px; line-height: 1.5; }
.page-intro__lead { margin: 0; }
.page-intro--center { text-align: center; padding-bottom: 40px; }
.full-photo picture, .full-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 767px) {
  .page-intro { padding: calc(88px + var(--subnav)) 0 32px; }
  .full-photo picture, .full-photo img { aspect-ratio: 1; }
}

.belief .h-large { margin-bottom: 24px; }
.belief__title { margin-bottom: 24px; font-size: 32px; }
@media (max-width: 767px) { .belief__title { font-size: 28px; } }
/* 360px 前後では、見出しのまとまり（例：“女性だからこそわかる）が1行に入るよう、字の大きさを先に下げる（修正指示書 2章） */
@media (max-width: 374px) { h2, .belief__title, .essence.is-dynamic .essence__text h2 { font-size: 24px; } }
.split--nophoto { grid-template-columns: minmax(0, 640px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 40px; }
.split--reverse > :first-child { order: 2; }
.split h3 { margin-bottom: 24px; }
.split .btn { margin-top: 8px; }
.split--text { align-items: start; }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse > :first-child { order: 0; }
}

/* あいさつ文が長いので、写真は文章の上端にそろえる */
.message__body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 40px; }
.message__body--text { grid-template-columns: minmax(0, 640px); }
.message__sign { margin-top: 32px; text-align: right; }
.staff-head { margin: 0 0 32px; }
.staff-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.staff { border-top: 1px solid var(--text); padding-top: 24px; }
.staff h3 { margin-bottom: 8px; }
.staff__role, .staff__title { margin-bottom: 4px; color: var(--gold); }
@media (max-width: 767px) {
  .message__body { grid-template-columns: 1fr; gap: 32px; }
  .staff-list { grid-template-columns: 1fr; gap: 32px; }
}

.seitai-list { margin-bottom: 48px; border-bottom: 1px solid var(--text); }
.seitai-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--text); }
.seitai-item--text { grid-template-columns: minmax(0, 720px); }
.seitai-item h3 { margin-bottom: 24px; }
.seitai-item .dev-note { grid-column: 1 / -1; margin-top: 0; }
.price-head { margin-bottom: 24px; }
.price-list { border-bottom: 1px solid var(--text); margin-bottom: 24px; }
.price-list__row { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--text); }
.price-list dt { font-size: 16px; line-height: 1.75; }
.price-list dt > span { display: block; font-size: 13px; opacity: .75; }
.price-list dd { font-size: 20px; white-space: nowrap; }
.price-note { font-size: 13px; }
@media (max-width: 767px) {
  .seitai-list { margin-bottom: 40px; }
  .seitai-item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .price-list__row { flex-direction: column; gap: 8px; }
}
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: flow; }
.flow h3 { margin: 8px 0; font-size: 20px; }
@media (max-width: 767px) { .flow { grid-template-columns: 1fr; gap: 32px; } }
.faq details { border-top: 1px solid var(--text); }
.faq details:last-child { border-bottom: 1px solid var(--text); }
.faq summary { padding: 24px 32px 24px 0; font-size: 16px; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 20px; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 24px; }

/* 店舗詳細 */
.store-detail { padding: 136px 0 var(--section); }
.store-detail__name { font-size: 32px; line-height: 1.5; margin-bottom: 32px; font-weight: 200; }
.store-detail .frame { margin-bottom: 40px; }
.info-table > div { display: grid; grid-template-columns: 25% 75%; padding: 24px 0; border-top: 1px solid var(--text); }
.info-table > div:last-child { border-bottom: 1px solid var(--text); }
.info-table dt { font-size: 16px; line-height: 1.75; }
.info-table dd { font-size: 14px; line-height: 1.6; }
.store-detail__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
@media (max-width: 767px) {
  .store-detail { padding-top: calc(88px + var(--subnav)); }
  .store-detail__name { font-size: 24px; line-height: 36px; }
  .store-detail .frame { margin-bottom: 40px; }
  .info-table > div { grid-template-columns: 1fr; padding: 16px 0; }
  .info-table dd { padding-bottom: 0; }
}

/* お知らせ一覧・記事 */
.news-index { padding-bottom: 56px; }
.article { padding: 152px 0 var(--section); }
.article__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.article__meta time { opacity: .7; font-size: 16px; }
.article__title { font-size: 24px; line-height: 1.5; margin-bottom: 40px; }
.article__body { margin-bottom: 48px; }
@media (max-width: 767px) {
  .article { padding-top: calc(88px + var(--subnav)); }
  .news-index .section-head { margin-bottom: 48px; }
}

/* ブログ（トップ・一覧・記事） */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.blog-card a { display: block; text-decoration: none; }
.blog-card .frame { margin-bottom: 16px; background: #E6DFD3; }
.blog-card .frame img { transition: transform .8s cubic-bezier(.25, .46, .45, .94); }
.blog-card a:hover .frame img { transform: scale(1.04); }
.blog-card a:hover .blog-card__title { color: var(--gold); }
.frame--logo { display: grid; place-items: center; }
.frame--logo .blog-card__logo { width: 96px; height: auto; object-fit: contain; opacity: .6; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; font-size: 14px; line-height: 1.4; }
.blog-card__meta time { opacity: .7; }
.blog-card__title { font-size: 16px; font-weight: 300; line-height: 1.8; transition: color .2s; }
.top-blog__more { margin-top: 40px; text-align: center; }
.blog-index { padding-bottom: var(--section); }
.blog-cats { margin-bottom: 40px; }
.blog-cats ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.blog-cats a {
  display: block; padding: 6px 20px; border: 1px solid var(--gold); border-radius: 9999px; color: var(--gold);
  font-size: 13px; line-height: 1.6; text-decoration: none; transition: background-color .2s, color .2s;
}
.blog-cats a:hover, .blog-cats a[aria-current="page"] { background: var(--gold); color: var(--beige); }
.blog-index__heading { margin-bottom: 40px; font-size: 24px; text-align: center; }
a.news-row__cat { text-decoration: none; }
.blog-post__image { margin-bottom: 48px; }
.blog-post__image img { width: 100%; }
.rich-text h2 { margin: 56px 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--gold); font-size: 24px; }
.rich-text h3 { margin: 40px 0 16px; color: var(--gold); font-size: 18px; font-weight: 300; }
.rich-text ul, .rich-text ol { margin-bottom: 24px; padding-left: 1.4em; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li + li { margin-top: 4px; }
.rich-text img, .rich-text figure { margin: 32px 0; }
.rich-text blockquote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 1px solid var(--gold); }
.rich-text a { color: var(--gold); }
.blog-author { margin-top: 64px; padding: 32px 0; border-block: 1px solid var(--text); }
.blog-author .label { margin-bottom: 8px; font-size: 13px; }
.blog-author__name { margin-bottom: 4px; font-size: 18px; }
.blog-author__role { color: var(--gold); font-size: 13px; }
.blog-post__cta { margin-top: 64px; text-align: center; }
.blog-post__cta .btn-group { justify-content: center; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; gap: 48px; }
  .blog-cats { margin-bottom: 48px; }
  .top-blog__more { margin: 48px 0 0; }
  .rich-text h2 { margin-top: 48px; font-size: 20px; }
}

/* Contact */
.contact { padding-bottom: var(--section); }
.contact .label { text-align: center; }
.pill-links { display: grid; gap: 16px; max-width: 480px; margin: 0 auto 64px; }
.pill-link {
  display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 96px; padding: 16px 32px;
  border: 1px solid var(--gold); border-radius: 9999px; color: var(--gold); text-decoration: none; text-align: center; transition: background-color .2s, color .2s;
}
.pill-link span { font-size: 16px; }
.pill-link small { font-size: 12px; }
.pill-link:hover { background: var(--gold); color: var(--beige); }

.legal { padding-bottom: var(--section); }

/* ---------- 確認用メモ（preview のみ出力される） ---------- */
.dev-note {
  margin: 40px 0 0; padding: 16px 20px; border: 1px dashed #8a6d3b; background: rgba(255, 255, 255, .55); color: #5a4630;
  font-size: 12px; line-height: 1.8; text-align: left;
}
.dev-note__title { margin: 0 0 4px; font-weight: 400; }
.dev-note ul { list-style: disc; padding-left: 1.4em; }
.arch-reveal .dev-note, .arch-static .dev-note { background: rgba(255, 255, 255, .85); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .arch-reveal::before { clip-path: ellipse(260vw 425vw at 50% 425vw); transition: none; }
  .hero__slide { transition: none; }
  .intro-cover { display: none !important; }
}
