/* ========== First View styles ========== */
:root {
    --fv-blue: #9a9eb3;
    --lp-pink: #e5959f;
    --fv-white: #fff;
    --fv-border: rgba(255, 255, 255, .75);
    --fv-chip-bg: rgba(255, 255, 255, .25);
}

.fv-top {
    background: var(--fv-blue);
    color: var(--fv-white);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.fv-main {
    background: var(--lp-pink);
    color: var(--fv-white);
}

/* 見出し */
.fv-title-small {
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .95;
    font-size: clamp(2rem, 1vw + 1.2rem, 3rem);
}

.fv-title-large {
    font-weight: 800;
    line-height: 1.35;
    /* 大きめに可変 */
    font-size: clamp(2.5rem, 2.5vw + 1.2rem, 4.5rem);
}

.fv-top h2 {
    margin: 0;
}

.fv-space {
    margin-bottom: 0.5rem;
    display: block; /* インラインの改行をブロック扱いに */
    content: ""; /* Safari対策 */
}

/* ブランド行 */
.fv-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.ninpath-fv-logo {
    max-width: 50vh; /* PC時のロゴ幅 */
    height: auto;
}

@media (max-width: 768px) {

    .ninpath-fv-logo {
        max-width: 25vh; /* SP時は少し小さく */
    }
}


.fv-card {
    border: 1.5px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 上段 */
.fv-card-body {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    min-height: calc(2lh);
    max-width: 400px;
    max-height: 180px;
    text-align: center;
    text-wrap: balance;

    /* フォント設定 */
    font-size: clamp(1rem, 1.2vw + 0.9rem, 1.4rem);
    font-weight: 700;

    /* 上下の余白を広めに */
    padding: 1.5rem 1rem;
}

/* 下段：高さは可変（1行 or 2行OK） */
.fv-card-footer {
    border-top: 1.5px solid #fff;
    background: #f1dadc;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 1.4;
    text-align: center;
    color: var(--lp-pink);

    /* 余白 */
    padding: 0.8rem 1rem;

    /* flexで中央寄せ */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1200px) and (min-width: 768px) {
    .fv-card-footer {
        font-size: 0.95rem;
    }
}

/* スマホ微調整 */
@media (max-width: 768px) {
    .fv-title-small {
        font-size: 1rem;
    }

    .fv-title-large {

        font-size: 1.8rem;
    }

    .fv-brand {
        gap: .7rem;
    }

    .fv-logo {
        width: 48px;
        height: 48px;
    }
}


.concern-heading {
    color: #4d4d4d;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.concern-section {
    background-color: #f2f2f2;
}

.concern-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.concern-card-gray {
    background: #9a9eb3;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: -50px;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.concern-card-gray p {
    height: 170px;
}

/* カード全体のはみ出しを許可（円を下に出すため） */
.concern-card {
    position: relative;
    overflow: visible;
}

/* 画像ブロック：中央に円を敷く */
.image-wrapper {
    position: relative;
    width: clamp(70px, 28vw, 250px); /* 円の直径 */
    aspect-ratio: 1 / 1; /* 正円 */
    margin: 0 auto;
}

/* 白い円（背景） */
.image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); /* うっすら影（任意） */
    z-index: 1;
}

/* 画像を円の中に収める */
.image-wrapper img {
    position: relative;
    z-index: 3;
    width: 80%; /* 顔や肩が収まる比率。お好みで 72–86% 目安 */
    height: auto;
    display: block;
    margin: 10% auto 0; /* 上から少し下げて良い位置に */
}

/* 既存の高さ指定は不要：無効化（上書き） */
.concern-card-gray p {
    height: auto;
}

/* 円とグレー帯の重なりを作る（帯の下に円が少し覗く） */
.concern-card-gray {
    margin-bottom: -90px; /* 円に重ねる量。上の width に合わせて微調整 */
}

@media (max-width: 768px) {
    .concern-container {
        grid-template-columns: 1fr; /* 1カラムに */
        gap: 35px;
    }

    .image-wrapper {
        width: clamp(150px, 40vw, 260px); /* 円を大きめに */
    }

    .image-wrapper img {
        width: 75%; /* 画像をやや小さめにして余白を作る */
        margin-top: 15%; /* 円の中でさらに下寄せ */
    }

    .concern-card-gray {
        margin-bottom: -70px; /* 円が広くなった分だけ重なり調整 */
    }
}

