@charset "utf-8";

/* ==========================================
   インプラントページ 基本設定
   ========================================== */
.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.implant-sub-mv__title,
.implant-title,
.implant-card h3,
.implant-flow-item h3,
.implant-lead,
.implant-faq-item summary {
    font-family: "Noto Serif JP", serif;
}

/* ==========================================
   下層メインビジュアル
   ========================================== */
.sub-mv {
    width: 100%;
    height: 180px;
    background: url('https://hata-shika.com/wp-content/uploads/2026/05/bg.png') no-repeat center 70% / cover;
    background-color: #556b2f;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.implant-sub-mv::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.implant-sub-mv__title {
    position: relative;
    color: #fff;
    font-size: 1.5rem;
    z-index: 1;
}

/* ==========================================
   コンテンツ共通
   ========================================== */
.implant-content {
    padding: 30px 15px 60px;
}

.implant-content section {
    box-sizing: border-box;
}

.implant-title {
    background-color: #556b2f;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    font-size: 1.3rem;
    margin: 0 0 25px;
    line-height: 1.5;
}

.implant-lead {
    text-align: left;
    margin: 0 0 40px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.8;
}

.implant-lead--last {
    margin-top: 30px;
    margin-bottom: 0;
}

.implant-intro,
.implant-worries,
.implant-compare,
.implant-features,
.implant-price,
.implant-risk,
.implant-flow,
.implant-faq,
.implant-outro {
    margin-bottom: 60px;
}

/* ==========================================
   お悩みチェックリスト
   ========================================== */
.implant-check-box {
    background: #ffffff;
    border: 1px solid #e6e0cf;
    padding: 28px;
    margin: -10px 0 35px;
}

.implant-check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.implant-check-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #444;
	font-weight: 600;
}

.implant-check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #556b2f;
}

/* ==========================================
   比較表
   ========================================== */
.implant-compare-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: -10px auto 35px;
}

.implant-compare-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.92rem;
}

.implant-compare-table th,
.implant-compare-table td {
    border: 1px solid #ddd;
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.implant-compare-table thead th {
    background: #A4B373;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.implant-compare-table tbody th {
    width: 16%;
    background: #fbfaf5;
    color: #333;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.implant-compare-table td {
    width: 28%;
    color: #444;
}

.implant-compare-table img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.implant-compare-table ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.implant-compare-table li {
    position: relative;
    padding-left: 1.1em;
    margin-bottom: 0.45em;
}

.implant-compare-table li:last-child {
    margin-bottom: 0;
}

.implant-compare-table li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: #556b2f;
}

/* ==========================================
   H3カード
   ========================================== */
.implant-card {
    margin-bottom: 50px;
    background: #fff;
    padding: 25px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.implant-card h3 {
    font-size: 1.15rem;
    color: #556b2f;
    margin: 0 0 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: bold;
    position: relative;
    line-height: 1.4;
}

.implant-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #556b2f;
}

.implant-card__flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.implant-card__img {
    flex: 0 0 42%;
    margin: 0;
    overflow: hidden;
}

.implant-card__img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.implant-card__text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-top: -4px;
}

.implant-card__text p {
    margin: 0;
}

/* PCホバー */
@media (min-width: 769px) {
    .implant-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .implant-card:hover .implant-card__img img {
        transform: scale(1.05);
    }
}

/* ==========================================
   費用表
   ========================================== */
.implant-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 14px;
}

.implant-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: #fff;
    font-size: 0.95rem;
}

.implant-table th,
.implant-table td {
    border: 1px solid #ddd;
    padding: 14px 12px;
    text-align: center;
    line-height: 1.6;
}

.implant-table thead th {
    background: #A4B373;
    color: #fff;
    font-weight: bold;
}

.implant-table tbody th {
    background: #fbfaf5;
    color: #333;
    font-weight: bold;
    text-align: left;
}

.implant-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   費用表 SP版：横スクロール解除・縦型表示
   ========================================== */
@media (max-width: 768px) {
    .implant-table-wrap {
        overflow-x: visible;
    }

    .implant-table {
        min-width: 0;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 18px;
        background: transparent;
        font-size: 0.9rem;
    }

    .implant-table thead {
        display: none;
    }

    .implant-table tbody,
    .implant-table tr,
    .implant-table th,
    .implant-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .implant-table tbody tr {
        background: #fff;
        border: 1px solid #d6cfbcaa;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .implant-table tbody th {
        background: #A4B373;
        color: #fff;
        text-align: center;
        font-size: 1rem;
        line-height: 1.6;
        padding: 13px 12px;
        border: none;
    }

    .implant-table tbody td {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 14px;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: right;
        color: #444;
        line-height: 1.6;
    }

    .implant-table tbody td:last-child {
        border-bottom: none;
    }

    .implant-table tbody td::before {
        flex: 0 0 auto;
        color: #556b2f;
        font-weight: bold;
        text-align: left;
    }

    .implant-table tbody td:nth-of-type(1)::before {
        content: "治療期間目安";
    }

    .implant-table tbody td:nth-of-type(2)::before {
        content: "治療回数目安";
    }

    .implant-table tbody td:nth-of-type(3)::before {
        content: "費用";
    }

    .implant-note {
        margin-top: 8px;
    }
}

