/* ==========================================================================
   Subpage Title
   ========================================================================== */
.subpage__title {
    width: 100%;
    padding: clamp(8rem, 15.333vw, 11.5rem) clamp(2rem, 10vw, 7.5rem) clamp(2rem, 5.333vw, 4rem);
    text-align: center;
}

.subpage__title .t__wrapper {
    max-width: 55rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subpage__title .ja__txt {
    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;
}

.subpage__title .ja__txt span {
    color: #468f03;
}

.subpage__title .sub__txt {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.4;
    color: #000000;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Method Wrapper
   ========================================================================== */
.content-wrapper {
    position: relative;
}

.method__wrapper {
    max-width: 70rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 10vw, 7.5rem) clamp(3rem, 5vw, 4rem);
}

/* ==========================================================================
   Method Intro (相談方法)
   ========================================================================== */
.method-intro {
    margin-bottom: clamp(3rem, 5vw, 4rem);
}

.method__cloud-left {
    position: absolute;
    top: clamp(-4rem, -6vw, -5rem);
    left: clamp(-4rem, -7vw, -6rem);
    width: clamp(12rem, 22vw, 18rem);
    height: auto;
    z-index: 0;
}

.method__cloud-right {
    position: absolute;
    top: clamp(-2rem, -4vw, -3rem);
    right: clamp(-5rem, -8vw, -7rem);
    width: clamp(14rem, 24vw, 20rem);
    height: auto;
    z-index: 0;
}

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

.method-intro__heading span {
    color: #468f03;
}

.method-intro__content {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.method-intro__left {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    flex-shrink: 0;
}

.method-intro__bear img {
    width: clamp(6rem, 10vw, 9rem);
    height: auto;
}

.method-intro__lead {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: #333851;
    margin-bottom: 0.5rem;
}

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

.method-intro__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.5rem, 1vw, 0.75rem) clamp(0.5rem, 1vw, 1rem);
    flex: 1;
}

.method-intro__badge {
    width: 100%;
    max-width: 10rem;
    height: auto;
}

.method-intro__badge:nth-child(3),
.method-intro__badge:nth-child(4) {
    transform: translateX(3rem);
}

/* ==========================================================================
   Method Types (相談方法カード)
   ========================================================================== */
.method-types {
    position: relative;
    margin-bottom: clamp(3rem, 5vw, 4rem);
}

.method-deco {
    position: relative;
    height: 0;
    pointer-events: none;
}

.method-deco__mountain {
    position: absolute;
    bottom: 0;
    right: clamp(-4rem, -7vw, -6rem);
    width: clamp(12rem, 20vw, 16rem);
    height: auto;
    z-index: 2;
}

.method-deco__sun {
    position: absolute;
    bottom: clamp(4rem, 7vw, 6rem);
    right: clamp(0.25rem, 0.5vw, 0.5rem);
    width: clamp(3rem, 5vw, 4rem);
    height: auto;
    z-index: 2;
}

.method-types__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    row-gap: clamp(0.75rem, 1.5vw, 1rem);
    margin-left: calc(-1 * clamp(1.25rem, 5vw, 5rem));
    margin-right: calc(-1 * clamp(1.25rem, 5vw, 5rem));
}

.method-types__card {
    position: relative;
    border-radius: 1.875rem;
    padding: clamp(2.5rem, 4vw, 3rem) 2rem 1.25rem;
}

.method-types__card--left {
    grid-column: 1;
    align-self: start;
}

.method-types__card--right {
    grid-column: 2;
    align-self: start;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.method-types__card--pullup {
    margin-top: clamp(-3rem, -5vw, -4rem);
}

/* 緑系カード (01, 04, 05) */
.method-types__card--green {
    background-color: #e3eed9;
}

.method-types__card--green .method-types__title {
    color: #468f03;
    border-bottom-color: #468f03;
}

/* 茶系カード (02, 03, 06) */
.method-types__card--brown {
    background-color: #e7dfd8;
}

.method-types__card--brown .method-types__title {
    color: #907159;
    border-bottom-color: #907159;
}

.method-types__label {
    position: absolute;
    top: -2rem;
    left: 0.5rem;
    width: clamp(6rem, 10vw, 8rem);
    height: auto;
}

.method-types__title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: #468f03;
    letter-spacing: 0.1em;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 3px dashed #468f03;
    white-space: nowrap;
}

.method-types__body {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.method-types__img {
    width: clamp(5rem, 10vw, 9rem);
    height: auto;
    flex-shrink: 0;
}

.method-types__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.4;
    color: #333851;
}

.method-types__text p + p {
    margin-top: 0.5rem;
}

/* ==========================================================================
   Flow (相談の流れ)
   ========================================================================== */
.flow {
    position: relative;
    max-width: 70rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 5vw, 4rem);
}

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

.flow__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;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.flow__heading span {
    color: #468f03;
}

.flow__timeline {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.flow__step {
    display: flex;
    align-items: center;
}

.flow__icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(4rem, 8vw, 6rem);
    flex-shrink: 0;
    margin-right: clamp(1rem, 3vw, 2.5rem);
}

