/*============================
	header
============================*/

header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    height: 120px;
    padding: 0;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    z-index: 999;
    background: #fff;

}

/* hd active */
header.active {
    height: 80px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);
}

header.active .g-nav__pc {
    display: none;
}

.hd__inner {
    margin: 0 auto;
    position: relative;
    
}

.hd__flex {
    height: 80px;
    max-width: 1520px;
    margin: 0 auto;
}

.hd__left {
    width: 50%;
    flex: 0 1 auto;
    position: relative;
    padding: 0 1% 0 5%;
    align-items: flex-end;

}

.hd__right {
    width: 50%;
    flex: 0 1 auto;
}


.hd__logo {
    width: 100%;
    max-width: 160px;
    transition: .3s ease-out;
    margin-right: 3%;
}

.hd__txt {
    font-size: 1.2rem;
    letter-spacing: .1em;
    white-space: nowrap;
    margin-bottom: 5px;
}

.hd__btn {
    display: block;
    width: 210px;
    line-height: 50px;
    border-radius: 25px;
    white-space: nowrap;
    background: #ffb000;
    color: #fff;
    text-align: center;
    padding: 0 1em;
    transition: .3s ease-out;
    position: relative;
    letter-spacing: .1em;
    border: solid 1.5px #ffb000;

}
.hd__btn i{
    margin-right: .5em;
}
.hd__contact a {
    background: #f08200;
    border-color: #f08200;
}

.hd__btn:hover {
    background: #fff;
    color: #ffb000;
}

.hd__contact a:hover {
    color: #f08200;
}

.hd__dl {
    margin-right: 2%;
}

.hd__contact {
    margin-right: 5%;
}




/***** g-nav PC ▼*****/

.g-nav__pc {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    background: #f1eee7;
    height: 40px;
}

.g-nav__li {
    position: relative;
    z-index: 9;
}

.g-nav__li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transition: .3s ease-out;
    line-height: 40px;
    font-weight: bold;
    text-align: center;
    padding: 0 1em;
    font-size: 1.5rem;
    white-space: nowrap;
}


.g-nav__li a:hover {
    opacity: .8;
    color: #f08200;
}


.g-nav__li.sub-triger {
    position: relative;
}

.g-nav__li.sub-triger i {
    font-size: 1.2rem;
    position: absolute;
    bottom: -1em;
    left: 50%;
    transform: translate(-50%);
}

.g-nav__pc .sub-triger {
    padding-bottom: 50px;
    margin-bottom: -50px;
}

.sub-triger:hover .sub-nav {
    display: block;
    opacity: 1;
}

.sub-nav {
    position: absolute;
    background: rgba(2444, 244, 244, .9);
    padding: 1em;
    width: fit-content;
    min-width: 235px;
    left: 50%;
    top: 35px;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    display: none;
    opacity: 0;
    transition: .5s;
    animation: sub-navAppear .3s forwards;
    text-align: left;
    z-index: 99;
}


@keyframes sub-navAppear {
    0% {
        opacity: 0%;
    }

    100% {
        opacity: 1;
    }
}



.g-nav__pc--ul .sub-nav--li a {
    font-size: 1.5rem;
    line-height: 1;
    background: none;
    white-space: nowrap;
    margin-bottom: 1em;
    text-align: center;

}

.g-nav__pc--ul .sub-nav--li:last-child a {
    border: none;
}

/* g-nav 伸びるボーダー */

.g-nav__pc--ul li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: #f08200;
    left: 50%;
    bottom: 10px;
    transition: .5s;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.g-nav__pc--ul li a:hover:before {
    width: 50px;
}

.g-nav__pc--ul li.active a::before {
    width: 100%
}

.g-nav__pc--ul .sub-triger a:hover::before {
    display: none;
}

.g-nav__pc--ul .sub-nav--li a::before {
    display: none;
}


/***** g-nav ▲*****/



/***** ハンバーガー ▼*****/

.hd__menu {
    font-weight: bold;
    font-size: 1rem;
    z-index: 999;
    width: 80px;
    height: 80px;
    transition: .5s;
    margin: 0 0 0 auto;
    padding: 22px 0;
    cursor: pointer;
    background: #fff9e5;
    position: relative;
    pointer-events: none;
    transition: .3s ease-out;
    opacity: 0;
}

header.active .hd__menu {
    opacity: 1;
    pointer-events: fill;
}


