.share-simple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0 16px;
  border: 1px solid #2d64a3;
  border-radius: 6px;
  background: #2d64a3;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
}

.share-simple-btn:hover,
.share-simple-btn:focus-visible {
  background: #24558f;
  border-color: #24558f;
}

.favorite-btn-wrap--secondary > .favorite-btn,
.favorite-btn-wrap--secondary > .calendar-btn,
.favorite-btn-wrap--secondary > .share-simple-btn {
  flex: 1 1 0;
  min-width: 160px;
}

@media screen and (max-width: 600px) {
  .favorite-btn-wrap--secondary > .favorite-btn,
  .favorite-btn-wrap--secondary > .calendar-btn,
  .favorite-btn-wrap--secondary > .share-simple-btn,
  .share-simple-btn {
    min-width: 0;
    width: 100%;
  }
}

/* Ticket URLs still carry their legacy class names; their presentation is modern. */
.kobetsu-modern-page a.btn6,
.kobetsu-modern-page a.btn6oth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  margin: 4px 8px 4px 0;
  padding: 10px 16px;
  border: 1px solid #1769aa;
  border-radius: 10px;
  background: #1769aa;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.kobetsu-modern-page a.btn6oth {
  background: #fff;
  color: #1769aa;
}
.kobetsu-modern-page a.btn6:hover,
.kobetsu-modern-page a.btn6:focus-visible {
  background: #12568d;
}
.kobetsu-modern-page a.btn6oth:hover,
.kobetsu-modern-page a.btn6oth:focus-visible {
  background: #edf6ff;
}

/* Information links outside the basic-information table. */
.kobetsu-modern-page a.btn5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #bdd3e7;
  border-radius: 8px;
  background: #fff;
  color: #1769aa;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.kobetsu-modern-page a.btn5:hover { background: #edf6ff; }

.kobetsu-modern-page .surveyt {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.kobetsu-modern-page .surveyt th,
.kobetsu-modern-page .surveyt td {
  border: 1px solid #dce6f0;
  padding: 12px;
  text-align: center;
}
.kobetsu-modern-page .surveyt th { background: #eef6ff; color: #214c73; }
.kobetsu-modern-page .surveyt th.width10 { width: 10%; }
.kobetsu-modern-page .surveyt th.width15 { width: 15%; }
.kobetsu-modern-page .surveyt td.tdcolLeft { text-align: left; }
.kobetsu-modern-page .surveyf { max-width: 600px; margin: 20px auto; }
.kobetsu-modern-page .surveyi {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #1769aa;
  border-radius: 8px;
  background: #1769aa;
  color: #fff;
  font: inherit;
  cursor: pointer;
  appearance: none;
}
.kobetsu-modern-page .surveyi:hover { background: #12568d; }

.kobetsu-modern-page {
  margin: 0;
  background: #f4f7fb;
  color: #172b4d;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.kobetsu-modern-page #pc-fixed-nav,
.kobetsu-modern-page #menubar-s,
.kobetsu-modern-page #sub,
.kobetsu-modern-page #side,
.kobetsu-modern-page .nav-fix-pos-pagetop {
  display: none !important;
}

.kobetsu-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 29, 59, .96), rgba(9, 72, 132, .9)),
    url('/images/mainimg_04.jpg') center / cover no-repeat;
  color: #fff;
}

.kobetsu-hero .page-header__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 40px 0 44px;
}

.kobetsu-hero__eyebrow {
  margin: 0 0 10px;
  color: #b8d9ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.kobetsu-hero__date {
  display: inline-block;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(184, 217, 255, .5);
  color: #fff;
  letter-spacing: .02em;
}

.kobetsu-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.28;
  letter-spacing: .01em;
}

.kobetsu-hero__lead {
  max-width: 900px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.8;
}

body.kobetsu-modern-page #main.kobetsu-main {
  float: none;
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.kobetsu-main__content {
  width: 100%;
}

.kobetsu-modern-page .breadcrumb,
.kobetsu-modern-page .breadcrumbs {
  margin-bottom: 20px;
}

