@charset "UTF-8";
/* Header用cssです。 */


/*PC用ヘッダー*/
.pc_header {
    width: 100%;
    height: 5rem;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #fff;
}
.header_wrapper{
    height:5rem;
    width:90%;
    display: flex;
    margin:0 auto;
    align-items: center;
}

/*スマホ用ヘッダー*/

.sp_header {
    display: flex;
    width: 100%;
    height: 3.5rem;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    padding-left:1rem;
    top: 0;
    z-index: 5;
    background-color: #fff;
    box-sizing:border-box;
}

/*ナビゲーション*/

.top_logo {
    height: 3rem;
    margin-right: auto;
}

.top_logo img {
    height: 100%;
    /* width: 100%; */
}

.nav_menu {
    display: inline-block;
    padding-right: 2rem;
    font-weight: bold;
}

.nav_menu a {
    display: block;
    position: relative;
    font-size: 1.2rem;
    color: #195ca5;
}

.nav_menu a::after {
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    content: '';
    width: 100%;
    height: 0.1rem;
    background: #195ca5;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

.nav_menu a:hover::after {
    transform: scale(1, 1);
}

.round_button {
    display: inline-block;
    padding-right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.round_button a {
    padding: 0.5rem 1rem 0.5rem 1rem;
    color: #fff;
    background-color: #195ca5;
    border-radius: 30px;
    transition:0.15s;
}

.round_button a:hover {
    background-color: #ffa836;
    transition:0.15s;
}


/*スマホ用メニューボタン*/


/* .menu_check{
    display:none;
} */
.menu_btn {
    width: 3.5rem;
    height: 3.5rem;
    border: none;
    font-size: 2.5rem;
    color: #fff;
    background-color: #195ca5;
}
.menu_btn i{
    text-align: center;
}

.sp_menu {
    position: absolute;
    top: 3.5rem;
    right: 0;
    margin: 0;
    padding: 0;
    background-color: rgb(51, 51, 51, 0.7);
    /*ハンバーガーボタン押されていないとき*/
    width: 0%;
    overflow: hidden;
}

.sp_menu.open_menu {
    /*ハンバーガーボタン押されたとき*/
    width: 100%;
}

.sp_menu li {
    height: 2rem;
    text-align: center;
    margin: 1rem 0;
}

.sp_menu a {
    display: block;
    font-weight: bold;
    line-height:2rem;
    font-size:1.4rem;
    color: #fff;
}
/*headerレスポンシブ*/
/*footerレスポンシブ*/
/*メディアクエリ(予定)
PC min-1025px
ﾀﾌﾞﾚｯﾄ　max-1024px
SP max-599px
*/
@media screen and (min-width:1025px) {
    .sp_header{
        display:none;
    }
}

@media screen and (max-width:1024px) {
    .sp_header{
        display:flex;
    }
    .pc_header{
        display:none;
    }
}
#header{
    display: inline-block;
    width: 100%;
    min-height: 5rem;
    height: 3.5rem;
}
@media screen and (max-width:599px) {
    #header{
        height: 3.5rem;
        min-height: 3.5rem;
    }
    .sp_header{
        display:flex;
    }
    .pc_header{
        display:none;
    }
    .top_logo{
        height:2.5rem;
    }
}
