/* --------------------------------
Page Main Visual (下層MV共通)
-------------------------------- */
.p_mv {
    position: relative;
    width: 100%;
    margin-top: -160px;
    z-index: 1;
    min-height: 450px;
    background-color: #fff;
}
.p_mv picture,
.p_mv img {
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: block;
    width: 100%;
    height: auto;
}
.pt0 {
    padding-top: 0 !important;
}
.pb100{padding-bottom: 100px !important;}
.tc {
    text-align: center;
}
.sp-br {
    display: none;
}

/* ===========================
    下層ページ MV タイトル共通（左寄せ完全固定）
   =========================== */
.page-ttl {
    position: absolute;
    top: 250px;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
    transform: none !important;
}
.p-ttl-inner {
    position: relative;
    display: block !important;
    max-width: 1200px;
    margin: 0 auto !important;
    padding-left: 100px;
    text-align: left !important;
    transform: none !important;
    top: auto !important;
    left: 0 !important;
}
.p-ttl-inner h2 {
    writing-mode: horizontal-tb !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    margin: 0;
    line-height: 1.2 !important;
}
.p-ttl-inner .en {
    font-size: 1rem;
    color: #87cddf;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
    text-align: left;
}
.p-ttl-inner .jp {
    font-size: 2.2rem;
    color: #002b45;
    font-weight: 700;
    margin: 0;
    position: relative;
    line-height: 1.2;
    text-align: left;
}
.p-ttl-inner .ttl-bg {
    position: absolute;
    top: -120px;
    left: 80px;
    transform: none !important;
    font-size: 8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #d5e8f4;
    opacity: 0.3;
    z-index: -1;
    white-space: nowrap;
    font-family: "M PLUS Rounded 1c", sans-serif;
    display: block !important;
}
.p-ttl-inner .jp::after {
    content: "";
    position: absolute;
    top: 80%;
    left: 0;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    background: rgb(255 226 241 / 46%);
    border-radius: 50%;
    z-index: -1;
    margin-left: 30px;
}
.p-ttl-inner .jp::before {
    display: none !important;
}
/* ===========================
    コンテンツエリア・その他パーツ
   =========================== */
.page-contents-wrap {
    width: 100%;
    background-color: #ecf5fa;
    padding: 60px 0;
}
.page-contents-box {
    width: 80%;
    margin: 60px auto;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.8);
}
.contents-inner {
    display: flex;
    padding: 40px 20px;
    justify-content: space-evenly;
}
.page-contents-inner {
    width: 30%;
}
.page-contents-item {
    width: 65%;
}
.page-contents-inner h3.page-contents-ttl {
    font-family: "M PLUS Rounded 1c";
    font-size: 24px;
    line-height: 1.3;
    margin: 30px auto;
    position: relative;
    z-index: 10;
    text-align: center;
}
.page-contents-ttl .en {
    display: block;
    font-size: 0.7em;
    color: #87cddf;
}
.page-contents-ttl .jp {
    display: block;
    font-size: 1.6rem;
    color: #002b45;
    font-weight: 600;
}
.page-contents-ttl .jp::before {
    content: "";
    position: absolute;
    bottom: -110px;
    left: 124px;
    width: 100px;
    height: 100px;
    background: rgba(213, 232, 244, 0.20);
    border-radius: 50%;
    z-index: -1;
}
.page-contents-ttl .jp::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 28%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: rgb(255 226 241 / 46%);
    border-radius: 50%;
    z-index: -1;
}
.contents-menu-ttl {
    font-size: 20px;
    font-family: "Noto Sans JP", sans-serif;
    color: #00406c;
    font-weight: 400;
    margin-top: 10px;
}
.page-contents-item p {
    line-height: 2;
    font-size: 1em;
    padding: 0 0 20px 0;
}
.art-ttl {
    position: relative;
    text-align: center;
    margin: 60px auto;
    max-width: 400px;
}
.art-ttl h3.art-ttl-01 {
    position: relative;
    display: inline-block;
    color: #004a71;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    z-index: 2;
}
.art-ttl::before,
.art-ttl::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.25;
}
.art-ttl::before {
    width: 50px;
    height: 50px;
    background: #f9b3d0;
    top: 50%;
    left: calc(50% - 110px);
    transform: translateY(-50%);
    box-shadow: 20px 20px 0 -10px #d4edf3;
}
.art-ttl::after {
    width: 50px;
    height: 50px;
    background: #f9b3d0;
    top: 50%;
    right: calc(50% - 110px);
    transform: translateY(-50%);
    box-shadow: -20px 20px 0 -10px #d4edf3;
}
.art-ttl-02 {
    display: block;
    color: #004a71;
    font-size: 1.1em;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 20px 0;
}
.about-address {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 10px 10px 20px;
}
img.about-img {
    width: 95%;
    margin: 20px auto;
    box-shadow: 1px 1px #dedede;
}
img.address-logo {
    width: 50px;
    height: 40px;
    margin: 10px 10px 0 0;
}
.about-address-inner {
    text-align: center;
    line-height: 1.5;
    margin: 0 auto 20px;
    width: 50%;
}
.about-address-inner p {
    text-align: center;
    font-family: "M PLUS Rounded 1c";
    color: #565656;
}
.about-address-inner span.clinic-pr {
    font-size: 13px;
}
.about-address-inner span.clinic-name {
    font-size: 32px;
    letter-spacing: 0.3em;
}
.page-tel-box {
    margin-bottom: 20px;
}

