.header-consult-btn {
    background: #ff5722;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.2);
    white-space: nowrap;
}

.header-consult-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #fff;
}

/* Mobile menu adjust */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .header-consult-btn {
        display: none;
    }
}

.consult-hero-new {
    position: relative;
    /* ご提示いただいた画像を背景として使用 */
    background-image: url('image/consult/hero-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 6rem 2rem 7rem;
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consult-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.consult-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #333;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .consult-hero-title {
        font-size: 1.8rem;
    }

    .consult-hero-new {
        background-image: url('image/consult/hero-bg-sp.png');
        padding: 4rem 1rem 5rem;
        border-radius: 20px;
    }
}

.consult-hero-title .highlight {
    color: #ff6b00;
    display: inline-block;
    position: relative;
}

.decorative-sparkle {
    position: absolute;
    color: #8bc34a;
    font-size: 1.5rem;
    font-weight: normal;
}

.consult-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .consult-hero-subtitle {
        font-size: 1.1rem;
    }
}

.consult-hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.consult-hero-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.consult-hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: linear-gradient(90deg, #ff7a45 0%, #ff5722 100%);
    color: #fff;
    padding: 1.2rem 3.5rem;
    border-radius: 60px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 360px;
}

@media (max-width: 768px) {
    .consult-hero-btn {
        min-width: 100%;
        padding: 1rem 2rem;
    }
}

.consult-hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 87, 34, 0.4);
    color: #fff;
}

.consult-hero-btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
}

.consult-hero-btn-main {
    font-size: 1.4rem;
    font-weight: 800;
}

.consult-hero-btn-sub {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
}

.consult-hero-btn i {
    width: 24px;
    height: 24px;
}

.consult-section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title.line-green::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 6px;
    background: url('data:image/svg+xml;utf8,<svg preserveAspectRatio="none" viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 50 10 100 5" stroke="%238bc34a" stroke-width="4" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    background-size: 100% 100%;
}

.section-title.line-orange::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 6px;
    background: url('data:image/svg+xml;utf8,<svg preserveAspectRatio="none" viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 50 10 100 5" stroke="%23ff9800" stroke-width="4" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    background-size: 100% 100%;
}


/* 共感セクション */
.empathy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.empathy-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.empathy-card:hover {
    transform: translateY(-4px);
}

.empathy-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empathy-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.empathy-card p {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    margin: 0;
}


/* メリットセクション */
.merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.merit-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.merit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.merit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.merit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.merit-img {
    width: 120%;
    height: auto;
    object-fit: contain;
}

.merit-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.merit-desc {
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: calc(56px + 1rem);
    /* Aligns with title */
}

.merit-ill {
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.merit-ill img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

/* Card Specific Colors */
.card-green {
    border-color: #f1f8e9;
    background: linear-gradient(to bottom, #fcfdfa 0%, #ffffff 100%);
}

.card-green .merit-title {
    color: #558b2f;
}

.card-orange {
    border-color: #fff3e0;
    background: linear-gradient(to bottom, #fffdfa 0%, #ffffff 100%);
}

.card-orange .merit-title {
    color: #f4511e;
}

.card-blue {
    border-color: #e3f2fd;
    background: linear-gradient(to bottom, #fafcff 0%, #ffffff 100%);
}

.card-blue .merit-title {
    color: #1976d2;
}

/* ステップセクション */
.step-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 1rem;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .step-horizontal {
        flex-direction: column;
        gap: 3rem;
    }
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.step-ill-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    left: -45px;
    /* Moves number to the left without affecting wrapper width */
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-item:nth-child(1) .step-number,
.step-item:nth-child(4) .step-number {
    background: #8bc34a;
}

.step-item:nth-child(2) .step-number {
    background: #ff9800;
}

.step-item:nth-child(3) .step-number {
    background: #42a5f5;
}

.step-ill {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-ill img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-desc {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}



/* FAQセクション */

.faq-item {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    cursor: pointer;
    justify-content: space-between;
}

.faq-q-left {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.faq-q-left span {
    color: #8bc34a;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
}

.faq-q-left h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: #333;
}

.faq-a {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.faq-a span {
    color: #ff9800;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
}

.faq-a p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}


/* フォームセクション */
.form-wrapper {
    background: linear-gradient(135deg, #fffcf8 0%, #fff3e6 100%);
    border-radius: 30px;
    padding: 3rem 3rem 4rem 3rem;
    /* Reduced bottom padding */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #ffe0b2;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
}

.badge-req {
    background: #ffebee;
    color: #d32f2f;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.badge-opt {
    background: #f5f5f5;
    color: #757575;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.form-input {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #ff9800;
    outline: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.form-submit-btn {
    background: linear-gradient(90deg, #ff8a65 0%, #ff5722 100%);
    color: #fff;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 400px;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 87, 34, 0.4);
}

.form-submit-wrapper {
    display: flex;
    justify-content: center;
}

.coordinator-section {
    margin-bottom: 5rem;
    background: transparent !important;
}

.coordinator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.coordinator-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.coordinator-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.coordinator-info {
    display: flex;
    flex-direction: column;
}

.coordinator-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.coordinator-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coordinator-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.2rem;
}

.coordinator-role {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.coordinator-desc {
    font-size: 0.85rem;
    color: #333;
    font-weight: 700;
}

.coordinator-specialty {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    width: 100%;
    text-align: left;
}

.specialty-label {
    background: #8bc34a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
    margin-top: 0.1rem;
}

.specialty-text {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}


.step-arrow-img {
    position: absolute;
    top: 70px;
    /* Adjust to perfectly center with the 120px tall illustration */
    width: 60px;
    /* make arrow a bit larger */
    height: auto;
    z-index: 1;
}

.step-arrow-img.arr1 {
    left: calc(25% - 52px);
}

.step-arrow-img.arr2 {
    left: calc(50% - 52px);
}

.step-arrow-img.arr3 {
    left: calc(75% - 52px);
}

@media (max-width: 768px) {
    .step-arrow-img {
        display: none;
    }
}

.faq-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 2;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq-illustration {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    margin-bottom: -1rem;
}

.faq-illustration img {
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
        align-items: center;
    }

    .faq-illustration {
        width: 100%;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 0;
    }
}

.title-decoration-right {
    position: absolute;
    top: -15px;
    right: -35px;
    width: 30px;
    height: auto;
}

.title-decoration-left {
    position: absolute;
    top: -15px;
    left: -35px;
    width: 30px;
    height: auto;
}

@media (max-width: 768px) {

    .title-decoration-right,
    .title-decoration-left {
        width: 24px;
        top: -10px;
    }

    .title-decoration-right {
        right: -25px;
    }

    .title-decoration-left {
        left: -25px;
    }
}

.form-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 6px;
    background: url('data:image/svg+xml;utf8,<svg preserveAspectRatio="none" viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 50 10 100 5" stroke="%2342a5f5" stroke-width="4" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    background-size: 100% 100%;
}

/* フォームとバナーの隙間調整 */
#consult-form {
    margin-bottom: 0;
}
.bottom-cta-section {
    padding-top: 2rem !important;
}