/* 共通 */
:root {
    --txt_ja: "Noto Serif JP", serif;
    --txt_en: "Cormorant Infant", serif;
    --fw_bold: bold;
    --fw_md: 500;
    --main_color: #FFE9B0;
    --accent_color: #FB9804;
    --font_color: #352722;
    --bg_color: #1D1C1C;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: auto;
}
.header_box {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.header_logo {
    width: 144px;
    height: auto;
}
.header_logo>a {
    display: block;
}

.header_link_top {
    display: flex;
    align-items: center;
}
.header_link_top > a:not(:last-child) {
    position: relative;
    z-index: 3;
    display: block;
    width: 182px;
    height: auto;
    padding-top: 14px;
    padding-bottom: 21px;
    text-align: center;
    color: var(--main_color);
    background-color: var(--bg_color);
}
.header_link_top>a>span:first-child {
    display: block;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: calc(16px * (4 / 100));
    margin-bottom: 4px;
}
.header_link_top>a>span:last-child {
    display: block;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: calc(12px * (4 / 100));
}
.header_link_top>a:nth-child(n+2){
    border-left: 1px solid #3B3830;
}
.header_link_top>a:after {
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    content: '';
    width: 96%;
    height: 6px;
    margin-left: auto;
    margin-right: auto;
}
.header_link_top>a:first-child:after {
    background-color: #AC1914;
}
.header_link_top>a:nth-child(2):after {
    background-color: #3D90B0;
}
.header_link_top>a:nth-child(3):after {
    background-color: #B19629;
}
.header_link_top>a:nth-child(4):after {
    background-color: #50AD4C;
}

.header_link_top > a:last-child {
    display: block;
    font-family: var(--txt_en);
    font-size: 16px;
    line-height: 140%;
    letter-spacing: calc(16px * (4 / 100));
    color: #000000;
    padding: 15px 34px;
    background-color: #D9D9D9;
    margin-left: 30px;
}

.header_link_middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.header_link_middle_box1 {
    display: flex;
    align-items: center;
    justify-content: end;
}
.header_link_middle_box1>a:nth-child(n+2){
    margin-left: 32px;
}

.header_link_middle_box2 {
    display: flex;
    align-items: center;
    justify-content: end;
}

.header_link_bottom {
    display: flex;
    margin-top: 24px;
}
.header_link_bottom>.header_link {
    display: block;
    width: 192px;
    height: auto;
    color: var(--main_color);
    text-align: center;
    padding-top: 27px;
    padding-bottom: 27px;
    background: rgba(29,28,28,0.4);
    border: 1px solid #3B3830;
    transition: 0s;
    -webkit-transition: 0s;
    -moz-transition: 0s;
    -ms-transition: 0s;
    -o-transition: 0s;
}
.header_link_bottom>.header_link:nth-child(n+2){
    border-left: none;
}
.header_link_bottom>.header_link.active {
    border-top: 2px solid var(--main_color);
}
.header_link_bottom>.header_link:hover {
    opacity: 1;
    border-top: 2px solid var(--main_color);
}
.header_link_bottom>.header_link>span:first-child {
    display: block;
    font-family: var(--txt_en);
    font-size: 20px;
    line-height: 140%;
    letter-spacing: calc(20px * (4 / 100));
    margin-bottom: 10px;
}
.header_link_bottom>.header_link>span:last-child {
    display: block;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: calc(20px * (4 / 100));
}
.hamburger_box {
    display: none;
}
#sp_glonav {
    display: none;
}

