/* おやひなや 姫路駅前店 LP
   色：地 #FAF7F0／墨 #1C1815／朱 #C8341B／黄 #F5C518／薄地 #F1EADC
   角丸：カード20px（中の写真＝20 - 余白0 → 上だけ20）、ボタン丸ピル */

:root {
  --kinari: #FAF7F0;
  --sumi: #1C1815;
  --shu: #C8341B;
  --shu-dark: #A82A14;
  --ki: #F5C518;
  --usuji: #F1EADC;
  --white: #FFFFFF;
  --muted: #5B534C;

  --f-head: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --f-brush: "Yuji Syuku", "Hiragino Mincho ProN", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;

  --line: 2px solid var(--sumi);
  --r-card: 20px;
  --gutter: 16px;
  --header-h: 60px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kinari);
  color: var(--sumi);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
small { font-size: .75em; }

:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sumi); color: var(--white); padding: 8px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

.wrap { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - var(--gutter) * 2); }
.center { text-align: center; }
.section { padding: 48px 0; }
.h2 {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(2.125rem, 9.4vw, 4.5rem);
  line-height: 1.22;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.note { font-size: .8125rem; line-height: 1.7; color: var(--muted); margin-top: 16px; }
.note--dark { color: #CFC6BB; }

/* ボタン（丸ピル・高さ48px） */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .875rem; }
.btn--shu { background: var(--shu); color: var(--white); }
.btn--shu:hover { background: var(--shu-dark); }
.btn--ink { background: var(--sumi); color: var(--white); }
.btn--ink:hover { background: #3A332D; }
.btn--light { background: var(--white); color: var(--sumi); border-color: var(--sumi); }
.btn--light:hover { background: var(--usuji); }
.btn--outline { background: transparent; color: var(--sumi); border-color: var(--sumi); }
.btn--outline:hover { background: var(--usuji); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-row--center { justify-content: center; }

/* 1. ヘッダー */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--kinari);
  border-bottom: var(--line);
}
.header__inner {
  height: var(--header-h);
  width: min(1320px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
}
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; margin-right: auto; white-space: nowrap; min-width: 0; }
.logo__name { font-family: var(--f-brush); font-size: 1.5rem; line-height: 1; }
.logo__shop { font-size: .75rem; font-weight: 700; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 10px; font-size: .875rem; font-weight: 700; text-decoration: none; border-radius: 999px; }
.nav a:hover { background: var(--usuji); }

/* 2. ヒーロー */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - var(--bar-h));
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(28,24,21,0) 52%, rgba(28,24,21,.32) 70%, rgba(28,24,21,.68) 100%);
}
.hero__body { position: relative; z-index: 1; padding: 0 var(--gutter) 24px; width: 100%; text-shadow: 0 1px 12px rgba(28,24,21,.45); }
.hero__label, .hero__btns { text-shadow: none; }
.hero__label {
  display: inline-block;
  background: var(--ki); color: var(--sumi);
  font-weight: 700; font-size: .875rem; line-height: 1.4;
  padding: 6px 12px; border-radius: 4px;
  transform: rotate(-1.5deg);
}
.hero__title {
  font-family: var(--f-head); font-weight: 400;
  font-size: clamp(2.75rem, 13.5vw, 7.5rem);
  line-height: 1.12; letter-spacing: .01em;
  margin-top: 10px;
}
.hero__lead { font-family: var(--f-brush); font-size: clamp(1.125rem, 4.8vw, 2rem); margin-top: 6px; }
.hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hero__btns .btn { padding: 0 12px; }

.hero__badge {
  position: absolute; z-index: 1; top: 16px; right: 14px;
  width: 124px; aspect-ratio: 1; border-radius: 50%;
  background: var(--ki); color: var(--sumi);
  border: var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2;
  transform: rotate(7deg);
}
.hero__badge-top { font-weight: 700; font-size: .75rem; }
.hero__badge-price { font-family: var(--f-head); font-size: 1.875rem; line-height: 1.1; margin: 2px 0; }
.hero__badge-price small { font-family: var(--f-body); font-weight: 700; font-size: .875rem; margin-left: 1px; }
.hero__badge-note { font-size: .6875rem; font-weight: 700; line-height: 1.3; }

