/* =========================================================
   飲食店サイト  スタイル（見た目）
   - スマホの見た目を基本に書き、画面が広いときだけ上書きしています
   - お店ごとの色や書体は、下の「:root」を書き換えるだけで変えられます
   ========================================================= */

/* ---------- 色・書体・サイズの設定（お店ごとにここを変える） ---------- */
:root {
  --main: #3b2a20;        /* メインの色：こげ茶（ヘッダー・見出し・フッター） */
  --accent: #8c2f2a;      /* 差し色：深い赤（リンク・ボタン・おすすめの印） */
  --accent-hover: #6f2420;
  --base: #f6efe2;        /* 背景：クリーム色 */
  --base-deep: #ede2cf;   /* 少し濃いクリーム色（区切りの面） */
  --text: #2e231c;        /* 本文の文字 */
  --text-sub: #6b5a4c;    /* 補足の文字 */
  --line: #d9c9b0;        /* 区切り線 */
  --on-main: #f6efe2;     /* こげ茶の上に乗せる文字 */

  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --container: 1040px;
  --gutter: 16px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 16px; background: var(--main); color: var(--on-main); }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.center { text-align: center; }

.section { padding: 64px 0; }
.section--tint { background: var(--base-deep); }

/* ---------- サンプルの帯 ---------- */
.sample-bar {
  background: #fff8d6;
  color: #5a4300;
  border-bottom: 1px solid #e6d28a;
  padding: 8px var(--gutter);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

/* ---------- 見出し ---------- */
.sec-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: var(--main);
  text-align: center;
  margin-bottom: 32px;
}
.sec-title::after { content: ""; display: block; width: 32px; height: 2px; margin: 12px auto 0; background: var(--accent); }

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
  border-radius: 2px;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--on-main); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--on-main); border-color: currentColor; }
.more-link { margin-top: 32px; text-align: center; }
.more-link a { font-weight: 700; }
.empty-note { text-align: center; color: var(--text-sub); }

/* ---------- ヘッダー ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--main); color: var(--on-main); }
.header__inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { color: var(--on-main); text-decoration: none; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.12em; }
.logo:hover { color: var(--on-main); }

.nav-toggle {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid rgba(246, 239, 226, 0.5); color: var(--on-main);
  padding: 6px 12px; font: inherit; font-size: 0.875rem; cursor: pointer; border-radius: 2px;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }

.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--main); border-top: 1px solid rgba(246, 239, 226, 0.2); }
.nav.is-open { display: block; }
.nav__list a { display: block; padding: 14px var(--gutter); color: var(--on-main); text-decoration: none; border-bottom: 1px solid rgba(246, 239, 226, 0.12); }
.nav__list a:hover { background: rgba(255, 255, 255, 0.08); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav { display: block; position: static; border: 0; background: none; }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a { padding: 0; border: 0; font-size: 0.9375rem; }
  .nav__list a:hover { background: none; text-decoration: underline; }
}

/* ---------- トップの大きな写真 ---------- */
.hero { position: relative; background: var(--main); color: var(--on-main); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: rgba(30, 20, 14, 0.55); }
.hero__text { position: relative; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.hero__title { font-family: var(--font-serif); font-weight: 500; }
.hero__name { display: block; font-size: 2.25rem; font-weight: 700; letter-spacing: 0.2em; line-height: 1.4; }
.hero__copy { display: block; margin-top: 20px; font-size: 1.125rem; line-height: 2; letter-spacing: 0.12em; }
.hero__links { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 768px) {
  .hero__text { padding-top: 160px; padding-bottom: 160px; }
  .hero__name { font-size: 3rem; }
  .hero__copy { font-size: 1.375rem; }
}

/* ---------- お店について ---------- */
.about { display: grid; gap: 32px; }
.about__text .sec-title { text-align: left; }
.about__text .sec-title::after { margin-left: 0; }
.about__text p + p { margin-top: 1em; }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 768px) {
  .about { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .about.no-photo { grid-template-columns: 1fr; max-width: 760px; }
}

/* ---------- おすすめ ---------- */
.rec-list { display: grid; gap: 24px; }
.rec { background: var(--base); padding: 0 0 20px; }
.rec.no-photo { padding-top: 24px; border-top: 3px solid var(--accent); }
.rec__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rec__name, .rec__price, .rec__desc { padding: 0 20px; }
.rec__photo + .rec__name { margin-top: 16px; }
.rec__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.125rem; color: var(--main); }
.rec__price { color: var(--accent); font-weight: 700; }
.rec__desc { margin-top: 8px; font-size: 0.9375rem; color: var(--text-sub); line-height: 1.8; }
@media (min-width: 768px) { .rec-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- お知らせ ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.news-item:hover .news-item__title { text-decoration: underline; color: var(--accent); }
.news-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--text-sub); }
.news-item__title { display: block; margin-top: 2px; }
.news-cat { display: inline-block; padding: 0 8px; border: 1px solid var(--line); font-size: 0.75rem; line-height: 1.8; color: var(--text-sub); }
@media (min-width: 768px) {
  .news-item { display: flex; gap: 24px; align-items: baseline; }
  .news-item__meta { flex: 0 0 240px; }
  .news-item__title { margin-top: 0; }
}

