:root {
  color-scheme: light;
  --paper: #fbf8ef;
  --white: #fffefa;
  --forest: #193b31;
  --green: #255c49;
  --muted: #52665b;
  --line: #e8e2d3;
  --ochre: #984422;
  --gold: #efb94e;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  color: var(--forest);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a { color: inherit; }
a { text-decoration: none; }
button { border: 0; background: none; }
img { display: block; width: 100%; }
svg { display: block; width: 1.18em; height: 1.18em; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9a4f2e; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-header {
  background: #fdfaf3;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1168px;
  min-height: 72px;
  padding: 0 28px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #ffe8a6;
  border-radius: 12px;
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-accent { color: #396a51; }
.desktop-nav { display: flex; align-items: center; gap: 18px; margin-right: auto; }
.desktop-nav button {
  padding: 12px 5px 10px;
  font-size: 13px;
  font-weight: 750;
  border-bottom: 2px solid transparent;
}
.desktop-nav button[aria-current="page"] { border-bottom-color: var(--gold); }
.header-save, .header-place {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
}
.header-save:hover { border-color: var(--green); }
.header-place { display: none; }
.save-count {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 50px;
  background: var(--green);
  color: white;
  font-size: 10px;
}
.page { max-width: 1168px; padding: 28px 28px 0; margin: auto; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 350px;
  border-radius: 32px;
  overflow: hidden;
  background: #f7efd9;
}
.hero-copy { z-index: 1; position: relative; padding: 34px 0 43px clamp(30px, 5.8vw, 76px); }
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e7;
  border: 1px solid #e8d9ac;
  border-radius: 30px;
  padding: 7px 12px;
  color: #425f4a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}
.hero h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.15;
  letter-spacing: -.055em;
  margin: 14px 0 17px;
  font-weight: 800;
}
.hero h1 span { position: relative; isolation: isolate; white-space: nowrap; }
.hero h1 span::after {
  content: "";
  z-index: -1;
  position: absolute;
  height: .17em;
  left: .04em;
  right: .28em;
  bottom: .04em;
  border-radius: 70% 35% 60% 25%;
  background: #efb84f;
  transform: rotate(-3deg);
}
.hero-description { font-size: clamp(13px, 1.45vw, 16px); font-weight: 660; color: #475c49; }
.hero-description span { white-space: nowrap; }
.hero-art {
  width: 67%;
  height: 100%;
  position: absolute;
  inset: auto 0 0 auto;
  object-fit: cover;
  object-position: 55% center;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent, #000 23%);
}
.finder {
  position: relative;
  margin: -25px auto 0;
  padding: 17px 19px 14px;
  width: min(calc(100% - 70px), 900px);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 23px;
  box-shadow: 0 8px 22px #59462811;
}
.search-form { display: grid; grid-template-columns: 1fr minmax(170px, .42fr) auto; gap: 9px; }
.search-field, .area-field {
  min-width: 0;
  min-height: 49px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f6ed;
  border: 1px solid #ebe5d6;
  border-radius: 12px;
}
.search-field:focus-within, .area-field:focus-within { border-color: var(--green); }
.search-field > span, .area-field > span { display: grid; color: #54705d; }
.search-field input, .area-field select {
  min-width: 0;
  width: 100%;
  min-height: 43px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--forest);
  font-size: 15px;
  outline: none;
}
.search-field input::placeholder { color: #647266; opacity: 1; }
.area-field select { appearance: none; cursor: pointer; font-weight: 750; font-size: 13px; }
.area-field > span:last-child { pointer-events: none; }
.search-submit, .primary-link {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-weight: 780;
  white-space: nowrap;
}
.search-submit:hover, .primary-link:hover { background: var(--forest); }
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.quick-filters button {
  padding: 6px 13px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 19px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.quick-filters button[aria-pressed="true"] { background: #e5eee1; border-color: #9ab197; color: #244d39; }
.quick-filters button:hover { border-color: var(--green); }
.results, .topics { margin-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(22px, 2.8vw, 31px);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.045em;
  scroll-margin-top: 16px;
}
.heading-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #885024;
  background: #f9e7b8;
}
.heading-icon svg { width: 20px; height: 20px; }
.results-count { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 680; }
.plain-button {
  min-height: 42px;
  padding: 4px 0 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}
.plain-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.notice {
  margin: 11px 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.event-card {
  min-width: 0;
  position: relative;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 4px 12px #5946280a;
}
.event-visual { position: relative; overflow: hidden; border-radius: 19px 19px 0 0; background: #e4eadb; }
.event-visual img { height: auto; aspect-ratio: 1.6; object-fit: cover; }
.event-tag, .image-note { position: absolute; border-radius: 24px; }
.event-tag {
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  background: #fff9ea;
  color: #375647;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}
.image-note {
  right: 9px;
  bottom: 9px;
  padding: 3px 6px;
  color: white;
  font-size: 9px;
  background: #182c24d9;
}
.bookmark {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fffefa;
  color: var(--green);
  border: 1px solid #ffffff9c;
  box-shadow: 0 1px 8px #0f2f2530;
}
.bookmark[aria-pressed="true"], .detail-save[aria-pressed="true"] { background: #e1ede0; color: #255b42; }
.bookmark[aria-pressed="true"] svg, .detail-save[aria-pressed="true"] svg { fill: currentColor; }
.bookmark:focus-visible { outline-offset: -3px; }
.event-info { padding: 13px 14px 15px; }
.event-date, .event-place {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.55;
}
.event-date { color: var(--ochre); font-size: 12px; font-weight: 850; }
.event-place { margin-top: 8px; color: var(--muted); font-size: 11px; }
.event-place span { overflow-wrap: anywhere; }
.event-info h3 { margin-top: 4px; font-size: 16px; line-height: 1.55; }
.event-info h3 button {
  text-align: left;
  padding: 0;
  font-weight: 850;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.event-info h3 button::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.event-info h3 button:focus-visible { outline: none; }
.event-info h3 button:focus-visible::after { outline: 3px solid #9a4f2e; outline-offset: 2px; }
.event-info h3 button:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.event-free {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  margin-top: 7px;
  background: #e7efdf;
  color: #385749;
  border-radius: 7px;
}
.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.empty > span { font-size: 26px; }
.topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.topic {
  --topic-color: #e7ecdd;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 11px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14px;
  font-weight: 780;
  text-align: left;
}
.topic:hover { background: var(--topic-color); }
.topic-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: var(--topic-color);
}
.topic-craft { --topic-color: #f8e5d1; }
.topic-science { --topic-color: #d8ece8; }
.topic-books { --topic-color: #faebc7; }
.topic-transport { --topic-color: #e0e9eb; }
.topic-space { --topic-color: #eae3f2; }
.topic > svg { margin-left: auto; }
.footer {
  min-height: 118px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.footer .brand { font-size: 17px; }
.footer .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.footer .brand-mark svg { width: 18px; height: 18px; }
.mobile-nav { display: none; }

dialog {
  width: min(545px, calc(100% - 24px));
  max-height: min(90dvh, 880px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  color: var(--forest);
  box-shadow: 0 14px 60px #162a2d5d;
  overscroll-behavior: contain;
}
body:has(dialog[open]) { overflow: hidden; }
dialog::backdrop { background: #172e27a6; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-close button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
}
.detail-image { position: relative; }
.detail-image img { aspect-ratio: 2.15; object-fit: cover; }
.detail-content { padding: 20px 22px 25px; }
.detail-category { font-size: 12px; color: var(--ochre); font-weight: 800; }
.detail-content h2 { font-size: clamp(20px, 5vw, 27px); line-height: 1.45; margin: 6px 0 15px; }
.detail-content dl { margin: 0; }
.detail-content dl > div {
  display: grid;
  grid-template-columns: 77px 1fr;
  gap: 7px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}
.detail-content dt { font-weight: 780; }
.detail-content dd { margin: 0; overflow-wrap: anywhere; }
.detail-content details { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; font-size: 13px; }
.detail-content summary { cursor: pointer; font-weight: 760; }
.detail-note { margin: 15px 0 12px; color: var(--muted); font-size: 11px; }
.detail-actions { display: flex; gap: 8px; }
.primary-link, .detail-save { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.primary-link { flex: 1; }
.detail-save { padding: 7px 11px; font-size: 12px; font-weight: 750; border: 1px solid var(--line); border-radius: 12px; }

@media (max-width: 767px) {
  .header-inner { min-height: 62px; padding-inline: 17px; justify-content: space-between; gap: 10px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .desktop-nav, .header-save { display: none; }
  .header-place { display: flex; padding: 6px 10px; font-size: 11px; }
  .page { padding: 12px 16px calc(70px + env(safe-area-inset-bottom)); }
  .hero { min-height: 246px; border-radius: 24px; align-items: flex-start; }
  .hero-copy { padding: 19px 0 20px 19px; }
  .hero-location { font-size: 10px; padding: 5px 8px; }
  .hero h1 { font-size: clamp(32px, 9.35vw, 50px); margin: 9px 0 10px; }
  .hero-description { max-width: 140px; font-size: 11px; line-height: 1.65; }
  .hero-art {
    width: 72%;
    height: 68%;
    object-position: center 46%;
    mask-image: linear-gradient(to right, transparent, #000 48%), linear-gradient(to bottom, transparent, #000 27%);
    mask-composite: intersect;
  }
  .finder { width: calc(100% - 10px); margin-top: -16px; padding: 10px; border-radius: 17px; }
  .search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .search-field, .area-field { min-height: 43px; padding-inline: 9px; gap: 5px; }
  .search-field { grid-column: 1 / -1; }
  .search-field input, .area-field select { font-size: 16px; min-height: 41px; }
  .area-field { grid-column: 1; }
  .search-submit { min-height: 43px; padding: 0 18px; font-size: 13px; }
  .quick-filters { margin-top: 8px; gap: 5px; }
  .quick-filters button { min-height: 36px; padding-inline: 8px; font-size: 11px; }
  .results, .topics { margin-top: 24px; }
  .heading-icon { width: 29px; height: 29px; }
  .heading-icon svg { width: 17px; height: 17px; }
  .results-count { font-size: 11px; }
  .plain-button { font-size: 11px; }
  .notice { font-size: 10px; margin: 8px 0 10px; }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .event-grid.shelf {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 298px);
    overflow-x: auto;
    margin: 0 -16px;
    padding: 2px 16px 10px;
    scroll-padding-inline: 16px;
    scroll-snap-type: inline mandatory;
    overscroll-behavior-inline: contain;
  }
  .shelf .event-card { scroll-snap-align: start; }
  .shelf .event-visual img { aspect-ratio: 1.88; }
  .event-info { padding: 10px 11px 13px; }
  .event-info h3 { font-size: 15px; }
  .event-card { border-radius: 16px; }
  .event-visual { border-radius: 15px 15px 0 0; }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .topic { min-height: 61px; padding: 8px; gap: 5px; font-size: 11px; }
  .topic-icon { width: 30px; height: 30px; }
  .topic > svg { width: 13px; }
  .footer { min-height: 83px; margin-top: 30px; }
  .mobile-nav {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fffefa;
    box-shadow: 0 -2px 15px #17302b0c;
    border-top: 1px solid var(--line);
  }
  .mobile-nav button {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-height: 58px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
  }
  .mobile-nav button > span:first-child { padding: 2px 13px; border-radius: 20px; font-size: 17px; }
  .mobile-nav button[aria-current="page"] { color: var(--forest); }
  .mobile-nav button[aria-current="page"] > span:first-child { background: #e5eee1; }
  .mobile-nav .save-count { position: absolute; left: calc(50% + 10px); top: 6px; }
}
@media (max-width: 460px) {
  .event-grid:not(.shelf) { grid-template-columns: minmax(0, 1fr); }
}
