@charset "UTF-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {

    font-size: 16px;
    font-family: serif;
    /* font-family: "Kiwi Maru", sans-serif;
    font-weight: 400;
    font-style: normal; */
}


/* 
#28A6A5
#F9FCFD
#082627
 */

/* 全ページ共通 */
a:link {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}


body {
    background-color: #F9FCFD;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    margin: 10% 0 5% 0;
    color: #082627;
    filter: drop-shadow(3px 3px 5px #beab7e);
}

h3 {
    font-size: 1.2rem;
    color: #082627;
    border-bottom: #082627 1px solid;
    padding: 5px 0;
    margin: 5px 0;
}


/* ヘッダー */

header {
    background-color: #082627;
    color: #F9FCFD;
    font-size: 0.8rem;
    margin: 0;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;

    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;


    }

    .reserve {
        /* background-color: rgb(249, 252, 253, 0.5); */
        background-color: rgb(40, 166, 165);
        padding: 5px 10px;
        border-radius: 50px;
    }


    img {
        width: 100px;
    }
}


/* フッター  */

footer {
    background-color: #082627;
    color: #F9FCFD;
    font-size: 0.8rem;

    width: 100%;
    padding: 30px;
    margin: 10% 0 0 0;

    .footer {
        display: flex;
        justify-content: space-around;
        align-items: center;

    }

    .copy {
        text-align: center;
    }

    .pagetop {
        text-align: center;
        margin: 30% 0 0 0;
    }
}

.loader {
    width: 45px;
    aspect-ratio: 1;
    --c: no-repeat linear-gradient(#000 0 0);
    background:
        var(--c) 0% 50%,
        var(--c) 50% 50%,
        var(--c) 100% 50%;
    background-size: 20% 100%;
    animation: l1 1s infinite linear;
}

@keyframes l1 {
    0% {
        background-size: 20% 100%, 20% 100%, 20% 100%
    }

    33% {
        background-size: 20% 10%, 20% 100%, 20% 100%
    }

    50% {
        background-size: 20% 100%, 20% 10%, 20% 100%
    }

    66% {
        background-size: 20% 100%, 20% 100%, 20% 10%
    }

    100% {
        background-size: 20% 100%, 20% 100%, 20% 100%
    }
}




/* メイン */
main {
    margin: 15vh 0 0 0;
}



/* 　　　　　　　　　　　　　　　　　1.トップページ */
/* ヒーロー */

/* ビデオ */
.video {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;

}

.video-wrapper {
    position: relative;
    max-width: calc(100% - 80px);
    /* 左右に40pxずつ余白 */
    margin: 0 auto;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    /* 元の縦比率を維持 */
    display: block;
}

.video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}




.hero {
    position: relative;
    width: 100%;
    height: 100%;
    /* margin: 50px auto; */
    overflow: hidden;
    /* スライドがはみ出ないように */

    display: flex;
    justify-content: center;
    align-items: center;
}

/* 背景スライダー：container内に広がる */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    /* 背面に配置 */
    overflow: hidden;
}



.slide-track {
    display: flex;
    width: calc(300px * 6);
    /* スライド数に応じて調整 */

    animation: scroll 30s linear infinite;
}

.slide {
    flex: 0 0 auto;
    width: 40%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* スライドアニメーション */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-900px);
    }

    /* 半分ずつスライド */
}

