:root {
  color-scheme: light;
  --navy: #0b2637;
  --navy-2: #123d50;
  --ink: #17313f;
  --muted: #627682;
  --teal: #138395;
  --teal-light: #dff2f2;
  --brand-blue: #75a9dc;
  --brand-aqua: #0aa6bf;
  --brand-green: #75c48a;
  --copper: #b9673f;
  --copper-light: #f5e8df;
  --paper: #ffffff;
  --surface: #f1f5f6;
  --line: #d8e2e5;
  --shadow: 0 18px 55px rgba(11, 38, 55, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: rgba(11, 38, 55, 0.96);
  color: white;
  backdrop-filter: blur(12px);
}
.topbar__inner {
  width: min(100% - 32px, 980px);
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 750;
  white-space: nowrap;
}
.brand__secondary { color: #82d3cf; }
.brand__mark { color: rgba(255,255,255,.55); font-size: .8rem; }
.prototype-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-size: .75rem;
  line-height: 1;
}
.prototype-badge span { width: 7px; height: 7px; border-radius: 50%; background: #f7b75e; box-shadow: 0 0 0 4px rgba(247,183,94,.12); }

main { width: min(100%, 1060px); margin: 0 auto; }
.hero {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: linear-gradient(148deg, var(--navy) 2%, var(--navy-2) 100%);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -190px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}
.hero__streams { position: absolute; inset: 0; opacity: .7; }
.hero__streams svg { width: 100%; height: 100%; overflow: visible; }
.hero__streams .stream { fill: none; stroke-width: 4; }
.stream--blue { stroke: #50bec5; }
.stream--copper { stroke: #d58358; }
.hero__streams circle { fill: white; stroke: white; filter: drop-shadow(0 0 12px white); }
.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 48px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  align-items: center;
  gap: clamp(30px, 6vw, 64px);
}
.hero__copy { min-width: 0; }
.hero__commemorative-mark {
  position: relative;
  margin: 0;
  padding: 22px 22px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
.hero__commemorative-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #222 0 27%, var(--brand-aqua) 44%, var(--brand-green) 57%, var(--brand-blue) 73% 100%);
}
.hero__commemorative-mark figcaption {
  margin-bottom: 9px;
  color: #607b91;
  font-family: ui-serif, Georgia, serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
}
.hero__commemorative-mark img { width: 100%; height: auto; display: block; }
.eyebrow {
  margin: 0 0 12px;
  color: #8bd4d5;
  letter-spacing: .16em;
  font-family: ui-serif, Georgia, serif;
  font-size: .95rem;
  font-weight: 700;
}
.eyebrow span { margin-left: 5px; color: rgba(255,255,255,.62); font-size: .72rem; }
.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.1rem, 5.3vw, 3.85rem);
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.18;
}
.hero h1 span { display: inline-block; margin-top: 7px; color: rgba(255,255,255,.82); font-family: ui-serif, Georgia, serif; font-size: .42em; letter-spacing: .17em; }
.hero__lead { margin: 16px 0 24px; color: rgba(255,255,255,.78); letter-spacing: .08em; }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: .85rem;
}
.event-meta svg { width: 17px; height: 17px; color: #8bd4d5; }

.access-note {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 32px), 900px);
  margin: -23px auto 0;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(19,131,149,.18);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 10px 35px rgba(11,38,55,.11);
}
.access-note p { margin: 0; }
.access-note__icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--teal-light); color: var(--teal); }
.access-note__icon svg { width: 23px; height: 23px; }
.access-note__label { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.access-note strong { color: var(--navy); font-size: 1rem; }
.access-note__sub { color: var(--muted); font-size: .75rem; }

.guide-section { width: min(calc(100% - 32px), 900px); margin: 46px auto 0; scroll-margin-top: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-kicker { margin: 0 0 4px; color: var(--teal); font-family: ui-serif, Georgia, serif; font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.section-heading h2, .concept-band h2 { margin: 0; color: var(--navy); font-size: 1.55rem; line-height: 1.35; letter-spacing: .04em; }
.share-button {
  min-height: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
}
.share-button svg { width: 18px; height: 18px; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.guide-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 21px 19px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 5px 18px rgba(11,38,55,.045);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.guide-card:hover { transform: translateY(-3px); border-color: rgba(19,131,149,.45); box-shadow: 0 14px 35px rgba(11,38,55,.11); }
.guide-card:active { transform: translateY(-1px); }
.guide-card--primary {
  grid-column: span 2;
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), #13566a);
}
.guide-card--primary::after { content: ""; position: absolute; right: -25px; bottom: -65px; width: 165px; height: 165px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.03); }
.guide-card__number { position: absolute; top: 14px; right: 16px; color: #a5b2b8; font-family: ui-serif, Georgia, serif; font-size: .78rem; }
.guide-card--primary .guide-card__number { color: rgba(255,255,255,.48); }
.guide-card__icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: auto; border-radius: 13px; background: var(--teal-light); color: var(--teal); }
.guide-card:nth-child(3n + 3) .guide-card__icon { background: var(--copper-light); color: var(--copper); }
.guide-card--primary .guide-card__icon { background: rgba(255,255,255,.12); color: #8fe0df; }
.guide-card__icon svg { width: 23px; height: 23px; }
.guide-card__body { display: flex; flex-direction: column; position: relative; z-index: 1; }
.guide-card__eyebrow { margin-bottom: 1px; color: var(--teal); font-family: ui-serif, Georgia, serif; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.guide-card--primary .guide-card__eyebrow { color: #8fe0df; }
.guide-card strong { color: var(--navy); font-size: 1.08rem; letter-spacing: .03em; line-height: 1.5; }
.guide-card--primary strong { color: white; font-size: 1.22rem; }
.guide-card small { margin-top: 2px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.guide-card--primary small { color: rgba(255,255,255,.66); }
.guide-card__arrow { position: absolute; right: 17px; bottom: 16px; color: var(--teal); font-size: 1.15rem; }
.guide-card--primary .guide-card__arrow { color: #8fe0df; }

.guide-card--song {
  grid-column: span 2;
  min-height: 190px;
  overflow: hidden;
  color: white;
  border-color: transparent;
  background: linear-gradient(128deg, #102c3e 0%, #15576b 58%, #a95f3d 145%);
}
.guide-card--song::before {
  content: "";
  position: absolute;
  top: -76px;
  right: -24px;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(255,255,255,.016);
}
.guide-card--song .guide-card__number { color: rgba(255,255,255,.5); }
.guide-card--song .guide-card__icon { background: rgba(255,255,255,.12); color: #8fe0df; }
.guide-card--song .guide-card__eyebrow { color: #efb18d; }
.guide-card--song strong { color: white; font-size: 1.22rem; }
.guide-card--song small { color: rgba(255,255,255,.72); }
.guide-card--song .guide-card__arrow { color: #8fe0df; }
.guide-card__song-mark {
  position: absolute;
  right: 56px;
  bottom: -48px;
  color: rgba(255,255,255,.07);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.guide-card--guests {
  grid-column: 1 / -1;
  min-height: 154px;
  padding: 24px 224px 24px 24px;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  overflow: hidden;
  border-color: rgba(185,103,63,.24);
  background: linear-gradient(118deg, #fff 0 52%, #f4e9e1 100%);
}
.guide-card--guests::before {
  content: "";
  position: absolute;
  right: 62px;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(185,103,63,.19);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(185,103,63,.045), 0 0 0 48px rgba(185,103,63,.025);
}
.guide-card--guests .guide-card__icon { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; background: var(--copper-light); color: var(--copper); }
.guide-card--guests .guide-card__body { padding-right: 12px; }
.guide-card--guests .guide-card__eyebrow { color: var(--copper); }
.guide-card--guests strong { font-size: 1.22rem; }
.guide-card--guests small { font-size: .79rem; }
.guide-card--guests .guide-card__arrow { color: var(--copper); }
.guide-card__portraits {
  position: absolute;
  z-index: 1;
  right: 45px;
  bottom: 18px;
  display: flex;
  align-items: end;
}
.guide-card__portraits img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 22px rgba(11,38,55,.16);
}
.guide-card__portraits img:first-child { position: relative; z-index: 2; }
.guide-card__portraits img:last-child { width: 92px; height: 92px; margin-left: -17px; object-position: center 72%; }

.concept-band {
  width: min(calc(100% - 32px), 900px);
  margin: 48px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(11,38,55,.07);
}
.concept-band__mark { grid-row: span 2; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--teal-light) 0 48%, var(--copper-light) 52% 100%); color: var(--navy); font-family: ui-serif, Georgia, serif; font-size: .85rem; font-weight: 800; }
.concept-band p { margin: 8px 0 0; color: var(--muted); }
.paperless-note { width: min(calc(100% - 32px), 900px); margin: 20px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .8rem; text-align: center; }
.paperless-note svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--teal); }

.footer { padding: 50px 24px calc(100px + env(safe-area-inset-bottom)); color: #8aa0aa; text-align: center; font-size: .74rem; }
.footer p { margin: 3px 0; }
.footer__brand { color: var(--navy); font-weight: 750; }
.footer__brand span { margin: 0 5px; color: var(--teal); }
.footer__updated { margin-top: 12px !important; }

.bottom-nav {
  position: fixed;
  z-index: 18;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(216,226,229,.9);
  background: rgba(255,255,255,.96);
  box-shadow: 0 -8px 25px rgba(11,38,55,.07);
  backdrop-filter: blur(14px);
}
.bottom-nav a, .bottom-nav button { min-height: 49px; padding: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--muted); text-decoration: none; cursor: pointer; font-size: .66rem; }
.bottom-nav svg { width: 20px; height: 20px; }
.bottom-nav a:first-child { color: var(--teal); }

.detail-dialog {
  width: min(calc(100% - 28px), 720px);
  max-height: min(86vh, 820px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.detail-dialog::backdrop { background: rgba(3,18,26,.68); backdrop-filter: blur(4px); }
.detail-dialog[open] { animation: dialog-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog-shell { max-height: inherit; display: flex; flex-direction: column; }
.dialog-handle { display: none; }
.dialog-header { flex: 0 0 auto; padding: 24px 26px 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.dialog-kicker { color: var(--teal); font-family: ui-serif, Georgia, serif; font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.dialog-header h2 { margin: 1px 0 0; color: var(--navy); font-size: 1.45rem; line-height: 1.4; }
.dialog-close { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); cursor: pointer; }
.dialog-close svg { width: 21px; height: 21px; }
.dialog-content { padding: 22px 26px 32px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-content > :first-child { margin-top: 0; }
.commemorative-banner {
  position: relative;
  min-height: 106px;
  margin: 0 0 20px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(117,169,220,.3);
  border-radius: 16px;
  background: linear-gradient(110deg, #fff 0 70%, #edf6fc 100%);
  box-shadow: 0 7px 20px rgba(11,38,55,.06);
}
.commemorative-banner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(180deg, #222 0 28%, var(--brand-aqua) 48%, var(--brand-green) 66%, var(--brand-blue) 100%);
}
.commemorative-banner img { width: min(100%, 300px); height: auto; display: block; }
.draft-callout { margin-bottom: 20px; padding: 12px 14px; border-radius: 13px; background: #eef6f7; color: var(--muted); font-size: .8rem; }
.draft-callout span { margin-right: 8px; padding: 3px 7px; border-radius: 6px; background: var(--teal); color: white; font-size: .65rem; font-weight: 800; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 12px; bottom: 20px; left: 94px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 24px; min-height: 76px; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 90px; width: 9px; height: 9px; border: 3px solid white; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.timeline li.timeline__celebration::before { background: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.timeline li.timeline__song { margin: 0 0 18px; padding: 14px 14px 14px 0; border-radius: 0 14px 14px 0; background: linear-gradient(90deg, transparent 0 106px, #fff6f0 106px 100%); }
.timeline li.timeline__song::before { top: 22px; background: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.timeline time { padding-top: 1px; color: var(--teal); font-family: ui-serif, Georgia, serif; font-size: .83rem; font-weight: 800; white-space: nowrap; }
.timeline strong { color: var(--navy); }
.timeline p { margin: 1px 0 0; color: var(--muted); font-size: .84rem; }
.timeline__lyrics-link { margin-top: 10px; min-height: 38px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--copper); color: white; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 750; }
.timeline__lyrics-link span { margin-left: 5px; }
.timeline__lyrics-link:focus-visible { outline: 3px solid rgba(177, 98, 49, .28); outline-offset: 2px; }

.seat-search label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .84rem; font-weight: 750; }
.seat-search > div { display: flex; gap: 8px; }
.seat-search input { min-width: 0; flex: 1; min-height: 46px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 11px; font-size: 1rem; }
.seat-search button { min-width: 68px; border: 0; border-radius: 11px; background: var(--navy); color: white; cursor: pointer; font-weight: 750; }
.seat-search p { min-height: 1.5em; margin: 5px 0 10px; color: var(--copper); font-size: .76rem; }
.room-map { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #f7f9fa; }
.stage, .entrance { padding: 7px; border-radius: 8px; background: var(--navy); color: white; text-align: center; font-size: .72rem; letter-spacing: .08em; }
.entrance { width: 44%; margin: 17px auto 0; background: #dfe8ea; color: var(--navy); }
.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 22px 4px 5px; }
.table { aspect-ratio: 1; display: grid; place-items: center; border: 5px solid white; border-radius: 50%; background: var(--teal-light); color: var(--teal); box-shadow: 0 0 0 1px #c7dddd; font-family: ui-serif, Georgia, serif; font-weight: 800; }
.table--guest { background: var(--copper-light); color: var(--copper); box-shadow: 0 0 0 1px #ead1c1; font-family: inherit; font-size: .72rem; }

.guest-intro {
  position: relative;
  margin-bottom: 16px;
  padding: 24px;
  overflow: hidden;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--navy), #144e61);
  color: white;
}
.guest-intro::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -88px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(255,255,255,.016);
}
.guest-intro > * { position: relative; z-index: 1; }
.guest-intro > span { color: #8fe0df; font-family: ui-serif, Georgia, serif; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.guest-intro h3 { margin: 5px 0 7px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.35rem; font-weight: 650; line-height: 1.55; letter-spacing: .04em; }
.guest-intro p { max-width: 520px; margin: 0; color: rgba(255,255,255,.7); font-size: .82rem; }

.permission-note {
  margin-bottom: 16px;
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #ebd7ca;
  border-radius: 14px;
  background: #fff9f5;
}
.permission-note svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: var(--copper); }
.permission-note strong { display: block; color: var(--navy); font-size: .8rem; }
.permission-note p { margin: 2px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.55; }

.guest-list { display: grid; gap: 14px; }
.guest-profile {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fbfcfc;
}
.guest-photo { position: relative; margin: 0; background: #e9eef0; }
.guest-photo img { width: 100%; height: 100%; min-height: 285px; display: block; object-fit: cover; object-position: center; }
.guest-photo figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(11,38,55,.82);
  color: rgba(255,255,255,.9);
  font-size: .62rem;
  line-height: 1.35;
  text-align: center;
}
.guest-photo--hinata img { object-position: center 64%; }
.guest-profile__content { padding: 20px; }
.guest-role { margin: 0 0 3px; color: var(--teal); font-family: ui-serif, Georgia, serif; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.guest-role span { margin-left: 8px; color: var(--muted); font-family: inherit; letter-spacing: .05em; }
.guest-profile h3 { margin: 0; color: var(--navy); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.48rem; line-height: 1.4; }
.guest-profile h3 span { margin-left: 5px; color: var(--muted); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: .72rem; font-weight: 600; }
.guest-profile--hinata h3 span { display: block; margin: 1px 0 0; }
.guest-profile__content > p:not(.guest-role):not(.guest-lead) { margin: 8px 0 0; color: var(--muted); font-size: .79rem; }
.guest-profile__content .guest-lead { margin: 8px 0 0; color: var(--navy); font-size: .88rem; font-weight: 700; line-height: 1.65; }
.guest-profile__content .guest-relationship { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--teal); border-radius: 0 9px 9px 0; background: #eef7f7; color: #365664; line-height: 1.7; }
.guest-profile__content .guest-relationship strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: .76rem; }
.guest-profile--hinata .guest-relationship { border-left-color: var(--copper); background: #fff5ef; }
.guest-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--teal); font-size: .79rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.guest-link span { font-size: 1rem; }

.song-feature { margin-top: 13px; padding: 13px 14px; border-left: 4px solid var(--copper); border-radius: 0 12px 12px 0; background: var(--copper-light); }
.song-feature > span { display: block; color: var(--copper); font-family: ui-serif, Georgia, serif; font-size: .6rem; font-weight: 800; letter-spacing: .13em; }
.song-feature > div { margin-top: 2px; display: flex; align-items: baseline; gap: 9px; color: var(--navy); }
.song-feature b { font-size: .75rem; }
.song-feature strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.25rem; }
.song-feature p { margin: 2px 0 0; color: #6e5b51; font-size: .72rem; }

.lyrics-hero {
  position: relative;
  min-height: 228px;
  padding: 29px 248px 27px 28px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(137deg, var(--navy) 0%, #15576b 72%, #1a6d79 100%);
  color: white;
}
.lyrics-hero__copy { position: relative; z-index: 2; }
.lyrics-hero__photo {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 24px;
  width: 196px;
  height: 196px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: radial-gradient(circle at 52% 38%, #17768a 0%, #0b4058 50%, #08283d 100%);
  box-shadow: 0 0 0 7px rgba(255,255,255,.07), 0 18px 38px rgba(3,18,26,.28);
  transform: translateY(-50%);
}
.lyrics-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, rgba(3,18,26,.24) 100%);
  pointer-events: none;
}
.lyrics-hero__photo img {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.lyrics-hero__copy > span {
  color: #8fe0df;
  font-family: ui-serif, Georgia, serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.lyrics-hero__origin { margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: .72rem; letter-spacing: .06em; }
.lyrics-hero h3 {
  margin: 3px 0 7px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.lyrics-hero h3 strong { margin-left: 7px; font-size: 2.55rem; font-weight: 650; letter-spacing: .04em; }
.lyrics-hero__copy > p:last-child { margin: 0; color: rgba(255,255,255,.78); font-size: .82rem; }
.singalong-note {
  margin: 16px 0 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #ead5c8;
  border-radius: 15px;
  background: #fff8f3;
}
.singalong-note svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--copper); }
.singalong-note strong { display: block; color: var(--navy); font-size: .86rem; }
.singalong-note p { margin: 1px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.lyrics-sheet { display: grid; gap: 12px; }
.lyrics-block {
  padding: 8px 5px 11px;
  border-bottom: 1px solid var(--line);
}
.lyrics-block p { margin: 0; }
.lyrics-block p > span {
  display: block;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: .99rem;
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 2.05;
}
.lyrics-block em { color: #126f82; font-style: normal; font-weight: 750; }
.lyrics-block__cue {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--teal);
  font-family: ui-serif, Georgia, serif;
  font-size: .61rem;
  font-weight: 850;
  letter-spacing: .18em;
}
.lyrics-block--refrain {
  padding: 17px 18px 18px;
  border: 1px solid #cce2e5;
  border-radius: 16px;
  background: linear-gradient(118deg, #edf8f8, #f8fbfc);
}
.lyrics-block--refrain p > span { color: var(--navy); font-weight: 700; }
.lyrics-block--copper { border-color: #ead5c8; background: linear-gradient(118deg, #fff5ef, #fbfaf9); }
.lyrics-block--copper .lyrics-block__cue { color: var(--copper); }
.lyrics-block--bridge {
  padding: 17px 18px;
  border: 0;
  border-left: 4px solid var(--copper);
  border-radius: 0 14px 14px 0;
  background: var(--copper-light);
}
.lyrics-block--finale {
  padding: 20px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), #15576b);
  box-shadow: 0 12px 30px rgba(11,38,55,.14);
}
.lyrics-block--finale .lyrics-block__cue { color: #efb18d; }
.lyrics-block--finale p > span { color: white; }
.lyrics-block--finale em { color: #8fe0df; }

.website-preview { padding: 24px; border: 1px solid #94cad6; border-top: 5px solid #087587; border-radius: 19px; background: #e7f5fa; color: var(--navy); }
.website-preview__date { color: #086476; font-size: .875rem; font-weight: 800; letter-spacing: .1em; }
.website-preview h3 { margin: 6px 0 12px; font-size: 1.5rem; line-height: 1.45; }
.website-preview p { margin: 0; color: #284f5f; font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.coming-soon-button { width: 100%; min-height: 49px; margin-top: 14px; border: 0; border-radius: 12px; background: #dfe6e8; color: #788c95; font-weight: 700; }
.text-link { display: inline-flex; gap: 7px; margin-top: 14px; color: var(--teal); font-size: .82rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.ceremony-message { margin: 0 0 20px; padding: 5px 0 5px 20px; border-left: 4px solid var(--teal); color: var(--navy); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.25rem; font-weight: 650; line-height: 1.8; }
.dialog-content > p { color: var(--muted); }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.purpose-grid div { padding: 15px 12px; border-radius: 14px; background: var(--surface); }
.purpose-grid span { display: block; color: var(--teal); font-family: ui-serif, Georgia, serif; font-size: .7rem; font-weight: 800; }
.purpose-grid strong { display: block; margin-top: 4px; color: var(--navy); font-size: .8rem; line-height: 1.55; }

.info-list { margin: 0; }
.info-list div { padding: 13px 2px; display: grid; grid-template-columns: 100px 1fr; gap: 12px; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--muted); font-size: .78rem; }
.info-list dd { margin: 0; color: var(--navy); font-weight: 650; font-size: .88rem; }
.info-list dd a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.notice-box { margin-top: 20px; padding: 17px; border-radius: 15px; background: var(--teal-light); }
.notice-box h3 { margin: 0 0 4px; color: var(--navy); font-size: .95rem; }
.notice-box p { margin: 0; color: #496772; font-size: .8rem; }

.toast { position: fixed; z-index: 100; bottom: calc(92px + env(safe-area-inset-bottom)); left: 50%; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: white; box-shadow: 0 10px 30px rgba(11,38,55,.25); font-size: .8rem; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid #e6a15e; outline-offset: 3px; }

@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero__content { grid-template-columns: 1fr; gap: 27px; padding-top: 34px; }
  .hero__commemorative-mark { order: -1; width: min(100%, 460px); justify-self: center; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card { min-height: 176px; padding: 18px 15px 15px; }
  .guide-card--primary { grid-column: span 2; min-height: 158px; }
  .guide-card--song { grid-column: span 1; min-height: 176px; }
  .guide-card--guests { grid-column: span 2; }
  .guide-card__arrow { right: 14px; bottom: 13px; }
  .concept-band { grid-template-columns: auto 1fr; padding: 22px 19px; }
  .bottom-nav { display: grid; }
}

@media (max-width: 480px) {
  .brand { font-size: .64rem; gap: 7px; }
  .prototype-badge { padding: 6px 8px; font-size: .68rem; }
  .hero__content { width: calc(100% - 28px); padding: 24px 0 42px; gap: 24px; }
  .hero__commemorative-mark { padding: 14px 14px 12px; border-radius: 18px; }
  .hero__commemorative-mark figcaption { margin-bottom: 5px; font-size: .55rem; letter-spacing: .14em; }
  .hero h1 { font-size: 2.15rem; }
  .hero__lead { margin-top: 13px; }
  .access-note { width: calc(100% - 24px); padding: 15px 14px; }
  .access-note__sub { line-height: 1.5; }
  .guide-section, .concept-band, .paperless-note { width: calc(100% - 24px); }
  .section-heading { align-items: center; }
  .share-button span { display: none; }
  .share-button { width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .guide-grid { gap: 9px; }
  .guide-card { min-height: 171px; }
  .guide-card__icon { width: 39px; height: 39px; }
  .guide-card strong { font-size: .96rem; }
  .guide-card small { max-width: 92%; font-size: .69rem; }
  .guide-card--primary { min-height: 150px; }
  .guide-card--primary strong { font-size: 1.15rem; }
  .guide-card--song { min-height: 171px; }
  .guide-card--song strong { max-width: 88%; font-size: 1rem; }
  .guide-card--song .guide-card__eyebrow { font-size: .58rem; }
  .guide-card__song-mark { right: 12px; bottom: -27px; font-size: 6.2rem; }
  .guide-card--guests { min-height: 152px; padding: 19px 112px 19px 15px; gap: 11px; }
  .guide-card--guests::before { right: 24px; width: 84px; height: 84px; }
  .guide-card--guests .guide-card__icon { flex-basis: 39px; width: 39px; height: 39px; }
  .guide-card--guests strong { font-size: 1rem; }
  .guide-card--guests small { font-size: .68rem; }
  .guide-card__portraits { right: 19px; bottom: 22px; }
  .guide-card__portraits img { width: 53px; height: 53px; border-width: 3px; }
  .guide-card__portraits img:last-child { width: 64px; height: 64px; margin-left: -13px; }
  .concept-band__mark { width: 62px; height: 62px; }
  .concept-band h2 { font-size: 1.25rem; }
  .concept-band > div:nth-child(2) > p:last-child { grid-column: 1 / -1; }
  .detail-dialog { width: 100%; max-width: none; max-height: 91vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .detail-dialog[open] { animation: sheet-in .24s ease-out; }
  @keyframes sheet-in { from { opacity: .8; transform: translateY(100%); } to { opacity: 1; transform: none; } }
  .dialog-handle { display: block; flex: 0 0 auto; width: 42px; height: 4px; margin: 9px auto 0; border-radius: 999px; background: #c9d3d6; }
  .dialog-header { padding: 14px 18px 13px; }
  .dialog-content { padding: 17px 18px calc(28px + env(safe-area-inset-bottom)); }
  .commemorative-banner { min-height: 88px; margin-bottom: 16px; padding: 8px 15px; border-radius: 14px; }
  .commemorative-banner img { width: min(100%, 260px); }
  .dialog-header h2 { font-size: 1.28rem; }
  .website-preview { padding: 20px 17px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-grid div { display: flex; align-items: center; gap: 10px; }
  .purpose-grid strong { margin: 0; }
  .info-list div { grid-template-columns: 80px 1fr; }
  .guest-intro { padding: 20px 17px; }
  .guest-intro h3 { font-size: 1.18rem; }
  .guest-profile { grid-template-columns: 1fr; }
  .guest-photo { aspect-ratio: 16 / 10; }
  .guest-photo img { min-height: 0; }
  .guest-photo--hinata { aspect-ratio: 4 / 3; }
  .guest-photo--hinata img { object-position: center 70%; }
  .guest-profile__content { padding: 17px; }
  .lyrics-hero { min-height: 210px; padding: 22px 145px 21px 18px; }
  .lyrics-hero h3 { font-size: 1rem; }
  .lyrics-hero h3 strong { display: block; margin: -1px 0 0; font-size: 2.15rem; }
  .lyrics-hero__copy > p:last-child { font-size: .75rem; line-height: 1.55; }
  .lyrics-hero__copy > span { font-size: .6rem; letter-spacing: .1em; }
  .lyrics-hero__origin { font-size: .68rem; line-height: 1.5; }
  .lyrics-hero__photo { right: 12px; width: 124px; height: 124px; box-shadow: 0 0 0 5px rgba(255,255,255,.07), 0 13px 28px rgba(3,18,26,.26); }
  .lyrics-hero__photo img { inset: 8%; width: 84%; height: 84%; }
  .lyrics-block p > span { font-size: .92rem; line-height: 1.95; }
  .lyrics-block--refrain, .lyrics-block--finale { padding: 15px 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Ceremony highlights and active company website link */
.purpose-grid div { background: #e5eff3; border-left: 4px solid #187787; border-radius: 10px; padding: 18px 14px; }
.purpose-grid span { color: #176575; font-size: .9375rem; }
.purpose-grid strong { color: #16394c; font-size: 1rem; font-weight: 800; }
.merger-journey {
  position: relative;
  margin-bottom: 28px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
.merger-journey__period { margin: 0 0 10px; color: #087184; font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.merger-journey__period span { margin-inline: 6px; color: var(--copper); }
.merger-journey h3 { margin: 0 0 14px; color: var(--navy); font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 850; line-height: 1.45; letter-spacing: .03em; }
.merger-journey__intro { margin: 0; font-size: 1rem; line-height: 1.9; }
.merger-journey__publication { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.merger-journey__publication-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.merger-journey__publication-heading strong { color: var(--navy); font-size: 1.125rem; }
.merger-journey__format { padding: 3px 9px; border: 1px solid #b4c9d1; border-radius: 5px; color: #365664; font-size: .875rem; font-weight: 800; letter-spacing: .06em; }
.merger-journey__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #12384b; border-radius: 9px; background: #12384b; color: #fff; font-size: 1rem; font-weight: 750; line-height: 1.5; text-decoration: none; }
.merger-journey__link:hover { background: #1b4b61; }
.merger-journey__link:focus-visible { outline: 3px solid #187787; outline-offset: 4px; }
.merger-journey__publication > p { margin: 10px 0 0; color: #526873; font-size: .875rem; line-height: 1.7; }
@media (max-width: 480px) { .merger-journey { padding: 21px 17px 19px; } }
.company-website-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; margin-top: 20px; padding: 14px 18px; border-radius: 10px; background: #087587; color: #fff; font-size: 1rem; font-weight: 750; line-height: 1.5; text-decoration: none; }
.company-website-link:hover { background: #086476; }
.company-website-link span { flex-shrink: 0; }
.company-website-link:focus-visible { outline: 3px solid #187787; outline-offset: 4px; }

/* New mid-term plan: color language follows the president's three-stage vision. */
.strategy-vision { margin-top: 32px; overflow: hidden; border: 1px solid #b8c8d4; border-radius: 18px; background: #f7fafc; color: #102f58; box-shadow: 0 12px 30px rgba(16,47,88,.08); }
.strategy-vision p, .strategy-vision h3, .strategy-vision h4 { margin: 0; }
.strategy-vision__header { padding: 20px; background: #0b315f; color: #fff; text-align: center; }
.strategy-vision__header > p { margin-bottom: 12px; font-size: 1.05rem; font-weight: 800; letter-spacing: .03em; }
.strategy-vision__header > p span { display: inline-block; margin-left: .5em; }
.strategy-vision__header > div { padding: 10px 14px; border-radius: 9px; background: #104682; }
.strategy-vision__header strong, .strategy-vision__header small { display: block; }
.strategy-vision__header strong { font-size: 1rem; }
.strategy-vision__header small { margin-top: 3px; font-size: .78rem; line-height: 1.6; }
.strategy-vision__slogan { margin: 20px; padding: 18px; border: 1px solid #e6bf59; border-radius: 14px; background: #fff2c9; text-align: center; }
.strategy-vision__slogan span { color: #526873; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.strategy-vision__slogan h3 { margin-top: 6px; color: #0b315f; font-size: clamp(1.8rem, 6vw, 2.5rem); font-weight: 850; letter-spacing: .08em; }
.strategy-vision__slogan p { margin-top: 3px; color: #183b69; font-family: Georgia, "Times New Roman", serif; font-size: .95rem; font-style: italic; }
.strategy-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 20px; }
.strategy-stage { --stage:#146f5c; --stage-soft:#edf8f4; min-width: 0; padding: 15px 12px 14px; border: 1px solid color-mix(in srgb, var(--stage) 42%, white); border-top: 7px solid var(--stage); border-radius: 13px; background: var(--stage-soft); text-align: center; }
.strategy-stage--two { --stage:#e86600; --stage-soft:#fff5eb; box-shadow: 0 7px 18px rgba(232,102,0,.14); }
.strategy-stage--three { --stage:#1558b0; --stage-soft:#eef4fd; }
.strategy-stage > p { min-height: 2.8em; color: #526873; font-size: .75rem; line-height: 1.4; }
.strategy-stage h4 { margin: 2px -5px 8px; padding: 5px; border-radius: 7px; background: var(--stage); color: #fff; font-size: 1rem; }
.strategy-stage > strong, .strategy-stage time { display: block; color: var(--stage); }
.strategy-stage > strong { font-size: .93rem; }
.strategy-stage time { margin-top: 2px; font-size: .72rem; font-weight: 700; }
.strategy-stage ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 13px 0 0; padding: 0; list-style: none; }
.strategy-stage li { display: grid; place-items: center; min-height: 48px; padding: 5px 3px; border-radius: 7px; background: #fff; color: var(--stage); font-size: .72rem; font-weight: 800; line-height: 1.35; }
.strategy-outcomes { display: grid; gap: 7px; margin: 20px; padding: 0; list-style: none; }
.strategy-outcomes li { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #d8e2e8; border-radius: 10px; background: #fff; }
.strategy-outcomes span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #174878; color: #fff; font-size: .75rem; font-weight: 850; }
.strategy-outcomes li:nth-child(2) span { background: #238452; }
.strategy-outcomes li:nth-child(3) span { background: #6a3893; }
.strategy-outcomes strong { color: #173b4c; font-size: .92rem; line-height: 1.5; }
@media (max-width: 680px) {
  .strategy-stages { grid-template-columns: 1fr; }
  .strategy-stage > p { min-height: 0; }
  .strategy-stage ol { gap: 7px; }
  .strategy-stage li { min-height: 42px; }
}

/* Keep the booklet's punctuation and black/green pairing together. */
.ci-signature {
  --ci-black: #181818;
  --ci-green: #247b49;
  color: var(--ci-black);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .035em;
}
.ci-signature p { margin: 0; }
.ci-signature p > span { display: inline-block; max-width: 100%; }
.ci-signature__earth { color: var(--ci-black); }
.ci-signature__community { color: var(--ci-green); }
.ci-signature--hero {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8e4;
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
  text-align: center;
}
.ci-signature--feature {
  margin: 2px 0 28px;
  padding: 10px 0 24px;
  border-bottom: 1px solid #dde7e0;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.65;
  text-align: center;
}
.ci-signature__pair + .ci-signature__pair { margin-top: 14px; }
.ci-signature .ci-signature__english {
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  text-wrap: balance;
}
.ci-signature--closing {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #dde7e0;
  text-align: center;
}
.ci-signature--quiet {
  margin: 0 auto 20px;
  font-size: 1rem;
  line-height: 1.85;
}
.footer .ci-signature p { margin: 0; }

/* Reflow the supplied two-page profile into a continuous reading surface. */
.guide-panel[data-panel=endo-profile] { max-width: 880px; }
.endo-profile {
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.endo-profile p { margin: 0; }
.endo-profile p + p { margin-top: 10px; }
.endo-profile__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}
.endo-profile__portrait { margin: 0; overflow: hidden; border-radius: 10px; }
.endo-profile__portrait img { display: block; width: 100%; height: auto; }
.endo-profile__source { color: #526873; font-size: .875rem; }
.endo-profile h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.75rem, 5vw, 2rem);
  line-height: 1.5;
}
.endo-profile h3 span { display: block; margin-top: 3px; font-family: sans-serif; font-size: .875rem; font-weight: 400; }
.endo-profile .endo-profile__profession { margin-top: 12px; font-weight: 700; }
.endo-profile .endo-profile__facts { margin-top: 3px; color: #526873; font-size: .875rem; }
.endo-profile__section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.endo-profile h4 { margin: 0 0 15px; color: var(--navy); font-size: 1.25rem; line-height: 1.5; }
.endo-profile h5 { margin: 18px 0 6px; color: var(--ink); font-size: 1rem; line-height: 1.7; }
.endo-profile h4 + h5 { margin-top: 0; }
.endo-profile .endo-profile__meta { margin: 5px 0 8px; color: #526873; font-size: .875rem; }
.endo-profile__program + .endo-profile__program { margin-top: 20px; }
.endo-profile__program h5 { margin-top: 0; }
.endo-profile ul { padding-left: 1.25em; margin: 10px 0; }
.endo-profile li + li { margin-top: 8px; }
.endo-profile__history { margin: 0; }
.endo-profile__history > div { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: 6px 20px; padding: 12px 0; }
.endo-profile__history > div + div { border-top: 1px solid #edf1f2; }
.endo-profile__history dt { color: #526873; font-size: .9375rem; }
.endo-profile__history dd { margin: 0; }
.endo-profile .endo-profile__list { padding: 0; list-style: none; }
.endo-profile__list li + li { margin-top: 18px; }
.endo-profile__list strong { font-weight: 650; }
.endo-profile__list span { display: block; margin-top: 3px; color: #526873; font-size: .875rem; }
.endo-profile .endo-profile__awards { margin-top: 16px; padding: 14px 16px 14px 34px; border-left: 3px solid #138395; background: #f0f7f7; }
.endo-profile .endo-profile__motto { margin-top: 20px; color: var(--navy); }
.endo-profile__motto span { display: block; color: #526873; font-size: .875rem; }
.endo-profile__document { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.endo-profile__document > p:first-child { color: #526873; font-size: .875rem; }
.endo-profile__document a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; margin-top: 8px; color: #096b7a; font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 620px) {
  .endo-profile__intro { grid-template-columns: 1fr; gap: 18px; }
  .endo-profile__history > div { grid-template-columns: 1fr; }
}

/* Shared singing sections: a clear shaded panel and emphatic key phrase. */
.lyrics-block--refrain { background: #deeff2; border: 2px solid #85b7c0; border-left: 5px solid #167487; }
.lyrics-block--refrain.lyrics-block--copper { background: #f8e8da; border-color: #d9ac89; border-left-color: #a35b2f; }
.lyrics-block--refrain .lyrics-block__cue { display: inline-block; padding: 5px 10px; border-radius: 5px; background: #146777; color: #fff; font-size: .875rem; }
.lyrics-block--copper .lyrics-block__cue { background: #89441f; color: #fff; }
.lyrics-block .lyrics-earth-voice {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0 .12em;
  color: #063c50;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 1.6em;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .025em;
  -webkit-text-stroke: .035em currentColor;
  background: linear-gradient(transparent 66%, #efce63 66% 92%, transparent 92%);
}
.lyrics-block--finale .lyrics-earth-voice {
  color: #fff1aa;
  background: linear-gradient(transparent 66%, #347d85 66% 92%, transparent 92%);
}

/* Photos and the relationships behind the ceremony's host and guests. */
.guest-connections .guest-intro p { font-size: 1rem; color: rgba(255,255,255,.86); }
.guest-connections .guest-profile { grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr); }
.guest-connections .guest-photo--connection { align-self: start; background: white; }
.guest-connections .guest-photo--connection img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; }
.guest-connections .guest-role { font-size: .875rem; letter-spacing: .08em; }
.guest-connections .guest-profile h3 span { font-size: .875rem; }
.guest-connections .guest-profile__content > p:not(.guest-role) { font-size: 1rem; line-height: 1.85; color: var(--ink); margin-top: 12px; }
.guest-connections .guest-profile__content > .connection-partners { color: var(--teal); font-weight: 800; }
.guest-connections .guest-profile--hinata .guest-profile__content > .connection-partners { color: var(--copper); }
.connection-heading { margin: 12px 0; color: var(--navy); font-size: 1.2rem; line-height: 1.65; }
.guest-connections .guest-link { font-size: .875rem; line-height: 1.6; }
.connection-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding: 0 20px 20px; }
.connection-gallery figure { margin: 0; min-width: 0; }
.connection-gallery img { display: block; width: 100%; height: auto; border-radius: 8px; }
.connection-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.connection-polo { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 20px; align-items: center; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.connection-polo img { display: block; width: 100%; height: auto; }
.connection-polo h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.1rem; line-height: 1.6; }
.connection-polo p { margin: 0; font-size: 1rem; line-height: 1.85; }
@media (max-width: 600px) {
  .guest-connections .guest-profile { grid-template-columns: minmax(0,1fr); }
  .guest-connections .guest-photo--connection { aspect-ratio: auto; width: min(100%, 360px); justify-self: center; }
  .connection-gallery { grid-template-columns: minmax(0,1fr); padding: 0 17px 20px; gap: 22px; }
  .connection-polo { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .connection-polo img { width: min(100%, 280px); justify-self: center; }
}
