/* maikaihawaiitours2/css/tour-custom.css */

/* ツアーページ用スタイル */

/* ========================================
   Tour Review Cards (ツアー口コミカード)
   ======================================== */
.review_cards {
    margin-top: 30px;
}

.review_card {
    background: #fff;
    border: 1px solid #dbdad8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.review_card:not(:last-child) {
    margin-bottom: 20px;
}

.review_card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.review_card_inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media screen and (min-width: 768px) {
    .review_card_inner {
        flex-direction: row;
        gap: 20px;
    }
}

.review_card_image {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .review_card_image {
        width: 200px;
        min-width: 200px;
    }
}

.review_card_image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

@media screen and (min-width: 768px) {
    .review_card_image img {
        height: 150px;
    }
}

.review_card_content_wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review_card_rate {
    margin-bottom: 0;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: fit-content;
}

/* 背景の空の星（グレー） */
.review_card_rate::before {
    content: "★★★★★";
    color: #ddd;
    letter-spacing: 2px;
}

/* 前景の塗りつぶし星（ゴールド） */
.review_card_rate::after {
    content: "★★★★★";
    color: #ffd700;
    letter-spacing: 2px;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: calc(var(--rating) * 20%);
}

.review_card_content {
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.06em;
    color: #333;
}

@media screen and (min-width: 961px) {
    .review_card_content {
        font-size: 1.5rem;
    }
}

.review_card_toggle_btn {
    display: inline-block;
    margin-left: 4px;
    padding: 0;
    background: none;
    color: #1e5191;
    font-size: 1.4rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.review_card_toggle_btn:hover {
    color: #0d3a6d;
    text-decoration: underline;
    opacity: 1;
}

.review_card_content_more {
    display: none;
}

/* ========================================
   Tour Schedule (ツアースケジュール)
   ======================================== */

/* === スケジュール画像のサイズ調整 === */
.box_schedule_01 .schedule_item .content_image {
    max-width: 100%;
}

.box_schedule_01 .schedule_item .content_image img {
    max-height: 30vh; /* 高さを現在の30%に制限 */
    width: 100%; /* 幅を揃える */
    height: auto;
    object-fit: cover; /* アスペクト比を保ちつつ領域を埋める */
    display: block;
    border-radius: 8px; /* 角丸 */
}

/* === スケジュール説明と画像の横並び === */
.box_schedule_01 .schedule_item .content_body {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    margin-top: 3px;
}

.box_schedule_01 .schedule_item .content_body .content_image {
    flex-shrink: 0;
    width: 300px; /* 固定幅で統一 */
    min-width: 300px;
}

.box_schedule_01 .schedule_item .content_body .content_explain {
    flex: 1;
    margin-top: 0;
}

/* モバイルでは縦並び */
@media screen and (max-width: 768px) {
    .box_schedule_01 .schedule_item .content_body {
        gap: 10px;
        flex-direction: column;
    }

    .box_schedule_01 .schedule_item .content_body .content_image {
        width: 100%;
        min-width: auto;
    }
}
