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

header {
    z-index: 999;
    position: relative;
    top: 0;
    left: 50%;
    width: 100%;
    height: 180px;
    color: #fff;
    padding: 30px 1% 0;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12); */
}


.hd__inner {
    margin: 0 auto;
    max-width: 1280px;
}

.hd__left {
    flex: 0 1 auto;
    width: 50%;
    position: relative;
}

.hd__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hd__h1 {
    font-size: 1.2rem;
    letter-spacing: .075em;
    margin-bottom: 15px;
    white-space: nowrap;
}

.hd__logo {
    width: 100%;
    max-width: 600px;
}

ul.hd__line {
    display: flex;
    align-items: center;
}
ul.hd__line li {
    margin-right: 20px;
}

.hd__tel {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 5px;
    text-align: right;
}

.hd__tel img {
    width: 22px;
    vertical-align: baseline;
    margin-right: 10px;

}

.hd__time {
    font-size: 1.4rem;
    letter-spacing: 0;
    white-space: nowrap;
    margin-bottom: 10px;
    text-align: right;
}


.hd__contact a {
    display: flex;
    width: 218px;
    height: 65px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #2f69d1;
    color: #fff;
    font-size: 18px;
    margin-left: 30px;
}

.hd__contact img {
    width: 23px;
    margin-right: 10px;
    vertical-align: baseline;
}

header .sp {
    display: none;
}


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

    header .pc {
        display: none;
    }

    header .sp {
        display: block;
    }

    .hd__left.sp {
        padding: 0;
        flex: 0 1 auto;
        background: none;
        height: auto;
        position: unset;
    }

    .hd__right.sp {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hd__flex--sp.sp {
        display: block;
    }

    .hd__gnav--sp {
        display: block;
    }

    .hd__h1.spnone {
        display: block;
        position: absolute;
        top: 5px;
        left: 1%;
        text-align: center;
        margin: 0 0 5px;
        font-size: 1rem;
        letter-spacing: 0;
        line-height: 1.4;
    }

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

    header .inner {
        padding: 0 1%;
        position: relative;
    }
    ul.hd__line li {
        width: 25px;
    }

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

    .hd__flex {
        display: flex;
    }

    .hd__tel img {
        margin-right: 10px;

    }

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

    .hd__ig.sp {
        margin: 0 20px 0 auto;
    }



    .hd__tel--ico {
        display: block;
        margin: 0 20px 0 auto;
        width: 25px;
        
    }

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

    .hd__contact--sp {
        width: fit-content;
    }

    .hd__contact--sp img {
        width: 25px;
        vertical-align: middle;

    }
}

@media screen and (max-width:767px) {
    header {
        height: 52px;
        padding: 10px 3%;
        top: 0;
    }
    .hd__h1.spnone{
        display: none;
    }
    .hd__h1.sponly {
        position:absolute;
        top: 5px;
        left: 3%;
        text-align: left;
        margin: 0;
        font-size: 1rem;
        letter-spacing: 0;
        line-height: 1.4;
        white-space: normal;
    }

    .hd__left {
        width: auto;
        display: none;
    }

    .hd__right {
        width: auto;
    }
    ul.hd__line li {
        margin-right: 10px;
        width: 25px;
    }

 
   

    .hd__logo {
        max-width: none;
        width: 180px;
    }


    header .hd__tel--ico {
        margin: 0 10px 0 auto;
        width: 25px;

    }



    .hd__contact--sp img{
        width: 25px;
    }

}


/*============================
	footer
============================*/
footer {
    background: #2f69d1;
    padding: 0 0 30px;
}

.ft__bg {
    padding: 60px 0 50px;
    background: url(../img/cmn/bg_ft.jpg) no-repeat center center/cover;
    margin-bottom: 30px;
}

.ft__txt {
    font-size: 1.8rem;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-align: center;
}

.ft__h3 {
    font-size: 2.4rem;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 40px;
}

.ft__btn a {
    display: block;
    width: 250px;
    line-height: 50px;
    text-align: center;
    background: #2f69d1;
    border: solid 1px #2f69d1;
    color: #fff;
    margin: 0 auto;
    font-size: 1.8rem;
}

.ft__btn a:hover {
    opacity: .9;
    background: #fff;
    color: #2f69d1;
}

.ft__logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.ft__copyright {
    font-size: 1.2rem;
    text-align: center;
}

.ft__copyright a {
    color: #fff;
}

@media screen and (max-width:1230px) {
    footer {
        padding: 0 0 30px;
    }
    
    .ft__bg {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .ft__txt {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .ft__h3 {
        font-size: 2rem;
        letter-spacing: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .ft__btn a {
        width: 220px;
        line-height: 40px;
        font-size: 1.6rem;
    }

    .ft__logo {
        max-width: 260px;
        margin-bottom: 20px;
    }
    
    .ft__copyright {
        font-size: 1rem;
        text-align: center;
    }

}


@media screen and (max-width:767px) {
    footer {
        padding: 0 0 20px;
    }
    
    .ft__bg {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .ft__txt {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .ft__h3 {
        font-size: 1.6rem;
        letter-spacing: 0;
        margin-bottom: 20px;
    }
    
    .ft__btn a {
        width: 200px;
        line-height: 40px;
        font-size: 1.4rem;
    }

    .ft__logo {
        max-width: 200px;
        margin-bottom: 20px;
    }
    
    .ft__copyright {
        font-size: 1rem;
        text-align: left;
        padding: 0 5%;
    }
}


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

.js-pagetop.active {
    opacity: 1;
}

/* .js-pagetop::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 110px;
    background: #626262;
    left: 49%;
    bottom: 100px;
    animation: scrollAnime 2s 0s infinite;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
} */

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

    50% {
        height: 130px;
    }

    100% {
        height: 110px;
    }
}

.fixed__btn {
    position: fixed;
    bottom: 150px;
    right: 1%;
    z-index: 9991;
    width: 70px;
    display: block;
}


@media screen and (max-width:1230px) {
    .js-pagetop {
        bottom: 60px;
        width: 60px;
    }


    .fixed__btn {
        bottom: 150px;
        right: 1%;
        width: 50px;
    }
}

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

@media screen and (max-width:767px) {
    .js-pagetop {
        bottom: 0;
        right: 0;
        width: 50px;
    }


    .fixed__btn {
        top: auto;
        bottom: 100px;
        right: 0;
        width: 40px;
    }
}