/* ========================================
   まる洋 高橋食堂 - style.css
   ======================================== */

:root {
  --orange-primary: #E8632A;
  --orange-light: #F4A269;
  --orange-deep: #C94E1B;
  --navy-primary: #2C3E5A;
  --navy-deep: #1A2538;
  --cream-base: #FBF7EF;
  --paper: #F5EFE0;
  --ink: #1F1A14;
  --ink-mute: #6B6258;
  --line: #E2D9C4;
  --white: #FFFFFF;

  --font-serif: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-old: "Zen Old Mincho", serif;

  --max-content: 1080px;
  --max-hero: 1280px;
}

/* Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-primary); text-decoration: none; }
a:hover { color: var(--orange-primary); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; margin: 0; line-height: 1.4; }
ul, ol { padding: 0; margin: 0; list-style: none; }

@media (min-width: 768px) {
  body { font-size: 17px; }
}

/* Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-base);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy-deep);
}
.site-logo__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--orange-primary);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.site-logo__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
}
.site-logo__sub {
  font-size: 0.7rem;
  color: var(--ink-mute);
  display: block;
  line-height: 1.1;
  margin-top: 2px;
}
.site-nav { display: none; }
.site-nav__list { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.site-nav a { color: var(--navy-deep); font-weight: 500; }
.site-nav a:hover { color: var(--orange-primary); }
.header-tel {
  display: none;
  font-family: var(--font-old);
  color: var(--navy-deep);
  font-weight: 600;
}
.header-tel::before { content: "☎ "; color: var(--orange-primary); }

@media (min-width: 840px) {
  .site-nav { display: block; }
  .header-tel { display: inline-block; }
}

/* Hamburger (mobile) */
.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--line);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  color: var(--navy-deep);
}
.nav-toggle:hover { border-color: var(--orange-primary); color: var(--orange-primary); }
@media (min-width: 840px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--cream-base);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu a { color: var(--navy-deep); font-weight: 500; }

/* Hero ---------------------------------- */
.hero {
  position: relative;
  max-width: var(--max-hero);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.hero__noren {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.5rem;
}
.hero__noren span {
  display: block;
  width: 18px;
  height: 36px;
  background: var(--orange-primary);
  border-radius: 0 0 3px 3px;
}
.hero__noren span:nth-child(even) { background: var(--orange-deep); height: 30px; }

.hero__catch {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  color: var(--navy-deep);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.hero__sub {
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.hero__image {
  margin-top: 1.5rem;
  aspect-ratio: 4 / 3;
  background-color: var(--cream-base);
  background-image: url("../assets/images/exterior-ukiyoe.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(26, 37, 56, 0.08);
}
.hero__image::after { display: none; }
@media (min-width: 768px) {
  .hero__image { aspect-ratio: 16 / 10; }
}
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 37, 56, 0.15));
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem auto 0;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(232, 99, 42, 0.25);
  animation: pulse 2s infinite;
}
.hero__status-wrap { display: flex; justify-content: center; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 99, 42, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(232, 99, 42, 0.08); }
}

/* Section base ---------------------------------- */
.section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section__eyebrow {
  font-family: var(--font-old);
  color: var(--orange-primary);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy-deep);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 48px;
  height: 3px;
  background: var(--orange-primary);
}

/* About ---------------------------------- */
.about {
  background: linear-gradient(180deg, var(--cream-base), var(--paper));
}
.about__grid {
  display: grid;
  gap: 2rem;
}
.about__text p {
  margin: 0 0 1rem;
}
.about__facts {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: 4px;
}
.about__facts dl { display: grid; grid-template-columns: 6rem 1fr; gap: 0.75rem 1rem; font-size: 0.92rem; }
.about__facts dt { color: var(--ink-mute); font-weight: 500; }
.about__facts dd { margin: 0; color: var(--navy-deep); }
@media (min-width: 768px) {
  .about__grid { grid-template-columns: 1.3fr 1fr; }
}

