.p-single-ryokan {
    background: #F8F8F8;
}

.single .wrapper {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 769px) {
    .single .wrapper {
        max-width: 100vw;
    }
}

/* CTAボタン */
.cta-button {
    display: inline-block;
    color: #fff;
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* ===== タイトルエリア ===== */
.p-single-ryokan__title-area {
    background-color: #f7f7f7;
    padding: 40px 0 50px;
}

.p-single-ryokan__title-area-wrapper {
    max-width: 86vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* タグ */
.p-single-ryokan__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background-color: #e8ede8;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

@media screen and (max-width: 600px) {
    .tag {
        font-size: 10px;
        padding: 8px 10px;
    }
    
}

/* タイトル */
.p-single-ryokan__title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

@media screen and (max-width:769px) {
    .p-single-ryokan__title {
        font-size: 26px;
    }
}
/* ===== END タイトルエリア ===== */

/* ===== HERO ===== */
/* ヒーローセクション */
.p-single-ryokan__hero {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px 50px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 暗めのオーバーレイ */
.p-single-ryokan__hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.47);
    z-index: 1;
}

/* テキストコンテナ */
.hero__text-wrapper {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 150px;
    max-width: 800px;
}

/* サブタイトル */
.hero__subtitle {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 30px 0;
    line-height: 1.6;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 10px;
}

/* サブテキスト */
.hero__subtext {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 40px 0;
    opacity: 0.9;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 2px 10px;
}

@media screen and (max-width: 769px) {
    /* ヒーローセクション */
    .p-single-ryokan__hero {
        min-height: 300px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 30px 30px 0 0;
    }

    /* テキストコンテナ */
    .hero__text-wrapper {
        color: #000;
        text-align: left;
        padding: 60px 20px;
    }

    /* サブタイトル */
    .hero__subtitle {
        font-size: 24px;
        font-weight: bold;
        margin: 0 0 10px 0;
        line-height: 1.6;
        text-shadow: none;
    }

    /* サブテキスト */
    .hero__subtext {
        font-size: 16px;
        line-height: 1.8;
        margin: 0 0 40px 0;
        opacity: 0.9;
        text-shadow: none;
    }
}

/* ===== END HERO ===== */

/* ===== LEAD ===== */
/* リードセクション */
.p-single-ryokan__lead {
    background-color: #2b2b2b;
    padding: 25px 20px;
}

@media screen and (max-width:769px) {
    .p-single-ryokan__lead {
        padding: 30px 20px;
    }
}

/* 2カラムレイアウト */
.lead-col {
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

/* 画像 - スクエア（正方形）に */
.lead-col img {
    width: 95%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /* border-radius: 10px; */
    display: block;
    margin: 0 auto;
}

/* テキスト */
.lead-col .lead-text {
    text-align: center;
}
.lead-col .lead-text h2 {
    color: #fff;
    font-size: 34px;
    font-weight: bold;
    margin: 0 0 20px 0;
    text-align: left;
}
.lead-col .lead-text span {
    color: #fff;
    font-size: 16px;
    line-height: 2;
    display: block;
    text-align: left;
}

@media screen and (max-width: 769px) {
    /* 2カラムレイアウトを1カラムに変更 */
    .lead-col {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    /* 画像 - 幅100%に */
    .lead-col img {
        width: 100%;
        aspect-ratio: auto;
    }

    .lead-col .lead-text {
        text-align: left;
    }

    /* テキスト */
    .lead-col .lead-text h2 {
        font-size: 24px;
    }
    
}
/* ===== END LEAD ===== */

/* ===== CONTENT ===== */
/* コンテンツセクション */
.p-single-ryokan__content {
    padding-bottom: 80px;
    overflow: clip;
}

/* ヘッダー（目次）- Sticky */
.content-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: calc(10vh + 72px);
    z-index: 100;
    padding: 0;
}

.toc {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.toc li {
    margin: 0;
    padding: 0;
}

.toc li a {
    display: block;
    padding: 20px 14px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.toc li a:hover,
.toc li a.active {
    border-bottom-color: #ff9800;
}

@media screen and (max-width: 769px) {
    .toc {
        justify-content: left;
        flex-wrap: wrap;
        gap: 0.2rem;
    }
    .toc li a {
        display: block;
        padding: 12px 5px;
        color: #333;
        text-decoration: none;
        font-size: 12px;
    }    
}

/* メインコンテンツエリア */
.content-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}

@media screen and (max-width: 769px) {
    .content-main {
        margin: 0 auto;
        padding: 30px 10px;
        display: block;
    }
}

/* コンテンツ本文（左側） */
/* 施設・サービスの特徴セクション */
.ryokan-features {
    background-color: #fff;
    padding: 20px 20px;
    margin: 60px 0;
    border-radius: 15px;
}

.ryokan-features-header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* 見出し */
.ryokan-features-header {
    font-size: 18px !important;
    font-weight: bold;
    color: #333;
    margin: 0 0 30px 0;
}

/* 特徴リスト（アイコン付き） */
.ryokan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
}

.ryokan-features-list-item {
    font-size: 12px !important;
    color: #333;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
}

/* アイコン（FontAwesome想定） */
.ryokan-features-list-item::before {
    content: "\f005"; /* デフォルトアイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 20px;
    color: #333;
}

@media screen and (max-width: 769px) {
    .ryokan-features {
        padding: 20px 20px;
        border-radius: 10px;
    }

    .ryokan-features-header-wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* 見出し */
    .ryokan-features-header {
        font-size: 18px !important;
        font-weight: bold;
        color: #333;
        margin: 0 0 30px 0;
    }

    /* 特徴リスト（アイコン付き） */
    .ryokan-features-list {
        margin: 0 0 25px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 13px;
    }

    .ryokan-features-list-item {
        padding-left: 18px;
    }

    /* アイコン（FontAwesome想定） */
    .ryokan-features-list-item::before {
        content: "\f005"; /* デフォルトアイコン */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        font-size: 12px;
        color: #333;
    }
}

/* 各アイテムごとのアイコン設定 */
/* 言語サービス(英語) */
.ryokan-features-list-item.lang-service-en::before {
    content: "\f0ac"; /* globe */
}
/* 言語サービス(中国語) */
.ryokan-features-list-item.lang-service-zh::before {
    content: "\f1ab"; /* language */
}
/* WiFi有り */
.ryokan-features-list-item.wifi::before {
    content: "\f1eb"; /* wifi */
}
/* お子様可 */
.ryokan-features-list-item.child::before {
    content: "\f1ae"; /* child */
}
/* ペット不可 */
.ryokan-features-list-item.no-pet::before {
    content: "\f1b0"; /* paw */
    text-decoration: line-through;
}
/* ビーガン対応可 */
.ryokan-features-list-item.vegan::before {
    content: "\f787"; /* seedling/leaf */
}
/* タトゥーNG */
.ryokan-features-list-item.no-tattoo::before {
    content: "\f05e"; /* ban */
}
/* 源泉掛け流し */
.ryokan-features-list-item.natural-water-flowing::before {
    content: "\f773"; /* hot-tub */
}
/* 送迎あり */
.ryokan-features-list-item.pick-and-drop::before {
    content: "\f1b9"; /* car */
}
/* 女将 */
.ryokan-features-list-item.landlady::before {
    content: "\f182"; /* female */
}
/* 貸切風呂あり */
.ryokan-features-list-item.private-bath::before {
    content: "\f2cd"; /* bath */
}
/* 部屋風呂あり */
.ryokan-features-list-item.room-bath::before {
    content: "\f773"; /* hot-tub */
}
/* 体験ツアー */
.ryokan-features-list-item.experience-tour::before {
    content: "\f51e"; /* compass */
}

/* チェックイン・チェックアウト時間 */
.checkin-checkout-time {
    margin-top: 25px;
}

.checkin-time {
    display: flex;
    align-items: center;
}

.time-label {
    font-size: 12px !important;
    font-weight: 500;
    color: #333;
    position: relative;
    padding-left: 35px;
}

.time-label::before {
    content: "\f017"; /* 時計アイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    font-size: 20px;
    color: #333;
}

.content-body {
    order: 1;
}

.content-body h2 {
    font-size: 28px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-bottom: 15px;
}

.content-body h3 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    /* padding-bottom: 15px; */
    padding-left: 20px;
    border-left: 5px solid #ff9800;
    align-items: center;
}

@media screen and (max-width: 769px) {
    .content-body h2 {
        font-size: 20px;
    }

    .content-body h3 {
        font-size: 18px;
    }
    .content-body p {
        font-size: 14px;
        line-height: 2.0;
        /* color: #333;
        margin: 0 0 -5px 0;
        letter-spacing: 0.13rem; */
    }
}

/* サイドバー（右側） */
.content-sidebar {
    order: 2;
    /* position: sticky; */
    top: 300px;
    align-self: flex-start;
}

.content-sidebar .cta-button {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    display: block;
    box-sizing: border-box;
}

.content-sidebar > p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

@media screen and (max-width: 769px) {
    .content-sidebar {
        width: auto;
    }
    .content-sidebar > p {
        margin: 0 0 15px 8px;
    }
}

/* 動画モーダル全体 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.video-modal.is-open {
    display: flex;
}

/* オーバーレイ（背景） */
.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.95);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.is-open .video-modal__overlay {
    opacity: 1;
}

.video-modal.is-closing .video-modal__overlay {
    opacity: 0;
}

/* モーダルコンテナ */
.video-modal__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: scale(0.7);
}

