/* 目次削除 */
#main_content .p-toc {
    display: none;
}

/* 全体調整 */
.post_content h2 {
    letter-spacing: 2px;
    font-size: clamp(16px, 3vw, 20px) !important;
}

.post_content p,
dd.patient-qa__a {
    font-size: clamp(14px, 2.5vw, 18px);
    letter-spacing: 1px;
}

dt.patient-qa__q {
    font-size: clamp(16px, 3vw, 20px);
    letter-spacing: 1px;
}

/* 症例画像およびテキスト */
.post_content .case_photos h2 {
    background: #023892 !important;
    color: white !important;
    padding: .75rem 0 !important;
    margin: 0 0 1rem;
}

.case_photos p {
    padding: .75rem 1rem;
}

.case_image {
    display: flex;
    gap: 1%;
}

.case_image figure {
    position: relative;
}

.case_image figcaption {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #023892;
    color: #fff;
    font-size: clamp(12px, 2.5vw, 16px);
    padding: 4px 8px;
    z-index: 1;
    letter-spacing: 1px;
}

.case_image img {
    display: block;
}

/* 症例概要 */
.post_content .case_overview h2 {
    background: #023892 !important;
    color: white !important;
    padding: .75rem 0 !important;
    margin: 4em 0 1rem;
}

.case_overview table {
    font-size: clamp(14px, 2.5vw, 18px);
}

.case_overview table tr th {
    position: relative;
    padding: 1rem 0 .75rem 0;
    padding-left: calc(clamp(14px, 2.5vw, 18px) + 1rem);
}

.case_overview table tr td {
    position: relative;
    padding: 1rem 0 .75rem 1rem;
}

.case_overview table tr:nth-of-type(1) th:before,
.case_overview table tr:nth-of-type(2) th:before,
.case_overview table tr:nth-of-type(3) th:before,
.case_overview table tr:nth-of-type(4) th:before {
    position: absolute;
    content: "";
    display: inline-block;
    width: clamp(14px, 2.5vw, 18px);
    height: clamp(14px, 2.5vw, 18px);
    top: 50%;
    transform: translateY(-50%);
    left: .75rem;
}

.case_overview table tr:nth-of-type(1) th:before {
    background: url(/wp-content/uploads/2026/01/luce-plan-icon.png) center / contain no-repeat;
}

.case_overview table tr:nth-of-type(2) th:before {
    background: url(/wp-content/uploads/2026/01/luce-tooth-icon.png) center / contain no-repeat;
}

.case_overview table tr:nth-of-type(3) th:before {
    background: url(/wp-content/uploads/2026/01/luce-calendar-icon.png) center / contain no-repeat;
}

.case_overview table tr:nth-of-type(4) th:before {
    background: url(/wp-content/uploads/2026/01/luce-yen-icon.png) center / contain no-repeat;
}

/* 特記事項 */
.post_content .special_notes_wrap h2 {
    background: #023892 !important;
    color: white !important;
    padding: .75rem 0 !important;
    margin-bottom: 0 !important;
}

.special_note_item_wrap {
    border: 1px solid #023892;
    padding: 1rem;
}

.special_note_item h3 {
    font-size: 1.125rem;
    border-left: 4px solid #023892;
    padding: .25rem 0 .25rem .5rem;
    margin: 2rem 0 1rem;
}

.special_note_item_wrap p {
    padding: .25rem .75rem;
}

.special_note_item_wrap p.about_ipr {
    font-size: clamp(12px, 2vw, 14px);
    color: #c30d23;
}

.special_note_item_wrap p:first-child {
    margin-top: 1rem !important;
}

.special_note_item h3:before {
    display: none;
}

.special_note_item ul {
    padding-left: 2.25rem;
}

.special_note_item ul li {
    margin-bottom: .75rem;
}

/* 患者様の声 */
.post_content .voice_wrap h2 {
    background: #023892 !important;
    color: white !important;
    padding: .75rem 0 !important;
    margin-bottom: 0 !important;
}

.patient-qa {
    border: 1px solid #023892;
    padding: 2rem 1.5rem;
}

.patient-qa__item {
    margin: 2rem 0 1rem;
}

.patient-qa__item:first-child {
    margin-top: 1rem;
}

.patient-qa__q:before {
    content: "Q.";
    margin-right: 4px;
}

.patient-qa__a:before {
    content: "A.";
    margin-right: 4px;
}

.patient-qa__a {
    margin: .25rem 0 2rem;
}

.patient-qa__a:last-child {
    margin-bottom: 0;
}

/**/
@media (max-width: 959px) {
    .case_image {
        display: block;
        /* gap:1%; */
    }

    .case_image_before {
        margin-bottom: 1rem;
    }

}

@media (max-width: 599px) {
    .special_note_item ul {
        padding-left: 1.75rem;
    }

    .case_overview table tr th {
        padding: .75rem 0 .75rem 0;
        padding-left: calc(clamp(14px, 2.5vw, 18px) + 1rem);
    }

    .case_overview table tr td {
        padding: .75rem 0 .75rem 1rem;
    }

}

.wp-block-table td,
.wp-block-table th {
    line-height: 1.0;
}