.page-tel-box .address {
    line-height: 2;
}
.about-tel-nb {
    text-align: center;
}
.about-tel-nb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #3584bb;
    font-family: "M PLUS Rounded 1c";
    text-decoration: none;
}
.phone-circle {
    font-size: 16px;
    border-radius: 50%;
    padding: 8px;
    background-color: #3584bb;
    color: #fff;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.about-map {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}
.parking-info {
    background-color: #d4edf3;
    border-radius: 20px;
    padding: 10px;
    width: 90%;
    margin: 0 auto;
}
p.parking-info-text {
    font-size: 1em;
    line-height: 1.5;
    padding: 10px;
    text-align: left;
}
span.parking-nmb {
    color: #002b45;
    font-size: 1.1em;
}
/* 診療時間 */
.clinic-hours {
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #00406c;
    padding: 0 10px 40px;
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}
.hours-table th,
.hours-table td {
    border-bottom: 1px solid #00406c;
    padding: 10px 5px;
    font-family: "M PLUS Rounded 1c";
}
.hours-table thead th {
    font-weight: 500;
    border-bottom: 1px solid #00406c;
}
.hours-table tbody th {
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}
.hours-table td {
    font-size: 18px;
    color: #00406c;
}
.note {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}
/* 院内設備 */
.facilities-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 90%;
    margin: 0 auto;
}
.facilities-item {
    width: 270px;
    margin-bottom: 40px;
}
.facilities-wrap p {
    font-size: 1em;
    line-height: 1.6;
}
/* 院長紹介 */
.director-inner {
    display: flex;
    padding: 40px 20px;
    justify-content: space-evenly;
}
.histry-contents-box {
    width: 80%;
    margin: 0 auto;
}
.director-contents-box {
    width: 80%;
    margin: 60px auto;
}
.consept {
    line-height: 2;
    margin-bottom: 20px;
    color: #555;
    font-size: 1.2rem;
}
.consept-txt {
    font-size: 1.4em;
    color: #3d9ae3;
    margin-bottom: 20px;
}
.director-contents-inner {
    position: relative;
    width: 65%;
}
.director-contents-ttl {
    content: "";
    position: absolute;
    top: -100px;
    left: 27%;
    transform: translateX(-50%);
    font-size: 100px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #d5e8f4;
    opacity: 0.4;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}
