/* Shared navigation and the event information page. */
.head .menu > ul { gap: clamp(16px, 2.5vw, 44px); }
.head .menu > ul > li { flex: initial; }
.head .menu .point_menu {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 0;
    background: #222; color: #fff; font: inherit; font-size: 17px;
    font-weight: 600; white-space: nowrap; cursor: pointer;
}
.head .menu .point_menu:hover { padding: 0 24px; gap: 10px; background: #444; }
.head .menu a:focus-visible, .head .menu button:focus-visible, .event-guide a:focus-visible {
    outline: 3px solid #c08018; outline-offset: 4px;
}
.head .menu ul li.has_submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(12px); }
.event-guide { max-width: 1200px; margin: 0 auto; color: #222; font-size: 18px; line-height: 1.7; word-break: keep-all; }
.event-section + .event-section { margin-top: 76px; }
.event-guide h2 { margin: 0 0 28px; font-size: 32px; font-weight: 800; line-height: 1.3; }
.event-guide h3 { margin: 24px 0 16px; font-size: 23px; font-weight: 700; }
.event-facts { border-top: 2px solid #222; }
.event-facts > div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid #ddd; padding: 19px 20px; gap: 20px; }
.event-facts dt { font-weight: 700; }
.event-facts dd { margin: 0; }
.event-muted { color: #666; }
.event-cards { display: grid; gap: 20px; }
.consultation-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.event-card { position: relative; margin: 0; aspect-ratio: 1.8; overflow: hidden; border-radius: 10px; background: #333; }
.event-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-card::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.36); }
.event-card figcaption { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: 800; text-shadow: 0 2px 8px #000; }
.event-link { display: inline-flex; align-items: center; gap: 18px; padding: 13px 24px; margin-top: 24px; background: #222; color: #fff; font-weight: 600; }
.event-guide .event-link:hover { background: #444; color: #fff; }
.event-link-outline { background: #fff; color: #222; border: 1px solid #222; }
.event-map { width: 100%; height: 380px; border: 0; display: block; margin-top: 24px; background: #f4f4f4; }
.event-contact { padding-top: 40px; border-top: 2px solid #222; }
.event-contact a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
    .head { gap: 20px; justify-content: center; }
    .head .logo { margin-bottom: 0; }
    .head .menu > ul { gap: 20px; }
    .head .menu .point_menu { font-size: 15px; height: 44px; padding: 0 18px; }
    .head .menu .point_menu:hover { padding: 0 18px; }
}
@media (max-width: 640px) {
    .head { padding: 16px 0 0; gap: 16px; }
    .head .menu { width: 100%; border: 0; }
    .head .menu > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    .head .menu > ul > li { min-width: 0; text-align: center; }
    .head .menu > ul > li > a:not(.point_menu) { padding: 10px; font-size: 15px; }
    .head .menu .point_menu, .head .menu .point_menu:hover { width: 100%; height: 46px; padding: 0 8px; font-size: 14px; }
    .head .menu .reservation-menu { border-left: 1px solid #666; }
    .head .menu ul li .submenu { left: 50%; min-width: 170px; }
    .event-guide { font-size: 16px; }
    .event-guide h2 { font-size: 27px; margin-bottom: 22px; }
    .event-guide h3 { font-size: 21px; }
    .event-section + .event-section { margin-top: 52px; }
    .event-facts > div { grid-template-columns: 1fr; gap: 5px; padding: 16px 4px; }
    .event-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .event-card { aspect-ratio: 1.3; }
    .event-card figcaption { font-size: 21px; }
    .event-map { height: 300px; }
}
/* Stable dropdown alignment for pointer, touch and keyboard interaction. */
.head .menu .booth-toggle { border: 0; background: none; color: #222; font: inherit; font-size: 20px; font-weight: 600; cursor: pointer; padding: 0; }
.head .menu ul li.has_submenu .submenu { display: block; width: 205px; transform: translateX(-50%) translateY(12px); transition: opacity .2s, visibility .2s; }
.head .menu ul li.has_submenu.is-open .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(12px); }
.head .menu ul li.has_submenu:not(.is-open) .submenu { opacity: 0; visibility: hidden; }
.head .menu ul li .submenu li a:hover { padding-left: 16px; }
.modal-open { overflow: hidden; }
.reservation-dialog { position: fixed; inset: 0; margin: auto; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 42px 32px 28px; border: 1px solid #ddd; border-radius: 24px; text-align: center; color: #222; background: #fff; box-shadow: 0 24px 90px #0004; }
.reservation-dialog::backdrop { background: #0009; backdrop-filter: blur(5px); }
.modal-close { position: absolute; right: 14px; top: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: #444; font-size: 30px; cursor: pointer; }
.modal-symbol { width: 84px; height: 84px; object-fit: contain; }
.modal-eyebrow { margin: 20px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.reservation-dialog h2 { font-size: 27px; letter-spacing: -.04em; margin: 0 0 18px; }
#reservation-description { color: #666; font-size: 16px; line-height: 1.8; word-break: keep-all; }
.modal-date { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0; padding: 20px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-size: 13px; }
.modal-date strong { font-size: 40px; line-height: 1; letter-spacing: -.06em; }
.modal-confirm { width: 100%; min-height: 50px; border: 0; border-radius: 9px; background: #222; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.reservation-dialog button:focus-visible { outline: 3px solid #aa781e; outline-offset: 3px; }
.event-hero { overflow: hidden; background: #171717; padding: 70px 0 0; }
.event-hero > .wrap { max-width: 1200px; }
.event-hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 54px; }
.event-hero-kicker { font-size: 13px; letter-spacing: .22em; color: #bbb; }
.event-hero h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 900; margin: 16px 0 22px; letter-spacing: -.05em; }
.event-hero-message { font-size: clamp(21px, 2.5vw, 32px); line-height: 1.5; font-weight: 600; }
.event-hero-date { margin-top: 30px; font-size: 19px; line-height: 1.8; }
.event-hero-date span { font-size: 15px; color: #bbb; }
.event-hero-symbol { width: 32%; max-width: 340px; height: auto; object-fit: contain; filter: invert(1); transform: rotate(-8deg); }
.event-jump { display: flex; border-top: 1px solid #ffffff40; }
.event-jump a { flex: 1; padding: 23px 8px; text-align: center; font-size: 16px; color: #fff; }
.event-jump a:hover, .event-jump a:focus-visible { background: #ffffff18; }
.event-eyebrow { display: block; margin-bottom: 10px; color: #777; font-size: 12px; letter-spacing: .16em; font-weight: 600; }
.event-guide h2 { font-size: 36px; letter-spacing: -.035em; scroll-margin-top: 180px; }
.event-section { position: relative; }
.event-section + .event-section { margin-top: 90px; }
.event-facts { border-top-width: 3px; background: #fafafa; }
.event-card { border-radius: 16px; }
.event-card img { transition: transform .4s ease; }
.event-card:hover img { transform: scale(1.04); }
.event-link { border-radius: 6px; }
.event-contact { padding: 40px; background: #f5f5f5; border: 0; border-radius: 18px; }
@media (max-width: 1100px) { .head .menu .booth-toggle { font-size: 16px; } }
@media (max-width: 640px) {
    .head .menu .booth-toggle { padding: 10px; font-size: 15px; }
    .head .menu ul li.has_submenu .submenu { left: auto; right: 8px; transform: translateY(12px); }
    .head .menu ul li.has_submenu.is-open .submenu { transform: translateY(12px); }
    .event-hero { padding-top: 40px; }
    .event-hero-layout { gap: 10px; padding-bottom: 32px; }
    .event-hero-kicker { font-size: 10px; letter-spacing: .1em; }
    .event-hero-symbol { width: 24%; }
    .event-hero-message { font-size: 19px; }
    .event-hero-date { font-size: 16px; }
    .event-hero-date span { font-size: 12px; }
    .event-jump a { padding: 17px 2px; font-size: 12px; }
    .event-guide h2 { font-size: 28px; }
    .event-section + .event-section { margin-top: 58px; }
    .event-contact { padding: 26px 20px; }
    .reservation-dialog { padding: 36px 20px 22px; }
    .reservation-dialog h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .event-card img { transition: none; } }
/* Preserve the main visual size after promoting its title to h1. */
.main_textbox h1.mv-title { font-family: "yspotlight"; font-size: 2.6em; font-weight: 400; }
.main_textbox h1.mv-title img { width: 550px; }
@media (max-width: 1200px) { .main_textbox h1.mv-title img { width: 440px; } }
@media (max-width: 1024px) { .main_textbox h1.mv-title img { width: 360px; } }
@media (max-width: 768px) { .main_textbox h1.mv-title img { width: 280px; } }
@media (max-width: 480px) { .main_textbox h1.mv-title img { width: 220px; } }
@media (max-width: 375px) { .main_textbox h1.mv-title img { width: 180px; } }

/* Animate once on entry. Content remains visible without JavaScript. */
@keyframes event-reveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.event-guide .event-revealed {
    animation: event-reveal 1.1s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) both;
}
@media (prefers-reduced-motion: reduce) {
    .event-guide .event-revealed { animation: none; }
}
@media print {
    .event-guide .event-revealed { animation: none; opacity: 1; transform: none; }
}
