/* ==========================================================================
   町中華 福来軒 — styles
   Palette: 生成り白 #FFF9F0 / 深紅 #C8342C / 辛子黄 #F0B429 / 墨 #221E1B
   方針: 世界観よりも情報の探しやすさ最優先。ゴシック＋表組み中心。
   ========================================================================== */

:root {
  --cream: #fff9f0;
  --paper: #ffffff;
  --red: #c8342c;
  --red-deep: #9e2620;
  --red-tint: #fbeae7;
  --yellow: #f0b429;
  --yellow-deep: #a06e12;
  --ink: #221e1b;
  --ink-soft: #574f49;
  --line: rgba(34, 30, 27, 0.14);
  --line-strong: rgba(34, 30, 27, 0.28);

  --font-head: "RocknRoll One", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  --wrap: 1120px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--cream);
  padding-bottom: 0;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--red); }

::selection { background: var(--red); color: var(--cream); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.br-desktop { display: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--red); color: #fff;
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  text-decoration: none; border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

.ph { filter: saturate(1.04) contrast(1.02); }

/* --------------------------------------------------------------------------
   共通見出し
   -------------------------------------------------------------------------- */
section { padding-block: clamp(56px, 8vw, 96px); }

.section-eyebrow {
  font-family: var(--font-head); font-weight: 400;
  font-size: 13px; letter-spacing: 0.24em;
  color: var(--red); margin-bottom: 12px;
}
.section-eyebrow--light { color: var(--yellow); }

.section-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.4; letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.section-title--light { color: #fff; }

.section-lead { margin-bottom: 32px; color: var(--ink-soft); }

.menu__note { margin-top: 28px; font-size: 13.5px; color: var(--ink-soft); }

.spicy { color: var(--red); font-weight: 700; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 249, 240, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--red);
}

.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-head); font-weight: 400;
  font-size: 18px; letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 15px;
  flex: none;
}

.site-nav {
  display: flex; align-items: center; gap: 22px;
  margin-left: 8px;
  flex: 1;
}
.site-nav a {
  font-size: 14px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--red); border-bottom-color: var(--red); }

.site-header__tel {
  display: flex; flex-direction: column; align-items: flex-end;
  text-decoration: none; color: var(--ink); line-height: 1.3;
  margin-left: auto; flex: none;
}
.site-header__tel-label {
  font-size: 10px; letter-spacing: 0.14em; color: var(--ink-soft);
}
.site-header__tel-number {
  font-family: var(--font-head); font-weight: 400;
  font-size: 18px; color: var(--red);
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--ink);
  cursor: pointer;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 4px;
  flex: none;
}
.nav-toggle__bar {
  width: 16px; height: 2px; background: var(--ink);
  position: relative; display: inline-block;
}
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; position: absolute; left: 0;
  width: 16px; height: 2px; background: var(--ink);
}
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 620px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(34, 20, 16, 0.86) 0%, rgba(34, 20, 16, 0.32) 55%, rgba(34, 20, 16, 0.1) 100%);
}

.hero__content { position: relative; z-index: 1; padding-block: 40px 48px; }

.hero__eyebrow {
  font-family: var(--font-head); font-weight: 400;
  font-size: 13px; letter-spacing: 0.28em;
  color: var(--yellow); margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(28px, 5.2vw, 48px);
  line-height: 1.4; letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  margin-bottom: 18px;
}

