/* =========================================================
   L'Ambre（架空サンプル）— style.css
   テイスト：暗めで上質なファインダイニング。シズル感／大判の料理写真。
   配色：暖かい近黒 ＋ 生成りの文字 ＋ 銅/琥珀の1差し色
   ========================================================= */

:root {
  --bg:      #100d0a;   /* 暖かい黒 */
  --bg-2:    #16120d;
  --bg-3:    #1d1812;
  --panel:   #1a150f;
  --cream:   #ece4d6;   /* 生成りの文字 */
  --cream-2: #d8cdb9;
  --muted:   #968b78;
  --line:    #2c251c;
  --line-2:  #3a3024;
  --accent:  #c8893f;   /* 銅/琥珀 */
  --accent-2:#b07a3c;
  --accent-ink: #100d0a;
  --err:     #c8553f;

  --maxw: 1380px;
  --gutter: clamp(18px, 3.4vw, 56px);
  --ease: cubic-bezier(.22,1,.36,1);
  --header-h: 72px;

  --serif: "Playfair Display", "Noto Sans JP", serif;
  --sans: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --jp: "Noto Sans JP", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* , *::before, *::after { box-sizing: border-box; }
figure, figcaption, blockquote, dl, dt, dd, fieldset, legend, menu { margin: 0; }
fieldset { padding: 0; border: 0; min-inline-size: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font-family: var(--jp); font-weight: 300; line-height: 1.85; letter-spacing: .015em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.1; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

.skip-link { position: absolute; left: 8px; top: -80px; background: var(--accent); color: var(--bg); padding: 10px 16px; z-index: 2000; transition: top .2s; border-radius: 4px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 6.5vw, 108px); }
.section--tight { padding-block: clamp(54px, 7vw, 100px); }

.eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .8em; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; padding: 15px 32px; border-radius: 2px; border: 1px solid var(--accent); color: var(--accent); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease); white-space: nowrap; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { background: var(--accent); color: var(--bg); }
.btn-fill { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-fill:hover { background: transparent; color: var(--accent); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-lg { padding: 18px 42px; font-size: .86rem; }

.link-u { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 4px; color: var(--accent); transition: opacity .3s; }
.link-u:hover { opacity: .7; }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: linear-gradient(to bottom, rgba(16,13,10,.85), rgba(16,13,10,0)); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(16,13,10,.92); backdrop-filter: saturate(140%) blur(12px); border-bottom-color: var(--line); }
.header-inner { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter); height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { grid-column: 2; justify-self: center; font-family: var(--serif); font-weight: 600; font-size: 1.85rem; letter-spacing: .06em; color: var(--cream); }
.global-nav--left { grid-column: 1; justify-self: start; }
.global-nav--right { grid-column: 3; justify-self: end; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-link { font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: 4px 0; color: var(--cream-2); transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-cta { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 10px 22px; border: 1px solid var(--accent); border-radius: 2px; color: var(--accent); transition: background .35s, color .35s; }
.nav-cta:hover, .nav-cta.is-active { background: var(--accent); color: var(--bg); }

.nav-toggle { display: none; grid-column: 1; flex-direction: column; gap: 6px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }

/* モバイルメニュー（inset を使わず top/left/right/height を明示） */
.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: var(--bg-2); z-index: 150; transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility .55s; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); overflow-y: auto; }
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu ul { width: 100%; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 0; }
.mobile-menu a span { font-family: var(--serif); font-weight: 600; font-size: 2.1rem; color: var(--cream); }
.mobile-menu a em { font-style: normal; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.mobile-menu a.is-active span { color: var(--accent); }
.mobile-menu__tel { margin-top: 36px; font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; color: var(--accent); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(1.04); } /* 動画なし（動きを減らす設定）でも動画と同じ暗さにして文字を読めるように */
.hero__media .hero__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(1.04); }
@media (prefers-reduced-motion: reduce) { .hero__media .hero__video { display: none; } }
.hero__media::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(16,13,10,.5) 0%, rgba(16,13,10,.3) 35%, rgba(16,13,10,.75) 80%, var(--bg) 100%); }
.hero__copy { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(56px, 8vw, 110px); }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 10vw, 9rem); line-height: .96; letter-spacing: -.01em; color: var(--cream); }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__bottom { margin-top: 36px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 26px; }
.hero__lead { max-width: 42ch; color: var(--cream-2); font-size: 1rem; font-weight: 300; }
.hero__meta { display: flex; gap: 30px; align-items: flex-end; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero__meta dd { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); margin: 0; }

