/* =====================================================================
   t02 ハンバーガー店（Lv2 スタンダード / A 店舗・予約型）
   架空の店「OOKINI BURGER」— 大阪・〇〇の、ふつうに旨いハンバーガー屋。
   写真が主役、言葉は少なく。黒・クリーム・トマトの3色。

   ▼▼▼ 差し替えポイント（お店ごとに変えるのは、ここと index.html の本文だけ） ▼▼▼
   ===================================================================== */
:root {
  /* ① 色 — 飲食なので暖色で組む。青・緑・紫は面にも差し色にも使わない（食欲が落ちる）。
        --accent の上の文字は白（4.87:1）。--accent を小さな文字色にしない。 */
  --ink: #16120e;        /* 黒（最初の画面・足元・文字） */
  --paper: #f3ece1;      /* クリーム（ページの地） */
  --paper-2: #e9dfcf;    /* 少し濃いクリーム（区切り・地図） */
  --accent: #cf3c18;     /* トマト（持ち帰り・ボタン・ピン） */
  --on-accent: #ffffff;
  --muted: #5f564c;      /* クリームの上の補足の文字（6.1:1） */
  --muted-dark: #b9ad9d; /* 黒の上の補足の文字（8.5:1） */
  --line: rgba(22, 18, 14, .16);

  /* ② 書体 — 英字・数字（幅を広げて使う）／和文。index.html の Google Fonts の行もあわせて直す */
  --font-en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  /* ③ 余白と幅 */
  --gutter: 20px;
  --wrap: 1200px;
  --sec-y: 88px;
  --dock-h: 64px;
}
@media (min-width: 720px) { :root { --gutter: 40px; --sec-y: 120px; } }
@media (min-width: 1040px) { :root { --gutter: 64px; --sec-y: 160px; } }
/* ▲▲▲ 差し替えポイント ここまで ▲▲▲ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-jp); font-size: 16px; line-height: 1.8; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; word-break: auto-phrase; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
.en { font-family: var(--font-en); font-stretch: 125%; letter-spacing: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
.label { font-family: var(--font-en); font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .04em;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--line { border: 2px solid currentColor; color: var(--on-accent); }
.btn--line:hover { background: var(--on-accent); color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn__num { font-weight: 700; font-size: 14px; opacity: .7; }

/* ---------- ヘッダー（最初の画面の上に重ねる） ---------- */
.head {
  position: absolute; z-index: 10; inset: 0 0 auto 0;
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--gutter); color: var(--paper);
}
.head__logo { font-family: var(--font-en); font-stretch: 125%; font-weight: 900; font-size: 20px; line-height: 1; text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.head__logo span { font-weight: 600; font-size: 10px; letter-spacing: .24em; }
.head__nav { display: none; margin-left: auto; gap: 28px; }
.head__nav a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 0; }
.head__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.head__cta { display: none; }
@media (min-width: 900px) {
  .head { padding-top: 28px; }
  .head__nav { display: flex; }
  .head__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
}