.kobetsu-modern-page .main-visual,
.kobetsu-modern-page #main > section,
.kobetsu-modern-page .kobetsu-main__content > section,
.kobetsu-modern-page .event-locality-links,
.kobetsu-modern-page .favorite-btn-wrap,
.kobetsu-modern-page .page-share-section {
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #d5e3f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 52, 91, .06);
}

.kobetsu-modern-page .main-visual {
  overflow: hidden;
  padding: 0;
}

.kobetsu-modern-page .main-visual img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.kobetsu-modern-page .photo-credit {
  margin: 0;
  padding: 8px 14px;
  color: #5f6f82;
  font-size: 13px;
  text-align: right;
}

.kobetsu-modern-page #main h2 {
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 0;
  border-left: 5px solid #1677e8;
  background: #eaf3ff;
  color: #12345b;
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.4;
}

.kobetsu-modern-page #main h3 {
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid #dce6f0;
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #17375e;
}

/* Embedded weather/media must not inherit the browser's fixed iframe width. */
.kobetsu-modern-page iframe { width: 100%; }
.kobetsu-modern-page video, .kobetsu-modern-page audio { max-width: 100%; }

.kobetsu-modern-page table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.kobetsu-modern-page th,
.kobetsu-modern-page td {
  box-sizing: border-box;
  padding: 12px 14px;
  border-color: #dce7f3;
  line-height: 1.65;
}

.kobetsu-modern-page th {
  background: #eef5fc;
  color: #294966;
}

.kobetsu-modern-page .status-alert,
.kobetsu-modern-page .news-lead,
.kobetsu-modern-page .hanabi-note {
  border-radius: 14px;
}

.kobetsu-modern-page .location-block,
.kobetsu-modern-page #nearby-map,
.kobetsu-modern-page #nearby-events,
.kobetsu-modern-page .reaction-section,
.kobetsu-modern-page #reviews,
.kobetsu-modern-page .faq-section,
.kobetsu-modern-page .x-account-section,
.kobetsu-modern-page .author-box-wrap,
.kobetsu-modern-page .page-share-section {
  clear: both;
}

.kobetsu-modern-page .location-block,
.kobetsu-modern-page .location-block h2,
.kobetsu-modern-page .location-block .location-desc,
.kobetsu-modern-page .location-block .location-desc span,
.kobetsu-modern-page .location-block .map-btn,
.kobetsu-modern-page .location-block .map-loading {
  font-family: inherit;
}

.kobetsu-modern-page .page-share-section .share-rich {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

/* Keep the shared lower-content contract isolated from legacy kobetsu CSS. */
.kobetsu-modern-page .page-bottom-stack > .update-history-section,
.kobetsu-modern-page .page-bottom-stack > .author-box,
.kobetsu-modern-page .page-bottom-stack > .page-share-section {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 35, 63, .05);
}

.kobetsu-modern-page #main .page-bottom-stack .update-history-title,
.kobetsu-modern-page #main .page-bottom-stack .author-label,
.kobetsu-modern-page #main .page-bottom-stack .page-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;
}

.kobetsu-modern-page .page-bottom-stack .share-rich-btn {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  height: 74px;
  min-height: 74px;
  max-height: 74px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: #fff !important;
}

.kobetsu-modern-page .page-bottom-stack .share-rich-icon {
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 0 8px;
  font-size: 22px;
}

.kobetsu-modern-page .page-bottom-stack .share-rich-label {
  width: auto;
  overflow: visible;
  font-size: 14px;
  line-height: 1;
  text-overflow: clip;
}

.kobetsu-modern-page .faq-section {
  width: 100%;
  max-width: none;
  margin: 0 0 20px;
}

.kobetsu-modern-page .faq-item {
  width: 100%;
  box-sizing: border-box;
}

.kobetsu-modern-page .update-history-scroll {
  overflow-x: auto;
}