/* ---------- お知らせ帯 ---------- */
.notice-bar { background: var(--bg-3); border-block: 1px solid var(--line); }
.notice-bar .wrap { display: flex; gap: clamp(20px, 4vw, 60px); align-items: center; padding-block: 16px; flex-wrap: wrap; }
.notice-bar__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.notice-bar ul { display: flex; gap: 30px; flex-wrap: wrap; }
.notice-bar li { font-size: .84rem; color: var(--cream-2); display: flex; gap: 12px; }
.notice-bar time { font-family: var(--mono); font-size: .76rem; color: var(--muted); }

/* ---------- セクション見出し ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.sec-head__l { max-width: 60ch; }
.sec-head__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1.02; color: var(--cream); margin-top: 18px; }
.sec-head__title em { font-style: italic; color: var(--accent); }
.sec-head__desc { color: var(--muted); margin-top: 20px; font-weight: 300; }

/* ---------- コンセプト（2カラム） ---------- */
.concept { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.concept__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.concept__media img { width: 100%; height: 100%; object-fit: cover; }
.concept__big { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.35; color: var(--cream); }
.concept__big em { font-style: italic; color: var(--accent); }
.concept p { color: var(--muted); margin-top: 26px; font-weight: 300; max-width: 46ch; }
.concept__sign { margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--cream-2); }

/* ---------- クリップリビール（画像）---------- */
.clip-wrap { overflow: hidden; }
.clip-media { width: 100%; height: 100%; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.clip-media.is-in { clip-path: inset(0 0 0 0); }
.clip-media img { width: 100%; height: 100%; object-fit: cover; }
.reveal-all .clip-media { clip-path: inset(0 0 0 0) !important; }

/* ---------- コース一覧 ---------- */
.course-list { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 96px); }
.course-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.course-row:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.course-row:nth-child(even) .course-row__media { order: 2; }
.course-row__media { position: relative; aspect-ratio: 5/6; overflow: hidden; }
.course-row__media[data-parallax] img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .2s linear; will-change: transform; }
.course-row__num { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; color: var(--accent); }
.course-row__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; color: var(--cream); margin: 14px 0 6px; }
.course-row__name em { font-style: italic; }
.course-row__jp { font-size: .9rem; color: var(--muted); letter-spacing: .08em; }
.course-row__price { font-family: var(--mono); font-size: 1.15rem; color: var(--accent); margin: 22px 0 4px; }
.course-row__pnote { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.course-row__desc { color: var(--cream-2); margin-top: 22px; font-weight: 300; max-width: 48ch; }
.course-row .btn { margin-top: 30px; }

/* ---------- メニュー（dishes 一覧）---------- */
.menu-block { margin-bottom: clamp(56px, 8vw, 110px); }
.menu-block__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.menu-block__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--cream); }
.menu-block__title em { font-style: italic; color: var(--accent); }
.menu-block__meta { font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
.menu-block__price { font-family: var(--mono); font-size: 1.1rem; color: var(--accent); }
.menu-block__lead { color: var(--muted); margin: 18px 0 30px; font-weight: 300; max-width: 60ch; }
.dish { display: grid; grid-template-columns: minmax(180px, .9fr) 1.4fr; gap: 12px 30px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dish__name { font-family: var(--serif); font-size: 1.2rem; color: var(--cream); font-weight: 500; }
.dish__desc { color: var(--muted); font-size: .92rem; font-weight: 300; }

/* ペアリング */
.pairing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pairing-card { border: 1px solid var(--line-2); padding: 32px 28px; background: var(--panel); display: flex; flex-direction: column; }
.pairing-card__glasses { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pairing-card__name { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); margin: 14px 0 10px; }
.pairing-card__desc { color: var(--muted); font-size: .9rem; font-weight: 300; flex: 1; }
.pairing-card__price { font-family: var(--mono); font-size: 1.1rem; color: var(--cream); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- 哲学（about / index） ---------- */
.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.philo { padding: 44px 32px 44px 0; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line); }
.philosophy .philo:last-child { border-right: 0; }
.philo__no { font-family: var(--mono); font-size: .74rem; color: var(--accent); letter-spacing: .12em; }
.philo__title { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--cream); margin: 18px 0 4px; }
.philo__jp { font-size: .86rem; color: var(--accent); margin-bottom: 16px; letter-spacing: .06em; }
.philo__desc { color: var(--muted); font-size: .92rem; font-weight: 300; }

/* 大型ステートメント */
.statement { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 5vw, 4.2rem); line-height: 1.18; color: var(--cream); max-width: 24ch; text-align: center; margin-inline: auto; }
.statement em { font-style: italic; color: var(--accent); }

