/* .hd0001 ---------------------- */

.hd0001 {
    position: fixed;
    background: #fff;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.hd0001::before {
    position: absolute;
    content: "";
    z-index: -1;
    background: #E4F1FD;
    top: 0;
    width: 100%;
    height: 40px;
}

@media only screen and (max-width: 1024px) {
    .hd0001::before {
        height: 24px;
    }
}


.hd0001 .header-flex {
    display: flex;
    justify-content: space-between;
    height: 120px;
    width: 1200px;
    width: 100%;
    padding: 6px 0;
}

@media only screen and (max-width: 1024px) {
    .hd0001 .header-flex {
        padding: 0;
    }
}

.hd0001 .header-logo {
    max-width: 300px;
    width: 100%;
}

@media only screen and (max-width: 1200px) {
    .hd0001 .header-logo {
        width: 200px;
    }

}

.site-title {
    font-size: 16px;
}

.logo-text {
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: bold;
    display: block;
}

@media only screen and (max-width: 1024px) {
    .logo-text {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

.g-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    gap: 1.6vw;
}

.g-nav .menu li {
    position: relative;
    font-weight: bold;
}

.g-nav .menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
}


.g-nav .sub-menu {
    visibility: hidden;
    opacity: 0;
    display: block;
    position: absolute;
    top: 25px;
    top: 100%;
    left: 0;
    z-index: 500;
    color: #fff;
    /* transition: all .5s; */
    width: 100%;
    border: none;
}

.g-nav .sub-menu {
    display: block;
}

.g-nav .menu-item-162,
.g-nav .menu-item-161 {
    position: relative;
}

.g-nav .menu-item-162::before,
.g-nav .menu-item-161::before {
    position: absolute;
    content: "";
    right: 3px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}


.g-nav .menu li:hover ul {
    visibility: visible;
    opacity: 1;
}



.g-nav .sub-menu li {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    background: var(--accent-color);
    width: 250px;
    font-weight: normal;
}

.g-nav .sub-menu li a {
    display: block;
    white-space: nowrap;
    padding: .7em 1em;
    border-bottom: solid 1px #ffffff46;
    /* margin-bottom: 2px; */

}

.g-nav .sub-menu li a:hover {
    color: #fff;
    text-decoration: none;
    opacity: .7;
}

.g-nav .sub-menu li:last-child {
    border: none;
    margin-bottom: 0;
}

/* 
-------------------------------------------- */

.mainnav-flex {
    display: flex;
    justify-content: flex-end;
}

.mainnav-content {
    margin-left: auto;
}



.hd0001 .mainnav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    gap: 8px;
}


.hd0001 .mainnav-list li {
    display: inline-block;
    font-weight: 500;
    font-size: min(1.1vw, 14px);
    line-height: 1.4;
}

.hd0001 .mainnav-list .hd-tel {
    font-size: 20px;
    font-weight: bold;

}

.icon-tel-hd {
    width: 16px;
    margin-right: 5px;
    margin-bottom: 5px;
}



