/* ==========================================================
   Tokyo Sake House — 共通スタイル（docs/mockup/assets/mock.css から本番用に整理）
   ========================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper:  #F5F1E9;   /* 生成り */
  --paper2: #ECE6DB;
  --ink:    #1C1A17;
  --sumi:   #121110;   /* 墨 */
  --umber:  #6B4C3B;   /* 焦茶（既存アクセント継承） */
  --ember:  #B8562A;   /* 熾火：熱量のアクセント */
  --mist:   #857C71;
  --line:   #D6CCBF;

  --serif-jp: 'Noto Serif JP', serif;
  --sans-jp:  'Noto Sans JP', sans-serif;
  --serif-en: 'Cormorant Garamond', serif;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-sub: var(--mist);
  --gutter: clamp(20px, 6vw, 96px);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans-jp);
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.9;
  overflow-x: hidden;
  transition: background-color 1.2s ease, color 1.2s ease;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  color: #F5F1E9;
  transition: background .5s, padding .4s, color .5s;
}
.site-hd.scrolled, .site-hd.solid { background: rgba(18,17,16,.92); backdrop-filter: blur(10px); padding-top: 14px; padding-bottom: 14px; }
.site-hd .logo {
  font-family: var(--serif-jp); font-weight: 300; font-size: 15px; letter-spacing: .28em; text-decoration: none; white-space: nowrap;
}
.site-hd .logo small { display: block; font-family: var(--serif-en); font-style: italic; font-size: 11px; letter-spacing: .12em; opacity: .6; }
.site-hd nav { display: flex; align-items: center; gap: 28px; }
.site-hd nav a { font-size: 12px; letter-spacing: .18em; text-decoration: none; opacity: .82; }
.site-hd nav a:hover, .site-hd nav a.on { opacity: 1; }
.site-hd nav a.on { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lang { display: inline-flex; border: 1px solid rgba(245,241,233,.3); font-size: 10px; letter-spacing: .1em; }
.lang span, .site-hd nav .lang a { padding: 4px 10px; opacity: .55; font-size: 10px; letter-spacing: .1em; }
.lang .on { opacity: 1; background: rgba(245,241,233,.15); }
.site-hd nav .lang a:hover { opacity: 1; }
.site-hd nav .hd-cta, .hd-cta {
  font-size: 11px; letter-spacing: .16em; text-decoration: none; opacity: 1;
  padding: 10px 20px; background: var(--ember); color: #fff; white-space: nowrap;
}
.hamburger { display: none; background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--serif-en); font-size: 12px; letter-spacing: .38em; text-transform: uppercase;
  color: var(--fg-sub); margin-bottom: 20px;
}
.h-xl { font-family: var(--serif-jp); font-weight: 300; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.5; letter-spacing: .08em; }
.h-lg { font-family: var(--serif-jp); font-weight: 300; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.65; letter-spacing: .06em; }
.h-md { font-family: var(--serif-jp); font-weight: 400; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.7; letter-spacing: .06em; }
.en-sub { font-family: var(--serif-en); font-style: italic; font-size: clamp(17px, 1.6vw, 22px); color: var(--fg-sub); margin-top: 6px; }
.lead { font-family: var(--serif-jp); font-size: 16px; line-height: 2.3; letter-spacing: .04em; }
.body { font-size: 14px; line-height: 2.1; }
.rule { width: 40px; height: 1px; background: currentColor; opacity: .4; margin: 32px 0; }
.center { text-align: center; }
.keep { display: inline-block; }   /* 見出しの途中で改行させたくない語句のまとまり */
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 12px; letter-spacing: .18em; text-decoration: none; white-space: nowrap;
  padding: 16px 34px; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer;
  transition: background .3s, color .3s, opacity .3s;
}
.btn:hover { background: rgba(127,127,127,.12); }
.btn.fill { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn.fill:hover { opacity: .85; }
.btn.dark { background: var(--sumi); border-color: var(--sumi); color: #F5F1E9; }
.btn:disabled { opacity: .5; cursor: wait; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Generic layout ---------- */
section { position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.pad { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px); }
.dark-sec { background: var(--sumi); color: #F5F1E9; --fg-sub: rgba(245,241,233,.5); }
.paper2 { background: var(--paper2); }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.split.rev > :first-child { order: 2; }
.frame { overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4/3; } .ratio-34 { aspect-ratio: 3/4; } .ratio-169 { aspect-ratio: 16/9; } .ratio-11 { aspect-ratio: 1; }
.cap { font-size: 11px; letter-spacing: .1em; color: var(--fg-sub); margin-top: 10px; }

/* Facts grid */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts > div { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .14em; color: var(--fg-sub); margin-bottom: 4px; }
.facts dd { font-family: var(--serif-jp); font-size: 17px; line-height: 1.5; }
.facts dd small { font-size: 12px; color: var(--fg-sub); font-family: var(--sans-jp); }
.dark-sec .facts, .dark-sec .facts > div { border-color: rgba(245,241,233,.14); }

/* Rating */
.rating { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--serif-en); font-size: 22px; }
.rating small { font-family: var(--sans-jp); font-size: 12px; opacity: .7; letter-spacing: .06em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif-jp); font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif-en); font-size: 22px; line-height: 1; color: var(--umber); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14px; color: #4A453F; }

/* Contact */
.form { display: grid; gap: 22px; max-width: 640px; margin: 0 auto; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: block; font-size: 11px; letter-spacing: .14em; opacity: .6; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(245,241,233,.25);
  color: inherit; font: inherit; font-size: 14px; padding: 10px 0; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: rgba(245,241,233,.7); }
.form textarea { resize: vertical; }
.form select option { background: var(--sumi); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .turnstile { display: flex; justify-content: center; }
.form .status { text-align: center; font-size: 13px; min-height: 1.9em; }
.form .status.ok { color: #8BC68B; }
.form .status.ng { color: #E88B8B; }
.form .consent { font-size: 11px; opacity: .6; }

/* Footer */
.site-ft { background: var(--sumi); color: rgba(245,241,233,.7); padding: 80px var(--gutter) 64px; font-size: 12px; }
.site-ft .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.site-ft h4 { font-family: var(--serif-en); font-weight: 400; font-size: 13px; letter-spacing: .24em; color: #F5F1E9; margin-bottom: 14px; }
.site-ft ul { list-style: none; display: grid; gap: 6px; }
.site-ft a { text-decoration: none; }
.site-ft a:hover { color: #F5F1E9; }
.site-ft .ft-logo { font-family: var(--serif-jp); font-size: 18px; letter-spacing: .26em; color: #F5F1E9; }
.site-ft .ft-addr { margin-top: 14px; line-height: 2; }
.site-ft .copy { max-width: 1200px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(245,241,233,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; opacity: .6; }

/* Fade-in */
.fade { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.fade.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .fade { opacity: 1; transform: none; }
}

/* ---------- English pages（/en/）----------
   和文用の明朝＋広い字間は英文だと間延びするため、見出し類を Cormorant Garamond にして字間を詰める。
   --serif-jp を差し替えるので、ページ別CSSの和文明朝の指定もまとめて英文書体になる */
html[lang="en"] {
  --serif-jp: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --serif-en: 'Cormorant Garamond', 'Noto Serif JP', serif;
}
html[lang="en"] body { line-height: 1.75; }
html[lang="en"] .h-xl { line-height: 1.15; letter-spacing: .005em; }
html[lang="en"] .h-lg { line-height: 1.25; letter-spacing: .005em; }
html[lang="en"] .h-md { font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
html[lang="en"] .lead { font-size: 19px; line-height: 1.75; letter-spacing: .005em; }
html[lang="en"] .faq summary { font-size: 19px; font-weight: 500; }
html[lang="en"] .facts dd { font-size: 19px; }
html[lang="en"] .site-hd nav a { letter-spacing: .12em; }
@media (max-width: 860px) {
  /* 英語のボタン文言は和文より長く、スマホ幅で枠からはみ出すため折り返す */
  html[lang="en"] .btn { white-space: normal; justify-content: center; text-align: center; }
}

/* ---------- Japanese pages ----------
   英字ラベル用のスタイル（Cormorant Garamond のイタリック・大文字・広い字間）は和文だと崩れるため、
   日本語ページでは和文明朝・正体・字間やや狭めにする */
html[lang="ja"] .eyebrow,
html[lang="ja"] .site-hd .logo small,
html[lang="ja"] .site-ft h4 { font-family: var(--serif-jp); font-style: normal; text-transform: none; letter-spacing: .2em; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .site-hd nav { display: none; }
  .site-hd nav.open {
    display: flex; flex-direction: column; gap: 28px;
    position: fixed; inset: 0; background: rgba(18,17,16,.97); justify-content: center; z-index: -1;
  }
  .site-hd nav.open a { font-size: 16px; }
  .hamburger { display: block; }
  .split { grid-template-columns: minmax(0,1fr); }
  .split.rev > :first-child { order: 0; }
  .form .row { grid-template-columns: minmax(0,1fr); }
  .site-ft .cols { grid-template-columns: 1fr 1fr; }
}
