@charset "UTF-8";

/*============================
	header
============================*/
header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    z-index: 999;
    padding: 0 1%;
    background: #fff;
}

header.active {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);
}

@media screen and (min-width: 1025px) {
    header.header--home:not(.is-scrolled) {
        background: rgba(255, 255, 255, .6);
    }

    header.header--home.is-scrolled {
        box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);
    }
}

.hd__inner {
    margin: 0 auto;
    width: 100%;
    height: 100px;
    position: relative;
    transition: .1s;
    display: flex;
    align-items: center;

}

.hd__flex {
    width: 100%;
    transition: .1s;
}

.hd__left {
    width: 15%;
    flex: 0 1 auto;
    position: relative;
    transition: .1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hd__right {
    width: 83%;
    transition: .1s;
}

.hd__logo {
    max-width: 252px;
    width: 100%;
    z-index: 9;
    margin: 0 auto;
    position: relative;
    transition: .1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hd__rtop {
    width: 100%;
    margin-bottom: 10px;
}

.hd__contact {
    max-width: 236px;
    min-width: 160px;
}

.hd__tel {
    width: fit-content;
    display: block;
    max-width: 216px;
    position: relative;
    margin: 0 1em 0 auto;
}

.hd__tel--text {
    width: 216px;
    min-height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.phone-link {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.phone-link__number {
    color: #2f86d1;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.phone-link__number::before {
    content: "☎";
    margin-right: 0.4em;
    font-size: 0.75em;
}

.phone-link__hours {
    color: #2f86d1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.phone-link__number--header {
    color: #111;
    font-size: 22px;
}

.phone-link__hours--header {
    color: #111;
}

.phone-link--menu,
.phone-link--contact {
    width: 100%;
    min-height: 68px;
    border: 1px solid #2f86d1;
    border-radius: 999px;
    background: #fff;
}

.phone-link:hover,
.phone-link:focus-visible,
.hd__tel--text:hover,
.hd__tel--text:focus-visible {
    opacity: 0.75;
}


.hd__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 162px;
    min-width: 120px;
    width: 20%;
    aspect-ratio: 162 / 40;
    position: relative;
    border-radius: 999px;
    background: #ffb703;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

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

.g-nav__pc {
    text-align: center;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    max-width: 1060px;
    align-items: center;
    margin: 0 0 0 auto;
}

.g-nav__pc--ul {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

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

.g-nav__li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1.5;
    font-size: min(1.4rem, 1.2vw);
    font-weight: bold;
    text-align: center;
    letter-spacing: 0;
    padding: 0 5px 0;
    white-space: nowrap;
}

.g-nav__li .arw {
    font-size: 1.2rem;
    margin-left: .5em;
    vertical-align: middle;
}

.g-nav__li:last-child a::after {
    display: none;
}

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

.g-nav__li .font-en {
    display: block;
    font-size: min(1.8rem, 1.2vw);
    line-height: 1;
    color: #111;
    margin-bottom: .5em;

}

.g-nav__li:last-child a {
    border: none;
}

.g-nav__li img {
    width: auto;
    display: block;
}

.g-nav__li .hover {
    opacity: 0;
    color: #104398;
}

.g-nav__li a:hover .hover {
    opacity: 1;
}

.g-nav__li a:hover .default {
    opacity: 0;
}


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

.g-nav__li.sub-triger i {
    position: relative;
    margin-left: .5em;
    font-size: 1.4rem;
}

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

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

.sub-nav {
    position: absolute;
    width: fit-content;
    left: 50%;
    top: 40px;
    min-width: 160px;
    background: #6b5d51;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    display: none;
    opacity: 0;
    transition: .5s;
    text-align: center;
    padding: 1.5em;
    animation: sub-navAppear .5s forwards;
    overflow: hidden;
}

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

    100% {
        opacity: 1;
    }
}

.g-nav__pc--ul .sub-nav__li a {
    line-height: 1.4;
    white-space: nowrap;
    font-size: 1.4rem;
    padding: 0;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 0;
    text-align: left;
    margin: 0 auto 1em 0;


}

.g-nav__pc--ul .sub-nav__li img {
    position: relative;
    margin-right: .5em;
    transform: none;
    top: auto;
    left: auto;
}

.g-nav__pc--ul .sub-nav__li a::before,
.g-nav__pc--ul .sub-nav__li a::after {
    display: none;
}

/* 
.g-nav__pc--ul .sub-nav__li a:hover {
    color: #fff;
} */


.g-nav__pc--ul .sub-nav__li:last-child a {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

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

.g-nav__pc--ul li::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #1959b4;
    left: 50%;
    bottom: -.25em;
    transition: .5s;
    z-index: -1;
    opacity: 0;
    transform: translate(-50%);
}

.g-nav__pc--ul li:hover:before {
    opacity: 1;
    width: 50%;
}

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

.g-nav__pc--ul li.sub-triger::before {
    width: 100%
}

.g-nav__pc--ul .sub-nav__li::before {
    display: none;
}


/***** g-nav ▲*****/
.hd__menu {
    pointer-events: none;
}


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


    header .pc {
        display: none;
    }

    header .sp {
        display: block;
    }

    .hd__bg {
        display: none;
    }

    .hd__flex {
        height: auto;

    }

    .hd__left,
    header.active .hd__left {
        flex: 0 1 auto;
        width: auto;
        height: auto;
        padding: 0 0 0 2%;
        background: none;
    }

    .hd__left::before {
        display: none;
    }

    .hd__right,
    header.active .hd__right {
        background: none;
        height: auto;
        width: auto;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        height: auto;
        display: flex;
        flex: 1 1 auto;
    }

    header,
    header.active {
        padding: 0;
        position: fixed;
        height: auto;
        border-right: none;
        background: #fff;
    }


    .hd__inner,
    header.active .hd__inner {
        height: 60px;
        width: 100%;
        padding: 0;
        display: block;
    }


    .hd__logo,
    header.active .hd__logo {
        width: auto;
        min-width: auto;
        width: 180px;
        height: auto;
        background: none;
        padding: 0;
        z-index: 9999;
        opacity: 1;
        flex: 0 0 auto;
        margin: 0;
    }

    .hd__logo img {
        position: relative;
        top: 0;
        left: 0;
    }


    .hd__flex {
        display: flex;
    }


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

    .g-nav__li::after {
        display: none;
    }

    .hd__sns {
        justify-content: flex-end;
    }

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

    .hd__menu {
        font-weight: bold;
        font-size: 1rem;
        z-index: 999;
        width: 60px;
        height: 60px;
        transition: .5s;
        margin: 0 0 0 auto;
        cursor: pointer;
        position: relative;
        pointer-events: all;
        background: #1959b4;
    }

    /* .hd__menu.active {
    background: #00528d;
} */

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

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

    .hd__menu.active span {
        background: #fff;
    }


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

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

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

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

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

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

    /***** 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;
        min-width: 50vw;
        transition: all .5s;
        background: #fff;
        overflow: auto;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        padding: 100px 10% 100px;
        margin-top: 60px;
        z-index: 999;
    }

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

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

    .g-nav__sp-ul {
        margin: 0 auto 40px;
    }

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

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

    .g-nav__bg .g-nav__li a,
    header.active .g-nav__bg .g-nav__li a {
        font-size: 1.6rem;
        height: 100%;
        display: block;
        padding: 0;
        font-weight: bold;
        line-height: 1.4;
        margin-bottom: 1.5em;
        text-align: center;
        background: none;
        border: none;
    }

    .g-nav__bg .g-nav__li a::after {
        display: none;
    }

    .g-nav__bg .g-nav__li i {
        display: inline-block;
        margin: 0 0 0 .5em;
    }

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

    .g-nav__sp-ul .sub-triger a {
        margin-bottom: 1em;
    }

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


    .g-nav__tel {
        display: block;
        max-width: 240px;
        margin: 0 auto 20px;
    }

    .g-nav__btn {
        display: block;
        max-width: 240px;
        margin: 0 auto 15px;
    }


    .g-nav__btn:last-child {
        margin-bottom: 0;
    }


}

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

    header .hd__inner,
    header.active .hd__inner {
        height: 60px;
        padding: 0;
    }

    .hd__left {
        width: auto;
    }

    .hd__right {
        width: auto;
    }


    .hd__hamburger span {
        height: 1.5px;
    }

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

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


    .hd__logo,
    header.active .hd__logo {
        width: 140px;
    }

    .hd__sns {
        display: flex;

        & li {
            transform: scale(.75);
            margin: 0;
        }
    }

    .hd__hamburger {
        width: 30px;
    }


    .hd__menu {
        width: 60px;
        height: 60px;
    }

    .g-nav__tel {
        max-width: 240px;
        margin: 0 auto 20px;
    }


    .g-nav__btn {
        max-width: 240px;
        margin: 0 auto 15px;
    }

}


/*============================
  contact
============================*/


.contact {
    padding: 0 0 200px;
}

.txt__swiper .swiper-wrapper {
    transition-timing-function: linear;

}

.contact__swtxt {
    white-space: nowrap;
    font-size: 17rem;
    line-height: 1;
    letter-spacing: 0;
    color: #ebf8fd;
    margin: 0 .1em;
    width: fit-content;
}

.contact__box {
    padding: 80px 5%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 80px rgba(74, 153, 206, .15);
}

.contact__ill01 {
    max-width: 107px;
    width: calc((107/1440)*100%);
    left: 1%;
    top: 65%;
    transform: translate(0, -50%);
}

.contact__ill02 {
    max-width: 150px;
    width: calc((150/1440)*100%);
    right: 1%;
    top: 25%;
    transform: translate(0, -50%);
}


.contact__btn {
    display: block;
    margin: 0 1%;
    max-width: 300px;
}

.contact__btn--primary,
.contact__btn--line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 302 / 81;
    border-radius: 999px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.contact__btn--primary {
    background: #ffb703;
}

.contact__btn--line {
    background: #06c755;
}

.contact__items .contact__btn--primary,
.contact__items .contact__btn--line {
    font-size: 20px;
    white-space: nowrap;
}

.contact__tel {
    max-width: 388px;
}

.contact__tel.phone-link {
    display: flex;
}

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


    .contact {
        padding: 0 0 100px;
    }


    .contact__swtxt {
        font-size: 10rem;
    }

    .contact__box {
        padding: 50px 5%;

    }

    .contact__ill01 {
        width: calc((107/1440)*100%);
        left: 1%;
        top: 65%;
    }

    .contact__ill02 {
        width: calc((150/1440)*100%);
        right: 1%;
        top: 25%;
    }


    .contact__btn {
        margin: 0 1%;
        max-width: 300px;
    }

    .contact__tel {
        max-width: 388px;
    }

}

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


    .contact {
        padding: 0 0 60px;
    }


    .contact__swtxt {
        font-size: 6rem;
    }

    .contact__box {
        padding: 40px 5%;

    }

    .contact__ill01 {
        width: calc((107/1440)*100%);
        left: 1%;
        top: 95%;
    }

    .contact__ill02 {
        width: calc((150/1440)*100%);
        right: 1%;
        top: 5%;
    }


    .contact__btn {
        margin: 0 auto 15px;
        max-width: 240px;
    }

    .contact__tel {
        max-width: 280px;
        margin: 0 auto;
    }
}

/*============================
	footer
============================*/
footer {
    padding: 120px 0 80px;
    background: linear-gradient(90deg, #195eb4, #54aeeb);
    color: #fff;
}


.ft__flex {
    margin-bottom: 80px;
}

.ft__left {
    width: 45%;

}

.ft__navwrap {
    width: 55%;
}

.ft__logo {
    max-width: 288px;
}

.ft__info {
    margin-top: 1em;
}

.ft__info a {
    color: inherit;
}

.ft__navwrap {
    width: fit-content;
    margin: 0 0 0 auto;
}

.ft__nav {
    padding: 0 5%;
}


.ft-nav__li {
    position: relative;
}

.ft-nav__li a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
    position: relative;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5em;

}

.ft-nav__li a::before {
    content: "・";
    position: relative;
    color: #ffb703;
    margin-right: .5em;
}

.ft-nav__li.ttl .txt {
    font-weight: 900;
    margin-bottom: 1em;
    font-weight: bold;
    display: block;
}

.ft-nav__li:last-child a {
    border: none;
    margin-bottom: 0;
}

.ft__tel {
    font-size: 2rem;
    white-space: nowrap;

    .fs-13 {
        font-size: 1.3rem;
        display: block;
    }
}

.ft__btn {
    display: block;
    width: 200px;
    margin: 20px 0 0 auto;
}

.ft__copyright {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
}

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

    .ft__flex {
        margin-bottom: 60px;
    }

    .ft__left {
        width: 45%;

    }

    .ft__navwrap {
        width: 55%;
    }

    .ft__logo {
        max-width: 200px;
    }

    .ft__info {
        margin-top: 1em;
    }

    .ft__navwrap {
        margin: 0 0 0 auto;
    }

    .ft__nav {
        padding: 0 5%;
    }

    .ft-nav__li a {
        font-size: 1.3rem;
        letter-spacing: 0;
        margin-bottom: 1.5em;

    }

    .ft-nav__li a::before {
        margin-right: .5em;
    }

    .ft-nav__li.ttl .txt {
        margin-bottom: 1em;
    }

    .ft-nav__li:last-child a {
        margin-bottom: 0;
    }



    .ft__copyright {
        font-size: 1.2rem;
    }
}

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

    .ft__flex {
        margin-bottom: 40px;
    }

    .ft__left {
        width: 100%;
        margin-bottom: 30px;

    }

    .ft__navwrap {
        width: 100%;
    }

    .ft__logo {
        max-width: 200px;
    }

    .ft__info {
        margin-top: 1em;
    }

    .ft__navwrap {
        margin: 0 ;
    }

    .ft__nav {
        padding: 0;
        margin-bottom: 1.5em;
    }

    .ft-nav__li a {
        font-size: 1.4rem;
        margin-bottom: 1.5em;
    }


    .ft-nav__li.ttl .txt {
        margin-bottom: 1em;
    }

    .ft__copyright {
        font-size: 1rem;
    }

}

