/* Clover hair dress — v2
   元デザイン（ChatGPT Sites版）を再現：クリーム地／明朝の深緑見出し／
   セージ色パネル／ピル型ボタン／非対称レイアウト。
   新規セクション（Menu等）はパーツ集の型（タブ・点線リーダー・マーキー・
   固定予約バー）を同じ色と書体で組み直した。 */
:root {
  --bg: #f5f1e6;
  --cream: #fbf8ef;
  --panel: #efe9d6;
  --sage: #dbe7db;
  --sage-mark: #a9c3ab;
  --green: #214e34;
  --accent: #2f5d3a;
  --gold: #a08c5b;
  --ink: #2e332e;
  --sub: #7a7f76;
  --line: #d9d3bf;
  --serif: "Hiragino Mincho ProN", "Hiragino Mincho", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.9; font-size: 15px; }
a { color: var(--accent); }
h1, h2 { font-family: var(--serif); color: var(--green); font-weight: 500; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 40px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; line-height: 0; display: inline-block; }
.brand img { height: 48px; width: auto; display: block; }
.nav { display: flex; gap: 36px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--green); color: var(--cream) !important;
  padding: 10px 28px; border-radius: 999px; font-size: 13px !important;
}

/* Layout */
main { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .28em; color: var(--accent); margin-bottom: 16px; }
.eyebrow.gold { color: var(--gold); }
.section-head h2 { font-size: 44px; line-height: 1.5; }
.section-note { color: var(--sub); font-size: 13px; margin-top: 24px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; padding: 72px 0 64px; align-items: start; }
.hero h1 { font-size: 54px; line-height: 1.5; margin: 24px 0 32px; }
.hero h1 .line-mask > span {
  background: linear-gradient(100deg, #143c24 0%, #2f5d3a 48%, #7fa383 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.line-mask > span { display: inline-block; white-space: nowrap; animation: riseIn 1s cubic-bezier(.2,.7,.2,1) both; }
.line-mask:nth-child(1) > span { animation-delay: .05s; }
@keyframes riseIn { from { transform: translateY(110%); } to { transform: translateY(0); } }
.hero-sub { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-bottom: 16px; }
.hero-body { color: var(--sub); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.btn-pill {
  display: inline-block; background: var(--green); color: var(--cream); text-decoration: none;
  padding: 16px 36px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 12px 24px rgba(33,78,52,.18); transition: transform .25s ease, background .25s ease;
}
.btn-pill:hover { background: var(--accent); transform: translateY(-2px); }
.link-under { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-size: 14px; }
.scroll-cue { writing-mode: vertical-rl; color: var(--sub); font-size: 11px; letter-spacing: .3em; margin-top: 64px; }
.photo-panel {
  position: relative; background: var(--sage); aspect-ratio: 4 / 4.4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--green); overflow: hidden;
}
.photo-panel::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.65); pointer-events: none; }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; display: block; animation: slowZoom 14s ease-in-out infinite alternate; }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.photo-label { position: absolute; top: 36px; left: 40px; font-size: 12px; letter-spacing: .24em; color: var(--accent); }
.clover-mark { width: 96px; height: 96px; color: var(--sage-mark); margin-bottom: 24px; }
.photo-title { font-family: var(--serif); font-size: 20px; }
.photo-note { color: var(--sub); font-size: 13px; }
.hero-caption { display: flex; justify-content: space-between; color: var(--sub); font-size: 12px; margin-top: 12px; }
.hero-caption span { color: var(--gold); margin-right: auto; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 13px; letter-spacing: .24em; color: var(--accent); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* About */
#about .section-head { display: grid; grid-template-columns: 240px 1fr; align-items: start; }
#about .section-head h2 { font-size: 48px; }
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 64px; margin-top: 56px; align-items: start; }
.promise-panel {
  background: var(--panel); border: 1px solid var(--line); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.promise-panel .clover-mark { width: 120px; height: 120px; color: var(--accent); margin: 0; }
.promise-panel p { position: absolute; left: 24px; bottom: 20px; font-size: 12px; letter-spacing: .12em; color: var(--sub); }
.prose p { color: var(--sub); margin-bottom: 24px; }
.prose .lead-serif { font-family: var(--serif); font-size: 20px; line-height: 2.1; color: var(--ink); }
.philosophy-list { margin-top: 72px; border-top: 1px solid var(--line); }
.philosophy-row { display: flex; gap: 48px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.philosophy-name { font-family: var(--serif); font-size: 19px; color: var(--green); min-width: 200px; }
.philosophy-name span { color: var(--gold); font-size: 13px; margin-right: 16px; }
.philosophy-row p:last-child { color: var(--sub); }

/* Menu — tabs + dotted leaders */
.menu-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 40px 0 8px; }
.menu-tab {
  font-family: var(--sans); font-size: 13px; letter-spacing: .08em;
  background: transparent; color: var(--green); border: 1px solid var(--accent);
  padding: 10px 28px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.menu-tab[aria-selected="true"] { background: var(--green); color: var(--cream); }
.menu-group { margin-top: 40px; animation: fadeIn .35s ease both; }
.menu-group h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--green); margin-bottom: 8px; }
.menu-group-note { color: var(--sub); font-size: 13px; margin-top: 16px; max-width: 720px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.menu-list { list-style: none; }
.menu-list li { display: flex; align-items: baseline; padding: 12px 0; }
.menu-name { max-width: 75%; }
.menu-dots { flex: 1; border-bottom: 2px dotted #c9c2a8; margin: 0 14px; transform: translateY(-4px); }
.menu-price { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }

/* Access */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border: 1px solid var(--line); background: var(--cream); }
.map-panel {
  background: var(--sage); min-height: 480px; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--green);
}
.map-panel .clover-mark { width: 80px; height: 80px; }
.map-title { font-family: var(--serif); font-size: 26px; }
.map-note { color: var(--sub); font-size: 13px; }
.access-info { padding: 56px; }
.access-brand { line-height: 0; margin-bottom: 40px; }
.access-brand img { height: 66px; width: auto; display: block; }
.info-table > div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-table dt { font-size: 12px; letter-spacing: .18em; color: var(--accent); padding-top: 4px; }
.info-table dd { color: var(--ink); }
.btn-outline {
  display: inline-block; margin-top: 32px; padding: 12px 32px; border: 1px solid #b9bfae;
  border-radius: 999px; color: var(--sub); text-decoration: none; font-size: 13px; background: var(--cream);
}
.btn-outline:hover { color: var(--green); border-color: var(--accent); }

