/* GC01 / WHY VERDY
 * Isolated component imported from the 2026-10-05 supplied prototype.
 * Keep all selectors under .vd-why to avoid legacy CSS contamination.
 */
.vd-why,
.vd-why * {
    box-sizing: border-box;
}

.vd-why {
    width: 100%;
    margin: 24px 0;
    color: #25332c;
    font-family: 'Yu Gothic', Meiryo, sans-serif;
}

.vd-why-banner {
    position: relative;
    display: block;
    width: 100%;
    padding: 22px 85px 24px 25px;
    overflow: hidden;
    border: 1px solid #c8d9cf;
    border-radius: 5px;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 50%, rgba(255,255,255,.68) 80%, rgba(255,255,255,.32)),
        url('/common/gc01/why-verdy/img/city.jpg') right center / auto 100% no-repeat #f1f8f4;
    box-shadow: 0 3px 12px rgba(24,79,48,.13);
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.vd-why-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: linear-gradient(#50b67d, #00773c);
}

.vd-why-banner-title {
    display: block;
    margin: 0;
    color: #303c35;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.35;
}

.vd-why-banner-title em {
    color: #087b43;
    font-style: normal;
}

.vd-why-sub {
    margin: 5px 0 18px;
    color: #505c53;
    font-size: clamp(12px, 1.6vw, 17px);
}

.vd-why-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vd-why-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid #dbe9df;
    border-radius: 14px;
    background: rgba(255,255,255,.87);
    box-shadow: 0 2px 9px rgba(29,92,50,.07);
}

.vd-why-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #38ad72, #00783f);
    color: #fff;
}

.vd-why-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vd-why-feature strong {
    display: block;
    color: #086b3a;
    font-size: clamp(13px, 1.6vw, 18px);
    white-space: nowrap;
}

.vd-why-feature small {
    display: block;
    margin-top: 4px;
    color: #4a534d;
    font-size: clamp(10px, 1.2vw, 13px);
    line-height: 1.5;
}

.vd-why-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #007c41;
    box-shadow: 0 2px 10px rgba(21,92,59,.27);
    color: #fff;
    font-size: 36px;
    transform: translateY(-50%);
}

.vd-why-banner:hover {
    box-shadow: 0 5px 20px rgba(21,92,59,.2);
}

.vd-why-banner:focus-visible,
.vd-why-close:focus-visible,
.vd-why-links a:focus-visible {
    outline: 3px solid #d18c14;
    outline-offset: 3px;
}

.vd-why-dialog {
    width: min(900px, calc(100% - 26px));
    max-height: 90vh;
    padding: 0;
    border: 0;
    border-radius: 9px;
    box-shadow: 0 16px 60px rgba(0,0,0,.33);
    color: #25332c;
    font-family: 'Yu Gothic', Meiryo, sans-serif;
}

.vd-why-dialog::backdrop {
    background: rgba(21,40,29,.77);
}

.vd-why-modal {
    padding: 25px;
    background: #fff;
}

.vd-why-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.vd-why-modal-title {
    margin: 0 0 18px;
    color: #25332c;
    font-size: clamp(20px, 3vw, 29px);
    line-height: 1.45;
}

.vd-why-modal-title span {
    color: #078148;
}

.vd-why-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eaf5ee;
    color: #086b3a;
    cursor: pointer;
    font: inherit;
    font-size: 26px;
    line-height: 36px;
}

.vd-why-detail {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) 29%;
    gap: 17px;
    align-items: center;
    margin: 12px 0;
    padding: 16px;
    border-left: 5px solid #2ca16b;
    border-radius: 5px;
    background: linear-gradient(90deg, #f3faf5, #fff);
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.vd-why-detail .vd-why-icon {
    width: 57px;
    height: 57px;
}

.vd-why-detail h3 {
    margin: 0 0 8px;
    color: #086b3a;
}

.vd-why-detail p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
}

.vd-why-detail img {
    width: 100%;
    height: 145px;
    border-radius: 5px;
    object-fit: cover;
}

.vd-why-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.vd-why-links a {
    padding: 15px 10px;
    border: 1px solid #bddfcb;
    border-radius: 5px;
    background: #f7fcf9;
    color: #087b43;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.vd-why-links a:hover {
    background: #e5f5eb;
}

