/* Home only: concept styling and event spacing are retained. */
body.home #top-reason .txt-box { text-align: center; }
@media screen and (min-width: 1200px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.home #top-reason { background-attachment: fixed; }
}
@supports (-webkit-touch-callout: none) {
    body.home #top-reason { background-attachment: scroll; }
}
body.home #home-notice-nav {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 0;
    background: #fff;
}
body.home #home-notice-nav > .content-width {
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: 0 auto;
}
body.home #home-notice-nav .home-concept-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto;
    position: relative;
}
body.home #home-notice-nav .home-concept-nav__link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    height: 50px;
    padding: 6px 10px;
    border: 1px solid #333;
    border-radius: 0;
    background: transparent;
    color: #333;
    opacity: 1;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, .15);
    transition: color .3s ease;
}
body.home #home-notice-nav .home-concept-nav__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #000;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
}
body.home #home-notice-nav .home-concept-nav__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: inherit;
}
body.home #home-notice-nav .home-concept-nav__label { min-width: 0; }
body.home #home-notice-nav .home-concept-nav__link:focus-visible {
    outline: 2px solid #333;
    outline-offset: 4px;
}
body.home #home-notice-nav .home-concept-nav__link:focus-visible,
body.home #home-notice-nav .home-concept-nav__link:active { color: #fff; }
body.home #home-notice-nav .home-concept-nav__link:focus-visible::before,
body.home #home-notice-nav .home-concept-nav__link:active::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
    body.home #home-notice-nav .home-concept-nav__link:hover { color: #fff; }
    body.home #home-notice-nav .home-concept-nav__link:hover::before { transform: scaleX(1); }
}
body.home #top-event { padding-top: 56px; padding-bottom: 64px; }
body.home #top-event .sec-ttl-box { margin-bottom: 24px; }
body.home #top-event .event-area-comment { margin-bottom: 10px; }
@media screen and (max-width: 1199px) {
    body.home #wrapper { min-width: 0; }
    body.home .sl-slider-wrapper .slick-prev { left: 0; }
    body.home .sl-slider-wrapper .slick-next { right: 0; }
    body.home #home-notice-nav {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }
    body.home #home-notice-nav > .content-width {
        /* Avoid the inherited .content-width padding becoming a second inset. */
        width: 92%;
        max-width: 1000px;
        padding: 0;
        box-sizing: border-box;
        container-type: inline-size;
    }
    body.home #home-notice-nav .home-concept-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    body.home #home-notice-nav .home-concept-nav__link {
        height: 48px;
        font-size: 13px;
        padding: 5px 4px;
        gap: 4px;
    }
    body.home #home-notice-nav .home-concept-nav__label {
        letter-spacing: 0;
        line-height: 1.35;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    body.home #home-notice-nav .home-concept-nav__label-part {
        display: block;
        white-space: nowrap;
    }
    /* 344px gives each label >=136px: 132px for 11 full-width glyphs
       at 12px, plus tolerance. Query the real nav width, not the screen. */
    @container (min-width: 344px) {
        body.home #home-notice-nav .home-concept-nav__link { font-size: 12px; }
        body.home #home-notice-nav .home-concept-nav__label { white-space: nowrap; }
        body.home #home-notice-nav .home-concept-nav__label-part { display: inline; }
    }
    body.home #home-notice-nav .home-concept-nav__icon {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }
}
@media screen and (max-width: 1000px) {
    body.home #top-event { padding-top: 40px; padding-bottom: 48px; }
    body.home #top-event .sec-ttl-box { margin-bottom: 20px; }
    /* Fixed 480/640px controls must fit the device-width home page. */
    body.home .btn { max-width: 100%; }
    body.home #f-contact .left-box { max-width: 100%; }
    body.home #top-lineup .lineup-spec__scroll {
        margin-right: 0;
        max-width: 100%;
    }
    body.home #top-lineup .lineup-copy { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
    body.home #sp-fixed-nav {
        width: 100%;
        padding-left: max(4%, env(safe-area-inset-left, 0px));
        padding-right: max(4%, env(safe-area-inset-right, 0px));
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        column-gap: 8px;
    }
    body.home #sp-fixed-nav .nav {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        min-height: 44px;
        padding: 8px 4px;
        box-sizing: border-box;
    }
    body.home #sp-fixed-nav .nav .nav-inner {
        font-size: clamp(12px, 3.4vw, 14px);
        line-height: 20px;
    }
    body.home.home-notice-nav-in-view #morita-floating-links .mfl-social:not(:focus-within) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.home #top-reason { background-attachment: scroll; }
    body.home #home-notice-nav .home-concept-nav__link,
    body.home #home-notice-nav .home-concept-nav__link::before { transition: none; }
}
