@charset "utf-8";

body {
    margin: 0 auto;
    background: #f4f5f0;
    color: #35545f;
    line-height: 1.8;
    box-sizing: border-box;
    max-width: 100%;
    font-weight: bold;
}

/* ローディング画面 */
.loading-splash {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(./img/loading.jpg) center/cover;
    z-index: 999;
    transition: opacity .2s .75s ease-in-out;
    animation: loading 0.5s both 3.5s;
    z-index: 10000;

}

@keyframes loading {
    100% {
        transform: translateY(-100%);
        visibility: hidden;
    }
}

.loading-splash.loaded {
    opacity: 0;
}

.container-umbel-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate3d(-50%, -50%, 0);
}

/* ローディング画面ロゴ */
.umbel-logo {
    width: 280px;
    fill: #fff;
}

.umbel-logo .dot.animated {
    animation: hop .3s ease-in alternate 2;
    transform-origin: center center;
}

.umbel-logo .dot-second.animated {
    animation-delay: .15s;
}

.umbel-logo .dot-third.animated {
    animation-delay: .3s;
}

.umbel-logo .u.animated {
    animation: duck .5s ease-in-out 2 alternate;
    transform-origin: center center;
}

.loading-text {
    margin-top: 0;
    color: #fff;
    font-family: 'proxima-nova-2', Arial, sans-serif;
}

h2 .loading-text {
    margin-top: 1rem;
}

.loading-text .letter {
    display: inline-block;
    transition: transform .5s linear,
        opacity .5s linear;
    opacity: 0;
    transform: rotate3d(.1, 1, 0, 90deg) translate3d(0, 15%, 0);
}

.loading-text .letter.visible {
    opacity: 1;
    transform: rotate3d(0, 0, 0, 90deg) translate3d(0, 0, 0);
}

@keyframes hop {
    0% {
        transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
    }

    100% {
        transform: scale3d(1.2, 1.2, 1) translate3d(0, -80%, 0);
    }
}

@keyframes duck {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, 10%, 0);
    }
}

.header {
    width: 100%;
    background: url('./img/top.jpg') center center / cover no-repeat;
    height: 100vh;
    color: #F4F5F0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.header-text {
    margin: auto;
    font-family: 'Playfair Display', serif;
}

.header-text h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.header-text p {
    font-size: clamp(1rem, 4vw, 3rem);
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.typing-text {
    display: inline-block;
    border-right: 0.15em solid #fff;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(10) forwards 3.5s, blink-caret 3.75s step-end 1;
}

.delay {
    animation-delay: 4.5s;
    /* h1の3.5s + 少し余裕を見て4秒遅らせる */
    border-right: 0.15em solid #fff;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0s 6.5s forwards, typing2 3.5s steps(22) forwards 6.5s, blink-caret 0.75s step-end 7s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* typingアニメーション */
@keyframes typing {
    0% {
        width: 0;
        border-right: 0.15em solid #fff;
    }

    99.9% {
        width: 10ch;
        border-right: 0.15em solid #fff;
    }

    100% {
        border-right: 0.15em solid transparent;
    }
}

@keyframes typing2 {
    0% {
        width: 0;
        border-right: 0.15em solid #fff;
    }

    99.9% {
        width: 22ch;
        border-right: 0.15em solid #fff;
    }

    100% {

        border-right: 0.15em solid transparent;
    }
}

/* カーソル点滅 */
@keyframes blink-caret {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: #fff;
    }

    100% {
        border-color: transparent;
    }
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

/* 1本の棒 */
.scroll-bar {
    width: 2px;
    height: 40px;
    background: #fff;
    border-radius: 1px;
    animation: bar-move 2s infinite;
    margin-bottom: 6px;
}

/* 下に小さく "scroll" */
.scroll-text {
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0.8;
    text-transform: lowercase;
}

/* 棒の上下に動くアニメーション */
@keyframes bar-move {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.6;
    }
}

h2 {
    margin: 15rem 10rem 3rem;
    padding: 5rem 0 1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 300%;
    /* border-bottom: #35545f 5px solid; */
    
}

h3 {
    font-size: 150%;
}

/* Sections */
section {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.concept p {
    line-height: 4;
    letter-spacing: 0.05em;
}

.concept h2 {
    margin-bottom: 1rem;
}

.font1 {
    font-family: 'Playfair Display', serif;
}

.font2 {
    font-family: 'Noto Sans JP', sans-serif;
}

/* スライドショー用 */
.slideshow {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    margin-top: 2rem;
}

.slideshow-inner {
    flex-shrink: 0;
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: auto;
}

.slideshow-inner {
    animation: sl 25s infinite linear;
}

@keyframes sl {
    100% {
        transform: translateX(-100%);
    }
}

.slideshow-inner img {
    width: 33vw;
    aspect-ratio: 1/0.7;
    max-width: 60%;
    object-fit: cover;
}


/* Rooms */
.section-rooms {
    width: 60%;
}

.section-rooms p {
    margin-top: 1.5rem;
}

.room-info,
.spa-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.room-info img,
.spa-info img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}

.room-text {
    width: 50%;
    text-align: center;
}

.room-text p {
    margin-bottom: 1rem;
}

.reverse {
    flex-direction: row-reverse;
}

.reverse h3 {
    font-family: 'Playfair Display', serif;
}


/* Button */
.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.6rem 2rem;
    background: #35545f;
    color: #C6AB80;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn:hover {
    background: #5a1919;
}

