@charset "utf-8";

.loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: #0d0d0d;
    z-index: 1;

}

.loading_contents {
    display: flex;
    position: absolute;
    left: 1rem;
    bottom: 1rem;
}

.loading_txt {

    z-index: 2;
    color: #FFF;
    font-family: "owners-xxwide", "sans-serif";
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;

}

.dot_text {
    font-family: "owners-text", sans-serif;
}

.spinner {
    color: #FFF; 
    font-family:monotipe; 
    font-size: 1.5rem; 
    font-weight: 900;
}

body {
    margin: 0;
}


.nav a {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: -0.4px;
}

.section.white {
    background: white;
    height: 100vh;
}

.section.black {
    background: black;
    height: 100vh;
}

.section.image {
    background-image: url('https://picsum.photos/800/600');
    background-size: cover;
    background-position: center;
    height: 100vh;
}








/*==========================
common
==========================*/

:root {
    --vivid-orange: #E56625;
}

html {
    font-size: 4.266666666vw;
}

html::selection {
    background: #E56625;
    color: #0d0d0d;
}

html::-moz-selection {
    background: #E56625;
    color: #0d0d0d;
}

@media screen and (min-width:768px) {
    html {
        font-size: 1.111111111vw;
    }

}


img {
    max-width: 100%;
    height: auto;
}

.container {
    background-color: #0d0d0d;
    color: white;
    isolation: isolate;
    position: relative;
    overflow: hidden;
}

.article {
    position: relative;
    height: auto;
    /* コンテナの高さ */
    width: 100%;
    /* コンテナの横幅 */
    overflow: hidden;
    /* コンテナからはみ出した要素を隠す */
    z-index: 5;
}


.header_btn {
    display: block;
    position: fixed;
    top: 2.6875rem;
    right: 1.6875rem;
}

.sticker_mai {
    position: fixed;
    width: 4.125rem;
    height: 4.125rem;
    margin: 1.6875rem;
    z-index: 10;
}

.header {
    position: relative;
}




.nav__item_header {
    position: relative;
    /* margin: 3.9375rem 0px 0px 1.5875rem; */
    font-family: "owners-text", sans-serif;
}

.nav__item_header::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 0.05rem;
    background: #FFF;
    bottom: -0.06rem;
    /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);
    /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top;
    /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s;
    /*変形の時間*/
}

.nav__item_header:hover::after {
    transform: scale(1, 1);
}

.footer_nav {
    display: none;
    display: flex;
    margin: 3rem;
}

.footer {
    margin-top: 3.625rem;
    font-family: "owners-text", sans-serif;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    font-size: 15px;
}

.footer_copyrights {
    margin: 1rem;
}

.nav {
    /* transform: translateY(-100%); */
    position: fixed;
    left: 1.6875rem;
    top: 5.375rem;
    display: flex;
    mix-blend-mode: difference;
    z-index: 9999;
    gap: 0px;
    flex-direction: column;

}

.header_btn {
    mix-blend-mode: difference;
    z-index: 9999;
    font-family: "owners-text", sans-serif;
}

.header_btn_close {
    mix-blend-mode: difference;
    z-index: 9999;
    font-family: "owners-text", sans-serif;
    font-size: 1rem;
    margin-top: 2.6875rem;
    margin-left: 1.6875rem;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    /* ← 最初から出すサイズを持っておく */
    height: 100vh;
    background-color: #0d0d0d;
    border-left: 1px solid #FFF;
    /* ← 右端の線ではなく "左線" にして一体化させる */
    transform: translateX(100%);
    /* ← 画面の右外に隠す */
    transition: none;
    z-index: 10000;
    pointer-events: none;
}

.nav-wrapper.is-active {
    pointer-events: auto;
}

.nav__item_header {
    width: fit-content;
    display: block;
    transform: translateY(120%);
}

.nav-item-mask {
    overflow: hidden;
    height: 1.7rem;
    /* マスク範囲：リンクの高さに合わせて調 */
    position: relative;
}

.footer_nav {
    display: none;
}

.footer {
    margin-top: 3.625rem;
    font-family: "owners-text", sans-serif;
    display: flex;
    justify-content: center;
}

.copy {
    margin: 1rem;
}

.nav__item_header {
    pointer-events: none;
}

@media screen and (min-width:768px) {
    .spinner {
    color: #FFF; 
    font-family:monotipe; 
    font-size: 3.1rem; 
    font-weight: 900;
}
    .loading_txt {

        z-index: 2;
        color: #FFF;
        font-family: "owners-xxwide", "sans-serif";
        font-size: 4rem;
        font-weight: 500;
        letter-spacing: 1px;

    }

    .nav__item_header {
        pointer-events: all;
    }

    .copy {
        margin: 3rem;
    }

    .footer_copyrights {
        margin: 3rem;
    }

    .header_btn {
        display: none;
    }

    .nav-wrapper {
        all: unset;
        /* ←これで邪魔なプロパティを一気に消す！ */
        display: contents;
        /* ← wrapperの見た目だけなくして、中身（.nav）だけ表示 */
    }

    .nav {
        display: flex;
        justify-content: flex-end;
        mix-blend-mode: difference;
        isolation: isolate;
        z-index: 10;
        flex-direction: row;
        margin: 3.4rem 0;
        gap: 2rem;
        right: 3rem;
        left: 0;
        top: 0;
    }

    .nav__item_header {
        transform: none !important;
        mix-blend-mode: difference;
        color: white;
    }

    .nav-item-mask {
        overflow: visible;
        height: auto;

        mix-blend-mode: difference;
        color: white;
        /* 必要なら初期カラー指定 */
        position: relative;
        z-index: 2;
    }



    .spbr {
        display: none;
    }

    .header_btn {
        display: none;
    }

    .header_btn_close {
        display: none;
    }


    .sticker_mai {
        position: fixed;
        width: 5.4375rem;
        height: 5.4375rem;
        margin: 23px;
        z-index: 100;
    }

    .footer_nav {
        display: flex;

    }

    .footer {
        justify-content: space-between;
        font-size: 15px;
    }

}