@charset "UTF-8";

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

.header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    z-index: 999;
    background: #000;
    transform: translate(-50%);
}

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

}

.hd__inner {
    margin: 0 auto;
    width: 100%;
    height: 52px;
    position: relative;
    transition: .3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 2%;
}


.hd__flex {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    transition: .3s ease-out;
}


.hd__left {

    flex: 0 1 auto;
    position: relative;
    transition: .3s ease-out;
}


.hd__right {

    transition: .3s ease-out;
    display: flex;
    justify-content: flex-end;
}

.hd__logo {
    width: 100%;
    max-width: 100px;
    z-index: 999;
    position: relative;
}

.hd__sns {
    display: flex;
}

.hd__sns a {
    display: block;
    max-width: 25px;
    margin-right: 5px;
}

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



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

.hd__menu {
    z-index: 999;
    width: 52px;
    height: 52px;
    transition: .5s;
    margin: 0;
    cursor: pointer;
    position: relative;
    pointer-events: all;
}

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

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

.hd__ham--line {
    background: #fff;
    height: 1px;
}

.hd__menu.active .hd__ham--line {
    background: #fff;
}


.hd__hamburger--top {
    width: 100%;
    top: 0;
    left: 50%;
    transition: .5s;
    transform: translate(-50%)
}

.hd__hamburger--middle {
    width: 100%;
    top: 50%;
    transition: .5s;
    transform: translate(0, -50%);
}

.hd__hamburger--bottom {
    width: 100%;
    bottom: 0;
    left: 50%;
    transition: .5s;
    transform: translate(-50%)
}

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

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

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

.hd__menu--txt {
    position: absolute;
    top: 75%;
    left: 50%;
    color: #fff;
    width: 90%;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    text-align: center;
}

/***** 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: 52px;
    right: -120%;
    height: 100vh;
    min-width: 100vw;

    transition: all .5s;
    background: #fff;
    overflow: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 60px 10% 100px;
    z-index: 999;
}

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

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

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

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

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

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

.g-nav__bg .g-nav__li a {
    font-size: 1.4rem;
    height: 100%;
    display: block;
    padding: 0;
    line-height: 1;
    margin-bottom: 1em;
    background: none;
    color: #111;
    border: none;
    text-align: center;
}


.g-nav__bg .g-nav__li p {
    line-height: 1;
}

.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__telwrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-nav__tel {
    display: block;
    width: 80px;
    margin: 0 5px;
}

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


@media screen and (min-width:768px) {
    .header .sp {
        display: block;
    }

    .header {
        padding: 0;
    }



    .hd__inner {
        height: 62px;
        padding: 0 0 0 2%;
    }

    .hd__left {
        width: 45%;
    }

    .hd__right {
        width: auto;
    }

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

    .hd__sns a {
        max-width: 30px;
        margin-right: 5px;
    }

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

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


    .hd__hamburger {
        margin: 0 0 0 auto;
    }

    .hd__ham--line {

        height: 1px;
    }

    /***** sp nav *****/

    .g-nav__bg {
        top: 62px;
        right: -120%;
        height: 100vh;
        min-width: 50vw;
        padding: 120px 10% 100px;
    }

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

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

    .g-nav__sp-ul {
        width: fit-content;
        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,
    .g-nav__bg .g-nav__li a {
        font-size: 1.6rem;
        height: 100%;
        display: block;
        padding: 0;
        line-height: 1;
        margin-bottom: 1em;
        background: none;
        border: none;
        text-align: center;
    }


    .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 {
        width: 100px;
    }

}

