/* =========================================================
   羊二（ようじ） 試作第2案
   配色はここの変数だけ変えれば全体に反映される
   ========================================================= */
:root {
  --color-bg: #f6efe3;          /* 生成り */
  --color-surface: #fffaf1;     /* カード面 */
  --color-accent: #a8322d;      /* えんじ */
  --color-accent-dark: #86241f;
  --color-text: #3a2a20;        /* 濃い茶 */
  --color-muted: #6e5b4d;
  --color-line: #e2d5c1;

  --font-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-display: "Dela Gothic One", "Hiragino Sans", sans-serif;

  --header-h: 56px;
  --fixed-bar-h: 64px;
  --gutter: 16px;
  --radius: 14px;
  --content-w: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  padding-bottom: var(--fixed-bar-h);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-accent); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter);
  background: rgba(246, 239, 227, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo__name { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--color-accent); }
.logo__yomi { font-size: 12px; letter-spacing: 0.2em; color: var(--color-muted); font-weight: 700; }

.site-nav { display: none; }

.header-tel {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 14px;
  border-radius: 999px;
  background: var(--color-accent); color: #fff;
  font-weight: 700; font-size: 14px; text-decoration: none;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid var(--color-accent);
  transition: background-color .15s, color .15s;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn--outline { background: var(--color-surface); color: var(--color-accent); }
.btn--outline:hover { background: #fff; }
.btn--lg { min-height: 58px; font-size: 18px; }

.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-stack { display: grid; gap: 12px; }

/* ---------- 1. トップ ---------- */
.hero__photo { position: relative; }
.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 60%;   /* 肉が中央下寄りなので下側を優先して残す */
}
.hero__badge {
  position: absolute; left: var(--gutter); bottom: -22px;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-display); font-size: 17px; line-height: 1.25;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(58, 42, 32, 0.25);
  transform: rotate(-3deg);
}

.hero__caption {
  position: absolute; right: 8px; top: 8px;
  background: rgba(255, 250, 241, 0.92);
  font-size: 12px; font-weight: 700; line-height: 1.4;
  padding: 3px 10px; border-radius: 999px;
}

.hero__body { padding: 40px var(--gutter) 32px; }
.hero__eyebrow {
  margin: 0 0 6px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--color-accent);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 8vw, 46px); line-height: 1.35;
}
.hero__lead { margin: 12px 0 20px; font-size: 16px; color: var(--color-muted); }

.quick-info {
  margin: 0 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.quick-info div {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 10px 12px;
}
.quick-info dt { font-size: 13px; color: var(--color-muted); font-weight: 700; }
.quick-info dd { margin: 0; font-size: 18px; font-weight: 900; }
.quick-info dd small { font-size: 12px; font-weight: 700; color: var(--color-muted); }

/* ---------- セクション共通 ---------- */
.section { padding: 56px var(--gutter); }
.section__head { margin-bottom: 24px; }
.section__en {
  margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.25em; color: var(--color-accent);
}
.section__title {
  margin: 2px 0 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 7vw, 36px); line-height: 1.3;
}
.section__note { margin: 6px 0 0; font-size: 14px; color: var(--color-muted); }

.photo { overflow: hidden; border-radius: var(--radius); background: var(--color-line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 2. 羊二のジンギスカン ---------- */
.about { background: var(--color-surface); }
.about__grid { display: grid; gap: 24px; }
.photo--tall img { aspect-ratio: 4 / 5; object-position: 50% 45%; }
.about__catch {
  margin: 0 0 12px;
  font-family: var(--font-display); font-size: clamp(22px, 6vw, 28px); line-height: 1.45;
  color: var(--color-accent);
}
.about__text p { margin: 0 0 12px; }
/* 注文の手順 */
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.step {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--color-bg);
  border-radius: 12px; padding: 12px 14px;
}
.step__num, .menu-step__num {
  flex: none;
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-display); font-size: 17px; line-height: 1;
}
.step p { margin: 0; }
.step__title { font-weight: 900; font-size: 18px; line-height: 1.5; }
.step__desc { font-size: 14px; color: var(--color-muted); line-height: 1.6; }

/* サフォーククロスラム表示（対象メニューにのみ付ける） */
.suffolk-note {
  display: flex; flex-direction: column; gap: 6px;
  border: 2px dashed var(--color-accent); border-radius: 12px;
  padding: 12px 14px; margin: 0 0 16px !important;
  font-weight: 700;
}
.suffolk-tag {
  align-self: flex-start;
  display: inline-block;
  background: var(--color-accent); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.5;
  padding: 2px 10px; border-radius: 999px;
}
.suffolk-tag--sm { margin-left: 8px; vertical-align: 2px; font-size: 11px; padding: 1px 8px; white-space: nowrap; }

.text-link { font-weight: 700; color: var(--color-accent); }

/* 改行調整: .nowrap は単語の途中で折り返さない／.phrase は区切り単位でだけ折り返す */
.nowrap { white-space: nowrap; }
.phrase { display: inline-block; }

/* ---------- 3. お品書き ---------- */
.menu-step {
  display: flex; align-items: center; gap: 10px;
  margin: 36px 0 4px;
  font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.4;
}
.menu .section__head + .menu-step { margin-top: 0; }
.menu-step__num--drink { font-size: 15px; background: var(--color-text); }
.menu-step__lead { margin: 0 0 14px; font-size: 15px; color: var(--color-muted); }
.menu-step__lead strong { color: var(--color-accent); }

