:root {
  --paper: #f4f5f2;
  --paper-2: #e8eae5;
  --ink: #17181f;
  --ink-soft: #565866;
  --line: rgba(23, 24, 31, 0.15);
  --a: #2340e8;
  --b: #ff4fa3;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --dx: 0.09em;
  --dy: 0.06em;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
iframe { display: block; max-width: 100%; }
a { color: var(--a); text-underline-offset: 0.25em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }
h1, h2, h3 { word-break: auto-phrase; }
p { margin: 0 0 1.2em; }
section { scroll-margin-top: var(--header-h); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }

.ov {
  position: relative;
  isolation: isolate;
  display: inline-block;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-feature-settings: "palt";
}
.ov__a { display: block; color: var(--a); }
.ov__b {
  position: absolute;
  inset: 0;
  color: var(--b);
  mix-blend-mode: multiply;
  transform: translate(var(--dx), var(--dy));
  translate: var(--px, 0px) var(--py, 0px);
  transition: translate 0.35s ease-out;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.site-header.is-scrolled, .site-header.is-open { background: var(--paper); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.08em; }
.brand__mark { font-size: 26px; }
.brand__name { opacity: 0; transition: opacity 0.25s; }
.site-header.is-scrolled .brand__name, .site-header.is-open .brand__name { opacity: 1; }

.site-nav ul { display: flex; gap: clamp(18px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.1em; }
.site-nav a:hover { color: var(--a); text-decoration: underline; }

.menu-btn {
  display: none;
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 12px/1 var(--font);
  letter-spacing: 0.18em;
  padding: 10px 14px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .brand__name { opacity: 1; font-size: 14px; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    display: none;
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 16px 0; font-size: 17px; }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(24px, 4vw, 48px);
  display: flex;
  overflow-x: hidden;
  overflow-x: clip;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(23, 24, 31, 0.35);
  border-style: solid;
  pointer-events: none;
}
.hero::before { left: calc(var(--gutter) / 2); top: calc(var(--header-h) + 6px); border-width: 1px 0 0 1px; }
.hero::after { right: calc(var(--gutter) / 2); bottom: 12px; border-width: 0 1px 1px 0; }

.hero__grid {
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "title title"
    "mark  mark"
    "when  where";
  gap: 16px 32px;
}
.hero__title { grid-area: title; margin: 0; font-weight: 700; line-height: 1.22; letter-spacing: 0.05em; font-feature-settings: "palt"; }
.hero__ordinal { display: block; font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; letter-spacing: 0.2em; color: var(--ink-soft); margin-bottom: 0.5em; }
.hero__name { display: block; font-size: clamp(34px, 4.6vw, 66px); }
.hero__name > span { display: inline-block; }

.hero__mark { grid-area: mark; align-self: center; justify-self: center; margin: 0; }
.hero__mark .ov { font-size: clamp(96px, min(26vw, 34svh), 380px); }
.hero__mark .ov__b { animation: shift 1.6s cubic-bezier(0.2, 0.7, 0.15, 1) 0.35s both; }
@keyframes shift { from { transform: translate(0, 0); } to { transform: translate(var(--dx), var(--dy)); } }

.hero__when, .hero__where { align-self: end; }
.hero__when { grid-area: when; }
.hero__where { grid-area: where; justify-self: end; text-align: right; }
.hero__when p, .hero__where p { margin: 0; }
.hero__date { font-size: clamp(40px, 5vw, 66px); font-weight: 700; line-height: 1; letter-spacing: 0.02em; font-feature-settings: "tnum"; white-space: nowrap; }
.hero__dow { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-left: 0.35em; vertical-align: 0.35em; font-size: 0.36em; border: 1.5px solid currentColor; border-radius: 50%; letter-spacing: 0; }
.hero__time { margin-top: 0.3em !important; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: 0.06em; font-feature-settings: "tnum"; }
.hero__venue { font-weight: 700; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; }
.hero__venue > span { display: inline-block; }
.hero__venue .hero__area { display: block; font-weight: 500; font-size: 0.86em; color: var(--ink-soft); }
.hero__free { margin-top: 0.5em !important; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.hero__call { margin-top: 0.9em !important; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.hero__call span { display: inline-block; text-decoration: underline; text-underline-offset: 0.25em; }

@media (max-width: 720px), (orientation: portrait) and (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
      "title title"
      ".     mark"
      "when  mark"
      "where mark";
    gap: 16px 10px;
  }
  .hero__mark { align-self: end; justify-self: end; display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
  .hero__mark .ov { writing-mode: vertical-rl; font-size: min(31vw, 25svh); letter-spacing: 0; }
  .hero__where { justify-self: start; text-align: left; }
  .hero::after { display: none; }
}
@media (max-width: 720px) {
  .hero__date { font-size: clamp(28px, 9vw, 40px); }
  .hero__time { font-size: 18px; }
  .hero__venue { font-size: 14px; }
  .hero__free, .hero__call { font-size: 13px; letter-spacing: 0.04em; }
}

.section { padding: clamp(56px, 8vw, 104px) var(--gutter); }
.section__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.section__title {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  justify-self: start;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.24em;
}
.section__body { min-width: 0; max-width: 780px; }
.prose { max-width: 40em; }
.prose p { text-align: justify; text-justify: inter-character; }
.lead { font-size: clamp(17px, 1.5vw, 19px); font-weight: 500; line-height: 1.9; }
.sub { margin: 2.6em 0 1em; font-size: 17px; font-weight: 700; letter-spacing: 0.08em; }

@media (max-width: 880px) {
  .section__inner { grid-template-columns: 1fr; }
  .section__title { position: static; writing-mode: horizontal-tb; letter-spacing: 0.1em; }
}
@media (max-width: 720px) {
  .prose p { text-align: left; }
}

.concept { background: var(--paper-2); }
.meanings {
  list-style: none;
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}
.meaning { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.meaning .k { position: relative; isolation: isolate; display: inline-block; align-self: flex-start; font-weight: 900; font-size: clamp(52px, 6.4vw, 92px); line-height: 1; letter-spacing: 0.02em; font-feature-settings: "palt"; }
.meaning .k__a { display: block; color: var(--a); }
.meaning .k__b { position: absolute; inset: 0; color: var(--b); mix-blend-mode: multiply; }
.meaning--copy .k__b { transform: translate(0.06em, 0.05em); }
.meaning--move .k__b { transform: translate(0.3em, 0); opacity: 0.45; }
.meaning--move .k { margin-right: 0.3em; }
.meaning--reflect .k__b {
  transform: translateY(100%) scaleY(-1);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 75%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 75%);
}
.meaning--reflect .k { margin-bottom: 0.55em; }
.meaning__gloss { font-size: 14px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; word-break: auto-phrase; }
.meaning__gloss .nb { display: inline-block; }
.meaning--etc { align-self: start; }
.meaning--etc .k { color: var(--ink-soft); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 2; }

@media (max-width: 720px) {
  .meanings { grid-template-columns: 1fr; gap: 28px; }
  .meaning { flex-direction: row; align-items: center; gap: 20px; }
  .meaning .k { font-size: 56px; }
  .meaning--reflect .k { margin-bottom: 0.6em; }
  .meaning--etc { display: none; }
}

.noteref { font-size: 0.8em; text-decoration: none; white-space: nowrap; }
.aims { list-style: none; margin: 0; padding: 0; max-width: 40em; }
.aims li { position: relative; padding-left: 1.1em; margin: 0 0 0.55em; line-height: 1.8; }
.aims li::before { content: "・"; position: absolute; left: -0.1em; }
.notes { list-style: none; margin: 2.4em 0 0; padding: 0; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.notes a { display: inline-block; min-width: 3em; text-decoration: none; }

.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts__row { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; padding-top: 0.15em; }
.facts dd { margin: 0; line-height: 1.85; }
.facts .is-key dd { font-weight: 700; }
.facts .note { display: inline-block; margin-top: 0.3em; font-size: 14px; color: var(--ink-soft); }
.ext::after {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.35em;
  vertical-align: -0.02em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 3h8v8M13 3 3 13' fill='none' stroke='%23000' stroke-width='1.8'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 3h8v8M13 3 3 13' fill='none' stroke='%23000' stroke-width='1.8'/></svg>") center / contain no-repeat;
}
.map { margin-top: 32px; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 560px) {
  .facts__row { grid-template-columns: 1fr; gap: 2px; }
  .map { aspect-ratio: 4 / 3; }
}

.contact__org { font-weight: 700; font-size: 17px; letter-spacing: 0.06em; margin-bottom: 1em; }

.site-footer { border-top: 1px solid var(--line); padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.site-footer__inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.ov--small { font-size: 44px; }
.site-footer__top { display: inline-block; margin-right: 12px; text-decoration: none; }
.site-footer__top:hover .ov, .site-footer__top:focus-visible .ov { --px: 2px; --py: 2px; }
.site-footer__name { margin: 0; font-weight: 700; letter-spacing: 0.08em; }
.site-footer__copy { margin: 0 0 0 auto; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em; }
@media (max-width: 560px) { .site-footer__copy { margin-left: 0; width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__mark .ov__b { animation: none; }
  .ov__b { transition: none; }
}