/* ---------- シェフ ---------- */
.chef { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.chef__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.chef__media img { width: 100%; height: 100%; object-fit: cover; }
.chef__role { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.chef__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--cream); margin: 14px 0 4px; }
.chef__name-en { font-family: var(--mono); font-size: .84rem; color: var(--muted); letter-spacing: .14em; }
.chef__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--cream); margin: 30px 0; padding-left: 24px; border-left: 2px solid var(--accent); }
.chef__bio { color: var(--muted); font-weight: 300; max-width: 52ch; }

/* ---------- ギャラリー ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.gtile { position: relative; overflow: hidden; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.gtile:hover img { transform: scale(1.05); }
.gtile__cap { position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.gtile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(to top, rgba(16,13,10,.7), transparent); opacity: 0; transition: opacity .4s; }
.gtile:hover .gtile__cap, .gtile:hover::after { opacity: 1; transform: none; }
.gtile__cap strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--cream); }
.gtile__cap span { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gtile--tall { grid-column: span 4; aspect-ratio: 4/5; }
.gtile--wide { grid-column: span 8; aspect-ratio: 16/9; }
.gtile--sq   { grid-column: span 4; aspect-ratio: 1/1; }
.gtile--half { grid-column: span 6; aspect-ratio: 3/2; }

/* ---------- アクセス / 店舗情報 ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.access__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.access__media img { width: 100%; height: 100%; object-fit: cover; }
.info-table { margin-top: 26px; border-top: 1px solid var(--line-2); }
.info-table dl { display: grid; grid-template-columns: minmax(110px, .4fr) 1fr; gap: 0; }
.info-table dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-table dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--cream-2); font-weight: 300; font-size: .94rem; }
.info-table a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.info-table a:hover { border-color: var(--accent); }

/* ---------- 予約CTA ---------- */
.reserve-cta { background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; padding-block: clamp(72px, 10vw, 140px); position: relative; }
.reserve-cta__eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.reserve-cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.06; color: var(--cream); margin-bottom: 24px; }
.reserve-cta__lead { color: var(--muted); font-weight: 300; margin-bottom: 40px; }
.reserve-cta__note { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 22px; }

/* ---------- ページヘッダー（下層） ---------- */
.page-hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 9vw, 6.5rem); line-height: .98; color: var(--cream); margin-top: 18px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { margin-top: 22px; max-width: 56ch; color: var(--muted); font-weight: 300; }
.breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.breadcrumb a { color: var(--muted); transition: color .3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin-inline: 8px; color: var(--line-2); }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(54px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr .9fr .9fr; gap: 36px; padding-bottom: 60px; }
.footer-logo { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; letter-spacing: .05em; color: var(--cream); }
.footer-tag { color: var(--cream-2); margin-top: 14px; font-weight: 300; }
.footer-cuisine { font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-top: 10px; letter-spacing: .08em; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.footer-col a { font-size: .88rem; color: var(--cream-2); width: fit-content; transition: color .3s; font-weight: 300; }
.footer-col a:hover { color: var(--accent); }
.footer-line { font-size: .84rem; color: var(--muted); font-weight: 300; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.sample-note { font-size: .76rem; color: var(--accent); font-weight: 300; }
.copyright { font-family: var(--mono); font-size: .7rem; color: var(--muted); }

/* ---------- to-top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--accent); font-size: 1.1rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, visibility .4s, transform .4s, background .3s, color .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* ---------- thanks ---------- */
.thanks { text-align: center; max-width: 660px; margin-inline: auto; padding-top: 40px; }
.thanks h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem,9vw,5.5rem); line-height: 1; color: var(--cream); }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { color: var(--muted); margin: 22px auto 0; max-width: 48ch; font-weight: 300; }

