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



.hd-flex {
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
    width: 80%;
    margin: auto;
    margin-top: 1em;
}

@media (max-width: 768px) {
    .hd-flex {
        margin-top: 3em;
    }
}


.hd-content {
    width: 47%;
}

.hd-img {
    width: 53%;
    /* border: 3px solid #009A3B;
    border-radius: 20px;
    padding: 8px; */
}

.hd-img img {

    border: 3px solid #009A3B;
    border-radius: 20px;
    padding: 8px;
}

@media (max-width: 768px) {

    .hd-flex {
        flex-direction: column;
    }

    .hd-content {
        width: 100%;

    }

    .hd-img {
        width: 100%;
    }
}

.hd-catch {
    display: flex;
    color: #009A3B;
    align-items: center;

}

.hd-catch-ttl {
    font-size: min(3vw, 20px);
}

.hd-catch-sub-ttl {
    font-size: min(2.5vw, 15px);
}

.border-item {
    display: flex;
    align-items: center;
    width: 54%;
}

.border-item::after {
    display: block;
    content: ' ';
    flex-grow: 1;
    height: 1px;
    margin-left: 15px;
    margin-right: 15px;
    background-color: #009A3B;
}

.hd-catch span {
    font-size: 20px;
}

@media (max-width: 768px) {
    .hd-catch span {
        font-size: min(5vw, 20px);
    }

    .hd-catch {
        font-size: min(3vw, 14px);
        margin-top: 1em;
    }
}

.hd-logo {
    color: #009A3B;
    font-size: min(4vw, 48px);
}

@media (max-width: 768px) {

    .hd-logo {
        font-size: min(7vw, 28px);
    }

    .hd-logo-sp {
        position: fixed;
        top: 0;
        left: 0;
        padding-left: 4em;
        padding-top: 20px;
        padding-bottom: 20px;
        color: #009A3B;
        line-height: 1;
        width: 100%;
        font-size: min(6vw, 32px);
    }
}

.navbar-flex {
    display: flex;
    align-items: center;
    background: #009A3B;
    color: #fff;
    border-radius: 5px 0 0 5px;

}

.hd-content-text {
    width: 90%;
    margin-top: 2em;
}

@media (max-width: 768px) {
    .hd-content-text {
        width: 100%;
    }
}

.hd-content-text-ttl {
    font-size: 20px;
    margin-bottom: 1em;
}





.navbar-flex li a {
    display: inline-block;
    padding: 10px 24px;
    padding: .6em 1.3em;
    font-weight: bold;
}

.mainnav li {
    position: relative;
}

.mainnav li ul {

    visibility: hidden;
    opacity: 0;
    display: block;
    position: absolute;
    top: 25px;
    top: 100%;
    left: 0px;
    z-index: 500;
    padding: 20px 0;
    padding-left: 7%;
    background: #fff;
    transition: all .5s;
}


.mainnav li:hover ul {

    visibility: visible;
    opacity: 1;
}

.mainnav li li {
    width: 280px;
    border-left: 1px solid #009A3B;
    padding-left: 5%;
}





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

    .navbar-flex li a {
        font-size: 1.3vw;

    }

    .header-logo {
        width: 20vw;
    }
}

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



    .header-logo {
        width: 133px;
    }

    .header-flex {
        margin-top: 0;
        height: 70px;
        width: 100%;

    }

    .nav-flex {
        margin: 0;
        margin-left: 3vw;
    }

    .nav-flex-m {
        padding-top: 30px;
        padding-left: 10px;
    }

    .mainnav li ul {
        display: none;
    }

    /* .sub-nav li {
        padding-left: 1em;
    } */
    .sub-nav li a::before {
        content: "−";
        color: #009A3B;
        left: 0;
        padding-right: .5em;
    }

    .mainnav li ul.is-open {
        display: block;
        width: 100%;
        background: #fafafa;
        border-bottom: none;
        position: unset;
        animation: fadeIn 0.5s ease;
        visibility: visible;
        opacity: 1;
    }

    .mainnav li ul.is-open li {
        border-bottom: none;

    }

    .mainnav li li {
        width: 100%
    }

    .mainnav li span.is-active::before {
        display: none;
    }

    .mainnav li span {
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        width: 40px;
        height: 40px;
    }

    .mainnav li span::before {
        content: "";
        position: absolute;
        right: 9px;
        top: 15px;
        display: block;
        width: 1px;
        height: 18px;
        background-color: #1e1e1e;
    }

    .mainnav li span::after {
        content: "";
        position: absolute;
        right: 0;
        top: 23px;

        display: block;
        width: 18px;
        height: 1px;
        background-color: #1e1e1e;
    }

    .is-active span::before {
        display: none;

    }

}

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

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















.sp-nav {
    display: none;
}

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

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

    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 100%;
        height: 100vh;
        padding-top: 70px;
        padding-bottom: 220px;
        padding-left: 30px;
        background: #fff;
        overflow-x: hidden;
        overflow-y: auto;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 9;
        opacity: 0;
    }

    .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 #009A3B;
    }

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

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

    .sp-nav .inner .mainnav li a {
        display: block;
        color: #333;
        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: fixed;
        top: 20px;
        left: 10vw;
        width: 30px;
        height: 30px;
        transition: all .5s;
        cursor: pointer;
        z-index: 99;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        transition: all .5s;
    }

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

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

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

    .open .toggle_btn span {
        background-color: #333;
    }

    .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(-10px) rotate(315deg);
        transform: translateY(-10px) 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: 64px; */
}

.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: #009A3B;
    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: 768px) {

    .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 #009A3B;
        color: #009A3B;
        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: #009A3B;
        border-radius: 8px;
        width: 100%;
        padding: .4em 0;
        height: 50px;
        font-size: 16px;
    }

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