:root {
  --green: #004225;
  --green-deep: #002f1a;
  --ivory: #f5f2e9;
  --paper: rgba(250, 248, 241, .96);
  --white-soft: rgba(255,255,255,.94);
  --gold: #b8a46a;
  --ink: #1a211c;
  --muted: #69736b;
  --line: rgba(0, 66, 37, .16);
  --shadow: 0 22px 58px rgba(0, 35, 20, .10);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.9;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }

.home-page { background: var(--green-deep); }
.sub-page { background: var(--green-deep) url("page-bg.jpg") center center / cover fixed no-repeat; }
.sub-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 28, 16, .20), rgba(0, 28, 16, .46));
}

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 9999;
  padding: .7rem 1rem; background: #fff; color: var(--green); border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: 78px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px); color: #fff;
  background: linear-gradient(180deg, rgba(0, 33, 19, .58), rgba(0, 33, 19, 0));
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(0, 54, 30, .92); box-shadow: 0 8px 25px rgba(0,0,0,.14); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%;
  display: grid; place-items: center; font: 600 14px/1 var(--serif); letter-spacing: .08em; flex: 0 0 auto;
}
.brand-text { font-family: var(--serif); line-height: 1.3; letter-spacing: .06em; font-size: clamp(12px, 1.2vw, 16px); }
.brand-text small { display: block; opacity: .78; font-family: var(--sans); font-size: 9px; letter-spacing: .13em; margin-top: 2px; }

.nav-list { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { text-decoration: none; font-size: 13px; letter-spacing: .08em; position: relative; white-space: nowrap; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: #fff; transition: right .25s;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { right: 0; }
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 54px;
  height: 58px;
  padding: 7px 8px 4px;
  cursor: pointer;
  text-align: center;
}
.menu-button span {
  display: block;
  width: 30px;
  height: 1px;
  background: #fff;
  margin: 6px auto;
  transform-origin: center;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-button::after {
  content: "MENU";
  display: block;
  margin-top: 3px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .16em;
  color: #fff;
  font-family: var(--sans);
}

.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.03), transparent 30%, transparent 74%, rgba(0,0,0,.10));
}
.hero-spacer { min-height: 100svh; }
.scroll-cue {
  position: absolute; right: clamp(18px, 3vw, 42px); bottom: 28px; z-index: 2; color: #fff;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; opacity: .9;
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 76px; background: rgba(255,255,255,.9);
  animation: scrollLine 2.2s ease-in-out infinite; transform-origin: top;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.38); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }

.content-shell,
.single-page-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; }
.content-shell { padding: 30px 0 120px; }
.single-page-shell { padding: 146px 0 140px; }

.panel { background: var(--paper); box-shadow: var(--shadow); padding: clamp(34px, 5.5vw, 72px); border-radius: 2px; border-top: 4px solid var(--green); }
.eyebrow { color: var(--green); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 12px; font-weight: 700; }
.section-title, .page-title { font-family: var(--serif); color: var(--green); font-weight: 500; letter-spacing: .08em; line-height: 1.45; margin: 0; }
.section-title { font-size: clamp(28px, 4vw, 45px); }
.page-title { font-size: clamp(30px, 4.6vw, 52px); }
.page-intro { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

.home-overview-band {
  width: 100%; background: var(--green); color: #fff;
}
.home-overview-inner {
  width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: clamp(28px, 3.6vw, 44px) 0;
}
.home-overview-grid {
  display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 3vw, 34px); align-items: center;
}
.home-logo {
  width: clamp(88px, 8vw, 116px); height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}
.home-copy { min-width: 0; }
.home-title {
  margin: 0; color: #fff; font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 50px); line-height: 1.28; letter-spacing: .06em;
}
.home-meta {
  margin-top: 14px; display: grid; gap: 6px;
}
.home-meta p {
  margin: 0; color: rgba(255,255,255,.95); font-family: var(--serif); line-height: 1.65;
}
.home-meta .period-place { font-size: clamp(18px, 1.95vw, 28px); }
.event-date, .event-venue { display: block; }
.event-venue { margin-top: 2px; }
.home-meta .chair { font-size: clamp(16px, 1.55vw, 22px); }

