/* 黄ばみ対策記事専用: 軽量な図解と左右交互レイアウト */
.yellowing-guide .yg-split {
    display: grid;
    grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
    align-items: stretch;
    gap: 36px;
    margin: 40px 0 56px;
    padding: 32px;
    background: #f5f7f6;
    border-left: 4px solid #c4956a;
}

.yellowing-guide .yg-split--reverse {
    grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.86fr);
}

.yellowing-guide .yg-split--reverse .yg-visual {
    grid-column: 2;
    grid-row: 1;
}

.yellowing-guide .yg-split--reverse .yg-split__content {
    grid-column: 1;
    grid-row: 1;
}

.yellowing-guide .yg-split__content {
    align-self: center;
}

.yellowing-guide .yg-kicker {
    display: block;
    margin-bottom: 10px;
    color: #956c47;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.yellowing-guide .yg-split__content h3 {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    color: #0d384c;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.6;
}

.yellowing-guide .yg-split__content h3::before {
    display: none;
}

.yellowing-guide .yg-split__content p {
    margin: 0;
    color: #394852;
    font-size: 16px;
    line-height: 1.95;
}

.yellowing-guide .yg-visual {
    min-height: 250px;
    padding: 24px;
    background: #fff;
    border: 1px solid #dce4e5;
    border-radius: 6px;
}

/* 変色の見分け方: 折り畳んだリネンを抽象化した軽量イラスト */
.yellowing-guide .yg-visual--stain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 12px;
    align-items: end;
}

.yellowing-guide .yg-illustration-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 260px;
    margin: auto;
    object-fit: contain;
}

.yellowing-guide .yg-illustration-image--inspection {
    grid-column: 1 / -1;
    max-height: 190px;
}

.yellowing-guide .yg-visual--illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yellowing-guide .yg-visual-note {
    padding-top: 12px;
    border-top: 2px solid #0d384c;
}

.yellowing-guide .yg-visual-note strong,
.yellowing-guide .yg-visual-note span {
    display: block;
    font-size: 16px;
    line-height: 1.6;
}

.yellowing-guide .yg-visual-note strong {
    color: #0d384c;
}

.yellowing-guide .yg-visual-note span {
    color: #5a6870;
}

/* 対処ルート: 原因確認から対応選択までを一方向で示す */
.yellowing-guide .yg-visual--route {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yellowing-guide .yg-route-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
}

.yellowing-guide .yg-route-step > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0d384c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.yellowing-guide .yg-route-step:nth-of-type(3) > span {
    background: #2d6a72;
}

.yellowing-guide .yg-route-step:nth-of-type(5) > span {
    background: #b38359;
}

.yellowing-guide .yg-route-step strong,
.yellowing-guide .yg-route-step small {
    font-size: 16px;
    line-height: 1.45;
}

.yellowing-guide .yg-route-step strong {
    color: #0d384c;
}

.yellowing-guide .yg-route-step small {
    color: #66747b;
}

.yellowing-guide .yg-route-line {
    width: 1px;
    height: 24px;
    margin: 5px 0 5px 24px;
    background: #aac1c4;
}

/* 自前管理とレンタルの比較 */
.yellowing-guide .yg-visual--compare {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.yellowing-guide .yg-compare-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    align-items: start;
}

.yellowing-guide .yg-compare-row > span {
    padding-top: 7px;
    color: #0d384c;
    font-size: 16px;
    font-weight: 700;
}

.yellowing-guide .yg-compare-row > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid #0d384c;
}

.yellowing-guide .yg-compare-row b {
    padding: 8px 4px;
    color: #53636b;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #dce4e5;
}

.yellowing-guide .yg-compare-row--rental > div {
    border-top-color: #b38359;
}

.yellowing-guide .yg-compare-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #956c47;
    font-size: 16px;
}

.yellowing-guide .yg-compare-divider::before,
.yellowing-guide .yg-compare-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dce4e5;
}

.yellowing-guide .yg-compare-divider span {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .yellowing-guide .yg-split,
    .yellowing-guide .yg-split--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 32px 0 44px;
        padding: 22px 18px;
    }

    .yellowing-guide .yg-split--reverse .yg-visual,
    .yellowing-guide .yg-split--reverse .yg-split__content {
        grid-column: 1;
    }

    .yellowing-guide .yg-split--reverse .yg-visual {
        grid-row: 1;
    }

    .yellowing-guide .yg-split--reverse .yg-split__content {
        grid-row: 2;
    }

    .yellowing-guide .yg-visual {
        min-height: 220px;
        padding: 20px;
    }

    .yellowing-guide .yg-split__content h3 {
        font-size: 20px;
    }
}

@media (max-width: 430px) {
    .yellowing-guide .yg-visual--stain {
        grid-template-columns: 1fr;
    }

    .yellowing-guide .yg-visual-note {
        display: grid;
        grid-template-columns: 4em 1fr;
        gap: 8px;
    }

    .yellowing-guide .yg-compare-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .yellowing-guide .yg-compare-row > span {
        padding-top: 0;
    }
}