@media only screen and (max-width: 1024px) {

    .hd0001 {
        width: 100%;
    }



    .hd0001 .header-flex {
        margin-top: 0;
        height: 64px;
        width: 100%;
    }

    .g-nav .g-nav {
        height: auto;
    }

    .g-nav .menu {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 0;
    }

    .g-nav .menu li {
        text-align: left;
        position: relative;
        /* padding: 0 .5em; */
        width: 100%;
        flex-direction: column;
    }

    .g-nav .menu li a {
        padding: 1em;
        padding-left: 1.5em;
        width: 100%;
        border-bottom: 1px solid #eee;
        justify-content: flex-start;

    }

    .g-nav .sub-menu li:last-child a {
        border-bottom: none;
    }

    .g-nav .menu li a:hover {
        background: rgba(51, 51, 51, 0.8);
        background: var(--main-color);
        text-decoration: none;
        opacity: 1;
    }


    .g-nav .sub-menu {
        visibility: hidden;
        opacity: 0;
        display: block;
        position: absolute;
        top: 25px;
        top: 100%;
        left: 0px;
        z-index: 500;
        color: #fff;
        /* transition: all .5s; */
        width: 100%;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .g-nav .sub-menu li {
        border-bottom: none;

    }

    .g-nav .sub-menu li a {
        position: relative;
        padding-left: 2em;
    }

    /* .g-nav .sub-menu li a:before {
        position: absolute;
        top: 50%;
        left: 0;
        content: "";
        background: #fff;
        width: 8px;
        height: 1px;
    } */


    .g-nav .menu li:hover ul {
        visibility: visible;
        opacity: 1;
    }


    .g-nav .sub-menu li {
        width: 100%;
        margin-left: 0;
        text-align: left;
        width: 280px;
        font-weight: normal;
        width: 100%;
        padding: 0;
        color: var(--main-color);
        text-align: left;
        background: unset;

    }


    .sp-nav .sub-menu li a {
        display: block;
        font-size: 14px;
        font-weight: bold;
        padding: 1em;
        padding-left: 2em;
        text-decoration: none;
        border-bottom: none;
        white-space: normal;
        position: relative;
        background: #F4F7FB;
        border-bottom: 1px solid #eee;
        margin-bottom: 0;
    }

    /* .sp-nav .sub-menu li a::before {
        position: absolute;
        content: "−";
        color: #fff;
        left: 1em;
        padding-right: .5em;
    } */

    /* .sp-nav .sub-menu li a:hover {
        background: rgba(51, 51, 51, 0.8);
    } */

    .g-nav .sub-menu li a:hover {
        color: #fff;
        text-decoration: none;
        opacity: .7;
    }
    .g-nav .menu li a:hover {
        color: #fff;
        text-decoration: none;
        opacity: .7;
    }

    .g-nav .sub-menu li:last-child {
        border: none;
    }

    .g-nav .sub-menu {
        display: none;
    }

    .g-nav .menu .menu-item-394 .sub-menu {
        display: none;
    }

    .g-nav .is-active .sub-menu.is-open {
        display: block;
        width: 100%;
        position: unset;
        animation: fadeIn 0.5s ease;
        visibility: visible;
        opacity: 1;
    }



    .g-nav .js-drildown-trigger {
        position: absolute;
        right: 1em;
        top: 0;
        display: block;
        width: 40px;
        height: 40px;
    }

    .g-nav .js-drildown-trigger::after {
        content: "";
        position: absolute;
        right: 0;
        top: 25px;
        display: block;
        width: 12px;
        height: 2px;
        background-color: var(--main-color);
    }

    .g-nav .js-drildown-trigger::before {
        content: "";
        position: absolute;
        right: 5px;
        top: 20px;
        display: block;
        width: 2px;
        height: 12px;
        background-color: var(--main-color);
    }

    .is-active .js-drildown-trigger::before {
        display: none;

    }



}

.head-p {
    padding-top: 120px;
}

@media (max-width: 1024px) {
    .head-p {
        padding-top: 64px;
    }
}


.sp-nav {
    display: none;
}

/*============
  nav
  =============*/

@media only screen and (max-width: 1024px) {

    .sp-nav {
        display: block;
        position: fixed;
        top: 64px;
        left: -100%;
        bottom: 0;
        width: 100%;
        height: 100vh;
        padding-bottom: 220px;
        background: #fff;
        color: var(--main-color);
        overflow-x: hidden;
        overflow-y: auto;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 3;
        opacity: 0;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16) inset;
    }

    .open .sp-nav {
        left: 0;
        opacity: 1;
    }

    .sp-nav .inner {
        /* padding: 16px; */
    }

    .sp-nav .inner .mainnav {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sp-nav .inner .mainnav li {
        position: relative;
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .sp-nav .inner .sub-nav li {
        border-bottom: none;
    }

    .sp-nav .inner .sub-nav li:last-child {
        border-bottom: 1px solid #eee;
    }

    .sp-nav .inner .mainnav li a {
        display: block;
        font-size: 16px;
        font-weight: bold;
        padding: 1em;
        text-decoration: none;
        transition-duration: 0.2s;
    }

    .sp-nav .inner .mainnav li a:hover {
        background: #ccc;
    }




    /*============
  .toggle_btn
  =============*/
    .toggle_btn {
        display: block;
        position: absolute;
        top: 35px;
        right: 16px;
        width: 24px;
        height: 19px;
        transition: all .5s;
        cursor: pointer;
        z-index: 99;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 24px;
        height: 1px;
        background-color: var(--main-color);
        border-radius: 4px;
        transition: all .5s;
    }

    .toggle_btn span:nth-child(1) {
        top: 0px;
    }

    .toggle_btn span:nth-child(2) {
        top: 9px;
    }

    .toggle_btn span:nth-child(3) {
        bottom: 0px;
    }

    .open .toggle_btn span {
        background-color: var(--main-color);
    }

    .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
    }

    .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }

    .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(315deg);
        transform: translateY(-8px) rotate(315deg);
    }

}
    /*============
  #mask
  =============*/
    #mask {
        display: none;
        transition: all .5s;
    }

    /* .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ccc;
        opacity: .8;
        z-index: 2;
        cursor: pointer;
    } */

}