.home-stack { display: grid; gap: 28px; }
.home-shell { width: min(1180px, calc(100% - 48px)); }
.home-links {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  max-width: 1180px; margin: 0 auto; width: 100%;
}
.home-link {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 11px 16px;
  background: var(--white-soft); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 35, 20, .07);
  text-decoration: none; color: var(--green); font-family: var(--serif); font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: .05em; transition: transform .2s, background .2s, color .2s;
}
.home-link:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.notice-list { list-style: none; padding: 0; margin: 30px 0 0; }
.notice-list li {
  padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 18px;
}
.notice-list time { color: var(--green); font-size: 12px; font-variant-numeric: tabular-nums; }

.info-list { margin: 26px 0 0; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-row dt { color: var(--green); font-family: var(--serif); font-weight: 600; letter-spacing: .12em; }
.info-row dd { margin: 0; }
.info-row a { text-underline-offset: 4px; }

.greeting { font-family: var(--serif); font-size: 16px; line-height: 1.85; }
.greeting-body { margin-top: 26px; }
.greeting p { margin: 0 0 1.1em; }
.signature { text-align: right; margin-top: 40px; line-height: 1.9; }
.status-box { margin-top: 28px; padding: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.56); }
.status-box strong { font-family: var(--serif); font-size: 24px; color: var(--green); font-weight: 500; }
.status-box p:last-child { margin-bottom: 0; }

