/* =========================================
   Base Styles
   ========================================= */
:root {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --accent-color: #C5A059; /* シャンパンゴールド */
    --sub-text-color: #a0a0a0;
    --dark-grey: #1c1c1c;
    
    --font-en: 'Cinzel', serif;
    --font-jp: 'Noto Serif JP', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-jp);
    line-height: 2.0;
    font-weight: 300;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-en);
    font-weight: 400;
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-br {
  display: none; /* スマホ用の改行は非表示 */
}

.map-wrap {
    position: relative;
    width: 100%;
    /* 地図の縦横比（アスペクト比）を指定します */
    /* 16:9の場合は 56.25% (9÷16×100) */
    /* 4:3の場合は 75% (3÷4×100) */
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    
    /* ▼ここでモノクロにしています▼ */
    -webkit-filter: grayscale(100%) brightness(50%);
    -moz-filter: grayscale(100%) brightness(50%);
    -ms-filter: grayscale(100%) brightness(50%);
    -o-filter: grayscale(100%) brightness(50%);
    filter: grayscale(100%) brightness(50%);
}

/* スマホ表示時（例：600px以下） */
@media (max-width: 600px) {
  .pc-br {
    display: none; /* PC用の改行は非表示 */
	margin-left:-12px;
  }
  .sp-br {
    display: inline; /* スマホ用の改行を表示 */
  }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通パーツ */
.section-label {
    display: block;
    font-family: var(--font-en);
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

/* =========================================
   Header （修正：背景透明化と視認性向上）
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /* 背景を完全に透明にする */
    background: transparent;
    transition: background-color 0.3s ease;
}

/* スクロールした時にヘッダー背景を黒くしたい場合は、
   JavaScriptでスクロールを検知してheaderにクラス（例: .scrolled）を付与し、
   以下のコメントアウトを解除してください。今回は要望通り常に透明とします。
header.scrolled {
     background-color: rgba(0,0,0,0.9);
}
*/

.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.1em;
    /* 写真の上でも見えるように強力な影を追加 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.nav-btn {
    font-family: var(--font-en);
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.9);
    padding: 10px 24px;
    color: #fff;
    /* ボタンの視認性を高める影 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    background-color: rgba(0,0,0,0.1); /* ほんの少しだけ背景色を入れて読みやすく */
}

.nav-btn:hover {
    background-color: #fff;
    color: #000;
    text-shadow: none;
}

/* =========================================
   Hero Section （修正：複数枚スライドショー）
   ========================================= */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000; /* 読み込み前は黒 */
    z-index: 1; /* ベースとなる階層 */
}

/* スライドショーを一番下に配置 */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* #heroのコンテンツより後ろ、背景色よりは前になるように調整 */
}

/* 各スライド画像の共通設定 */
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* 初期状態は非表示 */
    transform: scale(1); /* 初期サイズ */
    
    /* アニメーション設定の短縮記載
       animation-name: imageAnimation (切り替え) と kenBurns (ズーム)
       animation-duration: 24s (3枚 × 8秒/枚)
       animation-timing-function: linear (切り替えは等速), ease-in-out (ズームは滑らか)
       animation-iteration-count: infinite (無限ループ)
    */
    animation: 
        imageAnimation 24s linear infinite, 
        kenBurns 24s ease-in-out infinite alternate;
}

/* 各画像の遅延設定（3枚で合計24秒サイクルを想定） */
.slide-item:nth-child(1) {
    animation-delay: 0s;
}
.slide-item:nth-child(2) {
    /* 1枚目のフェードアウトに合わせて開始 */
    animation-delay: 8s; 
}
.slide-item:nth-child(3) {
    /* 2枚目のフェードアウトに合わせて開始 */
    animation-delay: 16s;
}

/* オーバーレイ（黒いフィルター）をその上に */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 0; /* スライドショーより手前 */
}

/* 文字などのコンテンツを一番手前に */
.hero-content {
    position: relative;
    z-index: 10; /* 最前面 */
    animation: fadeInUp 2s ease-out 0.5s backwards;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.7); /* 影を強化 */
}

.sub-title {
    font-family: var(--font-en);
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.7);
    margin: 40px auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.catch-copy {
    font-size: 1.1rem;
    line-height: 2.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* --- アニメーションキーフレーム定義 --- */

/* 画像の透明度を切り替えるアニメーション（3枚用設定） */
@keyframes imageAnimation { 
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }
    4% { /* フェードイン完了 (24s * 4% = 約1秒) */
        opacity: 1;
        animation-timing-function: ease-out;
    }
    33% { /* 表示維持 (24s / 3枚 = 8秒間) */
        opacity: 1;
    }
    37% { /* フェードアウト完了 */
        opacity: 0;
    }
    100% { opacity: 0; }
}