/* 動画モーダル全体 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.video-modal.is-open {
    display: flex;
}

/* オーバーレイ（背景） */
.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.95);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.is-open .video-modal__overlay {
    opacity: 1;
}

.video-modal.is-closing .video-modal__overlay {
    opacity: 0;
}

/* モーダルコンテナ */
.video-modal__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: scale(0.7);
}

@keyframes modalBounceIn {
  0%   { opacity: 0; transform: scale(0.70); }
  60%  { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1.00); }
}

@keyframes modalBounceOut {
  0%   { opacity: 1; transform: scale(1.00); }
  100% { opacity: 0; transform: scale(0.70); }
}

/* 開くアニメーション - にゅんっと */
.video-modal.is-open .video-modal__container {
  opacity: 1;
  transform: scale(1);
  animation: modalBounceIn 0.5s cubic-bezier(0.68,-0.55,0.265,1.55) forwards;
}

/* 閉じるアニメーション */
.video-modal.is-closing .video-modal__container {
    animation: modalBounceOut 0.3s ease-in forwards;
}

/* 閉じるボタン */
.video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 10px 20px;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.video-modal__close:hover {
    opacity: 0.7;
}

/* 動画コンテンツエリア */
.video-modal__content {
    width: 100%;
    max-width: 435px;
    aspect-ratio: 9 / 16;
    background-color: #e8e8e8;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 769px) {
    .video-modal__content {
        width: 80%;
    }
}

