/* ==========================================================================
   Page Hero (下層ページ共通FV)
   ========================================================================== */
.page-hero {
    width: 100%;
    padding: clamp(8rem, 15.333vw, 11.5rem) clamp(2rem, 10vw, 7.5rem) clamp(2rem, 5.333vw, 4rem);
    text-align: center;
}

.page-hero__inner {
    max-width: 55rem;
    margin: 0 auto;
}

.page-hero__heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.75vw, 2.8125rem);
    line-height: 1.6;
    color: #333851;
    letter-spacing: 0.1em;
}

.page-hero__heading--green {
    color: #468f03;
}

/* ==========================================================================
   About Intro (児童家庭支援センターとは)
   ========================================================================== */
.about-intro {
    position: relative;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 10vw, 7.5rem);
}

.about-intro__cloud-left {
    position: absolute;
    top: clamp(-4rem, -6vw, -5rem);
    left: clamp(-8rem, -12vw, -10rem);
    width: clamp(12rem, 22vw, 18rem);
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.about-intro__cloud-right {
    position: absolute;
    top: clamp(-2rem, -4vw, -3rem);
    right: clamp(-8rem, -12vw, -10rem);
    width: clamp(14rem, 24vw, 20rem);
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.about-intro__inner {
    max-width: 60rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.about-intro__heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.4;
    color: #333851;
    text-align: center;
    letter-spacing: 0.1em;
}

.about-intro__heading--green {
    color: #468f03;
}

.about-intro__text {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
}

.about-intro__text p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.8;
    color: #575757;
}

/* ==========================================================================
   Difference (児童相談所との違い)
   ========================================================================== */
.difference {
    position: relative;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 10vw, 7.5rem);
}

.difference__card {
    position: relative;
    max-width: 55rem;
    margin: 0 auto;
    border-radius: clamp(1.25rem, 2.5vw, 2.5rem);
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem);
}

.difference__card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.difference__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
}

.difference__heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.4;
    color: #333851;
    text-align: center;
    letter-spacing: 0.1em;
}

.difference__heading--green {
    color: #468f03;
}

.difference__items {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
    max-width: 45rem;
}

.difference__item {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.difference__item-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    width: clamp(14rem, 22vw, 18rem);
}

.difference__icon {
    display: block;
    width: clamp(1.75rem, 3vw, 2.5rem);
    height: auto;
    flex-shrink: 0;
}

.difference__item-name {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.375rem);
    line-height: 1.4;
    color: #333851;
}

.difference__item-desc {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: #575757;
    flex: 1;
}

.difference__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

.difference__contact-label {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.difference__contact-icon {
    width: clamp(1.75rem, 2.5vw, 2rem);
    height: auto;
    flex-shrink: 0;
}

.difference__contact-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.difference__contact-heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    line-height: 1.4;
    color: #333851;
    letter-spacing: 0.05em;
}

.difference__contact-text {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: #575757;
}

/* ==========================================================================
   3 Points
   ========================================================================== */
.points {
    position: relative;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 10vw, 7.5rem);
}

.points__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 55rem;
    margin: 0 auto;
    position: relative;
}

.points__heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.4;
    color: #333851;
    text-align: center;
    letter-spacing: 0.1em;
}

.points__heading--green {
    color: #468f03;
}

.points__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    width: 100%;
}

.points__card {
    background-image: url('../images/consul_card_bg_1x.webp');
    background-image: image-set(
        url('../images/consul_card_bg_1x.webp') 1x,
        url('../images/consul_card_bg_2x.webp') 2x
    );
    background-size: cover;
    background-position: center;
    background-color: #f0f0ec;
    border-radius: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    text-align: center;
}

.points__card-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.4;
    color: #333851;
}

.points__card-num {
    color: #468f03;
}

.points__card-text {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.7;
    color: #575757;
}

.points__trees {
    position: absolute;
    bottom: clamp(-5rem, -8vw, -7rem);
    right: clamp(-6rem, -10vw, -8rem);
    width: clamp(5rem, 9vw, 8rem);
    height: auto;
    pointer-events: none;
}