.kobetsu-modern-page .update-history-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 16px auto 0;
  padding: 9px 18px;
  border: 1px solid #8eb7e5;
  border-radius: 9999px;
  background: #fff;
  color: #155a9f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kobetsu-modern-page .update-history-toggle:hover {
  background: #edf6ff;
}

.kobetsu-modern-page #event-dates-panel .event-year-row > td {
  width: 100%;
  padding-inline: 0;
  border: 0;
}

/* 新個別UI限定：レビュー投稿の入口を主CTAと副CTAに整理する。 */
.kobetsu-modern-page #reviews .review-contribution-lead {
  margin: 0;
  padding: 18px 20px 0;
  color: #52677e;
  font-size: 15px;
  line-height: 1.7;
}

.kobetsu-modern-page #reviews .review-contribution-actions {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kobetsu-modern-page #reviews .review-contribution-form {
  float: none;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.kobetsu-modern-page #reviews .review-contribution-form--guest {
  grid-column: 1 / -1;
}

.kobetsu-modern-page #reviews .review-contribution-form .review-contribution-btn {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  float: none;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
}

.kobetsu-modern-page #reviews .review-contribution-form .review-contribution-btn--primary {
  border-color: #176bd1 !important;
  background: #176bd1 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(23, 107, 209, .22);
}

.kobetsu-modern-page #reviews .review-contribution-form .review-contribution-btn--secondary {
  border-color: #b9cee5 !important;
  background: #fff !important;
  color: #173f6c !important;
  box-shadow: none;
}

.kobetsu-modern-page #reviews .review-contribution-form .review-contribution-btn--secondary:hover {
  background: #edf6ff !important;
}

.kobetsu-modern-page #reviews .review-contribution-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 20px;
  line-height: 1;
}

.kobetsu-modern-page #reviews .review-contribution-form .review-contribution-btn--secondary .review-contribution-icon {
  background: #e8f2fd;
  color: #176bd1;
}

.kobetsu-modern-page #reviews .review-contribution-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.kobetsu-modern-page #reviews .review-contribution-copy strong {
  font-size: 16px;
  line-height: 1.35;
}

.kobetsu-modern-page #reviews .review-contribution-copy small {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  opacity: .82;
}

.kobetsu-modern-page #reviews .review-contribution-arrow {
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

/* Remove the legacy red theme from FAQ in the new individual UI. */
.kobetsu-modern-page .faq-section .faq-item {
  border-left-color: #1677e8;
  background: #fff;
}

.kobetsu-modern-page .faq-section .faq-question {
  border: 1px solid #d5e3f2;
  border-left: 4px solid #1677e8;
  background: #f8fbff;
  color: #17375e;
}

.kobetsu-modern-page .faq-section .faq-question::before {
  border-left-color: #1677e8;
  color: #1677e8;
}

.kobetsu-modern-page #main .faq-section .faq-question::first-letter {
  border-left: 0 !important;
  padding-left: 0 !important;
}

/* X account cards follow the new blue/white visual language, not legacy red/black. */
.kobetsu-modern-page .x-account-grid .x-card-link {
  border-color: #d5e3f2;
  background: #fff;
  color: #17375e !important;
}

.kobetsu-modern-page .x-account-grid .x-card-link:hover {
  border-color: #8eb7e5;
  background: #f8fbff;
}

.kobetsu-modern-page .x-account-grid .x-card-link h4 {
  margin-bottom: 4px;
  color: #173f6c;
}

.kobetsu-modern-page .x-account-handle {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #e8f2fd;
  color: #155a9f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.kobetsu-modern-page .x-account-grid .x-follow-btn {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #8eb7e5;
  background: #fff;
  color: #155a9f;
  box-shadow: none;
}

.kobetsu-modern-page .x-account-grid .x-card-link:hover .x-follow-btn {
  background: #e8f2fd;
}

/* Decorative legacy red link styling is not used in the new individual UI. */
.kobetsu-modern-page #nearby-events .hanabi-details a.hanabi-detail-link {
  border-color: #8eb7e5;
  background: #fff;
  color: #155a9f;
}