/* 動画プレイヤー */
.video-modal__player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #000;
}

/* CTAボタン */
.video-modal__cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    color: #fff;
    padding: 18px 50px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.video-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* 動画サムネイル */
.video-modal-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    /* background-color: #000; */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.video-modal-wrapper video {
    width: 100%;
    object-fit: cover;
}

.video-modal-wrapper video.video-modal__thumb {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: block;
    background: transparent;
    object-fit: cover;
}

/* .video-modal-wrapper::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff9800;
    padding-left: 5px;
} */

/* 吹き出し */
/* VK Blocks 吹き出しブロック - カード型スタイル */
.vk_balloon {
    background-color: transparent !important;
    border: 1px solid #000000;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 左配置 */
.vk_balloon-position-left {
    flex-direction: row;
}

/* 右配置（必要に応じて） */
.vk_balloon-position-right {
    flex-direction: row-reverse;
}

/* アイコン部分 */
.vk_balloon_icon {
    flex-shrink: 0;
}

.vk_balloon_icon figure {
    margin: 0;
    text-align: center;
}

.vk_balloon_icon_image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 8px;
}

.vk_balloon_icon_name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: block;
}

/* コンテンツ部分 */
.vk_balloon_content_outer {
    flex: 1;
    min-width: 0;
}

.vk_balloon_content {
    position: relative;
    background: transparent !important;
}

/* 吹き出しの矢印を非表示（カード型デザインのため） */
.vk_balloon_content_before,
.vk_balloon_content_after {
    display: none !important;
}

.vk_balloon_content p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 10px 0;
}

@media screen and (max-width: 769px) {

    .vk_balloon {
        padding: 11px;
        margin: 0;
        display: flex;
        gap: 0;
        align-items: flex-start;
    }

    .vk_balloon_content p {
        font-size: 10px;
    }

    .vk_balloon_icon_image {
        width: 60px;
        height: 60px;
    }

    .vk_balloon_icon_name {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        display: block;
    }

    .vk_balloon.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon {
        margin-right: 0;
        margin-top: 10px;
    }
    
}

