/* =========================================================
   Design tokens — 配色・余白をここで一括管理
   コントラスト比 4.5:1 以上を満たす値にすること
   温かみのあるテラコッタ×クリームの配色
   ========================================================= */
:root {
  --color-bg: #fffaf3;        /* 温かいクリーム色 */
  --color-bg-alt: #f5e6d3;    /* やわらかなサンドベージュ */
  --color-fg: #3a2318;        /* 深いコーヒーブラウン: bg比 ~14.1:1 */
  --color-muted: #6b4a36;     /* 温かみのある補助テキスト: bg比 ~7.6:1 */
  --color-primary: #b23e1e;   /* 焼き物のようなテラコッタ。白文字で ~5.8:1 */
  --color-primary-fg: #fffaf3;
  --color-accent: #d97706;    /* 灯りのようなアンバー(アクセント用) */
  --color-border: #e8d3bc;    /* 温かい砂色のボーダー */
  --color-focus: #8f2f16;     /* フォーカスリング用の濃いテラコッタ */

  --font: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic", Meiryo, sans-serif;
  --maxw: 1100px;
  --radius: 20px;
  --radius-lg: 28px;
  --space: clamp(1rem, 2.5vw, 2rem);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--color-fg);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }

/* フォーカスを消さない(a11y) */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(100% - 2 * var(--space), var(--maxw)); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.prose h2 { margin-top: 2rem; margin-bottom: .4rem; font-size: 1.25rem; }
.prose p { color: var(--color-muted); }

.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--color-primary); color: var(--color-primary-fg);
  padding: .5rem .9rem; border-radius: 8px; z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* =========================
   Header / Nav
   ========================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 2 * var(--space), var(--maxw));
  margin-inline: auto; padding-block: .8rem;
}
.nav__brand {
  font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--color-fg);
  letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: .5rem;
}
.nav__brand-sub { font-size: .68rem; font-weight: 500; color: var(--color-muted); letter-spacing: .08em; }
.nav__menu {
  display: flex; gap: 1.4rem; list-style: none; padding: 0;
}
.nav__menu a { text-decoration: none; color: var(--color-fg); font-weight: 500; }
.nav__menu a:hover { color: var(--color-primary); }
.nav__toggle { display: none; }

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; cursor: pointer;
  letter-spacing: .03em;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--color-primary); color: var(--color-primary-fg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(178,62,30,.32); }
.btn--ghost { border-color: var(--color-border); color: var(--color-fg); background: color-mix(in srgb, var(--color-bg) 60%, transparent); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* =========================
   Hero — 画像を使わず CSS のグラデーションと擬似要素で
   「灯りの温もり」を表現する
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  background:
    radial-gradient(60% 90% at 18% 15%, rgba(217,119,6,.22), transparent 60%),
    radial-gradient(55% 80% at 85% 85%, rgba(178,62,30,.18), transparent 65%),
    linear-gradient(160deg, var(--color-bg-alt), var(--color-bg) 60%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 2;
}
/* 灯りのようににじむ光の玉 */
.hero::before {
  width: min(60vw, 620px); height: min(60vw, 620px);
  top: -18%; right: -12%;
  background: radial-gradient(circle, rgba(217,119,6,.35), rgba(217,119,6,0) 70%);
}
.hero::after {
  width: min(46vw, 420px); height: min(46vw, 420px);
  bottom: -22%; left: -10%;
  background: radial-gradient(circle, rgba(178,62,30,.28), rgba(178,62,30,0) 70%);
}
/* ヒーロー背景写真。テラコッタ寄りのトーンに合わせ、単なる差し込み写真に見えないよう馴染ませる */
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: sepia(.18) saturate(1.1) contrast(1.02);
}
/* 文字を読みやすくするための濃淡オーバーレイ(写真自体は薄めない) */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,250,243,.94) 0%, rgba(255,250,243,.8) 40%, rgba(255,250,243,.52) 70%, rgba(255,250,243,.72) 100%);
}
.hero__inner { position: relative; text-align: center; z-index: 3; }
.hero__eyebrow {
  display: inline-block; color: var(--color-primary); font-weight: 700;
  letter-spacing: .32em; font-size: .8rem; margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.1rem, 6.2vw, 3.6rem); line-height: 1.35; letter-spacing: .02em;
  font-weight: 700; color: var(--color-fg);
}
.hero__lead {
  color: var(--color-muted); font-size: clamp(1rem, 2.5vw, 1.2rem); margin-top: 1.2rem;
  max-width: 46ch; margin-inline: auto;
}
.hero__actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================
   Sections
   ========================= */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--color-bg-alt); }
.section__title { font-size: clamp(1.6rem, 4vw, 2.2rem); text-align: center; font-weight: 700; }
.section__lead { color: var(--color-muted); text-align: center; max-width: 60ch; margin: 1rem auto 2.5rem; }

.photo-strip { max-width: 900px; margin: 0 auto 2.4rem; overflow: hidden; border-radius: var(--radius-lg); }
.photo-strip img {
  display: block; width: 100%; height: clamp(220px, 32vw, 380px);
  object-fit: cover;
}

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(58,35,24,.12); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 16%, var(--color-bg));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card__title { font-size: 1.15rem; margin-bottom: .6rem; font-weight: 700; }

.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;
}

/* =========================
   ポラロイド風の写真(実写を「テンプレのストック写真」に
   見せないよう、額装+暖色トーン+わずかな傾きで質感を足す)
   ========================= */
