/* =======================================================
   HOTEL PORTFOLIO (style.css)
   特徴：和モダン・静寂・フルスクリーン・縦書き
======================================================= */
:root {
    --color-bg: #fdfdfd;
    --color-dark: #1a1a1a;
    --color-text: #333333;
    --color-gold: #c6a87c;
    --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-serif);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    letter-spacing: 0.1em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    color: var(--color-gold);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    letter-spacing: 0.5em;
    writing-mode: vertical-rl;
    transition: opacity 1.5s ease;
}

.loading.loaded {
    opacity: 0;
    pointer-events: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

.bg-dark {
    background-color: var(--color-dark);
    color: #fff;
}

.center {
    text-align: center;
}

/* Vertical Text */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    /* 文字を背景色に合わせて反転 */
    color: #fff;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
}

.menu-btn p {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-top: 5px;
}

.reserve-btn-top a {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #fff;
    font-size: 0.9rem;
    transition: 0.4s;
}

.reserve-btn-top a:hover {
    background: #fff;
    color: #000;
}

/* Booking Widget */
.booking-widget {
    position: absolute;
    /* headerの下に配置 */
    bottom: -80vh;
    /* Heroの下部あたりに設置 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 90;
    width: 90%;
    max-width: 900px;
}

.booking-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.booking-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.booking-item label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.booking-item input,
.booking-item select {
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.btn-submit {
    background: var(--color-dark);
    color: var(--color-gold);
    border: none;
    padding: 15px 40px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    /* ゆっくりズームアウトするアニメーション */
    animation: zoomOut 20s infinite alternate linear;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero-text {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
    font-size: 2.2rem;
    line-height: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInText 2s 1s forwards;
}

@keyframes fadeInText {
    to {
        opacity: 1;
        right: 15%;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    z-index: 10;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-down::after {
    content: '';
    width: 1px;
    height: 60px;
    background: #fff;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Intro */
.intro {
    text-align: center;
    padding-top: 150px;
}

.section-title {
    font-size: 2.5rem;
    margin: 0 auto 50px;
    line-height: 2;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 2.5;
}

/* Rooms (Swiper) */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.en-title {
    font-size: 2rem;
    color: var(--color-gold);
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.2em;
}

.ja-title {
    font-size: 0.9rem;
    margin-top: 10px;
}

.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.5s;
}

.swiper-slide-active img {
    filter: brightness(1);
}

.slide-caption {
    margin-top: 20px;
    text-align: center;
}

.slide-caption h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-gold) !important;
}

.btn-area {
    text-align: center;
    margin-top: 40px;
}

.btn-line {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    transition: 0.4s;
}

.btn-line:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    font-family: inherit;
    font-size: 1.1rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--color-text);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 0 0 25px 0;
    color: #666;
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .fa-plus {
    transform: rotate(45deg);
    transition: 0.3s;
    color: var(--color-gold);
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--color-gold);
    font-weight: 300;
}

.footer-address {
    margin-bottom: 40px;
    font-size: 0.9rem;
    line-height: 2;
    color: #aaa;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Scroll Animation (GSAPの代わり) */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-down {
        display: none;
    }

    .booking-widget {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        padding: 20px;
        /* Keep padding for mobile */
    }

    .booking-form {
        flex-direction: column;
        align-items: stretch;
        /* Ensure items stretch to full width */
        gap: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-text {
        font-size: 1.8rem;
        right: 5%;
    }

    .section {
        padding: 80px 0;
    }

    .swiper-slide img {
        height: 40vh;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
}