/* serviceprovider.html 専用スタイル */

/* --- アニメーション --- */
.js-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ヒーローセクション --- */


.hero-lead {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* --- コンテンツセクション共通 --- */
.content-section {
    margin-bottom: 60px;
    padding: 32px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* より柔らかい影 */
    border: 1px solid rgba(0,0,0,0.02);
}



.section-subheading {
    text-align: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.subsection-title {
    font-size: 20px;
    color: var(--text-color-dark);
    margin: 48px 0 24px 0;
    padding-left: 12px;
    border-left: 5px solid var(--primary-color);
    line-height: 1.4;
}

.section-text {
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-color);
}
.text-center { text-align: center; }
.text-right { text-align: right; }

.u-desktop-only { display: none; }
@media screen and (min-width: 768px) {
    .u-desktop-only { display: inline; }
}

/* --- メリットカード (Grid) --- */
.merit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.merit-card {
    padding: 32px 24px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.merit-provider {
    background-color: #f0f7ff; /* 薄い青 */
    border: 1px solid #d0e1f7;
}
.merit-user {
    background-color: #f0fdf4; /* 薄い緑 */
    border: 1px solid #d1e7dd;
}

.merit-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.merit-provider .merit-icon-circle { color: var(--primary-color); }
.merit-user .merit-icon-circle { color: var(--secondary-color); }

.merit-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.merit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.merit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-color-dark);
}

.merit-list li i {
    margin-top: 4px;
    flex-shrink: 0;
}
.merit-provider .merit-list li i { color: var(--primary-color); }
.merit-user .merit-list li i { color: var(--secondary-color); }


/* --- Highlight Box --- */
.highlight-box {
    background-color: #fff9db; /* 薄い黄色 */
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 32px;
}

/* --- Reason Grid --- */
.reason-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
}

.reason-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}


.reason-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.reason-card h4 {
    margin: 0 0 10px 0;
    color: var(--text-color-dark);
    font-size: 18px;
}

.reason-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* --- Feature Grid (Modern) --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--white);
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}


.feature-icon {
    font-size: 24px;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.feature-info {
    display: flex;
    flex-direction: column;
}

.feature-info span {
    font-weight: 700;
    color: var(--text-color-dark);
    font-size: 16px;
}

.feature-info small {
    color: #888;
    font-size: 12px;
    margin-top: 2px;
}

/* --- Pro Tip Box (Modern) --- */
.pro-tip {
    background-color: #e8f0fe;
    border-left: 5px solid var(--primary-color);
    padding: 24px;
    border-radius: 8px;
    margin-top: 32px;
}

.pro-tip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pro-tip-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.pro-tip-header h4 {
    margin: 0;
    font-size: 18px;
    color: var(--text-color-dark);
}

.pro-tip-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* --- Action Buttons (Clean) --- */
.action-buttons-wrapper {
    margin-top: 48px;
    text-align: center;
}

.action-buttons-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 16px;
}

.action-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content:center; /* アイコンとテキストを離す */
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-primary { background-color: var(--primary-color); }
.btn-primary:hover { background-color: #7da8e8; }

.btn-secondary { background-color: var(--secondary-color); }
.btn-secondary:hover { background-color: #82b98b; }

.btn-accent { background-color: var(--accent-color); }
.btn-accent:hover { background-color: #e898a8; }

.btn-arrow { font-size: 14px; opacity: 0.8; }

/* --- Checklist (Grid Card Style) --- */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
}

.checklist-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: background-color 0.2s;
}

.checklist-item:hover {
    background-color: #fcfcfc;
    border-color: #ccc;
}

.checklist-icon {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.checklist-item span {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark);
}
.checklist-item small {
    color: var(--text-color);
    font-size: 0.9em;
}

.note {
    font-size: 14px;
    background-color: #fff0f5; /* 薄いピンク背景 */
    color: #c2185b;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.6;
}

/* --- Interview Section (Visual Break) --- */
.interview-cta-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/interview_bg_placeholder.jpg'); /* 背景画像を入れる想定 */
    background-color: #666; /* フォールバック */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 24px;
    text-align: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* 背景画像がない場合のスタイル調整 */
.interview-cta-section {
    background: linear-gradient(135deg, #70757a, #3c4043);
}

.section-heading-interview {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.section-text-interview {
    margin-bottom: 32px;
    color: #e0e0e0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn-large {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--text-color-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s;
}

.cta-btn-large:hover {
    transform: scale(1.05);
    opacity: 1;
}

.cta-btn-large i {
    margin-left: 10px;
    color: var(--primary-color);
}

/* --- Q&A (Refined) --- */
.qa-accordion .qa-item {
    border-bottom: 1px solid var(--border-color);
}

.qa-accordion .accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上揃え */
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    gap: 16px;
}
.qa-accordion .accordion-toggle:hover .qa-q-text {
    color: var(--primary-color);
}

.qa-q-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.qa-q-icon {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
}

.qa-q-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color-dark);
    line-height: 1.5;
    transition: color 0.3s;
}

.accordion-submenu {
    background-color: transparent; /* 背景色なしですっきり */
}

.qa-answer {
    padding: 0 0 32px 32px; /* 左インデント */
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-color);
}

.qa-a-icon {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 2px;
}

.qa-list {
    margin: 8px 0;
    padding-left: 20px;
}
.qa-list li {
    margin-bottom: 4px;
}


/* --- レスポンシブ対応 (Tablet/PC) --- */
@media screen and (min-width: 768px) {
    .merit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reason-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons-container {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-btn {
        min-width: 240px;
        justify-content: center; /* PCでは中央揃えに戻す */
        gap: 12px;
    }
    .action-btn i:first-child {
        margin-right: 0;
    }
}
/* =========================================
   受審事業所アンケート CTA (Call To Action)
   ========================================= */
.survey-cta-section {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4e1 100%); /* やわらかいピンクのグラデーション */
    border: 1px solid rgba(247, 168, 184, 0.3); /* アクセントカラー(ピンク)ベースの枠線 */
    padding: 40px;
}

.survey-cta-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.survey-cta-icon {
    font-size: 56px;
    color: var(--accent-color); /* ピンク色 */
    flex-shrink: 0;
}

.survey-cta-content {
    flex-grow: 1;
}

.survey-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-dark);
    margin: 0 0 12px 0;
}

.survey-cta-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.survey-cta-action {
    flex-shrink: 0;
}

/* アンケート専用ボタン */
.btn-survey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--accent-color); /* 目立つピンク */
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(247, 168, 184, 0.4);
    transition: all 0.3s ease;
}

.btn-survey:hover {
    background-color: #f5879d; /* ホバー時は少し濃く */
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(247, 168, 184, 0.5);
    color: var(--white);
}

/* --- レスポンシブ対応 (タブレット・スマホ用) --- */
@media screen and (max-width: 1023px) {
    .survey-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .survey-cta-icon {
        font-size: 48px;
    }

    .btn-survey {
        width: 100%; /* スマホではボタンを横幅いっぱいに */
        box-sizing: border-box;
    }
}