.vk_balloon_content p:last-child {
    margin-bottom: 0;
}

/* アニメーション設定を無効化 */
.vk_balloon-animation-none {
    animation: none;
}

/* ----- カルーセルコンテナ(ミニ) ----- */
.ryokan-carousel-container {
    margin: 40px 0;
}

/* メイン画像部分 */
.carousel-main {
    margin-bottom: 20px;
}

.carousel-main .card-container {
    position: relative;
}

.carousel-main img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.carousel-main .text-container {
    margin-top: 25px;
}

.carousel-main .text-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    border: none !important;
    padding-left: 0 !important;
}

.carousel-main .text {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* ギャラリー部分 */
.carousel-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    flex-flow: wrap;

}

.carousel-gallery::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-gallery .card-container {
    flex: 0 0 auto;
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-gallery .card-container:hover {
    transform: translateY(-3px);
}

.carousel-gallery img {
    width: 200px;
    height: 133px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ギャラリーのテキストは非表示 */
.carousel-gallery .text-container {
    display: none;
}

@media screen and (max-width: 769px) {
    /* .ryokan-carousel-container {
        margin: 40px 0;
    } */

    /* メイン画像部分 */
    /* .carousel-main {
        margin-bottom: 20px;
    } */

    /* .carousel-main .card-container {
        position: relative;
    } */

    .carousel-main img {
        width: 113vw;
        margin: 0 calc(47% - 50vw) !important;
        height: auto;
        border-radius: 0;
        display: block;
    }

    .carousel-main .text-container {
        margin-top: 25px;
    }

    .carousel-main .text-title {
        font-size: 16px;
    }

    .carousel-gallery {
        gap: 10px;
        padding: 1px 0;
    }

    .carousel-gallery .card-container {
        width: 500px;
        flex: 0;
    }

    .carousel-gallery img {
        height: 80px;
        width: 106.4px;
        object-fit: cover;
        border-radius: 5px;
    }

    /* ギャラリーのテキストは非表示 */
    .carousel-gallery .text-container {
        display: none;
    }
}

/* ----- フル幅カルーセルコンテナ ----- */
/* .ryokan-full-width-carousel-container {
    width: 113vw;
    margin: 0 calc(47% - 42vw) !important;
    background-color: #2B2B2B;
    z-index: 1;
} */
 /* バナーカルーセル全体 */
.ryokan-banner-carousel {
    /* width: 100%; */
    width: 113vw;
    /* background-color: #2b2b2b; */
    /* margin: 60px 0; */
    margin: 40px calc(47% - 42vw) !important;
    z-index: 1;
    position: relative;
}

/* メイン表示エリア */
.ryokan-banner-carousel__main {
    position: relative;
    width: 100%;
}

/* スライドリスト */
.ryokan-banner-carousel__slides {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 個別スライド */
.ryokan-banner-carousel__slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ryokan-banner-carousel__slide.is-active {
    display: block;
    opacity: 1;
}

/* カード（画像+テキスト） */
.ryokan-banner-carousel__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    align-items: center;
}

/* 画像部分 */
.ryokan-banner-carousel__card img {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: cover;
    display: block;
}

/* テキスト部分 */
.ryokan-banner-carousel__text {
    padding: 65px 30px;
    max-width: 40vw;
    color: #fff !important;
}

/* サブタイトル */
.ryokan-banner-carousel__subtitle {
    font-size: 18px !important;
    font-weight: normal;
    color: #fff !important;
    margin: 0 0 40px 0;
    position: relative;
    padding-left: 30px;
}

.ryokan-banner-carousel__subtitle::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
}

/* タイトル */
.ryokan-banner-carousel__title {
    font-size: 36px !important;
    font-weight: bold;
    color: #fff !important;
    margin: 0 0 35px 0;
    line-height: 1.4;
    border: none !important;
    padding-left: 0 !important;
}

/* 説明文 */
.ryokan-banner-carousel__description {
    font-size: 16px !important;

    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0;
}

@media screen and (max-width: 769px) {
    .ryokan-banner-carousel {
        width: 113vw;
        /* background-color: #2b2b2b; */
        /* margin: 60px 0; */
        margin: 0 calc(47% - 50vw) !important;
    }

    .ryokan-banner-carousel__card {
        display: block;
    }

    /* テキスト部分 */
    .ryokan-banner-carousel__text {
        padding: 30px 45px;
        max-width: 90vw;
    }

    .ryokan-banner-carousel__subtitle {
        font-size: 18px !important;
        margin: 0;
    }

    .ryokan-banner-carousel__title {
        font-size: 20px !important;
        padding: 10px;
    }

    /* 説明文 */
    .ryokan-banner-carousel__description {
        font-size: 14px !important;
    }

    .ryokan-banner-carousel__card img {
        min-height: 0;
    }
}

/* コントロール部分（カウンター+矢印） */
.ryokan-banner-carousel__controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    z-index: 10;
}

