/* TOP only. Keep legacy page styles and the existing 950 / 767px breakpoints. */
body.home-2026 { background: #fff; }
.home-2026 .kh-page { overflow: clip; }
.home-2026 *, .home-2026 *::before, .home-2026 *::after { box-sizing: border-box; }
.home-2026 button { font: inherit; cursor: pointer; color: inherit; }
.home-2026 a:focus-visible, .home-2026 button:focus-visible, .home-2026 [tabindex]:focus-visible { outline: 3px solid #007f9b; outline-offset: 5px; }
.kh-skip { position: fixed; top: -100px; left: 20px; z-index: 10002; padding: 10px 20px; background: white; }
.kh-skip:focus { top: 10px; }
.kh-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 70px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 6%; transition: background-color .5s; }
.kh-header.is-scrolled { background-color: rgba(255, 255, 255, 0.85); }
.kh-logo { display: block; width: 100px; margin-top: 10px; flex-shrink: 0; }
.kh-logo img { display: block; width: 100%; height: auto; }
.home-2026 .kh-navigation .drawer-nav { position: static; width: auto; height: auto; background: transparent; overflow: visible; transform: none; }
.home-2026 .kh-navigation .drawer-menu { display: flex; align-items: center; justify-content: flex-start; gap: 26px; width: auto; height: 70px; min-height: 0; margin: 0; padding: 0; }
.home-2026 .kh-navigation .drawer-menu::before,
.home-2026 .kh-navigation .drawer-menu::after { content: none; }
.home-2026 .kh-navigation .drawer-menu > li { float: none; width: auto; height: auto; margin: 0; padding: 0; line-height: 1.8; }
.home-2026 .kh-navigation .drawer-menu > li > a { display: block; padding: 0; font-size: 13px; line-height: 26px; letter-spacing: .6px; white-space: nowrap; }
.kh-menu-toggle { display: none; }
.kh-social { position: fixed; z-index: 30; right: 2.7%; top: 46%; display: grid; gap: 28px; opacity: 0; visibility: hidden; transition: opacity 1.5s ease, visibility 1.5s; }
.kh-social.is-visible { opacity: 1; visibility: visible; }
.kh-social a, .kh-social img { display: block; width: 24px; height: 24px; }
.kh-social img { filter: brightness(0); }
.kh-hero { position: relative; background: #fff; }
.kh-slides { position: relative; aspect-ratio: 3 / 2; }
.kh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.kh-slide.is-current { opacity: 1; z-index: 1; }
.kh-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kh-about { position: relative; min-height: 540px; aspect-ratio: 1440 / 675; }
.kh-about-visual { position: absolute; inset: 0; }
.kh-about-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.kh-about-copy { position: relative; display: flex; flex-direction: row-reverse; justify-content: center; gap: 70px; width: max-content; max-width: 100%; margin: auto; padding-top: 7.4%; font-weight: 500; }
.kh-about-title { display: flex; flex-direction: row-reverse; gap: 18px; }
.kh-about-title p, .kh-about-title h1, .kh-about-text > span { writing-mode: vertical-rl; text-orientation: upright; }
.kh-about-title p { font-size: 14px; letter-spacing: 1em; line-height: 1.4; }
.kh-about-title h1 { font-size: 34px; line-height: 1.2; letter-spacing: .2em; font-weight: 500; }
.kh-about-text { display: flex; flex-direction: row-reverse; gap: 26px; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 3px; }
.kh-about-text > span { display: block; white-space: nowrap; }
/* One uniform color across the section; scroll progress controls the color in JS. */
.kh-gradient { background-color: rgb(var(--kh-scroll-color, 0 160 193) / 10%); }
.kh-section { padding: 150px 24px; border-bottom: 1px solid rgb(0 0 0 / 18%); }
.home-2026 .top-section-title { margin-bottom: 52px; }
.home-2026 .section-ttl { font-size: 30px; line-height: 1; letter-spacing: .04em; }
.home-2026 .top-section-title .sub { margin-top: 20px; font-size: 13px; line-height: 1; letter-spacing: .1em; }
.home-2026 .kh-button { width: max-content; min-width: 246px; max-width: 100%; height: auto; padding: 18px 54px; margin: 70px auto 0; font-size: 14px; line-height: 1.5; letter-spacing: .1em; }
.kh-information-list { max-width: 750px; margin: auto; padding: 28px 55px 38px; background: #fff; font-size: 14px; }
.kh-information-list dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 25px; padding: 20px 0; border-bottom: 1px solid #555; }
.kh-information-list dd { min-width: 0; line-height: 1.8; }
.kh-information-list dt { letter-spacing: .1em; }
.kh-topics { padding-right: 0; padding-left: 0; }
.kh-carousel { position: relative; width: 100%; margin-inline: auto; }
.kh-topics-track { --card-width: min(24vw, 320px); display: flex; gap: 24px; overflow-x: auto; padding: 0 calc((100% - var(--card-width)) / 2) 14px; scroll-padding-inline: calc((100% - var(--card-width)) / 2); scroll-snap-type: x mandatory; scrollbar-width: none; }
.kh-topics-track::-webkit-scrollbar { display: none; }
.kh-topic { flex: 0 0 var(--card-width); min-width: 0; scroll-snap-align: center; }
.kh-topic a { display: block; }
.kh-topic-image { aspect-ratio: 3 / 2; position: relative; overflow: hidden; }
.kh-topic-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kh-topic time { display: block; margin-top: 10px; color: #666; font-size: 11px; font-weight: 500; line-height: 1.5; }
.kh-topic h3 { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.kh-carousel-button { position: absolute; z-index: 5; top: min(7vw, 85px); width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: white; box-shadow: 0 1px 5px #0001; }
.kh-carousel-button img { display: block; width: 100%; height: 100%; }
.kh-prev { left: 4.5%; }
.kh-next { right: 4.5%; }
.kh-carousel-button:disabled { opacity: .4; cursor: default; }
.kh-program-intro { max-width: 560px; margin: 0 auto 70px; font-size: 14px; line-height: 2.2; }
.kh-program-intro p + p { margin-top: 30px; }
.kh-program-grid { max-width: 952px; margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.kh-program-card { min-width: 0; }
.kh-program-heading { display: flex; align-items: center; gap: 30px; margin: 0 0 30px; font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 24px; font-weight: 600; line-height: 1.5; letter-spacing: .4em; text-indent: .4em; }
.kh-program-heading::before, .kh-program-heading::after { content: ''; flex: 1; height: 1px; background: currentColor; }
.kh-program-link { display: inline-block; margin-top: 20px; font-size: 16px; font-weight: 500; line-height: 2.6; text-decoration: underline; text-underline-offset: .2em; }
.kh-program-image { display: block; width: 300px; max-width: 100%; margin: 0 auto 30px; text-align: center; }
.kh-program-image img { display: block; width: 100%; height: auto; aspect-ratio: 566 / 615; object-fit: contain; }
.kh-program-card > p { font-size: 14px; font-weight: 500; line-height: 2.2; }
.kh-venue-links { display: flex; flex-wrap: wrap; gap: 16px; max-width: 560px; margin: 0 auto 55px; font-size: 14px; font-weight: 500; }
.kh-venue a { text-decoration: underline; }
.kh-map, .kh-map-pdf, .kh-banners { display: block; width: 100%; max-width: 750px; margin: 0 auto 24px; }
.kh-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.kh-gallery { position: relative; padding: 120px 16px 260px; }
.kh-gallery-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kh-gallery-track li { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.kh-gallery-track img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kh-reveal { position: relative; overflow: hidden; }
.kh-about-visual.kh-reveal { position: absolute; }
.kh-reveal::after { content: ''; position: absolute; inset: 0 0 auto; height: 200%; z-index: 3; pointer-events: none; background: linear-gradient(0deg, transparent, #F8F6EF 50%, #F8F6EF); transform: translateY(-200%); transition: transform 3s ease; }
.kh-reveal.is-pending::after { transform: translateY(0); transition: none; }
@media (max-width: 950px) {
  .kh-header { height: 60px; }
  .kh-menu-toggle { position: fixed; z-index: 1002; top: 6px; right: 24px; display: block; width: 46px; height: 48px; padding: 0; border: none; background: transparent; }
  .kh-menu-toggle img { position: absolute; inset: 5px; width: 36px; height: 38px; object-fit: contain; display: block; transition: opacity .3s; }
  .kh-menu-toggle .kh-menu-close { opacity: 0; }
  .kh-menu-toggle[aria-expanded="true"] .kh-menu-open { opacity: 0; }
  .kh-menu-toggle[aria-expanded="true"] .kh-menu-close { opacity: 1; }
  .kh-navigation { position: fixed; z-index: 1001; inset: 0; width: 100%; height: 100dvh; padding: 100px 0 0; background: #F8F6EF; overflow-y: auto; visibility: hidden; opacity: 0; transition: none; }
  .kh-navigation.is-menu-animated { transition: opacity .3s, visibility .3s; }
  .kh-menu-is-open .kh-navigation { visibility: visible; opacity: 1; }
  body.kh-menu-is-open { overflow: hidden; }
  .home-2026 .kh-navigation .drawer-nav { display: block; }
  .home-2026 .kh-navigation .drawer-menu { display: block; width: 100%; height: auto; margin: 0; background: transparent; }
  .home-2026 .kh-navigation .drawer-menu > li { width: 100%; border-bottom: 1px solid #e4e4e4; }
  .home-2026 .kh-navigation .drawer-menu > li:first-child { border-top: 1px solid #e4e4e4; }
  .home-2026 .kh-navigation .drawer-menu > li > a { display: block; width: 100%; font-size: 15px; line-height: 30px; letter-spacing: .56px; padding: 14px 32px; }
  .kh-about { min-height: 460px; }
  .kh-about-copy { gap: 40px; padding-top: 70px; }
  .kh-about-text { gap: 20px; font-size: 14px; }
  .kh-social { right: 14px; gap: 24px; }
  .kh-gallery { padding-inline: 0; padding-bottom: 150px; }
  .kh-gallery-window { overflow: hidden; }
  .kh-gallery-track { display: flex; gap: 24px; width: max-content; animation: kh-gallery-loop 55s linear infinite; animation-play-state: paused; }
  .kh-gallery-track.is-loop-ready { animation-play-state: running; }
  .kh-gallery-track li { flex: 0 0 280px; width: 280px; margin-top: 0; }
  .kh-gallery-track li:nth-child(even) { transform: translateY(40px); }
  .kh-gallery-window { padding-bottom: 40px; }
  @keyframes kh-gallery-loop { to { transform: translateX(calc(-1 * var(--gallery-distance, 2736px))); } }
}
@media (max-width: 950px) and (hover: hover) {
  .kh-gallery-window:hover .kh-gallery-track { animation-play-state: paused; }
}
@media (max-width: 767px) {
  .kh-slides { aspect-ratio: 9 / 16; }
  .kh-social { top: 44%; gap: 26px; right: 12px; }
  .kh-social a, .kh-social img { width: 20px; height: 20px; }
  .kh-about { height: 475px; min-height: 0; aspect-ratio: auto; }
  .kh-about-copy { gap: 23px; padding-top: 57px; }
  .kh-about-title { gap: 10px; }
  .kh-about-title h1 { font-size: 24px; }
  .kh-about-title p { font-size: 10px; }
  .kh-about-text { gap: 12px; font-size: 12px; letter-spacing: 3px; }
  .kh-section { padding: 90px 24px; }
  .home-2026 .section-ttl { font-size: 24px; }
  .home-2026 .top-section-title { margin-bottom: 50px; }
  .home-2026 .top-section-title .sub { font-size: 11px; margin-top: 17px; }
  .home-2026 .kh-button { min-width: 180px; padding: 13px 38px; font-size: 11px; margin-top: 40px; }
  .kh-information-list { padding: 0; background: transparent; font-size: 13px; }
  .kh-information-list dl > div { display: block; padding: 12px 0; }
  .kh-information-list dt { font-size: 10px; margin-bottom: 4px; }
  .kh-information-list dd { line-height: 1.65; }
  .kh-topics { padding-inline: 0; }
  .kh-carousel { width: 100%; max-width: none; }
  .kh-topics-track { --card-width: 160px; gap: 12px; padding-inline: calc((100% - 160px) / 2); scroll-padding-inline: calc((100% - 160px) / 2); }
  .kh-topic { scroll-snap-align: center; }
  .kh-topic time { font-size: 9px; margin-top: 6px; }
  .kh-topic h3 { font-size: 13px; line-height: 1.4; }
  .kh-carousel-button { width: 32px; height: 32px; top: 38px; }
  .kh-prev { left: 24px; }
  .kh-next { right: 24px; }
  .kh-program-intro { font-size: 13px; line-height: 2.2; margin-bottom: 50px; }
  .kh-program-grid { gap: 12px; }
  .kh-program-heading { gap: 12px; margin-bottom: 20px; font-size: 18px; }
  .kh-program-link { margin-top: 16px; font-size: 11px; }
  .kh-program-image { margin-bottom: 20px; }
  .kh-program-card > p { font-size: 11px; line-height: 2.5; }
  .kh-venue-links { font-size: 11px; gap: 12px; }
  .kh-banners { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .kh-gallery { padding-top: 85px; padding-bottom: 100px; }
}
@media (max-width: 360px) { .kh-about-copy { gap: 14px; } .kh-about-text { gap: 9px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .home-2026 *, .home-2026 *::before, .home-2026 *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .kh-reveal::after { display: none; }
  .kh-gallery-window { overflow-x: auto; }
}
