/* ===== Font import ===== */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ===== Reset & base ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2C2823;
  background: #FAF6EF;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Layout container ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E8DFCE;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #6B2C2C;
  letter-spacing: 0.08em;
}
.logo span { color: #2C2823; margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; font-weight: 500; }
.nav a { transition: color .2s; }
.nav a:hover { color: #6B2C2C; }
.nav-cta {
  background: #6B2C2C;
  color: #FFF !important;
  padding: 8px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: #501F1F; color: #FFF; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #FAF6EF;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}
.hero-bg-half { flex: 1; position: relative; }
/* Hero backgrounds: real photo with gradient overlay; fallback gradient if image missing */
.hero-bg-day {
  background:
    linear-gradient(135deg, rgba(107, 44, 44, 0.55), rgba(201, 123, 63, 0.35)),
    linear-gradient(135deg, #B85C2C 0%, #C97B3F 50%, #E5A872 100%);
  background-image:
    linear-gradient(135deg, rgba(107, 44, 44, 0.55), rgba(201, 123, 63, 0.35)),
    url('./assets/hero-day.jpg'),
    linear-gradient(135deg, #B85C2C 0%, #C97B3F 50%, #E5A872 100%);
  background-size: cover, cover, cover;
  background-position: center;
}
.hero-bg-night {
  background:
    linear-gradient(135deg, rgba(20, 24, 40, 0.65), rgba(45, 56, 86, 0.45)),
    linear-gradient(135deg, #1A2240 0%, #2D3856 50%, #3F4A6B 100%);
  background-image:
    linear-gradient(135deg, rgba(20, 24, 40, 0.65), rgba(45, 56, 86, 0.45)),
    url('./assets/hero-night.jpg'),
    linear-gradient(135deg, #1A2240 0%, #2D3856 50%, #3F4A6B 100%);
  background-size: cover, cover, cover;
  background-position: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
  width: 100%;
}
.hero-lead {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  opacity: 0.95;
}
.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  margin-bottom: 28px;
}
.accent-day { color: #FFD7A4; }
.accent-night { color: #B7C8FF; }
.hero-sub {
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 36px;
  opacity: 0.95;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.24); }
.btn-day { background: #FAF6EF; color: #6B2C2C; }
.btn-night { background: #2D3856; color: #FFF; }

/* ===== Section title ===== */
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-align: center;
  color: #6B2C2C;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: #6B2C2C;
  margin: 14px auto 0;
}
.section-sub {
  text-align: center;
  color: #6B6055;
  margin-bottom: 48px;
}

/* ===== Two modes ===== */
.two-modes { padding: 96px 0; background: #FAF6EF; }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.mode {
  background: #FFFCF5;
  border: 1px solid #E8DFCE;
  border-radius: 14px;
  padding: 36px 28px;
  position: relative;
}
.mode-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-weight: 700;
}
.mode-day .mode-tag { background: #FFE8D1; color: #C97B3F; }
.mode-night .mode-tag { background: #E2E7F4; color: #2D3856; }
.mode-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.mode-title span { font-size: 1.1rem; opacity: 0.75; margin-left: 6px; }
.mode-day .mode-title { color: #C97B3F; }
.mode-night .mode-title { color: #2D3856; }
.mode-time {
  font-weight: 700;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: #FAF6EF;
  border-radius: 6px;
  display: inline-block;
}
.mode-list { margin-bottom: 22px; }
.mode-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed #E8DFCE;
  font-size: 0.95rem;
}
.mode-list li:last-child { border-bottom: none; }
.mode-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #C9B181;
  font-size: 0.7rem;
  top: 13px;
}
.link-arrow {
  font-weight: 700;
  font-size: 0.95rem;
}
.mode-day .link-arrow { color: #C97B3F; }
.mode-night .link-arrow { color: #2D3856; }
.link-arrow:hover { opacity: 0.7; }

/* ===== Menu ===== */
.menu { padding: 96px 0; background: #F2EBDC; }
.sub-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.3rem;
  color: #6B2C2C;
  margin: 32px 0 24px;
  padding-left: 16px;
  border-left: 4px solid #6B2C2C;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.menu-card {
  background: #FFFCF5;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(107, 44, 44, 0.12);
}
.menu-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #F5E5C8 0%, #E8C896 100%);
}
.menu-photo::before {
  content: '画像準備中';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(107, 44, 44, 0.4);
  letter-spacing: 0.1em;
  z-index: 0;
}
.menu-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.menu-card:hover .menu-photo img { transform: scale(1.05); }

/* Dark variant for dinner cards */
.menu-card-dark .menu-photo {
  background: linear-gradient(135deg, #3A2F28 0%, #5B4A3D 100%);
}
.menu-card-dark .menu-photo::before {
  color: rgba(255, 215, 164, 0.4);
}
.menu-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.15rem;
  padding: 18px 18px 6px;
  color: #2C2823;
}
.menu-price {
  font-weight: 700;
  color: #6B2C2C;
  padding: 0 18px 8px;
  font-size: 1.05rem;
}
.menu-desc {
  font-size: 0.88rem;
  color: #6B6055;
  padding: 0 18px 20px;
  line-height: 1.65;
}

/* ===== Values ===== */
.values { padding: 96px 0; background: #FAF6EF; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value {
  text-align: center;
  padding: 24px 16px;
}
.value-num {
  font-family: 'Shippori Mincho', serif;
  font-size: 2.4rem;
  color: #C9B181;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.value h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.2rem;
  color: #6B2C2C;
  margin-bottom: 12px;
  line-height: 1.5;
}
.value p {
  font-size: 0.95rem;
  color: #4F463D;
}

/* ===== Access ===== */
.access { padding: 96px 0; background: #2C2823; color: #FAF6EF; }
.access .section-title { color: #FFD7A4; }
.access .section-title::after { background: #FFD7A4; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 16px;
}
.info-list dt {
  font-weight: 700;
  color: #C9B181;
  border-right: 1px solid #4F463D;
  padding-right: 12px;
}
.info-list dd { padding-left: 12px; }
.info-list a { color: #FFD7A4; border-bottom: 1px dashed #FFD7A4; }
.hours-table { width: 100%; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 4px 8px 4px 0;
  font-weight: 400;
}
.hours-table th { color: #C9B181; width: 80px; }
.access-map {
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  background: #1F1B17;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.3);
}

/* ===== Contact ===== */
.contact { padding: 96px 0; background: #6B2C2C; color: #FAF6EF; }
.contact .section-title { color: #FAF6EF; }
.contact .section-title::after { background: #FFD7A4; }
.contact-lead { text-align: center; margin-bottom: 48px; opacity: 0.92; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: background .2s, transform .2s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}
.contact-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
}
.contact-label {
  font-size: 0.85rem;
  opacity: 0.75;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.contact-value {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.contact-note { font-size: 0.82rem; opacity: 0.7; }

/* ===== Footer ===== */
.site-footer {
  background: #1F1B17;
  color: #C9B181;
  padding: 36px 0;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1rem;
  color: #FAF6EF;
  margin-bottom: 4px;
}
.footer-addr { opacity: 0.7; }
.footer-copy { opacity: 0.6; font-size: 0.8rem; }

/* ===== Menu CTA buttons (open modal) ===== */
.menu-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.btn-menu-modal {
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  background: #FFFCF5;
  color: #6B2C2C;
  border: 2px solid #6B2C2C;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.btn-menu-modal:hover {
  background: #6B2C2C;
  color: #FFFCF5;
  transform: translateY(-2px);
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open {
  display: flex;
  animation: modalFade .2s ease-out;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: #FAF6EF;
  border-radius: 14px;
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  animation: modalSlide .25s ease-out;
}
@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  color: #6B2C2C;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}
.modal-close:hover { background: rgba(107, 44, 44, 0.1); }
.modal-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.7rem;
  color: #6B2C2C;
  text-align: center;
  margin-bottom: 6px;
}
.modal-sub {
  text-align: center;
  color: #6B6055;
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.modal-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.modal-cat {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1rem;
  color: #6B2C2C;
  border-bottom: 2px solid #6B2C2C;
  padding-bottom: 6px;
  margin: 22px 0 12px;
}
.modal-cat:first-child { margin-top: 0; }
.modal-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 0.93rem;
  border-bottom: 1px dotted #E0D5C0;
}
.modal-menu-list li:last-child { border-bottom: none; }
.modal-menu-list li > span:first-child { flex: 1; }
.modal-menu-list li > span:last-child {
  font-weight: 700;
  color: #6B2C2C;
  white-space: nowrap;
}

/* ===== Floating call (mobile) ===== */
.floating-call {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  background: #6B2C2C;
  color: #FFF;
  padding: 14px 24px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.floating-icon { margin-right: 8px; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav { display: none; }
  .hero { min-height: 70vh; }
  .hero-inner { padding: 80px 24px; }
  .modes-grid,
  .menu-grid,
  .values-grid,
  .access-grid,
  .contact-grid,
  .modal-menu-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 32px 20px 24px; max-height: 92vh; }
  .modal-menu-grid { gap: 0; }
  .btn-menu-modal { width: 100%; }
  .info-list { grid-template-columns: 80px 1fr; }
  .floating-call { display: block; }
  body { padding-bottom: 80px; }
}
@media (max-width: 480px) {
  .hero-bg { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .info-list { grid-template-columns: 70px 1fr; }
  .access-map { min-height: 240px; }
}
