/* 箱根・熱海の別荘民泊：立地と害獣リスクをつなぐ導入ビジュアル */
.pest-location-story {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(280px, .88fr);
    margin: 42px 0 52px !important;
    overflow: hidden;
    border: 1px solid rgba(31, 76, 61, .12);
    border-radius: 22px;
    background: #173d33;
    box-shadow: 0 24px 54px -30px rgba(16, 48, 39, .62);
}

.pest-location-story__visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.pest-location-story__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 32, 26, 0) 58%, rgba(10, 32, 26, .24) 100%);
    pointer-events: none;
}

.pest-location-story__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: 52% center;
    transition: transform .7s ease;
}

.pest-location-story:hover .pest-location-story__visual img {
    transform: scale(1.025);
}

.pest-location-story__place {
    position: absolute;
    z-index: 1;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: #fff;
    background: rgba(19, 54, 44, .66);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .18em;
}

.pest-location-story__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 46px 38px 38px;
    color: #e9f2ed;
    text-align: left;
}

.pest-location-story__content::before {
    content: '';
    position: absolute;
    top: 38px;
    right: 32px;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(214, 182, 111, .24);
    border-radius: 50%;
}

.pest-location-story__kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #d9ba78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.pest-location-story__kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

.post_content .pest-location-story__title {
    margin: 0 0 22px !important;
    color: #fff;
    font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.52;
    letter-spacing: .035em;
}

.post_content .pest-location-story__content > p:not(.pest-location-story__title):not(.pest-location-story__next) {
    margin: 0 !important;
    color: rgba(238, 246, 242, .83);
    font-size: 14px;
    line-height: 2;
    letter-spacing: .02em;
}

.pest-location-story__contrast {
    display: grid;
    gap: 9px;
    margin: 24px 0 0;
}

.pest-location-story__contrast > div {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.pest-location-story__contrast dt {
    display: grid;
    place-items: center;
    min-height: 28px;
    border-radius: 4px;
    color: #173d33;
    background: #d9ba78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pest-location-story__contrast > div:last-child dt {
    color: #f4e7e2;
    background: #9d5545;
}

.pest-location-story__contrast dd {
    margin: 0;
    color: #f7fbf8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.post_content .pest-location-story__next {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 28px 0 0 !important;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(247, 251, 248, .9);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.pest-location-story__next span {
    flex: 0 0 auto;
    color: #d9ba78;
    font-size: 10px;
    letter-spacing: .12em;
}

@media (max-width: 760px) {
    .pest-location-story {
        grid-template-columns: 1fr;
        margin: 32px 0 42px !important;
        border-radius: 16px;
    }

    .pest-location-story__visual,
    .pest-location-story__visual img {
        min-height: 0;
        height: 260px;
    }

    .pest-location-story__visual::after {
        background: linear-gradient(180deg, rgba(10, 32, 26, 0) 68%, rgba(10, 32, 26, .28) 100%);
    }

    .pest-location-story__place {
        top: 16px;
        left: 16px;
    }

    .pest-location-story__content {
        padding: 31px 24px 27px;
    }

    .pest-location-story__content::before {
        top: 24px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .post_content .pest-location-story__title {
        margin-bottom: 17px !important;
        font-size: 25px;
    }

    .post_content .pest-location-story__content > p:not(.pest-location-story__title):not(.pest-location-story__next) {
        font-size: 13px;
        line-height: 1.9;
    }

    .pest-location-story__contrast {
        margin-top: 20px;
    }

    .post_content .pest-location-story__next {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-top: 23px !important;
        padding-top: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pest-location-story__visual img {
        transition: none;
    }

    .pest-location-story:hover .pest-location-story__visual img {
        transform: none;
    }
}

/* 本文写真と現場事例を一体化し、写真の単純な全幅表示を避ける */
.pest-split-story {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    margin: 48px 0 58px;
    overflow: hidden;
    border: 1px solid rgba(137, 102, 68, .16);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 52px -34px rgba(42, 58, 48, .48);
}

.pest-split-story__media {
    position: relative;
    min-width: 0;
    min-height: 440px;
    margin: 0 !important;
    overflow: hidden;
    background: #e9eee9;
}

.pest-split-story__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(9, 31, 24, .78));
    pointer-events: none;
}

.pest-split-story__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    transition: transform .7s ease;
}

.pest-split-story--field .pest-split-story__media img {
    object-position: 46% center;
}