/* 3. 墨の帯 */
.facts { background: var(--sumi); color: var(--white); }
.facts__list {
  width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.facts__list li {
  padding: 20px 8px; text-align: center;
  display: flex; flex-direction: column; gap: 4px; line-height: 1.45;
}
.facts__list li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.25); }
.facts__list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
.facts__list strong { font-family: var(--f-head); font-weight: 400; font-size: 1.875rem; color: var(--ki); }
.facts__list span { font-size: .8125rem; font-weight: 500; }
.facts__list small { font-size: .6875rem; opacity: .75; }

/* 4. VS */
.vs__grid { display: grid; gap: 0; align-items: stretch; }
.vs-card {
  border: var(--line); border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column;
}
.vs-card--hina { background: var(--white); }
.vs-card--oya { background: var(--sumi); color: var(--white); border-color: var(--sumi); }
.vs-card__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.vs-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.vs-card__body { padding: 20px 22px 24px; }
.vs-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vs-card__name { font-family: var(--f-brush); font-weight: 400; font-size: 3.5rem; line-height: 1; }
.vs-card__price { font-family: var(--f-head); font-size: 2.125rem; }
.vs-card__price small { font-family: var(--f-body); font-weight: 700; font-size: .9rem; margin-left: 2px; }
.vs-card__copy { font-weight: 700; font-size: 1.125rem; line-height: 1.6; margin-top: 10px; }

.meter { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8125rem; font-weight: 700; }
.meter__end { flex: none; }
.meter__track { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--usuji); border: 2px solid currentColor; }
.vs-card--oya .meter__track { background: #3A332D; }
.meter__dot {
  position: absolute; top: 50%; left: var(--pos);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--shu); border: 2px solid currentColor;
  transform: translate(-50%, -50%);
}

.vs__mark {
  justify-self: center; z-index: 2;
  width: 76px; height: 76px; margin: -20px 0;
  border-radius: 50%; background: var(--ki); border: var(--line);
  display: grid; place-items: center;
  font-family: var(--f-head); font-size: 1.625rem; line-height: 1;
  transform: rotate(-6deg);
}
.vs__foot {
  font-family: var(--f-brush); font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.6;
  text-align: center; margin-top: 24px;
}

/* 5. 三度うまい */
.how { background: var(--usuji); }
.steps { display: grid; gap: 32px; }
.step { position: relative; }
.step__photo {
  aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden;
  border: var(--line); background: var(--white);
}
.step__photo img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: grid; place-items: center; text-align: center;
  border-style: dashed; background: var(--kinari); color: var(--muted);
  font-weight: 700; line-height: 1.6;
}
.ph small { font-weight: 500; font-size: .8125rem; }
.step__num {
  position: absolute; top: -14px; left: -6px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--shu); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--f-head); font-size: 1.5rem; line-height: 1;
}
.step__title { font-family: var(--f-head); font-weight: 400; font-size: 1.75rem; line-height: 1.35; margin-top: 12px; }
.step__text { margin-top: 6px; }
.step__price {
  display: inline-block; margin-top: 10px;
  background: var(--ki); padding: 2px 12px; border-radius: 999px;
  font-size: .875rem; font-weight: 700;
}
.step__price b { font-size: 1rem; }

/* 6. お品書き */
.menu__grid { display: grid; gap: 32px; align-items: start; }
.order-card {
  background: var(--ki); border: var(--line); border-radius: var(--r-card);
  padding: 28px 24px; transform: rotate(-2deg);
}
.order-card__lead { font-weight: 700; font-size: 1.125rem; line-height: 1.5; }
.order-card__total { font-family: var(--f-head); font-size: 3.5rem; line-height: 1.1; margin-top: 6px; }
.order-card__total small { font-family: var(--f-body); font-weight: 700; font-size: 1.25rem; margin-left: 4px; }
.order-card__list { margin-top: 16px; border-top: var(--line); }
.order-card__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(28,24,21,.35); font-weight: 500; }
.order-card__note { margin-top: 14px; font-size: .8125rem; line-height: 1.7; font-weight: 500; }