@media screen and (min-width:1025px) {
    .header .pc {
        display: block;
    }

    .header .sp {
        display: none;
    }

    .header .flex {
        display: flex;
        flex-wrap: nowrap;
    }

    .header {
        padding: 0;
        background: #000;
        padding: 0 1%;
    }

    .header.active {

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

    .hd__inner {
        height: auto;
        margin: 0 auto;
        display: block;
        padding: 0;
        height: 150px;
        max-width: 1720px;
        height: auto;

    }


    .hd__left {
        width: 15%;
        position: unset;
    }


    .hd__right {
        width: 80%;
    }

    .hd__logo {
        max-width: 252px;
        transition: .2s;
        z-index: 9;
    }


    .hd__btn {
        display: block;
        max-width: 173px;
        min-width: 120px;
        width: 15%;
    }

    .hd__telwrap {
        width: 15%;
        max-width: 150px;
        min-width: 100px;
        height: 150px;
        padding: 50px 0 0;
    }

    .hd__tel {
        display: block;
        width: 100%;
        transition: .2s;
        margin-bottom: 10px;
    }




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

    .g-nav__pc {
        text-align: center;
        width: 100%;
        flex: 0 1 auto;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        max-width: 856px;
        transition: .3s ease-out;
        position: relative;
        margin: 0 2% 0 auto;
    }


    .g-nav__li {
        position: relative;
        z-index: 9;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .g-nav__li.dis-none {
        display: none
    }

    .g-nav__li a {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        transition: .3s ease-out;
        line-height: 1;
        font-weight: 500;
        font-size: min(1.6rem, 1.6vw);
        color: #fff;
        padding: 0 5px 0;
        white-space: nowrap;
        border-right: solid 1px #fff;
    }

    .g-nav__li::after {
        content: "";
        position: absolute;
        width: 27px;
        height: 25px;
        background: url(../images/nav_ico.png) no-repeat center center/contain;
        left: 50%;
        top: -35px;
        transform: translate(-50%);
        opacity: 0;
        transition: .3s;
    }

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

    .g-nav__li .txt {
        line-height: 1;
        font-weight: 500;
    }

    .g-nav__li .font-en {
        display: block;
        font-weight: 500;
        margin-bottom: .5em;
        line-height: 1;
        font-size: min(1.8rem, 1vw);
        margin-bottom: .5em;
    }

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

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

    .g-nav__li img {
        width: auto;
        position: absolute;
        top: 25%;
        left: 50%;
        display: block;
        transform: translate(-50%, -50%) scale(.66);

    }

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

    .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: absolute;
        bottom: -20px;
        left: 50%;
        transform: translate(-50%);
        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: 120px;
        background: #d81416;
        border-radius: 0 0 10px 10xp;
        -webkit-transform: translate(-50%);
        -ms-transform: translate(-50%);
        transform: translate(-50%);
        display: none;
        opacity: 0;
        transition: .5s;
        padding: 1.5em 1em;
        animation: sub-navAppear .5s forwards;
    }

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

        100% {
            opacity: 1;
        }
    }

    .g-nav__pc .sub-nav__li a {
        line-height: 1.2;
        white-space: nowrap;
        font-weight: 500;
        color: #fff;
        margin-bottom: 1em;
        font-size: 1.5rem;
        padding: 0;
        border: none;
        text-align: center;
    }

    .g-nav__pc .sub-nav__li:last-child a::before {
        display: none;
    }

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

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

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

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

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

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

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

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

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


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


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

    .hd__menu {
        width: 40px;
        height: 22px;
        transition: .5s;
        margin: 0 auto;
    }

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

    .hd__ham--line {
        background: #0b0b0b;
        height: 2px;
    }

    .hd__menu.active .hd__ham--line {
        background: #fff;
    }

    /***** sp nav *****/

    .g-nav__bg {
        top: 0;
        min-width: 50vw;
        padding: 120px 10% 100px;
    }

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

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

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

    .g-nav__mail {
        margin: 0 auto;
    }

}

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

.contact {
    padding: 40px 0;
    background: url(../images/contact_bg.jpg) no-repeat center center/cover;
}


.contact__btn {
    display: block;
    max-width: 450px;
    max-width: 300px;
    margin: 0 auto;
}


.contact__tel {
    max-width: 384px;
    width: 260px;
    margin-bottom: 20px;
}

@media screen and (min-width:768px) {
    .contact {
        padding: 60px 0;
    }


    .contact__btn {
        width: 45%;
        margin: 0 2%;
        max-width: 450px;
        max-width: 320px;
    }


    .contact__tel {
        max-width: 384px;
        max-width: 280px;
        width: 45%;
        margin-bottom: 0;
    }

}

@media screen and (min-width:1025px) {

    .contact {
        padding: 120px 0 80px;
    }


    .contact__btn {
        width: 45%;
        margin: 0 2%;
        max-width: 450px;
    }


    .contact__tel {
        max-width: 384px;
        width: 45%;
    }



}

/*============================
	footer
============================*/
.footer {
    padding: 60px 0 80px;
    background: url(../images/ft_bg.png) no-repeat center center/cover;
}