/* ==========================================
   リスク・副作用
   ========================================== */
.implant-note-box {
    background: #ffffff;
    border-left: 5px solid #A4B373;
    padding: 25px;
}

.implant-note-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
}

/* ==========================================
   治療の流れ
   ========================================== */
.implant-flow-list {
    counter-reset: flow-number;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.implant-flow-item {
    position: relative;
    counter-increment: flow-number;
    background: #fff;
    border: 1px solid #e6e0cf;
    padding: 24px 24px 24px 86px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.implant-flow-item::before {
    content: counter(flow-number, decimal-leading-zero);
    position: absolute;
    left: 24px;
    top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #A4B373;
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.implant-flow-item h3 {
    color: #556b2f;
    font-size: 1.12rem;
    line-height: 1.5;
    margin: 0 0 12px;
    font-weight: bold;
}

.implant-flow-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================
   FAQ
   ========================================== */
.implant-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.implant-faq-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.implant-faq-item summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 18px 52px 18px 22px;
    color: #556b2f;
    font-weight: bold;
    line-height: 1.6;
}

.implant-faq-item summary::-webkit-details-marker {
    display: none;
}

.implant-faq-item summary::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-right: 10px;
    background: #556b2f;
    color: #fff;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
    vertical-align: middle;
}

.implant-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #556b2f;
    line-height: 1;
}

.implant-faq-item[open] summary::after {
    content: "−";
}

.implant-faq-answer {
    padding: 0 22px 22px;
}

.implant-faq-answer p {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================
   予約ボタン
   ========================================== */
.btn-wrap {
    text-align: center;
    margin: 40px 0;
}

.btn-common {
    display: inline-block;
    background: rgba(153, 9, 0, 0.8);
    color: #fff;
    padding: 15px 60px;
    text-decoration: none;
    box-shadow: 0 3px 5px rgba(195, 186, 186, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-common:hover {
    opacity: 0.8;
    box-shadow: 0 6px 12px rgba(0,0,0,.25);
    transform: translateY(-2px);
    color: #fff;
}

.btn-common:active {
    transform: translateY(2px);
    color: #fff;
}

/* ==========================================
   PC版設定
   ========================================== */
@media (min-width: 769px) {
    .implant-sub-mv {
        height: 300px;
    }

    .implant-sub-mv__title {
        font-size: 2.2rem;
    }

    .implant-content {
        padding: 60px 0 100px;
    }

    .implant-title {
        font-size: 1.8rem;
        padding: 15px;
        margin-bottom: 50px;
    }

    .implant-card h3,
    .implant-flow-item h3 {
        font-size: 1.3rem;
    }
}

/* ==========================================
   SP版設定
   ========================================== */
@media (max-width: 768px) {
    .implant-content {
        padding: 30px 15px 60px;
    }

    .implant-lead {
        text-align: left;
    }

    .implant-card {
        padding: 22px 18px;
        margin-bottom: 38px;
    }

    .implant-card__flex {
        flex-direction: column;
        gap: 20px;
    }

    .implant-card__img {
        width: 100%;
        flex: none;
        margin-bottom: 5px;
    }

    .implant-card__text {
        margin-top: 0;
    }

    .implant-check-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .implant-check-box {
        padding: 22px 18px;
    }

    .implant-compare-table {
        min-width: 345px;
		margin: 0 auto;
        font-size: 0.86rem;
    }

    .implant-compare-table th,
    .implant-compare-table td {
        padding: 12px 10px;
		font-size: 12px;
    }
	
	.implant-compare-table ul li{
		font-size:12px;
	}
	
    .implant-flow-item {
        padding: 76px 18px 22px;
    }

    .implant-flow-item::before {
        left: 18px;
        top: 20px;
    }

    .implant-faq-item summary {
        padding: 16px 46px 16px 16px;
    }

    .implant-faq-answer {
        padding: 0 16px 18px;
    }

    .btn-common {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        box-sizing: border-box;
    }
}

/* ==========================================
   偶数セクション背景：横幅いっぱい
   ========================================== */
.implant-worries,
.implant-features,
.implant-risk,
.implant-faq {
    position: relative;
    background: #eee9dcaa;
    padding: 0 28px 38px;
    box-shadow: 0 0 0 100vmax #eee9dcaa;
    clip-path: inset(0 -100vmax);
}

.implant-worries .implant-title,
.implant-features .implant-title,
.implant-risk .implant-title,
.implant-faq .implant-title {
    margin-left: -28px;
    margin-right: -28px;
}

/* SP調整 */
@media (max-width: 768px) {
    .implant-worries,
    .implant-features,
    .implant-risk,
    .implant-faq {
        padding: 0 18px 30px;
    }

    .implant-worries .implant-title,
    .implant-features .implant-title,
    .implant-risk .implant-title,
    .implant-faq .implant-title {
        margin-left: -18px;
        margin-right: -18px;
    }
}