.photo-note {
  background: var(--color-bg); padding: .6rem .6rem 1rem;
  border-radius: 10px; box-shadow: 0 10px 26px rgba(58,35,24,.16);
  margin: 0 0 1.8rem; max-width: 280px;
}
.photo-note--left { transform: rotate(-2.5deg); }
.photo-note--right { transform: rotate(2deg); }
.photo-note--inline { margin: 1.4rem 0 0; transform: rotate(-1.5deg); }
.photo-note img {
  width: 100%; height: 190px; object-fit: cover; border-radius: 4px;
  filter: sepia(.22) saturate(1.15) contrast(1.04) brightness(.98);
}
.photo-note figcaption {
  font-size: .78rem; color: var(--color-muted); text-align: center;
  margin-top: .55rem; letter-spacing: .02em;
}
.contact-info .photo-note { margin: 0 auto; grid-column: 1 / -1; justify-self: center; }

/* =========================
   非対称の二カラム(About / Recruit)
   ========================= */
.split {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); }
.section__title-left {
  font-size: clamp(1.5rem, 3.6vw, 2rem); font-weight: 700; margin-bottom: 1.2rem;
  max-width: 22ch;
}
.split__main p { color: var(--color-muted); margin-bottom: 1.1rem; }
.split__main p:last-child { margin-bottom: 0; }
.split__aside { position: sticky; top: 5.5rem; }

.pull-quote {
  background: var(--color-bg-alt); border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  padding: 1.8rem 1.6rem; margin: 0;
}
.pull-quote p {
  font-size: 1.1rem; line-height: 1.85; color: var(--color-fg);
  font-weight: 600; margin-bottom: 1rem;
}
.pull-quote cite {
  display: block; font-style: normal; font-size: .85rem; color: var(--color-muted);
}
.split--reverse .split__aside .form { max-width: none; margin-inline: 0; }

/* =========================
   数字ストリップ(Stat strip)
   ========================= */
.stat-strip-section { padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.stat-strip {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem; text-align: center;
}
.stat-strip__item { display: flex; flex-direction: column; gap: .3rem; }
.stat-strip__num {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 700; color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.stat-strip__num small { font-size: .5em; font-weight: 600; margin-left: .15em; color: var(--color-muted); }
.stat-strip__label { color: var(--color-muted); font-size: .85rem; }

/* =========================
   お品書き(リスト形式)
   ========================= */
.menu-list { list-style: none; padding: 0; margin: 0; max-width: 780px; margin-inline: auto; }
.menu-list__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--color-border);
}
.menu-list__row:first-child { border-top: 1px solid var(--color-border); }
.menu-list__name h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .4rem; }
.menu-list__name p { color: var(--color-muted); max-width: 56ch; }
.menu-list__price {
  flex-shrink: 0; font-weight: 700; font-size: 1.15rem; color: var(--color-primary);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .menu-list__row { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* お問い合わせの店舗情報 */
.contact-info {
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 760px; margin: 0 auto 2.5rem; padding: 1.6rem;
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius);
}
.contact-info__label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  color: var(--color-primary); margin-bottom: .3rem;
}
.contact-info__item p { color: var(--color-fg); }
.contact-info__item a { text-decoration: underline; }

/* =========================
   Forms
   ========================= */
.form { max-width: 620px; margin-inline: auto; display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: .4rem; }
.form label { font-weight: 600; }
.req { color: #b91c1c; }
.form input, .form textarea {
  font: inherit; padding: .75rem 1rem;
  border: 1px solid var(--color-border); border-radius: 12px;
  background: var(--color-bg); color: var(--color-fg); width: 100%;
}
.form input:focus, .form textarea:focus { border-color: var(--color-primary); outline: none; }
.field-error { color: #b91c1c; font-size: .9rem; min-height: 1.2em; }
.form__status { min-height: 1.4em; font-weight: 600; }
.form__status[data-state="ok"] { color: #0d5c2b; }
.form__status[data-state="err"] { color: #b91c1c; }

/* ハニーポット: 視覚・スクリーンリーダー両方から隠す */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* =========================
   Footer
   ========================= */
.site-footer { border-top: 1px solid var(--color-border); padding-block: 2.2rem; background: var(--color-bg-alt); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.site-footer__brand { font-weight: 700; margin-bottom: .3rem; }
.site-footer__inner p { color: var(--color-muted); font-size: .92rem; }
.site-footer__links { display: flex; gap: 1rem; list-style: none; padding: 0; }
.site-footer__links a { color: var(--color-muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--color-primary); }

/* =========================
   Reveal animation(ちょっとした動き)
   IntersectionObserver が .is-visible を付与する
   ========================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================
   Mobile nav
   ========================= */
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split__aside { position: static; }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--color-border);
    border-radius: 10px; cursor: pointer;
  }
  .nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--color-fg);
    position: relative; transition: transform .2s ease;
  }
  .nav__toggle-bar::before { position: absolute; top: -6px; }
  .nav__toggle-bar::after { position: absolute; top: 6px; }
  .nav__menu {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav__menu li { border-top: 1px solid var(--color-border); }
  .nav__menu a { display: block; padding: .9rem var(--space); }
  .nav[data-open="true"] .nav__menu { max-height: 380px; }
}

/* =========================
   動きを減らす設定を尊重(a11y 必須)
   ========================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
.site-footer__disclaimer { color: var(--color-muted); font-size: .78rem; margin-top: 1.2rem; text-align: center; }
