@charset "utf-8";

/* ==================================================
   1. メインビジュアル（FV）＆ CTAボタン
================================================== */
.hero {
    background: linear-gradient(135deg, #1a2b4c 0%, #2a4374 100%);
    color: #ffffff;
    padding: 60px 30px;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    background-color: #c5a059;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
    padding: 4px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2em;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.hero p {
    font-size: 1em;
    color: #e0e6ed;
    margin-bottom: 30px;
    text-align: center;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.95em;
}

/* CTAボタン */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-gold {
    background-color: #c5a059;
    color: #ffffff !important;
}

.btn-gold:hover {
    background-color: #b08c46;
}

.btn-green {
    background-color: #2e7d32;
    color: #ffffff !important;
}

.btn-green:hover {
    background-color: #1b5e20;
}


/* ==================================================
   2. 当院が選ばれる理由（強みカード）
================================================== */
.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;
}


/* ==================================================
   3. オールインワンセクション＆比較テーブル
================================================== */
.allinone-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: sans-serif;
}

.allinone-lead {
    background-color: #f0f4f8;
    border-left: 4px solid #0f2b48;
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
}

.allinone-lead h3 {
    margin: 0 0 12px 0;
    font-size: 1.15em;
    color: #0f2b48;
    font-weight: 700;
}

.allinone-lead p {
    margin: 0 0 8px 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #333333;
}

.allinone-lead p:last-child {
    margin-bottom: 0;
}

.allinone-lead b {
    color: #c0262d;
}

/* テーブルスタイル（PC基本） */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 16px;
}

.allinone-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.allinone-table th {
    background-color: #0f2b48;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    border: 1px solid #0f2b48;
}

.allinone-table td {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    line-height: 1.5;
    vertical-align: top;
}

.allinone-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.allinone-table .item-name {
    font-weight: 700;
    color: #1e293b;
    background-color: #f1f5f9;
    white-space: nowrap;
}

.allinone-note {
    font-size: 0.85em;
    color: #64748b;
    line-height: 1.5;
    margin-top: 8px;
}


/* ==================================================
   4. アコーディオンエリア
================================================== */
.allinone-details {
    margin-top: 32px;
}

.details-heading {
    font-size: 1.1em;
    font-weight: 700;
    color: #0f2b48;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 4px solid #0f2b48;
}

.detail-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.detail-item[open] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.detail-item summary {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.95em;
    color: #1e293b;
    cursor: pointer;
    background-color: #f8fafc;
    position: relative;
    list-style: none;
}

.detail-item summary::-webkit-details-marker {
    display: none;
}

.detail-item summary::after {
    content: '＋';
    position: absolute;
    right: 16px;
    color: #0f2b48;
    font-weight: bold;
}

.detail-item[open] summary::after {
    content: '－';
}

.detail-content {
    padding: 16px;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.detail-content p {
    margin: 0;
    font-size: 0.875em;
    line-height: 1.6;
    color: #475569;
}


/* ==================================================
   5. 担当医師紹介セクション
================================================== */
#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;
}


/* ==================================================
   6. スマホ表示（レスポンシブ）一括調整
================================================== */
@media (min-width: 768px) {
    .strength-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* 比較テーブルのカード化変換 */
    .allinone-table, 
    .allinone-table thead, 
    .allinone-table tbody, 
    .allinone-table th, 
    .allinone-table td, 
    .allinone-table tr { 
        display: block; 
    }

    .allinone-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .allinone-table tr {
        margin-bottom: 20px;
        border: 2px solid #1a365d;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .allinone-table td.item-name {
        background-color: #1a365d;
        color: #fff;
        font-weight: bold;
        font-size: 1.1em;
        text-align: center;
        border: none;
        padding: 12px;
        white-space: normal;
    }

    .allinone-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .allinone-table td:last-child {
        border-bottom: none;
        background-color: #fff9f9;
    }

    .allinone-table td:not(.item-name)::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        font-size: 0.8em;
        color: #666;
        margin-bottom: 4px;
    }

    .allinone-table td:last-child::before {
        color: #c53030;
    }

    /* 医師紹介 */
    .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;
    }
}