@charset "UTF-8";

/* ============================================================
   1. お知らせセクション (#sec-news)
   ============================================================ */
#sec-news.page-block-content {
    padding-bottom: 0 !important; /* 下の緑色の余白を削除 */
    margin-bottom: 0 !important;  /* 下のオレンジ色の余白を削除 */
}

/* IFRAMEを包んでいるコンテナの余白調整 */
#sec-news .news-container > div:last-child {
    margin-top: 20px !important;
    padding-top: 20px !important;
}

/* Instagram埋め込み自体の余白を消去 */
#sec-news iframe {
    margin-bottom: 0 !important;
    display: block;
}

/* ============================================================
   2. 各種ご案内セクション (.stayMenu)
   ============================================================ */
.stayMenu.page-block-content {
    padding-top: 20px !important; /* お知らせとの境界線をスッキリさせる */
    margin-top: 0 !important;
    margin-bottom: 20 !important;
}

/* ============================================================
   3. バナー関連（デジタルマップ / リトリート）
   ============================================================ */
/* デジタルマップバナー */
.digital-map-banner.page-block-content {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    text-align: center;
}

.banner-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* リトリートバナー */
.retreat-banner-area {
    width: 95%;
    max-width: 1100px;
    margin: 40px auto;
    text-align: center;
}

.retreat-banner-area img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.retreat-banner-area a:hover img {
    opacity: 0.9;
    transform: scale(1.01);
}

/* ============================================================
   4. Wordpressお知らせリスト（PC向け基本スタイル）
   ============================================================ */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list-item {
    border-bottom: 1px solid #d1ccc0;
}

.news-list-item:last-child {
    border-bottom: none; /* 最後の項目の線を消す */
}

.news-list-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: background-color 0.3s;
}

.news-list-item a:hover {
    background-color: rgba(209, 204, 192, 0.1);
}

.news-img-wrapper {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-text-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.news-date {
    width: 120px; /* 日付の横幅を固定 */
    flex-shrink: 0;
    font-size: 1.3rem;
}

.news-title {
    padding-left: 20px; /* 日付との間の距離 */
    font-size: 1.4rem;
    line-height: 1.5;
}

.news-btn-area {
    margin-top: 30px;
    margin-bottom: 80px;
    text-align: center;
}

/* ============================================================
   5. スマートフォン専用の調整（レスポンシブ・余白詰め対応）
   ============================================================ */
@media screen and (max-width: 768px) {
    
    /* --- お知らせ・Instagramの調整 --- */
    #sec-news.page-block-content {
        padding-bottom: 10px !important;
    }
    #sec-news iframe {
        height: 430px !important;
    }

    /* --- バナーの調整 --- */
    .retreat-banner-area {
        margin-top: 0 !important; /* 上のセクションとの隙間をゼロに */
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* --- お知らせリストの調整 --- */
    .news-list-item a {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px;
        gap: 12px;
    }

    .news-img-wrapper {
        width: 100%;
        height: 180px;
    }

    .news-text-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .news-date {
        width: auto;
        margin-bottom: 8px;
        font-size: 1.2rem;
        display: block;
    }

    .news-title {
        padding-left: 0;
        padding-right: 30px; /* 右側の矢印と重ならないように */
        font-size: 1.4rem;
        line-height: 1.6;
        display: block;
    }

    .news-list-item .arrow {
        position: absolute;
        top: auto;
        bottom: 25px;
        right: 15px;
        transform: rotate(45deg);
    }

    .news-btn-area {
        margin-bottom: 50px;
    }
}

/* ==========================================================================
   宿泊予約メニュー下部の余白（margin-bottom）調整
   ========================================================================== */

/* PC向け（基本スタイル） */
body main section.stayMenu.page-block-content {
    /* * 元のサイズから縮めたい任意の数値を指定してください。
     * 完全に無くしたい場合は 0 を指定します。
     * 例として 40px に設定しています。
     */
    margin-bottom: 0px !important; 
}

/* スマートフォン・タブレット向け（レスポンシブ） */
@media screen and (max-width: 768px) {
    body main section.stayMenu.page-block-content {
        /* * スマホ表示時はPCよりも余白を狭くするのが一般的です。
         * 例として 20px に設定しています。
         */
        margin-bottom: 0px !important;
    }
}


/* ============================================================
   「各種ご予約」セクション (#stayBook) の上部余白追加
   ============================================================ */

/* PC向け（基本スタイル） */
body main section#stayBook.stayBook.page-block-content {
    /* 「会場設備」との間に隙間を作ります。
     * 数値はお好みの広さに合わせて調整してください。
     */
    margin-top: 60px !important; 
}

/* スマートフォン専用の調整（レスポンシブ） */
@media screen and (max-width: 768px) {
    body main section#stayBook.stayBook.page-block-content {
        /* スマホ表示時は画面が小さいため、PCよりも余白を狭く設定します。 */
        margin-top: 50px !important; 
    }
}

/* ============================================================
   リトリートバナー (.retreat-banner-area) の下部余白調整
   ============================================================ */

/* PC向け（基本スタイル） */
body main div.retreat-banner-area {
    /* 「お知らせ」セクションとの間にしっかりとした隙間を作ります。
     * 既存の設定（上下60px）より広くしたい場合は、より大きな数値を指定します。
     * 例として 80px に設定しています。
     */
    margin-bottom: 80px !important; 
}

/* スマートフォン専用の調整（レスポンシブ） */
@media screen and (max-width: 768px) {
    body main div.retreat-banner-area {
        /* スマホ表示時は画面サイズに合わせて余白を調整します。
         * 既存のコードでは30pxだったため、もう少し広げる想定で50pxにしています。
         */
        margin-bottom: 50px !important; 
    }
}    