.director-contents-item {
    width: 80%;
    margin: 0 auto;
}
.director-img {
    width: 35%;
    margin: 0 auto;
}
.director-img img {
    width: 100%;
}
.director-signature {
    text-align: center;
    margin-top: 20px;
}
.director-name {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-top: 5px;
}
.director-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.histry-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}
.director-histry-box {
    width: 45%;
    background: #fff;
    border-radius: 30px;
    margin: 0 auto 40px;
}
.director-histry-inner {
    padding: 40px;
    display: flex;
    justify-content: space-between;
}
.histry {
    padding-top: 20px;
}
.director-histry-ttl {
    width: 30%;
}
.director-histry-item {
    width: 70%;
}
.director-histry-ttl h5 {
    font-size: 1.4em;
    color: #00406c;
    font-family: "Noto Sans JP", sans-serif;
}
.director-histry-item p {
    font-size: 1em;
    line-height: 1.8em;
    color: #555;
    font-family: "Noto Sans JP", sans-serif;
}
.director-histry-img {
    width: 45%;
    margin: 20px auto;
}
.director-histry-img img {
    width: 100%;
}
/* PLICE LIST */
.case-study {
    max-width: 800px;
    margin: 20px auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
}
.case-header {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}
.case-photo {
    flex: 1;
    text-align: center;
    position: relative;
}
.case-photo img {
    width: 270px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}
.case-photo .label {
    display: inline-block;
    background-color: #8cb3d9;
    color: white;
    padding: 4px 25px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}
.treatment-table {
    width: 100%;
    border-collapse: collapse;
    border: 1.5px solid #333;
}
.treatment-table th {
    background-color: #8cb3d9;
    color: white;
    padding: 12px;
    border: 1px solid #333;
    font-weight: normal;
}
.treatment-table td {
    padding: 12px;
    border: 1px solid #333;
    text-align: center;
}
.treatment-table td:first-child {
    text-align: left;
    padding-left: 20px;
}
.tax-note {
    text-align: right;
    font-size: 13px;
    margin-top: 8px;
    color: #333;
}
.case-details {
    padding-bottom: 60px;
}
th.col-main {
    width: 35%;
}
th.col-unit {
    width: 35%;
}
th.col-price {
    width: 30%;
}
.footer-inner-right iframe {
    height: 500px;
    width: 100%;
}
.deduction-section {
    margin: 20px auto 40px;
}
.section-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: normal;
    color: #004471;
    margin-bottom: 20px;
}
.section-title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 1.2em;
    background-color: #004471;
    margin-right: 15px;
}
.notes {
    font-size: 0.95rem;
}
.notes p {
    margin-bottom: 0;
    padding-left: 1.2em;
    text-indent: -1.2em;
    padding-top: 0;
    padding-bottom: 0;
}
.content-text h4 {
    font-weight: 500;
    color: #fff;
    font-size: 1.2rem;
    background-color: #004471;
    padding: 0 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.content-text h5 {
    font-weight: 500;
    color: #004471;
    font-size: 1.1rem;
}
.contents-img {
    width: 60%;
    margin: 40px auto;
    text-align: center;
}
.contents-clum {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.contents-clum .clum2-item {
    width: 45%;
    margin-bottom: 20px;
}
.clum2-item .contents-img {
    width: 90%;
    margin: 20px auto;
    text-align: center;
}
.contents-clum .clum3-item {
    width: 30%;
    margin-bottom: 20px;
}
.clum3-item .contents-img {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}
.contents-clum .clum4-item {
    margin-bottom: 20px;
    min-width: 220px;
    max-width: 220px;
}
.clum4-item .contents-img {
    width: 100%;
    margin: 10px auto;
    text-align: center;
}
.contents-clum .clum5-item {
    margin-bottom: 20px;
    min-width: 175px;
    max-width: 175px;
}
.clum5-item .contents-img {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}
.link-text {
    font-size: 1rem;
    font-weight: 500;
    color: #3584bb;
    text-decoration: underline;
}
.btn-guide-page {
    margin: 20px;
    text-align: center;
}
.btn-guide-page a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 260px;
    height: 46px;
    padding: 0px 15px;
    font-size: 16px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #3584bb;
    background: #ffffff;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border: 1px solid #3584bb;
    margin-bottom: 40px;
}
.btn-guide-page i.fas.fa-play {
    font-size: 0.6em;
}
.btn-guide-page a:hover {
    color: #fff;
    background: #3584bb;
    transition: all 0.3s ease;
    border: 1px solid #3584bb;
}
/* むし歯治療 */
.section-title {
    font-size: 1.4rem;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
    margin: 40px 0 20px 0;
}
.carious-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.carious-visual {
    flex: 0 0 180px;
    text-align: center;
    margin-bottom: 20px;
}
.carious-visual img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}
.carious-label {
    font-weight: bold;
    font-size: 1.1rem;
    color: #666;
}
/* テキストコンテンツ部分 */
.carious-content {
    flex: 1;
    padding-left: 0;
}
.carious-text {
    margin: 0;
    font-size: 0.95rem;
}
/* オレンジの強調表示 */
.highlight-orange {
    color: #f39800;
    font-weight: bold;
}
/* 赤の強調表示 */
.highlight-red {
    color: #ab2c15;
    font-weight: bold;
    font-size: 1.2rem !important;
}
.custom-care-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.custom-care-list li {
    position: relative;
    padding: 10px 0 0 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}
