/* =========================================================
   キッチンフクイ 2nd
   ========================================================= */

:root {
  --text: #3b2e25;
  --text-sub: #7a6a5d;
  --accent: #b4492b;
  --accent-dark: #963a20;
  --cream: #fffdf9;
  --beige: #f1eee8;
  --line: #e3ddd4;
  --dark: #2e241d;
  --line-green: #06c755;

  --header-h: 80px;
  --max: 1100px;
  --section-radius: 64px;
  /* 写真・カード・メニュー表・地図の角。丸はボタン・タブ・下のバーなど押せるもの（999px）に絞り、
     見せるものは角を立てて、セクションの大きな丸みが続きすぎないようにする。
     メインビジュアルだけは中身の写真というよりサイトの枠なので、ヘッダーと同じく丸める（.hero__visual） */
  --radius: 4px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sp { display: none; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; padding: 8px 14px; background: var(--dark); color: #fff; }
.skip:focus { top: 8px; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  transition: opacity .2s, background-color .2s, color .2s;
}
.btn:hover { opacity: .85; }
.btn--tel { background: var(--accent); color: #fff; }
.btn--line { background: var(--line-green); color: #fff; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: transparent;
}
/* スクロールするとクリームの地とやわらかい影が浮かび上がる（影は下のバーと同じ茶色で、ヘッダーとバーをそろえる）。
   影は短く濃いものと長く薄いものを重ね、ヘッダーに近いほど濃く、離れるほど薄くする。区切りは影だけにして、線は引かない */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--cream); border-radius: 0 0 16px 16px;
  box-shadow: 0 2px 6px rgba(59, 46, 37, .20), 0 10px 32px rgba(59, 46, 37, .18);
  opacity: 0; transition: opacity .24s ease;
}
.header.is-scrolled::before, .nav-open .header::before { opacity: 1; }
.header__inner {
  display: flex; align-items: center; gap: 32px;
  height: 100%; width: min(100% - 40px, 1240px); margin-inline: auto;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 52px; height: auto; }
/* 「喫茶＆洋食」はヒーローと同じ手書き風、店名は細めの1行で柔らかく */
.logo__text { display: flex; flex-direction: column; gap: 1px; font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: .06em; }
/* Yomogiは線が細いので、ヒーローと同じく縁取りで少し太らせる */
.logo__text small {
  font-family: "Yomogi", cursive; font-size: 14px; font-weight: 400; color: var(--accent); letter-spacing: .16em;
  -webkit-text-stroke: .45px currentColor; paint-order: stroke fill;
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 32px; }
.nav__list a { font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.nav__list a:hover { color: var(--accent); }
.nav__sp { display: none; }

.header__tel {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.header__tel .icon { width: 18px; height: 18px; }
.header__tel:hover { background: var(--accent-dark); }

.menu-btn { display: none; }

/* ---------- メインビジュアル ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero { padding-top: var(--header-h); background: var(--beige); }
.hero__inner { width: min(100% - 48px, 1240px); margin-inline: auto; padding-top: 24px; }
/* 背景は、写真が届くまでの仮の表示（index.html の小さな背景画像）。位置は1枚目の写真（--pos）に合わせる */
.hero__visual {
  position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.618; max-height: 620px; overflow: hidden; border-radius: 12px;
  background-position: 50% 45%; background-size: cover; background-repeat: no-repeat;
}
/* 写真は重ねておき、ゆっくり入れ替える（main.js）。--pos で写真ごとに見せる位置を決める（スマホだけ変えたいときは --pos-sp）。
   重なり順：写真（0〜2）＜ 下の暗いグラデーション（3）＜ ロゴ文字（4） */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transition: opacity 1.6s ease;
}
/* 次の写真はいつも一番上で浮かび上がり、前の写真はその下にそのまま残す。
   毎回同じ重なり方になるので、最後の写真から最初の写真へもつなぎ目なく続く */
.hero__slide.is-active { z-index: 2; opacity: 1; }
.hero__slide.is-leaving { z-index: 1; opacity: 1; }
.hero__visual::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(0deg, rgba(24, 20, 15, .64), rgba(24, 20, 15, .12) 48%, transparent 78%);
}
/* ロゴ文字の幅は写真の幅に対する割合で変える（スマホ約45%・タブレット約36%・PC約28%。スマホ幅は860px以下の指定で上書き）。
   余白も写真の大きさに合わせて広げる。「喫茶＆洋食」の大きさと位置はSVGの中で店名に固定している */
.hero__heading {
  position: absolute; z-index: 4;
  left: clamp(16px, calc(4% + 4px), 56px);
  bottom: clamp(16px, calc(7% + 2px), 52px);
  width: clamp(180px, calc(17% + 142px), 380px);
  color: #fff;
}
.hero__lockup { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 2px 14px rgba(24, 20, 15, .35)); }
/* h1の太字を引き継ぐとYomogiが疑似太字になるので400に戻す */
.hero__arc { font-family: "Yomogi", cursive; font-weight: 400; fill: currentColor; stroke: currentColor; stroke-linejoin: round; paint-order: stroke fill; }
.hero__wordmark { fill: currentColor; }

