/* ============================================================
   THEME VARIABLES
   ============================================================ */
:root {
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  --max-width: 1000px;
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.13);
}

:root {
  --color-primary: #939597;
  --color-primary-dark: #5e6062;
  --color-primary-bg: #f2f1ef;
  --color-section-alt: #e8e7e4;
  --color-gray: #939597;
  --color-gray-dark: #5e6062;
  --color-text: #3a3a3a;
  --color-text-secondary: #939597;
  --color-border: #d8d6d0;
  --color-white: #ffffff;
  --btn-primary-text: #ffffff;
  --btn-outline-hover-text: #ffffff;
  --logo-icon-text: #ffffff;
  --hero-bg: linear-gradient(135deg, #F5DF4D 0%, #f0d030 60%, #e4c010 100%);
  --hero-subtitle-color: #5a5830;
  --schedule-cell-text: #ffffff;
  --quick-link-hover-text: #ffffff;
  --footer-logo-icon-bg: #F5DF4D;
  --footer-logo-icon-text: #3a3a38;
  --notice-dot-bg: #F5DF4D;
  --cal-open-bg: #939597;
  --cal-open-text: #ffffff;
  --cal-half-bg: #F5DF4D;
  --cal-half-text: #3a3a3a;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  font-size: 15px;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.7;
  padding-top: var(--header-height);
  transition: background 0.35s, color 0.35s;
}
a { color: var(--color-gray-dark); text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 720px; }
.section-alt { background: var(--color-section-alt); transition: background 0.35s; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--footer-logo-icon-bg);
  color: var(--footer-logo-icon-text);
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.35s, color 0.35s;
}
.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gray-dark);
  font-weight: 700;
  font-size: 16px;
}
.hamburger {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px; padding: 4px;
}
.hamburger span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; }

/* ============================================================
   DRAWER
   ============================================================ */
.nav-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.nav-drawer.open { pointer-events: auto; }
.nav-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0; transition: opacity 0.3s;
}
.nav-drawer.open .nav-overlay { opacity: 1; }
.nav-panel {
  position: absolute; top: 0; right: 0;
  width: min(320px,85vw); height: 100%;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px; overflow-y: auto;
}
.nav-drawer.open .nav-panel { transform: translateX(0); }
.nav-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--color-text-secondary);
  display: block; margin-left: auto; margin-bottom: 24px; padding: 4px 8px;
}
.drawer-menu li { border-bottom: 1px solid var(--color-border); }
.drawer-menu a {
  display: block; padding: 14px 0;
  color: var(--color-text); font-weight: 500; font-size: 15px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-primary);
  color: var(--btn-primary-text);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  transition: background 0.2s, transform 0.2s, color 0.35s;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); color: var(--btn-primary-text); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--color-gray-dark);
  border: 1.5px solid var(--color-gray);
  padding: 10px 20px; border-radius: 50px;
  font-weight: 500; font-size: 14px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-outline:hover { background: var(--color-primary); color: var(--btn-outline-hover-text); border-color: var(--color-primary); }

/* ============================================================
   TOP BAR (Status + Reservation)
   ============================================================ */
