:root {
  color-scheme: light;
  --red: #941b22;
  --red-dark: #681117;
  --ink: #171513;
  --muted: #706b64;
  --gold: #b19455;
  --gold-soft: #d9c99f;
  --paper: #ffffff;
  --wash: #faf9f6;
  --line: #e5e1da;
  --shadow: 0 20px 60px rgba(24, 20, 15, 0.07);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, var(--wash) 100%);
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 0.2rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand-button {
  display: flex;
  align-items: center;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.logo-art { position: relative; display: block; overflow: hidden; aspect-ratio: 2753 / 774; background: white; }
.logo-art img { position: absolute; top: -20.16%; left: -80.17%; display: block; width: 188.78%; max-width: none; height: auto; }
.header-logo-image { width: clamp(185px, 25vw, 285px); }

.phone-chip {
  display: grid;
  gap: 0.12rem;
  color: var(--ink);
  text-align: right;
  text-decoration: none;
}
.phone-chip .phone-label { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; }
.phone-chip strong { font-size: clamp(1rem, 2.3vw, 1.25rem); letter-spacing: 0.05em; }
.phone-chip small { color: #000; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.35; }

.tab-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.tab {
  position: relative;
  min-height: 58px;
  padding: 0.65rem 0.3rem;
  color: #5d5852;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: clamp(0.82rem, 2.6vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.tab::after {
  position: absolute;
  right: 24%;
  bottom: -1px;
  left: 24%;
  height: 2px;
  content: "";
  background: transparent;
}
.tab:hover, .tab:focus-visible, .tab.is-active { color: var(--ink); }
.tab.is-active::after { background: var(--gold); }

main { min-height: 65vh; }
.panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.8rem) clamp(0.85rem, 3vw, 2rem) 4.5rem;
}
.panel[hidden] { display: none; }