.hd__hamburger {
    width: 35px;
    height: 30px;
    margin: 0 auto;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.hd__hamburger span {
    background: #f08200;
    height: 3px;
    width: 100%;
    left: 0;
}

.hd__hamburger.active span {
    background: #f08200;
}

.hd__menu .hd__menu--txt {
    font-size: 1rem;
    text-align: center;
    color: #fff;
    font-weight: bold;
    transition: .5s;
    margin-top: 5px;
}

/* .hd__gnav--sp.active .hd__menu--txt {
    
} */


.hd__hamburger--top {
    top: 0;
    transition: .5s;
}

.hd__hamburger--middle {
    top: 42.5%;
    transition: .5s;
}

.hd__hamburger--bottom {
    bottom: 0;
    transition: .5s;
}

.hd__hamburger.active .hd__hamburger--top {
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    left: 50%;
    position: absolute;
}

.hd__hamburger.active .hd__hamburger--middle {
    display: none;
}

.hd__hamburger.active .hd__hamburger--bottom {
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 50%;
    left: 50%;
    position: absolute;
}

/***** sp nav *****/
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(000, 000, 000, .5);
    opacity: 0;
    display: none;
    transition: .5s;

}

html.active body:before {
    opacity: 0;
    z-index: 999;
    display: block;
    animation-name: BgAppear;
    animation-duration: .5s;
    animation-fill-mode: forwards;
}

@keyframes BgAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

@keyframes BgHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}

.g-nav__bg {
    position: fixed;
    top: 0;
    right: -120%;
    height: 100vh;
    transition: all .5s;
    background: #fff;
    overflow: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 60px 8% 100px 5%;
    margin-top: 80px;
    z-index: 9999;
}

.g-nav__bg--inner {
    width: fit-content;
    margin: 0 auto;
}

.g-nav__bg.active {
    right: 0;
}

.g-nav__h1 {
    display: block;
    margin: 0 0 30px;
    line-height: 1.6;
    font-size: 1rem;
    letter-spacing: 0;
    text-align: center;
}

/* .g-nav__sp{
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
} */
.g-nav__sp-ul {
    width: fit-content;
    margin: 0 auto 40px;
    text-align: center;
}

.g-nav__bg .g-nav__li {
    border: none;
    padding: 0;
}

.g-nav__bg .g-nav__li::before {
    display: none;
}

.g-nav__bg .g-nav__li a {
    font-size: 1.6rem;
    height: 100%;
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    padding: 0;
    line-height: 1;
    background: none;
    border: none;
    color: #111;
    text-align: left;
}

