:root {
  --paper: #f4ead5;
  --paper2: #efe2c6;
  --ink: #2f2418;
  --muted: #6a5b3e;
  --line: rgba(110, 82, 41, 0.35);
  --gold: #9e7b3e;
  --accent: #8f6330;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans JP", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, #2f2418, #211810);
  color: #eed79f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hamburger {
  font-size: 22px;
  line-height: 1;
  background: transparent;
  border: none;
  color: #eed79f;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-title {
  flex: 1;
  min-width: 0;
}

.site-name {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-sub {
  margin: 3px 0 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.82;
}

.back-link {
  color: #eed79f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 16px 64px;
}

.month-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 6px;
}

.month-now {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  min-width: 6.2em;
  text-align: center;
}

.month-arrow {
  font: inherit;
  font-size: 22px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.month-arrow:hover {
  border-color: var(--accent);
  background: #fffdf7;
}

.month-today-row {
  text-align: center;
  margin-bottom: 14px;
}

.month-today-row button {
  font: inherit;
  font-size: 13px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.status {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  min-height: 18px;
  margin-bottom: 8px;
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  margin: 26px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
}

/* --- schedule --- */
.day-group {
  margin-bottom: 18px;
}

.day-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.day-num {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.day-wd {
  font-size: 14px;
  color: var(--muted);
}

.ev-card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.ev-venue {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}

.ev-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.ev-time {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px;
}

.ev-performers {
  font-size: 15px;
}

.ev-genre {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.ev-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
}

.ev-img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
}

/* --- venues --- */
.venue-card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.venue-name {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  margin: 0 0 10px;
}

.venue-photo {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.venue-addr {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.venue-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper2);
}

.venue-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.venue-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
}

.venue-link:hover {
  background: var(--ink);
}

.venue-phone {
  font-size: 14px;
  color: var(--ink);
}

.about p {
  color: var(--muted);
}

/* --- venue list (links to detail pages) --- */
.venue-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--ink);
}

.venue-link-card:hover {
  border-color: var(--accent);
}

.venue-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--paper2);
}

.venue-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--gold);
}

.venue-link-body {
  flex: 1;
  min-width: 0;
}

.venue-link-name {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  margin: 0 0 2px;
}

.venue-desc {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.venue-link-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* --- venue detail page --- */
.venue-detail {
  padding-top: 8px;
}

.vd-name {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  margin: 0 0 12px;
}

.vd-photo {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.vd-desc {
  font-size: 15px;
  margin: 0 0 12px;
}

.vd-addr {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

/* --- drawer --- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.drawer.open {
  pointer-events: auto;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(33, 24, 16, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.drawer.open .drawer-scrim {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 80%;
  max-width: 300px;
  background: var(--paper);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
}

.drawer-link {
  display: block;
  padding: 12px 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-link:hover {
  color: var(--accent);
}

.drawer-section {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.drawer-months {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.drawer-months button {
  flex: 1;
  font: inherit;
  font-size: 14px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.drawer-months button:hover {
  border-color: var(--accent);
}

.site-foot {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 24px 16px 40px;
}
