@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,500&family=Zen+Kaku+Gothic+New:wght@500&family=Zilla+Slab:wght@500&display=swap");

@import url("../font/icomoon/style.css");

@import url("./reset.css");

@import url("./utils.css");

:root {
    --bg-inset: clamp(40px, 6.25vw, 150px);
    --wrapper-width: 440px;
    --inner-padding: 36px;
    --px6: 0.375rem;
    --px8: 0.5rem;
    --px10: 0.625rem;
    --px12: 0.75rem;
    --px13: 0.8125rem;
    --px14: 0.875rem;
    --px15: 0.9375rem;
    --px16: 1rem;
    --px18: 1.125rem;
    --px20: 1.25rem;
    --px24: 1.5rem;
    --px30: 1.875rem;
    --px32: 2rem;
    --px36: 2.25rem;
    --px40: 2.5rem;
    --px48: 3rem;
    --px50: 3.125rem;
    --px54: 3.375rem;
    --px56: 3.5rem;
    --px60: 3.75rem;
    --px64: 4rem;
    --px72: 4.5rem;
    --px75: 4.6875rem;
    --px90: 5.625rem;
    --px100: 6.25rem;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-background: var(--color-white);
    --color-primary: #2c3e50;
    --ease-rich: cubic-bezier(0.22, 1, 0.36, 1);
    --font-slab: "Zilla Slab", serif;
}

html {
    font-size: 16px;
    scroll-padding-top: 0;
}

body {
    color: var(--color-primary);
    font-style: normal;
    font-weight: 500;
    line-height: 1.8;
    font-family: "Inter", "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    letter-spacing: 0.02em;
    text-underline-offset: 4px;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

.wrapper {
    position: relative;
    z-index: 100;
    padding-block: 35px;
    pointer-events: none;
}

.contents {
    position: relative;
    max-width: 450px;
    margin-right: auto;
    margin-left: max(calc(50% - 225px), calc(var(--bg-inset) + 350px));
    overflow: clip;
    border: 5px solid var(--color-background);
    border-radius: 15px;
    background: var(--color-background);
    pointer-events: auto;
}

.header {
    position: sticky;
    top: 0;
    right: 0;
    z-index: 300;
    color: #efefef;
    line-height: 1;
    transition: color 0.4s ease;
    mix-blend-mode: difference;
}

.-nav-open .header,
.header.-on-hero {
    color: var(--color-white);
    mix-blend-mode: normal;
}

.header_wrap {
    display: flex;
    align-items: center;
    gap: var(--px10);
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--px15);
}

.header_lang {
    display: inline-block;
    padding: var(--px8);
    font-size: var(--px14);
}

.header_menu {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.625rem;
    height: var(--px30);
    border: 1px solid currentColor;
    border-radius: var(--px15);
    cursor: pointer;
}

.header_menu > span {
    display: inline-block;
    position: absolute;
    width: var(--px20);
    height: 1px;
    background: currentColor;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.header_menu > span.-top {
    transform: translateY(-0.25rem);
}

.header_menu > span.-mid {
    margin-top: -0.5px;
}

.header_menu > span.-btm {
    transform: translateY(0.25rem);
}

.-nav-open .header_menu > span.-top {
    transform: rotate(30deg);
}

.-nav-open .header_menu > span.-mid {
    opacity: 0;
    transform: scaleX(0);
}

.-nav-open .header_menu > span.-btm {
    transform: rotate(-30deg);
}

.spnav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    height: 100dvh;
    margin-bottom: -100dvh;
    background: color-mix(in srgb, var(--color-primary) 95%, transparent);
    color: var(--color-white);
    text-align: center;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.-nav-open .spnav {
    visibility: visible;
    opacity: 1;
}

.spnav_logo {
    margin-top: var(--px75);
}

.spnav_list {
    display: grid;
    gap: var(--px30);
    list-style: none;
    margin-top: auto;
    line-height: 1;
}

.spnav_list > li > a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--px12);
    text-decoration: none;
}

.spnav_list > li > a > span.-en {
    font-size: var(--px20);
    font-family: var(--font-slab);
}

.spnav_list > li > a > em {
    font-size: var(--px14);
}

.spnav_terms {
    margin-top: var(--px40);
    margin-bottom: auto;
    font-size: var(--px13);
}

.main {
}

.footer {
    padding: var(--px75) var(--inner-padding) var(--px60);
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.footer_logo {
}

.footer_nav {
    margin-top: var(--px54);
}

.footer_list {
    display: grid;
    gap: var(--px24);
    line-height: 1;
}

.footer_list > li > a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--px12);
    text-decoration: none;
}

.footer_list > li > a > span.-en {
    font-size: var(--px20);
    font-family: var(--font-slab);
}

.footer_list > li > a > em {
    font-size: var(--px14);
}

.footer .spnav_terms {
    margin-top: var(--px40);
    font-size: var(--px13);
}

.footer_bunka {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--px16);
    margin-top: var(--px50);
    text-align: center;
}

.footer_bunka_img {
    flex-shrink: 0;
}

.footer_bunka_img > img {
    width: 6.5625rem;
    height: auto;
}

.footer_bunka_text {
    font-size: var(--px12);
    line-height: 1.6;
}

.footer_copy {
    opacity: 0.7;
    margin-top: var(--px30);
    font-size: var(--px12);
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    color: var(--color-white);
}

.bg_hd {
    position: absolute;
    top: 90px;
    left: var(--bg-inset);
    z-index: 10;
}

