@charset "UTF-8";

header {
    z-index: 99;
    width: 100%;
    height: 70px;
    padding: 0 4.26vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    position: sticky;
    top: 0;
}

.header__title {
    height: 50px;
    text-align: center;
}

.header__title img{
    height: 50px;
    width: auto;
    margin: 0 auto;
}

.header__menu-icon {
    z-index: 999;
    transition: all 0.12s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 16px;
    cursor: pointer;
    position: relative;
}

.header__menu-icon span {
    width: 100%;
    height: 1px;
    display: block;
    background-color: #ffffff;
    position: absolute;
    left: 0;
    transition: all 0.22s cubic-bezier(0.4, 0, 0, 1.1);
}
.header__menu-icon span:nth-of-type(1) {
    top: 0;
}
.header__menu-icon span:nth-of-type(2) {
    top: 50%;
}
.header__menu-icon span:nth-of-type(3) {
    top: 100%;
}

/* header__menu-icon->open */
.header__menu-icon.open span:nth-of-type(1) {
    transform: rotate(45deg);
    top: calc(50% - (2px)) !important;
}
.header__menu-icon.open span:nth-of-type(2) {
    opacity: 0;
}
.header__menu-icon.open span:nth-of-type(3) {
    transform: rotate(135deg);
    top: calc(50% - (2px)) !important;
}

.header__links {
    width: 100%;
    height: 100vh;
    height: 100svh;
    padding: 2vh 6.5vw 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.header__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000000;
    opacity: 1;
    pointer-events: all;
}

.header__links h1,
.header__links a {
    margin-top: 8px;
    transition: margin 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
}

.header__links.open h1,
.header__links.open a {
    margin-top: 0;
}

.header__links.open .lang-btn {
    margin-top: 2.62vh;
}

.header__links h1 {
    font-family: "KsoKagerouN";
    font-weight: normal;
    font-size: 40px;
    font-size: clamp(40px, 2.273rem + 1.14vw, 50px);
    line-height: 1.2em;
    text-align: center;
    color: #ffffff;
}

.header__links a {
    width: 100%;
    padding: 10px 0;
    display: inline-block;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    border-bottom: 1px solid #909090;
    text-decoration: none;
}

.header__links a:nth-last-of-type(1) {
    border: none;
}

.header__links a.active {
    color: #bcac8b;
}

.header__links a p {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-size: clamp(16px, 0.864rem + 0.68vw, 22px);
    line-height: 1.5em;
    text-align: center;
}

.header__links a small {
    font-family: "work-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-size: clamp(14px, 0.731rem + 0.62vw, 18px);
    line-height: 1em;
    text-align: center;
}

.header__links .lang-btn {
    width: auto;
    margin: 8.62vh auto auto;
    font-family: "work-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-size: clamp(14px, 0.731rem + 0.62vw, 18px);
    text-align: center;
    border: none;
}

/* animation */
header {
    animation: DownAnime 0.5s forwards;
}

header.hidden {
    animation: UpAnime 0.5s forwards;
}

/**********************************************************
* min-width: 600px
/**********************************************************/
/* @media screen and (min-width: 600px) {
} */

/**********************************************************
* min-width: 1025px
/**********************************************************/
@media screen and (min-width: 1025px) {
    header {
        height: 100px;
        padding: 0 1.69vw 0 2.08vw;
    }

    .header__title {
        font-size: 50px;
        font-size: clamp(40px, 1.784rem + 1.12vw, 50px);
    }

    .header__menu-icon {
        display: none;
    }

    .header__links {
        width: auto;
        height: auto;
        padding: 0;
        opacity: 1;
        position: initial;
        display: flex;
        flex-direction: row;
        gap: 3.125vw;
        pointer-events: all;
    }

    .header__links .sp-only {
        display: none;
    }

    .header__links h1,
    .header__links a {
        margin-top: 0;
    }

    .header__links a {
        width: auto;
        padding: 0;
        text-decoration: none;
        text-align: center;
        border: none;
        position: relative;
    }
    .header__links a::after {
        position: absolute;
        bottom: -10px;
        left: 50%;
        content: "";
        width: 0;
        height: 1px;
        background-color: #bcac8b;
        transition: 0.3s;
        transform: translateX(-50%);
    }
    .header__links a:hover {
        color: #bcac8b;
    }
    .header__links a:hover::after {
        width: 100%;
    }

    .header__links a p {
        font-size: 24px;
        font-size: clamp(16px, 0.427rem + 0.89vw, 24px);
        line-height: 1.45em;
    }

    .header__links a small {
        font-size: 16px;
        font-size: clamp(12px, 0.464rem + 0.45vw, 16px);
        line-height: 1em;
    }

    .header__links .lang-btn {
        margin: auto;
        font-size: 16px;
        font-size: clamp(14px, 0.732rem + 0.22vw, 16px);
    }

    /* animation */
    header {
        animation: none;
    }

    header.hidden {
        animation: none;
    }
}

/**********************************************************
* animation
/**********************************************************/
@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.nav-container{
    font-family: "work-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-size: clamp(14px, 0.731rem + 0.62vw, 18px);
    line-height: 1em;
    text-align: center;
}

.nav-container ul{
    list-style: none;
    padding: 0px;
}

.nav-container li{
    background-color: rgba(188,172,139,1);
    padding: 0px;
    font-family: "work-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-size: clamp(14px, 0.731rem + 0.62vw, 18px);
    line-height: 1em;
    text-align: center;
}

.nav-list__item a:visited{
    color:#fff;
}
