/* カスタムスタイル */
.l-main {
    width: 100%;
    max-width: 100%;
}
.l-main *{
    font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}
.sp-br {
    display: none;
}
.pc-br {
    display: block;
}

.main__visual--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== PC（Figma node 2-167） ========== */
@media screen and (min-width: 1081px) {
    .main__visual--lead {
        font-family: "Zen Old Mincho", "Yu Mincho", serif;
        font-size: 26px;
        font-weight: 500;
        line-height: 1.7;
        color: #444446;
    }
    .main__visual--ttl {
        font-family: "Zen Old Mincho", "Yu Mincho", serif;
        font-size: 70px;
        font-weight: 700;
        line-height: 1.7;
        color: #57a762;
    }

    /* お悩み4 */
    .section__wrapper--worry--04 .section__ttl {
        color: #263238;
        font-weight: 700;
        font-size: 26px;
        line-height: 1.5;
        margin-bottom: 43px;
    }
    .section__wrapper--worry--04 .section__ttl span {
        font-size: 12px;
        letter-spacing: 2.64px;
        color: #56a860;
        font-weight: 400;
        margin-top: 10px;
    }
    .section__wrapper--worry--04 .content__subttl--worry--04 {
        color: #56a860;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.7;
    }
    .section__wrapper--worry--04 .content__description--worry--04 {
        color: #333;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.7;
    }
    .section__wrapper--worry--04 .content__description--worry--04--step3 {
        line-height: 1.7;
    }

    /* 流れ7 リード */
    .content__lead--flow--07 {
        margin-bottom: 35px;
        text-align: center;
    }
    .content__lead--flow--07 p {
        margin: 0;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.7;
    }

    .content__block--flow--07 {
        margin-top: 12px;
    }
    .content__block--flow--07 .content__items--flow--07 {
        align-items: center;
        gap: 25px;
        padding: 28px 0 29px 29px;
        width: 1138px;
    }
    .content__items--flow--07 .content__count--flow--07 {
        color: #56a860;
        font-size: 16px;
        line-height: 1.2;
    }
    .content__items--flow--07 .content__count--flow--07::after {
        font-size: 30px;
        line-height: 1;
    }
    .content__wrap--flow--07 .content__subttl--flow--07 {
        color: #56a860;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.7;
        margin-bottom: 5px;
    }
    .content__wrap--flow--07 .content__description--flow--07,
    .content__wrap--flow--07 .content__description--flow--07 p {
        color: #263238;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.7;
    }
    .content__wrap--flow--07 .content__description--flow--07 p {
        margin-bottom: 10px;
    }
    .content__wrap--flow--07 .content__description--flow--07 p:last-child {
        margin-bottom: 0;
    }
        .content__wrap--flow--07 .content__description--flow--07 .non--space{
            margin-bottom: 0;
        }
    .content__emphasis--flow--07 {
        font-weight: 700;
        color: #eba16c;
    }
    .content__wrap--flow--07 .content__description--flow--07 a {
        color: #3598db;
        text-decoration: underline;
        text-underline-position: from-font;
    }

    /* お問い合わせ3（退去受付CTA） */
    .section__wrapper--contact--03--leaving .section__ttl {
        color: #263238;
        font-weight: 700;
        font-size: 26px;
        line-height: 1.5;
        margin-bottom: 38px;
    }
    .section__wrapper--contact--03--leaving .section__ttl span {
        color: #56a860;
        font-size: 12px;
        letter-spacing: 2.64px;
        font-weight: 400;
    }
    .section__wrapper--contact--03--leaving .content__block--contact--03--tel .content__txt--tel {
        font-size: 40px;
        font-weight: 700;
        color: #263238;
    }
    .content__info--contact--03--leaving .content__txt--contact--03 {
        font-size: 13px;
        font-weight: 500;
        color: #263238;
        line-height: 2;
    }
}

/* 共通（セクション背景など）※module CSSは触らずここで上書き */
.section__wrapper--worry--04 {
    background-color: #fafafa;
}