.section-heading { margin: 0 auto clamp(1.4rem, 3vw, 2.2rem); text-align: center; }
.section-heading p {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.23em;
}
.section-heading h1 {
  margin: 0;
  font-family: serif;
  font-size: clamp(1.9rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.cover-panel { padding-top: clamp(1rem, 3vw, 2rem); }
.cover-card {
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 3.2rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  box-shadow: var(--shadow);
}
.cover-roman {
  display: block;
  margin-top: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--gold);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
}
.cover-logo-image { width: min(92%, 820px); margin: clamp(0.8rem, 3vw, 2.2rem) auto 1.1rem; }
.cover-lead {
  margin: 0.5rem 0 2rem;
  color: var(--muted);
  text-align: center;
  font-family: serif;
  font-size: clamp(1rem, 3vw, 1.2rem);
  letter-spacing: 0.16em;
}
.cover-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.cover-links button {
  display: grid;
  gap: 0.35rem;
  min-height: 96px;
  padding: 1rem 0.5rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.15rem;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}
.cover-links button:hover { border-color: var(--gold); transform: translateY(-2px); }
.cover-links span { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.08em; }
.cover-links strong { font-family: serif; font-size: clamp(1rem, 2.5vw, 1.22rem); font-weight: 600; }

.notice-section {
  margin-top: 1.4rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: white;
  border: 1px solid var(--line);
}
.section-heading.compact { margin-bottom: 1rem; text-align: left; }
.section-heading.compact h1 { font-size: clamp(1.35rem, 4vw, 1.9rem); }
.notice-list { border-top: 1px solid var(--line); }
.notice-item { border-bottom: 1px solid var(--line); }
.notice-item-priority { border-left: 3px solid var(--gold); }
.notice-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: 1rem 1.1rem;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary:hover { background: #fbfaf7; }
.notice-item[open] summary { background: #fbfaf7; border-bottom: 1px solid var(--line); }
.notice-item-title { font-family: serif; font-size: clamp(1rem, 2.8vw, 1.2rem); font-weight: 600; letter-spacing: 0.03em; }
.notice-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.notice-action::before { content: "詳細を見る"; }
.notice-action::after { content: "＋"; color: var(--ink); font-size: 1rem; }
.notice-item[open] .notice-action::before { content: "閉じる"; }
.notice-item[open] .notice-action::after { content: "−"; }
.notice-body { padding: 1rem 1.1rem 1.35rem; background: white; }
.allergy-copy { color: #4f4a45; font-size: 1rem; line-height: 1.9; }
.allergy-copy p { margin: 0.6rem 0; }
.allergy-copy .rice-note { margin-top: 1rem; color: var(--ink); font-weight: 700; }
.closing-notice-copy { color: #4f4a45; font-size: 1rem; line-height: 1.9; }
.closing-notice-copy > p { margin: 0.75rem 0; }
.closing-date {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  margin: 1.35rem 0;
  padding: 1rem;
  border-block: 1px solid var(--line);
  color: var(--ink);
  text-align: center;
}
.closing-date span { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.12em; }
.closing-date strong { font-family: serif; font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.45; }
.stamp-card-notice {
  margin: 1.35rem 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: #fbfaf7;
}
.stamp-card-notice h2 { margin: 0 0 0.7rem; color: var(--ink); font-family: serif; font-size: 1.15rem; text-align: center; }
.stamp-card-notice p { margin: 0.65rem 0; }
.notice-signature { text-align: right; }
.notice-schedule { margin: 0; padding: 0; list-style: none; }
.notice-schedule li {
  display: grid;
  grid-template-columns: minmax(9.5rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dotted #ddd7ce;
  color: #4f4a45;
  font-size: 1rem;
}
.notice-schedule li:last-child { border-bottom: 0; }
.notice-schedule .is-closed { color: #b33a2c; font-weight: 800; }
.notice-schedule .is-closed strong { font-weight: 800; }
.notice-close-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.notice-close {
  min-width: 7rem;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.notice-close:hover,
.notice-close:focus-visible { background: var(--ink); color: white; }

.store-info {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 1.4rem;
  color: var(--ink);
  background: var(--line);
  border: 1px solid var(--line);
  font-style: normal;
}
.store-info > div { display: grid; gap: 0.35rem; padding: 1.35rem; background: white; }
.store-info span { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; }
.store-info strong, .store-info a { color: var(--ink); font-size: 1rem; line-height: 1.7; text-decoration: none; }
.store-info .route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 44px;
  margin-top: 0.55rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.store-info .route-link span { color: inherit; font-size: 1rem; letter-spacing: 0; }
.store-info .route-link:hover,
.store-info .route-link:focus-visible { background: var(--red); border-color: var(--red); }

.limited-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}
.limited-grid.is-single { grid-template-columns: minmax(0, 680px); justify-content: center; }
.menu-sheet { margin: 0; padding: clamp(0.35rem, 1vw, 0.6rem); background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.menu-image { display: block; width: 100%; height: auto; }

.crop-frame {
  display: block;
  overflow: hidden;
  width: min(100%, 860px);
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.premium-crop { aspect-ratio: 677 / 650; }
.premium-crop img { display: block; width: 100%; height: auto; }

.price-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0 auto 1.6rem;
  padding: 1rem;
  color: var(--ink);
  background: white;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  text-align: center;
}
.price-card strong { font-family: serif; font-size: 1.4rem; font-weight: 600; }
.price-card span { color: var(--muted); font-size: 0.9rem; }
.grand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.25rem, 0.8vw, 0.58rem);
}
.grand-tile {
  aspect-ratio: 1280 / 1080;
  overflow: hidden;
  background-color: #f9f8f6;
  background-image: url("grand-menu.jpg");
  background-repeat: no-repeat;
  background-size: 900% 800%;
  border: 1px solid #e1ddd7;
  box-shadow: 0 5px 15px rgba(31, 26, 21, 0.06);
}

.topping-groups { display: grid; gap: 1rem; }
.topping-card { padding: clamp(1.1rem, 3vw, 1.8rem); background: white; border: 1px solid var(--line); }
.topping-card.featured { border-top: 2px solid var(--gold); }
.topping-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.topping-card h2 { margin: 0; font-family: serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 0.06em; }
.topping-card header strong { color: var(--red); font-size: 1rem; white-space: nowrap; }
.topping-card ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0.8rem 0 0;
  list-style: none;
}
.topping-card li { padding: 0.55rem 0.65rem; border-bottom: 1px dotted #ddd7ce; font-size: 0.95rem; }
.side-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.side-menu article { display: grid; gap: 0.5rem; padding: 1.2rem 1.4rem; background: var(--ink); color: white; }
.side-menu span { color: var(--gold-soft); font-family: serif; font-size: 1.15rem; }
.side-menu strong { font-size: 1rem; font-weight: 600; }

.detour-panel { max-width: 980px; }
.fortune-shell {
  padding: clamp(1rem, 3vw, 2.2rem);
  background: white;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
}
.fortune-intro {
  max-width: 650px;
  margin: 0 auto 1.6rem;
  text-align: center;
}
.fortune-intro p {
  margin: 0 0 0.55rem;
  font-family: serif;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  letter-spacing: 0.05em;
  line-height: 1.55;
}
.fortune-intro span { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.fortune-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--wash);
  border: 1px solid var(--line);
}
.fortune-card[hidden] { display: none; }
.fortune-card h2 {
  margin: 0 0 1.25rem;
  font-family: serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.fortune-field { display: grid; gap: 0.55rem; }
.fortune-field > span { font-size: 0.95rem; font-weight: 700; }
.fortune-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fortune-fieldset legend { margin-bottom: 0.55rem; padding: 0; font-size: 0.95rem; font-weight: 700; }
.fortune-date-fields { display: grid; grid-template-columns: 1.35fr 0.8fr 0.8fr; gap: 0.65rem; }
.fortune-date-fields label { display: grid; gap: 0.35rem; min-width: 0; }
.fortune-date-fields label > span { color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.fortune-field select,
.fortune-date-fields select {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: white;
  border: 1px solid #cbc4b8;
  border-radius: 2px;
  font: inherit;
}
.fortune-time-field { margin-top: 1rem; }
.fortune-time-field small { margin-left: 0.35rem; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.fortune-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 1.15rem;
  padding: 0.7rem 1.2rem;
  color: white;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.fortune-submit:hover,
.fortune-submit:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }
.fortune-error { margin: 0.8rem 0 0; color: var(--red); text-align: center; font-weight: 700; }
.fortune-privacy {
  margin: 0.9rem 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}
.fortune-privacy::before { content: "✓"; margin-right: 0.35rem; color: var(--gold); font-weight: 800; }
.fortune-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.fortune-result-head h2 { margin-bottom: 0.3rem; }
.fortune-result-head p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.fortune-back {
  min-height: 44px;
  padding: 0.45rem 0;
  color: var(--red);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}
.fortune-signs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.fortune-signs > div {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.9rem 0.55rem;
  background: white;
  border: 1px solid var(--line);
  text-align: center;
}
.fortune-signs span { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.fortune-signs strong { font-family: serif; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.fortune-reading {
  margin: 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--gold);
  font-size: 1rem;
  line-height: 1.9;
}
.fortune-daily-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.fortune-daily-head h3 { margin: 0; font-family: serif; font-size: 1.25rem; font-weight: 500; letter-spacing: 0.04em; }
.fortune-daily-head div { text-align: right; }
.fortune-daily-head p { margin: 0 0 0.2rem; color: var(--muted); font-size: 0.78rem; }
.fortune-daily-head strong { color: var(--red); font-size: 0.78rem; }
.fortune-daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.fortune-daily-grid article { min-height: 138px; padding: 1rem; background: white; border: 1px solid var(--line); }
.fortune-daily-grid span { color: var(--gold); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; }
.fortune-daily-grid p { margin: 0.5rem 0 0; font-size: 0.95rem; line-height: 1.75; }
.fortune-recommend {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--gold-soft);
}
.fortune-recommend-photo {
  width: 100%;
  aspect-ratio: 1280 / 1080;
  background-color: #f9f8f6;
  background-image: url("grand-menu.jpg");
  background-repeat: no-repeat;
  background-size: 900% 800%;
  border: 1px solid var(--line);
}
.fortune-recommend-copy > span { color: var(--gold); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; }
.fortune-recommend-copy h3 {
  margin: 0.45rem 0 0.55rem;
  font-family: serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fortune-recommend-copy p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.fortune-recommend-copy button {
  min-height: 44px;
  margin-top: 0.9rem;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
}
.fortune-recommend-copy button:hover,
.fortune-recommend-copy button:focus-visible { color: white; background: var(--ink); }
.fortune-boundary { margin: 1.1rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.7; text-align: center; }

footer {
  display: flex;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
  padding: 2.2rem 1rem;
  color: var(--muted);
  background: white;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
}
footer strong { color: var(--ink); font-family: serif; letter-spacing: 0.08em; }

button:focus-visible, a:focus-visible { outline: 3px solid #2d7de0; outline-offset: 3px; }

@media (max-width: 720px) {
  .site-header { min-height: 68px; }
  .phone-chip .phone-label { display: none; }
  .header-logo-image { width: clamp(155px, 47vw, 210px); }
  .tab { min-height: 54px; }
  .cover-links { grid-template-columns: repeat(2, 1fr); }
  .cover-links button { min-height: 86px; }
  .notice-section { padding-inline: 1rem; }
  .notice-item summary { padding-inline: 0.9rem; }
  .notice-action::before { content: "詳細"; }
  .notice-item[open] .notice-action::before { content: "閉じる"; }
  .notice-body { padding-inline: 0.9rem; }
  .store-info { grid-template-columns: 1fr; }
  .limited-grid { grid-template-columns: 1fr; }
  .side-menu { grid-template-columns: 1fr; }
  .fortune-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fortune-daily-grid { grid-template-columns: 1fr; }
  .fortune-daily-grid article { min-height: 0; }
  .fortune-recommend { grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1.25fr); }
  .panel { padding-bottom: 2.8rem; }
}

@media (max-width: 460px) {
  .tab { padding-inline: 0.12rem; font-size: 0.75rem; letter-spacing: 0; }
  .fortune-result-head { align-items: flex-start; }
  .fortune-recommend { grid-template-columns: 1fr; }
  .fortune-recommend-photo { width: min(100%, 320px); margin: 0 auto; }
}

@media (orientation: landscape) {
  .grand-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}

@media (orientation: landscape) and (max-height: 560px) {
  .site-header { min-height: 56px; padding-block: 0.4rem; }
  .header-logo-image { width: 175px; }
  .tab { min-height: 46px; padding-block: 0.4rem; }
  .cover-card { padding: 1rem; }
  .cover-logo-image { width: min(72%, 540px); margin-block: 0.4rem; }
  .cover-lead { margin: 0.2rem 0 0.8rem; }
  .cover-links { grid-template-columns: repeat(4, 1fr); padding-top: 0.8rem; }
  .cover-links button { min-height: 66px; padding: 0.5rem 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover-links button { transition: none; }
}