/* カウンター */
.ryokan-banner-carousel__counter {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
}

.ryokan-banner-carousel__current {
    font-weight: 500;
    font-size: 18px;
}

/* 矢印ボタン */
.ryokan-banner-carousel__arrow {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    padding: 10px 20px;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.ryokan-banner-carousel__arrow:hover:not(:disabled) {
    opacity: 0.7;
}

.ryokan-banner-carousel__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ryokan-banner-carousel__arrow--prev {
    order: 1;
}

.ryokan-banner-carousel__arrow--next {
    order: 3;
}

.ryokan-banner-carousel__counter {
    order: 2;
}

/* サムネイルギャラリー（非表示でもスタイル定義） */
.ryokan-banner-carousel__gallery {
    display: none; /* 画像には表示されていないため非表示 */
    padding: 20px;
    background-color: #2b2b2b;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.ryokan-banner-carousel__thumb {
    width: 120px;
    height: 80px;
    border: 2px solid transparent;
    background: none;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ryokan-banner-carousel__thumb.is-active {
    border-color: #fff;
}

.ryokan-banner-carousel__thumb:hover {
    opacity: 0.8;
}

.ryokan-banner-carousel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* グループコンテンツ */
.wp-block-group {
    margin: 30px 0;
    background: #fff;
    padding: 40px 40px;
    border-radius: 15px;
}

/* グループ内のカラムレイアウト */
.wp-block-group .wp-block-columns {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px;
    align-items: start;
    margin-bottom: 40px;
}

.wp-block-group .wp-block-columns:last-child {
    margin-bottom: 0;
}

/* 左カラム（タイトル部分） */
.wp-block-group .wp-block-column:first-child {
    width: 100%;
}

.wp-block-group .wp-block-column:first-child p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 右カラム（コンテンツ部分） */
.wp-block-group .wp-block-column:last-child {
    width: 100%;
}

/* テーブルスタイル */
.wp-block-group .wp-block-table {
    margin: 0;
}

.wp-block-group .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}

.wp-block-group .wp-block-table td {
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    color: #333;
}

/* テーブルの左側のセルのみグレー背景 */
.wp-block-group .wp-block-table td:first-child {
    background-color: #f0f0f0;
    font-weight: 500;
    /* width: 200px; */
}

@media screen and (max-width:769px) {
    .wp-block-group .wp-block-columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
        margin-bottom: 40px;
    }

    .wp-block-group .wp-block-table td:first-child {
        max-width: 50px;
    }

    .wp-block-group .wp-block-table td {
        padding: 5px 20px !important;
        font-size: 12px;
        word-break: break-all !important;
    }

    .wp-block-group {
        padding: 40px 20px;
    }
}

.wp-block-group .wp-block-table td:last-child {
    background-color: #fff;
}

/* テキストコンテンツ */
.wp-block-group .wp-block-column:last-child > p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.wp-block-group .wp-block-column .wp-block-list {
    column-count: 2;
    column-gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-group .wp-block-column .wp-block-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
    break-inside: avoid; /* リストアイテムがカラム間で分割されないように */
}

/* ○と×のアイコン表示 */
.wp-block-group .wp-block-column .wp-block-list li::before {
    margin-right: 8px;
}

/* FAQセクション */
.faq-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0 0 50px 0;
}

/* FAQコンテナ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQアイテム */
.faq-item {
    border: 2px solid #333;
    border-radius: 12px;
    overflow: hidden;
}

/* 質問部分 */
.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

@media screen and (max-width:769px) {
    .faq-question {
        padding: 10px 30px;
    }
}

/* 開いている状態の質問 */
.faq-item--open .faq-question {
    background-color: #2b2b2b;
    color: #fff;
}

/* アイコン */
.faq-icon {
    font-size: 28px;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 20px;
}