.section__wrapper--worry--04 .content__list--vertical{
    justify-content: start;
}
.content__block--flow--07 .content__list--vertical {
    counter-reset: count;
    gap: 0;
}
.content__lead--flow--07 {
    text-align: center;
    margin-bottom: 35px;
}
.content__lead--flow--07 p {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.content__wrap--flow--07 .content__description--flow--07 p {
    margin-bottom: 10px;
}
.content__wrap--flow--07 .content__description--flow--07 p:last-child {
    margin-bottom: 0;
}
.content__emphasis--flow--07 {
    font-weight: 700;
    color: #eba16c;
}
.content__wrap--flow--07 .content__description--flow--07 a {
    color: #3598db;
    text-decoration: underline;
}

/* お問い合わせ3（退去受付CTA） */
.section__wrapper--contact--03--leaving {
    position: relative;
    padding: 57px 0 60px;
    overflow: hidden;
}
.section__wrapper--contact--03--leaving::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(/pg-leaving/images/bg_contact.webp) no-repeat center / cover;
}
.section__wrapper--contact--03--leaving::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(238, 255, 240, 0.69);
    backdrop-filter: blur(2px);
}
.section__wrapper--contact--03--leaving .section__inner {
    position: relative;
    z-index: 1;
}
.section__wrapper--contact--03--leaving .content__wrap--contact--03 .content__block--contact--03 {
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    flex-wrap: nowrap;
}
.content__wrap--contact--03--leaving {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 9px;
}
.content__block--contact--03--tel {
    display: flex;
    align-items: center;
    gap: 8px;
}
.section__wrapper--contact--03--leaving .content__block--contact--03--tel .content__txt--tel {
    pointer-events: none;
    cursor: pointer;
    text-decoration: none;
}
.section__wrapper--contact--03--leaving .content__btn--contact--form a {
    width: 320px;
    height: 60px;
    background: #56a860;
    border-color: #56a860;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 0 20px 0 44px;
    justify-content: center;
}
.section__wrapper--contact--03--leaving .content__btn--contact--form [class*="content__icon--btn--"] {
    right: 20px;
}
.content__info--contact--03--leaving {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.content__icon--tel{
    color: #EBB66C;
}
.content__icon--mail{
    width: 27px;
    height: 18px;
}
[class*="section__wrapper--contact--"] [class*="content__btn--contact--"] a:not(.content__txt--tel):hover .content__icon--mail{
    opacity: 0.7;
    color: #fff;
}

[class*="section__wrapper--contact--"] [class*="content__btn--contact--"] a:not(.content__txt--tel){
    background: #56A860;
    padding-right: 42px;
    gap: 0;
}
    [class*="section__wrapper--contact--"] [class*="content__btn--contact--"] a:not(.content__txt--tel):hover{
        opacity: 0.7;
    }
[class*="content__btn--"] [class*="content__icon--btn--"]{
    height: 6px;
}
[class*="content__btn--"] a:hover [class*="content__icon--"]{
    color: #fff;
}

@media screen and (max-width: 1080px) {
    .sp-br {
        display: block;
    }
    .pc-br {
        display: none;
    }

    .main__visual--leaving {
        flex-direction: column;
        min-height: auto;
        padding: 8vw 0 0;
        gap: 0;
    }
    .main__visual--leaving-inner {
        width: var(--screen-size);
        padding: 0;
    }
    .main__visual--lead {
        font-size: 4.8vw;
        margin-bottom: 4vw;
    }
    .main__visual--ttl {
        font-size: 10.667vw;
    }
    .main__visual--img {
        width: 100%;
        max-width: none;
        height: 53.333vw;
    }

    .content__lead--flow--07 {
        margin-bottom: 5.333vw;
        text-align: left;
    }
    .content__lead--flow--07 p {
        margin: 0;
        line-height: 1.7;
    }

    .content__block--flow--07 {
        margin-top: 10.667vw;
    }

    .section__wrapper--contact--03--leaving {
        padding-block: 16vw;
    }
    .content__wrap--contact--03--leaving {
        flex-direction: column;
        align-items: stretch;
        gap: 4vw;
        width: 100%;
    }
    .section__wrapper--contact--03--leaving .content__block--contact--03--tel {
        justify-content: center;
        width: 100%;
        height: 16vw;
        background: #fff;
        border-radius: 9999px;
    }
    .section__wrapper--contact--03--leaving .content__block--contact--03--tel .content__txt--tel {
        font-size: 5.333vw;
        color: #333;
    }
    .section__wrapper--contact--03--leaving .content__btn--contact--form {
        width: 100%;
    }
    .section__wrapper--contact--03--leaving .content__btn--contact--form a {
        width: 100%;
        height: 16vw;
        font-size: 4.8vw;
        background: #56a860;
        color: #fff;
    }
    .content__info--contact--03--leaving {
        flex-direction: column;
        align-items: center;
        gap: 2.133vw;
    }
}