/*============================
	page top /side btn
============================*/


.js-pagetop {
    display: block;
    z-index: 99;
    max-width: 18px;
    min-width: 12px;
    width: calc((18/1920)*100%);
    bottom: 100px;
    right: 1%;
    transition: .5s;
    position: fixed;
    opacity: 0;
}


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


.side__btn {
    position: fixed;
    max-width: 135px;
    min-width: 60px;
    width: calc((135/1920)*100%);
    top: 50%;
    transform: translate(0, -50%);
    right: 0;
    display: block;
    z-index: 99;
    transition: .1s;

}

.side__btn a {
    display: block;
    width: fit-content;
    margin: 0 0 10px;
}

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

    .js-pagetop {
        min-width: 12px;
        width: calc((18/1920)*100%);
        bottom: 100px;
        right: 1.5%;
    }

    .side__btn {
        min-width: 60px;
        width: calc((135/1920)*100%);
        top: 50%;
        transform: translate(0, -50%);
    }

    .side__btn a {

        margin: 0 0 10px;
    }

}

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

    .js-pagetop {
        min-width: 12px;
        width: calc((18/1920)*100%);
        bottom: 100px;
        right: 1.5%;
    }


    .side__btn {
        display: none;

    }

    .side__item:first-child {
        margin-bottom: 5px;
    }

    .fixed__ft {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: space-between;
        z-index: 99;
    }

    .ft__item {
        display: block;
        width: 33.33%;
        height: 50px;
        position: relative;
        overflow: hidden;
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        font-weight: bold;
        letter-spacing: 0;
        padding: 0 5%;
        background: #fff;
        white-space: nowrap;
    }

    .fixed__tel {
        display: block;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        font-weight: bold;
    }

    .fixed__tel img {
        width: 100%;
        max-width: 160px;
    }

    .fixed__mail {
        background: #ffb703;
        color: #fff;
        font-weight: bold;
        line-height: 1;
    }

    .fixed__mail img {
        width: 20px;
        margin-right: .5em;
    }

    .fixed__line {
        background: #06c755;
        color: #fff;

    }

    .fixed__line img {
        width: 20px;
        margin-right: .5em;
    }

}


/*============================
	loading
============================*/
/* Loading背景画面設定　*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
}

#splash.secondtime {
    display: none;
}

#loading {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media screen and (max-width:767px) {
    #loading {
        width: 280px;
    }

}