/* Reservation / Footer */
#reserve p { color: var(--sub); margin-bottom: 16px; }
.reserve-phone { font-family: var(--serif); font-size: 30px; color: var(--green) !important; }
.reserve-phone a { color: var(--green); text-decoration: none; }
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 40px 24px 56px; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 18px; color: var(--green); letter-spacing: .06em; }
.footer-note { color: var(--sub); font-size: 13px; margin-top: 8px; }
.is-disabled { pointer-events: none; opacity: .45; }

/* Call FAB — 右下に常時表示（全画面共通） */
.call-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--cream); text-decoration: none;
  padding: 16px 22px 16px 18px; border-radius: 999px; font-size: 13px; letter-spacing: .06em;
  box-shadow: 0 14px 28px rgba(33,78,52,.3);
  transition: transform .25s ease, background .25s ease;
}
.call-fab:hover { background: var(--accent); transform: translateY(-2px); }
.call-fab svg { width: 22px; height: 22px; fill: var(--cream); flex: none; }
.call-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 1px solid rgba(47,93,58,.55); animation: fabPulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.14); opacity: 0; } 100% { transform: scale(1.14); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .site-header { padding: 10px 20px; }
  .brand img { height: 36px; }
  .access-brand img { height: 52px; }
  .nav { gap: 18px; }
  .nav a { font-size: 12px; }
  .nav a:not(.nav-cta) { display: none; }
  main { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .hero h1 { font-size: 36px; }
  .scroll-cue { display: none; }
  #about .section-head { grid-template-columns: 1fr; }
  #about .section-head h2, .section-head h2 { font-size: 32px; }
  .about-grid, .access-grid { grid-template-columns: 1fr; }
  .promise-panel { max-width: 400px; }
  .access-info { padding: 32px 24px; }
  .map-panel { min-height: 300px; }
  .philosophy-row { flex-direction: column; gap: 4px; }
  .call-fab { right: 16px; bottom: 16px; padding: 15px; }
  .call-fab-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .line-mask > span, .photo-panel img, .call-fab::after { animation: none; }
  html { scroll-behavior: auto; }
}
