#header {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 1140px;
    padding: 0.97% 0 0;
    margin: 0 auto;
    margin-bottom: 1em;
}

@media (max-width: 767px) {
    #header {
        padding: 0 2.2%;
    }
}

#header img {
    max-width: 100%;
    vertical-align: top;
}

#header .header__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media (min-width: 768px) {
    #header .header__head {
        padding: 0 1.3%;
    }
}

#header .header__head .logo__wrap {
    width: 55%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: end;
    align-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (max-width: 767px) {
    #header .header__head .logo__wrap {
        margin-right: 18%;
        width: 84%;
    }
}

#header .header__head .logo__img {
    width: 70vw;
}

@media (max-width: 767px) {
    #header .header__head .logo__img {
        width: 41.2%;
        padding-left: 2px;
    }
}

#header .header__head .logo__text {
    margin-left: 45px;
    font-size: 14px;
}

@media (max-width: 767px) {
    #header .header__head .logo__text {
        width: 64%;
        margin-left: 3.8%;
        font-size: 10px;
        padding-top: 6px;
    }
}

#header .header__head .tel__wrap {
    max-width: 176px;
    justify-content: end;
}

@media (max-width: 767px) {
    #header .header__head .tel__wrap {
        display: none;
    }
}

#header .header__head .tel__text {
    font-size: 11px;
    line-height: 16px;
    color: #1b982a;
}

@media (min-width: 768px) {
    #header .header__head .tel__text {
        margin-top: -5px;
    }
}

#header .subnav__wrap,
#header .cta__wrap,
#header #nav_toggle,
#header .nav__inner > .logo__wrap,
#header .nav__inner > .tel__wrap {
    display: none;
}

@media (max-width: 767px) {
    #header .nav__wrap {
        display: none;
    }
}

#header #nav_toggle {
    display: none;
}

@media (max-width: 767px) {
    #header #nav_toggle {
        position: fixed;
        top: -6px;
        z-index: 999;
        display: block;
        width: 60px;
        height: 60px;
        cursor: pointer;
        background: url("../images/sp_header_menu.png") no-repeat right bottom;
        background-size: contain;
    }
}

@media (max-width: 767px) {
    #header {
        width: 100%;
    }

    #header.open {
        position: absolute;
        z-index: 996;
        padding: 0;
        overflow: scroll;
    }

    #header.open .header__head {
        display: none;
    }

    #header.open .nav__wrap {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 998;
        display: block;
        width: 100%;
        height: 100vh;
        padding: 60px 6.6% 120px;
        margin: 0 auto;
        overflow-y: scroll;
        background: #fff;
    }

    #header.open .nav__wrap > div {
        overflow: auto;
    }

    #header.open .nav__wrap .nav {
        margin-top: 20px;
    }

    #header.open .nav__wrap .subnav__wrap {
        display: block;
    }

    #header.open .nav__wrap .cta__wrap {
        display: block;
        margin-top: 32px;
    }

    #header.open .nav__wrap .logo__wrap {
        display: block;
        margin-top: 38px;
    }

    #header.open .nav__wrap .logo__img {
        width: 61.7%;
        margin: 0 auto;
    }

    #header.open .nav__wrap .logo__text {
        margin-top: 16px;
        font-size: 14px;
        text-align: center;
    }

    #header.open .nav__wrap .tel__wrap {
        display: block;
        width: 74.5%;
        margin: 16px auto 0;
        text-align: center;
    }

    #header.open .nav__wrap .tel__text {
        margin-top: 12px;
        font-size: 11px;
        line-height: 1.45;
        color: #1b982a;
    }

    #header.open #nav_toggle {
        display: block;
        background: url("../images/sp_header_close.png") no-repeat right bottom;
        background-size: contain;
    }
}

#header .header__head .tel__wrap {
    max-width: 300px;
}

@media (min-width: 768px) {
    #header .header__head .tel__text {
        margin-top: 5px;
        font-size: 18px;
        text-align: center;
    }
}

#header .header__head {
    align-items: center !important;
}

#header .ex_link_top img {
    height: 50px;
    width: auto;
}

#header .header__head .tel__wrap {
    position: relative !important;
    margin-right: 70px !important;
}

@media (max-width: 767px) {
    #header .p_text.is-sp {
        font-size: 0.5rem;
    }

    #header.open .nav__wrap .tel__wrap {
        position: relative;
    }
}

@media (max-width: 767px) {
    #header {
        width: 100%;
        height: 60px;
    }

    #header.open .nav__wrap {
        padding: 0 0 150px !important;
    }

    #header .common_header_head {
        padding: 0 2.2%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    #header .common_header_body {
        padding: 0 5%;
    }

    #header .common_logo_wrap {
        -ms-flex-line-pack: end;
        align-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 6% 18% 0 2%;
    }

    #header p.common_logo_img {
        width: 41.2%;
        padding-left: 2px;
    }

    #header .common_logo_text {
        width: 55%;
        margin-left: 3.8%;
        font-size: 10px;
    }

    #header #nav_toggle {
        right: 0;
        top: 0;
        background: url(../images/common/common_menu.png) !important;
        background-size: cover !important;
    }

    #header.open #nav_toggle {
        background: url(../images/common/common_close.png) !important;
        background-size: cover !important;
    }

    #header .common_header_privacy {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 0.7rem;
        margin-top: 2em;
    }

    #header .common_header_privacy a {
        width: 100px;
    }

    #header .common_header_tel_btn {
        width: 100%;
        text-align: center;
        margin: 24px 0 0;
        font-weight: 500;
    }

    #header p.tel__text {
        text-align: left !important;
    }

    #header .acd_red {
        background-color: #d82300;
        color: white;
    }

    #header .acd_red .acod__contentsNav {
        color: #000000;
    }

    #header .acd_red .acod__switchNav::after {
        background: url(../images/common/icon_plus_white01.png) no-repeat right
            center;
        background-size: contain;
    }

    #header .acd_red .acod__switchNav.open::after {
        background: url(../images/common/icon_minus_white01.png) no-repeat right
            center;
        background-size: contain;
    }
}

#header .header__head {
    padding: 0 5%;
}

.tel__wrap {
    display: flex;
    max-width: 100% !important;
    align-items: center;
    gap: 4px;
}
