/* -------------------------------------------------------
   パンくず
------------------------------------------------------- */
.spot-breadcrumb {
    margin-top: 93px;
    color: #888888;
    font-size: 12px;
    text-align: right;
    margin-right: 27px;
}

/* -------------------------------------------------------
   ヘッダー
------------------------------------------------------- */
.spot-detail-header {
    margin-top: 72px;
    padding: 0 180px;
}

.spot-detail-title-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
}

.facility-tag {
    display: inline-block;
    padding: 0 14px;
    background-color: #EB8E22;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    line-height: 32px;
}

.spot-detail-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.spot-detail-divider {
    margin-top: 30px;
    height: 2px;
    background-image: repeating-linear-gradient(
        to right,
        #000 0 2px,
        transparent 1px 8px
    );
}

.spot-detail-description {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.7;
}

.spot-detail-content {
    margin-top: 40px;
    padding: 0 180px;
    display: flex;
    gap: 40px;
}

.spot-detail-img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    display: block;
}

.spot-detail-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.info-text {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    line-height: 1.6;
}

.info-link {
    color: #0066cc;
    text-decoration: underline;
}

.spot-detail-map-placeholder {
    margin-top: 72px;
    width: 100%;
    height: 440px;
    background-color: #E5E5E5;
}

.spot-detail-report-wrap {
    margin-top: 120px;
    margin-bottom: 120px;
    padding: 0 180px;
}

.spot-detail-report-title {
    font-size: 80px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    color: #000000;
    text-align: left;
    margin-bottom: 48px;
}

.spot-detail-report-body {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
    color: #222222;
    text-align: left;
    margin: 0;
    white-space: pre-wrap;
}

.review-section {
    width: 100%;
    background-color: #F8F4ED;
    padding-top: 160px;
    padding-bottom: 160px;
}

.review-title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 80px;
    color: #000;
    text-align: left;
    padding-left: 180px;
    margin-bottom: 42px;
}

.review-box {
    width: calc(100% - 360px);
    min-height: 284px;
    background-color: #FFFFFF;
    border-radius: 4px;
    margin: 0 auto 40px;
    padding: 40px;
    box-sizing: border-box;
}

