/* =========================================================
   ますだ食堂  |  style.css  （改修後 / After）
   町の食堂らしい、あたたかく読みやすい和モダンデザイン
   palette: 藍(indigo) / 生成り(off-white) / 朱(vermilion) / 山吹(gold)
   既存の整骨院事例（teal系）とは別系統の暖色配色
   ========================================================= */

/* ---------- Custom Properties ---------- */
:root {
  /* color — すべて WCAG AA を満たす組み合わせで設計 */
  --color-primary: #1B3A5B;      /* 藍（白文字で 10:1 超） */
  --color-primary-deep: #112740; /* 濃藍（見出し・フッター背景） */
  --color-ink: #2A2622;          /* 墨（本文：生成り上で 12:1 超） */
  --color-accent: #C4452F;       /* 朱（差し色／白上で 4.8:1 = AA） */
  --color-accent-ink: #A8341F;   /* 生成り背景上のリンク等で使う濃い朱（AA） */
  --color-gold: #B07914;         /* 山吹（生成り上で約 4.5:1 = AA・小さめ強調用） */
  --color-gold-bright: #D89A2E;  /* 明るい山吹（藍背景上のアクセント・装飾用） */
  --color-bg: #FAF4E8;           /* 生成り */
  --color-surface: #FFFFFF;
  --color-text: #2A2622;         /* 本文 */
  --color-text-soft: #6A5E4E;    /* 補助テキスト（生成り上で約 5.4:1 = AA） */
  --color-line: #E4D8C0;
  --color-ok: #2E6B3E;           /* 営業マル（白上で約 5.6:1 = AA） */
  --color-no: #C0392B;           /* 定休バツ（白上で 5.0:1 = AA） */

  /* typography */
  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Outfit", "Segoe UI", sans-serif;

  /* spacing */
  --section-gap: clamp(3.5rem, 9vw, 7rem);
  --container: 1080px;
  --container-narrow: 760px;
  --gutter: clamp(1.1rem, 5vw, 2.5rem);

  /* radius & shadow */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 22px 50px -28px rgba(17, 39, 64, 0.3);
  --shadow-card: 0 16px 40px -26px rgba(17, 39, 64, 0.34);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  /* 位置固定ヘッダーが初期包含ブロック（=スクロール幅）に追従して横に伸びるのを
     根本で断ち、ページ全体の横スクロールを防ぐ。clip はスクロールコンテナを
     作らないので position:sticky/fixed の挙動を壊さない。表は各ラッパー内で
     overflow-x:auto により独立して横スクロールする。 */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  /* readable base via clamp(): 16–17px, generous line-height */
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  line-height: 1.85;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* 念のための保険。各セクションでも clip 済み */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Focus（キーボード操作で常に見える） ---------- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  background: var(--color-primary-deep);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-gap);
  overflow-x: clip;
}

/* ---------- Section headers ---------- */
.section__head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section__eyebrow {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}
.section__eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.section__eyebrow--light { color: #fff; }
.section__eyebrow--light::before { background: var(--color-gold-bright); }

.section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--color-primary-deep);
}
.section__lead {
  margin-top: 1.1rem;
  color: var(--color-text-soft);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  max-width: 46ch;
}

/* ---------- Buttons (tap target >= 44px) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  border-radius: 999px;
  border: 2px solid transparent;
  text-align: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.btn__icon { display: inline-grid; place-items: center; }
.btn__sub {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.92em;
  opacity: 0.92;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(196, 69, 47, 0.7);
}
.btn--primary:hover {
  background: var(--color-accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(168, 52, 31, 0.6);
}
.btn--ghost {
  background: rgba(255,255,255,0.92);
  color: var(--color-primary-deep);
  border-color: var(--color-primary);
}
.btn--ghost:hover {
  background: #fff;
  border-color: var(--color-primary-deep);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary-deep);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 244, 232, 0.92);
  box-shadow: 0 1px 0 var(--color-line);
  transition: box-shadow 0.4s var(--ease);
}
/* blur on a pseudo-element: backdrop-filter on .site-header itself would make it
   the containing block for the fixed-position mobile drawer (.nav__menu) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -16px rgba(17, 39, 64, 0.35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary-deep);
  flex-shrink: 0;       /* ナビが詰まってもロゴ名を折り返さない */
  white-space: nowrap;
}
.brand__mark {
  display: grid;
  place-items: center;
  color: var(--color-accent);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.08em;
}
.brand__sub {
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

/* nav */
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.8rem);
}
.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.2rem;
  color: var(--color-text);
  transition: color 0.3s var(--ease);
  white-space: nowrap; /* ラベル途中での折り返し防止（ヘッダーからのはみ出し事故防止） */
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--color-accent-ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--cta {
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  background: var(--color-accent-ink);
  color: #fff;
}

