/* =========================================
   メインページ用スタイル
   ========================================= */

/* 共通コンテナ */
.main-container .container {
    width: 1080px;
    margin: 0 auto;
    max-width: 95%;
}

/* セクションタイトル */
.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    font-family: "游明朝", "Yu Mincho", serif;
    position: relative;
    padding-bottom: 15px;
}
.section-title span {
    display: block;
    font-size: 14px;
    font-family: "游ゴシック", sans-serif;
    color: #c30d22; /* アクセントカラー(赤) */
    margin-top: 5px;
    letter-spacing: 2px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #c30d22;
}


/* =========================================
   スプリット型メインビジュアル
   ========================================= */

/* 全体のラッパー */
.split-hero {
    position: relative;
    width: 100%;
    height: 80vh; /* 画面の80%の高さ（PC） */
    min-height: 500px;
    margin-top: 0px; /* ヘッダー固定分の余白 */
    overflow: hidden;
    background-color: #fff; /* ベースは白 */
}

/* ----------------------------------
   1. 最背面：スライダー
   ---------------------------------- */
.hero-slider-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* 右側60%を画像エリアにする（グラデーションで馴染むので大まかでOK） */
    height: 100%;
    z-index: 0;
}

/* スライダーの高さ確保 */
.hero-slider-bg .slick-list,
.hero-slider-bg .slick-track,
.hero-slide-item {
    height: 100%;
}

/* 画像スタイル（ズームアニメーション含む） */
.slide-img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    /* 初期状態 & 戻る時の動き（カクつき防止） */
    transform: scale(1);
    transition: transform 10s linear;
}

/* アクティブ時のズーム */
.hero-slider-bg .slick-active .slide-img {
    transform: scale(1.15);
    transition: transform 10s linear;
}

/* ----------------------------------
   2. 中間層：グラデーションマスク
   ---------------------------------- */
.hero-gradient-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* 下の画像をクリック可能にする場合 */
    
    /* 
       重要：グラデーション設定
       0%〜45%：完全な白（テキストエリア用）
       45%〜70%：白から透明へフェード
    */
    background: linear-gradient(90deg, 
        #ffffff 45%, 
        rgba(255, 255, 255, 0) 70%
    );
}

/* ----------------------------------
   3. 最前面：テキストエリア
   ---------------------------------- */
.hero-text-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* 左半分 */
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center; /* 垂直中央揃え */
    justify-content: center; /* 水平中央揃え */
    padding-left: 5%; /* 少し右に寄せる調整 */
}

.text-inner {
    text-align: left;
    color: #333;
}

/* メインコピー（暮らすように泊まるホテル） */
.main-copy {
    font-family: "游明朝", "Yu Mincho", serif;
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #221814;
}

/* サブコピー */
.sub-copy {
    font-family: "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    line-height: 2;
    color: #666;
    font-weight: 500;
}

/* 2. コンセプト */
.section-concept {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}
.concept-text {
    font-size: 16px;
    line-height: 2.2;
    color: #333;
}

/* 3. ホテルリスト（SA Inn） */
.section-hotels {
    padding: 60px 0 80px;
    background-color: #f8f9f9;
}

.area-group {
    margin-bottom: 60px;
}
.area-title {
    font-size: 20px;
    color: #333;
    border-left: 5px solid #c30d22;
    padding-left: 15px;
    margin-bottom: 25px;
    font-family: "游ゴシック", sans-serif;
}
.area-title i {
    color: #c30d22;
    margin-right: 5px;
}

/* グリッドレイアウト */
.hotel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.hotel-card {
    background: #fff;
    width: calc(33.333% - 20px); /* 3列表示 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}
.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.hotel-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hotel-card:hover .card-img img {
    transform: scale(1.1);
}
.card-img .tag {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #c30d22;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    font-weight: bold;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-body h5 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.btn-detail {
    display: block;
    text-align: center;
    background: #333;
    color: #fff;
    padding: 10px;
    font-size: 13px;
    border-radius: 4px;
    transition: background 0.3s;
}
.hotel-card:hover .btn-detail {
    background: #c30d22;
}

/* 4. 宿や（特別デザイン） */
.section-yadoya-brand {
    padding: 80px 0;
    background-color: #e6d8bf; /* 和風ベージュ（yadoya.css準拠） */
    background-image: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255,255,255,0.2) 10px, rgba(255,255,255,0.2) 11px );
}
.yadoya-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.yadoya-img {
    width: 55%;
    overflow: hidden;
}
.yadoya-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.yadoya-info {
    width: 45%;
    padding: 40px;
    text-align: left;
}
.brand-label {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    margin-bottom: 15px;
    font-family: "游明朝", serif;
}
.yadoya-info h3 {
    font-size: 28px;
    font-family: "游明朝", serif;
    margin-bottom: 20px;
    color: #3b2c1c;
}
.yadoya-info p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}
.btn-yadoya {
    display: inline-block;
    border: 1px solid #3b2c1c;
    color: #3b2c1c;
    padding: 12px 30px;
    text-decoration: none;
    font-family: "游明朝", serif;
    transition: all 0.3s;
}
.btn-yadoya:hover {
    background: #3b2c1c;
    color: #fff;
}