.custom-care-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    height: 11px;
    width: 11px;
    background-color: #3584bb;
    border-radius: 2px;
}
/* --- 下層ページ共通スタイル --- */
.page-main {
    padding-top: 160px;
}

/* ===========================
   汎用下層MVエリア (診療メニュー詳細など)
   =========================== */
.p-mv-sub {
    position: relative;
    width: 100%;
    height: 510px;
    margin-top: -160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}
.p-mv--cavity {
    background-image: url("../img/subpage-main.jpg");
}
/* ===========================
サブページタイトル (位置調整)
   =========================== */
.subpage-ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #003366;
    z-index: 4;
    width: 100%;
    pointer-events: none;
}
.subpage-ttl .subpage-ttl-inner h2 {
    font-family: "M PLUS Rounded 1c";
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 1;
}
.subpage-ttl .subpage-ttl-inner .en {
    display: block;
    font-size: 0.7em;
    color: #87cddf;
    font-family: "M PLUS Rounded 1c";
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3em;
}
.subpage-ttl .subpage-ttl-inner .jp {
    display: block;
    font-size: 2rem;
    color: #002b45;
    font-weight: 700;
    letter-spacing: 0.05em;
}
 .subpage-ttl .subpage-ttl-inner .jp::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: rgb(255 226 241 / 46%);
    border-radius: 50%;
    z-index: -1;
}
/* =========================================
プレオルソ3つの特徴（Point自動連番）修正用
   ========================================= */
