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

/* 
-------------------------------------*/
/* 
-------------------------------------*/
.page-hero {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: grid;
    place-items: center;
}

/* 
-------------------------------------*/
.hd {
    height: 150px;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

@media (max-width:1024px) {
    .hd {
        height: 64px;
    }
}



.hd-logo {
    width: 35vw;
    max-width: 545px;
    /* position: fixed; */
    z-index: 999;
    margin-right: auto;
}


@media(max-width: 1024px) {

    .hd-logo {
        width: 70%;
        max-width: 300px;
    }


}

.hd-inner {
    display: flex;
    gap: min(3vw, 44px);
}

.hd-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hd-icon-phone {
    width: 30px;
}

.hd-contact-lead {
    font-size: 14px;
    font-weight: bold;
}

.hd-contact-number {
    font-size: 27px;
    font-weight: bold;
    color: var(--tel-color);
    line-height: 1;
}


/* .hd　scroll ---------------------- */
.hd.scroll-nav {
    position: fixed;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    height: 50px;
    transition: .7s;
    padding-top: 0;
}

@media(max-width: 1024px) {
    .hd.scroll-nav {
        height: 64px;
    }
}

.hd.scroll-nav .hd-logo {
    max-width: 345px;
}


.hd.scroll-nav .pc-nav ul li a {
    color: #fff;
}

/* .hd.scroll-nav .hd-logo {
    display: none;
}

.hd.scroll-nav .hd-logo-white {
    display: block;
} */

.hd.scroll-nav .toggle_btn span {
    background: #fff;
}



.hd.scroll-nav .toggle_btn span {
    background: #fff;
}


.hd {
    position: fixed;
    /* background: #fff; */
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99;
}

.hd.scroll-nav .hd-top {
    height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: 0.3s;
    transform: translateY(-100%);
}

.hd.scroll-nav .hd-bottom {
    margin-top: -15px;
}


/* .hd ---------------------- */



.hd.trance {
    background: #fff;

}


.mainnav {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
    margin-top: 10px;
}

.mainnav li {
    position: relative;
}

.mainnav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    text-align: center;
    font-weight: bold;
    padding: 1em .5em;
}



.mainnav li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: #CCCCCC;


}

.mainnav li:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: #CCCCCC;
}


.mainnav li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: 0.3s;
}


.mainnav li a:hover::after {
    width: 80%;
}

.mainnav li a:hover {
    opacity: 1;
}




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

    .hd {
        width: 100%;
    }


    .mainnav {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    .mainnav li::after {
        content: none;
    }

    .mainnav li a::after {
        bottom: 0;
    }

    .mainnav li a:hover::after {
        width: 100%;
    }


}


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

.sp-nav {
    display: none;
}

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

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

    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 100%;
        height: auto;
        background: #FAFAFA;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 99;
        opacity: 0;
        text-align: left;
        margin-top: 64px;
    }

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

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

    .sp-nav ul li {
        position: relative;
        margin: 0;
        border-bottom: 1px solid #EEEEEE;
    }

    .sp-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        color: var(--main-color);
        font-size: 14px;
        font-weight: bold;
        padding: 1em;
        text-decoration: none;
        transition-duration: 0.2s;
    }

    .sp-nav ul li a::before {
        position: absolute;
        content: "";
        right: 20px;
        width: 7px;
        height: 7px;
        border-top: 2px solid var(--main-color);
        border-right: 2px solid var(--main-color);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);

    }





    /*============
  .toggle_btn
  =============*/
    .toggle_btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        background-color: var(--main-color);
        border-radius: 4px;
        transition: all .5s;
        cursor: pointer;
        z-index: 99;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 1px;
        background-color: #fff;
        border-radius: 4px;
        transition: all .5s;
    }

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

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

    .toggle_btn span:nth-child(3) {
        top: 22px;
    }

    .toggle_label {
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #fff;
        white-space: nowrap;
        letter-spacing: 0.05em;
    }

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

    .open .toggle_btn span:nth-child(1) {
        transform: translateX(-50%) translateY(7px) rotate(-315deg);
    }

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

    .open .toggle_btn span:nth-child(3) {
        transform: translateX(-50%) translateY(-7px) 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;
    } */

}

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


.ft-sec {
    background: var(--bg-color01);
    font-size: 14px;
    padding: 27px 0;
    padding-bottom: 110px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 767px) {
    .ft-sec {
        padding-bottom: 74px;
    }

    .footer-nav {
        /* display: grid;
        grid-template-columns: 1fr; */
        gap: 10px;
    }

    .office-list li {
        margin-bottom: 20px;
    }
}



.footer-nav a {
    text-decoration: none;
}

.ft-logo {
    max-width: 413px;
    width: 90%;
}

.copyright {
    font-size: min(2.5vw, 12px);
    text-align: center;
    margin-top: 30px;
}

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

.fixedbar-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-color02);
    padding: 23px 0;
}

/* PC：最初は隠す */
@media (min-width: 1025px) {
    .fixedbar-bottom {
        opacity: 0;
        visibility: hidden;
        transform: translateY(100%);
        transition: .3s;
    }

    .fixedbar-bottom.is-show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* SP：常時表示 */
@media (max-width: 1024px) {
    .fixedbar-bottom {
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
    }
}



.fixedbar-bottom-list {
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
}

.fixedbar-lead {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0;
    position: relative;
    padding-left: 140px;
}

.fixedbar-lead:before {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    background: url(/assets/img/woman.png) no-repeat center top/cover;
    height: 140px;
    width: 125px;
}

.fixed_ft .btn_block {

    gap: 10px;
    margin-right: 10px;
}

.tell-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--tel-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .tell-btn {
        font-size: 16px;
    }
}

.fixed_ft .btn_calculator a:before {
    content: "";
    display: inline-block;
    background: url(../img/icon_calculator_white.svg) no-repeat center center/100% auto;
    width: 20px;
    height: 30px;
    vertical-align: top;
}

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

.fixedbar-bottom .mail-btn {
    border: solid 1px var(--main-color);
    color: var(--main-color);
    font-weight: bold;
    background: #fff;
    width: 100%;
    min-width: 230px;
    max-width: 230px;
    padding: .7em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


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



    .fixedbar-bottom {
        position: fixed;
        z-index: 999;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        padding: 5px;
        display: flex;
        align-items: center;
        /* background: rgba(202, 202, 202, 0.516); */
    }

    .fixedbar-bottom ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .fixedbar-bottom li {
        width: 49%;

    }

    .fixedbar-bottom .tell-btn {
        background: #fff;
        width: 100%;
        padding: .7em 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: min(4vw, 18px);
    }

    .fixedbar-bottom .mail-btn {
        border: solid 1px var(--main-color);
        color: var(--main-color);
        font-weight: bold;
        background: #fff;
        width: 100%;
        min-width: 100%;
        max-width: 230px;
        padding: .7em 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        font-size: min(3vw, 16px);
    }

}


.icon-phone {
    width: 30px;
}

.icon-mail {
    width: 24px;
}

@media only screen and (max-width: 1024px) {
    .icon-phone {
        width: 3vw;
        max-width: 17px;
    }

}

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

/* パンくず */
.breadcrumb {
    padding: 0.5em 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.5em;
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.breadcrumb li+li::before {
    content: '›';
    margin-right: 0.5em;
    color: var(--main-color);
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--main-color);
}

.breadcrumb li:last-child {
    color: #666;
}

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

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