@charset "utf-8";

/* 2026 teaser: shared responsive stage, header and navigation */
body {
    overflow-x: hidden;
}

.tz_page_wrapper,
.msg_page_wrapper {
    position: relative;
}

.tz_page_wrapper::before,
.msg_page_wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    width: calc(100vw * 1280 / 750);
    aspect-ratio: 1920 / 1140;
    background: url("/asset/images/top/tz2026/back_pc.png") center top / 100% 100% no-repeat;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.sp_header {
    width: 100%;
    max-width: 750px;
    padding: 0;
    z-index: 2100;
}

.sp_header_inner {
    align-items: center;
    justify-content: space-between;
}

.sp_logo {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
}

.sp_menu_button {
    display: flex;
    flex: 0 0 auto;
    width: 8.2%;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
    transform: translateY(-12%);
    cursor: pointer;
}

.sp_menu_button span {
    display: block;
    position: absolute;
    left: 12%;
    width: 76%;
    height: 9%;
    border-radius: 999px;
    background: #cf2c37;
    transform-origin: center;
    transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}

.sp_menu_button span:nth-child(1) { top: 24%; }
.sp_menu_button span:nth-child(2) { top: 45.5%; }
.sp_menu_button span:nth-child(3) { top: 67%; }

.sp_menu_button.is-open span:nth-child(1) {
    top: 45.5%;
    transform: rotate(45deg);
}

.sp_menu_button.is-open span:nth-child(2) {
    opacity: 0;
}

.sp_menu_button.is-open span:nth-child(3) {
    top: 45.5%;
    transform: rotate(-45deg);
}

.tz_pc_nav {
    display: none;
}

.tz_pc_nav ul,
.tz_mobile_nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tz_pc_nav li,
.tz_mobile_nav li,
.tz_pc_nav img,
.tz_mobile_nav img,
.tz_pc_nav a,
.tz_mobile_nav a {
    display: block;
}

.tz_pc_nav img,
.tz_mobile_nav img {
    width: 100%;
}

.tz_menu_sub {
    position: relative;
}

.tz_menu_sub > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12%;
}

.tz_menu_sub > span a {
    color: #ffffff;
    font-size: 1em;
    line-height: 1;
    text-decoration: underline;
    text-decoration-color: #ffffff;
    white-space: nowrap;
}

.tz_menu_sub > span a:hover {
    text-decoration: none;
}

.tz_mobile_nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    width: min(50vw, 375px);
    height: 100vh;
    height: 100dvh;
    padding-top: clamp(68px, 12vw, 90px);
    overflow-y: auto;
    background: #f9f5eb;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.tz_mobile_nav.is-open {
    transform: translateX(0);
}

.tz_mobile_nav .tz_menu_sub {
    font-size: clamp(9px, 2.2vw, 16px);
}

.tz_nav_overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1900;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(28, 46, 100, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tz_nav_overlay.is-open {
    opacity: 1;
    visibility: visible;
}

body.tz_nav_open {
    overflow: hidden;
}

@media screen and (min-width: 751px) and (max-width: 1023px) {
    .tz_page_wrapper::before,
    .msg_page_wrapper::before {
        width: 1280px;
    }

    .sp_header,
    .tz_main_container,
    .msg_main_container,
    .tz_center_col,
    .msg_center_col {
        width: 500px;
        max-width: none;
    }

}

@media screen and (min-width: 1024px) {
    .tz_page_wrapper::before,
    .msg_page_wrapper::before {
        width: clamp(1280px, 100vw, 1920px);
        height: auto;
    }

    .sp_header,
    .tz_main_container,
    .msg_main_container {
        width: clamp(500px, 39.0625vw, 750px);
        max-width: none;
    }

    .sp_logo {
        width: 100%;
        max-width: none;
    }

    .tz_center_col,
    .msg_center_col {
        width: 100%;
        max-width: none;
    }

    .sp_menu_button,
    .tz_mobile_nav,
    .tz_nav_overlay {
        display: none;
    }

    .tz_pc_nav {
        display: block;
        position: fixed;
        top: clamp(158.667px, 12.395833vw, 238px);
        left: calc(50% + clamp(333.333px, 26.041667vw, 500px));
        z-index: 20;
        width: clamp(126.667px, 9.895833vw, 190px);
        font-size: clamp(6.667px, 0.520833vw, 10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp_menu_button span,
    .tz_mobile_nav,
    .tz_nav_overlay {
        transition: none;
    }
}