.pest-split-story--cleanup .pest-split-story__media img {
    object-position: center;
}

.pest-split-story:hover .pest-split-story__media img {
    transform: scale(1.025);
}

.pest-split-story__media figcaption {
    position: absolute;
    z-index: 1;
    right: 26px;
    bottom: 24px;
    left: 26px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    line-height: 1.75;
    text-align: left;
}

.pest-split-story__media figcaption span {
    display: block;
    margin-bottom: 6px;
    color: #ddbd7b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.pest-split-story .pest-split-story__note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 42px 36px 36px;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 100% 0, rgba(205, 158, 113, .13), transparent 35%),
        #fffdfa;
    box-shadow: none;
}

.pest-split-story .pest-split-story__note::before {
    top: 20px;
    right: 24px;
    color: rgba(183, 126, 76, .16);
    font-size: 62px;
}

.pest-split-story .pest-split-story__note .experience-label {
    align-self: flex-start;
    margin-bottom: 18px;
    font-size: 14px;
}

.pest-split-story .pest-split-story__note p {
    color: #39433f;
    font-size: 14px;
    line-height: 2;
}

.pest-split-story .pest-split-story__note small {
    display: block;
    margin-top: 15px;
    color: #89918d;
    font-size: 10px;
    line-height: 1.7;
}

.pest-split-story--reverse .pest-split-story__media {
    order: 2;
}

.pest-split-story--reverse .pest-split-story__note {
    order: 1;
}

/* 封鎖作業は、要点と写真を左右に組み合わせた実践パネルにする */
.pest-action-panel {
    display: grid;
    grid-template-columns: minmax(290px, .82fr) minmax(0, 1.18fr);
    margin: 48px 0 58px;
    overflow: hidden;
    border: 1px solid rgba(31, 76, 61, .13);
    border-radius: 20px;
    background: #eff5f1;
    box-shadow: 0 22px 52px -36px rgba(18, 57, 45, .5);
}

.pest-action-panel__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 34px;
}

.pest-action-panel__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #94723e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.pest-action-panel__kicker::before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
}

.post_content .pest-action-panel__title {
    margin: 0 0 18px !important;
    color: #183f34;
    font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
    font-size: clamp(23px, 2.7vw, 31px);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .025em;
}

.post_content .pest-action-panel__content > p:not(.pest-action-panel__title) {
    margin: 0 !important;
    color: #54615b;
    font-size: 13px;
    line-height: 1.9;
}

.pest-action-panel__content ul {
    display: grid;
    gap: 7px;
    margin: 21px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.pest-action-panel__content li {
    position: relative;
    margin: 0 !important;
    padding-left: 20px;
    color: #2c4f43;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.pest-action-panel__content li::before {
    content: '';
    position: absolute;
    top: .62em;
    left: 0;
    width: 8px;
    height: 8px;
    border: 2px solid #bd9658;
    border-radius: 50%;
}

.pest-action-panel__media {
    position: relative;
    min-width: 0;
    min-height: 360px;
    margin: 0 !important;
    overflow: hidden;
}

.pest-action-panel__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.pest-action-panel__media figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    margin: 0;
    padding: 7px 11px;
    border-radius: 4px;
    color: #fff;
    background: rgba(18, 55, 44, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .pest-split-story,
    .pest-action-panel {
        grid-template-columns: 1fr;
        margin: 36px 0 46px;
        border-radius: 16px;
    }

    .pest-split-story__media,
    .pest-split-story__media img {
        min-height: 0;
        height: 270px;
    }

    .pest-split-story--reverse .pest-split-story__media,
    .pest-split-story--reverse .pest-split-story__note {
        order: initial;
    }

    .pest-split-story .pest-split-story__note {
        padding: 29px 23px 25px;
    }

    .pest-split-story .pest-split-story__note p {
        font-size: 13px;
        line-height: 1.9;
    }

    .pest-split-story__media figcaption {
        right: 18px;
        bottom: 17px;
        left: 18px;
    }

    .pest-action-panel__content {
        padding: 30px 23px 27px;
    }

    .pest-action-panel__media,
    .pest-action-panel__media img {
        min-height: 0;
        height: 235px;
    }

    .pest-action-panel__media figcaption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pest-split-story__media img {
        transition: none;
    }

    .pest-split-story:hover .pest-split-story__media img {
        transform: none;
    }
}