/* ゆっくりズームするアニメーション（ケンバーンズ効果） */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15); /* 1.15倍までゆっくりズーム */
    }
}

/* =========================================
   Full Width Layout System (Concept & Rooms共通)
   ========================================= */
/* セクションの基本構造（左右分割） */
.fw-section {
    display: flex;
    width: 100%;
    align-items: stretch; /* テキストと画像の高さを合わせる */
    overflow: hidden;
}

/* テキストカラム */
.fw-text-col {
    width: 50%;
    display: flex;
    align-items: center; /* 垂直方向中央揃え */
    background-color: var(--bg-color); /* 背景色を明示 */
}

/* 画像カラム */
.fw-image-col {
    width: 50%;
    position: relative;
/* PC表示時の画像の最小高さを450pxに統一（Roomsと合わせる） */
    min-height: 250px;
}

.fw-image-col img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をトリミングしてエリアを埋める */
}

/* テキスト内部のラッパー（読みやすい幅と余白を確保） */
.text-content-inner {
    max-width: 550px; /* テキストの最大幅 */
    padding: 80px 60px; /* 上下左右の余白 */
    box-sizing: border-box;
}

/* テキストを右寄りに配置（画像が右側に来る場合） */
.align-right {
    margin-left: auto; /* 左側に余白を作って右寄せ */
    padding-right: 80px; /* 画像との境界の余白を少し広めに */
}

/* テキストを左寄りに配置（画像が左側に来る場合） */
.align-left {
    margin-right: auto; /* 右側に余白を作って左寄せ */
    padding-left: 80px; /* 画像との境界の余白を少し広めに */
}


/* =========================================
   Concept Section (個別調整：高さ固定版)
   ========================================= */
#concept {
    /* 強制的に高さを450pxにする */
    min-height: 450px;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0;
}

#concept h2 {
    font-family: var(--font-jp);
    font-size: 2rem;
    margin-bottom: 1.5rem; /* 余白を少し詰める */
    line-height: 1.4;
}

#concept p {
    color: #ccc;
    text-align: justify;
    line-height: 1.8; /* 行間を少し詰めて収まりを良くする */
}


/* テキストの余白設定 */
#concept .text-content-inner {
    /* 高さを450pxに収めるため、上下の余白を最小限にする */
    padding-top: 0;
    padding-bottom: 0;
    
    /* 左右の余白は維持 */
    padding-right: 80px; 
    
    /* レイアウト崩れ防止：テキストボックス自体が450pxを超えないようにする */
    max-height: 100%;
}




/* =========================================
   Rooms Section (個別調整：修正版)
   ========================================= */
#rooms {
    background-color: var(--dark-grey);
    padding: 100px 0 0;
}

/* 2. H2の下にmargin 30pxを追加 */
#rooms h2 {
    margin-bottom: 60px;
}

/* Rooms内の背景色設定 */
.room-bg .fw-text-col {
    background-color: var(--dark-grey);
}

/* Rooms内の画像高さ設定 */
.room-bg .fw-image-col {
    min-height: 450px;
}

/* 3. Living RoomとBed Roomの間にmargin 30pxを追加 */
.room-bg {
    margin-bottom: 60px;
}

/* 最後の要素（Bed Room）の下には余白をつけない */
.room-bg:last-child {
	margin-bottom: 0;
	padding-bottom: 100px;
}

/* --- 以下、テキストスタイル（変更なし） --- */
.fw-text-col h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ja-sub {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.fw-text-col p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.spec-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--sub-text-color);
    border-top: 1px solid #333;
    padding-top: 15px;
}

.spec-list li {
    margin-bottom: 5px;
}


/* =========================================
   Experience Section
   ========================================= */
#experience {
    padding: 120px 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* 背景にうっすら湯気のようなグラデーション */
#experience .bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #222 0%, #000 70%);
    opacity: 0.5;
    z-index: 0;
}

#experience .container {
    position: relative;
    z-index: 1;
}

.ex-lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #fff;
}