.ft__navwrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.ft__nav {
    width: 50%;
}

.ft-nav__li a {
    display: block;
    white-space: nowrap;
    line-height: 1;
    font-size: 1.2rem;
    margin: 0 0 1.5em;
    text-align: left;
    position: relative;
    white-space: nowrap;
}


.ft-nav__li:last-child a {
    border: none;

}

.ft-nav__li p,
.ft-nav__li span {
    line-height: 1;
    width: fit-content;
}


.ft__logo {
    max-width: 252px;
    max-width: 140px;
    margin: 0 auto 60px;
}




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

@media screen and (min-width:768px) {
    .footer {
        padding: 80px 0;
    }

    .ft__navwrap {
        display: block;
        margin-bottom: 40px;
    }

    .ft__nav {
        width: 100%;
    }

    .ft-nav__li a {
        font-size: 1.3rem;
        margin: 0 0 1em;
        text-align: center;
        padding: 0 1em;
        border-right: solid 1px #fff;
    }

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




    .ft__copyright {
        font-size: 1rem;
    }

}

@media screen and (min-width:1025px) {
    .footer {
        padding: 60px 0;
    }

    .ft__navwrap {
        margin-bottom: 80px;
    }
    .ft-nav__li a {
        font-size: 1.5rem;
        margin: 0 0 1em;
        padding: 0 1em;
    }

    .ft__logo {
        max-width: 252px;
        margin: 0 auto 60px;
    }

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




/*============================
	page top /side btn
============================*/
.js-pagetop {
    max-width: 24px;
    min-width: 16px;
    width: calc((24/1920)*100%);
    display: block;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
    position: fixed;
    bottom: 100px;
    right: 2%;

}

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

.side__btn {
    max-width: 57px;
    min-width: 35px;
    width: calc((57/1920)*100%);
    bottom: 200px;
    right: .0;
    display: none;
    z-index: 99;
    transition: .5s;
    position: fixed;
}



.fixed__ft {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #d81416;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 99;
    font-size: 1rem;
}

.fixed__item {
    width: 33.33%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    white-space: nowrap;
}

.fixed__item img {
    display: block;
    width: 16px;
    margin-right: .5em;
}

.fixed__item:nth-child(2) {
    background: #7e0606;
}

.fixed__item:nth-child(3) {
    background: #3d0202;
}

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

}

.fixed__line {
    background: #00b900;
    color: #fff;
}

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


@media screen and (min-width:768px) {
    .js-pagetop {
        min-width: 16px;
        width: calc((24/1920)*100%);
        bottom: 100px;
    }

    .side__btn {
        min-width: 35px;
        width: calc((57/1920)*100%);
        bottom: auto;
        top: 200px;
        right: 0;
    }

    .fixed__ft {
        display: none;
    }

}

@media screen and (min-width:1025px) {
    .js-pagetop {
        min-width: 16px;
        width: calc((24/1920)*100%);
        bottom: 100px;
    }

    .side__btn {
        min-width: 35px;
        width: calc((57/1920)*100%);
        top: 200px;
        right: .0;
    }
}


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

#splash.secondtime {
    display: none;
}

#loading {
    width: 160px;
    height: 134px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.load-logo {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    &.parts01 {
        top: calc(50% - 60px);
        opacity: 0;
        animation: logoAnime01 2s .5s forwards;
    }

    &.parts02 {
        opacity: 0;
        animation: logoAnime02 1s .5s forwards;
    }

    &.parts03 {
        top: calc(50% + 60px);
        opacity: 0;
        animation: logoAnime03 2s .5s forwards;
    }
}


@keyframes logoAnime01 {
    0% {
        opacity: 0;
        top: calc(50% - 60px);
        transform: translate(-50%, -50%) skew(0, -50deg);

    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        top: 50%;
        transform: translate(-50%, -50%) skew(0, 0);
    }
}

@keyframes logoAnime02 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) skew(60deg, 0);
    }

    50% {
        opacity: 1;

    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) skew(0, 0);
    }
}

@keyframes logoAnime03 {
    0% {
        opacity: 0;
        top: calc(50% + 60px);
        transform: translate(-50%, -50%) skew(0, -50deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        top: 50%;
        transform: translate(-50%, -50%) skew(0, 0);
    }
}

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

@media screen and (min-width:1025px) {
    #loading {
        width: 200px;
        height: 168px;
    }

}