/* hamburger (44px+ target) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 12px;
  color: var(--color-primary-deep);
  position: relative; /* z-index を効かせ、開いたドロワーより前面に出す */
  z-index: 110;
}
.nav__toggle-bar {
  display: block;
  width: 100%; height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 2rem;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(250, 244, 232, 0.96) 0%,
    rgba(250, 244, 232, 0.82) 42%,
    rgba(250, 244, 232, 0.36) 78%,
    rgba(250, 244, 232, 0.14) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding-block: clamp(2rem, 6vh, 4rem);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-accent-ink);
  margin-bottom: 1.2rem;
}
.eyebrow-line { width: 36px; height: 2px; background: var(--color-accent); border-radius: 2px; }
.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 6.5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--color-primary-deep);
  margin-bottom: 1.3rem;
}
.hero__copy {
  max-width: 44ch;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 1.9rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__actions .btn--primary { flex-wrap: wrap; }
.hero__note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  font-weight: 500;
}

/* =========================================================
   NOTICE（旧 marquee / blink の置き換え）
   ========================================================= */
.notice {
  background: var(--color-primary-deep);
  color: #fff;
}
.notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.1rem;
  flex-wrap: wrap;
}
.notice__badge {
  flex: 0 0 auto;
  background: var(--color-gold-bright);
  color: var(--color-primary-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-top: 0.15rem;
}
.notice__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.notice__list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
}
.notice__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold-bright);
}

/* =========================================================
   GREETING（ごあいさつ）
   ========================================================= */
.greeting__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center;
}
.greeting__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.greeting__media img { width: 100%; }
.greeting__caption {
  position: absolute;
  left: 0; bottom: 0;
  background: rgba(17, 39, 64, 0.84);
  color: #fff;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-top-right-radius: var(--radius-sm);
}
.greeting__lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  color: var(--color-accent-ink);
  margin: 1.1rem 0 1.2rem;
  line-height: 1.6;
}
.greeting__text { margin-bottom: 1rem; color: var(--color-text); }
.greeting__sign {
  margin-top: 1.4rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}
.greeting__sign strong { color: var(--color-primary-deep); font-size: 1.08rem; }

/* =========================================================
   MENU（お品書き）
   ========================================================= */
.menu { background: var(--color-surface); }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dish:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-accent);
}
.dish--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  background: rgba(196, 69, 47, 0.05);
}
.dish__tag {
  position: absolute;
  top: -12px; left: 1.4rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}
.dish__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.dish__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-deep);
  letter-spacing: 0.02em;
}
.dish__price {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--color-accent-ink);
  white-space: nowrap;
}
.dish__price small { font-size: 0.62em; font-weight: 600; }
.dish__desc {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.8;
}
.menu__note {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* =========================================================
   HOURS（営業時間）
   ========================================================= */
.hours__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}
.hours__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  text-align: center;
}
.hours__table caption { text-align: left; }
.hours__table th,
.hours__table td {
  padding: 0.95rem 0.6rem;
  border-bottom: 1px solid var(--color-line);
}
.hours__table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
}
.hours__table thead th:first-child { text-align: left; padding-left: 1.1rem; }
.hours__table tbody th {
  text-align: left;
  padding-left: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  background: var(--color-bg);
  white-space: nowrap;
}
.hours__table tbody tr:last-child th,
.hours__table tbody tr:last-child td { border-bottom: none; }
.mark { font-size: 1.15rem; font-weight: 700; }
.mark--ok { color: var(--color-ok); }
.mark--no { color: var(--color-no); }
.hours__note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.hours__closed {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-no);
}
.hours__closed::before {
  content: "定休日";
  background: var(--color-no);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* =========================================================
   ACCESS
   ========================================================= */
.access { background: var(--color-surface); }
.access__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: start;
}
.access__list { display: flex; flex-direction: column; }
.access__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}
.access__row dt {
  font-weight: 700;
  color: var(--color-accent-ink);
  font-size: 0.95rem;
}
.access__row dd { color: var(--color-text); line-height: 1.75; }
.access__tel {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.access__tel:hover { color: var(--color-primary-deep); }
.access__sub { font-size: 0.88rem; color: var(--color-text-soft); }
.access__cta { margin-top: 1.5rem; }
.access__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
}
.access__map img { width: 100%; }
.access__map-cap {
  background: var(--color-bg);
  color: var(--color-text-soft);
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  text-align: center;
}