.bg_hd_logo {
}

.bg_hd_lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.bg_nav {
    position: absolute;
    top: 90px;
    right: var(--bg-inset);
    z-index: 10;
}

.bg_nav_list {
    display: grid;
    gap: 30px;
    line-height: 1;
    text-align: right;
}

.bg_nav_list > li {
    /* align-items: end; */
}

.bg_nav_list > li > a {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.bg_nav_list > li > a > span {
    font-size: 24px;
    font-family: var(--font-slab);
}

.bg_nav_list > li > a > em {
    font-size: 14px;
}

.bg_btm {
    display: grid;
    gap: 12px;
    position: absolute;
    right: var(--bg-inset);
    bottom: 90px;
    z-index: 10;
    font-size: 12px;
    text-align: right;
}

.bg_terms {
}

.bg_copy {
    opacity: 0.7;
}

.bg_tour {
    position: absolute;
    bottom: 90px;
    left: var(--bg-inset);
    z-index: 10;
    width: 280px;
    padding: 27px 20px 30px;
    border-radius: 10px;
    background: color-mix(in srgb, #00172f 40%, transparent);
}

.bg_tour_slider:not(.is-initialized) .splide__list {
    overflow: hidden;
}

.bg_tour .splide__track {
    overflow: visible !important;
}

.bg_tour_item {
}

.bg_tour_card {
    position: relative;
}

.bg_tour_card_num {
    position: absolute;
    right: 0;
    bottom: calc(100% + 15px);
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.bg_tour_card_img {
}

.bg_tour_card_ttl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 15px;
}

.bg_tour_card_ttl::after {
    content: "\e900";
    font-family: icomoon;
}

.bg_tour_slider .splide__pagination {
    display: flex;
    align-items: center;
    gap: 0;
    position: absolute;
    top: calc(100% + 42px);
    right: -15px;
    z-index: 10;
}

.bg_tour_slider .splide__pagination__page {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.bg_tour_slider .splide__pagination__page::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-white);
}

.bg_tour_slider .splide__pagination__page::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: border 0.3s;
}

.bg_tour_slider .splide__pagination__page.is-active::after {
    border-color: var(--color-white);
}

.bg_slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.bg_slide::after {
    content: "";
    display: block;
    opacity: 0.4;
    position: absolute;
    inset: 0;
    background: var(--color-primary);
}

.bg_slide_item {
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity 1s ease;
}

.bg_slide_item.-active {
    opacity: 1;
}

.bg_slide_item > img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

[data-parallax="gradIn"] {
    transform: translateZ(0);
    transition:
        mask-position 1.4s linear,
        -webkit-mask-position 1.4s linear;
    mask-image: linear-gradient(
        to top,
        transparent,
        transparent 41%,
        rgba(0, 0, 0, 0.02) 43%,
        rgba(0, 0, 0, 0.08) 45%,
        rgba(0, 0, 0, 0.18) 46%,
        rgba(0, 0, 0, 0.32) 48%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.68) 51%,
        rgba(0, 0, 0, 0.82) 53%,
        rgba(0, 0, 0, 0.92) 55%,
        rgba(0, 0, 0, 0.98) 56%,
        #000000 58%,
        #000000
    );
    mask-size: 100% max(300%, 150vh);
    mask-repeat: no-repeat;

    -webkit-mask-image: linear-gradient(
        to top,
        transparent,
        transparent 41%,
        rgba(0, 0, 0, 0.02) 43%,
        rgba(0, 0, 0, 0.08) 45%,
        rgba(0, 0, 0, 0.18) 46%,
        rgba(0, 0, 0, 0.32) 48%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.68) 51%,
        rgba(0, 0, 0, 0.82) 53%,
        rgba(0, 0, 0, 0.92) 55%,
        rgba(0, 0, 0, 0.98) 56%,
        #000000 58%,
        #000000
    );
    -webkit-mask-size: 100% max(300%, 150vh);
    -webkit-mask-position: center 100%;
    mask-position: center 100%;
    -webkit-mask-repeat: no-repeat;
}

[data-parallax="gradIn"].-view {
    -webkit-mask-position: center 0;
    mask-position: center 0;
}

@media (max-width: 1240px) {
    .bg_nav {
        top: 280px;
        /* position: static; */
        /* margin-top: 40px; */
        right: auto;
        left: var(--bg-inset);
    }

    .bg_nav_list {
        text-align: left;
    }

    .bg_nav_list > li > a {
        align-items: flex-start;
    }

    .bg_hd {
        max-width: calc(100vw - 460px - var(--bg-inset) * 2 - 30px);
    }

    .bg_hd_logo img {
        width: 100%;
        max-width: 240px;
        height: auto;
    }

    .bg_btm {
        display: none;
    }

    .contents {
        margin-right: var(--bg-inset);
        margin-left: auto;
    }

    .bg_tour {
        width: clamp(200px, calc(100vw - 460px - var(--bg-inset) * 2 - 30px), 280px);
    }
}

/* モバイル */
@media (max-width: 767px) {
    :root {
        --inner-padding: 8.1818vw;
    }

    html {
        font-size: 3.6364vw;
    }

    .wrapper {
        padding-block: 0;
    }

    .contents {
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        border: none;
        border-radius: 0;
    }

    .bg {
        display: none;
    }
}

@media print {
    body {
        -webkit-print-color-adjust: exact;
    }
}