/* 5. ニュース */
.section-news {
    padding: 60px 0;
    background: #fff;
}
.news-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}
.news-list li {
    border-bottom: 1px solid #eee;
}
.news-list a {
    display: flex;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
}
.news-list a:hover {
    opacity: 0.7;
}
.news-list .date {
    font-size: 13px;
    color: #999;
    margin-right: 15px;
}
.news-list .cat {
    background: #eee;
    font-size: 11px;
    padding: 3px 8px;
    margin-right: 15px;
    color: #555;
}
.news-list .title {
    font-size: 15px;
    flex: 1;
}

/* =========================================
   コラムセクション用スタイル
   ========================================= */

.section-column {
    padding: 80px 0;
    background-color: #f8f9f9; /* 背景色をつけてエリアを分ける */
}

/* グリッドレイアウト */
.column-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* カードスタイル */
.column-card {
    width: calc(33.333% - 20px); /* 3列表示 */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.column-card a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 画像エリア */
.column-img {
    width: 100%;
    height: 200px; /* 画像の高さを統一 */
    overflow: hidden;
}

.column-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を保ちつつ枠いっぱいに表示 */
    transition: transform 0.5s ease;
}

.column-card:hover .column-img img {
    transform: scale(1.1); /* ホバーで拡大 */
}

/* テキストエリア */
.column-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* メタ情報（日付・カテゴリ） */
.column-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.cat-label {
    background-color: #c30d22; /* ブランドカラー */
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
}

.date {
    color: #999;
    font-family: "Lato", sans-serif; /* 英数字用フォントがあれば指定 */
}

/* タイトル */
.column-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #333;
    /* 2行以上は省略記号(...)にする処理 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 抜粋文 */
.column-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    /* 3行以上は省略 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* 下部ボタンエリア */
.btn-area {
    margin-top: 40px;
    text-align: center;
}

.btn-common {
    display: inline-block;
    border: 1px solid #333;
    color: #333;
    padding: 12px 40px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: "游ゴシック", sans-serif;
}

.btn-common:hover {
    background: #333;
    color: #fff;
}


/* =========================================
   カスタム投稿（コラム）詳細ページ用スタイル
   ========================================= */

/* ----------------------------------
   記事ヘッダー（タイトル・日付・カテゴリ）
   ---------------------------------- */
.page-hero {
    padding: 150px 0 40px;
    background-color: #f8f9f9; /* 薄いグレー背景 */
    text-align: center;
    margin-bottom: 40px;
}

/* 記事タイトル */
.page-title {
    font-family: "游明朝", "Yu Mincho", serif;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* メタ情報（日付・ラベル） */
.page-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
    font-family: "Lato", "游ゴシック", sans-serif;
}

.page-meta .label {
    background-color: #c30d22; /* ブランドカラー */
    color: #fff;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
}

/* ----------------------------------
   記事本文エリア (.entry-content)
   ---------------------------------- */

/* アイキャッチ画像 */
.single-thumbnail {
    margin-bottom: 50px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 本文全体の基本設定 */
.entry-content {
    font-family: "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.8; /* 読みやすい行間 */
    color: #333;
    margin-bottom: 60px;
}

/* 本文内の段落 */
.entry-content p {
    margin-bottom: 24px;
}

/* 本文内の見出し H2 */
.entry-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background: #f8f9f9; /* 背景色 */
    padding: 15px 20px;
    border-left: 5px solid #c30d22; /* 左にアクセント線 */
    margin: 50px 0 30px;
}

/* 本文内の見出し H3 */
.entry-content h3 {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin: 40px 0 25px;
}

/* 本文内の見出し H4 */
.entry-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 20px;
}

/* 本文内のリスト (ul, ol) */
.entry-content ul,
.entry-content ol {
    margin: 0 0 30px 20px;
    padding: 0;
}
.entry-content ul li {
    list-style: disc; /* 黒丸 */
    margin-bottom: 10px;
}
.entry-content ol li {
    list-style: decimal; /* 数字 */
    margin-bottom: 10px;
}

