@charset "UTF-8";

/* ヘッダー
***************************************************************/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 50px;
}

.logo_content {}

.logo_content .logo {}

.logo_content .logo a {}

/* ハンバーガーメニュー非表示 */
.toggle-menu {
    display: none;
}

/* ヘッダーリンク */
.header_nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.global_nav {}

.global_nav ul {
    display: flex;
    gap: 40px;
    position: relative;
    top: 6px;
}

.global_nav ul li {
}

.global_nav ul li a {
    font-size: 17px;
    position: relative;
    overflow: hidden;
    padding-bottom: 6px;
}
.global_nav ul li a::before {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    border-bottom: 3px solid #3EB6CF;
    transition: .3s;
}

.header_contact ul {
    display: flex;
}
.header_contact ul li {
    
}
.header_contact ul li.item1 a {
    background: #F7F7F7;
}
.header_contact ul li.item2 a {
    background: #333333;
    color: #fff;
}
.header_contact ul li.item3 a {
    background: #3EB6CF;
    color: #fff;
    padding: 12px 0 5px;
}
.header_contact ul li  a {
    display: block;
    width: 115px;
    text-align: center;
    padding: 12px 0;
    transition: .3s;
}

.header_contact ul li a img {
    width: 24px;
}
.header_contact ul li a p {
    font-size: 14px;
    margin-top: 9px;
}
.header_contact ul li.item3 a p {
    line-height:1.07;
}
.header_contact ul li.item3 a p .sp_only {
    display: none;
}
@media screen and (min-width: 769px) {
    .global_nav ul li a:hover::before {
        left: 0;
    }
    .header_contact ul li a:hover {
        opacity: .7;
    }
}
@media screen and (max-width: 1440px) {
    .header_inner {
        margin-left: 20px;
    }
    .header_nav {
        gap:20px;
    }
    .global_nav ul {
        gap: 20px;
    }
    .global_nav ul li a {
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {

    header {
        padding: 10px 0;
    }

    .header_inner {
        display: block;
        margin: 0 10px;
    }

    .logo_content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1000;
    }

    .logo_content .logo {
        width: 94px;
     
    }

    .logo_content .logo a {}

    /* ハンバーガーメニュー */
    .toggle-menu {
        display: inline-block;
        width: 34px;
        height: 23px;
        position: relative;
        z-index: 100;
    }
    .toggle-menu::before {
        content: "Menu";
        display: inline-block;
        font-size: 12px;
        letter-spacing: 0.04em;
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        color: #3EB6CF;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%,0);
        line-height: 1;
        transition: .3s;
    }

    .toggle-menu .toggle-line {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%,0);
        width: 6px;
        height: 6px;
        background-color: #3EB6CF;
        border-radius: 50%;
        transition: 0.3s;
    }

    .toggle-menu .toggle-line::before,
    .toggle-menu .toggle-line::after {
        content: "";
        position: absolute;
        top: 0;
        width: 6px;
        height: 6px;
        background-color: #3EB6CF;
        border-radius: 50%;
        transition: .3s;
    }

    .toggle-menu .toggle-line::before {
        left: -10px;
        -webkit-animation: menu-barTop 0.6s forwards;
        animation: menu-barTop 0.6s forwards;
    }

    .toggle-menu .toggle-line::after {
        right: -10px;
        -webkit-animation: menu-barBottom 0.6s forwards;
        animation: menu-barBottom 0.6s forwards;
    }

    .header_nav {
        position: fixed;
        top: 0;
        left: 0;
        padding: 0 48px 45px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        background-color: #fff;
        z-index: 90;
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: 0.3s ease-out;
        transition: 0.3s ease-out;
        gap: 0;
    }

    .global_nav {
        margin-top: 75px;
        width: 100%;
    }
    .open .toggle-menu::before {
        color: #333;
        content: "Close";
    }
    .open .toggle-menu {
        -webkit-transition: all 0.5s linear 1s;
        transition: all 0.5s linear 1s;
    }

    .open .toggle-menu .toggle-line {
        background-color: #333;
    }

    .open .toggle-menu .toggle-line::before {
        background-color: #333;
        -webkit-animation: active-menu-barTop 0.6s forwards;
        animation: active-menu-barTop 0.6s forwards;
        transform: rotate(-45deg);
        left: 0;
    }

    .open .toggle-menu .toggle-line::after {
        background-color: #333;
        -webkit-animation: active-menu-barBottom 0.6s forwards;
        animation: active-menu-barBottom 0.6s forwards;
        transform: rotate(45deg);
        right: 0;
    }

    .open .header_nav {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        overflow: auto;
    }

    .global_nav ul {
        flex-flow: column;
        top: 0;
        gap: 0;
    }

    .global_nav ul li {}

    .global_nav ul li a {
        color: #333;
        padding-bottom: 0;
        display: block;
        border-bottom: 1px solid #707070;
        padding: 12px 0;
    }
    .header_contact{
        margin-top: 30px;
        width: 100%;
    }
    .header_contact ul {
        flex-flow: column;
        gap: 25px;
    }

    .header_contact ul li {}

    .header_contact ul li a {
        width: 100%;
        padding: 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .header_contact ul li a img {
        width: 19px;
    }

    .header_contact ul li a p {
        font-size: 15px;
        margin-top: 0;
        line-height: 1;
    }
    .header_contact ul li.item3 a {
        padding: 12px 0;
    }
    .header_contact ul li.item3 a p {
        line-height: 1.5;
    }
    
    .header_contact ul li.item3 a p .sp_only {
        display: inline-block;
    }
    .header_contact2 {
        margin-top: 25px;
    }

    .header_contact2 .tel {
        font-size: 26px;
        text-align: center;
    }
    .header_contact2 .tel::before {
        content: "";
        display: inline-block;
        background-image: url(../../images/icon-phone.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        vertical-align: middle;
        width: 23px;
        height: 23px;
        margin-right: 10px;
        position: relative;
        top: -2px;
    }
    .header_contact2 .text {
        font-size: 14px;
        margin-top: 5px;
    }

    .header_contact2 .sns {
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .header_contact2 .sns a {}

    .header_contact2 .sns a img {
        width: 30px;
    }
}