.menu-table { border-top: var(--line); }
.menu-table > div {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid rgba(28,24,21,.2);
}
.menu-table dt { font-weight: 700; font-size: 1.125rem; flex: 1; }
.menu-table dd { font-family: var(--f-head); font-size: 1.625rem; white-space: nowrap; }
.tag-limited {
  display: inline-block; margin-left: 6px; vertical-align: 2px;
  font-style: normal; font-size: .6875rem; font-weight: 700; line-height: 1;
  color: var(--white); background: var(--shu); padding: 5px 8px; border-radius: 999px;
}

/* 7. 口コミ */
.voice { background: var(--sumi); color: var(--white); }
.voice__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 24px; }
.voice__head .h2 { margin-bottom: 0; }
.voice__score { display: flex; align-items: center; gap: 14px; }
.voice__score strong { font-family: var(--f-head); font-weight: 400; font-size: 5.5rem; line-height: 1; color: var(--ki); }
.voice__stars { color: var(--ki); font-size: 1.125rem; letter-spacing: .1em; }
.voice__meta { font-size: .75rem; line-height: 1.5; color: #CFC6BB; }
.voice__score { flex-wrap: wrap; }
.voice__list { display: grid; gap: 16px; }
.voice-card {
  background: var(--kinari); color: var(--sumi);
  border-radius: var(--r-card); padding: 24px 22px;
}
.voice-card__title { font-family: var(--f-head); font-size: 1.5rem; line-height: 1.4; }
.voice-card__text { margin-top: 10px; font-size: .9375rem; }
.voice-card__src { margin-top: 14px; font-size: .75rem; font-weight: 700; color: var(--muted); }

/* 8. 席 */
.seats__list { display: grid; gap: 20px; }
.seat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); border: var(--line); }
.seat h3 { font-family: var(--f-head); font-weight: 400; font-size: 1.75rem; margin-top: 10px; }
.seat p { margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  border: var(--line); border-radius: 999px; background: var(--white);
  padding: 6px 14px; font-size: .875rem; font-weight: 700; line-height: 1.4;
}

/* 9. アクセス */
.access { background: var(--usuji); }
.access__grid { display: grid; gap: 28px; align-items: start; }
.route { display: grid; gap: 14px; }
.route li { display: flex; gap: 14px; align-items: flex-start; }
.route__num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--shu); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--f-head); font-size: 1.0625rem; line-height: 1;
}
.route p { padding-top: 3px; }
.info { margin-top: 24px; border-top: var(--line); }
.info > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(28,24,21,.2); }
.info dt { font-weight: 700; }
.access__photo img { width: 100%; border-radius: var(--r-card); border: var(--line); aspect-ratio: 4 / 5; object-fit: cover; }
.access__photo figcaption { margin-top: 10px; font-weight: 700; font-size: .9375rem; }

/* 10. FAQ */
.faq__list { border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 4px;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sumi); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--f-head); font-size: 1.125rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--shu); }
.faq details p { padding: 0 4px 20px; }

/* 11. 最終CTA */
.cta { background: var(--shu); color: var(--white); padding: 56px 0; }
.cta__title { font-family: var(--f-head); font-weight: 400; font-size: clamp(3rem, 14.5vw, 7.5rem); line-height: 1.15; }
.cta__lead { margin-top: 12px; font-weight: 700; }
.cta .btn--light { border-color: var(--white); }
.cta .btn-row { display: grid; max-width: 320px; margin-inline: auto; }
@media (min-width: 768px) { .cta .btn-row { display: flex; max-width: none; } }

/* フッター */
.footer { background: var(--sumi); color: var(--white); padding: 36px 0 32px; font-size: .875rem; }
.footer__inner { display: grid; gap: 14px; }
.footer__name { font-family: var(--f-brush); font-size: 1.75rem; line-height: 1.2; }
.footer__name span { font-family: var(--f-body); font-size: .8125rem; font-weight: 700; margin-left: 8px; }
.footer a { color: var(--white); }
.footer__links { display: flex; gap: 20px; font-weight: 700; }
.footer__links a { display: inline-block; padding: 10px 0; }
.footer__copy { font-size: .75rem; opacity: .7; }

/* 12. スマホの固定バー */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 2fr;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--sumi); border-top: 2px solid var(--sumi);
}
.bar a {
  display: grid; place-items: center;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: .9375rem;
}
.bar a + a { border-left: 1px solid rgba(255,255,255,.25); }
.bar .bar__main { background: var(--shu); border-left: 0; }