/* ---------- contact / 予約フォーム ---------- */
.form-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 5vw, 90px); align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-field { margin-bottom: 28px; }
.form-field label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.form-field .req { color: var(--accent); margin-left: 6px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 14px 4px; font: inherit; font-size: 1rem; font-weight: 300; color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); transition: border-color .35s; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8893f' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.form-field select option { background: var(--bg-2); color: var(--cream); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: var(--err); }
.field-error { color: var(--err); font-size: .8rem; margin-top: 8px; font-family: var(--mono); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 300; }
.alert { border: 1px solid var(--err); border-radius: 4px; padding: 15px 18px; margin-bottom: 30px; font-size: .9rem; color: var(--err); background: rgba(200,85,63,.08); }
.form-aside { background: var(--panel); border: 1px solid var(--line-2); padding: clamp(28px, 3vw, 44px); }
.form-aside__big { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem,3vw,2.2rem); line-height: 1.3; color: var(--cream); }
.form-aside dl { margin-top: 28px; }
.form-aside dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-top: 20px; }
.form-aside dd { margin: 6px 0 0; color: var(--cream-2); font-weight: 300; font-size: .92rem; }

/* ---------- reveal + フェイルセーフ ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.1s; } .reveal[data-delay="2"]{ transition-delay:.2s; } .reveal[data-delay="3"]{ transition-delay:.3s; }
.js .line-rise { overflow: hidden; }
.js .line-rise > * { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.line-rise.is-in > * { transform: none; }
.reveal-all .reveal { opacity: 1 !important; transform: none !important; }
.reveal-all .line-rise > * { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .line-rise > *, .hero__title .ln > span { opacity: 1 !important; transform: none !important; }
  .clip-media { clip-path: inset(0 0 0 0) !important; }
  html { scroll-behavior: auto; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .concept { grid-template-columns: 1fr; }
  .concept__media { aspect-ratio: 16/10; }
  .course-row, .course-row:nth-child(even) { grid-template-columns: 1fr; gap: 26px; }
  .course-row:nth-child(even) .course-row__media { order: 0; }
  .course-row__media { aspect-ratio: 16/10; }
  .chef { grid-template-columns: 1fr; }
  .chef__media { aspect-ratio: 16/11; max-width: 520px; }
  .philosophy { grid-template-columns: 1fr; }
  .philo { border-right: 0; padding-right: 0; }
  .pairing-grid { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; }
  .access__media { aspect-ratio: 16/10; }
  .gtile--tall, .gtile--wide, .gtile--sq, .gtile--half { grid-column: span 6; }
  .gtile--wide { aspect-ratio: 4/3; }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .global-nav--left, .global-nav--right { display: none; }
  .nav-toggle { display: flex; }
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .dish { grid-template-columns: 1fr; gap: 6px; }
  .info-table dl { grid-template-columns: 1fr; }
  .info-table dt { padding-bottom: 4px; border-bottom: 0; }
  .info-table dd { padding-top: 4px; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(4px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .gtile--tall, .gtile--wide, .gtile--sq, .gtile--half { grid-column: span 12; aspect-ratio: 4/3; }
  .hero__meta { gap: 22px; }
}

/* ---------- QA調整（2026-10-27） ---------- */
.hero__eyebrow, .hero__title { text-shadow: 0 1px 14px rgba(16,13,10,.55); }
@media (max-width: 480px) {
  /* 3列のままだと住所・営業時間が1〜2文字ずつ折り返していたため2列に */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 見出しの改行を整える（1文字だけの行・文節の途中での改行を防ぐ。対応ブラウザのみ） */
h1, h2, h3, [class*="__title"] { text-wrap: balance; word-break: auto-phrase; overflow-wrap: break-word; }
p, li, dd, blockquote { text-wrap: pretty; }