/* fixed bottom-bar ---------------------- */

.hd0001-m {
    margin-bottom: 100px;
}

.hd0001-fixedbar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F4F4F4;
    color: #333;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    text-align: center;
}

.hd0001-fixedbar-bottom ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.2em;
    font-size: 24px;
    /* height: 80px; */
}

.hd0001-fixedbar-bottom .desc {
    font-weight: bold;

}

.hd0001-fixedbar-bottom .tel-btn {
    color: #251E1C;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    width: 100%;
    padding: .4em 0;
    height: 50px;
    line-height: 1.2;
}

.hd0001-fixedbar-bottom .mail-btn {
    color: #fff;
    background: #0068B7;
    border-radius: 10px;
    padding: 1em 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    text-align: center;
    position: relative;
    font-size: 16px;
}

.hd0001-fixedbar-bottom .mail-btn::before {
    position: absolute;
    content: "";
    right: 30px;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hd0001-fixedbar-bottom .mail-btn:hover {
    background: #ccc;
    opacity: 1;
}


.hd0001-fixedbar-bottom i {
    font-size: 14px;
    margin-left: 1em;
}

.hd0001-fixedbar-bottom .fa-envelope {
    font-size: 20px;
}

.hd0001-fixedbar-bottom .icon-freetel {
    width: 24px;
    margin-right: .5em;
    color: #251E1C;
}


@media (max-width: 1000px) {

    .hd0001-fixedbar-bottom .desc {
        font-size: 1.5vw;
    }
}

@media (max-width: 1024px) {

    .hd0001-fixedbar-bottom ul {
        flex-wrap: wrap;
    }

    .hd0001-fixedbar-bottom li {
        width: 50%;
        font-size: 16px;
        padding: 0 5px;
    }

    .hd0001-fixedbar-bottom .desc {
        width: 100%;
        font-size: 14px;
        margin-bottom: .5em;
    }

    .hd0001-fixedbar-bottom .tel-btn {
        border: solid 2px #0068B7;
        color: #0068B7;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        width: 100%;
        padding: .4em 0;
        height: 50px;
        line-height: 1.2;
    }

    .hd0001-fixedbar-bottom .mail-btn {
        color: #fff;
        background: #0068B7;
        border-radius: 8px;
        width: 100%;
        padding: .4em 0;
        height: 50px;
        font-size: 16px;
    }

    .hd0001-fixedbar-bottom .mail-btn::before {
        right: 14px;
    }
}