/* ---------- タブレット以上 ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 72px; }
  body { padding-bottom: 0; }
  .bar { display: none; }
  .section { padding: 80px 0; }
  .h2 { margin-bottom: 36px; }
  .logo__name { font-size: 2rem; }

  .hero { min-height: calc(100svh - var(--header-h)); align-items: center; }
  .hero__photo img { object-position: 50% 50%; }
  .hero::after {
    background: linear-gradient(to bottom, rgba(28,24,21,0) 55%, rgba(28,24,21,.3) 75%, rgba(28,24,21,.65) 100%);
  }
  .hero { align-items: flex-end; }
  .hero__body { width: min(1240px, 100% - 80px); margin-inline: auto; padding: 0 0 56px; }
  .hero__photo img { object-position: 50% 35%; }
  .hero__label { font-size: 1rem; padding: 8px 16px; }
  .hero__title { font-size: clamp(3.75rem, 5.6vw, 5.5rem); }
  .hero__btns { display: flex; gap: 12px; }
  .hero__btns .btn { padding: 0 32px; min-height: 56px; font-size: 1.0625rem; }
  .hero__badge { top: auto; bottom: 72px; right: max(40px, calc((100% - 1240px) / 2)); width: 196px; }
  .hero__badge-top { font-size: 1rem; }
  .hero__badge-price { font-size: 2.75rem; }
  .hero__badge-price small { font-size: 1.125rem; }
  .hero__badge-note { font-size: .8125rem; }

  .facts__list { grid-template-columns: repeat(4, 1fr); }
  .facts__list li { padding: 28px 12px; border: 0 !important; }
  .facts__list li + li { border-left: 1px solid rgba(255,255,255,.25) !important; }
  .facts__list strong { font-size: 2rem; }
  .facts__list span { font-size: .875rem; }

  .vs__grid { grid-template-columns: 1fr auto 1fr; }
  .vs__mark { align-self: center; margin: 0 -28px; width: 96px; height: 96px; font-size: 2rem; }
  .vs-card__name { font-size: 3.5rem; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step__photo { aspect-ratio: 4 / 5; }

  .voice__list { grid-template-columns: repeat(3, 1fr); }
  .seats__list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .seat img { aspect-ratio: 4 / 3; }
  .access__grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .access__photo { max-width: 440px; justify-self: end; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .menu__grid { grid-template-columns: 360px 1fr; gap: 56px; }
  .order-card { position: sticky; top: calc(var(--header-h) + 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 写真ドンの帯（画面の端から端まで） */
.band img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* スマホ：横に流れる写真（次の1枚が少し見える） */
@media (max-width: 767px) {
  .slide {
    display: flex !important; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter) 4px;
    scroll-padding-inline: var(--gutter);
  }
  .slide::-webkit-scrollbar { display: none; }
  .slide > li { flex: 0 0 84%; scroll-snap-align: start; }
  .steps.slide > li { flex-basis: 86%; }
  .step__photo { aspect-ratio: 4 / 5; }
  .seat img { aspect-ratio: 1 / 1; }
  .seat img[src$="tables.webp"] { object-position: 30% 50%; }
  .voice-card { display: flex; flex-direction: column; }
  .voice-card__src { margin-top: auto; padding-top: 14px; }
  .access__photo { margin-inline: calc(var(--gutter) * -1); }
  .access__photo img { border-radius: 0; border: 0; border-block: var(--line); }
  .access__photo figcaption { padding-inline: var(--gutter); }
}
@media (min-width: 768px) {
  .band img { aspect-ratio: 21 / 9; }
}

@media (min-width: 768px) { .sp-br { display: none; } }

/* 小さいスマホ（320px）では店舗名を省いて予約ボタンとぶつからないように */
@media (max-width: 359px) { .logo__shop { display: none; } }

/* タブレット縦：縦写真の向きに合わせる */
@media (min-width: 768px) and (orientation: portrait) {
  .hero__photo img { object-position: 50% 40%; }
}

/* ふわっと出す（フェードだけ） */
.fade { opacity: 0; transition: opacity .7s ease; }
.fade.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transition: none; } }