/* ---------- セクション共通 ---------- */
.section { padding: 88px 0; }
.section--beige { background: var(--beige); }
#recommend, #party, #takeout, #info {
  position: relative; margin-top: calc(-1 * var(--section-radius));
  border-radius: var(--section-radius) var(--section-radius) 0 0;
}
/* 次の面を角丸ぶん重ねても、本文から境界までの余白を保つ。 */
#menu, #party, #takeout { padding-bottom: calc(88px + var(--section-radius)); }

.ttl {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-bottom: 56px; text-align: center;
  font-size: 16px; font-weight: 700; letter-spacing: .14em; color: var(--accent);
}
.ttl__en {
  display: flex; align-items: center; gap: 18px;
  font-size: 36px; font-weight: 700; letter-spacing: .16em; color: var(--text); line-height: 1.3;
}
/* 英字の左右の線。細い線なので、日本語と同じテラコッタ（--accent）を少し薄くして使う */
.ttl__en::before, .ttl__en::after { content: ""; width: 32px; height: 1px; background: rgba(180, 73, 43, .6); }

/* ---------- こだわり：写真に白いカードを重ねる ---------- */
#concept { padding: 64px 0 calc(88px + var(--section-radius)); }
#concept .ttl { gap: 2px; margin-bottom: 32px; font-size: 14px; font-weight: 500; }
#concept .ttl__en { font-size: 28px; font-weight: 500; }
.concept { position: relative; padding-bottom: 80px; }
.concept__img { width: 68%; }
.concept__img img { width: 100%; height: auto; border-radius: var(--radius); }
.concept__card {
  position: absolute; right: 0; bottom: 0; width: 48%;
  padding: 44px 48px; background: var(--cream); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(59, 46, 37, .08);
}
.concept__lead { margin-bottom: 20px; font-size: 22px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.concept__card p + p { margin-top: 1em; }

/* ---------- 人気メニュー ---------- */
/* 下のMENUとは同じクリームで境目がないので、下の余白は控えめにする */
#recommend {
  padding: 64px 0 44px; background: var(--cream);
}
.recommend__intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.recommend__heading { font-size: 28px; font-weight: 500; letter-spacing: .08em; }
.recommend__link { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--text); font-size: 14px; white-space: nowrap; }
.recommend__link::after { content: ""; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.recommend__link:hover { color: var(--accent); border-color: var(--accent); }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dish { display: flex; flex-direction: column; }
.dish__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.dish__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 8px 16px; padding-top: 20px; }
.dish__name { font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.dish__price { font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 「（税込）」は数字のすぐ横に小さく添える */
.dish__price small { font-size: 12px; font-weight: 400; letter-spacing: .02em; color: var(--text-sub); }
.dishes__note { margin-top: 28px; font-size: 12px; color: var(--text-sub); text-align: right; }

/* ---------- メニュー ---------- */
/* タブはベージュの丸い台の上に並べ、選んでいるものだけ茶色で塗る */
.tabs__list {
  display: none; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px;
  padding: 4px; background: var(--beige); border-radius: 999px;
}
.js .tabs__list { display: flex; }
.tabs__tab {
  min-width: 128px; padding: 11px 24px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer; font-size: 16px; font-weight: 700; letter-spacing: .08em;
  transition: background-color .2s, color .2s;
}
.tabs__tab:hover { background: rgba(59, 46, 37, .06); }
.tabs__tab[aria-selected="true"] { background: var(--text); color: #fff; }
.tabs__panel + .tabs__panel { margin-top: 48px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.js .tabs__panel[hidden] { display: none; }

/* メニュー表の画像をそのまま並べる（切り抜かない） */
.flyers { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.flyers > li { width: calc((100% - 48px) / 3); }
.flyers--2 > li { width: calc((100% - 24px) / 2); }
.flyers--2 { max-width: 760px; margin: 0 auto; }
.flyers--1 > li { width: 100%; }
.flyer {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(59, 46, 37, .12);
  transition: transform .25s, box-shadow .25s;
}
.flyer:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(59, 46, 37, .18); }
.flyer img { width: 100%; height: auto; }
.flyers__dots { display: none; }

.menu-foot { margin-top: 40px; font-size: 13px; color: var(--text-sub); text-align: center; line-height: 2; }

/* 拡大表示 */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 14, 10, .92);
}
.viewer::backdrop { background: rgba(20, 14, 10, .92); }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer__img { max-width: min(100%, 1024px); max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer__btn {
  position: fixed; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 253, 249, .92); color: var(--text);
  font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.viewer__close { top: 16px; right: 16px; }
.viewer__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.viewer__next { right: 16px; top: 50%; transform: translateY(-50%); }
.viewer__btn[hidden] { display: none; }

/* ---------- 貸切・宴会 ---------- */
.party__lead { text-align: center; font-size: 16px; line-height: 2; margin-bottom: 40px; }
.party__btns { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.party__btns .btn { min-width: 260px; }

/* ---------- テイクアウト ---------- */
#takeout { background: var(--cream); }
.takeout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: center; justify-content: center; max-width: 860px; margin: 0 auto; }
.takeout__lead { font-size: 17px; line-height: 2; }

/* ---------- 店舗情報 ---------- */
/* PCは表と地図を同じ高さの2枚のカードにそろえる（地図が表の高さまで伸びる） */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info__table { background: var(--cream); border-top: 1px solid var(--line); }
.info__table th, .info__table td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
/* 左の項目名は、その行の高さの中央にそろえる（内容が2行以上の行でも真ん中に来る） */
.info__table th { width: 110px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.info__table a { font-weight: 700; color: var(--accent); }
.info__tel { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; vertical-align: middle; white-space: nowrap; }
.info__tel .icon { width: 16px; height: 16px; }
/* 表の「SNS」の欄。アイコンは各社の色のまま、形をゆがめずに置き、
   各社の決まりに合わせて周りにアイコンの半分より広い余白をとる（文字との間・上下とも） */
.info__sns { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.info__table .info__sns a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 3px 0; color: var(--text); }
.info__sns a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.info__sns-icon { flex-shrink: 0; width: 30px; height: 30px; }
/* 地図の下に「Googleマップで開く」。PCは地図が表の高さまで伸び、ボタンはその下に付く */
.info__map { display: flex; flex-direction: column; gap: 12px; }
.info__map iframe { display: block; flex: 1; width: 100%; min-height: 420px; border: 0; border-radius: var(--radius); }
.info__mapbtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
  font-size: 15px; font-weight: 500; letter-spacing: .04em; transition: color .2s, border-color .2s;
}
.info__mapbtn:hover { color: var(--accent); border-color: currentColor; }
.info__mapbtn .icon { width: 20px; height: 20px; color: var(--accent); }

/* ---------- フッター ---------- */
/* ヘッダーと同じクリームにして、ロゴは元の色のまま。角は丸めず、上の欄に重ねないで平らに置く。
   PCはロゴ・住所・リンクを横1列に、スマホは中央にまとめて縦に短くする */
.footer { background: var(--cream); color: var(--text); padding: 48px 0 0; font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 20px 56px; padding-bottom: 40px; }
.footer__brand { display: inline-flex; align-items: center; gap: 14px; }
.footer__logo { width: 64px; flex-shrink: 0; }
.footer__name { display: flex; flex-direction: column; gap: 2px; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: .04em; }
/* ヘッダーの「喫茶＆洋食」と同じ手書き文字 */
.footer__name small {
  font-family: "Yomogi", cursive; font-size: 13px; font-weight: 400; letter-spacing: .16em; color: var(--accent);
  -webkit-text-stroke: .4px currentColor; paint-order: stroke fill;
}
.footer__address { font-size: 13px; font-style: normal; line-height: 1.8; color: var(--text-sub); }
.footer__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.footer__tel .icon { width: 18px; height: 18px; color: var(--accent); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 28px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; }
.footer__nav a:hover, .footer__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { padding: 16px 20px; border-top: 1px solid rgba(59, 46, 37, .12); text-align: center; font-size: 11px; letter-spacing: .08em; color: var(--text-sub); }

.sp-bar { display: none; }

/* ---------- 開いた時の演出 ---------- */
/* 写真はぼやけた状態から約1.6秒でピントが合い、ヘッダー → CONCEPT → 店名 → 下のバーの順にふわっと出る（全部で約2秒）。
   html の .intro が始まりの状態、.intro-go が動き。付け外しは index.html の head と main.js。
   最後は普通の表示と同じ状態で終わるので、クラスを外しても見た目は変わらない */
.intro .hero__visual { filter: blur(clamp(10px, 1.4vw, 18px)); }
.intro .header, .intro .sp-bar { opacity: 0; }
.intro .sp-bar { transform: translateY(12px); }
.intro #concept > .container { opacity: 0; transform: translateY(14px); }
.intro .hero__heading { opacity: 0; transform: translateY(8px); }
.intro-go .hero__visual { filter: blur(0); transition: filter 1.6s cubic-bezier(.25, .5, .25, 1); }
.intro-go .header { opacity: 1; transition: opacity 1s ease .35s; }
.intro-go #concept > .container { opacity: 1; transform: none; transition: opacity 1.1s ease .6s, transform 1.1s cubic-bezier(.2, .7, .2, 1) .6s; }
.intro-go .hero__heading { opacity: 1; transform: none; transition: opacity 1s ease 1s, transform 1s ease 1s; }
.intro-go .sp-bar { opacity: 1; transform: none; transition: opacity .9s ease 1.1s, transform .9s ease 1.1s; }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1024px) {
  .nav__list { gap: 20px; }
  .nav__list a { font-size: 14px; }
  .header__tel { padding: 0 18px; font-size: 15px; }
  /* フッターのリンクが1行に収まるよう、間を詰める */
  .footer__inner { column-gap: 40px; }
  .footer__nav { column-gap: 20px; }
}
/* 料理名と値段（税込つき）が1行に収まらない幅（3列のカードが狭いPC・とても小さいスマホ）では、値段を料理名の下に置く */
@media (min-width: 861px) and (max-width: 1119px), (max-width: 359px) {
  .dish__body { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dish__price { text-align: left; }
}
/* スマホ表示に切り替わる手前の幅でも、ヘッダーのリンクと電話番号が途中で折り返さないよう、さらに詰める */
@media (max-width: 960px) {
  .header__inner { gap: 20px; }
  .nav__list { gap: 16px; }
  .header__tel { padding: 0 16px; }
  .logo__text { font-size: 15px; }
  .logo__text small { font-size: 12.5px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 860px) {
  :root { --header-h: 64px; --section-radius: 40px; }
  body { font-size: 15px; }

  .header__inner { gap: 16px; }
  .logo img { width: 42px; }
  .logo__text { font-size: 15px; }
  .logo__text small { font-size: 12.5px; }
  .header__tel { display: none; }

  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; flex-shrink: 0; margin-left: auto; padding: 0 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* メニューは中身の高さだけのシートにして、下のページは薄く暗くして見せる */
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    padding: 4px 20px 28px; background: var(--cream); border-radius: 0 0 16px 16px;
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 99;
    background: rgba(46, 36, 29, .36);
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s;
  }
  body.nav-open::after { visibility: visible; opacity: 1; transition-delay: 0s; }
  /* 開いている間はヘッダーとメニューを1枚につなげる。閉じるときはメニューが消えてから角丸に戻す */
  .header::before { transition: opacity .24s ease, border-radius 0s .25s, box-shadow 0s .25s; }
  .nav-open .header::before { border-radius: 0; box-shadow: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; }
  .nav__sp { display: grid; gap: 12px; margin-top: 32px; }
  body.nav-open { overflow: hidden; }

  .hero__inner { width: calc(100% - 26px); padding-top: 13px; }
  /* スマホは写真を元の比率（4:3）のまま見せ、ロゴ文字は写真の幅の45%ほどに抑える */
  .hero__visual { aspect-ratio: 4 / 3; }
  .hero__slide { object-position: var(--pos-sp, var(--pos, 50% 50%)); }
  .hero__heading { width: clamp(132px, calc(28% + 59px), 300px); }
  .sp { display: inline; }

  .section { padding: 56px 0; }
  #menu, #party, #takeout { padding-bottom: calc(56px + var(--section-radius)); }
  .ttl { font-size: 14px; margin-bottom: 36px; }
  .ttl__en { font-size: 26px; gap: 12px; }

  .takeout, .info { grid-template-columns: 1fr; gap: 32px; }
  .takeout__lead { font-size: 15px; }
  #concept { padding: 40px 0 calc(56px + var(--section-radius)); }
  #concept .ttl { margin-bottom: 24px; font-size: 13px; }
  #concept .ttl__en { font-size: 20px; }
  .concept { padding-bottom: 0; }
  .concept__img { width: 100%; }
  .concept__card { position: relative; width: auto; margin: -20px 12px 0; padding: 28px 22px; }
  .concept__lead { font-size: 17px; }
  /* 下のMENUとは同じクリームで境目がないので、間を詰めておく */
  #recommend { padding: 44px 0 32px; }
  .recommend__intro { gap: 16px; margin-bottom: 28px; }
  .recommend__heading { font-size: clamp(22px, 5.6vw, 24px); }
  .recommend__link { gap: 12px; font-size: 13px; }
  .dishes { grid-template-columns: 1fr; gap: 44px; }
  .dish__body { padding-top: 18px; }
  .dish__name { font-size: clamp(18px, 4.6vw, 20px); }

  .tabs__list { width: 100%; gap: 2px; margin-bottom: 24px; }
  .tabs__tab { flex: 1; min-width: 0; padding: 10px 4px; font-size: 14px; }
  .flyers { gap: 20px; }
  .flyers > li, .flyers--2 > li { width: 100%; }
  /* 複数のメニュー表は縦に積まず、横に並べてスワイプで切り替える（ショーケース型）。
     画面の端から端まで使い、真ん中に1枚、左右に前後の1枚を少しずつ見せる */
  .flyers:not(.flyers--1) {
    flex-wrap: nowrap; justify-content: flex-start; gap: 14px; max-width: none;
    margin: 0 -20px; padding: 6px 14vw 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .flyers:not(.flyers--1)::-webkit-scrollbar { display: none; }
  .flyers:not(.flyers--1) > li { flex: 0 0 72vw; scroll-snap-align: center; }
  /* タブレット縦は幅に余裕があるので、2枚ずつ並べる */
  @media (min-width: 600px) {
    .flyers:not(.flyers--1) { gap: 20px; padding-inline: 20px; scroll-padding-inline: 20px; }
    .flyers:not(.flyers--1) > li { flex-basis: calc((100% - 20px) / 2); scroll-snap-align: start; }
  }
  /* 何枚目を見ているかの点（main.js で作る。横にはみ出さない時は隠す） */
  .flyers__dots { position: relative; display: flex; justify-content: center; gap: 6px; }
  .flyers__dots[hidden] { display: none; }
  .flyers__dots span { width: 6px; height: 6px; border-radius: 3px; background: #d3c8bb; transition: width .25s, background-color .25s; }
  .flyers__dots span.is-active { width: 18px; background: var(--accent); }
  /* 初めて画面に入った時だけ、横に少し動かして「スワイプできる」と伝える（main.js） */
  .flyers__hint {
    position: absolute; left: 50%; bottom: calc(100% + 34px); transform: translateX(-50%);
    padding: 8px 18px; border-radius: 999px; background: rgba(46, 36, 29, .8); color: var(--cream);
    font-size: 13px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity .3s;
  }
  .flyers__hint.is-shown { opacity: 1; }
  .flyers.is-nudging > li { animation: flyers-nudge 1.3s ease-in-out .15s both; }
  @keyframes flyers-nudge { 0%, 100% { transform: none; } 35%, 60% { transform: translateX(-56px); } }
  .viewer__btn { width: 44px; height: 44px; font-size: 26px; }
  .viewer__prev, .viewer__next { top: auto; bottom: 20px; transform: none; }

  .party__lead { text-align: left; font-size: 15px; }
  .party__btns { flex-direction: column; }
  .party__btns .btn { min-width: 0; }

  .info__table th { width: 84px; }
  .info__map iframe { min-height: 300px; }

  .footer { padding-top: 36px; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding-bottom: 20px; text-align: center; }
  .footer__brand { gap: 12px; text-align: left; }
  .footer__logo { width: 52px; }
  .footer__name { font-size: 16px; }
  .footer__address { font-size: 12.5px; }
  /* リンクは3つと2つの2行に分かれる幅にして、中央でそろえる */
  .footer__nav { max-width: 280px; justify-content: center; column-gap: 20px; font-size: 13px; }
  .footer__nav a { min-height: 40px; }

  .sp-bar {
    position: fixed; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    width: min(calc(100% - 24px), 480px); margin-inline: auto; padding: 6px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 4px 24px rgba(59, 46, 37, .12);
    transition: transform .35s ease, opacity .35s ease;
  }
  /* SNS欄とフッターに同じリンクがあるので、そこまで来たら下へ隠す（main.js） */
  .sp-bar.is-hidden {
    transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility 0s .35s;
  }
  .sp-bar a {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 7px;
    min-width: 0; min-height: 48px; padding: 4px; border-radius: 999px;
    color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; white-space: nowrap;
  }
  .sp-bar a + a::before {
    content: ""; position: absolute; left: 0; top: calc(50% - 9px); width: 1px; height: 18px; background: var(--line);
  }
  .sp-bar a:hover { background: var(--beige); }
  .sp-bar a:first-child { color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header::before { transition: none; }
  .sp-bar, .sp-bar.is-hidden { transition: none; }
  .nav, body::after { transition: none; }
  .hero__slide { transition: none; }
  .flyers__hint { transition: none; }
}

