@charset "utf-8";

/* ==================================================
   1. 全般・汎用装飾
================================================== */
.lead_text {
    font-size: 1.05em;
    line-height: 1.7;
    margin-top: 10px;
}


/* ==================================================
   2. メインアイキャッチ＆概要（hero_intro_card）
================================================== */
.hero_intro_card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%) !important;
    border: 1px solid #cbd5e1 !important;
    border-top: 4px solid #1a365d !important;
    border-radius: 10px !important;
    padding: 24px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero_intro_flex {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

/* 画像エリア */
.hero_img_wrap {
    flex: 0 0 42% !important;
    position: relative !important;
    text-align: center !important;
    background: #ffffff !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
}

.hero_img_wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 4px !important;
}

.img_badge {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    background: rgba(26, 54, 93, 0.85) !important;
    color: #ffffff !important;
    font-size: 0.75em !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    letter-spacing: 0.05em !important;
    font-weight: 500 !important;
    backdrop-filter: blur(4px) !important;
}

/* テキストエリア */
.hero_text_wrap {
    flex: 1 !important;
}

.hero_lead_title {
    font-size: 1.15em !important;
    font-weight: bold !important;
    color: #1a365d !important;
    margin: 0 0 10px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px dashed #cbd5e1 !important;
    line-height: 1.4 !important;
}

.hero_description {
    font-size: 0.95em !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    margin: 0 0 14px 0 !important;
}

/* 真性・偽性バッジ */
.type_badge {
    display: inline-block !important;
    padding: 1px 8px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 0.9em !important;
    margin: 0 2px !important;
    vertical-align: baseline !important;
}

.badge_gisei {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
}

.badge_shin {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.hero_point_tag {
    background: #ffffff !important;
    border: 1px solid #d4b170 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    display: inline-block !important;
}

.hero_point_tag span {
    color: #854d0e !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
}


/* ==================================================
   3. 当院が選ばれる理由（強みカード）
================================================== */
.clinic-strengths {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: sans-serif;
}

.section-title {
    text-align: center;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #111827;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
    line-height: 1.4;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #003366;
}

.strength-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.strength-card {
    display: flex;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.25s ease;
}

.strength-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.strength-number {
    font-size: 1.5em;
    font-weight: 800;
    color: #003366;
    line-height: 1;
    margin-right: 16px;
    padding-top: 2px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    opacity: 0.8;
}

.strength-content h4 {
    font-size: 1.05em;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.strength-content p {
    font-size: 0.875em;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}


/* ==================================================
   4. 真性・偽性 比較カード
================================================== */
.type_compare_container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.type_card {
    flex: 1;
    min-width: 280px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border-left: 5px solid #666;
}

.card_shin { border-left-color: #0066cc; }
.card_gisei { border-left-color: #444444; }

.type_card h4 {
    font-size: 1.05em;
    margin-bottom: 8px;
    color: #222;
}

.type_card p {
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}


/* ==================================================
   5. 原因リスト（.cause_list・親要素からの打ち消し込）
================================================== */
#wrapText ul.cause_list {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
}

#wrapText ul.cause_list > li {
    list-style-type: none !important;
    position: static !important;
    background: #f9f9f9 !important;
    border: 1px solid #e5e5e5 !important;
    padding: 12px 15px !important;
    margin-bottom: 8px !important;
    border-radius: 4px !important;
    font-size: 0.95em !important;
    line-height: 1.5 !important;
}

#wrapText ul.cause_list > li:before,
#wrapText ul.cause_list > li:after {
    display: none !important;
    content: none !important;
}


/* ==================================================
   6. 他院比較表＆各種ポイントボックス
================================================== */
.compare_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
}

.compare_table th, 
.compare_table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.compare_table thead th {
    background: #eee;
    font-weight: bold;
}

.compare_table thead th.highlight {
    background: #1a365d;
    color: #fff;
}

.compare_table tbody th {
    background: #f4f4f4;
    width: 20%;
    font-weight: normal;
}