.flow__dot-big {
    width: clamp(1rem, 2vw, 1.5rem);
    height: auto;
    flex-shrink: 0;
    margin: 0.5rem 0;
}

.flow__dot-small {
    width: clamp(0.625rem, 1.2vw, 1rem);
    height: auto;
    flex-shrink: 0;
    margin: clamp(0.25rem, 0.5vw, 0.75rem) 0;
}

.flow__icon {
    width: clamp(4rem, 8vw, 6rem);
    height: auto;
    flex-shrink: 0;
}

.flow__line {
    width: 3px;
    height: clamp(0.5rem, 1vw, 0.75rem);
    background-color: #468f03;
    flex-shrink: 0;
}

.flow__card {
    width: 100%;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.flow__title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.4;
    color: #907159;
    letter-spacing: 0.15rem;
    margin-bottom: 0.5rem;
}

.flow__desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.4;
    color: #333851;
    white-space: nowrap;
    background-color: #f0f0ec;
    border-radius: 0.625rem;
    padding: 1rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   FAQ (よくある質問)
   ========================================================================== */
.faq {
    max-width: 70rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 5vw, 4rem);
    position: relative;
    overflow: visible;
}

.faq__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;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.faq__heading span {
    color: #468f03;
}

.faq__list {
    max-width: 54.625rem;
    margin: 0 auto;
}

.faq__item {
    border-top: 1px solid #c8c8c0;
}

.faq__item:last-child {
    border-bottom: 1px solid #c8c8c0;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(0.5rem, 1vw, 1rem);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.4;
    color: #333851;
    text-align: left;
}

.faq__toggle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: #468f03;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__answer p {
    padding: 0 clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: #575757;
    background-color: #f0f0ec;
    border-radius: 0.625rem;
    padding-top: 1rem;
}

.faq__item.is-open .faq__answer {
    max-height: 500px;
}

.faq__item.is-open .faq__toggle {
    transform: rotate(45deg);
}

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

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

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

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

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

    .flow__icon-col {
        display: none;
    }

    .flow__step {
        flex-direction: column;
    }

    .flow__card {
        margin-bottom: clamp(0.5rem, 2vw, 1rem);
    }

    .flow__timeline {
        width: 100%;
    }

    .flow__desc {
        white-space: normal;
        padding-left: 0;
    }
}

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

    .method-intro__content {
        flex-direction: column;
    }

    .method-intro__left {
        justify-content: center;
    }

    .method-types__grid {
        grid-template-columns: 1fr;
    }

    .method-types__card--right {
        grid-column: 1;
    }

    .method-types__card,
    .method-types__card--right.method-types__card--green,
    .method-types__card--right.method-types__card--brown,
    .method-types__card.method-types__card--compact {
        margin-top: clamp(1.5rem, 3vw, 2rem);
    }


    .cta__buttons {
        flex-direction: column;
    }

    .cta__btn {
        width: 100%;
        max-width: 24rem;
        margin: 0 auto;
        padding: 1rem 2rem;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    width: 100%;
    padding: clamp(2rem, 3.2vw, 3rem) clamp(2rem, 5.333vw, 5rem);
}

.cta__inner {
    position: relative;
    max-width: 65rem;
    margin: 0 auto;
    border-radius: 1.875rem;
    overflow: hidden;
    padding: clamp(1.5rem, 2.667vw, 2rem);
}

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

.cta__bg img {
    width: 400%;
    height: 100%;
    object-fit: cover;
    margin-left: -100%;
}

.cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 2.667vw, 2.5rem);
}

.cta__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta__heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.667vw, 2.5rem);
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.25rem;
}

.cta__subtext {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.333vw, 1.25rem);
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
}

.cta__subtext strong {
    font-weight: 700;
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 1.333vw, 1.25rem);
    width: 100%;
}

.cta__btn {
    flex: 1 1 auto;
    min-width: clamp(8rem, 15vw, 12rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: clamp(3rem, 4.667vw, 4.375rem);
    border-radius: 1.25rem;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.733vw, 1.625rem);
    line-height: 1.7;
    text-decoration: none;
}

.cta__btn--phone,
.cta__btn--mobile {
    background-color: #ffffff;
    color: #575757;
}

.cta__btn--phone img {
    width: clamp(1rem, 1.867vw, 1.75rem);
    height: clamp(1rem, 1.867vw, 1.75rem);
}

.cta__btn--mobile img {
    width: clamp(0.75rem, 1.4vw, 1.3rem);
    height: auto;
}

.cta__btn--email {
    background-color: #ffcd16;
    color: #468f02;
}

.cta__btn--email img {
    width: clamp(1.25rem, 2.667vw, 2.5rem);
    height: clamp(0.875rem, 1.867vw, 1.75rem);
}

.cta__btn--line {
    background-color: #ffffff;
    color: #575757;
    letter-spacing: 0.15em;
}