@media screen and (max-width: 700px) {
    .vd-why-banner {
        padding: 18px 53px 18px 17px;
        background-position: right center;
    }

    .vd-why-features {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .vd-why-feature {
        padding: 7px 9px;
    }

    .vd-why-feature small {
        display: none;
    }

    .vd-why-icon {
        width: 37px;
        height: 37px;
    }

    .vd-why-icon svg {
        width: 22px;
        height: 22px;
    }

    .vd-why-arrow {
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 26px;
    }

    .vd-why-sub {
        margin-bottom: 12px;
    }

    .vd-why-modal {
        padding: 16px;
    }

    .vd-why-detail {
        grid-template-columns: 42px 1fr;
        gap: 10px;
    }

    .vd-why-detail .vd-why-icon {
        width: 39px;
        height: 39px;
    }

    .vd-why-detail img {
        display: none;
    }

    .vd-why-links {
        grid-template-columns: 1fr;
    }
}


/* TOP / narrow left-column integration */
.leftColumn .vd-why {
    margin: 20px 0;
}

.leftColumn .vd-why-banner {
    padding: 18px 52px 18px 18px;
}

.leftColumn .vd-why-banner-title {
    font-size: 24px;
    line-height: 1.35;
}

.leftColumn .vd-why-sub {
    margin: 4px 0 10px;
    font-size: 13px;
}

.leftColumn .vd-why-features {
    gap: 8px;
}

.leftColumn .vd-why-feature {
    gap: 8px;
    padding: 9px 8px;
    border-radius: 10px;
}

.leftColumn .vd-why-feature small {
    display: none;
}

.leftColumn .vd-why-feature strong {
    font-size: 14px;
    line-height: 1.4;
}

.leftColumn .vd-why-icon {
    width: 38px;
    height: 38px;
}

.leftColumn .vd-why-icon svg {
    width: 22px;
    height: 22px;
}

.leftColumn .vd-why-arrow {
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 27px;
}


.vd-why-modal-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}
/* GC01 / WHY VERDY composed image modal */
.vd-why-dialog-composed {
    width: min(1120px, calc(100% - 24px));
    max-height: 94vh;
    overflow: auto;
    border-radius: 10px;
    background: #fff;
}

.vd-why-modal-composed {
    position: relative;
    padding: 10px;
    background: #fff;
}

.vd-why-close-composed {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(238,244,239,.96);
    color: #7f9687;
    font-size: 30px;
    line-height: 42px;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,.12);
}

.vd-why-modal-body {
    width: 100%;
}

.vd-why-part {
    display: block;
    width: 100%;
    height: auto;
}

.vd-why-part-title {
    margin: 0 0 16px;
}

.vd-why-part-block {
    margin: 0 0 8px;
}

.vd-why-modal-links-composed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.vd-why-modal-link-composed {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
}

.vd-why-modal-link-composed img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

@media screen and (max-width: 700px) {
    .vd-why-dialog-composed {
        width: calc(100% - 12px);
    }

    .vd-why-modal-composed {
        padding: 6px;
    }

    .vd-why-close-composed {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 23px;
        line-height: 34px;
    }

    .vd-why-part-title {
        margin-bottom: 10px;
    }

    .vd-why-part-block {
        margin-bottom: 5px;
    }

    .vd-why-modal-links-composed {
        gap: 5px;
        margin-top: 10px;
    }
}


/* WHY VERDY image banner override */
.vd-why-banner,
.leftColumn .vd-why-banner {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
}

.vd-why-banner::before {
    display: none;
}

.vd-why-banner-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    border: 0;
}

.vd-why-banner:hover {
    box-shadow: none;
}


/* WHY VERDY modal fade */
.vd-why-dialog {
    opacity: 0;
    transition: opacity 180ms ease;
}

.vd-why-dialog::backdrop {
    opacity: 0;
    transition: opacity 180ms ease;
}

.vd-why-dialog.is-open {
    opacity: 1;
}

.vd-why-dialog.is-open::backdrop {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .vd-why-dialog,
    .vd-why-dialog::backdrop {
        transition: none;
    }
}