.ninpath-feature-section {
    max-width: 999px;
    margin: 0 auto;
}

/* 見出しコンテナごと中央寄せ */
.ninpath-feature-section .section-heading{
    display: flex;
    flex-direction: column;  /* 上:見出し, 下:矢印 */
    align-items: center;     /* 子要素を中央に */
    width: 100%;
}

/* 見出しテキストを中央寄せ */
.ninpath-feature-section .section-heading-text{
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 999px;        /* 任意：本文と同じ幅で締めたい場合 */
}

/* ついでに矢印も中央のまま維持 */
.ninpath-feature-section .arrow-down{
    margin: 0 auto 20px;
}


.ninpath-feature-section .section-heading .sub{
    color: #cc6c6d;
    font-size: 1.6rem;
    font-weight: 600;

}
.ninpath-feature-section .section-heading .main{
    color: #cc6c6d;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.ninpath-feature {
    border: 2px solid var(--lp-pink);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.ninpath-feature + .ninpath-feature {
    margin-top: 2rem;
}

.ninpath-feature-image {
    flex: 1;
    max-width: 280px;
}

.ninpath-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ninpath-feature-text {
    flex: 2;
    font-size: 1.5rem;
}

.ninpath-feature-text h3 {
    color: #ffffff; /* 見出しを赤系で */
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    padding: 10px 20px;
    background-color: var(--lp-pink);;

}

.ninpath-feature-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
    padding: 0 20px;
}

@media (max-width: 999px) {
    .ninpath-feature-text h3 {
        font-size: 1rem;
    }

    .ninpath-feature-text p {
        font-size: 1rem;
    }

    .ninpath-feature {
        flex-direction: column;
    }

    .ninpath-feature-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .ninpath-feature-section .section-heading .sub{
        font-size: 0.7rem;

    }
    .ninpath-feature-section .section-heading .main{
        font-size: 1.3rem;
    }
    .ninpath-feature-section {
        width: 70%;
    }

    .ninpath-feature-text h3 {
        margin: auto 0;
        text-align: center;
    }

    .ninpath-feature-text p {
        margin: auto 0;
        padding: 10px;
    }
}


.arrow-down {
    width: 0;
    height: 0;
    margin: 0 auto 8px;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 48px solid #eabbbf;
}

.support-service-section .section-heading .sub {
    color: #cc6c6d;
    font-size: 1.6rem;
    font-weight: 600;
}
.support-service-section .section-heading .main {
    color: #cc6c6d;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

/* 画像は中央寄せ＋最大幅制御（コンテンツ幅に合わせる） */
.support-figure { margin: 0 auto 2rem; }
.support-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 999px;   /* ページの基準幅に合わせる */
    height: auto;
    border-radius: 6px; /* 角丸が必要な場合だけ */
}

.support-text{
    text-align: center;
    margin: 1.5rem 0 3rem 0; /* 上下に余白を少し追加 */
}
.support-text p{
    color: #cc6c6d;
    font-size: 1.4rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .support-service-section .section-heading .sub {
        font-size: 1rem;
        font-weight: 600;
    }
    .support-service-section .section-heading .main {
        font-size: 1.5rem;
    }
}


/* CTA */
.btn-cta {
    display: inline-block;
    background: linear-gradient(to bottom, #e5959f 0%, #d65259 100%) ;
    border: none ;
    border-radius: 9999px;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    width: 70%;
    max-width: 660px;
}
.btn-cta:hover {
    background: #c1505c;
    color: #fff;
}
.cta-text{
    font-size: 1.5rem;
    color: #cc6c6d;
    font-weight: 700;
}

@media (max-width: 768px) {
    .btn-cta {
        min-width: 290px;
        width: 70%;
        font-size: 1.2rem;
    }
    .cta-text{
        font-size: 1rem;
        color: #cc6c6d;
        font-weight: 700;
    }
}


.shadow-divider{
    height: 12px;                /* 影の厚み */
    border-top: 1px solid #e9e9e9;
    background: linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,0));
    opacity: .35;                /* 影の濃さを全体で調整 */
    border-radius: 2px;
}