.review-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.review-header {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.review-icon {
    width: 50px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-header > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-text {
    flex: 1;
}

.review-name {
    font-size: 16px;
    font-weight: 500;
    color: #2B9B7D;
    margin-bottom: 12px;
}

.review-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.review-comment {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #222222;
}

.review-date {
    font-size: 12px;
    color: #222222;
}

.review-image-wrap {
    width: 300px;
    height: 181px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.review-image-placeholder {
    width: 300px;
    height: 181px;
    background-color: #EEEEEE;
    border-radius: 4px;
    flex-shrink: 0;
}

.hidden-review {
    display: none;
}

.review-more-btn {
    margin: 84px auto 0;
    position: relative;
    width: 240px;
    height: 48px;
    border-radius: 24px;
    border: none;
    background: #2B9B7D;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.review-more-btn::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.estate-heading .heading-en {
    font-size: 80px;
}

.estate-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.estate-cards::-webkit-scrollbar {
    display: none;
}

.slider-item {
    flex: 0 0 calc((100% - 48px) / 3);
}

.estate-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.estate-prev,
.estate-next {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    border: 1px solid #C6C6C6;
    background: #FFFFFF;
    color: #2B9B7D;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.estate-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C6C6C6;
    cursor: pointer;
}

.dot.active {
    background: #2B9B7D;
}

.property-card {
    height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.spot-card-more {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 20px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #2B9B7D;
    z-index: 10;
    padding-right: 0;
}

.property-card .card-image {
    height: 240px;
    overflow: hidden;
}

.property-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

    .spot-detail-content,
    .spot-detail-header,
    .spot-detail-report-wrap,
    .review-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .spot-detail-content {
        flex-direction: column;
        gap: 24px;
    }

    .spot-detail-img {
        width: 100%;
        height: auto;
    }

    .spot-detail-title-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .spot-detail-title {
        font-size: 24px;
    }

    .spot-detail-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .info-icon {
        width: 20px;
        height: 20px;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .info-text {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Report */
    .spot-detail-report-title {
        font-size: 40px;
        margin-bottom: 24px;
    }

    .spot-detail-report-body {
        font-size: 15px;
        line-height: 1.8;
    }

    /* Review */
    .review-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .review-title {
        font-size: 40px;
        padding-left: 0;
        text-align: left;
        margin-bottom: 32px;
    }

    .review-box {
        width: 100%;
        padding: 24px;
        margin: 0 auto 32px;
    }

    .review-content {
        flex-direction: column;
        gap: 20px;
    }

    .review-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
        position: relative;
    }

    .review-name {
        font-size: 16px;
        margin: 0;
    }

    .review-heading {
        font-size: 16px;
        margin-top: 6px;
        margin-left: 0;
        display: block;
    }

    .review-icon {
        width: 32px;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .review-comment {
        font-size: 16px;
        line-height: 1.7;
    }

    .review-image-placeholder,
    .review-image-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 300 / 181;
    }

    .review-more-btn {
        margin-top: 48px;
        width: 180px;
        height: 44px;
        border-radius: 22px;
        font-size: 14px;
    }

    .review-more-btn::after {
        right: 16px;
        font-size: 16px;
    }

    .estate-heading .heading-en {
        font-size: 40px;
    }

    /* スライダーを横並びのまま1枚全幅 */
    #estateSlider.slider-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    /* カード1枚を画面幅いっぱいに */
    .property-card.slider-item {
        min-width: 100%;
        scroll-snap-align: center;
    }

    /* ドットと矢印を中央寄せ */
    .estate-controls {
        justify-content: left;
        gap: 16px;
        margin-top: 20px;
    }
}

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

    .spot-detail-content,
    .spot-detail-header,
    .spot-detail-report-wrap,
    .review-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .spot-detail-content {
        flex-direction: column;
        gap: 24px;
    }

    .spot-detail-img {
        width: 100%;
        height: auto;
    }

    .spot-detail-title-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .spot-detail-title {
        font-size: 24px;
    }

    .spot-detail-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .info-icon {
        width: 20px;
        height: 20px;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .info-text {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Report */
    .spot-detail-report-title {
        font-size: 40px;
        margin-bottom: 24px;
    }

    .spot-detail-report-body {
        font-size: 15px;
        line-height: 1.8;
    }

    /* Review */
    .review-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .review-title {
        font-size: 40px;
        padding-left: 0;
        text-align: left;
        margin-bottom: 32px;
    }

    .review-box {
        width: 100%;
        padding: 24px;
        margin: 0 auto 32px;
    }

    .review-content {
        flex-direction: column;
        gap: 20px;
    }

    .review-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
        position: relative;
    }

    .review-name {
        font-size: 16px;
        margin: 0;
    }

    .review-heading {
        font-size: 16px;
        margin-top: 6px;
        margin-left: 0;
        display: block;
    }

    .review-icon {
        width: 32px;
        height: 32px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .review-comment {
        font-size: 16px;
        line-height: 1.7;
    }

    .review-image-placeholder,
    .review-image-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 300 / 181;
    }

    .review-more-btn {
        margin-top: 48px;
        width: 180px;
        height: 44px;
        border-radius: 22px;
        font-size: 14px;
    }

    .review-more-btn::after {
        right: 16px;
        font-size: 16px;
    }

    .estate-heading .heading-en {
        font-size: 40px;
    }

    /* スライダーを横並びのまま1枚全幅 */
    #estateSlider.slider-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    /* カード1枚を画面幅いっぱいに */
    .property-card.slider-item {
        min-width: 100%;
        scroll-snap-align: center;
    }

    /* ドットと矢印を左寄せ */
    .estate-controls {
        justify-content: left;
        gap: 16px;
        margin-top: 20px;
    }
}