.site-footer { color: #fff; background: rgba(0, 42, 23, .88); border-top: 1px solid rgba(255,255,255,.14); }
.copyright { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 30px; font-size: 11px; opacity: .74; text-align: center; letter-spacing: .08em; }

@media (max-width: 860px) {
  .site-header { height: 68px; padding: 0 70px 0 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text { font-size: 12px; }
  .menu-button {
    display: block;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 1003;
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { position: static; }
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    width: min(238px, calc(100vw - 18px));
    min-height: 0;
    padding: 72px 22px 22px;
    background: rgba(0, 48, 27, .96);
    box-shadow: -10px 14px 30px rgba(0,0,0,.16);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 13px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 1002;
  }
  .nav-list.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-list li:first-child { display: none; }
  .nav-list a {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    font-family: var(--serif);
    text-align: right;
    padding: 4px 0;
  }
  .nav-list a::after { bottom: 0; }
  .content-shell, .single-page-shell, .copyright { width: min(100% - 32px, 1040px); }
  .content-shell { padding: 26px 0 104px; }
  .single-page-shell { padding: 116px 0 104px; }
  .home-overview-inner { width: min(100% - 32px, 1180px); }
  .home-overview-grid { grid-template-columns: 96px 1fr; gap: 18px; }
  .home-links { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1180px; }
  .home-link { min-height: 50px; padding: 9px 12px; font-size: 13px; }
  .info-row { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 520px) {
  .sub-page { background-attachment: scroll; }
  .brand-text small { display: none; }
  .content-shell, .single-page-shell, .copyright { width: min(100% - 24px, 1040px); }
  .content-shell { padding: 20px 0 84px; }
  .single-page-shell { padding: 100px 0 84px; }
  .panel { padding: 26px 20px 28px; }
  .home-overview-inner { width: min(100% - 24px, 1180px); padding: 24px 0 26px; }
  .home-overview-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-logo { width: 92px; }
  .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 10px; }
  .home-link { min-height: 50px; font-size: 14px; padding: 10px 16px; }
  .home-title { white-space: nowrap; font-size: clamp(15px, 4.6vw, 19px); letter-spacing: .02em; line-height: 1.35; }
  .home-meta .period-place { font-size: 17px; }
  .home-meta .chair { font-size: 15px; }
  .notice-list li { grid-template-columns: 1fr; gap: 3px; }
  .scroll-cue { right: 12px; bottom: 18px; }
}


@media (max-width: 620px) {
  .home-links { grid-template-columns: 1fr; width: min(100%, 440px); }
  .home-link { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .hero { background: url("hero-bg.jpg") center/cover no-repeat; }
}



/* v10: greeting balance and visual venue access */
.greeting-layout {
  margin-top: 30px;
}
.greeting-portrait {
  float: left;
  width: clamp(126px, 15vw, 160px);
  margin: 0;
}
.greeting-portrait img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 24px rgba(0,35,20,.12);
}

.greeting-profile {
  float: left;
  width: clamp(270px, 29vw, 320px);
  margin: 0 30px 14px 0;
  text-align: center;
}
.greeting-profile .greeting-portrait {
  float: none;
  width: clamp(126px, 15vw, 160px);
  margin: 0 auto;
}
.greeting-profile-signature {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

.greeting-profile-signature span { display: block; white-space: nowrap; }

.greeting-layout::after { content: ""; display: block; clear: both; }
.greeting-layout p { margin: 0 0 1.1em; }
.greeting-layout a { color: var(--green); text-underline-offset: 4px; }
.greeting-note {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding-top: 6px;
}

.venue-hero-photo {
  width: 100%;
  max-width: 900px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  margin: 28px auto 26px;
  border: 1px solid var(--line);
  display: block;
}
.venue-lead {
  max-width: 780px;
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.9;
  color: var(--green);
}
.access-focus {
  margin: 34px 0 18px;
  padding: 18px 20px;
  background: rgba(0,66,37,.08);
  border-left: 4px solid var(--green);
}
.access-focus strong { color: var(--green); font-family: var(--serif); }
.route-heading {
  margin: 42px 0 8px;
  font-family: var(--serif);
  color: var(--green);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
}
.route-intro { margin: 0 0 22px; color: var(--muted); }
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.route-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
  padding: 24px;
}
.route-card.recommended { border-top: 4px solid var(--green); }
.route-card h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  color: var(--green);
  font-size: 20px;
  font-weight: 600;
}
.route-tag {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--green);
  border: 1px solid rgba(0,66,37,.28);
  padding: 3px 8px;
}
.route-steps { display: grid; gap: 0; }
.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 66px;
}
.route-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: -14px;
  width: 1px;
  background: rgba(0,66,37,.27);
}
.route-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,66,37,.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #fff;
  font-size: 19px;
  line-height: 1;
}
.route-icon-illustration {
  overflow: hidden;
  border-radius: 8px;
}
.route-icon-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.route-step strong {
  display: block;
  font-family: var(--serif);
  color: var(--green);
  font-size: 16px;
}
.route-step small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 12px;
}
.route-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.venue-mini-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.venue-mini-card {
  padding: 20px;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
}
.venue-mini-card h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  color: var(--green);
  font-size: 18px;
}
.venue-mini-card p { margin: 0; font-size: 14px; }
.venue-links-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
}
.venue-links-compact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid rgba(0,66,37,.44);
}
.venue-exchange {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.venue-exchange h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  color: var(--green);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
}
.venue-exchange-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}
.exchange-photo {
  width: 100%;
  min-height: 190px;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.exchange-copy {
  padding: 22px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
}
.exchange-copy p { margin-top: 0; }
.venue-alert {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: rgba(255,255,255,.82);
  color: #111;
  font-weight: 700;
}

@media (max-width: 760px) {
  .venue-lead-row { display: block; }
  .venue-inline-links { margin-top: 8px; }
  .route-heading-row { align-items: center; }
  .route-card-title-row { display: block; }
  .route-card-title-row .route-inline-link { display: inline-block; margin: 2px 0 8px; }
  .greeting-profile {
    float: none;
    width: min(100%, 330px);
    margin: 0 auto 22px;
  }
  .greeting-profile .greeting-portrait {
    float: none;
    width: min(150px, 46vw);
    margin: 0 auto;
  }
  .greeting-profile-signature { font-size: 16px; text-align: center; }
  .route-grid, .venue-mini-guide, .venue-exchange-grid { grid-template-columns: 1fr; }
  .venue-hero-photo { max-width: 100%; }
  .exchange-photo { min-height: 180px; }
}

/* v15: registration page */
.registration-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 44px;
}
.registration-action {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: .08em;
  border: 1px solid var(--green);
  transition: background .2s, color .2s;
}
.registration-action:hover { background: #fff; color: var(--green); }
.registration-action.is-disabled {
  opacity: .58;
  cursor: default;
}
.registration-action.is-disabled span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
}
.registration-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.registration-section h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: .06em;
}
.registration-emphasis {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink);
}
.registration-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.registration-dates,
.registration-details {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}
.registration-dates div,
.registration-details div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.registration-dates dt,
.registration-details dt {
  color: var(--green);
  font-family: var(--serif);
  font-weight: 600;
}
.registration-dates dd,
.registration-details dd { margin: 0; }
.fee-block + .fee-block { margin-top: 30px; }
.fee-block h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}
.fee-block h3 small {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.fee-table-wrap { overflow-x: auto; }
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,.55);
}
.fee-table th,
.fee-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.fee-table th { font-weight: 500; }
.fee-table td {
  width: 150px;
  white-space: nowrap;
  color: var(--green);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.registration-bottom-action {
  display: flex;
  justify-content: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.registration-bottom-action .registration-action { min-width: min(360px, 100%); }

@media (max-width: 620px) {
  .registration-actions { grid-template-columns: 1fr; margin: 28px 0 34px; }
  .registration-dates div,
  .registration-details div { grid-template-columns: 1fr; gap: 4px; }
  .fee-block h3 small { display: block; margin: 4px 0 0; }
  .fee-table th,
  .fee-table td { padding: 12px 10px; }
  .fee-table td { width: 110px; font-size: 15px; }
}


.venue-lead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}
.venue-lead-row .venue-lead { margin-bottom: 0; }
.venue-inline-links,
.route-heading-row,
.route-card-title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.venue-inline-links { flex: 0 0 auto; }
.venue-inline-links a,
.route-inline-link {
  color: var(--green);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0,66,37,.42);
}
.route-heading-row { justify-content: space-between; margin-top: 42px; }
.route-heading-row .route-heading { margin: 0; }
.route-card-title-row { justify-content: space-between; gap: 8px; }
.route-card-title-row h3 { margin-right: auto; }