.kobetsu-modern-page #nearby-events .hanabi-details a.hanabi-detail-link:hover {
  border-color: #5f9ddd;
  background: #edf6ff;
  color: #0f477f;
}

/* Nearby events use the same visual contract as the current Pref Event Card. */
.kobetsu-modern-page #nearby-events .hanabi-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
}

.kobetsu-modern-page #nearby-events .hanabi-item {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.kobetsu-modern-page #nearby-events .hanabi-content {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  height: auto !important;
  max-height: none !important;
  grid-template-rows: minmax(132px, auto);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(19, 42, 68, .07);
}

.kobetsu-modern-page #nearby-events .hanabi-content::after {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #66809b;
  content: "›";
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-50%);
}

.kobetsu-modern-page #nearby-events .hanabi-text.event-card__body {
  grid-column: 2;
  grid-row: 1;
  padding: 14px 38px 14px 16px;
  min-height: 0;
  overflow: visible;
}

.kobetsu-modern-page #nearby-events .hanabi-image.event-card__media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 132px;
  height: auto !important;
  min-height: 132px;
  align-self: stretch;
  aspect-ratio: auto;
  border-radius: 10px 0 0 10px;
}

.kobetsu-modern-page #nearby-events .hanabi-image.event-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.kobetsu-modern-page #nearby-events .hanabi-date-wrap { margin: 0 0 2px; }
.kobetsu-modern-page #nearby-events .hanabi-date.event-card__date {
  margin: 0;
  color: #234c78;
  font-size: .83rem;
  font-weight: 700;
}
.kobetsu-modern-page #nearby-events .hanabi-locality {
  margin: 0 0 3px;
  padding: 0;
  color: #425e73;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.kobetsu-modern-page #nearby-events .event-card {
  font-family: inherit;
  padding: 0;
}
.kobetsu-modern-page #nearby-events .hanabi-header { margin: 0 0 4px; }
.kobetsu-modern-page #nearby-events .hanabi-title {
  clear: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #20242a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.kobetsu-modern-page #nearby-events .hanabi-title::first-letter {
  border-left: 0;
  padding-left: 0;
}
.kobetsu-modern-page #nearby-events .hanabi-title a {
  color: inherit;
  font: inherit;
}
.kobetsu-modern-page #nearby-events .event-card__body p { padding: 0; }
.kobetsu-modern-page #nearby-events .event-card__facts {
  display: block;
  margin-top: 4px;
  padding: 0;
  font-size: .84rem;
  line-height: 1.5;
}
.kobetsu-modern-page #nearby-events .event-card__facts dt { display: none; }
.kobetsu-modern-page #nearby-events .event-card__facts dd {
  display: flex;
  gap: 5px;
  align-items: center;
}
.kobetsu-modern-page #nearby-events .event-card__note,
.kobetsu-modern-page #nearby-events .nearby-card-distance {
  display: block;
  margin: 4px 0 0;
  overflow: hidden;
  color: #687789;
  font-size: .84rem;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kobetsu-modern-page #nearby-events .nearby-card-distance {
  display: flex;
  min-width: 0;
  align-items: baseline;
  white-space: nowrap;
}

.kobetsu-modern-page #nearby-events .nearby-card-distance strong,
.kobetsu-modern-page #nearby-events .nearby-card-distance__value {
  flex: 0 0 auto;
}

.kobetsu-modern-page #nearby-events .nearby-card-distance__origin {
  min-width: 0;
  overflow: hidden;
  margin-left: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kobetsu-modern-page .station-access-groups {
  display: grid;
  gap: 10px;
}

.kobetsu-modern-page .station-access-group {
  display: grid;
  min-width: 0;
  gap: 5px 12px;
  padding: 10px 12px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fbff;
}

.kobetsu-modern-page .station-access-heading {
  color: #173f69;
  font-weight: 700;
  line-height: 1.5;
}

.kobetsu-modern-page .station-access-lines {
  min-width: 0;
  color: #52677d;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.kobetsu-modern-page .station-access-stations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.kobetsu-modern-page .station-access-route {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: #155a9f;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kobetsu-modern-page .station-access-group--single {
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  align-items: center;
}

