/* ==============================================
   CSS
   single-rent_item.php
   ============================================== */

/* ----  ---- */
.detailBox.rent {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: "游ゴシック体", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 14px;
    color: #333;
}

/* ========================================
   お問い合わせフォーム (Contact Form 7)
   ======================================== */
.bk-detail-contact-form .contact-form-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

.radio-inline-wrap .wpcf7-form-control-wrap {
    display: block;
}

.radio-inline-wrap .wpcf7-list-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 0;
}

.radio-inline-wrap input[type="radio"] {
    margin-right: 5px;
    vertical-align: middle;
}

.radio-inline-wrap .wpcf7-list-item-label {
    vertical-align: middle;
    font-weight: normal;
}

/* ========================================
   
   ======================================== */
.bk-detail-header {
    margin-bottom: 10px;
}

.bk-detail-top-data {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.bk-detail-top-title-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.bk-detail-crui-name.badge {
    background-color: #5bc0de;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: normal;
    white-space: nowrap;
}

.bk-detail-title.h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.bk-detail-address {
    font-size: 13px;
    color: #555;
}

.bk-detail-transports-area {
    font-size: 13px;
    color: #555;
}

/*  */
.detail-btn-set-area-various {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

.detail-btn-set-area-sns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

.sendInfoMail {
    background-color: #5bc0de;
    border-color: #5bc0de;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    white-space: nowrap;
}

.btn-sns.lineimage {
    background-color: #00b900;
    border-color: #00b900;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
}

.print96 {
    background-color: #5bc0de;
    border-color: #5bc0de;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
}

/* ========================================
   
   ======================================== */
.bk-detail-images {
    margin-bottom: 30px;
}

.rent-gallery {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 2px;
}

/* ---  --- */
.rent-gallery-main-wrap {
    position: relative;
    background: #fff;
    overflow: hidden;
    border-radius: 2px;
}

.rent-gallery-main-img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: #f0f0f0;
    cursor: pointer;
}

/*  */
.rent-gallery-prev,
.rent-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.rent-gallery-prev:hover,
.rent-gallery-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.rent-gallery-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.rent-gallery-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

/*    */
.rent-gallery-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rent-gallery-desc {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rent-gallery-counter {
    font-weight: bold;
    margin-left: 10px;
    white-space: nowrap;
}

/* ---  --- */
.rent-gallery-thumbs-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rent-gallery-thumbs-grid {
    flex: 1;
    align-content: flex-start;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.rent-gallery-thumb {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: #f0f0f0;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 2px;
    transition: border-color 0.2s, opacity 0.2s;
}

.rent-gallery-thumb:hover {
    border-color: #5bc0de;
    opacity: 0.85;
}

/*    */
.rent-gallery-thumb.active {
    border-color: #337ab7;
}

.rent-gallery-hint {
    font-size: 13px;
    color: #337ab7;
    margin-top: 8px;
    margin-bottom: 0;
    padding-left: 3px;
}

/* ========================================
   
   ======================================== */
.surroundings-summary-wrap {
    background-color: #f0f7ff;
    border: 1px solid #d0dbe8;
    padding: 15px 20px;
    border-radius: 3px;
}

.surroundings-summary-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

.surroundings-summary-wrap ul li {
    padding: 4px 0;
    font-size: 13px;
    color: #333;
    break-inside: avoid;
    line-height: 1.6;
}

.surroundings-summary-wrap ul li::before {
    content: "笆�";
    color: #337ab7;
    margin-right: 6px;
    font-size: 10px;
}

.surroundings-summary-wrap ul li .surrounding-name {
    margin-right: 8px;
}

.surroundings-summary-wrap ul li .surrounding-range {
    font-weight: bold;
    color: #555;
}

/* ========================================
   lick  colorbox
   ======================================== */
.surroundings {
    margin-bottom: 15px;
}

.surroundings .heading {
    padding: 8px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 3px 3px 0 0;
}

.surroundings .change-all-view-btn {
    display: block;
    text-align: center;
    padding: 6px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-top: none;
    cursor: pointer;
    font-size: 13px;
    color: #337ab7;
    font-weight: bold;
}

.surroundings .change-all-view-btn:hover {
    background: #e8e8e8;
}

.surroundings .surroundings-list-wrap {
    padding: 10px;
    border: 1px solid #ddd;
    border-top: none;
    min-height: 120px;
    position: relative;
}

.surroundings .surroundings-list-wrap.loading::after {
    content: "隱ｭ縺ｿ霎ｼ縺ｿ荳ｭ...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 13px;
}

.surroundings-contents {
    padding: 5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.surroundings-contents:hover {
    opacity: 0.8;
}

.surrounding-image {
    background: #f9f9f9;
    overflow: hidden;
}

.surrounding-image .image-wrap {
    overflow: hidden;
}

.surrounding-image .image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.surrounding-message {
    padding: 6px 4px;
    font-size: 12px;
    text-align: center;
}

.surrounding-message .surrounding-name {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.surrounding-message .surrounding-name::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: #ccc;
    margin: 4px auto;
}

.surrounding-message .surrounding-range {
    color: #666;
    font-size: 11px;
}

/* colorbox  */
.surroundings-contents-pop .surrounding-image-pop .image-wrap {
    text-align: center;
}

.surroundings-contents-pop .surrounding-image-pop .image-wrap img {
    max-width: 100%;
    height: auto;
}

.surroundings-contents-pop .surrounding-message {
    padding: 10px;
    text-align: center;
}

.surroundings-contents-pop .surrounding-message .surrounding-name,
.surroundings-contents-pop .surrounding-message .surrounding-range {
    display: inline-block;
    font-size: 14px;
    margin: 0 8px;
}

/* ========================================
   PR
   ======================================== */
.prcnt {
    margin-bottom: 15px;
}

.prcnt_badge {
    display: inline-block;
    background-color: #f0a830;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.prcnt_text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    padding-left: 3px;
}

/* ========================================
   
   ======================================== */
.bk-detail-simple .bkDetailDataHead th {
    background-color: #f7f7f7;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 12px;
    width: 35%;
    vertical-align: middle;
    color: #555;
}

.bk-detail-simple .bkDetailDataHead td {
    font-size: 14px;
    padding: 10px 12px;
    vertical-align: middle;
}

.bk-detail-sub-image-wrapper {
    min-height: 250px;
}

/* ========================================
   
   ======================================== */
.detail-contact-info {
    border: 1px solid #dfdfdf;
    background-color: #f6f6f6;
    margin-bottom: 20px;
    border-radius: 0;
}

.detail-contact-info .info-title {
    font-size: 15px;
    color: #555;
    background-color: #f0f0f0;
    border-bottom: 1px solid #dfdfdf;
    padding: 10px 15px;
}

.detail-contact-info .info-body {
    padding: 20px;
}

.detail-contact-info .info-message {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* No. */
.info-num-box {
    background: #fff;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}

.info-num-label {
    font-size: 14px;
    color: #333;
}

.info-num-val {
    font-size: 22px;
    color: #ca333f;
    margin-left: 5px;
}

/*  */
.info-tel-block {
    display: flex;
    flex-direction: column;
}

.info-freedial {
    display: flex;
    align-items: center;
}

.freedial-num {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    letter-spacing: 0.5px;
}

.info-tel-sub {
    font-size: 12px;
    color: #555;
    margin-top: 2px;
    margin-left: 45px;
}

/*  */
.info-hours-block {
    display: flex;
    align-items: baseline;
}

.hours-label {
    font-size: 14px;
    color: #333;
    margin-right: 5px;
}

.hours-value {
    font-size: 14px;
    color: #666;
}

/* ========================================
   
   ======================================== */
.bk-detail-main .tableDetail {
    font-size: 13px;
}

.tableDetail th.detail-col {
    text-align: left;
    width: 16.66%;
    font-weight: bold;
    padding: 8px 10px;
    vertical-align: middle;
    font-size: 12px;
    color: #555;
    background-color: #f7f7f7;
}

.tableDetail td.detail-col {
    text-align: left;
    padding: 8px 10px;
    vertical-align: middle;
    font-size: 13px;
}

.tableDetail .detail-row {
    border-bottom: 1px solid #dee2e6;
}

/*  */
.detailhide.toggle {
    cursor: pointer;
    display: block;
    padding: 12px;
    background-color: #1a7b8e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.05rem;
    text-align: center;
    transition: opacity 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.detailhide.toggle:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

/* ========================================
   
   ======================================== */
.bk-detail-media-movie .mediaLinkBoxs iframe,
.bk-detail-media-theta .mediaLinkBoxs blockquote {
    max-width: 100%;
}

/* ========================================
   
   ======================================== */

#map_canvas {
    border: none;
    border-radius: 0;
}

/*  */
.bkMapSyuuhenForm {
    padding: 10px 0;
}

.bkMapSyuuhenForm .syuuhen-attension-origin {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    font-weight: normal !important;
}

.bkMapSyuuhenForm .syuuhen-item label {
    font-size: 14px;
    color: #fff;
    background-color: #4fc3f7;
    border: 1px solid #4fc3f7;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
}

/* r-2HTML */
.bkMapSyuuhenForm .syuuhen-item label input[type="radio"] {
    margin-right: 12px !important;
}

.bkMapSyuuhenForm .syuuhen-item label img {
    margin-right: 10px !important;
}

/* as */
.bkMapSyuuhenForm .syuuhen-item label:has(input:checked) {
    background-color: #ffc107; /*  */
    border-color: #ffc107;
    color: #fff;
}

/*  */
#mapRouteWrap {
    background-color: #fafafa !important;
    border: 1px solid #eee !important;
    padding: 20px !important;
    margin-top: 20px;
}

.map-attention-main {
    font-size: 13px;
    color: #333 !important;
    margin-bottom: 20px !important;
    font-weight: normal !important;
}

.mapRoute .routeSelect .button {
    cursor: pointer;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 0;
    color: #fff;
}

.mapRoute .routeSelect .button[tmode="DRIVING"] {
    background-color: #17a2b8; /*  */
}

.mapRoute .routeSelect .button[tmode="WALKING"] {
    background-color: #117a8b; /*  */
}

.mapRoute .routeSelect .button.onMode,
.mapRoute .routeSelect .button:hover {
    opacity: 0.8;
}

.routeDistance {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 15px;
}

.mapDistanceExplain {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

.mapDistanceContext {
    color: #333;
    font-size: 14px;
    font-weight: normal !important;
}

.mapDistanceContext .text-danger {
    color: #333 !important; /*  */
}

/*  */
.map-attention-bottom {
    display: block;
    font-size: 11px;
    color: #555 !important;
    margin-top: 10px;
}

.mapRoute .routeSelect .button.active,
.mapRoute .routeSelect .button.onMode {
    background-color: #337ab7;
    border-color: #337ab7;
}

/* ========================================
   
   ======================================== */
@media (max-width: 991px) {
    .surroundings-summary-wrap ul {
        columns: 1;
    }
}

@media (max-width: 767px) {
    .detailBox.rent {
        padding: 10px;
    }

    .detail-btn-set-area-various,
    .detail-btn-set-area-sns {
        justify-content: flex-start;
    }

    /*  */
    .rent-gallery-thumbs-wrap {
        display: none;
    }

    .rent-gallery .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .rent-gallery {
        padding: 8px;
    }

    .tableDetail th.detail-col,
    .tableDetail td.detail-col {
        display: block;
        width: 100%;
    }

    .tableDetail th.detail-col {
        border-bottom: none;
    }

    .tableDetail td.detail-col[colspan] {
        border-bottom: 1px solid #dee2e6;
    }

    .info-tel-conts .info-st-conts {
        font-size: 18px;
    }

    .surroundings-summary-wrap {
        padding: 10px 15px;
    }
}

@media (max-width: 575px) {
    .bk-detail-title.h4 {
        font-size: 17px;
    }

    .bk-detail-simple .bkDetailDataHead th {
        width: 40%;
    }

    #controls .nav-controls a {
        width: 32px;
        height: 48px;
        line-height: 48px;
    }

    #controls .nav-controls a.prev::after,
    #controls .nav-controls a.next::after {
        font-size: 28px;
    }
}
/* ========================================
   お問い合わせフォーム (Contact Form 7)
   ======================================== */
.bk-detail-contact-form {
    text-align: center;
}

.bk-detail-contact-form .contact-form-wrap {
    margin: 0 auto !important;
    display: inline-block;
    width: 100%;
    max-width: 800px;
}

/* 項目名は左寄せ */
.bk-detail-contact-form .form-group {
    text-align: left;
}

/* 中央寄せ指定のあるグループ（送信ボタンなど）は維持 */
.bk-detail-contact-form .form-group.text-center {
    text-align: center;
}

/* 各入力フォームの高さ統一 */
.bk-detail-contact-form .form-control {
    height: 50px !important;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 15px;
}

/* textareaは高さを自動（ただし最小限の高さは確保） */
.bk-detail-contact-form textarea.form-control {
    height: auto !important;
    min-height: 150px;
}

/* ラジオボタンの完全な横並び・表示割れ防止（Flexbox） */
.radio-inline-wrap .wpcf7-form-control {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
    align-items: center;
}

.radio-inline-wrap .wpcf7-list-item {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
}

.radio-inline-wrap input[type="radio"],
.radio-inline-wrap input[type="checkbox"] {
    margin-right: 8px !important;
    margin-top: 0 !important;
}

.radio-inline-wrap .wpcf7-list-item-label {
    margin-bottom: 0 !important;
    font-weight: normal !important;
}

/* 送信ボタンのカスタムスタイル */
.bk-detail-contact-form .contact-submit-btn {
    background-color: #63C1CD !important;
    border-color: #63C1CD !important;
    color: #fff !important;
    font-size: 16px !important;
    transition: all 0.3s ease;
}

.bk-detail-contact-form .contact-submit-btn:hover {
    background-color: #4BA8B4 !important;
    border-color: #4BA8B4 !important;
    color: #fff !important;
    opacity: 0.9;
}

/* Kallyasの基本スタイルによるボタン非表示を防ぐための強制スタイル */
.radio-inline-wrap .wpcf7-list-item {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}
