/* ファーストビュー背景 */
.fv-section {
    width: 100%;
}

/* ファーストビュー画像ラッパー */
.fv-container {
    margin-bottom: 2rem;
}

/* ファーストビュー画像本体 */
.fv-image {
    width: 100%;
    height: auto;
    display: block;
}

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

.concern-section {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

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

.concern-card-light-gray,
.concern-card-dark-gray {
    width: 100%;
    max-width: 300px; /* 任意、デザイン次第で */
    margin: 0 auto;
}

.concern-card-light-gray {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    text-align: center;
    font-family: sans-serif;
}

.concern-card-dark-gray {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    text-align: center;
    font-family: sans-serif;
}

.speech-bubble-light-gray {
    background: #999999;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: -15px;
    z-index: 0;
    position: relative;

    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.speech-bubble-dark-gray {
    background: #4d4d4d;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: -15px;
    z-index: 0;
    position: relative;

    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-wrapper {
    z-index: 1;
    position: relative;
    margin-bottom: 20px;
    height: auto;
}

.image-wrapper img {
    width: 15vh;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tag.primary {
    background-color: #5ce0cd;
    color: #000;
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 0;

    /* ▼追加で幅を揃える */
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tag-list {
    display: flex;
    flex-direction: column; /* ← 横並びを縦並びに変更 */
    gap: 6px;
    align-items: center; /* ← 中央揃え */
    margin-top: 8px;
}

.tag-list .tag {
    border: 2px solid #444;
    border-radius: 9999px;
    padding: 4px 10px;
    font-size: 13px;
    background-color: #fff;
    color: #000;
}

.tag,
.tag.primary {
    min-width: 120px; /* 統一感が出る */
    text-align: center;
}

.ninpath-feature {
    margin-bottom: 2rem;
    padding: 0 1rem;
    text-align: center;
}

.ninpath-feature .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 20px;
}

.main-copy {
    color: #f7931e;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

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


.feature-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.feature-block {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.about-ninpath {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    text-align: left;
    font-family: sans-serif;
    color: #222957;
}

.about-heading img {
    width: 400px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.about-description p {
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: 1em;
}

.benefit-section {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.benefit-title {
    font-size: 3rem;
    font-weight: bold;
    color: #f7931e;
    margin-bottom: 20px;
}

.benefit-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.benefit-cards img {
    width: 370px;
    height: auto;
    display: block;
    border: 1px solid #ccc;
}

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

.voice-section .section-heading h2 {
    font-size: 4rem;
    color: #f7931e;
    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;
    margin-bottom: 20px;
}

.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: 0 1rem;
    position: relative;
    overflow: visible;
}

/* ▼ セクション内の内容 */
.voice-gray-inner {
    max-width: 1200px;
    margin: auto;
}

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

/* ▼ 下向き三角形 */
.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;
}

/* オレンジ三角（下向き） */
.div-arrow-down.orange {
    border-top: var(--arrow-height) solid #fbb03b;
}

/* 青三角（下向き） */
.div-arrow-down.green {
    border-top: var(--arrow-height) solid #5ce0cd;
}

.arrow-down-next-section {
    background-color: #fff;
}

.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;
}

.counseling-section {
    margin: 0 1rem 2rem 1rem;
    background-color: #fff;
}

.counseling-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    flex-wrap: wrap;
    align-items: stretch;

    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4);
    background-color: #fff;
}

.counseling-content,
.counseling-experts {
    flex: 1;
    min-width: 300px;
}

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

.counseling-image {
    width: 100%;
    margin-bottom: 20px;
}

.counseling-box {
    border: 4px solid #5ce0cd;
    border-radius: 12px;
    padding: 12px 16px;
    color: #5da599;
    background-color: transparent;
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: left;
    max-width: 100%;
    font-weight: bold;
}

.counseling-box a {
    color: #5da599;
}

.counselor-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.counselor-card {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.counselor-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.counselor-info {
    flex: 1;
}

.counselor-title {
    font-size: 0.9rem;
    color: #999999;
    line-height: 1.4;
    margin: 0;
}

.counselor-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 6px 0 0;
    color: #999999;
}

.counselor-name span {
    font-size: 0.9rem;
    color: #999999;
    font-weight: normal;
}

.seminar-section {
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
}

.seminar-features-inner {
    max-width: 1200px;
    margin: auto;
}

.seminar-box-inner {
    max-width: 1200px;
}

.seminar-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.seminar-section .label {
    background-color: #5ce0cd;
    color: #fff;
    padding: 10px 90px;
    border-radius: 100px;
    font-size: 3rem;
    display: inline-block;
    white-space: nowrap;
}

.seminar-title {
    font-size: 3rem;
    color: #999;
    margin: 0;
}

.seminar-features {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
}

.seminar-features li {
    margin-bottom: 16px;
}

.seminar-item-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    color: #399b8d;
    font-weight: bold;
}

.seminar-item-inner img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.seminar-box {
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4);
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.seminar-box-heading {
    display: inline-block;
    background-color: #b3b3b3;
    color: #fff;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 10px 60px;
    border-radius: 0 0 8px 8px;
    text-align: center;
    margin-bottom: -1px;
}

.seminar-box-body {
    padding: 60px;
    font-size: 1.6rem;
    color: #999;
    line-height: 1.8;
    text-align: left;
}

.service-info-section {
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    max-width: 1200px;
}

.service-info-inner {
    background: #fff;
    border: 4px solid #66e0cc;
    padding-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
}

.service-info-heading {
    background-color: #66e0cc;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.service-info-contents{
    padding: 1rem;
}
.service-info-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.service-info-card {
    background-color: #fbb03b;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    padding: 20px;
    border-radius: 8px;
    width: 340px;
    text-align: center;
}

.service-info-text {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.service-info-button a {
    background: linear-gradient(to bottom, #fbb03b 0%, #f37600 100%);
    padding: 14px 40px;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    text-decoration: none;
    display: inline-block;
}

.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;
    }

    .concern-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 24px;
    }

    :root {
        --arrow-width: 10vh;
        --arrow-height: 2vh;
    }
    .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-image {
        padding-top: 30px;
    }

    .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;
    }
}
