@charset 'UTF-8';

/* animation */
@keyframes opening {
    0% {
        transform: translateY(70px);
        opacity: 0;
    }

    50% {
        transform: translateY(70px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

body{
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    overflow-x: hidden;
}

body.-fixed{
    overflow: hidden;
}

/* section */
.section{
    padding: 80px 5% 160px;
}

/* ttl */
.ttl{
    margin-bottom: 70px;
    font-size: 27px;
    font-weight: 700;
    color: #e73d43;
    text-align: center;
}

.ttl_s{
    margin-bottom: 50px;
    font-size: 23px;
    font-weight: 700;
    color: #fff;
}

/* txt */
.txt{
    text-align: center;
}

/* hero */
.hero{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(66, 66, 66, 0.5);
    z-index: 1;
}

.hero_slider{
    width: 100%;
    height: 100%;
}

.hero_slider .slick-list{
    width: 100%;
    height: 100%;
}

.hero_slider .slick-list .slick-track{
    width: 100%;
    height: 100%;
}

.hero_slider .slick-list .slick-track .slick-slide > div{
    width: 100%;
    height: 100%;
}

.hero_slider .slick-list .slick-track .slick-slide > div li{
    width: 100%;
    height: 100%;
}

.hero_slider .slick-list .slick-track .slick-slide > div li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_logo{
    position: absolute;
    width: 200px;
    z-index: 2;
}

.hero_logo img{
    width: 100%;
}

/* facility */

.facility{
    background: #53bbd4;
}

.facility .txt{
    color: #fff;
    text-align: left;
}

.facility_list .set{
    display: flex;
    justify-content: center;
    gap: 50px;
}

.facility_list .set:not(:last-of-type){
    margin-bottom: 120px;
}

.facility_list .set:nth-child(even){
    flex-flow: row-reverse;
}

.facility_list .set .img{
    width: 40%;
}

.facility_list .set .img img{
    width: 100%;
    object-fit: cover;
}

.facility_list .set .txt_box{
    width: 35%;
}

/* profile */
.profile{
    background: #fff;
}

.profile .tbl{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-top: solid 1px #333;
}

.profile .tbl table,
.profile .tbl tbody{
    width: 100%;
}

.profile .tbl tr{
    width: 100%;
    border-bottom: solid 1px #333;
}

.profile .tbl th{
    width: 300px;
    padding: 30px 0;
    vertical-align: middle;
}

.profile .tbl td{
    padding: 30px 0;
}

/* gallery */
.gallery{
    background: #eee;
}

.gallery .gallery_list{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px 30px;
    flex-wrap: wrap;
}

.gallery .gallery_list .photo{
    width: 300px;
    height: 250px;
    cursor: pointer;
}

.gallery .gallery_list .photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* map */
.map{
    width: 100%;
    height: 500px;
}

.map iframe{
    width: 100%;
    height: 100%;
}

/* footer */
.footer{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 120px;
    padding-top: 30px;
    background: #53bbd4;
}

.footer .copy{
    font-size: 16px;
    font-weight: bold;
    color: #e73d43;
}

/* top_logo */
.top_logo{
    position: fixed;
    top: 35px;
    left: 5%;
    width: 120px;
    z-index: 2;
}

.top_logo img{
    width: 100%;
}

/* pop_up */
.pop_up{
    display: none;
}

.pop_up.-show{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pop_up .overlay{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    background: rgba(255, 255, 255, .7);
}

.pop_up .content{
    position: relative;
    width: 100%;
    max-width: 750px;
    height: auto;
}

.pop_up .content img{
    width: 100%;
    object-fit: cover;
}

.pop_up .content .close{
    position: absolute;
    top: -45px;
    right: -45px;
    width: 40px;
    height: 40px;
    background: url(/img/x-circle.svg) center / 40px auto no-repeat;
    cursor: pointer;
}

/* sns_bar */

.sns_bar{
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding-bottom: 12px;
    z-index: 2;
}

.sns_bar .sns{
    width: 40px;
    height: 40px;
}

.sns_bar .sns img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns_bar .sns.f{
    width: 34px;
    height: 34px;
}

/* opening */

.opening{
    display: none;
}

.opening.-move{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #53bbd4;
    opacity: 1;
    z-index: 100;
}

.opening.-move .logo{
    position: absolute;
    width: 200px;
    animation-name: opening;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-duration: 1.2s;
}

.opening.-move .logo img{
    width: 100%;
}

.opening.-end{
    animation-name: opening_end;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-duration: .5s;
}

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

    html{
        overflow-x: hidden;
    }

    body{
        font-size: 14px;
    }

    /* section */
    .section{
        padding: 32px 5.5% 64px;
    }

    /* ttl */
    .ttl{
        margin-bottom: 32px;
        font-size: 23px;
        font-weight: 700;
    }

    .ttl_s{
        margin-bottom: 21px;
        font-size: 20px;
        font-weight: 700;
    }

    /* hero */

    .hero_logo{
        width: 30%;
        max-width: 130px;
    }

    /* facility */

    .facility_list .set{
        flex-flow: column;
        align-items: center;
        gap: 20px;
    }

    .facility_list .set:nth-child(even) {
        flex-flow: column;
    }

    .facility_list .set:not(:last-of-type){
        margin-bottom: 60px;
    }

    .facility_list .set .img{
        width: 100%;
    }

    .facility_list .set .txt_box{
        width: 100%;
    }

    /* profile */

    .profile .tbl{
        max-width: none;
    }

    .profile .tbl th{
        width: 100px;
        padding: 22px 0;
    }

    .profile .tbl td{
        padding: 22px 0;
    }

    /* gallery */

    .gallery .gallery_list{
        gap: 20px 5%;
    }

    .gallery .gallery_list .photo{
        width: 40vw;
        height: 30vw;
    }

    /* map */
    .map{
        height: 300px;
    }

    /* footer */
    .footer{
        height: 83px;
        padding-top: 12px;
    }

    .footer .copy{
        font-size: 14px;
    }

    /* top_logo */
    .top_logo{
        top: 25px;
        left: 5.5%;
        width: 110px;
    }

    /* pop_up */

    .pop_up .overlay{
        padding: 0 5.5%;
    }

    .pop_up .content{
        position: relative;
        width: 80%;
        max-width: none;
        height: auto;
    }

    .pop_up .content .close{
        position: absolute;
        top: -40px;
        right: -40px;
        width: 35px;
        height: 35px;
        background: url(/img/x-circle.svg) center / 35px auto no-repeat;
    }

    /* sns_bar */

    .sns_bar{
        gap: 12px;
        padding-bottom: 10px;
    }

    .sns_bar .sns{
        width: 35px;
        height: 35px;
    }

    .sns_bar .sns.f{
        width: 31px;
        height: 31px;
    }

    /* opening */

    .opening.-move .logo{
        width: 30%;
        max-width: 130px;
    }

}