

*{
    font-family: "Hiragino Kaku Gothic Std","ヒラギノ角ゴ Std","Hiragino Sans","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
}

.header{
    width: 100%;
    height: 90px;
    position: fixed;
    z-index: 9999;
    top: 0;
    background: #fff;
    border-bottom: 5px solid #1991d9;
    box-sizing: border-box;
}

.header_wrap{
    width: 1700px;
    margin: 0 auto;
    display: flex;
    height: 100%;
    align-items: center;
}

.header_logo-img{
    width: 200px;
}
.header_logo-img img{
    width: 100%;
    height: auto;
    vertical-align: top;
}





.header_btn{
    display: flex;
    align-items: center;
    margin: 0 0 0 auto;
    height: 100%;
}
.header_btn_wrap{
    width: 110px;
    height: 100%;
    position: relative;
}

.header_btn_wrap::before{
    content: '';
    display: block;
    width: 60px;
    height: 7px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: .5s ease;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.header_active::before{
    background: #1991d9;
}

.header_btn_wrap:hover::before{
    background: #1991d9;
}
.header_btn_wrap a{
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.header_search-btn{
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    cursor: pointer;
}

.header_btn_img{
    width: 50px;
    margin: 0 auto 5px;
    transition: .3s ease;
}
.header_btn_img img{
    width: 100%;
    height: auto;
}
.header_btn_wrap:hover .header_btn_img{
    transform: scale(1.2);
    transition: transform 0.3s 0s cubic-bezier(0.32, 2.03, 0.6, 1.93);
    transform-origin: center;
}
.header_btn_text{
    text-align: center;
}
.header_btn_text p{
    font-size: 15px;
    font-weight: 600;
    color: #5a5a5a;
}

.header_btn_happinet-wrap{
    height: 100%;
    width: 140px;
    background: #0D62C1;
    margin: 0 0 0 20px;
}
.header_btn_happinet-wrap a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.header_btn_happinet{
    width: 115px;
    margin: 0 auto;
}
.header_btn_happinet img{
    width: 100%;
    height: auto;
}


/* 検索フォーム */
.header_searchform{
    width: 100%;
    height: 110px;
    position: fixed;
    z-index: 9998;
    top: 80px;
    background: rgba(246,246,246,0.9);
    align-items: center;
    display: none;
}
.header_searchform-wrap{
    display: flex;
    position: relative;
    margin: 0 auto;
}
.header_searchform-wrap form{
    width: 650px;
    border-radius: 35px;
    background: #fff;
    margin: 0;
    display: flex;
    align-items: center;
}
.header_searchform-input{
    margin: 0 0 0 25px;
    width: 550px;
}
.header_searchform-input input{
    width: 100%;
    border: none;
    font-size: 15px;
    font-weight: 300;
    color: #646464;
    padding: 23.5px 0;
    border-radius: 35px;
}
.header_searchform-input input:focus-visible{
    border: none;
    outline: none;
}
.header_searchform-btn{
    margin: 0 30px 0 auto;
}

.header_searchform-btn button{
    height: 30px;
    width: 30px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;

}
.header_searchform-btn button img{
    width: 100%;
    height: 100%;
}

.header_searchform-close{
    position: absolute;
    right: -30px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.header_searchform-close_btn{
    transform: rotate(45deg)translate(5px,-1px);
}
.header_searchform-close_btn span{
    width: 20px;
    height: 3px;
    border-radius: 20px;
    display: block;
    background: #1991d9;
    transform: translate(0,7.5px);
}
.header_searchform-close_btn span:nth-child(2){
    transform: rotate(-90deg)translate(-4.8px,0.3px);
}


@media screen and (max-width:1760px) {
    .header_wrap{
        width: calc(100% - 80px);
    }
}

@media screen and (max-width:1500px){
    .header{
        height: 80px;
    }
    .header_logo-img{
        width: 193px;
    }
    .header_btn_wrap{
        width: 105px;
    }
    .header_btn_img{
        width: 45px;
    }
    .header_btn_text p{
        font-size: 14px;
        font-weight: 700;
    }
    .header_btn_happinet-wrap{
        width: 135px;
    }
    .header_btn_happinet{
        width: 110px;
    }
}

@media screen and (max-width:1200px) {
    .header{
        height: 75px;
    }
    .header_logo-img{
        width: 185px;
    }
    .header_btn_wrap{
        width: 100px;
    }
    .header_btn_img{
        width: 40px;
    }
    .header_btn_text p{
        font-size: 13px;
        font-weight: 700;
    }
    .header_btn_happinet-wrap{
        width: 130px;
    }
    .header_btn_happinet{
        width: 105px;
    }
}
.header_btn-2{
    width: 100%;
    display: none;
    position: relative;
    margin: 0 auto;
    background: rgba(246,246,246,0.9);
    padding: 20px 0;
}
.header_btn-2_wrap{
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    margin: 5px 0 0;
    display: none;
}
.header_hum{
    display: none;
    position: relative;
    width: 30px;
    height: 26px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
    margin: 0 0 0 auto;
}
.header_hum span{
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #1991d9;
    border-radius: 4px;
    transition: all .4s;
}
.header_hum span:nth-of-type(1){
    top: 0;
}
.header_hum span:nth-of-type(2){
    top: 11px;
}
.header_hum span:nth-of-type(3){
    bottom: 0;
}
.header_hum-active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}
.header_hum-active span:nth-of-type(2) {
    opacity: 0;
}
.header_hum-active span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg);
}




.header_searchform-sp{
    width: 100%;
    border-bottom: 1px solid #1991d9;
    padding: 0 0 15px;
}
/* タブレット */
@media screen and (max-width:980px) {
    .header{
        height: 60px;
        border-bottom: 3px solid #1991d9;
    }
    .header_hum{
        display: block;
    }
    .header_btn{
        display: none;
    }
    .header_btn-2{
        display: block;
    }
    .header_btn_wrap{
        width: 100%;
        border-bottom: 1px solid #1991d9;
    }
    .header_btn_wrap::before{
        display: none;
    }
    .header_btn_wrap a{
        flex-flow: nowrap;
        align-items: center;
        justify-content: start;
        padding: 15px 40px;
    }
    .header_logo-img{
        width: 140px;
    }
    .header_btn_img{
        width: 50px;
        margin: 0 15px 0 0;
    }
    .header_btn_text p{
        font-size: 14px;
    }

    .header_btn_happinet-wrap{
        width: 170px;
        height: 75px;
        margin: 15px 40px;
    }

    .header_btn-2_wrap{
        margin: 3px 0 0;
    }
    .header_searchform-sp{
        display: block;
    }
    .header_searchform-wrap{
        width: calc(100% - 80px);
    }

}
/* スマホ */
@media screen and (max-width:780px) {
    .header_wrap{
        width: calc(100% - 30px);
    }
    .header_btn_wrap a{
        padding: 15px 15px;
    }
    .header_btn_happinet-wrap{
        margin: 15px 15px;
    }
    .header_searchform-wrap{
        width: calc(100% - 30px);
    }
    .header_searchform-wrap form{
        width: 100%;
    }
}