.hero__lead {
  font-size: clamp(14px, 1.7vw, 16px); line-height: 1.9;
  color: #f6ece0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   クイック情報バー
   -------------------------------------------------------------------------- */
.quick-info {
  background: var(--ink);
  color: #fff;
}
.quick-info__inner {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 10px 28px; padding-block: 12px;
  font-size: 14px;
}
.quick-info__item { white-space: nowrap; }
.quick-info__label {
  font-family: var(--font-head); font-weight: 400; font-size: 12px;
  background: var(--red); color: #fff;
  padding: 3px 9px; border-radius: 3px; margin-right: 8px;
}
.quick-info__sub { margin-left: 4px; font-size: 12px; color: #cfc7bd; }

/* --------------------------------------------------------------------------
   看板メニュー
   -------------------------------------------------------------------------- */
.signature { background: var(--paper); border-bottom: 1px solid var(--line); }

.signature__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.signature__card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
}

.signature__card--main .signature__photo { aspect-ratio: 4 / 3; }
.signature__card--sub .signature__photo { aspect-ratio: 16 / 9; }

.signature__photo { overflow: hidden; }
.signature__photo img { width: 100%; height: 100%; object-fit: cover; }

.signature__body { padding: 20px 22px 24px; position: relative; }
.signature__card--main .signature__body { padding: 24px 26px 28px; }

.signature__name {
  font-family: var(--font-head); font-weight: 400;
  font-size: 20px; letter-spacing: 0.02em;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.signature__card--sub .signature__name { font-size: 16px; }

.signature__price {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  color: var(--red);
  line-height: 1; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.signature__price--sub { font-size: 22px; margin-bottom: 0; }
.signature__yen { font-size: 0.42em; margin-left: 2px; color: var(--ink); }

.signature__desc { font-size: 14px; color: var(--ink-soft); }

.signature__sub {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}
.signature__sub .signature__card { flex-direction: row; align-items: center; }
.signature__sub .signature__photo { width: 42%; flex: none; aspect-ratio: 4/3; }
.signature__sub .signature__body { flex: 1; padding: 16px 18px; }

/* --------------------------------------------------------------------------
   メニュー表（共通・ランチ／グランドメニュー）
   -------------------------------------------------------------------------- */
.menu-table {
  width: 100%; border-collapse: collapse;
  font-size: 15.5px;
}
.menu-table caption { text-align: left; }
.menu-table thead th {
  text-align: left; font-size: 12px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: 0.1em;
  padding: 0 0 8px; border-bottom: 2px solid var(--ink);
}
.menu-table thead th:last-child { text-align: right; }

.menu-table tbody tr { border-bottom: 1px solid var(--line); }
.menu-table tbody tr:hover { background: var(--red-tint); }

.menu-table td { padding: 11px 0; vertical-align: baseline; }

.menu-table__name {
  display: flex; align-items: baseline; gap: 8px;
  font-weight: 500;
}
.menu-table__name::after {
  content: ""; flex: 1; order: 3;
  border-bottom: 2px dotted var(--line-strong);
  margin: 0 4px; transform: translateY(-4px);
  min-width: 16px;
}
.menu-table__note {
  order: 2; font-size: 12.5px; font-weight: 400; color: var(--ink-soft);
  white-space: nowrap;
}
.menu-table__price {
  text-align: right; white-space: nowrap;
  font-family: var(--font-head); font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--red); font-size: 16px;
  width: 1%;
}

/* --------------------------------------------------------------------------
   ランチメニュー
   -------------------------------------------------------------------------- */
.lunch { background: var(--red); color: #fff; }
.lunch .section-eyebrow { color: var(--yellow); }
.lunch .section-title { color: #fff; }
.lunch p { color: #fbe6e2; }

.lunch__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}

.lunch__photo {
  margin-top: 24px; border: 4px solid rgba(255, 255, 255, 0.25);
}
.lunch__photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: 100%; }

.lunch__table-wrap { background: var(--cream); color: var(--ink); padding: clamp(20px, 3vw, 32px); }
.lunch__table-wrap .menu-table thead th { border-bottom-color: var(--ink); }
.lunch__table-wrap .menu__note { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   グランドメニュー（タブ）
   -------------------------------------------------------------------------- */
.grand-menu { background: var(--paper); border-bottom: 1px solid var(--line); }

.menu-tabs__list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.menu-tabs__btn {
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--line-strong);
  border-radius: 999px; padding: 9px 22px;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.menu-tabs__btn:hover { border-color: var(--red); color: var(--red); }
.menu-tabs__btn[aria-selected="true"] {
  background: var(--red); border-color: var(--red); color: #fff;
}

.menu-tabs__panel-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: 18px; color: var(--red);
  margin-bottom: 10px;
}
.menu-tabs__panel-title--sub { margin-top: 32px; }

.menu-tabs__panel + .menu-tabs__panel { margin-top: 40px; }

/* JSがタブを有効化した後は非アクティブなパネルを隠す（hidden属性はJSが付与） */

/* --------------------------------------------------------------------------
   テイクアウト
   -------------------------------------------------------------------------- */
.takeout { background: var(--cream); }

.takeout__grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.takeout__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.takeout__steps { list-style: none; counter-reset: step; margin: 20px 0; font-size: 14.5px; }
.takeout__steps li {
  counter-increment: step; padding-left: 34px; position: relative; margin-bottom: 10px;
}
.takeout__steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 12px; line-height: 22px;
  text-align: center;
}
.takeout__popular { font-size: 14.5px; padding: 12px 16px; background: var(--red-tint); border-left: 3px solid var(--red); }
.takeout__popular strong { color: var(--red-deep); }

/* --------------------------------------------------------------------------
   店内・座席
   -------------------------------------------------------------------------- */
.interior { background: var(--paper); }

.interior__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: 8px;
}
.interior__item { position: relative; overflow: hidden; }
.interior__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.interior__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(20, 12, 10, 0.78));
}
.interior__note { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   営業時間
   -------------------------------------------------------------------------- */
.hours { background: var(--ink); color: #f2ece3; }

.hours__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}

.hours__notes { list-style: none; font-size: 14px; }
.hours__notes li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.hours__notes li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--yellow);
}