.content-half {
    display: flex;
    justify-content: space-between;
}
.content-half-text,
.content-half-img {
    width: 49%;
}
.content-half-img {
    margin: 20px auto;
    text-align: center;
}
.content-half.content-text.card {
    border: 1px solid #dedede;
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto 20px;
}
.card.yellow{background-color: #fff8e4;}
.card.pink {background-color: #ffe4f1;}

.w-250 {
    width: 250px;
    margin: 20px auto;
    text-align: center;
    display: block;
}
.carious-list {
    counter-reset: point-num;
}
.page-contents-item h4.point-heading {
    background-color: transparent;
    color: #004471;
    border-radius: 0;
    padding: 0;
    padding-bottom: 10px;
    position: relative;
    margin-top: 50px;
    border-bottom: 2px solid #f39800;
    font-weight: bold;
}
.page-contents-item h4.point-heading::before {
    counter-increment: point-num;
    content: "Point " counter(point-num);
    position: absolute;
    top: -32px;
    left: 0;
    background-color: #f39800;
    color: #fff;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 5px 5px 0 0;
    font-family: "M PLUS Rounded 1c", sans-serif;
    line-height: 1;
}
/* ===========================
FAQセクション
   =========================== */
.faq-section {
    margin: 40px auto;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.faq-q {
    position: relative;
    font-weight: bold;
    color: #004471;
    font-size: 1.1rem;
    padding-left: 40px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.faq-q::before {
    content: "Q";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: #f39800;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: bold;
}
.faq-a {
    position: relative;
    padding-left: 40px;
    margin: 0;
}
.faq-a::before {
    content: "A";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: #004471;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: bold;
}
.faq-a p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}
.faq-a a.text-link {
    color: #3584bb;
    text-decoration: underline;
    font-weight: 500;
}
.faq-a a.text-link:hover {
    text-decoration: none;
    opacity: 0.8;
}
/* CTA用 */
.footer-cta-container {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 40px auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: "M PLUS Rounded 1c", sans-serif;
    padding: 20px;
}
.cta-image {
    flex: 0 0 40%;
    padding: 10px;
}
.cta-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    object-fit: cover;
}
/* 右側のコンテンツエリア */
.cta-content {
    flex: 1;
    padding: 10px 20px;
    color: #565656;
    text-align: center;
}
.cta-catch {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
}
.cta-catch .highlight {
    color: #e67e22;
    font-size: 1.3rem;
}
.cta-catch .sub-text {
    font-size: 0.85rem;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}
.cta-message {
    font-size: 0.9rem;
    margin-bottom: 20px;
}
/* 電話番号部分のレイアウト */
.cta-tel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tel-label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: bold;
}
.cta-tel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #8fd0e0;
    color: #fff !important;
    font-size: 1.7rem;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: fit-content;
}
.cta-tel-link:hover {
    background-color: #7abccb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.cta-tel-link i {
    margin-right: 12px;
    font-size: 1.4rem;
}
/* チェックボックス */
.self-check-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fdfdfd;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.self-check-title {
    color: #007baf;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid #007baf;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}
.self-check-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}
.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
    position: relative;
}
.check-item:hover {
    background-color: #f0f8ff;
}
.check-item input {
    display: none;
}
.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #007baf;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    background: #fff;
}
.check-item input:checked+.checkbox-custom::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007baf;
    font-size: 18px;
    font-weight: bold;
}
.check-item input:checked~.check-text {
    color: #007baf;
    font-weight: bold;
}
.check-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}
.check-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #d9534f;
    text-align: right;
}
/* 親知らず */
.wisdom-tooth-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}
.wisdom-title {
    text-align: center;
    color: #007baf;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.wisdom-lead {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}
.wisdom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.wisdom-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.wisdom-card.warning {
    background-color: #fffafb;
    border-color: #f5dada;
}
.type-label {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0 auto 15px;
}
.card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #007baf;
    font-weight: bold;
}
.card-text {
    font-size: 0.9rem !important;
    min-height: 3.5em;
    margin-bottom: 15px;
    font-weight: 500;
}
.status-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.status-badge.caution {
    background: #ffd8d8;
    color: #d32f2f;
}
.detail-text {
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.6;
    color: #555;
}
.wisdom-footer {
    margin-top: 30px;
    padding: 25px 30px;
    background: #fffafb;
    border-radius: 8px;
    border-left: 5px solid #d9534f;
    font-size: 0.95rem;
    line-height: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.indent-note {
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin: 0;
    color: #444;
    padding-bottom: 0 !important;
}
/* CONTACT */
.contact-form-inner {
    padding: 40px 50px;
    box-sizing: border-box;
}
.contact-form-inner iframe {
    margin-bottom: 50px;
    display: block;
}
.contents-menu-ttl {
    margin-bottom: 15px;
    color: #004d73;
    font-size: 1.1rem;
}
.privacy-text {
    margin-bottom: 50px;
    line-height: 1.8;
    color: #444;
}
.doctor-signature {
    text-align: right;
}
.doctor-name {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-top: 5px;
}

/* --- コラム一覧ページ専用スタイル --- */
.column-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.column-tile-item {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 20px;
}
.column-tile-item:hover {
    border-color: #3584bb;
    transform: translateY(-5px);
}
.column-tile-link {
    display: flex;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    align-items: flex-start;
}
.tile-content {
    flex: 1;
    padding-right: 15px;
}
.tile-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.column-tile-ttl {
    font-size: 1.1rem;
    color: #002b45;
    font-weight: 700;
    line-height: 1.4;
}
.tile-img {
    width: 120px;
    flex-shrink: 0;
}
.tile-img img {
    width: 100%;
    height: auto;
    display: block;
}
/* --- 診療メニュー親ページ：タイルグリッド --- */

.medical-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* タイル間の隙間 */
    justify-content: flex-start;
}

