@charset "utf-8";

.header {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFF;
}

.header>.column {
    width: 98%;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}






.h_logo:hover {
    opacity: 50%;
}

.header .h_logo {
    max-width: 302px;
    width: 20%;
    flex: 1;
    transition: var(--default);
    padding: 10px 0;
}



.header .h_logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header .h_logo a .link-text {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
    color: #00428e;
}

.header .h_logo a img {
    width: 90%;
}




.h_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2%;
}

.h_menu .menu-item {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    color: #000;
    transition: var(--default);
    padding-right: 2%;
    border-right: 1px solid #b2b2b2;
}

.h_menu .menu-item:hover {
    opacity: 50%;
}

.h_contact {
    display: flex;
    gap: 3%;
    align-items: center;
    flex: 0 0 26%;
    justify-content: flex-end;
    align-self: stretch;
}

.h_contact .tel-link {
    flex: 1;
}

.h_contact .tel-link .column {
    justify-content: flex-end;
}

.h_contact .tel-link .column {
    display: flex;
    align-items: center;
    gap: 2%;
}

.h_contact .tel-link .column .icon {
    width: clamp(0.563rem, 0.426rem + 0.58vw, 1.125rem);
    height: auto;
}

.h_contact .tel-link .num {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(0.938rem, 0.68rem + 1.1vw, 2rem);
    color: #00428e;
}

.h_contact .tel-link .time {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(0.5rem, 0.439rem + 0.26vw, 0.75rem);
    text-align: right;
    color: #00428e;
}

.h_contact .mailform {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 96px;
    background: #00428e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
    text-align: center;
    color: #fff;
    align-self: stretch;
    aspect-ratio: 1/1;
    padding: clamp(0.375rem, 0.223rem + 0.65vw, 1rem) 0;
}

.h_contact .mailform img {
    width: clamp(1.188rem, 0.945rem + 1.04vw, 2.188rem);
    height: auto;
}




.hamburger,
.hamburger-menu,
.h_menu-sp {
    display: none;
}


@media (max-width: 1366px) {

    .header .h_logo a .link-text,
    .h_menu {
        display: none;
    }

    .header .h_logo {
        flex: auto;
    }

    .h_contact {
        margin-left: auto;
        gap: 5%;
        flex: 0 0 48%;
    }

    .h_menu-sp {
        display: block;
        align-self: stretch;
        flex: 0 0 13%;
        max-width: 73px;


    }

    .h_contact .mailform {
        max-width: 73px;
                flex: 0 0 27%;
    }

    .header .column {
        justify-content: flex-start;
        gap: 0;
    }

    .hamburger {
        height: 100%;
        width: 100%;
        display: block;
        position: relative;
        background: #FFF;
        border: 1px solid #00428e;
        aspect-ratio: 1 / 1;
    }

    .hamburger .line {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 28px;
        height: 2px;
        background-color: #00428E;
        transform: translate(-50%, -50%);
        transition: 0.3s ease;
    }

    /* 上 */
    .hamburger .line:nth-child(1) {
        transform: translate(-50%, -8px);
    }

    /* 中 */
    .hamburger .line:nth-child(2) {
        transform: translate(-50%, 0);
    }

    /* 下 */
    .hamburger .line:nth-child(3) {
        transform: translate(-50%, 8px);
    }

    /* active状態 */
    .hamburger.active .line:nth-child(1) {
        transform: translate(-50%, 0) rotate(45deg);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: translate(-50%, 0) rotate(-45deg);
    }

    .hamburger-menu {
        display: block;
        transform: translateX(100%);
        position: absolute;
        right: 0;
        width: 45%;
        height: calc(100svh - var(--header-height));
        transition: transform .4s ease;
        background-color: #FFF;
        overflow-y: auto;
    }

    .hamburger-menu.open {
        transform: translateX(0);
    }

    .hamburger-menu .menu-inner {
        width: 95%;
        margin: 0 auto;
        padding: 56px 0 50px;
        display: flex;
        flex-direction: column;
        gap: 120px;
    }

    .hamburger-menu .menu-inner .sp-menu {
        display: flex;
        flex-direction: column;
        gap: 46px;
    }

    .hamburger-menu .menu-inner .menu-item {
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: 16px;
        text-align: center;
        color: #000;
    }

    .menu-address {
        font-family: var(--font-sans);
        font-weight: 500;
        font-size: 14px;
        line-height: 2;
        text-align: left;
        color: #000;
    }

    .menu-address a {
        display: block;
        margin-bottom: 6px;
    }

    .menu-address .column {
        display: flex;
    }


}

@media (max-width: 1200px) {}

@media (max-width: 767px) {
    .hamburger-menu {
        width: 100%;
    }
}

.gjs-dashed .header .has-child .child-menu {
    opacity: 1;
    visibility: visible;
}

.gjs-dashed .hamburger-menu {
    top: 100px;
    height: 70vh;
    transform: translateX(0);
}

.gjs-dashed .hamburger-menu {
    overflow-y: auto;
}