.hours__table {
  width: 100%; border-collapse: collapse; font-size: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}
.hours__table th, .hours__table td {
  padding: 18px 8px; text-align: left; font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.hours__table th {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 0.06em;
  width: 34%; white-space: nowrap; color: var(--yellow);
}
.hours__lo {
  display: inline-block; margin-left: 10px; font-size: 12px;
  color: #cfc7bd; font-family: var(--font-body);
}
.hours__closed td, .hours__closed th { color: var(--yellow); font-weight: 700; }

/* --------------------------------------------------------------------------
   アクセス・駐車場
   -------------------------------------------------------------------------- */
.access { background: var(--cream); }

.access__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px); margin-top: 8px;
}
.access__block {
  background: var(--paper); border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 32px);
}
.access__label {
  font-family: var(--font-head); font-weight: 400;
  font-size: 14px; letter-spacing: 0.1em; color: var(--red);
  margin-bottom: 10px;
}
.access__label:not(:first-child) { margin-top: 24px; }
.access__address { font-size: 15px; }
.access__tel a {
  font-family: var(--font-head); font-size: 22px; color: var(--red);
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.access__block strong { color: var(--red-deep); }

.btn {
  display: inline-block; margin-top: 18px;
  background: var(--red); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  text-decoration: none;
  padding: 13px 30px; border-radius: 4px;
  border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: #cfc7bd;
  padding-block: 40px;
  text-align: center;
}
.site-footer__brand {
  font-family: var(--font-head); font-weight: 400; font-size: 20px;
  color: #fff; margin-bottom: 10px;
}
.site-footer__brand span {
  display: inline-block; margin-left: 10px; font-size: 12px; color: var(--yellow);
}
.site-footer__address { font-size: 13px; margin-bottom: 16px; }
.site-footer__demo { font-size: 11.5px; }
.site-footer__demo a { color: #cfc7bd; }

/* --------------------------------------------------------------------------
   電話フローティングボタン（モバイル固定）
   -------------------------------------------------------------------------- */
.phone-fab {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--red); color: #fff;
  text-decoration: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.22);
}
.phone-fab__icon { font-size: 20px; }
.phone-fab__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.phone-fab__number {
  font-family: var(--font-head); font-weight: 400; font-size: 17px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Reveal（スクロール表示）
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (min-width: 901px) {
  .br-desktop { display: inline; }
}

@media (max-width: 1024px) {
  .lunch__grid { grid-template-columns: 1fr; }
  .lunch__photo { max-width: 480px; }
}

/* ヘッダーは「フルナビ＋電話番号」が収まる幅が確保できる901px以上でのみ展開する。
   768px前後のタブレット幅では中身が収まりきらず崩れるため、900px以下は
   ハンバーガーメニュー方式に切り替える（0〜900pxの共通ブレークポイント）。 */
@media (max-width: 900px) {
  .site-header__inner { min-height: 56px; gap: 10px; }
  .brand__text { display: none; }
  .site-header__tel-label { display: none; }
  .site-header__tel-number { font-size: 15px; letter-spacing: 0; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .signature__sub .signature__photo { width: 38%; }
}

@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: 64px; }

  .wrap { padding-inline: 16px; }

  .site-header__tel-number { font-size: 14px; }

  .hero { min-height: 60vh; }

  .quick-info__inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 14px; }

  .signature__grid { grid-template-columns: 1fr; }
  .signature__sub { grid-template-columns: 1fr; }
  .signature__sub .signature__card { flex-direction: column; }
  .signature__sub .signature__photo { width: 100%; aspect-ratio: 16/9; }

  .lunch__grid { grid-template-columns: 1fr; }

  .menu-tabs__list { gap: 6px; }
  .menu-tabs__btn { padding: 8px 16px; font-size: 13.5px; }

  .takeout__grid { grid-template-columns: 1fr; }

  .interior__grid { grid-template-columns: 1fr; }

  .hours__grid { grid-template-columns: 1fr; }

  .access__grid { grid-template-columns: 1fr; }

  .phone-fab { display: flex; }
}
