/* 基本設定 */
:root {
    --color-blue: #00aeef;
    --color-light-green: #8cc63f;
    --color-green: #00ab4e;
    --color-dark-green: #00767a;
    --color-gray-bg: #c9caca;
    --color-border: #595857;
}

.bg-blue { background-color: var(--color-blue) !important; }
.bg-light-green { background-color: var(--color-light-green) !important; }
.bg-green { background-color: var(--color-green) !important; }
.bg-dark-green { background-color: var(--color-dark-green) !important; }
.bg-gray { background-color: var(--color-gray-bg) !important; }

.section-title-wrapper {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

h2.section-title-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 20px !important; 
    padding-right: 20px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.container-card,
.container-introduction,
.container-table {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 45px; 
    padding-right: 45px;
    box-sizing: border-box;
}

/* --- 4つのサポートアクション（カードセクション） --- */
.container-card {
    margin-top: 40px;
    margin-bottom: 40px;
}

.expert-card {
    display: flex;
    background-color: #fff;
    margin-bottom: 50px;
    border: 1.5px solid var(--color-border);
    box-shadow: 12px 12px 0px var(--color-border);
}

/* 左側の水色エリア */
.expert-info {
    flex: 0 0 260px;
    background-color: #a0d8ef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    color: #fff;
    border-right: 1.5px solid var(--color-border);
}

.expert-image {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expert-image img {
    width: 75%;
    height: auto;
}

.expert-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.expert-subtitle {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 右側の説明エリア */
.profile-text {
    flex: 1;
    padding: 40px;
}

.profile-text h4 {
    font-size: 1.2rem;
    font-weight: bold;
    border-left: 5px solid var(--color-border);
    padding-left: 15px;
    margin-bottom: 20px;
    color: #333;
}

.profile-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

#training, 
#consulting, 
#emergency, 
#support {
    scroll-margin-top: 200px !important;
}

/* --- 各プランのご紹介（リストセクション） --- */
.container-introduction {
    margin-top: 60px;
    margin-bottom: 60px;
}

.plan-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.plan-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: 5px;
}

.plan-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.plan-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.note {
    font-weight: bold;
    margin-top: 40px;
    text-align: center;
}

/* --- マトリックス表（比較表セクション） --- */
.container-table {
    margin-top: 60px;
    margin-bottom: 60px;
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    min-width: 850px;
    border-collapse: separate;
    border-spacing: 6px 0;
    table-layout: fixed;
}

.custom-table th:first-child { width: 16%; }
.custom-table th:not(:first-child) { width: 21%; }

.table-note {
    font-size: 0.85rem;
    color: #555;
    margin-top: 15px;
    text-align: left;
    line-height: 1.5;
}

/* ヘッダー・ボディの見出し共通設定 */
.custom-table thead th,
.custom-table tbody th {
    vertical-align: middle;
    text-align: center;
}

/* ヘッダーの設定 */
.custom-table thead th {
    color: #fff;
    padding: 15px 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ボディの設定 */
.custom-table tbody th {
    background-color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

.custom-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 20px 10px;
    font-size: 0.95rem;
    background-color: #fff;
    border-bottom: 2px solid #fff;
}

/* グレー背景の行指定 */
.custom-table tr.bg-gray td,
.custom-table tr.bg-gray th {
    background-color: var(--color-gray-bg) !important;
}

.custom-table td span,
.custom-table td small {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    line-height: 1.3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .expert-card {
        flex-direction: column;
    }
    .expert-info {
        flex: 0 0 auto;
        width: 100%;
        border-right: none;
        border-bottom: 1.5px solid var(--color-border);
        padding: 30px 10px;
        box-sizing: border-box;
    }
    .plan-item {
        flex-direction: row; /* リストは横並びを維持（アイコンが左） */
    }
    .table-note {
        font-size: 0.8rem;
        padding: 0 5px;
    }
}