/* =========================================================
   CONTACT / FORM
   ========================================================= */
.contact {
  background: var(--color-primary-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -140px; right: -120px;
  width: 360px; height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.contact__lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  margin-bottom: 2rem;
}
.contact__channels { display: flex; flex-direction: column; gap: 1.2rem; }
.contact__channels li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.contact__label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  font-weight: 600;
}
.contact__tel {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.7rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  width: fit-content;
}
.contact__value { font-size: 1.1rem; font-weight: 500; }
.contact__hours { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }

/* form */
.contact__form-wrap {
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}
.form__intro {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary-deep);
  margin-bottom: 1.6rem;
}
.form__field { margin-bottom: 1.3rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
.form__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary-deep);
}
.form__req, .form__opt {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}
.form__req { background: var(--color-accent); color: #fff; }
.form__opt { background: rgba(27, 58, 91, 0.14); color: var(--color-primary); }
.form__input {
  width: 100%;
  min-height: 50px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form__input::placeholder { color: #9c8e76; }
.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 91, 0.2);
}
.form__select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--color-primary) 50%),
  linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__input.is-invalid {
  border-color: var(--color-no);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}
.form__error {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #B0301F; /* 生成り上で AA を満たす赤 */
}
.form__submit { width: 100%; margin-top: 0.4rem; }
/* JS無効時のみ noscript 内で表示される、電話への誘導メッセージ */
.form__nojs {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(192, 57, 43, 0.08);
  border-left: 4px solid var(--color-no);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.8;
}
.form__nojs a {
  color: var(--color-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.form__success {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(46, 107, 62, 0.1);
  border-left: 4px solid var(--color-ok);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #1F4E2C;
  line-height: 1.8;
}
.form__privacy {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-soft);
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--color-primary-deep); color: #fff; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.footer__mark { display: inline-grid; place-items: center; color: var(--color-gold-bright); margin-bottom: 0.8rem; }
.footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.footer__tagline { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }
.footer__nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__nav a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  display: inline-block;
  padding: 0.15rem 0;
}
.footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__info p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.6rem; line-height: 1.7; }
.footer__tel {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-en);
  font-weight: 600;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 1.4rem;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer__note { font-size: 0.8rem; color: var(--color-gold-bright); }
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* JS無効時は段階表示を行えないため、全コンテンツを最初から表示する
   （head のインラインスクリプトが no-js を外せていない＝JS不可の状態） */
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE — mobile-first 拡張
   ========================================================= */
@media (min-width: 720px) {
  .greeting__inner { grid-template-columns: 0.9fr 1.1fr; }
  .access__inner { grid-template-columns: 1fr 1.1fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 880px) {
  .contact__inner { grid-template-columns: 1fr 1.05fr; align-items: center; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

/* mobile nav drawer (<=800px)
   ※ デスクトップ表示はナビ4項目＋CTAが1行に収まる幅から（折り返し防止） */
@media (max-width: 800px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 330px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.4rem;
    padding: 2rem var(--gutter);
    background: var(--color-surface);
    box-shadow: -20px 0 60px -30px rgba(17, 39, 64, 0.5);
    transform: translateX(100%);
    /* 閉時は visibility も隠し、Tab移動・スクリーンリーダーから画面外メニューを除外する */
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s var(--ease);
    z-index: 105;
  }
  /* JSが無い時はドロワー化せず、通常リストとして全項目を表示 */
  .no-js .nav__menu {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    transform: none;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    gap: 0.6rem 1rem;
    background: transparent;
    justify-content: flex-end;
  }
  .no-js .nav__toggle { display: none; }
  .js .nav__menu.is-open { transform: translateX(0); visibility: visible; }
  .nav__link { font-size: 1.1rem; padding: 0.5rem 0; }
  .no-js .nav__link { font-size: 0.85rem; }

  /* hamburger -> X */
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .footer__bottom .container { flex-direction: column; }
}

/* body lock + backdrop for open nav */
body.nav-open { overflow: hidden; }
html:has(body.nav-open) { overflow: hidden; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 39, 64, 0.44);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  z-index: 99; /* below .site-header (100) so the drawer inside the header paints above the dimmer */
}
.nav-backdrop.is-active { opacity: 1; visibility: visible; }

/* =========================================================
   FORCED COLORS (Windows High Contrast)
   ========================================================= */
@media (forced-colors: active) {
  .btn { border: 2px solid currentColor; }
  .dish, .hours__table-wrap, .contact__form-wrap { border: 1px solid CanvasText; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