/* ---------- 1. 最初の画面 ---------- */
.hero {
  --word: min(18.5vw, 300px);             /* 店名の大きさ（6文字で画面幅の9割ほど） */
  position: relative; overflow: hidden;
  min-height: clamp(640px, 100svh, 980px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 88px 0 calc(var(--dock-h) + 150px);
  background: var(--accent); color: var(--on-accent);   /* 最初の画面はトマト色（明るく） */
}
.hero__name { position: relative; display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; }
.hero__word {
  font-family: var(--font-en); font-stretch: 125%; font-weight: 900;
  font-size: var(--word); line-height: .8; letter-spacing: -.02em; white-space: nowrap;
  color: var(--paper);
}
.hero__mark { font-size: .32em; vertical-align: top; margin-left: .04em; line-height: 1; }
/* 店名の意味（辞書の注のように小さく） */
.hero__gloss { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--on-accent); }
.hero__gloss .en { font-weight: 800; font-stretch: 110%; }
@media (min-width: 720px) {
  .hero__name { display: block; }
  .hero__gloss { position: absolute; right: .2em; top: 100%; margin-top: 18px; font-size: 14px; text-align: right; }
}
/* バーガーは店名の下半分に重ねる */
.hero__burger { position: relative; width: min(86vw, 500px, 56svh); margin-top: calc(var(--word) * -.3); }
.hero__burger img { width: 100%; filter: drop-shadow(0 26px 30px rgba(70, 14, 0, .45)); will-change: transform; cursor: pointer; }
/* 吹き出し「おおきに！」 */
.bubble {
  position: absolute; top: 4%; right: -2%; z-index: 2;
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1;
  padding: 12px 18px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateY(10px) scale(.6); transform-origin: 20% 100%;
  transition: opacity .2s ease, transform .35s cubic-bezier(.3, 1.6, .5, 1);
  box-shadow: 0 10px 24px rgba(70, 14, 0, .25);
}
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -8px; border: 9px solid transparent; border-top-color: var(--paper); border-bottom: 0; }
.bubble.is-on { opacity: 1; transform: none; }
.hero__burger.is-wobble { animation: wobble .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes wobble { 0% { transform: none; } 30% { transform: rotate(-5deg) scale(1.04); } 60% { transform: rotate(3deg); } 100% { transform: none; } }
@media (min-width: 720px) { .bubble { font-size: 20px; padding: 14px 22px; } }
.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--dock-h) + 24px);
  display: grid; gap: 6px;
}
.hero__line { font-size: 22px; font-weight: 700; line-height: 1.3; font-stretch: 110%; }
.hero__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--on-accent); }
.hero__open { font-family: var(--font-en); font-stretch: 110%; font-size: 13px; font-weight: 700; color: var(--on-accent); }
.hero__open .en { font-weight: 900; margin-right: 6px; }
.hero__sep { margin: 0 8px; opacity: .6; }
@media (min-width: 720px) {
  .hero { padding: 112px 0 120px; }
  .hero__burger { width: min(40vw, 500px, 56svh); }
  .hero__foot { bottom: 36px; grid-template-columns: 1fr auto; align-items: end; }
  .hero__line { font-size: 26px; }
  .hero__title { grid-column: 1; }
  .hero__open { grid-column: 2; grid-row: 2; text-align: right; }
}
/* 最初に一度だけ：バーガーが落ちてくる */
.js .hero__burger { animation: drop .9s cubic-bezier(.2, .8, .25, 1.05) .15s both; }
.js .hero__word { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-60px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 2. お知らせ ---------- */
.news { padding: 56px 0; border-bottom: 1px solid var(--line); }
.news__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.news__head { font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.news__list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.news__list li:last-child { border-bottom: 1px solid var(--line); }
.news__list time { font-size: 13px; font-weight: 600; color: var(--muted); font-stretch: 100%; }
.news__list a { text-decoration: none; font-size: 15px; }
.news__list a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .news { padding: 64px 0; }
  .news__in { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
  .news__list li { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: baseline; }
}

/* ---------- 3. 店のこと ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); }
.story__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.story__text { padding: 64px var(--gutter) var(--sec-y); align-self: center; }
.story .sec-head { margin-bottom: 32px; }
.story__body { max-width: 30em; }
.craft { margin-top: 40px; border-top: 1px solid var(--line); }
.craft div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.craft dt { font-weight: 800; font-size: 14px; letter-spacing: .06em; padding-top: 2px; }
.craft dd { margin: 0; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(100svh, 900px); }
  .story__photo { aspect-ratio: auto; height: 100%; }
  .story__text { padding: var(--sec-y) var(--gutter); max-width: 640px; }
}

/* ---------- 見出し（英字＋和文） ---------- */
.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 56px; }
.sec-head__en { font-family: var(--font-en); font-stretch: 125%; font-weight: 900; font-size: clamp(56px, 13vw, 132px); line-height: .85; letter-spacing: -.02em; }
.sec-head__jp { font-size: 14px; font-weight: 500; color: var(--muted); }

/* ---------- 3. メニュー ---------- */
.menu { padding: var(--sec-y) 0; }
.burgers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
.burger img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(22, 18, 14, .22)); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.burger:hover img { transform: translateY(-6px) rotate(-2deg); }
.burger__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 10px; margin-top: 18px; }
.burger h3 { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.burger__price { font-family: var(--font-en); font-stretch: 110%; font-weight: 700; font-size: 18px; }
.burger__en { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin-top: 2px; }
.burger__desc { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) {
  .burgers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
  .burger h3 { font-size: 17px; }
  .burger__price { font-size: 20px; }
}

.lists { display: grid; grid-template-columns: minmax(0, 1fr); gap: 112px; margin-top: 104px; }
.list { position: relative; border-top: 2px solid var(--ink); padding-top: 24px; }
.list__img { position: absolute; right: 0; top: -84px; width: 104px; filter: drop-shadow(0 10px 12px rgba(22, 18, 14, .2)); }
.list__title { font-weight: 900; font-size: 26px; line-height: 1; margin-bottom: 12px; }
.list dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list dt { font-size: 15px; }
.list dd { font-family: var(--font-en); font-stretch: 110%; font-weight: 700; font-size: 16px; }
.list__set dt, .list__set dd { font-weight: 700; color: var(--accent); }
@media (min-width: 900px) { .lists { grid-template-columns: 1fr 1fr; gap: 64px; } .list__img { width: 128px; top: -104px; } }

.menu__notes { margin-top: 48px; font-size: 13px; color: var(--muted); max-width: 46em; }
.allergy { margin-top: 12px; }
.allergy summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.allergy p { margin-top: 4px; }

/* ---------- 4. 持ち帰り ---------- */
.takeout { background: var(--accent); color: var(--on-accent); padding: calc(var(--sec-y) * .8) 0; }
.takeout__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.takeout__title { font-weight: 900; font-size: clamp(48px, 11vw, 104px); line-height: .9; letter-spacing: -.02em; }
.takeout__body { margin-top: 24px; max-width: 30em; }
.takeout__btns { display: grid; gap: 14px; align-content: center; }
.takeout .btn { width: 100%; }
.sample-msg { min-height: 1.6em; font-size: 13px; }
@media (min-width: 900px) {
  .takeout__in { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .takeout__btns { justify-self: end; width: min(100%, 380px); }
}

/* ---------- 5. アクセス ---------- */
.access { padding: var(--sec-y) 0; }
.access__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hours { font-stretch: 100%; font-weight: 800; font-size: clamp(44px, 12vw, 80px); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.hours span { margin: 0 .08em; color: var(--accent); }
.hours__note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.info { margin: 36px 0; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info dt { color: var(--muted); }
.map { aspect-ratio: 1; max-width: 520px; width: 100%; }
.map svg { width: 100%; height: 100%; display: block; }
.map__bg { fill: var(--paper-2); }
.map__road { stroke: var(--paper); stroke-width: 22; fill: none; }
.map__road--s { stroke-width: 10; }
.map__route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-dasharray: 2 9; stroke-linecap: round; stroke-linejoin: round; }
.map__station { fill: var(--ink); }
.map__pin { fill: var(--accent); stroke: var(--paper); stroke-width: 5; }
.map__label { font-family: var(--font-jp); font-size: 15px; font-weight: 700; text-anchor: middle; fill: var(--ink); }
.map__label--inv { fill: var(--paper); font-size: 14px; }
@media (min-width: 900px) {
  .access__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .map { justify-self: end; }
}

/* ---------- 6. Instagram ---------- */
.insta { background: var(--paper-2); padding: calc(var(--sec-y) * .75) 0; }
.insta__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.insta__title { font-weight: 900; font-size: clamp(36px, 7vw, 56px); line-height: 1; }
.insta__body { margin-top: 16px; font-size: 15px; color: var(--muted); }
.insta__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 16px; font-family: var(--font-en); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }
.insta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.insta__grid li { aspect-ratio: 1; display: grid; place-items: center; padding: 10%; }
.insta__grid img { width: 100%; height: 100%; object-fit: contain; }
.insta__grid .t1 { background: var(--accent); }
.insta__grid .t2 { background: var(--ink); }
.insta__grid .t3 { background: var(--paper); }
.insta__grid .t4 { background: var(--ink); }
@media (min-width: 900px) { .insta__in { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 64px; } }

/* ---------- 足元 ---------- */
.foot { background: var(--ink); color: var(--paper); overflow: hidden; padding-bottom: calc(var(--dock-h) + 32px); }
.foot__word { font-family: var(--font-en); font-stretch: 125%; font-weight: 900; font-size: 18.5vw; line-height: .78; letter-spacing: -.02em; text-align: center; padding-top: .18em; white-space: nowrap; }
.foot__in { padding-top: 40px; display: grid; gap: 10px; }
.foot__info { font-size: 13px; color: var(--muted-dark); }
.foot__info a { text-decoration: none; }
.foot__note { font-size: 12px; color: var(--muted-dark); margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(243, 236, 225, .16); }
@media (min-width: 720px) { .foot { padding-bottom: 40px; } }

/* ---------- スマホの下に固定 ---------- */
.dock {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 96px 1fr; gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(22, 18, 14, .92); backdrop-filter: blur(8px);
}
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.dock__tel { background: var(--paper); color: var(--ink); }
.dock__main { background: var(--accent); color: var(--on-accent); }
@media (min-width: 720px) { .dock { display: none; } }

/* ---------- スクロールで現れる（JS があるときだけ隠す） ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* サンプルの表示 */
.toast { position: fixed; z-index: 40; left: 50%; bottom: calc(var(--dock-h) + 20px); translate: -50% 0; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.toast.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