.compare_table td.highlight {
    background: #f0f4f8;
    border: 2px solid #1a365d;
}

.point_box_blue {
    background: #ebf8ff;
    border: 1px solid #3182ce;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.box_pathology {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    padding: 15px;
}


/* ==================================================
   7. 手術フロー・ステップ構造
================================================== */
.flow_step_container {
    margin-top: 15px;
}

.step_box {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 15px;
}

.step_header {
    background: #333;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 0.95em;
}

.step_body {
    padding: 15px;
}

.step_body p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.6;
}


/* ==================================================
   8. 担当医師紹介セクション＆H3見出しデザイン
================================================== */
#wrapText .doctor_profile_box h3,
.doctor_profile_box h3 {
    position: relative !important;
    display: block !important;
    margin: 0 0 20px 0 !important;
    padding: 12px 15px 12px 20px !important;
    background: #1a365d !important;
    color: #ffffff !important;
    font-size: 1.15em !important;
    font-weight: bold !important;
    text-align: left !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    letter-spacing: 0.05em !important;
}

#wrapText .doctor_profile_box h3::before,
.doctor_profile_box h3::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 6px !important;
    height: 100% !important;
    background: #d4b170 !important;
    border-radius: 4px 0 0 4px !important;
    display: block !important;
}

#wrapText .doctor_profile_box h3::after,
.doctor_profile_box h3::after {
    display: none !important;
    content: none !important;
}

.doctor_profile_box {
    background: #ffffff !important;
    border: 1px solid #dcdfe6 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.doctor_flex_container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.doctor_img {
    flex: 0 0 180px;
}

.doctor_img img {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.doctor_info {
    flex: 1;
}

.doctor_title {
    font-size: 0.85em;
    color: #64748b;
    margin: 0;
}

.doctor_name {
    font-size: 1.3em;
    font-weight: bold;
    color: #1a365d;
    margin: 4px 0 12px 0;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
}

#wrapText ul.doctor_qual_list {
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
}

#wrapText ul.doctor_qual_list > li {
    list-style-type: none !important;
    position: relative !important;
    padding-left: 16px !important;
    margin-bottom: 4px !important;
    font-size: 0.88em !important;
    color: #475569 !important;
    line-height: 1.5 !important;
}

#wrapText ul.doctor_qual_list > li::after {
    display: none !important;
    content: none !important;
}

#wrapText ul.doctor_qual_list > li::before {
    content: "・" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    color: #d4b170 !important;
    font-weight: bold !important;
}

.doctor_message {
    background: #f8fafc;
    border-left: 3px solid #1a365d;
    padding: 12px 15px;
    line-height: 1.6;
    border-radius: 0 6px 6px 0;
    color: #334155;
}


/* ==================================================
   9. スマホ表示（レスポンシブ）一括調整
================================================== */
@media (min-width: 768px) {
    .strength-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* ヒーローカード */
    .hero_intro_card {
        padding: 16px !important;
    }
    .hero_intro_flex {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .hero_img_wrap {
        flex: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hero_lead_title {
        font-size: 1.05em !important;
    }
    .hero_description {
        font-size: 0.9em !important;
    }

    /* コンテンツ・比較・テーブル */
    .reasons_box {
        padding: 15px 10px;
    }
    .type_compare_container {
        flex-direction: column;
    }
    .compare_table {
        font-size: 0.8em;
    }
    .compare_table th, 
    .compare_table td {
        padding: 6px 4px;
    }

    /* 医師紹介 */
    .doctor_profile_box {
        padding: 15px 12px !important;
    }
    #wrapText .doctor_profile_box h3,
    .doctor_profile_box h3 {
        font-size: 1.05em !important;
        padding: 10px 12px 10px 16px !important;
    }
    .doctor_flex_container {
        flex-direction: column;
        align-items: center;
    }
    .doctor_img {
        flex: auto;
        width: 150px;
    }
}