/* Highlight menu ---------------------------------- */
.highlights {
  background: var(--paper);
}
.highlight-grid {
  display: grid;
  gap: 1.5rem;
}
.highlight-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.highlight-card__label {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--orange-primary);
  color: var(--white);
  padding: 2px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-family: var(--font-old);
}
.highlight-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-top: 0.5rem;
}
.highlight-card__price {
  font-family: var(--font-old);
  color: var(--orange-deep);
  font-size: 1.4rem;
  font-weight: 700;
}
.highlight-card__price::before { content: "¥ "; font-size: 0.9em; }
.highlight-card__desc {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}
@media (min-width: 640px) { .highlight-grid { grid-template-columns: repeat(3, 1fr); } }

/* Menu table ---------------------------------- */
.menu-section { background: var(--cream-base); }
.menu-groups { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .menu-groups { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.menu-group__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--orange-deep);
  border-bottom: 2px solid var(--orange-primary);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}
.menu-group__title .en {
  display: inline-block;
  font-family: var(--font-old);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.15em;
  margin-left: 0.75rem;
  font-weight: 400;
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  gap: 1rem;
}
.menu-list li:last-child { border-bottom: none; }
.menu-list .name { font-weight: 500; }
.menu-list .note { color: var(--ink-mute); font-size: 0.82rem; margin-left: 0.5rem; }
.menu-list .price {
  font-family: var(--font-old);
  color: var(--navy-deep);
  font-weight: 600;
  white-space: nowrap;
}
.menu-list .price::before { content: "¥ "; color: var(--orange-primary); font-weight: 400; }

.menu-footnote {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--orange-primary);
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.7;
}
.menu-footnote p { margin: 0 0 0.25rem; }
.menu-footnote p:last-child { margin: 0; }

.menu-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
.btn:hover { background: var(--orange-primary); color: var(--white); }
.btn--orange { background: var(--orange-primary); }
.btn--orange:hover { background: var(--orange-deep); color: var(--white); }

/* Access ---------------------------------- */
.access { background: var(--navy-deep); color: var(--cream-base); }
.access .section__title { color: var(--cream-base); }
.access .section__eyebrow { color: var(--orange-light); }
.access__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .access__grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.access__info dl { display: grid; grid-template-columns: 6rem 1fr; gap: 0.75rem 1rem; font-size: 0.95rem; }
.access__info dt { color: var(--orange-light); font-weight: 500; }
.access__info dd { margin: 0; line-height: 1.7; }
.access__tel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.access__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--orange-primary);
  color: var(--white);
  font-family: var(--font-old);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.access__tel:hover { background: var(--orange-deep); color: var(--white); }
.access__map {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--navy-primary);
  overflow: hidden;
}
.access__map iframe { width: 100%; height: 100%; border: 0; }

.schedule-table {
  width: 100%;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  border-collapse: collapse;
}
.schedule-table th, .schedule-table td {
  padding: 0.55rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--navy-primary);
}
.schedule-table th { color: var(--orange-light); font-weight: 500; width: 5rem; }
.schedule-table tr.is-closed td { color: var(--orange-light); }

/* Owner note ---------------------------------- */
.owner-note {
  background: var(--paper);
  text-align: center;
}
.owner-note__quote {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 2;
  color: var(--navy-deep);
  position: relative;
  padding: 1rem 0;
}
.owner-note__quote::before,
.owner-note__quote::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange-primary);
  margin: 1.5rem auto;
}
.owner-note__sign {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin-top: 0.5rem;
  font-family: var(--font-sans);
}

/* Footer ---------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream-base);
  padding: 3rem 1.25rem 2rem;
}
.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__brand .site-logo__mark { width: 48px; height: 48px; font-size: 1.5rem; }
.site-footer__brand .site-logo__name { color: var(--cream-base); font-size: 1.2rem; }
.site-footer__brand .site-logo__sub { color: var(--orange-light); }

.site-footer__contact dl { display: grid; grid-template-columns: 5rem 1fr; gap: 0.4rem 1rem; font-size: 0.88rem; }
.site-footer__contact dt { color: var(--orange-light); }
.site-footer__contact dd { margin: 0; }
.site-footer__contact a { color: var(--cream-base); }
.site-footer__contact a:hover { color: var(--orange-light); }

.site-footer__copy {
  max-width: var(--max-content);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-primary);
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
}

/* Utility ---------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