/* v34: registration spacing, separators, and specialist-unit typography */
.registration-page .registration-section {
  padding: 28px 0;
  border-top: 0;
}
.registration-page .registration-section.section-divider {
  margin-top: 8px;
  padding-top: 34px;
  border-top: 1px solid rgba(0,66,37,.18);
}

/* Keep rules only where they help scan structured date/detail lists. */
.registration-page .registration-dates,
.registration-page .registration-details {
  border-top: 0;
}
.registration-page .registration-dates div:first-child,
.registration-page .registration-details div:first-child {
  border-top: 1px solid rgba(0,66,37,.12);
}
.registration-page .registration-dates div,
.registration-page .registration-details div {
  border-bottom: 1px solid rgba(0,66,37,.12);
}

/* Specialist-unit list: aligned with the site's restrained green/Mincho system. */
.registration-page .unit-list {
  margin: 24px 0 0;
  padding: 0;
}
.registration-page .unit-item {
  margin: 0 0 22px;
  padding: 0;
}
.registration-page .unit-item:last-child {
  margin-bottom: 0;
}
.registration-page .unit-item h3 {
  margin: 0 0 5px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
}
.registration-page .unit-item p {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 620px) {
  .registration-page .registration-section {
    padding: 24px 0;
  }
  .registration-page .registration-section.section-divider {
    padding-top: 30px;
  }
  .registration-page .unit-item {
    margin-bottom: 18px;
  }
  .registration-page .unit-item h3 {
    font-size: 15px;
  }
  .registration-page .unit-item p {
    font-size: 14px;
  }
}
/* end v34 */


/* v35 final overrides: venue arrows + Otsu MICE logo */

/* Public transport: restore simple left-aligned down arrows between route steps. */
.route-card .route-steps.route-steps-text-only {
  display: block !important;
  margin-top: 6px;
}
.route-card .route-steps-text-only .route-step {
  position: relative !important;
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 0 30px !important;
}
.route-card .route-steps-text-only .route-step > div {
  display: block;
  width: 100%;
}
.route-card .route-steps-text-only .route-step:not(:last-child)::after {
  content: "↓" !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
  bottom: 3px !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  background: none !important;
  color: var(--green) !important;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.route-card .route-steps-text-only .route-step strong {
  display: block;
  margin: 0;
  line-height: 1.5;
}
.route-card .route-steps-text-only .route-step small {
  display: block;
  margin-top: 2px;
  line-height: 1.55;
}

/* end v35 */


/* v36: registration horizontal rules only above selected major sections */
.registration-page .registration-section {
  border-top: 0 !important;
}
.registration-page .registration-section.section-divider {
  border-top: 1px solid rgba(0,66,37,.18) !important;
}

/* Remove internal horizontal rules from registration content blocks. */
.registration-page .registration-dates,
.registration-page .registration-details,
.registration-page .registration-dates div,
.registration-page .registration-details div,
.registration-page .fee-list,
.registration-page .fee-item,
.registration-page .unit-list,
.registration-page .unit-item {
  border-top: 0 !important;
  border-bottom: 0 !important;
}
/* end v36 */


/* v40: 2026-08-19 requested refinements */

/* Small auxiliary link beside the 開催概要 page title. */
.page-title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.page-title-row .page-title {
  margin-bottom: 0;
}
.page-title-link {
  color: var(--green);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,66,37,.38);
}
.page-title-link:hover {
  border-bottom-color: var(--green);
}