header {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
    -moz-transition: opacity 0.5s ease, visibility 0.5s ease;
    -ms-transition: opacity 0.5s ease, visibility 0.5s ease;
    -o-transition: opacity 0.5s ease, visibility 0.5s ease;
}
header.is-visible {
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 1200px) {
    .header_box {
        max-width: 1000px;
    }
    .header_logo {
        width: 120px;
    }
    .header_link_top > a:not(:last-child) {
        width: 135px;
    }
    .header_link_top > a:last-child {
        width: 190px;
        text-align: center;
        padding: 10px 24px;
        margin-left: 20px;
    }
    .header_link_top>a>span:first-child {
        font-size: 12px;
    }
    .header_link_top>a>span:last-child {
        font-size: 10px;
    }
    .header_link_middle_box1>a:nth-child(n+2) {
        margin-left: 20px;
    }
    .header_link_middle_box2 .fv_link_tel {
        font-size: 20px;
        margin-right: 20px;
    }
    .header_link_middle_box2 .fv_link_btn {
        font-size: 14px;
    }
    .header_link_middle_box2 .change_lang {
        font-size: 14px;
    }
    .header_link_bottom>.header_link {
        width: 150px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .header_link_bottom>.header_link>span:first-child {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .header_link_bottom>.header_link>span:last-child {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1000px) {
    .header_box {
        max-width: 750px;
    }
    .header_logo {
        width: 100px;
    }
    .header_link_top > a:not(:last-child) {
        width: 90px;
    }
    .header_link_top > a:last-child {
        width: 130px;
        font-size: 12px;
        padding: 5px 10px;
        margin-left: 10px;
    }
    .header_link_top>a>span:first-child {
        font-size: 8px;
    }
    .header_link_top>a>span:last-child {
        font-size: 8px;
    }
    .header_link_middle_box1>a>svg {
        width: 16px;
    }
    .header_link_middle_box1>a:nth-child(n+2) {
        margin-left: 10px;
    }
    .header_link_middle_box2 .fv_link_tel {
        font-size: 12px;
        margin-right: 10px;
    }
    .header_link_middle_box2 .fv_link_btn {
        font-size: 10px;
        padding: 6px 10px 6px 30px;
    }
    .header_link_middle_box2 .fv_link_btn::after {
        left: 12px;
        width: 8px;
    }
    .header_link_middle_box2 .change_lang {
        font-size: 10px;
        padding: 6px 8px;
    }
    .header_link_bottom>.header_link {
        width: 100px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .header_link_bottom>.header_link>span:first-child {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .header_link_bottom>.header_link>span:last-child {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {
    header {
        opacity: 1;
        visibility: visible;
    }
    .header_box {
        padding-top: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .header_link_box {
        display: none;
    }
    .header_logo {
        width: 48px;
    }
    .hamburger_box {
        display: block;
    }
    #hamburger {
        position: relative;
        width: 42px;
        height: 42px;
        cursor: pointer;
        z-index: 1000;
        border: 1px solid var(--main_color);
        background-color: #1D1C1C;
        transition: 1s;
        -webkit-transition: 1s;
        -moz-transition: 1s;
        -ms-transition: 1s;
        -o-transition: 1s;
    }
    .inner_line {
        display: block;
        position: absolute;
        left: 50%;
        width: 21px;
        height: 1px;
        background-color: var(--main_color);
        transition: 0.3s;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }
    .line1 {
        top: 12.5px;
    }
    
    .line2 {
        top: 20.5px;
    }
    
    .line3 {
        top: 28.5px;
    }
    .in {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
    }
    .line_open_1 {
        top: 21px;
        left: 10px;
        transform: rotate(-225deg) translateX(0%);
        -webkit-transform: rotate(-225deg) translateX(0%);
        -moz-transform: rotate(-225deg) translateX(0%);
        -ms-transform: rotate(-225deg) translateX(0%);
        -o-transform: rotate(-225deg) translateX(0%);
    }
    .line_open_2 {
        opacity: 0;
    }
    .line_open_3 {
        top: 21px;
        left: 10px;
        transform: rotate(225deg) translateX(0%);
        -webkit-transform: rotate(225deg) translateX(0%);
        -moz-transform: rotate(225deg) translateX(0%);
        -ms-transform: rotate(225deg) translateX(0%);
        -o-transform: rotate(225deg) translateX(0%);
    }
    #sp_glonav {
        position: fixed;
        top: 0;
        left: 100%;
        background-color: var(--bg_color);
        transition: .3s;
        z-index: 20;
        display: block;
    }

    .sp_glonav_box {
        overflow-y: scroll;
        width: 100vw;
        height: calc(100svh - 60px);
        margin-top: 60px;
    }
}