.kobetsu-modern-page .station-access-single-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}

@media (max-width: 600px) {
  .kobetsu-modern-page .station-access-group {
    padding: 9px 10px;
  }

  .kobetsu-modern-page .station-access-group--single {
    grid-template-columns: 1fr;
  }

  .kobetsu-modern-page .station-access-stations {
    display: grid;
    gap: 2px;
  }
}

@media (max-width: 600px) {
  .kobetsu-modern-page #nearby-events .hanabi-content {
    min-height: 116px;
    grid-template-rows: minmax(116px, auto);
    grid-template-columns: 104px minmax(0, 1fr);
    flex-direction: initial;
  }
  .kobetsu-modern-page #nearby-events .hanabi-text.event-card__body {
    padding: 10px 30px 10px 10px;
  }
  .kobetsu-modern-page #nearby-events .hanabi-image.event-card__media {
    width: 104px;
    height: auto !important;
    min-height: 116px;
    align-self: stretch;
    aspect-ratio: auto;
  }
  .kobetsu-modern-page #nearby-events .hanabi-title { font-size: .94rem; }
}

.kobetsu-modern-page .map-wrap--deferred {
  position: relative;
  height: 320px;
  min-height: 0;
  background: linear-gradient(135deg, #edf4fb, #f8fbff);
}

.kobetsu-modern-page .map-wrap--deferred iframe {
  display: block;
  width: 100%;
  height: 320px;
}

.kobetsu-modern-page #nearby-map .nearby-map-lead {
  margin: 0 0 12px;
  color: #52677d;
  font-size: .9rem;
  line-height: 1.7;
}

.kobetsu-modern-page #nearby-map .nearby-map-wrap--modern,
.kobetsu-modern-page #nearby-map .nearby-hanabi-map {
  overflow: hidden;
  border-radius: 10px;
}

.kobetsu-modern-page #nearby-map .nearby-hanabi-map,
.kobetsu-modern-page #nearby-map .nearby-hanabi-map.leaflet-container {
  height: 320px;
  min-height: 320px;
}

.kobetsu-modern-page .map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #486581;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.kobetsu-modern-page .map-loading__icon {
  color: #1677e8;
  font-size: 30px;
  line-height: 1;
}

/* 外部地図は補助操作として、ページ内の主要CTAより一段弱く見せる。 */
.kobetsu-modern-page .location-block > .map-btn {
  border: 1px solid #8eb7e5;
  background: #fff;
  color: #155a9f !important;
  box-shadow: none;
}

.kobetsu-modern-page .location-block > .map-btn:hover {
  background: #edf6ff;
  color: #0f477f !important;
}

.kobetsu-modern-page .update-history-table th:first-child,
.kobetsu-modern-page .update-history-table td:first-child {
  white-space: nowrap;
}

.kobetsu-modern-page .update-history-table th,
.kobetsu-modern-page .update-history-table td {
  width: 33.333%;
}

.kobetsu-modern-page .update-history-date,
.kobetsu-modern-page .update-history-time {
  display: inline;
}

.kobetsu-modern-page .update-history-time::before {
  content: " ";
}

.kobetsu-modern-page .update-history-note-label,
.kobetsu-modern-page .update-history-note-detail {
  display: inline;
}

.kobetsu-modern-page .update-history-note-label::after {
  content: " ";
}

.kobetsu-modern-page .photo-gallery-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 16px auto 4px;
  padding: 9px 18px;
  border: 1px solid #8eb7e5;
  border-radius: 9999px;
  background: #fff;
  color: #155a9f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kobetsu-modern-page .photo-gallery-toggle:hover {
  background: #edf6ff;
}

.kobetsu-modern-page .gallery .photo-gallery-extra[hidden] {
  display: none !important;
}

.kobetsu-modern-page img,
.kobetsu-modern-page iframe,
.kobetsu-modern-page canvas {
  max-width: 100%;
}

