header{
    padding: 15px 0;
    background: #FFF8F3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.header.active{
    opacity: 1!important;
    transform: translateY(0);
}

.header__inner{
    max-width: calc(1356px + 30px);
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.header__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_logo{
    margin-right: 48px;
}

.header__menu{
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__items{
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__link{
font-weight: 700;
font-size: 15px;
line-height: 100%;
letter-spacing: normal;
color: #1B1E49;
position: relative;
}

.header__link:hover{
    color: #B81C22;
}

.header__link:hover::before{
    position: absolute;
    content: "";
    background-image: url(../img/pc/top/hd_gnavi_hover.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 44px;
    height: 39px;
    z-index: -1;
}

.header__btns{
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 370px;
    width: 100%;
}

.header__btn{
    background: #1B1E49;
    border: 1px solid #1B1E49;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: normal;
    max-width: 180px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 11.5px 0;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header__btn:hover{
    background: transparent;
    color: #1B1E49;
}

.header__btn:hover path{
stroke: #1B1E49;
}

.header__btn:nth-of-type(2){
    background: #B81C22;
    border-color: #B81C22;
}

.header__btn:nth-of-type(2):hover{
    background: transparent;
    color: #B81C22;
}

.header__btn:nth-of-type(2):hover path{
    stroke: #B81C22;
}

.header__btn__icon{
    transition: all 0.3s ease;
}

.header__btn:hover .header__btn__icon{
    transform: translateX(10px);
}


.header__humburger{
    width: 25px;
    height: 20px;
    position: relative;
    display: none;
    cursor: pointer;
    z-index: 102;
}

.header__humburger span{
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background: #B81C22;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.header__humburger span:nth-of-type(2){
    top: 50%;
    transform: translateY(-50%);
}

.header__humburger span:nth-of-type(3){
    bottom: 0;
    top: unset;
}

/* ハンバーガーアイコンのアクティブ状態 */
.header__humburger.active span:nth-of-type(1){
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1px;
}

.header__humburger.active span:nth-of-type(2){
    opacity: 0;
}

.header__humburger.active span:nth-of-type(3){
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: -1px;
}

/* ドロワーオーバーレイ */
.drawer{
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 101;
    transition: right 0.3s ease;
}

.drawer.active{
    right: 0;
	opacity: 1!important;
}

/* ドロワーコンテンツ */
.drawer__panel{
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    background: #fff;

}

.drawer__inner{
    padding: 0 15px;
    height: 100%;
    width: 100%;
    display: flex;
}

.drawer__content{
    width: 100%;
    margin-top: 64px;
}


.drawer__btns{
    gap: 10px;
    max-width: none;
    margin-top: auto;
}

.drawer__btns .header__btn{
    max-width: none;
    width: calc(50% - 10px * 1 / 2);
}

.drawer__title{
font-weight: 700;
font-size: 14px;
line-height: 100%;
letter-spacing: normal;
color: #B81C22;
padding: 17px 20px;
border-bottom: 1px solid #DFDFDF;
position: relative;
cursor: pointer;
}

.drawer__title::before{
content: '';
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 2px;
background: #B81C22;
transition: transform 0.3s ease;
}

.drawer__title::after{
content: '';
position: absolute;
right: 25px;
top: 50%;
transform: translateY(-50%) rotate(90deg);
width: 2px;
height: 12px;
background: #B81C22;
transition: transform 0.3s ease;
}

.drawer__title.active::after{
transform: translateY(-50%) rotate(0deg);
}

.drawer__items{
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    background: #FFF8F3;

}

.drawer__link{
font-weight: 500;
font-size: 14px;
line-height: 36px;
letter-spacing: normal;
color: #1B1E49;
padding: 0 20px;

}

/* ドロワーオープン時のボディスクロール禁止 */
body.drawer-open{
    overflow: hidden;
}

.drawer__message{
    text-align: center;
    margin-top: 20px;
}

.drawer__message span{
    font-weight: 700;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: normal;
    color: #B81C22;
    position: relative;
}

.drawer__message span::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background: #B81C22;
    top: 50%;
    left: -15px;
    transform: translateY(-50%) rotate(-45deg);
}

.drawer__message span::after{
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background: #B81C22;
    top: 50%;
    right: -15px;
    transform: translateY(-50%) rotate(45deg);
}

.drawer__sns{
    text-align: center;
    margin-top: 8px;
    padding-bottom: 20px;
}

@media screen and (max-width: 1300px) {
    .header__logo{
        max-width: 200px;
    }

    .header__items{
        gap: 15px;
    }

    .header__btn{
        max-width: 120px;
        line-height: 18px;
    }

    .header__btns{
        max-width: 250px;
    }
}

@media screen and (max-width: 991px) {
    .header__menu{
        display: none;
    }

    .header__btns{
        display: none;
    }

    .header__content{
        justify-content: space-between;    
    }

    .header__logo{
        max-width: 239px;
    }

    .drawer__btns.header__btns{
        display: flex;
        margin-top: 0;
        width: 100%;
        padding: 20px 0;
    }
    .header__humburger{
        display: block;
    }
}

/* オーバーレイ */
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #B81C2266;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active{
    opacity: 1;
    visibility: visible;
}