/* ==========================================================================
   OK Step (相談はこんな段階でOK)
   ========================================================================== */
.okstep {
    position: relative;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 10vw, 7.5rem) clamp(3rem, 6vw, 5rem);
}

.okstep__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 55rem;
    margin: 0 auto;
}

.okstep__heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.4;
    color: #333851;
    text-align: center;
    letter-spacing: 0.1em;
}

.okstep__heading--green {
    color: #468f03;
}

.okstep__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 1.5vw, 2rem);
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
}

.okstep__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    text-align: center;
}

.okstep__card--offset {
    margin-top: clamp(2rem, 4vw, 4rem);
}

.okstep__card-img {
    width: 100%;
    aspect-ratio: 210 / 140;
    overflow: hidden;
    border-radius: clamp(0.75rem, 1.5vw, 1.25rem);
}

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

.okstep__card-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.4;
    color: #468F03;
}

.okstep__card-text {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: #575757;
}

.okstep__deco {
    position: absolute;
    bottom: 0;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.okstep__deco--right {
    left: clamp(-8rem, -14vw, -12rem);
    width: clamp(16rem, 28vw, 24rem);
}

.okstep__deco--center {
    left: clamp(6rem, 12vw, 10rem);
    bottom: clamp(1.5rem, 3vw, 2.5rem);
    width: clamp(6rem, 10vw, 8rem);
}

.okstep__deco--left {
    right: clamp(-10rem, -17vw, -14rem);
    bottom: clamp(1.5rem, 3vw, 2.5rem);
    width: clamp(14rem, 25vw, 20rem);
}

.difference__mountain {
    position: absolute;
    bottom: clamp(2rem, 4vw, 3rem);
    right: clamp(-4rem, -7vw, -6rem);
    width: clamp(12rem, 20vw, 16rem);
    height: auto;
    pointer-events: none;
    z-index: 2;
}

.difference__sun {
    position: absolute;
    bottom: clamp(5.5rem, 9vw, 8rem);
    right: clamp(0.25rem, 0.5vw, 0.5rem);
    width: clamp(3rem, 5vw, 4rem);
    height: auto;
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   Responsive – Tablet (max-width: 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
    .page-hero {
        padding-top: clamp(6rem, 10vw, 8rem);
    }

    .about-intro__cloud-left {
        width: clamp(8rem, 14vw, 12rem);
        left: clamp(-3rem, -4vw, -3.5rem);
    }

    .about-intro__cloud-right {
        width: clamp(10rem, 16vw, 14rem);
        right: clamp(-3rem, -4vw, -3.5rem);
    }

    .points__trees {
        width: clamp(5rem, 8vw, 7rem);
        bottom: clamp(-3rem, -5vw, -4rem);
    }
}

/* ==========================================================================
   Responsive – Mobile (max-width: 797px)
   ========================================================================== */
@media (max-width: 797px) {
    .page-hero {
        padding-top: 5rem;
        padding-bottom: 1.5rem;
    }

    .about-intro__text p br {
        display: none;
    }

    .difference__card {
        padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
    }

    .difference__item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .difference__item-label {
        width: 100%;
    }

    .points__cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .points__trees {
        width: clamp(4rem, 10vw, 5rem);
        right: clamp(-2rem, -3vw, -2.5rem);
    }

}

/* ==========================================================================
   Responsive – okstep 2col (max-width: 854px)
   ========================================================================== */
@media (max-width: 962px) {
    .okstep__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .okstep__deco--center {
        left: clamp(3rem, 8vw, 6rem);
        width: clamp(5rem, 8vw, 6.5rem);
    }

    .okstep__card--offset {
        margin-top: 0;
    }
}

/* ==========================================================================
   Responsive – okstep 1col (max-width: 550px)
   ========================================================================== */
@media (max-width: 610px) {
    .okstep__cards {
        grid-template-columns: 1fr;
    }
}