.sauna-content p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.feature-item {
    border: 1px solid #333;
    padding: 20px !important;
    width: 360px;
    max-width: 90vw;
	background-color: #0a0a0a;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.gold-icon {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-en);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-image {
    width: 100%;
	margin-bottom: 20px;
    height: 200px; /* 画像の高さもバランスを見て少し高くする（お好みで調整可） */
    overflow: hidden;
    border-bottom: 0px solid #222;
}

/* =========================================
   Information Section
   ========================================= */
#information {
    padding: 100px 0;
    background-color: var(--bg-color);
    border-top: 1px solid #222;
}

.info-box {
    max-width: 700px;
    margin: 0 auto;
}

.en-name {
    font-family: var(--font-en);
    color: var(--sub-text-color);
    margin-bottom: 30px;
}

.short-hr {
    border: 0;
    height: 1px;
    background: var(--accent-color);
    width: 50px;
    margin: 30px auto;
}

.info-details p {
    margin-bottom: 30px;
    color: #ccc;
    font-size: 0.95rem;
}

.info-details strong {
    color: #fff;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.note {
    font-size: 0.85rem;
    color: var(--accent-color);
}

/* =========================================
   Reservation Section
   ========================================= */
#reservation {
    position: relative;
    height: 80vh; /* 高さ確保 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.res-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.res-bg img {
    filter: brightness(0.4); /* 暗くする */
}

.res-content {
    z-index: 1;
}

.res-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.res-content p {
    margin-bottom: 3rem;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-en); /* 日本語ボタンでも欧文フォント指定で統一感を出す */
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.cta-button:hover {
    color: #000;
}

.cta-button:hover::after {
    width: 100%;
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: 40px 0;
    background-color: #050505;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    font-family: var(--font-en);
}

/* =========================================
   Animation Keyframes
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.8rem;
    }

    /* --- Concept & Rooms (スマホ対応修正) --- */
    
    /* 左右分割を縦積みに変更 */
    .fw-section {
        flex-direction: column;
    }
    
	/* ▼▼▼ ここに追加：Conceptの画像とテキストの間に隙間をあける ▼▼▼ */
    #concept .fw-image-col {
        margin-bottom: 30px;
    }
    /* ▲▲▲ ここまで追加 ▲▲▲ */
	
    /* 画像を先に表示するための順序変更 */
    .right-image-layout .fw-image-col {
        order: -1;
    }

    /* カラム幅を100%に */
    .fw-text-col, .fw-image-col {
        width: 100%;
    }

    /* スマホでの画像の高さ指定 */
    .fw-image-col {
        height: 300px; /* 固定の高さ */
        min-height: auto;
    }

    /* テキスト内部の余白調整 */
    .text-content-inner {
        max-width: 100%;
        padding: 50px 30px; /* 左右の余白を狭く */
        margin: 0 !important; /* PC用の寄せ設定を解除 */
    }

    /* テキストの配置を中央揃えに戻す（お好みで） */
    #concept p, .fw-text-col p {
        text-align: left;
    }

    #concept h2, .fw-text-col h3 {
        font-size: 1.8rem;
    }
    /* --------------------------------------- */

    /* Experience */
    .features {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    /* Reservation */
.res-content h2 {
        font-size: 2rem;
    }

    /* ▼▼▼ ここから追加 ▼▼▼ */
    /* スマホでは画像のアニメーション初期状態（透明）を強制的に解除して表示させる */
    .fw-image-col.scroll-reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    /* ▲▲▲ ここまで追加 ▲▲▲ */
	
	/* ▼▼▼ ここから追加：Conceptテキストの余白ズレを強制修正 ▼▼▼ */
    
    /* 詳細度を上げて、PC用の余白設定を強制的に上書きする */
    #concept .text-content-inner {
		margin-right: -30px !important;
        padding: 50px 30px !important; /* 上下50px、左右30pxに固定 */
        box-sizing: border-box; /* パディングを含めて幅を計算させる */
        width: 100%; /* 幅を確実に100%にする */
    }

    /* ▲▲▲ ここまで追加 ▲▲▲ */
	
}

/* =========================================
   Scroll Animation (スクロール演出)
   ========================================= */

/* 初期状態：少し下にずらして透明にする */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px); /* 下に40pxずらす */
    transition: opacity 1.0s ease-out, transform 1.0s ease-out; /* 1秒かけてゆっくり変化 */
    will-change: opacity, transform; /* 描画最適化 */
}

/* 表示状態：元の位置に戻して不透明にする（JSで付与） */
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