@media (max-width: 700px) {
  .kobetsu-modern-page .page-bottom-stack > .update-history-section,
  .kobetsu-modern-page .page-bottom-stack > .author-box,
  .kobetsu-modern-page .page-bottom-stack > .page-share-section {
    padding: 16px 12px;
  }

  .kobetsu-modern-page #main .page-bottom-stack .update-history-title,
  .kobetsu-modern-page #main .page-bottom-stack .author-label,
  .kobetsu-modern-page #main .page-bottom-stack .page-share-section > h2 {
    margin-bottom: 14px;
    font-size: 17px;
  }

  .kobetsu-modern-page .page-share-section .share-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .kobetsu-modern-page .page-bottom-stack .share-rich-btn {
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    border-radius: 8px;
  }

  .kobetsu-modern-page .page-bottom-stack .share-rich-icon {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .kobetsu-modern-page .page-bottom-stack .share-rich-label {
    font-size: 13px;
  }

  .kobetsu-modern-page .update-history-table th:first-child,
  .kobetsu-modern-page .update-history-table td:first-child {
    width: 14% !important;
  }

  .kobetsu-modern-page .update-history-table th:nth-child(2),
  .kobetsu-modern-page .update-history-table td:nth-child(2) {
    width: 44% !important;
  }

  .kobetsu-modern-page .update-history-table th:nth-child(3),
  .kobetsu-modern-page .update-history-table td:nth-child(3) {
    width: 42% !important;
  }

  .kobetsu-modern-page .update-history-date,
  .kobetsu-modern-page .update-history-time {
    display: block;
  }

  .kobetsu-modern-page .update-history-time::before {
    content: none;
  }

  .kobetsu-modern-page .update-history-note-label,
  .kobetsu-modern-page .update-history-note-detail {
    display: block;
  }

  .kobetsu-modern-page .update-history-note-label::after {
    content: none;
  }

  .kobetsu-hero .page-header__inner,
  body.kobetsu-modern-page #main.kobetsu-main {
    width: min(100% - 24px, 1180px);
  }

  .kobetsu-hero .page-header__inner {
    padding: 28px 0 32px;
  }

  .kobetsu-hero h1 {
    font-size: 30px;
  }

  .kobetsu-hero__lead {
    font-size: 14px;
    line-height: 1.7;
  }

  .kobetsu-hero__date {
    display: block;
    margin: 7px 0 0;
    padding: 0;
    border: 0;
  }

  body.kobetsu-modern-page #main.kobetsu-main {
    padding-top: 16px;
  }

  .kobetsu-modern-page .main-visual,
  .kobetsu-modern-page #main > section,
  .kobetsu-modern-page .kobetsu-main__content > section,
  .kobetsu-modern-page .event-locality-links,
  .kobetsu-modern-page .favorite-btn-wrap,
  .kobetsu-modern-page .page-share-section {
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .kobetsu-modern-page .main-visual {
    padding: 0;
  }

  .kobetsu-modern-page #main h2 {
    font-size: 21px;
  }

  .kobetsu-modern-page th,
  .kobetsu-modern-page td {
    padding: 10px 8px;
    overflow-wrap: anywhere;
  }

  .kobetsu-modern-page .update-history-table {
    font-size: 13px;
  }

  .kobetsu-modern-page .faq-section {
    margin-bottom: 12px;
  }

  .kobetsu-modern-page #reviews .review-contribution-lead {
    padding: 14px 14px 0;
    font-size: 14px;
  }

  .kobetsu-modern-page #reviews .review-contribution-actions {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 14px;
  }

  .kobetsu-modern-page #reviews .review-contribution-form--guest {
    grid-column: auto;
  }

  .kobetsu-modern-page #reviews .review-contribution-form .review-contribution-btn {
    min-height: 60px;
    padding: 10px 12px;
  }

  .kobetsu-modern-page .map-wrap--deferred,
  .kobetsu-modern-page .map-wrap--deferred iframe {
    height: 240px;
  }
}