/* 回答部分 */
.faq-answer {
    display: none;
    padding: 30px 30px 40px 30px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}

.faq-item--open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 15px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ホバー効果 */
.faq-question:hover {
    opacity: 0.8;
}

/* 旅館プラン */
/* プランコンテナ全体 */
.ryokan-plan-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
}

/* プランヘッダー */
.ryokan-plan-header {
    margin-bottom: 20px;
}

.ryokan-plan-header h2 {
    font-size: 20px !important;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* プラン本体 */
.ryokan-plan-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

/* プラン本体のカラム */
.ryokan-plan-body-col {
    position: relative;
}

/* プランリードコンテナ（画像カルーセル） */
.plan-lead-container {
    display: none;
}

/* .plan-lead-container[data-index="1"], */
.ryokan-plan-body-col .plan-lead-container.is-active {
    display: block;
}

/* プラン画像 */
.plan-lead-image {
    margin: 0 0 20px 0;
    /* border-radius: 15px; */
    overflow: hidden;
}

.plan-lead-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* 画像タイトルとページネーション */
.plan-lead-image-title-and-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-lead-image-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.plan-lead-image-pagination {
    display: flex;
    gap: 10px;
}

.plan-lead-image-pagination button {
    background: transparent;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.3s ease;
}

.plan-lead-image-pagination button:hover {
    opacity: 0.6;
}

/* プラン設定ラッパー */
.plan-settings-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* チェックイン・チェックアウト時間 */
.plan-checkin-checkout-time {
    display: flex;
    align-items: center;
    font-size: 12px !important;
    color: #333;
    position: relative;
    padding-left: 35px;
}


/* .plan-checkin-checkout-time::before {
    時計アイコン未定
} */

/* 支払い方法 */
.plan-payment-methods {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-payment-methods li {
    font-size: 12px !important;
    color: #333;
    position: relative;
    padding-left: 35px;
}

.plan-payment-methods li::before {
    content: "\f555"; /* デフォルトアイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 12px;
    color: #333;
    padding: 2px 0;
}

/* .plan-payment-methods li::before {
    決済方法アイコン未定
} */

/* 食事情報 */
.plan-dishes {
    font-size: 12px !important;
    color: #333;
    position: relative;
    padding-left: 35px;
}

@media screen and (max-width:769px) {
    .ryokan-plan-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 2px solid #e0e0e0;
    }

    /* プラン本体のカラム */
    .ryokan-plan-body-col {
        position: relative;
        margin-bottom: 20px;
    }

    /* プランリードコンテナ（画像カルーセル） */
    .plan-lead-container {
        display: none;
    }

    /* .plan-lead-container[data-index="1"], */
    .ryokan-plan-body-col .plan-lead-container.is-active {
        display: block;
    }

    .ryokan-plan-container {
        padding: 0;
    }

    .ryokan-plan-header h2 {
        font-size: 16px !important;
        padding: 15px 15px;
    }

    /* プラン本体 */
    .ryokan-plan-body {
        display: block;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 2px solid #e0e0e0;
    }

    /* 画像タイトルとページネーション */
    .plan-lead-image-title-and-pagination {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .plan-lead-image-title {
        font-size: 16px;
    }

    .plan-lead-image-pagination button {
        font-size: 16px;
        padding: 0;
    }

    /* プラン設定ラッパー */
    .plan-settings-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* チェックイン・チェックアウト時間 */
    .plan-checkin-checkout-time,
    .plan-payment-methods,
    .plan-payment-methods li,
    .plan-dishes {
        padding: 0 15px;
    }

    .plan-lowest-price {
        padding: 0;
        margin: 0 15px;
        display: flex;
        align-items: baseline;
        gap: 8px;
        /* margin-top: 15px; */
        max-width: 160px;
    }

    /* .plan-lowest-price span:first-child {
        font-size: 10px;
        color: #666;
    }

    .plan-lowest-price strong {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

    .plan-lowest-price span:last-child {
        font-size: 16px;
        color: #666;
    } */

}

/* .plan-dishes::before {
   食事ロゴ未定 
} */

/* 最低価格 */
.plan-lowest-price {
    background-color: #f0f0f0;
    padding: 15px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    /* margin-top: 15px; */
}

.plan-lowest-price span:first-child {
    font-size: 10px;
    color: #666;
}

.plan-lowest-price strong {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.plan-lowest-price span:last-child {
    font-size: 16px;
    color: #666;
}

/* プランフッター */
.ryokan-plan-footer {
    margin-top: 60px;
}

@media screen and (max-width:769px) {
    .ryokan-plan-footer {
        margin-top: 0;
    }
}

.ryokan-plan-footer h3 {
    font-size: 14px !important;
    font-weight: bold;
    color: #333;
    margin: 0 0 30px 0;
    border: none;
}

/* おすすめ部屋コンテナ */
.recommended-rooms-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 個別の部屋カード - リストアイテム形式 */
.recommended-room {
    display: grid;
    grid-template-columns: max-content auto max-content;
    gap: 10px;
    align-items: center;
    background-color: #fff;
    padding: 0;
    /* justify-content: space-between; */
    justify-content: left;
}

.recommended-room-image {
    margin: 0;
    max-width: 150px;
    flex-shrink: 0;
}

.recommended-room-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}

/* 部屋タイトルエリア */
.recommended-room-title {
    font-size: 12px !important;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 35px;
    text-align: left;
    inline-size: 130px;
    word-break: break-all;
}

/* 部屋アクション */
/* .recommended-room-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
} */

.recommended-room-col {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    align-items: center;
    justify-content: left;
}

.recommended-room-actions {
    margin-left: 20px;
}

.recommended-room-actions button,
.recommended-room-actions a {
    padding: 15px 5px;
    border: none;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    /* white-space: nowrap; */
    text-decoration: none;
    /* max-width: 150px; */
    inline-size: 150px;
    text-align: center;
    word-break: break-all;
}

@media screen and (max-width:769px) {
    .recommended-room {
        grid-template-columns: 1fr;  /* 1カラム */
        align-items: start;
        justify-content: stretch;
        gap: 12px;
    }

    .recommended-rooms-container {
        padding: 0 0 20px 0;
    }

    .recommended-room-col {
        padding: 0 15px;
        gap: 5px;
        max-width: 63vw;
    }

    .recommended-room-title {
        text-align: left;
        max-width: 130px;
        padding-left: 10px;
    }

    .recommended-room-image {
        margin: 0;
        max-width: 120px;
        flex-shrink: 0;
    }

    .recommended-room-actions button,
    .recommended-room-actions a {
        max-width: 130px;
        padding: 10px 20px;
        font-size: 12px;
    }
}

.recommended-room-actions a.bg-color-brand{
    background: var(--color-brand);
    color: #fff !important;
}

/* プランモーダル *//* モーダル全体 */
.room-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.room-detail-modal.is-open {
    display: flex;
}

/* オーバーレイ（背景） - フェードイン/アウト */
.room-detail-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.95);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-detail-modal.is-open .room-detail-modal__overlay {
    opacity: 1;
}

.room-detail-modal.is-closing .room-detail-modal__overlay {
    opacity: 0;
}

/* モーダルコンテナ */
.room-detail-modal__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px;
    opacity: 0;
    transform: scale(0.7);
}

/* 開くアニメーション */
.room-detail-modal.is-open .room-detail-modal__container {
    animation: modalBounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* 閉じるアニメーション */
.room-detail-modal.is-closing .room-detail-modal__container {
    animation: modalBounceOut 0.3s ease-in forwards;
}

@keyframes modalBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    /* 50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    } */
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalBounceOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}

/* コンテンツエリア */
.room-detail-modal__content {
    width: 100%;
    height: 100%;
    background-color: #e8e8e8;
    border-radius: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
    scrollbar-width: thin;
    scrollbar-color: #999 #e8e8e8;
}

.room-detail-modal__content::-webkit-scrollbar {
    width: 8px;
}

.room-detail-modal__content::-webkit-scrollbar-track {
    background: #e8e8e8;
}

.room-detail-modal__content::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
}

/* 閉じるボタン */
.room-detail-modal__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 20px;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.room-detail-modal__close:hover {
    opacity: 0.7;
}

/* 上部の閉じるボタン */
.room-detail-modal__close--top {
    position: absolute;
    top: 15px;
    right: 20px;
}

/* 下部の閉じるボタン */
.room-detail-modal__close--bottom {
    margin-top: 20px;
}

/* body スクロール防止 */
body.modal-open {
    overflow: hidden;
}

@media screen and (max-width:769px) {
    iframe {
        max-width: 80vw !important;
        height: auto !important;
    }
}
/* ===== END CONTENT ===== */