@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
    --blue: #0058a2;
    --cream: #f3eddf;
    --heading-font: 'Plus Jakarta Sans', Arial, sans-serif;
    --body-font: 'Plus Jakarta Sans', 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--blue); font-family: var(--body-font); font-weight: 500; -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:not(:disabled), a[href] { cursor: pointer; }
:focus-visible { outline: 3px solid #d0a538; outline-offset: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
/* 1920px design: 1280px content width, 320px side margins. */
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.blue-section { background: var(--blue); color: var(--cream); }

/* Reference page entrance: 50px upward fade, 600ms with a 250ms delay. */
.reveal-pending { opacity: 0; transform: translateY(50px); }
.reveal-pending.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s cubic-bezier(.5, 0, 0, 1) .25s, transform .6s cubic-bezier(.5, 0, 0, 1) .25s;
}
.reveal-pending:focus-within { opacity: 1; transform: none; transition: none; }

/* Main visual and introduction */
.hero-image { width: 100%; height: auto; }
.produced-by { padding: 24px 24px 20px; border-bottom: 1px solid #7899a9; color: #111; text-align: center; }
.produced-by > p { margin-bottom: 0; font-size: 15px; font-weight: 600; line-height: 1; }
/* The replacement JPGs share a 96px canvas height and include their own white margins. */
.producer-logos { display: flex; align-items: center; justify-content: center; gap: 0; }
.producer-logos a, .supporter-logos a { display: block; }
.producer-unu, .producer-bnj { width: auto; height: 96px; }
.about { padding-block: 120px 114px; }
.about-copy { font-size: 18px; font-weight: 500; line-height: 1.8; }
.about-copy p + p { margin-top: 32px; }

/* Event information */
.event-inner { padding-block: 120px 110px; }
.event h2 { font-family: var(--heading-font); font-size: 88px; font-weight: 800; letter-spacing: normal; line-height: 1.15; }
.event-presenter { margin-top: 8px; font-size: 32px; font-weight: 700; letter-spacing: normal; line-height: 1.45; }
.event-programme { margin-top: 60px; font-family: var(--heading-font); font-weight: 700; }
.programme-title { margin-bottom: 20px; font-size: 64px; letter-spacing: normal; line-height: 1.18; }
.event-date, .event-time { font-size: 40px; letter-spacing: normal; line-height: 1.35; }
.event-time { margin-top: 8px; }
.event-venue { margin-top: 18px; font-size: 32px; letter-spacing: normal; line-height: 1.4; }
.event-details { margin-top: 42px; font-size: 24px; font-weight: 700; line-height: 1.7; }
.event-details > div + div { margin-top: 40px; }
.event-notes { margin-top: 64px; font-size: 14px; line-height: 1.85; }
.event-notes li { padding-left: 1em; text-indent: -1em; }

/* Keep the names visible; reuse the reference site's green overlay and dotted arrow. */
.artist-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.artist-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blue); color: #fff; text-align: center; overflow: hidden; user-select: none; }
.artist-trigger img { width: 100%; }
.artist-hover { position: absolute; inset: 0; z-index: 1; background: #31ad9199; opacity: 0; pointer-events: none; transition: .3s; }
.artist-hover .artist-arrow { position: absolute; top: 48%; left: -100%; width: 40%; height: auto; transition: .3s; }
.artist-caption { position: absolute; inset: auto 4% 4%; z-index: 3; color: #fff; font-family: var(--heading-font); font-size: clamp(13px, 1vw, 20px); font-weight: 600; letter-spacing: .6px; line-height: 1.5; text-align: left; text-shadow: 0 1px 4px rgb(0 0 0 / 45%); pointer-events: none; }
.artist-name, .artist-role { font: inherit; }
.artist-trigger:hover .artist-hover, .artist-trigger:focus-visible .artist-hover { opacity: 1; }
.artist-trigger:hover .artist-arrow, .artist-trigger:focus-visible .artist-arrow { left: 5%; transition-delay: .3s; }
.artist-trigger:focus-visible { z-index: 1; outline-offset: -5px; }

/* Reservation and access */
.booking-access { padding-block: 120px 112px; }
.section-heading { font-family: var(--heading-font); font-size: 72px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; }
.reserve-fee { margin-top: 42px; font-size: 32px; font-weight: 700; letter-spacing: 3px; line-height: 1.6; }
.reserve-period { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-size: 24px; font-weight: 700; letter-spacing: 2px; line-height: 1.65; }
.reserve-period time { white-space: nowrap; }
.reserve-action { margin-top: 18px; }
.reserve-button { position: relative; display: flex; width: 400px; max-width: 100%; min-height: 72px; align-items: center; justify-content: center; padding: 18px 56px; border: 1px solid var(--cream); border-radius: 12px; background: var(--blue); color: var(--cream); font-size: 22px; font-weight: 700; line-height: 1.5; text-align: center; transition: background-color .2s ease, color .2s ease; }
.reserve-button:disabled { color: var(--cream); opacity: 1; -webkit-text-fill-color: var(--cream); }
.reserve-button:not(:disabled):hover { background: var(--cream); color: var(--blue); }
.button-arrow { position: absolute; top: 50%; right: 20px; width: 22px; height: auto; transform: translateY(-50%); }
.reserve-note { margin-top: 22px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.access { margin-top: 96px; }
.access address { margin-top: 24px; font-size: 15px; font-style: normal; font-weight: 500; line-height: 1.6; }
.access-map { display: block; width: 100%; height: 400px; margin-top: 26px; border: 0; background: #e6ebeb; }

/* Sponsors and the 38 collaborating festivals */
.supporters { padding-top: 126px; }
.partner-heading { margin-bottom: 36px; font-family: var(--heading-font); font-size: 28px; font-weight: 800; letter-spacing: normal; line-height: 1.4; }
.kai-logo { display: block; width: 207px; }
.kai-logo img { width: 100%; }
.supporter-group { margin-top: 74px; }
.supporter-group .partner-heading { margin-bottom: 16px; }
.supporter-logos { display: flex; align-items: center; gap: 24px; padding: 0; }
.supporter-logos > a { flex-shrink: 0; }
.supporter-unic, .supporter-arte, .supporter-tij { width: auto; height: 96px; flex-shrink: 0; }
.collaboration-group { margin-top: 66px; }
.auditoria-banner { display: block; width: 100%; }
.auditoria-banner img { width: 100%; }
.auditoria-banner, .festival-card a, .kai-logo, .producer-logos a, .supporter-logos a { transition: opacity .2s ease; }
.auditoria-banner:hover, .festival-card a:hover, .kai-logo:hover,
.producer-logos a:hover, .supporter-logos a:hover,
.producer-logos a:focus-visible, .supporter-logos a:focus-visible { opacity: .7; }
.festival-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 24px; margin-top: 56px; }
.festival-card { min-width: 0; font-size: 16px; line-height: 1.5; }
.festival-card a, .festival-content { display: block; height: 100%; }
.festival-image { display: flex; aspect-ratio: 1; align-items: center; justify-content: center; padding: 16px; }
.festival-image img { width: 100%; height: 100%; object-fit: contain; }
.festival-prefecture { display: block; margin-top: 14px; color: #477b95; font-weight: 500; }
.festival-name { display: block; margin-top: 4px; font-weight: 700; }

/* Contact and the reservation button that follows the page */
.contact { padding-block: 80px 160px; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner > div { min-width: 0; }
.contact p { margin-top: 42px; font-size: 18px; font-weight: 500; line-height: 1.65; }
.contact p a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-reserve { flex: 0 0 400px; }
.contact-reserve .reserve-button { border-color: var(--blue); }
.floating-reserve { position: fixed; right: 40px; bottom: 40px; z-index: 10; width: 320px; }
.floating-reserve .reserve-button { min-height: 64px; box-shadow: 0 3px 16px rgb(0 30 70 / 14%); font-size: 18px; }
.floating-reserve[hidden] { display: none; }
/* Match the Speaking Jazz reference footer without changing other sections. */
.footer { padding: 5% 5% 1%; background: #124b97; color: #fff; font-family: 'Zen Kaku Gothic New', '游ゴシック体', YuGothic, 'Helvetica Neue', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ ProN W6', 'Hiragino Kaku Gothic ProN', Arial, 'メイリオ', Meiryo, sans-serif; font-size: 16px; font-weight: 400; line-height: 1; text-align: center; }
.footer .footer-social { display: flex; justify-content: center; margin: 0 auto 3%; }
.footer .footer-social-item { margin: 1%; }
.footer .footer-social img { display: inline; width: 45px; height: 45px; vertical-align: baseline; }
.footer .back-to-top img { display: inline; width: 32px; height: auto; vertical-align: baseline; }
.footer small { display: block; margin: 3% auto 0; font-size: .8em; font-weight: 400; line-height: 1; letter-spacing: 1px; }

@media (max-width: 848px) {
    .footer { padding: 8% 2% 1%; }
}
@media screen and (max-width: 676px) {
    .footer .back-to-top img { width: 30px; }
}
@media screen and (max-width: 480px) {
    .footer { padding: 8% 2%; }
    .footer small { margin-top: 6%; }
}

/* Use the reference site's Modaal fade and scroll behavior. */
.artist-modal { display: none; }
.artist-modal-wrapper .modaal-inner-wrapper { padding: 48px; }
.artist-modal-wrapper .modaal-container { max-width: 1280px; background: #fff; color: var(--blue); }
.artist-modal-wrapper .modaal-content-container { padding: 120px 80px; }
.artist-modal-wrapper .modaal-close:focus::before,
.artist-modal-wrapper .modaal-close:focus::after,
.artist-modal-wrapper .modaal-close:hover::before,
.artist-modal-wrapper .modaal-close:hover::after { background: var(--blue); }
.artist-modal-inner { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); align-items: center; gap: 40px; }
.artist-modal-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.artist-bio { min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.85; }
.artist-bio h3 { margin-bottom: 24px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.artist-bio p + p { margin-top: 12px; }
.artist-bio p { font-weight: 500; }

@media (min-width: 768px) and (max-width: 1439px) {
    .event h2 { font-size: clamp(52px, 5vw, 76px); }
    .event-presenter { font-size: clamp(18px, 1.8vw, 28px); }
    .programme-title { font-size: 56px; }
    .event-date, .event-time { font-size: 34px; }
    .event-venue { font-size: 28px; }
    .event-details { font-size: 21px; }
    .section-heading { font-size: 60px; }
    .supporter-logos { gap: 12px; }
    .supporter-logos img { height: clamp(64px, 7.5vw, 96px); }
    .festival-card { font-size: 14px; }
    .festival-image { padding: 8px; }
    .contact-reserve { flex-basis: 320px; }
    .artist-modal-wrapper .modaal-content-container { padding: 70px 48px; }
    .artist-modal-inner { grid-template-columns: 42% minmax(0, 1fr); gap: 32px; }
    .artist-bio, .artist-bio h3 { font-size: 15px; }
}

@media (max-width: 767px) {
    html { scroll-padding-top: 16px; }
    .container { width: calc(100% - 40px); }
    .produced-by { padding: 16px 16px 12px; }
    .produced-by > p { margin-bottom: 0; font-size: 11px; }
    .producer-unu, .producer-bnj { width: auto; height: clamp(48px, 15vw, 60px); }
    .about { padding-block: 48px; }
    .about-copy { font-size: 14px; line-height: 1.95; }
    .about-copy p + p { margin-top: 24px; }
    .event-inner { padding-block: 48px; }
    .event h2 { font-size: clamp(29px, 7.9vw, 54px); letter-spacing: normal; }
    .event-presenter { margin-top: 10px; font-size: 13px; letter-spacing: normal; line-height: 1.65; }
    .event-programme { margin-top: 36px; }
    .programme-title { margin-bottom: 18px; font-size: clamp(26px, 7.1vw, 44px); letter-spacing: normal; line-height: 1.25; }
    .event-date, .event-time { font-size: clamp(20px, 5.2vw, 30px); letter-spacing: normal; line-height: 1.45; }
    .event-venue { margin-top: 18px; font-size: 17px; letter-spacing: normal; line-height: 1.6; }
    .event-details { margin-top: 36px; font-size: 15px; line-height: 1.9; }
    .event-details > div + div { margin-top: 24px; }
    .event-notes { margin-top: 36px; font-size: 11px; line-height: 1.9; }
    .event-notes li + li { margin-top: 5px; }
    .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .artists { background: var(--blue); }
    .artist-caption { font-size: clamp(11px, 3vw, 15px); letter-spacing: .2px; }
    .booking-access { padding-block: 48px; }
    .section-heading { font-size: 38px; letter-spacing: .5px; }
    .reserve-fee { margin-top: 24px; font-size: 20px; letter-spacing: 1px; }
    .reserve-period { display: block; margin-top: 16px; font-size: 14px; letter-spacing: 1px; }
    .reserve-period > span { display: block; margin-top: 4px; font-size: 15px; letter-spacing: .3px; }
    .reserve-action { margin-top: 18px; }
    .reserve-button { width: 100%; min-height: 56px; padding: 14px 42px; border-radius: 8px; font-size: 16px; }
    .button-arrow { right: 16px; width: 18px; }
    .reserve-note { margin-top: 16px; font-size: 11px; }
    .access { margin-top: 56px; }
    .access address { margin-top: 24px; font-size: 12px; line-height: 1.8; }
    .access-map { height: 280px; margin-top: 20px; }
    .supporters { padding-top: 48px; }
    .partner-heading { margin-bottom: 24px; font-size: 21px; letter-spacing: normal; }
    .kai-logo { width: 135px; }
    .supporter-group, .collaboration-group { margin-top: 44px; }
    .supporter-group .partner-heading { margin-bottom: 8px; }
    .supporter-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 400px; gap: 4px 0; }
    .supporter-logos > a:first-child { grid-column: 1 / -1; width: min(100%, 320px); }
    .supporter-unic { grid-column: 1 / -1; width: min(100%, 320px); height: auto; }
    .supporter-arte, .supporter-tij { width: 100%; height: auto; }
    .festival-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; margin-top: 28px; }
    .festival-card { font-size: 12px; line-height: 1.55; }
    .festival-image { padding: 8px; }
    .festival-prefecture { margin-top: 8px; font-size: 12px; }
    .festival-name { margin-top: 3px;font-size: 13px; }
    .contact { padding-block: 48px 56px; }
    .contact-inner { display: block; }
    .contact p { margin-top: 24px; font-size: 14px; line-height: 1.8; }
    .contact-reserve { margin-top: 28px; }
    .floating-reserve { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 32px); }
    .floating-reserve .reserve-button { min-height: 56px; font-size: 16px; }
    .artist-modal-wrapper .modaal-inner-wrapper { padding: 40px 16px; }
    .artist-modal-wrapper .modaal-content-container { padding: 24px; }
    .artist-modal-inner { display: block; }
    .artist-modal-photo { width: min(100%, 360px); margin: 0 auto 28px; }
    .artist-bio, .artist-bio h3 { font-size: 13px; line-height: 1.9; }
    .artist-bio h3 { margin-bottom: 18px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .festival-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-pending { opacity: 1; transform: none; }
    *, *::before, *::after { transition: none !important; }
}
@media print {
    .reveal-pending { opacity: 1; transform: none; transition: none; }
}
