@charset "utf-8";

:root {
  --color-primary: #d94f55;
  --color-primary-dark: #b9363d;
  --color-text: #20242a;
  --color-muted: #626a73;
  --color-bg: #f5f7f9;
  --color-surface: #fff;
  --color-border: #dce1e6;
  --color-focus: #1769aa;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --container-max: 1180px;
  --site-navy: #102942;
  --site-blue: #0877b9;
  --site-line: #dce6ee;
}

/* Opt-in foundation for pages migrated away from styleCustom.css.
   Keep this scoped until the remaining legacy pages have been migrated. */
:where(body.css-independent) {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
:where(.css-independent *, .css-independent *::before, .css-independent *::after) { box-sizing: border-box; }
:where(.css-independent h1, .css-independent h2, .css-independent h3, .css-independent h4,
       .css-independent p, .css-independent ul, .css-independent ol, .css-independent dl,
       .css-independent dd, .css-independent figure) { margin: 0; }
:where(.css-independent img) { max-width: 100%; height: auto; vertical-align: middle; }
:where(.css-independent a) { color: var(--color-focus); }
:where(.css-independent button, .css-independent input, .css-independent select,
       .css-independent textarea) { font: inherit; }
:where(.css-independent table) { border-collapse: collapse; border-spacing: 0; }
:where(.css-independent a:focus-visible, .css-independent button:focus-visible,
       .css-independent input:focus-visible, .css-independent select:focus-visible,
       .css-independent textarea:focus-visible, .css-independent summary:focus-visible) {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.site-shell-page .site-status-new { display: inline-block; margin-inline: 5px; padding: 2px 7px; border-radius: 6px; background: #eaf4ff; color: #1769aa; font-size: .75rem; font-weight: 700; line-height: 1.5; }

/* Shared site shell: first consumed by Top and Today. */
/* Back-to-top belongs to the shared footer; no legacy animation is required. */
.site-shell-page .nav-fix-pos-pagetop { margin: 0; }
.site-shell-page .nav-fix-pos-pagetop a { display: none; position: fixed; right: 20px; bottom: 24px; z-index: 100; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #bdd3e7; border-radius: 50%; background: #fff; color: #1769aa; box-shadow: 0 3px 12px rgba(16, 41, 66, .15); text-decoration: none; font-size: 22px; line-height: 1; }
body.site-shell-page.is-fixed-pagetop .nav-fix-pos-pagetop a { display: flex; }
.site-shell-page .nav-fix-pos-pagetop a:hover { background: #eaf4ff; }
.site-shell-page .top-header {
  position: relative;
  z-index: 30;
  margin: 0;
  border-bottom: 1px solid var(--site-line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 41, 66, .08);
}

.site-shell-page .top-header__inner {
  box-sizing: border-box;
  display: flex;
  width: min(100%, 1200px);
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 16px;
  align-items: center;
  gap: 12px;
}

.site-shell-page .top-brand {
  display: flex;
  width: min(190px, 58vw);
  min-height: 44px;
  align-items: center;
  line-height: 0;
}

.site-shell-page .top-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-shell-page .top-global-nav { display: none; }

.site-shell-page .top-header__search {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  color: var(--site-navy);
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
}

.site-shell-page .top-account-menu { position: relative; flex: 0 0 auto; }
.site-shell-page .top-account-menu summary {
  display: flex;
  min-height: 44px;
  padding: 9px 10px;
  align-items: center;
  border-radius: 7px;
  color: var(--site-navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}
.site-shell-page .top-account-menu summary::-webkit-details-marker { display: none; }
.site-shell-page .top-account-menu summary::after { margin-left: 5px; color: var(--site-blue); content: "⌄"; }
.site-shell-page .top-account-menu[open] summary::after { transform: rotate(180deg); }
.site-shell-page .top-account-menu nav {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  box-sizing: border-box;
  max-height: 70vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid var(--site-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 41, 66, .2);
}
.site-shell-page .top-account-menu nav a {
  display: flex;
  min-height: 44px;
  padding: 8px 10px;
  align-items: center;
  border-bottom: 1px solid var(--site-line);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}
.site-shell-page .top-account-menu nav a:last-child { border-bottom: 0; }
.site-shell-page .top-account-menu .site-menu-heading {
  margin: 0;
  padding: 8px 10px;
  background: #e9f3fb;
  color: var(--site-navy);
  font-size: 13px;
  font-weight: 700;
}

.site-shell-page .site-footer { clear: both; margin: 0; background: var(--site-navy); color: #fff; font-size: 14px; line-height: 1.6; }
.site-shell-page .site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; text-decoration: none; opacity: .7; }
.site-shell-page .site-footer a:hover { color: #fff; opacity: 1; }
.site-shell-page .site-footer #footermenu {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 8px 12px;
  overflow: visible;
  font-size: 14px;
}
.site-shell-page .site-footer #footermenu ul {
  width: auto;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  float: none;
  list-style: none;
}
.site-shell-page .site-footer #footermenu ul li { margin: 0; padding: 0 4px; list-style: none; }
.site-shell-page .site-footer #footermenu ul li::before { content: none; }
.site-shell-page .site-footer #footermenu li.title { margin: 0; padding: 0; border-radius: 0; background: transparent; }
.site-shell-page .site-footer #footermenu ul li:not(.title) a { box-sizing: border-box; width: 100%; padding: 5px 4px; }
.site-shell-page .top-footer-toggle {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 6px 4px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: left;
}
.site-shell-page .top-footer-toggle i { color: #9fc3dc; font-size: 18px; font-style: normal; }
.site-shell-page .site-footer #footermenu ul.is-collapsed li:not(.title) { display: none; }
.site-shell-page .site-footer #copyright {
  padding: 14px 16px;
  background: #061628;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 1024px) {
  .site-shell-page .top-global-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 22px;
  }
  .site-shell-page .top-global-nav a {
    color: var(--site-navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  .site-shell-page .top-header__search { margin-left: 0; }
  .site-shell-page .site-footer #footermenu { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 20px; }
  .site-shell-page .site-footer #footermenu ul { border-bottom: 0; }
  .site-shell-page .site-footer #footermenu ul.is-collapsed li:not(.title) { display: list-item; }
  .site-shell-page .top-footer-toggle { min-height: 0; padding: 0; pointer-events: none; }
  .site-shell-page .top-footer-toggle i { display: none; }
}

.page-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.page-main {
  box-sizing: border-box;
  min-width: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
}

.page-header .page-title {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  line-height: 1.3;
}

.page-lead {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-heading {
  margin: 0 0 var(--space-3);
  padding: 0 0 var(--space-2);
  border: 0;
  border-bottom: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-text);
  font-size: 1.25rem;
  line-height: 1.4;
}

.section-heading__meta {
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.section-heading__action {
  color: var(--color-primary-dark);
  font-size: 0.875rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-1);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) 0;
  overflow-x: auto;
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  list-style: none;
  scrollbar-width: thin;
}

.breadcrumb a,
.breadcrumb__link {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: #fff;
}

.btn--secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary-dark);
}

.btn--compact {
  min-height: 44px;
  padding: 7px var(--space-3);
  font-size: 0.875rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px var(--space-2);
  border-radius: 999px;
  background: #edf1f4;
  color: #38404a;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

.badge--confirmed {
  background: #fff0f0;
  color: #b72f36;
}

.badge--rescheduled,
.badge--postponed {
  background: #fff5dc;
  color: #815800;
}

.badge--cancelled {
  background: #eceff2;
  color: #4b525a;
}

.badge--undecided {
  background: #edf3ff;
  color: #315c98;
}

.event-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-list__item {
  min-width: 0;
}

.event-card {
  box-sizing: border-box;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 2px 8px rgba(21, 31, 41, 0.06);
}

.event-card__body {
  min-width: 0;
  padding: var(--space-4);
}

.event-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.event-card__date h5g { color: #2e8b57; }
.event-card__date h5b { color: #000080; }
.event-card__date h5gr { color: #a9a9a9; }
.event-card__date h5bk { color: #000; }
.event-card__date {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.event-card__title {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1.125rem;
  line-height: 1.45;
}

.event-card__title a {
  color: inherit;
  text-decoration: none;
}

.event-card__title a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-card__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--space-1) var(--space-2);
  margin: var(--space-3) 0 0;
  font-size: 0.9375rem;
}

.event-card__facts dt {
  color: var(--color-muted);
  font-weight: 700;
}

.event-card__facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.event-card__note {
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.event-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf0f2;
}

.event-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}

.event-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__media--placeholder {
  background: #edf0f2;
}



.share-rich {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.share-rich-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}

.share-rich-btn:hover { color: #fff; opacity: .92; transform: translateY(-1px); }
.share-rich-icon { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 700; line-height: 1; }
.share-rich-label { display: block; font-size: 14px; font-weight: 700; line-height: 1; text-align: center; }
.share-x { background: #111; }
.share-threads { background: #222; }
.share-bluesky { background: #1d9bf0; }
.share-facebook { background: #4267b2; }
.share-line { background: #06c755; }
.share-copy { background: #4a4a4a; }

.main-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin-bottom: 20px;
}
.main-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}
.photo-credit {
  font-size: .85em;
  color: #607489;
  font-style: italic;
  margin-top: 6px;
  text-align: center;
}

.ad-slot,
.hanabi-ad-container {
  box-sizing: border-box;
  width: 100%;
  min-height: 100px;
  margin-block: var(--space-4);
  overflow: hidden;
}

.ad-slot--inline {
  grid-column: 1 / -1;
}


/* Shared lower content: history -> author -> share -> footer. */
.site-shell-page .page-bottom-stack {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 24px;
}
.site-shell-page .page-bottom-stack > * { width: 100%; min-width: 0; margin: 0; }
.site-shell-page .update-history-section,
.site-shell-page .author-box,
.site-shell-page .page-share-section,
.site-shell-page .region-share-section,
.site-shell-page .pref-share-section,
.site-shell-page .city-share-section {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 20px;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 35, 63, .05);
}
.site-shell-page .page-bottom-stack > .update-history-section,
.site-shell-page .page-bottom-stack > .author-box,
.site-shell-page .page-bottom-stack > .page-share-section { margin: 0; }
body.site-shell-page #main .update-history-section > .update-history-title,
body.site-shell-page #main .author-box > .author-label,
body.site-shell-page #main .page-share-section > h2,
body.site-shell-page #main .region-share-section > h2,
body.site-shell-page #main .pref-share-section > h2,
body.site-shell-page #main .city-share-section > h2,
body.site-shell-page .update-history-section > .update-history-title,
body.site-shell-page .author-box > .author-label,
body.site-shell-page .page-share-section > h2,
body.site-shell-page .region-share-section > h2,
body.site-shell-page .pref-share-section > h2,
body.site-shell-page .city-share-section > h2 {
  margin: 0 0 16px;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 4px solid #1671e8;
  background: transparent;
  color: #10233f;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}
.site-shell-page .page-share-section .share-rich,
.site-shell-page .region-share-section .share-rich,
.site-shell-page .pref-share-section .share-rich,
.site-shell-page .city-share-section .share-rich { margin: 0; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .page-shell {
    padding-inline: var(--space-5);
  }

  .event-card--list.event-card--with-media {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .event-card--list.event-card--with-media .event-card__media {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    aspect-ratio: auto;
  }

  .event-card--list.event-card--with-media .event-card__body {
    grid-column: 1;
    grid-row: 1;
    padding: var(--space-5);
  }

  .share-rich { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .site-shell-page .page-bottom-stack { gap: 14px; margin-bottom: 18px; }
  .site-shell-page .update-history-section,
  .site-shell-page .author-box,
  .site-shell-page .page-share-section,
  .site-shell-page .region-share-section,
  .site-shell-page .pref-share-section,
  .site-shell-page .city-share-section { margin-bottom: 14px; padding: 16px 12px; }
  .site-shell-page .page-bottom-stack > .update-history-section,
  .site-shell-page .page-bottom-stack > .author-box,
  .site-shell-page .page-bottom-stack > .page-share-section { margin: 0; }
  body.site-shell-page #main .update-history-section > .update-history-title,
  body.site-shell-page #main .author-box > .author-label,
  body.site-shell-page #main .page-share-section > h2,
  body.site-shell-page #main .region-share-section > h2,
  body.site-shell-page #main .pref-share-section > h2,
  body.site-shell-page #main .city-share-section > h2,
  body.site-shell-page .update-history-section > .update-history-title,
  body.site-shell-page .author-box > .author-label,
  body.site-shell-page .page-share-section > h2,
  body.site-shell-page .region-share-section > h2,
  body.site-shell-page .pref-share-section > h2,
  body.site-shell-page .city-share-section > h2 { margin-bottom: 14px; font-size: 17px; }
  .city-modern-page #main .update-history-title,
  .pref-modern-page #main .update-history-title { margin-bottom: 14px; font-size: 17px; }
  .share-rich { gap: 10px; }
  .share-rich-btn { height: 68px; border-radius: 8px; }
  .share-rich-icon { margin-bottom: 6px; font-size: 20px; }
  .share-rich-label { font-size: 13px; }
}