/* 個別のタイル */
.medical-tile {
    display: flex;
    align-items: center;
    width: calc(33.333% - 10px);
    /* 基本3列並び */
    min-height: 60px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #00406c;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* アイコンの色と余白 */
.medical-tile i {
    color: #3584bb;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* ホバー時の挙動 */
.medical-tile:hover {
    background-color: #f0f8ff;
    border-color: #3584bb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

h3.clumn-title {
    text-align: center;
    font-size: 2rem;
    border-bottom: 4px solid #00406c;
    width: 320px;
    margin: 30px auto 0;
    color: #00406c;
}

/* ===========================
レスポンシブ調整
   =========================== */
@media screen and (max-width: 1200px) {
    .about-address {
        flex-direction: column;
    }
    .about-address-inner,
    .about-map {
        width: 100%;
    }
}
@media (max-width: 1180px) {
    .director-contents-box {
        width: 100%;
    }
    .director-contents-inner {
        width: 100%;
    }
    .director-img,
    .director-histry-img {
        max-width: 600px;
        margin: 0 auto;
    }
    .director-inner {
        flex-direction: column;
    }
    .histry-contents-box {
        width: 90%;
        margin: 0 auto;
    }
    .histry-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .director-histry-box,
    .director-histry-img {
        width: 80%;
    }
}
@media screen and (max-width: 1024px) {
    .p_mv {
        /* margin-top: -80px; */
        min-height: 300px;
    }
    .p_mv picture,
    .p_mv img {
        padding-top: 80px;
    }
    .page-ttl {
        top: 130px;
    }
    .p-ttl-inner {
        padding-left: 40px !important;
        left: 0 !important;
    }
    .p-ttl-inner .ttl-bg {
        font-size: 5rem;
        top: -25px;
        left: 30px;
    }
    .p-mv-sub {
        margin-top: -80px;
        height: 330px;
    }
    .p-mv--cavity {
        background-image: url("../img/subpage-main.jpg");
    }
        .medical-tile {
            width: calc(50% - 8px);
            /* タブレットでは2列 */
        }
}

@media screen and (max-width: 1000px) {
    .page-contents-inner {
        margin-bottom: 40px;
        width: 95%;
    }
    .contents-inner {
        display: flex;
        flex-direction: column;
        padding: 20px 10px 10px;
        align-items: center;
    }
    .contents-menu-ttl {
        font-size: 24px;
        text-align: center;
    }
    .page-contents-item {
        width: 95%;
    }
    .page-contents-item p {
        text-align: left;
        width: 100%;
    }
    .page-contents-ttl .jp::before {
        bottom: -80px;
        left: 50%;
        width: 80px;
        height: 80px;
    }
    .page-contents-ttl .jp::after {
        bottom: -50px;
        left: 50%;
        width: 110px;
        height: 110px;
    }
}
@media (max-width: 820px) {
    .column-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .column-tile-link {padding: 15px;}
    .sp-br {display: block;}  
}
@media (max-width: 768px) {
    .carious-item {
        flex-direction: column;
        align-items: center;
    }
    .carious-content {
        padding-left: 30px;
    }
    .director-histry-box,
    .director-contents-item {
        width: 100%;
        margin: 0 auto;
    }
    .director-contents-inner {
        width: 100%;
    }
    .director-img,
    .director-histry-img {
        width: 100%;
        margin: 40px auto 0;
    }
    .footer-inner-right iframe {
        height: 300px;
    }
    .medical-deduction-container {
        padding: 15px;
    }
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    .content-text {
        font-size: 0.95rem;
        width: 95%;
    }
    .contents-clum {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contents-clum,
    .contents-clum.clum2,
    .contents-clum.clum3 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contents-clum.clum4,
    .contents-clum.clum5 {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: inherit;
    }
    .contents-clum .clum2-item,
    .contents-clum .clum3-item {
        width: 90%;
        margin: 0 auto 40px;
    }
    .contents-clum .clum4-item {
        width: 45%;
        margin: 0 auto 20px;
    }
    .contents-clum .clum5-item {
        width: 45%;
        margin: 0 auto 20px;
    }
    .contents-img {
        width: 80%;
        margin: 20px auto;
        text-align: center;
    }
    .btn-guide-page {
        margin: 20px auto;
        text-align: center;
    }
    .content-half {
        flex-direction: column;
        justify-content: center;
    }
    .content-half-text,
    .content-half-img {
        width: 100%;
        margin: 0 auto 20px;
    }
    .w-250 {
        margin: 0 auto;
    }
    .footer-cta-container {
        flex-direction: column;
        padding: 15px;
    }
    .cta-image {
        width: 100%;
        padding: 0 0 15px 0;
    }
    .cta-tel-link {
        font-size: 1.4rem;
        padding: 10px 20px;
    }
    .contact-form-inner {
        padding: 30px 15px;
    }
}

@media (max-width: 600px) {
    .case-header {
        flex-direction: column;
    }
    .wisdom-grid {
        grid-template-columns: 1fr;
    }
    .faq-q,
    .faq-a {
        padding-left: 0;
    }
    .faq-q::before,
    .faq-a::before {
        position: static;
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle;
    }
    .faq-item {
        padding: 15px;
    }
}

@media screen and (max-width: 500px) {
    .page-ttl {
        top: 110px;
        left: 0 !important;
        transform: none !important;
    }
    .p-ttl-inner {
        padding-left: 20px !important;
        text-align: left !important;
    }
    .p-ttl-inner h2 {
        align-items: flex-start !important;
        font-size: 1.6rem !important;
    }
    .p-ttl-inner .jp {
        font-size: 1.5rem !important;
    }
    .p-ttl-inner .ttl-bg {
        font-size: 4rem;
        top: -20px;
        left: 15px;
    }
    .p-ttl-inner .jp::after {
        width: 120px;
        height: 120px;
        margin-left: 30px;
        bottom: auto !important;
    }
    .page-contents-wrap {
        width: 100%;
        background-color: #ecf5fa;
        padding: 10px;
    }
    .page-contents-box {
        width: 90%;
    }
    .page-tel-box .address {
        line-height: 2;
        font-size: 0.9em;
    }
    .p-ttl-inner.DIRECTOR .ttl-bg {
        font-size: 3.8rem;
        top: -14px;
        left: 70px;
    }
    .about-address-inner span.clinic-name {
        font-size: 28px;
    }
    .consept {
        font-size: 1.2rem;
        text-align: center !important;
    }
    .director-contents-ttl {
        font-size: 5rem;
        left: 50%;
    }
    .director-inner {
        padding: 40px 10px;
    }
    .director-histry-ttl h5 {
        font-size: 1.1em;
    }
    .director-img {
        width: 100%;
        margin: 0 auto;
    }
    .director-histry-inner {
        padding: 20px;
    }
    .contents-clum.clum4,
    .contents-clum.clum5 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contents-clum .clum4-item,
    .contents-clum .clum5-item {
        min-width: 350px !important;
        margin: 0 auto 20px;
    }
    .subpage-ttl .subpage-ttl-inner h2 {
        font-size: 1.8rem;
    }
    .subpage-ttl .subpage-ttl-inner .jp {
        font-size: 1.5rem;
    }
    .subpage-ttl .subpage-ttl-inner .jp::after {
        width: 100px;
        height: 100px;
        bottom: -30px;
    }
    .medical-tile {
        width: 100%;
        font-size: 14px;
    }
    .clinic-hours {
        width: 100%;
        margin: 0 auto;
    }
    .carious-content {
        padding-left: 30px;
    }
    .contents-clum .clum2-item,
    .contents-clum .clum3-item,
    .contents-clum .clum4-item,
    .contents-clum .clum5-item {
        width: 95% !important;
        min-width: 95% !important;
        max-width: 95% !important;
        margin: 0 auto 30px !important;
        display: block;
    }
    .contents-clum [class*="clum"] .contents-img {
        width: 100% !important;
        max-width: 250px;
        margin: 10px auto !important;
    }
    .contents-clum [class*="clum"] .contents-img img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 480px) {
    .hours-table th,
    .hours-table td {
        padding: 8px 3px;
        font-size: 12px;
    }
    .hours-table tbody th {
        font-size: 12px;
    }
    .note {
        font-size: 12px;
    }
    img.address-logo {
        width: 40px;
        height: 30px;
        margin: 10px 10px 0 0;
    }
}

/* コラム一覧への導線ボタン */
.back-btn-wrap {
    text-align: center;
    margin: 0 auto;
}
.back-btn {
    text-align: center;
    display: block;
    margin: 0 auto;
    padding-bottom: 40px;
}
.back-btn a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 220px;
    height: 46px;
    padding: 0px 15px;
    font-size: 16px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #3584bb;
    background: #ffffff;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border: 1px solid #3584bb;
    margin: 0 auto;
}
.back-btn i.fas.fa-play {
    font-size: 0.6em;
}
.back-btn a:hover {
    color: #fff;
    background: #3584bb;
    transition: all 0.3s ease;
    border: 1px solid #3584bb;
}