@charset "utf-8";
/*=====================
ヘッダー本体
=====================*/
header {
    display: none;
}
.header {
    background-color: #67a5da;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
}
.clone-header {
    background-color: #67a5da;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
    transition: .3s;
    transform: translateY(-100%);
}
.header-box,
.head-box-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.is-show {
    transform: translateY(0);
}
/*=====================
ヘッダーロゴ
=====================*/
.head-logo {
    display: block;
    margin-left: 10px;
}
.head-logo img {
    display: block;
}
.head-logo h1 {
    color: #fff;
}
/*=====================
ナビゲーションボタン
=====================*/
.head-nav-bt {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    background-color: #fff;
    color: #67a5da;
    border-radius: 3px;
    z-index: 5;
    cursor: pointer;
    z-index: 300;
    display: flex;
    flex-direction: column;
}
.head-nav-bt p{
    font-size: 0.5rem;
    margin-top: 3px;
}
.bt-text {
    position: relative;
    display: flex;
    justify-content: center;
}
.bt-close {
    display: none;
}
.head-nav-bt span {
    display: block;
    background: #67a5da;
    width: 29px;
    height: 2px;
    transition: all 0.4s;
    -webkit-transition:all 0.4s;
    -moz-transition:all 0.4s;
}
.head-nav-bt span:first-child {
    margin-top: 8px;
    margin-left: 8px;
}
.head-nav-bt span:nth-child(2) {
    margin-top: 6px;
    margin-left: 8px;
}
.head-nav-bt span:nth-child(3) {
    margin-top: 6px;
    margin-left: 8px;
}
.head-nav-bt.active .bt-open {
    display: none;
}
.head-nav-bt.active .bt-close {
    display: block;
}
.head-nav-bt.active span:first-child {
    transform: translatey(8px) rotate(405deg);
    -webkit-transform: translatey(8px) rotate(405deg);
    -moz-transform: translatey(8px) rotate(405deg);
}
.head-nav-bt.active span:nth-child(2) {
    opacity: 0;
}

.head-nav-bt.active span:nth-child(3) {
    transform: translatey(-8px) rotate(-405deg);
    -webkit-transform: translatey(-8px) rotate(-405deg);
    -moz-transform: translatey(-8px) rotate(-405deg);
}

/*=====================
ヘッダーナビゲーション本体
=====================*/
.head-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    background-color: #67a5da;
    padding: 70px 20px 0;
    box-sizing: border-box;
    display: none;
    z-index: 200;
}

.main-cover{
    position: fixed;
    width: 100%;
    visibility: hidden;
    z-index: -1;  
    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}
.main-cover.active{
    height:100%;
    visibility: visible;
    background:rgba(255,255,255,0.7);
    z-index:100;
}
/*=====================
ナビゲーション
=====================*/
.head-menu {
    position: relative;
    width: 100%;
}
.head-menu li {
    border-bottom: solid 1px #fff;
}
.head-menu a{
    display: block;
    color: #fff;
    padding: 10px;
}
.head-menu .menu-item-has-children{
    position: relative;
}

.head-sub-bt {
    display: block;
    width: 33px;
    height: 33px;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    border-radius: 3px;
}

.head-sub-bt:before {
    content: "";
    position: absolute;
    right: 12px;
    top: 9px;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 8px;
    height: 8px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.head-sub-bt.active:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 45%;
}
/*=======================
ナビゲーションサブメニュー
=======================*/
.head-menu .sub-menu {
    z-index: 5;
    width: 100%;
}
.head-menu .sub-menu li:first-child {
    border-top: solid 1px #fff;
}
.head-menu .sub-menu li:last-child {
    border-bottom: none;
}
/*=====================
メディアクエリ1024px以上
=====================*/
@media(min-width:1025px) {
    /*=====================
    ヘッダー本体
    =====================*/
    .head-box-a,
    .header-box {
        max-width: 1354px;
        margin: 0 auto;
    }

    /*=====================
    ナビゲーションボタン
    =====================*/
    .head-nav-bt {
        display: none;
    }
    /*=====================
    ヘッダーナビゲーション本体
    =====================*/
    .head-nav {
        display: block;
        position: static;
        background: none;
        width: auto;
        height: auto;
        padding: 0;
        flex: 1;
    }
    .head-cover {
        display: none;
    }
    /*=====================
    ナビゲーション
    =====================*/
    .head-menu ul{
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .head-menu li {
        border-bottom: none;
    }
    .head-menu a {
        position: relative;
        display: inline-block;
        text-decoration: none;
        margin: 0 10px;
        padding: 10px 0;
    }
    .head-menu a::after {
        position: absolute;
        bottom: 2px;
        left: 0;
        content: "";
        width: 100%;
        height: 2px;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }
    .head-menu a:hover::after {
        bottom: -4px;
        opacity: 1;
        visibility: visible;
        z-index: 10;
    }
    .sub-bt {
        display: none;
    }
    /*=======================
    ナビゲーションサブメニュー
    =======================*/
    .head-menu .sub-menu {
        position: absolute;
        background-color: #0065b2;
        width: 300px;
        text-align: left;
        display: none;
        right: 0;
    }
    .head-menu .sub-menu a{
        display: block;
        margin: 0;
        padding: 0 0 10px;
    }
    .head-menu .sub-menu a::after{
        background: none;

    }
    .head-menu .sub-menu li:first-child {
        border-top: none;
    }
    .head-menu .sub-menu li {
        border-bottom: solid 1px #fff;
        padding: 10px 10px 0;
    }
    .head-menu .sub-menu a:hover {
        opacity: 0.7;
    }
}
/*=====================
メディアクエリ1354px以上
=====================*/
@media(min-width:1354px) {
    /*=====================
    ヘッダーロゴ
    =====================*/
    .head-logo {
        margin-left: 0;
    }
    
    }
    