.set-list { display: grid; gap: 12px; }
.set-card {
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px;
}
.set-card p { margin: 0; }
.set-card__name { font-family: var(--font-display); font-size: 22px; line-height: 1.4; }
.set-card__price { font-family: var(--font-display); font-size: 28px; line-height: 1.2; color: var(--color-accent); white-space: nowrap; }
.set-card__price small { font-size: 16px; }
.set-card__desc { grid-column: 1 / -1; font-size: 15px; color: var(--color-muted); }

.menu-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
  margin-bottom: 14px;
}
.menu-card__title {
  margin: 0 0 6px;
  display: inline-block;
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  border-bottom: 4px solid var(--color-accent);
  line-height: 1.4;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--color-line);
  font-size: 18px; font-weight: 700;
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list li > span:first-child { line-height: 1.6; }
.menu-list .price { white-space: nowrap; color: var(--color-accent); font-weight: 900; }
.menu-pair { display: grid; gap: 0; }

.menu-sub {
  margin: 32px 0 0;
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
}
.menu-sub__note { margin: 2px 0 14px; font-size: 14px; color: var(--color-muted); }
.menu-images {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.menu-images a { display: block; text-decoration: none; }
.menu-images img { border-radius: 10px; box-shadow: 0 4px 14px rgba(58, 42, 32, 0.18); }
.menu-images--2 { grid-template-columns: 1fr 1fr; }
.menu-images span { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; text-align: center; line-height: 1.4; }

/* ---------- 4. 店内・料理 ---------- */
.gallery { background: var(--color-surface); }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__grid .photo { position: relative; }
.gallery__grid .photo img { aspect-ratio: 3 / 4; }
.gallery__wide { grid-column: 1 / -1; }
.gallery__wide img { aspect-ratio: 4 / 3 !important; }
.gallery__food img { aspect-ratio: 1 / 1 !important; object-position: 50% 45%; }
.gallery__grid figcaption {
  position: absolute; left: 8px; bottom: 8px;
  background: rgba(255, 250, 241, 0.92);
  color: var(--color-text);
  font-size: 13px; font-weight: 700;
  padding: 2px 10px; border-radius: 999px;
}

/* ---------- 5. 店舗情報・アクセス ---------- */
.access__grid { display: grid; gap: 24px; }
.access__name {
  margin: 0 0 12px;
  font-family: var(--font-display); font-size: 24px; line-height: 1.4;
}
.access__name span { font-family: var(--font-base); font-size: 15px; font-weight: 700; color: var(--color-muted); }
.info-list { margin: 0 0 20px; }
.info-list div {
  display: grid; grid-template-columns: 5.5em 1fr; gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.info-list dt { font-weight: 700; color: var(--color-muted); }
.info-list dd { margin: 0; font-weight: 700; font-size: 18px; }
.info-list a { color: var(--color-accent); }

.access__map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 3;
}
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.reserve-note { margin: 0 0 12px; font-weight: 700; }

/* ---------- フッター ---------- */
.site-footer {
  padding: 32px var(--gutter);
  background: var(--color-text); color: #f6efe3;
  text-align: center; font-size: 14px;
}
.site-footer p { margin: 0 0 4px; }
.site-footer__name { font-family: var(--font-display); font-size: 24px; }
.site-footer__name span { font-family: var(--font-base); font-size: 12px; letter-spacing: 0.2em; }

/* ---------- スマホ下部固定バー ---------- */
.fixed-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--fixed-bar-h);
  display: grid; grid-template-columns: 1fr 96px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.fixed-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; font-weight: 900; }
.fixed-bar__tel { background: var(--color-accent); color: #fff; }
.fixed-bar__label { font-size: 18px; line-height: 1.2; }
.fixed-bar__sub { font-size: 12px; font-weight: 700; opacity: 0.9; }
.fixed-bar__map { color: var(--color-accent); font-size: 16px; }

/* =========================================================
   タブレット・PC
   ========================================================= */
@media (min-width: 600px) {
  .menu-pair { grid-template-columns: 1fr 1fr; gap: 14px; }
  .menu-images { gap: 16px; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 17px; }
  .fixed-bar { display: none; }

  .site-nav { display: flex; gap: 22px; margin-left: auto; }
  .site-nav a { text-decoration: none; font-weight: 700; font-size: 15px; }
  .site-nav a:hover { color: var(--color-accent); }

  .hero {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
    max-width: var(--content-w); margin: 0 auto; padding: 32px var(--gutter) 24px; gap: 48px;
  }
  .hero__photo img { border-radius: 20px; aspect-ratio: 3 / 4; max-height: calc(100vh - var(--header-h) - 64px); }
  .hero__body { padding: 0; }
  .hero__title { font-size: 38px; }

  .section { padding: 80px max(var(--gutter), calc((100% - var(--content-w)) / 2)); }

  .about__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }

  .menu-card, .menu-pair, .menu-sub, .menu-sub__note, .menu-step__lead, .set-list { max-width: 820px; }
  .set-list { grid-template-columns: 1fr 1fr; }
  .menu-images--2 { max-width: 540px; }
  .menu-card { padding: 22px 28px 10px; }

  .gallery__grid { gap: 16px; }
  .gallery__grid .photo { grid-column: auto; }
  .gallery__grid .photo img { aspect-ratio: 4 / 3 !important; }

  .access__grid { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 40px; }
  .access__map { aspect-ratio: auto; height: 100%; min-height: 380px; }
}