/* Taxi heading uses exactly the same visual system as public-transport heading. */
.venue-taxi .route-heading {
  margin: 42px 0 8px;
  font-family: var(--serif);
  color: var(--green);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
}

/* Compact mobile dropdown, Home first, aligned to the upper-right. */
@media (max-width: 860px) {
  .nav-list {
    align-items: flex-end;
    justify-content: flex-start;
    inset: 68px 8px auto auto;
    width: min(220px, 68vw);
    height: auto;
    padding: 16px 14px 18px;
    gap: 12px;
    background: rgba(0,48,27,.97);
    transform: translateX(calc(100% + 24px));
    border: 1px solid rgba(255,255,255,.12);
  }
  .nav-list.is-open {
    transform: translateX(0);
  }
  .nav-list li,
  .nav-list a {
    width: 100%;
    text-align: right;
  }
  .nav-list a {
    display: block;
    font-size: 15px;
    line-height: 1.4;
  }
}
/* end v40 */

/* v41: participation-fee heading note */
.registration-heading-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.registration-heading-row h2 {
  margin-bottom: 0;
}
.registration-heading-note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
@media (max-width: 620px) {
  .registration-heading-row {
    gap: 6px 10px;
  }
  .registration-heading-note {
    font-size: 11px;
  }
}
/* end v41 */

/*
  2027年4月以降 再掲載用：大津市コンベンション開催等事業補助金 / OTSU MICE
  ------------------------------------------------------------
  registration.html の「参加登録」「宿泊予約」ボタン直下へ、以下を戻してください。

  <div class="convention-subsidy">
    <p>本事業は、大津市コンベンション開催等事業補助金を活用し実施しております。</p>
    <img src="assets/otsu-convention-logo.png" alt="大津市コンベンション開催等事業補助金 ロゴ">
  </div>

  ロゴ画像 assets/otsu-convention-logo.png はZIP内に残しています。

  再掲載時CSS：
  .registration-page .convention-subsidy {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin: 18px 0 30px;
    padding: 12px 0;
  }
  .registration-page .convention-subsidy p {
    flex: 1 1 auto;
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.75;
  }
  .registration-page .convention-subsidy img {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
    height: auto;
    max-height: 74px;
    object-fit: contain;
  }
  @media (max-width: 620px) {
    .registration-page .convention-subsidy {
      gap: 10px;
      margin: 14px 0 24px;
    }
    .registration-page .convention-subsidy p {
      font-size: 16px;
      line-height: 1.6;
    }
    .registration-page .convention-subsidy img {
      flex-basis: 90px;
      width: 90px;
      max-width: 90px;
      max-height: 58px;
    }
  }
*/

/* v42: navigation speed and mobile menu controls */
/* Remove navigation underlines/current-page bars on desktop and mobile. */
.nav-list a,
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  text-decoration: none !important;
}
.nav-list a::after,
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  content: none !important;
  display: none !important;
  transition: none !important;
}

/* Keep menu interactions lightweight. */
@media (max-width: 860px) {
  /* Home is visible as the first menu item. */
  .nav-list li:first-child {
    display: list-item !important;
  }

  .nav-list {
    transition: opacity .12s ease, transform .12s ease !important;
  }

  /* Rebuild the hamburger so open state consists of exactly two strokes (X). */
  .menu-button {
    position: fixed;
    overflow: visible;
  }
  .menu-button span {
    position: absolute;
    left: 12px;
    width: 30px;
    height: 1px;
    margin: 0;
    background: #fff;
    transform: none;
    transform-origin: center;
    transition: transform .12s ease, opacity .08s ease, top .12s ease !important;
  }
  .menu-button span:nth-child(1) { top: 13px; }
  .menu-button span:nth-child(2) { top: 20px; }
  .menu-button span:nth-child(3) { top: 27px; }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg) !important;
  }
  .menu-button[aria-expanded="true"] span:nth-child(2) {
    top: 20px;
    opacity: 0 !important;
    transform: none !important;
  }
  .menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg) !important;
  }

  .menu-button::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    margin: 0;
  }
}
/* end v42 */