/* コンテンツを前面に */
.content {
    position: relative;
    z-index: 3;
    padding: 20px;
    color: white;
    text-align: center;

    filter: drop-shadow(5px 5px 5px #082627)
}



/* ナブ */
.nav {
    padding: 50px;

    a:hover {
        color: #28A6A5;
    }

    ul {
        display: flex;
        justify-content: center;
        gap: 50px;
        flex-wrap: wrap;
        list-style: none;
        font-size: 1.2rem;

    }
}



/* セクション1　キャッチコピー　*/

.section1 {
    /* background-image: url(./image/photo/sun.jpeg);
    width: 80vw;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    justify-content: center;
    margin: 0 auto; */


    p {
        padding: 30vw 0;
        font-size: 1.5rem;
        text-align: center;
        color: #F9FCFD;
        filter: drop-shadow(5px 5px 5px #082627);

    }
}




/* セクション2　部屋・施設紹介　 */


.section2 {
    .items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        justify-content: space-between;
        justify-items: center;

        .item {
            img {
                width: 30vw;
                height: 40vh;
                display: block;
            }

        }

    }

    .heya,
    .onsen,
    .dining {
        position: relative;
        /*親要素にrelative*/
    }

    .heya p,
    .onsen p,
    .dining p {
        position: absolute;
        /*重ねたい子要素にabsolute*/
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 1.5rem;
        margin: 0 !important;
        padding: 0 !important;
        filter: drop-shadow(5px 5px 5px #082627);
    }

}

/* イベント */
.event-p {
    text-align: center;
}

.event-img {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    justify-content: space-between;
    justify-items: center;

    align-items: center;
    margin: 50px;
    max-width: 100%;

    img {
        width: 60%;
    }
}

.news-list {
    list-style: none outside;
    margin: 0;
    padding: 0;
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
    margin: 0 50px;
}

.news-list .item:first-child a {
    border-top: 1px solid #CCC;
}

.news-list .item .date {
    margin: 0;
    min-width: 140px;
    font-size: 16px;
    color: #999;
    padding: 0 20px 0 0;
}

.news-list .item .category {
    margin: 0;
    min-width: 140px;
    padding: 0 20px 0 0;
}

.news-list .item .category span {
    background: #999;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5px 20px;
    font-size: 12px;
    line-height: 1;
}

.news-list .item .title {
    margin: 0;
    width: 100%;
}

.news-list .item a:hover .title {
    color: #00F;
}

@media screen and (max-width: 767px) {
    .news-list .item a {
        flex-wrap: wrap;
    }

    .news-list .item .date {
        min-width: 100px;
    }

    .news-list .item .title {
        margin-top: 10px;
    }
}

/* 装飾 */

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}




/* アクセス */
.access {
    text-align: center;

    img {
        width: 40%;
        justify-items: center;
        max-width: 100%;
    }

}







/* 　　　　　　　　　　　　　　　2.館内の案内 */

.hotel {
    padding: 0 10%;
}

.hotel-hero {
    background-image: url(./image/ソルナリゾート⑤.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    height: 600px;
    width: 100%;
    max-width: 100%;
    /* min-height: 100%; */

    padding: 20% 5% 10% 5%;

}


.roominfo {
    align-items: center;
    margin: 50px 0 80px 0;

    img {
        width: 100%;
        max-width: 100%;
    }

    .right {
        margin: 0 0 0 80%;
        /* text-align: right; */
    }
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 50px;

    img {
        width: 80%;
        max-width: 100%;
    }
}

.amenities {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 50px;

    img {
        width: 80%;
        max-width: 100%;
    }

}

.fontmini {
    font-size: 0.8rem;
    margin: 0 auto;
    max-width: 100%;
    justify-items: center;

}

.reserve-button {

    text-align: center;
    align-items: center;
    /* margin: 30px 0 50px 0; */
    width: 15%;
    max-width: 100%;
    padding: 10px;


    background-color: #28A6A5;
    color: #F9FCFD;
    border-radius: 20px;
    font-size: 0.9rem;

    a:hover {
        color: #082627;
    }

}





/* 　　　　　　　　　　　　　　　3.予約ページ */

.formall {
    background-image: url(./image/photo/B292459C-AE0B-4105-8E50-6954B812B1B0.PNG);
    background-position: center;
    background-size: cover;
    width: 100%;
    max-width: 100%;
    color: #082627;
    /* color: #F9FCFD; */
    padding: 2rem;
    margin: auto;
}

h1 {
    text-align: center;
    font-size: 2rem;
    color: #082627;
    text-shadow: 2px 2px 5px white;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

select,
input[type="date"],
input[type="number"],
button {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    /* color: white; */
}

button {
    background-color: #28A6A5;
    /* color: white; */
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #1d807f;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logbtn {
    display: flex;
    gap: 0.5rem;
}

.logbtn button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* background-color: #FFF; */
    color: #082627;
}

.lang select {
    background-color: #FFF;
    color: #000;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;

    .lang {
        color: white;
    }
}


.logbtn {
    display: flex;
    gap: 0.5rem;
}


.logbtn button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: #082627;
    color: #fff;
}


.lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.form {
    background-color: #fff;
    margin: 0 20%;
    padding: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.form-logo {
    text-align: center;
}

.form-logo img {
    width: 100px;
}








/* レスポンシブ対応 */
@media(max-width: 780px) {
    body {
        margin: 0;
        max-width: 100%
    }


    .content {
        img {
            width: 80%;
            max-width: 100%;
            align-items: center;
        }
    }

    .slide img {
        width: 50vw;
        height: 50vh;
        object-fit: cover;
    }



    .section2 .items,
    .amenities,
    .services {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;

        .item img {
            width: 80vw;
            margin: 0 auto;

        }
    }

    .footer {
        img {
            width: 60%;
            gap: 10%;
        }
    }



}




/* アニメーション */

@keyframes scroll-animation {
    0% {
        background-position: 0 0;
        /* 最初は左端に */
    }

    100% {
        background-position: -50px 0;
        /* スクロール量 (-500pxは調整してください) */
    }
}

.hero {
    animation: scroll-animation 10s linear infinite;
    /* アニメーション設定 */
}