/* ---------- 店舗情報 ---------- */
.info-list { border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; color: var(--main); }
.map { margin-top: 32px; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) { .map { aspect-ratio: 16 / 9; } }

/* ---------- 下層ページの見出し ---------- */
.page-head { padding: 40px 0 8px; text-align: center; }
.page-title { font-family: var(--font-serif); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.12em; color: var(--main); line-height: 1.5; }
.page-lead { margin-top: 12px; color: var(--text-sub); font-size: 0.9375rem; }
.breadcrumb { margin-bottom: 16px; font-size: 0.8125rem; color: var(--text-sub); text-align: left; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; }
.page-head + .section { padding-top: 32px; }

/* ---------- メニューページ ---------- */
.menu-nav { position: sticky; top: 60px; z-index: 10; background: var(--base); padding: 8px 0; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.menu-nav ul { display: flex; gap: 8px; overflow-x: auto; }
.menu-nav a { display: block; white-space: nowrap; padding: 6px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 0.875rem; color: var(--main); text-decoration: none; }
.menu-nav a:hover { border-color: var(--accent); color: var(--accent); }
.menu-group { padding-top: 32px; scroll-margin-top: 120px; }
.menu-group__title { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; color: var(--main); letter-spacing: 0.1em; padding-bottom: 8px; border-bottom: 2px solid var(--main); }
.menu-group__note { margin-top: 8px; font-size: 0.875rem; color: var(--text-sub); }
.menu-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.menu-item__photo { flex: 0 0 88px; }
.menu-item__photo img { width: 88px; height: 88px; object-fit: cover; }
.menu-item__body { flex: 1; min-width: 0; }
.menu-item__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-item__name { font-weight: 700; }
.menu-item__price { flex: none; font-weight: 700; color: var(--main); font-variant-numeric: tabular-nums; }
.menu-item__desc { margin-top: 4px; font-size: 0.875rem; color: var(--text-sub); line-height: 1.8; }
.label-rec { display: inline-block; margin-left: 8px; padding: 0 6px; background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 1.8; vertical-align: 2px; border-radius: 2px; }
@media (min-width: 768px) {
  .menu-item__photo { flex-basis: 120px; }
  .menu-item__photo img { width: 120px; height: 120px; }
}

/* ---------- お知らせの詳細 ---------- */
.entry__head { margin-bottom: 24px; }
.entry__meta { display: flex; gap: 12px; align-items: center; font-size: 0.875rem; color: var(--text-sub); }
.entry__title { margin-top: 8px; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.6; color: var(--main); }
.entry__thumb { margin-bottom: 24px; }
.rich > * + * { margin-top: 1em; }
.rich h2 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--main); margin-top: 1.6em; }
.rich ul { list-style: disc; padding-left: 1.4em; }
.rich ol { list-style: decimal; padding-left: 1.4em; }

/* ---------- フッター ---------- */
.footer { background: var(--main); color: var(--on-main); padding: 48px 0 24px; text-align: center; font-size: 0.875rem; }
.footer a { color: var(--on-main); }
.footer__name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.12em; }
.footer__address { margin-top: 8px; opacity: 0.85; }
.footer__links { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer__credit { margin-top: 28px; font-size: 0.8125rem; opacity: 0.8; }
.footer__copy { margin-top: 4px; opacity: 0.7; }