/* 本文内の画像 */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

/* 引用 (blockquote) */
.entry-content blockquote {
    background: #f4f4f4;
    padding: 20px;
    border-left: 4px solid #999;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* リンク */
.entry-content a {
    color: #c30d22;
    text-decoration: underline;
    transition: opacity 0.3s;
}
.entry-content a:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* ----------------------------------
   記事下ナビゲーション
   ---------------------------------- */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: #c30d22;
}

.post-navigation .prev::before {
    content: "« ";
}
.post-navigation .next::after {
    content: " »";
}

/* =========================================
   SPレスポンシブ
   ========================================= */
@media screen and (max-width: 920px) {
    /* ホテルカード2列 */
    .hotel-card {
        width: calc(50% - 15px);
    }
    /* タブレットは2列 */
    .column-card {
        width: calc(50% - 15px);
    }

        .split-hero {
        height: auto; /* 高さはコンテンツなりに */
        min-height: auto;
        margin-top: 60px;
        display: flex;
        flex-direction: column-reverse; /* 画像を上に、テキストを下に配置換え */
    }

    /* 1. スライダー（SPは上部に配置） */
    .hero-slider-bg {
        position: relative;
        width: 100%;
        height: 50vh; /* 画面半分の高さ */
        right: auto;
    }

    /* 2. グラデーション（SPは下から上へ白くする） */
    .hero-gradient-mask {
        position: absolute;
        bottom: 0; /* スライダーの下部に配置 */
        left: 0;
        width: 100%;
        height: 100%; /* 全体にかけるが */
        background: linear-gradient(to top, 
            #ffffff 10%, 
            rgba(255, 255, 255, 0) 40%
        );
        /* 
           ※注：SPレイアウトでテキストを完全に下に分離する場合は
           このグラデーションは「画像の下端をぼかす」役割になります
        */
        top: auto;
        bottom: 50%; /* テキストエリアの開始位置に合わせる */
        height: 20%; /* 境界部分のみ */
        z-index: 3;
        display: none; /* 今回はシンプルに上下分割にするため非表示推奨 */
    }

    /* 3. テキストエリア（SPは下部の白背景エリア） */
    .hero-text-area {
        position: relative;
        width: 100%;
        height: auto;
        padding: 50px 20px;
        background: #fff;
        justify-content: center;
        text-align: center;
    }
    
    .text-inner {
        text-align: center;
    }

    .main-copy {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .sub-copy {
        font-size: 14px;
        text-align: left;
        display: inline-block; /* 左揃えにしつつ中央配置 */
    }

}

@media screen and (max-width: 768px) {
    .hero-content h2 {
        font-size: 26px;
    }
    .section-title {
        font-size: 22px;
    }
    
    /* ホテルリスト */
    .hotel-grid {
        flex-direction: column;
    }
    .hotel-card {
        width: 100%;
    }
    .card-img {
        height: 180px;
    }

    /* 宿やセクション */
    .yadoya-wrapper {
        flex-direction: column;
    }
    .yadoya-img, .yadoya-info {
        width: 100%;
    }
    .yadoya-info {
        padding: 30px 20px;
    }

    /* ニュース */
    .news-list a {
        flex-wrap: wrap;
    }
    .news-list .title {
        width: 100%;
        margin-top: 5px;
    }
    .hero-wrapper {
        margin-top: 60px; /* SPヘッダー高さ */
        height: 50vh;
    }
    .hero-content h2 {
        font-size: 26px;
    }
        /* タイトル周り */
    .page-hero {
        padding: 40px 0 30px;
    }
    .page-title {
        font-size: 24px; /* スマホでは少し小さく */
        padding: 0 15px;
    }
    
    /* 本文 */
    .entry-content {
        font-size: 15px;
        line-height: 1.7;
    }
    .entry-content h2 {
        font-size: 20px;
        padding: 12px 15px;
        margin: 40px 0 25px;
    }
    .entry-content h3 {
        font-size: 18px;
    }

    /* ナビゲーション */
    .post-navigation {
        flex-direction: column; /* 縦並び */
        gap: 20px;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    /* スマホは1列 */
    .column-card {
        width: 100%;
        margin-bottom: 15px; /* スマホ時の隙間調整 */
    }
    
    .column-grid {
        gap: 20px;
    }

    .column-img {
        height: 180px;
    }

    .column-title {
        font-size: 15px;
    }
}