/* restaurant */
.fade {
    margin: 0 auto;
    width: 50%;
    height: 10%;
}

.fade img {
    width: 50%;
    aspect-ratio: 1/.7;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 15px solid #C6AB80;
}

.restaurant p {
    margin: 5rem 5rem 2rem;
    line-height: 3;
}

/* Reservation */
.reservation-box>.btn {
    color: #F4F5F0;
}

.reservation-box {
    background: #d1ba9383;
    padding: 2.5rem;
    border-radius: 10px;
    border: #35545f 3px solid;
    display: inline-block;
    width: 60%;
    margin: auto 0;
    color: #35545f;
    font-weight: bold;
}

.reservation-box p {
    line-height: 3;
}

.sightseeing p {
    line-height: 3;
}

.sightseeing .btn {
    margin-top: 3rem;
}

.slick-prev:before,
.slick-next:before {
    color: #35545f;
}

.fixed-reserve-btn {
    position: fixed;
    bottom: 30px;
    /* 下からの距離 */
    right: 30px;
    /* 右からの距離 */
    padding: 1rem 2rem;
    background-color: #35545f;
    color: #F4F5F0;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s;
}

.fixed-reserve-btn:hover {
    background-color: #5a1919;
}


/* レスポンシブ */
@media (max-width: 999px) {
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-bar {
        height: 30px;
        width: 1.5px;
    }

    .scroll-text {
        font-size: 0.6rem;
    }

    /* 1. ファーストビューの文字サイズ調整 */
    .header-text h1 {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }

    .header-text p {
        font-size: 1.2rem;
        letter-spacing: 0.05em;
    }

    h2 {
        margin: 5rem 0 0;
        padding: 2rem 0 1rem;
        font-size: 2rem;
    }

    .concept p,
    .restaurant p,
    .sightseeing p,
    .reservation-box p {
        line-height: 2;
    }


    /* 3. スライドショー画像幅調整 */
    .slideshow-inner img {
        width: 90vw;
        max-width: 100%;
        aspect-ratio: 1/0.7;
    }

    /* 4. セクション幅調整 */
    .section-rooms,
    .reservation-box {
        width: 90%;
    }

    /* 5. 2カラム構成 → 縦並びに */
    .room-info,
    .spa-info {
        flex-direction: column;
        text-align: center;
    }

    .room-info img,
    .spa-info img {
        width: 100%;
    }

    .room-text {
        width: 100%;
        padding: 1rem 0;
    }

    /* 6. レストラン画像 */
    .restaurant img {
        width: 90%;
    }

    .restaurant p {
        margin: 1.5rem 1rem;
        font-size: 0.95rem;
    }

    .fade img {
        width: 100%;
        border: 5px solid #C6AB80;
    }

    /* 7. ボタンサイズ */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* 9. 固定予約ボタン */
    .fixed-reserve-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .footer-content .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .reservation-box {
        padding: 1.5rem;
    }

    .sightseeing p {
        margin: 0 1rem;
    }

    .concept p {
        margin: 0 1rem;
    }

}