.topbar-section { padding: 28px 0; }
.topbar-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.topbar-card {
  border-radius: var(--radius-md);
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
  background: #ffffff;
}
.topbar-status {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.status-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.status-dot.open { background: #27ae60; }
.status-dot.closed { background: #e74c3c; }
.status-dot.half { background: #f0a800; }
.topbar-status-label {
  font-size: 13px; font-weight: 700; color: var(--color-text);
}
.topbar-status-label .status-text { margin-left: 4px; }
.topbar-status-label .status-text.open { color: #27ae60; }
.topbar-status-label .status-text.closed { color: #e74c3c; }
.topbar-status-label .status-text.half { color: #c07800; }
.topbar-next {
  font-size: 13px; color: var(--color-text-secondary); line-height: 1.6;
}
.topbar-next strong { color: var(--color-text); }
.topbar-hours {
  font-size: 13px; color: var(--color-text-secondary); line-height: 1.6;
}
.topbar-hours strong { color: var(--color-text); }
.topbar-reserve {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px;
}
.topbar-reserve-label {
  font-size: 13px; color: var(--color-text-secondary); font-weight: 500;
}
.topbar-reserve .btn-primary {
  font-size: 15px; padding: 14px 36px;
}

/* ============================================================
   ACCESS SECTION
   ============================================================ */
.access-section { padding: 0 0 32px; }
.access-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.35s;
}
.access-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  color: var(--color-text-secondary); margin-bottom: 14px;
}
.map-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 200px;
  background: #e5e4e0;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-secondary); font-size: 13px;
  margin-bottom: 16px;
}
.access-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.access-item { font-size: 14px; line-height: 1.7; color: var(--color-text); }
.access-item .label { font-size: 12px; font-weight: 700; color: var(--color-text-secondary); margin-bottom: 2px; }

/* ============================================================
   INFO CARDS
   ============================================================ */
.contact-section { padding: 0 0 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.info-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.35s;
}
.info-card-header {
  display: flex; align-items: center; gap: 8px;
  color: var(--color-gray); font-weight: 600; font-size: 14px; margin-bottom: 14px;
}
.phone-number {
  display: block; font-size: 30px; font-weight: 700;
  color: var(--color-text); letter-spacing: -0.5px; margin-bottom: 4px;
}
.info-note { font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; }

/* weekly schedule */
.schedule-table { margin-bottom: 10px; }
.schedule-row { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 3px; }
.schedule-cell {
  display: flex; align-items: center; justify-content: center;
  height: 28px; border-radius: 4px;
  font-weight: 500; background: var(--color-primary);
  color: var(--schedule-cell-text); font-size: 12px;
  transition: background 0.35s, color 0.35s;
}
.schedule-header .schedule-cell { background: transparent; color: var(--color-text-secondary); font-weight: 600; }
.schedule-cell.closed { background: #fdecea; color: #e74c3c; }

/* ============================================================
   MONTHLY CALENDAR
   ============================================================ */
.calendar-section { padding: 0 0 32px; }
.calendar-card { padding: 20px; }
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.calendar-title { font-size: 14px; font-weight: 700; }
.calendar-legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--color-text-secondary); }
.legend-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.legend-dot.open { background: var(--cal-open-bg); transition: background 0.35s; }
.legend-dot.half { background: var(--cal-half-bg); border: 1px solid #e0c000; transition: background 0.35s; }
.legend-dot.closed { background: #fdecea; border: 1px solid #e74c3c; }

.cal-grid { width: 100%; border-collapse: separate; border-spacing: 2px; }
.cal-grid th {
  text-align: center; font-size: 11px; font-weight: 700;
  color: var(--color-text-secondary); padding: 2px 0 5px;
}
.cal-grid th.sun { color: #e74c3c; }
.cal-grid th.sat { color: #2980b9; }
.cal-grid td { padding: 1px; }
.cal-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1;
  border-radius: 4px;
  font-size: 11px; font-weight: 500;
  min-width: 24px; min-height: 24px;
}
.cal-day.open { background: var(--cal-open-bg); color: var(--cal-open-text); transition: background 0.35s, color 0.35s; }
.cal-day.half { background: var(--cal-half-bg); color: var(--cal-half-text); border: 1px solid #e0c000; transition: background 0.35s, color 0.35s; }
.cal-day.rest { background: #fdecea; color: #e74c3c; }
.cal-day.today { outline: 2px solid var(--color-primary); outline-offset: 1px; font-weight: 700; }
.cal-day.empty { background: transparent; }
.cal-day .day-num { font-size: 11px; line-height: 1; }
.cal-day .day-mark { font-size: 8px; margin-top: 1px; opacity: 0.8; }
.cal-note { margin-top: 12px; font-size: 12px; color: var(--color-text-secondary); line-height: 1.7; }
.cal-note span { color: #e74c3c; font-weight: 700; }

/* ============================================================
   QUICK LINKS
   ============================================================ */
.quicklinks-section { padding: 0 0 32px; }
.quicklinks-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.quick-link-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--color-text); font-weight: 500; font-size: 14px;
  transition: all 0.2s; box-shadow: var(--shadow-card);
}
.quick-link-card:hover {
  border-color: var(--color-gray);
  background: var(--color-primary);
  color: var(--quick-link-hover-text);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.quick-link-card svg { color: var(--color-gray); flex-shrink: 0; }

/* ============================================================
   PAYMENT
   ============================================================ */
.payment-section { padding: 0 0 48px; }
.payment-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 32px; box-shadow: var(--shadow-card);
  transition: border-color 0.35s;
}
.payment-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; margin-bottom: 20px;
}
.payment-header svg { color: var(--color-gray); }
.payment-recommended {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff8e1; color: #e67e00;
  border: 1px solid #ffe0a0; border-radius: 50px;
  font-size: 12px; font-weight: 700; padding: 3px 10px; margin-left: 4px;
}
.payment-body { display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.payment-cards { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.card-badge {
  display: flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 12px; border-radius: 6px;
  border: 1.5px solid var(--color-border);
  font-size: 13px; font-weight: 700; background: #fff; white-space: nowrap;
}
.card-badge.visa   { color: #1a1f71; border-color: #1a1f71; }
.card-badge.master { color: #eb001b; border-color: #eb001b; }
.card-badge.jcb    { color: #0e4c96; border-color: #0e4c96; }
.card-badge.amex   { color: #007bc1; border-color: #007bc1; }
.card-badge.diners { color: #555;    border-color: #aaa; }
.payment-note { font-size: 13px; color: var(--color-text-secondary); line-height: 1.8; padding-top: 2px; }
.payment-note strong { color: var(--color-text); }

/* ============================================================
   NEWS
   ============================================================ */
.news-section { padding: 48px 0; }
.section-title {
  font-size: 20px; font-weight: 700; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--color-border);
}
.news-item { border-bottom: 1px solid var(--color-border); }
.news-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; color: var(--color-text); gap: 16px; transition: color 0.2s;
}
.news-link:hover { text-decoration: underline; }
.news-title-text { flex: 1; font-size: 14px; line-height: 1.5; }
.news-date { flex-shrink: 0; font-size: 13px; color: var(--color-text-secondary); }
.news-more { margin-top: 20px; text-align: center; }
.link-more { color: var(--color-gray-dark); font-size: 14px; font-weight: 500; }
.link-more:hover { text-decoration: underline; }

/* ============================================================
   COLOR BLOCKS
   ============================================================ */
.bg-yellow { background: #F5DF4D; }
.bg-gray   { background: #939597; }
.block-section { padding: 52px 0; }

.bg-yellow .info-card,
.bg-gray   .info-card,
.bg-yellow .access-card,
.bg-gray   .access-card,
.bg-yellow .topbar-card,
.bg-gray   .topbar-card,
.bg-yellow .payment-card,
.bg-gray   .payment-card {
  background: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

.bg-gray .section-title {
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
}
.bg-gray .news-item { border-color: rgba(255,255,255,0.2); }
.bg-gray .news-link { color: #ffffff; }
.bg-gray .news-date { color: rgba(255,255,255,0.65); }
.bg-gray .link-more { color: rgba(255,255,255,0.8); }

.bg-yellow .section-title { border-color: rgba(0,0,0,0.15); }
.bg-yellow .news-item { border-color: rgba(0,0,0,0.1); }
.bg-yellow .quick-link-card:hover { background: #939597; color: #ffffff; border-color: #939597; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #3a3a38; color: rgba(255,255,255,0.8); padding: 48px 0 0; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #fff; }
.footer-logo .logo-icon { background: #F5DF4D; color: #3a3a38; }
.footer-info p { font-size: 13px; margin-bottom: 6px; color: rgba(255,255,255,0.7); }
.footer-info a { color: rgba(255,255,255,0.9); }
.footer-info a:hover { color: #fff; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-menu a:hover { color: #fff; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 16px 20px; font-size: 12px; color: rgba(255,255,255,0.5); }

/* ============================================================
   NEW LAYOUT GRIDS
   ============================================================ */
.main-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  align-items: start;
}
.map-cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ============================================================
   SINGLE / ARCHIVE / PAGE
   ============================================================ */
.page-main { padding: 48px 0 80px; }
.page-title {
  font-size: 24px; font-weight: 700; margin-bottom: 32px;
  padding-bottom: 14px; border-bottom: 2px solid var(--color-border);
}
.post-header { margin-bottom: 24px; }
.post-date { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 8px; }
.post-title { font-size: 22px; font-weight: 700; line-height: 1.4; }
.post-content { font-size: 15px; line-height: 1.9; }
.post-content p { margin-bottom: 1.5em; }
.post-content h2 {
  font-size: 20px; font-weight: 700; margin: 2em 0 0.8em;
  border-left: 4px solid var(--color-primary); padding-left: 12px;
}
.post-content h3 { font-size: 17px; font-weight: 700; margin: 1.5em 0 0.6em; }
.post-back { margin-top: 40px; }
.news-list--archive .news-item:first-child { border-top: 1px solid var(--color-border); }
.pagination { margin-top: 32px; text-align: center; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px;
  font-size: 14px; border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.pagination .page-numbers.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .page-numbers:hover:not(.current) { background: var(--color-primary-bg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .header-phone { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding-bottom: 32px; order: 2; }
  .hero-image { order: 1; justify-content: flex-end; margin-right: -20px; }
  .hero-image-placeholder { max-width: 160px; }
  .topbar-grid { grid-template-columns: 1fr; }
  .topbar-card { padding: 18px 20px; }
  .access-info { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .payment-body { flex-direction: column; gap: 16px; }
  .contact-section { padding: 24px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .quicklinks-row { grid-template-columns: 1fr 1fr; }
  .quicklinks-row a:last-child { grid-column: 1 / -1; }
  .cal-day { min-width: 20px; min-height: 20px; border-radius: 3px; }
  .cal-day .day-num { font-size: 10px; }
  .cal-day .day-mark { font-size: 7px; }
  .main-grid { grid-template-columns: 1fr; }
  .main-grid .main-right { order: -1; }
  .map-cal-grid { grid-template-columns: 1fr; }
}