.g-nav__bg .g-nav__li.sub a {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.g-nav__sp-ul .sub-triger a {
    margin-bottom: 20px;
}

.g-nav__bg .sub-nav__li a {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 500;
}


.g-nav__tel {
    font-size: 2rem;
    font-weight: bold;
    padding: 0 .5em;
    margin-bottom: 15px;
    text-align: center;

}

.g-nav__tel .small {
    font-size: 1.6rem;
}

.g-nav__tel--txt {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.g-nav__tel img {
    width: 12px;
    margin-right: 5px;
    vertical-align: baseline;
}

.g-nav__time {
    font-size: 1.4rem;
    margin-bottom: 20px;
}


.g-nav__contact img {
    width: 18px;
    margin-right: 10px;
    vertical-align: middle;
}



.g-nav__txt {
    font-size: 1.4rem;
    margin-bottom: .5em;
    line-height: 1.2;
}

.g-nav__btn a {
    display: block;
    width: 220px;
    max-width: 100%;
    line-height: 50px;
    border-radius: 25px;
    font-weight: bold;
    letter-spacing: .05em;
    text-align: center;
    padding: 0 1em;
    font-size: 1.6rem;
    margin: 0 auto;
    color: #fff;
    position: relative;
    background: #ffb000;
}
.g-nav__btn i{
    margin-right: .5em;
}
.g-nav__dl {
    margin: 0 auto 10px;
}

.g-nav__contact a {
    background: #f08200;
}

.g-nav__btn img {
    width: 18px;
    vertical-align: middle;
    margin-right: .5em;
}

.g-nav__tel a {
    background: linear-gradient(#6b87c0, #61b5e5);
}

@media screen and (max-width:1024px) {
    .g-nav__pc {
        display: none;
    }

    header .pc {
        display: none;
    }

    header .sp {
        display: block;
    }

    .hd__left {
        padding: 0;
        flex: 0 1 auto;
        background: none;
        height: auto;
        width: auto;
    }

    header {
        height: 62px;
        background: #fff;
        position: fixed;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
        padding: 0 0 0 2%;
    }

    header.active {
        height: 62px;
    }

    .hd__flex {
        height: 100%;
    }

    .hd__menu {
        opacity: 1;
        width: 62px;
        height: 62px;
        pointer-events: fill;
    }

    .hd__hamburger {
        width: 30px;
        height: 25px;
    }


    .hd__flex {
        align-items: center;
    }

    .hd__logo {
        width: 120px;
        min-width: auto;
        max-width: none;
        height: auto;
        position: relative;
        z-index: 999;
        flex: 0 0 auto;
    }

    .hd__txt {
        font-size: 1rem;
    }


    .hd__flex {
        display: flex;
    }

    .hd__flex--sp.sp {
        display: flex;
        align-items: center;
    }

    .g-nav__bg {
        margin-top: 62px;
    }

    .g-nav__btn a {
        line-height: 45px;
        border-radius: 22.5px;
    }



}

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

    header,
    header.active {
        height: 52px;
        padding: 0 0 0 5%;
    }

    .hd__left {
        padding: 0;
        width: auto;
        flex: 1 1 auto;
    }

    .hd__right {
        width: auto;
    }

    .hd__logo {
        width: 100px;
    }

    .hd__txt {
        font-size: 1rem;
        letter-spacing: 0;
        white-space: normal;
        margin-bottom: 1px;
    }



    .hd__hamburger span {
        height: 2px;
    }

    .g-nav__bg {
        width: 100vw;
        padding: 52px 10% 100px;
        margin-top: 52px;
    }

    .g-nav__bg .g-nav__li a {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .g-nav__sp-ul .sub-triger a {
        margin-bottom: 15px;
    }

    .g-nav__bg .g-nav__li.sub a {
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

    .g-nav__tel {
        font-size: 2rem;
    }


    .g-nav__time {
        margin-bottom: 20px;
    }


    .g-nav__contact.sp a {
        margin: 0 15%;
        width: 70%;
    }


    header .hd__tel--ico {
        margin: 0 15px 0 auto;
        width: 20px;

    }

    .hd__tel--ico img {
        vertical-align: baseline;
    }

    .g-nav__btn a {
        max-width: 100%;
        width: 200px;
        padding: 0 1em;
        font-size: 1.4rem;
        line-height: 40px;
        border-radius: 20px;
    }



    .hd__menu {
        width: 52px;
        height: 52px;
        padding: 18px 0;
    }

    .hd__hamburger {
        width: 25px;
        height: 20px;
    }

}




/*============================
	footer
============================*/
footer {
    padding: 110px 0 0;
}

.ft__logo {
    max-width: 220px;
    margin: 0 auto 30px;
}



.ft__copyright {
    font-size: 1.3rem;
    text-align: center;
    line-height: 30px;
    background: #f08200;
    color: #fff;
}


@media screen and (max-width:1024px) {
    footer {
        padding: 80px 0 0;
    }

    .ft__logo {
        max-width: 180px;
        margin: 0 auto 30px;
    }



    .ft__copyright {
        font-size: 1rem;
        line-height: 30px;
    }
}


@media screen and (max-width:767px) {
    footer {
        padding: 60px 0 0;
        margin-bottom: 50px;
    }

    .ft__logo {
        max-width: 150px;
        margin: 0 auto 30px;
    }



    .ft__copyright {
        font-size: 1rem;
        line-height: 30px;
    }
}


/*============================
	page top /side btn
============================*/
.js-pagetop a {
    display: block;
    z-index: 99;
    width: 50px;
    bottom: 50px;
    right: 1%;
    position: fixed;
    opacity: 0;
    transition: .5s;
    pointer-events: none;
}


.js-pagetop.active a {
    opacity: 1;
    pointer-events: fill;
}

/* .js-pagetop::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 140px;
    background: #fff;
    left: 0;
    bottom: 0;
    animation: pagetopAnime 2s 0s infinite;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
} */
.side__btn {
    position: fixed;
    top: 30%;
    right: 0;
    transform: translate(0, -50%);
    z-index: 999;
}

.side__btn a {
    display: block;
    color: #fff;
    font-size: 1.4rem;
    padding: 1em 10px;
    background: #f37b21;
    border-radius: 10px 0 0 10px;
}

.side__btn img {
    width: 18px;
    margin: 0 auto 10px;
    vertical-align: baseline;
}

@keyframes pagetopAnime {
    0% {
        height: 140px;
    }

    50% {
        height: 160px;
    }

    100% {
        height: 140px;
    }
}

.ft__btnwrap {
    display: none;
}


@media screen and (max-width:1024px) {
    .js-pagetop a {
        width: 50px;
        bottom: 50px;
    }


}

@media screen and (max-width:767px) {
    .js-pagetop a {
        width: 40px;
        bottom: 70px;
        right: 1%;
    }

    .ft__btnwrap {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        justify-content: center;
        padding: 10px;
        z-index: 99;
    }
    .ft__btnwrap .cv__btn{
        width: 47%;
    }
    .ft__btnwrap .cv__btn a{
        line-height: 30px;
        border-radius: 17.5px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
}