.shadow-divider.full{
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); /* コンテナをはみ出して全幅に */
}


.voice-section {
    max-width: 1200px;
    padding: 0 1rem;
    background-color: #fff;
    text-align: center;
    margin: 0 auto;
}

.voice-section .section-heading h2 {
    font-size: 3rem;
    color: #e5959f;
    font-weight: bold;
    margin-bottom: 20px;
}

.voice-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom:  20px;
}

.voice-chart {
    max-width: 520px;
    width: 100%;
    height: auto;
}

.support-pack-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: visible;
}

.support-pack-content .voice-image {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --arrow-width: 30vh;
    --arrow-height: 6vh;
}


/* ▼ グレー背景のセクション */
.voice-gray-section {
    background-color: #f2f2f2;
    padding: 3rem;
    position: relative;
    overflow: visible;
}


.voice-gray-image {
    width: 70%;
    height: auto;
    display: block;
}

.voice-gray-inner img {
    margin: auto;
}

/* ▼ 下向き三角形 */
.div-arrow-down {
    position: absolute;
    bottom: calc(-1 * var(--arrow-height));
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: calc(var(--arrow-width) / 2) solid transparent;
    border-right: calc(var(--arrow-width) / 2) solid transparent;
    z-index: 2;
}

@media (max-width: 768px) {
    .voice-gray-section {
        padding: 1rem;
    }
    .voice-gray-image {
        width: 100%;
    }
}



.voice-cost-section {
    background-color: #fff;
    margin-bottom: 2rem;
    padding: 0 1rem;
    text-align: center;

}

.voice-cost-inner {
    width: 100%;
    margin: auto;
}

.voice-cost-title {
    font-size: 3rem;
    font-weight: 500;
    color: #5da599;
    margin: 60px 0;
}

.voice-cost-image {
    width: 60%;
    height: auto;
    display: block;
    margin: auto;
}

.voice-cost-message {
    margin-top: 40px;
}

.voice-cost-message .message-main {
    display: inline-block;
    background-color: #fbb03b;
    color: #fff;
    font-weight: bold;
    font-size: 3rem;
    padding: 16px 30px;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.voice-cost-message .message-sub {
    color: #fbb03b;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.6;
}



.floating-banner-pc {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 20%; /* 必要に応じて調整 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.floating-banner-pc img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-banner-sp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fbb03b;
    padding: 12px 0;
    display: none;
}

.floating-button-sp {
    display: block;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 768px) {

    .main-copy {
        font-size: 2rem;
    }

    .counseling-wrapper {
        flex-direction: column;
    }

    .seminar-box-heading {
        padding: 10px 30px;
    }

    .about-heading img {
        width: 200px;
    }

    .about-description p {
        font-size: 1rem;
    }

    .benefit-title {
        font-size: 2rem;
    }

    .voice-section .section-heading h2 {
        font-size: 2rem;
    }


    .voice-cost-title {
        font-size: 1.5rem;
        margin: 20px 0;
    }

    .voice-cost-image {
        width: 100%;
    }

    .voice-cost-message .message-main {
        font-size: 1.4rem;
    }

    .voice-cost-message .message-sub {
        font-size: 1.4rem;
    }

    .counseling-wrapper {
        padding: 20px;
    }

    .counseling-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #5da599;
        margin: auto 20px;
    }

    .counseling-box {
        font-size: 1rem;
    }

    .seminar-section .label {
        padding: 10px 90px;
        font-size: 1.5rem;
    }

    .seminar-title {
        font-size: 1.5rem;
    }

    .seminar-item-inner {
        font-size: 1rem;
    }

    .seminar-box-heading {
        font-size: 1rem;
    }

    .seminar-box-body {
        padding: 20px;
        font-size: 1rem;
    }

    .service-info-heading {
        font-size: 1.5rem;
    }

    .service-info-card {
        font-size: 1rem;
        width: 270px;
    }

    .service-info-text {
        font-size: 1rem;
    }

    .service-info-button a {
        font-size: 1rem;
    }

    .floating-banner-pc {
        display: none;
    }

    .floating-banner-sp {
        display: block;
    }
}
