/*
Theme Name: Kaede Family CL
Theme URI: https://kaede-family.com/
Description: Kaede Family CL用のオリジナルテーマ
Version: 1.0
Text Domain: kaede-family-cl
*/

/* =========================================
   WordPress管理バー表示時のヘッダー位置調整
========================================= */
/* PC表示（管理バーの高さ32px分下げる） */
.admin-bar .site-header {
    top: 32px;
}

/* スマホ表示（画面幅782px以下の場合、管理バーが少し太くなり46pxになるための調整） */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* =========================================
色とフォントの変数　※ここで色とメインフォントは管理してます。
========================================= */


:root {
    --color-main: #d87034;
    /* オレンジ */
    --color-sub: #4da6a6;
    /* ブルーグリーン */
    --color-base-bg: #fdfaf5;
    /* 背景色 */
    --color-text: #333333;
    /* 基本文字色 */
    --color-shadow: #e6d3c3;
    /* 影の色 */
    --main-font: "Zen Maru Gothic", sans-serif;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   Base (基本スタイル)
========================================= */
body {
    margin: 0;
    padding: 0;
    font-family: var(--main-font);
    color: var(--color-text);
    /* サイト全体の基本の文字色 */
    background-color: var(--color-base-bg);
    /* 全体のベース背景色 */
}

/* =========================================
   Header (ヘッダー)
========================================= */
.site-header {
    background-color: #ffffff;
    /* 白い背景 */
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid #f5f5f5;
    /* 下部にうっすらと境界線 */
    /* ▼ここから追加：ヘッダーを上部に固定する設定 */
    position: sticky;
    top: 0;
    z-index: 999;
    overflow-x: clip;
    /* 他のコンテンツより上に表示させる（追従ボタンより前面にでます） */
}


.header-inner {
    max-width: 1200px;
    /* サイトの最大幅 */
    margin: 0 auto;
    /* 中央寄せ */
    padding: 20px 40px;
    /* 上下20px、左右40px of 余白 */
    display: flex;
    /* 横並びにする */
    justify-content: space-between;
    /* 両端に配置する（左にロゴ、右にメニュー） */
    align-items: center;
    /* 縦方向の真ん中に揃える */
    box-sizing: border-box;
    width: 100%;
}

/* --- ロゴ部分 --- */
.site-title {
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
    min-width: 0;
}

.site-title a {
    display: block;
    max-width: 100%;
}

.site-title img {
    height: 20px;
    /* ロゴサイズに合わせて高さを調整 */
    width: auto;
    max-width: 100%;
    display: block;
}

/* --- ナビゲーション部分 --- */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    /* aタグ側にpaddingを持たせるため、狭めに設定 */
}

.nav-list a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    /* ホバー時に背景色がついた時のための内側の余白 */
    border-radius: 12px 12px 12px 0;
    /* 左下だけ直角にする指定 */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* 色の変化をフワッとさせる */
}

/* マウスカーソルを乗せた時（吹き出し風になる動き） */
.nav-list a:hover {
    background-color: var(--color-sub);
    /* ブルーグリーン */
    color: #ffffff;
    /* 文字色を白に */
    opacity: 1;
}

/* --- 下層ページヘッダー（CTA付き） --- */
.site-header--sub {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.site-header--sub .header-inner {
    max-width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
    padding: 0 0 0 25px;
}

.header-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    min-width: 0;
    max-width: 100%;
}

.site-header--sub .global-nav {
    min-width: 0;
    max-width: 100%;
}

.site-header--sub .nav-list {
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-header--sub .nav-list li {
    min-width: 0;
}

.site-header--sub .nav-list a {
    padding: 8px 10px;
    font-size: 13px;
}

.header-cta {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    max-width: 100%;
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.header-cta-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.header-cta-web {
    background-color: #DD6E37;
    border-radius: 0 0 0 20px;
}

.header-cta-web i {
    font-size: 18px;
}

.header-cta-phone {
    background-color: rgb(78, 174, 181);
    gap: 12px;
    padding-right: 22px;
}

.header-cta-phone i {
    font-size: 16px;
}

.header-cta-phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.header-cta-phone-label {
    font-size: 12px;
    font-weight: 500;
}

.header-cta-phone-number {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* --- ハンバーガーメニュー（1280px以下） --- */
.header-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 0 auto;
    padding: 18px 22px 16px;
    border: none;
    background-color: #DD6E37;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    border-radius: 0 0 0 20px;
    transition: opacity 0.3s ease;
}

.header-menu-toggle:hover {
    opacity: 0.9;
}

.header-menu-toggle-lines {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 26px;
}

.header-menu-toggle-lines span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.header-menu-toggle-label {
    letter-spacing: 0.04em;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.drawer-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background-color: #ffffff;
    border-radius: 20px 0 0 0;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drawer-menu.is-active {
    transform: translateX(0);
}

.drawer-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: flex-end;
    margin: 0;
    padding: 16px 22px 14px;
    border: none;
    background-color: var(--color-sub);
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    border-radius: 0 0 0 20px;
    transition: opacity 0.3s ease;
}

.drawer-close:hover {
    opacity: 0.9;
}

.drawer-close i {
    font-size: 18px;
}

.drawer-nav {
    flex: 1 1 auto;
    padding: 48px 32px 32px;
}

.drawer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-nav-list a {
    display: block;
    padding: 18px 0;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.drawer-nav-list a:hover {
    color: #DD6E37;
}

.drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 24px 40px;
    margin-top: auto;
}

.drawer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px 50px 50px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.drawer-cta-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.drawer-cta-web {
    background-color: #DD6E37;
}

.drawer-cta-web i {
    font-size: 20px;
}

.drawer-cta-phone {
    background-color: rgb(78, 174, 181);
    gap: 14px;
}

.drawer-cta-phone i {
    font-size: 18px;
}

.drawer-cta-phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.drawer-cta-phone-label {
    font-size: 14px;
    font-weight: 500;
}

.drawer-cta-phone-number {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

body.is-drawer-open {
    overflow: hidden;
}

@media (min-width: 1281px) {
    .site-header--sub {
        height: 80px;
    }

    .site-header--sub .header-inner {
        height: 100%;
        padding: 0 0 0 25px;
        align-items: center;
    }

    .site-header--sub .header-right {
        height: 100%;
        align-items: stretch;
        gap: 12px 16px;
    }

    .site-header--sub .global-nav {
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center;
    }

    .site-header--sub .nav-list {
        align-items: center;
        height: 100%;
        gap: 4px;
    }

    .site-header--sub .nav-list a {
        padding: 8px 14px;
        font-size: 14px;
    }

    .site-header--sub .header-cta {
        height: 100%;
        align-self: stretch;
    }

    .header-cta-btn {
        height: 100%;
        padding: 0 18px;
    }

    .header-menu-toggle {
        display: none;
    }
}

@media (max-width: 1280px) {
    .header-desktop-only {
        display: none !important;
    }

    .header-menu-toggle {
        display: flex;
        flex: 0 0 auto;
        flex-shrink: 0;
    }

    .site-header .header-inner {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 12px;
        max-width: 100%;
        min-width: 0;
        padding: 0 0 0 24px;
        overflow: hidden;
    }

    .site-header--sub .header-inner {
        display: flex;
        grid-template-columns: unset;
    }

    .site-title {
        align-self: center;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        overflow: hidden;
    }

    .site-title a {
        width: 100%;
    }

    .site-title img {
        width: 100%;
        height: auto;
        max-height: 30px;
        object-fit: contain;
        object-position: left center;
    }
}

@media (max-width: 768px) {
    .header-menu-toggle {
        padding: 16px 18px 14px;
    }

    .drawer-nav {
        padding: 40px 24px 24px;
    }

    .drawer-nav-list a {
        padding: 16px 0;
        font-size: 15px;
    }

    .drawer-cta {
        padding: 20px 20px 32px;
    }
}

@media (max-width: 500px) {
    .site-header .header-inner {
        gap: 8px;
        padding: 0 0 0 16px;
    }

    .site-title img {
        max-height: 26px;
    }

    .header-menu-toggle {
        gap: 6px;
        padding: 14px 14px 12px;
        font-size: 12px;
    }

    .header-menu-toggle-lines {
        width: 22px;
        gap: 5px;
    }
}

/* =========================================
   Top Page - Main Visual (メインビジュアル)
========================================= */
.hero-section {
    background-color: var(--color-base-bg);
    padding: 60px 0 80px;
    overflow: hidden;
    /* カルーセルのはみ出しを隠す */
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.hero-inner--desktop {
    --hero-max-width: 1792px;
    --hero-copy-space: clamp(220px, 24vw, 360px);
    --hero-carousel-gap: clamp(12px, 1.2vw, 20px);
    --hero-slide-width: min(260px,
            calc((min(100vw, var(--hero-max-width)) - var(--hero-copy-space) - var(--hero-carousel-gap) * 3) / 3.2));
    --hero-slide-height: calc(var(--hero-slide-width) * 380 / 260);
    position: relative;
    max-width: min(var(--hero-max-width), 100%);
    min-height: var(--hero-slide-height);
    margin: 0 auto;
    padding: 0 clamp(20px, 8vw, 100px) 0 0;
    justify-content: flex-end;
    box-sizing: border-box;
}

.hero-carousel {
    position: absolute;
    top: 50%;
    left: calc(50% - 50vw);
    transform: translateY(-50%);
    width: calc(100vw - var(--hero-copy-space));
    max-width: calc(min(100vw, var(--hero-max-width)) - var(--hero-copy-space));
    overflow: hidden;
    z-index: 1;
}

.carousel-track {
    display: flex;
    gap: var(--hero-carousel-gap);
    width: max-content;
    animation: scrollCarousel var(--carousel-duration, 25s) linear infinite;
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
}

.carousel-slide img {
    display: block;
    width: var(--hero-slide-width);
    height: var(--hero-slide-height);
    object-fit: cover;
    border-radius: 20px;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--carousel-shift, 50%)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        animation: none;
    }
}

.hero-copy {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin: 0;
}

.hero-copy img {
    display: block;
    width: auto;
    height: clamp(280px, 38vw, 400px);
    max-width: min(360px, 100%);
}

@media (min-width: 1792px) {
    .hero-inner--desktop {
        --hero-copy-space: 360px;
        --hero-carousel-gap: 20px;
        --hero-slide-width: min(260px,
                calc((var(--hero-max-width) - var(--hero-copy-space) - var(--hero-carousel-gap) * 3) / 3.2));
        max-width: var(--hero-max-width);
        padding: 0 40px;
        overflow: hidden;
    }

    .hero-carousel {
        left: 0;
        width: calc(100% - var(--hero-copy-space));
        max-width: none;
    }

    .hero-copy img {
        height: 400px;
    }
}

/* --- モバイルファーストビュー（830px以下） --- */
.hero-inner--mobile {
    display: none;
}

.hero-mobile-visual {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
}

.hero-mobile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-mobile-overlay {
    position: relative;
    z-index: 1;
    min-height: 520px;
    padding: 24px 20px 48px;
    box-sizing: border-box;
}

@media screen and (max-width: 840px) {
    .hero-mobile-overlay {
        height: 947px;
    }
}

.hero-mobile-cta {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 40px);
    padding: 14px 28px;
    background-color: #DD6E37;
    border-radius: 50px;
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.18);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

@media screen and (max-width: 840px) {
    .hero-mobile-cta {
        width: 367px;
        top: 144px;
    }
}

@media screen and (max-width: 490px) {
    .hero-mobile-cta {
        width: 85%;
        top: 100px;
    }
}

.hero-mobile-cta:hover {
    opacity: 0.9;
    color: #ffffff;
    transform: translateX(-50%) translateY(1px);
}

.hero-mobile-copy-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 22px;
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    box-sizing: border-box;
}

.hero-mobile-copy-img {
    display: block;
    width: 130px;
    height: auto;
    max-width: 100%;
}

@media (max-width: 830px) {
    .hero-section {
        padding: 0;
        background-color: #ffffff;
    }

    .hero-inner--desktop {
        display: none;
    }

    .hero-inner--mobile {
        display: block;
        max-width: none;
        padding: 0;
    }
}

@media (max-width: 490px) {
    .hero-mobile-overlay {
        height: 87vh;
        padding: 20px 16px 40px;
        min-height: min(87vh);
    }

    .hero-mobile-cta {
        top: 20px;
        max-width: calc(100% - 32px);
        padding: 16px 22px;
        font-size: 20px;
        white-space: normal;
    }

    .hero-mobile-copy-box {
        padding: 22px 25px;
        border-radius: 16px;
    }

    .hero-mobile-copy-img {
        width: 110px;
        height: auto;
    }
}

/* =========================================
   Top Page - Vaccine Info (ワクチン接種予約)
========================================= */
.vaccine-info-section {
    padding: 0;
    margin-top: 46px;
    margin-bottom: 46px;
    box-sizing: border-box;
}

.vaccine-info-box {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    background-color: var(--color-base-bg);
    border-top: 2px solid #d15000ff;
    border-right: 2px solid #d15000ff;
    border-bottom: 2px solid #d15000ff;
    border-left: 2px solid #d15000ff;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: center;
}

.vaccine-info-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vaccine-info-line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-main);
    border-radius: 2px;
    margin-bottom: 16px;
}

.vaccine-info-title {
    font-size: 28px;
    color: var(--color-main);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.vaccine-info-en {
    font-size: 16px;
    color: var(--color-main);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.vaccine-info-btn {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 300px;
    max-width: 100%;
    height: 37px;
    margin: 20px auto 0;
    padding: 30px;
    background: #ee4b00ff;
    border-top: 2px solid #ffffffff;
    border-right: 2px solid #ffffffff;
    border-bottom: 2px solid #ffffffff;
    border-left: 2px solid #ffffffff;
    border-radius: 50px;
    box-shadow: 7px 7px 0px 0px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.vaccine-info-btn:hover {
    opacity: 0.9;
    color: #ffffff;
    transform: translateY(1px);
}

@media (max-width: 840px) {
    .vaccine-info-box {
        width: 637px;
        max-width: 100%;
    }
}

@media (max-width: 490px) {
    .vaccine-info-box {
        width: 340px;
        max-width: 100%;
    }

    .vaccine-info-title {
        font-size: 23px;
    }
}

@media (max-width: 360px) {
    .vaccine-info-box {
        width: 340px;
        max-width: 100%;
    }

    .vaccine-info-title {
        font-size: 20px;
    }

    .vaccine-info-btn {
        width: 300px;
        max-width: 100%;
        height: 37px;
    }
}

/* =========================================
   Top Page - News (お知らせ)
========================================= */
.news-section {
    background-color: var(--color-base-bg);
    padding: 0 40px;
    margin-bottom: 46px;
    /* STUDIOの設定マージン値 */
}

.news-inner {
    max-width: 1000px;
    /* 白いカードの最大幅 */
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 45px 60px 75px;
    /* STUDIOの設定パディング（上下45px/75px） */
}

/* 見出しエリア */
.section-header {
    border-left: 3px solid var(--color-main);
    /* 左のオレンジの縦線 */
    padding-left: 15px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    color: var(--color-main);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.section-en {
    display: block;
    font-size: 14px;
    margin-top: 8px;
    font-weight: normal;
}

/* リスト部分 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* 記事同士の縦の隙間 */
}

.news-item a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-item a:hover {
    opacity: 0.6;
}

.news-date {
    color: var(--color-main);
    font-size: 15px;
    width: 100px;
    /* 日付エリアの固定幅 */
    flex-shrink: 0;
    font-weight: 500;
}

.news-divider {
    align-self: stretch;
    width: 0;
    border-left: 1px dotted var(--color-main);
    margin: 0 10px;
    flex-shrink: 0;
}

.news-title {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

.no-news {
    color: #666666;
    font-size: 15px;
    margin: 0;
}

@media (max-width: 490px) {
    .news-section {
        padding: 24px 13px 48px;
        margin-bottom: 0;
    }

    .news-inner {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 20px;
        border-radius: 15px;
    }

    .section-header {
        margin-bottom: 0;
        padding-left: 12px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-en {
        font-size: 14px;
        margin-top: 4px;
    }

    .news-list {
        gap: 30px;
    }

    .news-item a {
        gap: 10px;
        align-items: flex-start;
    }

    .news-date {
        width: 70px;
        font-size: 15px;
        text-align: right;
        line-height: 1.4;
    }

    .news-divider {
        border-left-width: 0.8px;
        margin: 0;
    }

    .news-title {
        font-size: 14px;
        color: #4a4745;
        line-height: 1.5;
    }
}

/* =========================================
   Top Page - Medical (診療案内)
========================================= */
.medical-section {
    background-color: var(--color-base-bg);
    padding: 0 40px 30px;
}


.medical-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.exam-medical-overview {
    background-color: #fff;
    border-radius: 0 100px 0 0;
    padding: 48px 0 56px;
    width: 100%;
    box-sizing: border-box;
}

.exam-medical-overview .medical-grid {
    margin-bottom: 0;
}

.examination-page-section .medical-section {
    padding: 0 0 30px;
}

.examination-page-section .medical-section>.medical-inner {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

/* 中央揃えの見出し */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.header-line {
    display: inline-block;
    width: 30px;
    height: 3px;
    background-color: var(--color-main);
    border-radius: 2px;
    margin-bottom: 15px;
}

.section-header-center .section-title {
    font-size: 22px;
    color: var(--color-main);
    margin: 0;
    letter-spacing: 0.1em;
}

.section-header-center .section-en {
    display: block;
    font-size: 14px;
    margin-top: 8px;
    font-weight: normal;
}

/* 診療内容グリッド */
.medical-grid {
    max-width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    /* 3列の横並び */
    gap: 30px;
    /* カード同士の隙間 */
    margin-bottom: 50px;
    margin: 0 auto;
}

@media (max-width: 492px) {
    .medical-grid {
        grid-template-columns: repeat(2, 2fr);
    }
}

.medical-grid.exam-medical-grid {
    grid-template-columns: repeat(6, 6fr);
    margin: 0 auto;

}

@media screen and (max-width: 1280px) {
    .medical-grid.exam-medical-grid {
        grid-template-columns: repeat(3, 3fr);
        margin: 0 auto;
    }
}



@media (max-width: 768px) {
    .medical-grid.exam-medical-grid {
        grid-template-columns: repeat(2, 2fr);
        margin: 0 auto;
    }

    .medical-section {
        padding: 0px 20px 30px;
    }
}

/* --- カードのデザイン（通常時） --- */
.medical-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px 20px 20px;
    text-align: center;
    box-shadow: 4px 6px 0 var(--color-shadow);
    /* ベタ塗りの影 */
    /* トランジションを0.2sにして「きゅっ」とした俊敏な動きに */
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease;
    cursor: pointer;
}

.medical-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.card-divider {
    border: none;
    border-top: 1px solid var(--color-main);
    width: 80%;
    margin: 0 auto 15px;
}

.card-title {
    color: var(--color-main);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* --- カードにマウスを乗せた時（きゅっと縮む・押し込まれる動き） --- */
.medical-card:hover {
    /* scale(0.96)で少し縮小、translateY(2px)で沈ませる */
    transform: scale(0.96) translateY(2px);
    /* 縮みと連動して、影も薄く（ペコッと沈んだ状態）表現する */
    box-shadow: 0 0 0 3px var(--color-shadow), 3px 3px 0 2px var(--color-shadow);
}

.medical-card:hover img {
    transform: scale(1);
    /* 奥行き感を出すためイラストは等倍をキープ */
}

/* --- 詳しく見るボタン --- */
.btn-wrap-center {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

.btn-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* STUDIO設定値：ギャップ 6px */
    background-color: #ffffff;
    border-radius: 32px;
    padding: 20px 32px 18px 32px;
    /* STUDIO設定値：パディング */
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    box-shadow: 4px 6px 0 var(--color-shadow);
    /* 背景色と文字色もアニメーションさせる */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* ボタン内のアイコン */
.btn-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-main);
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ボタンにマウスを乗せた時（白地からオレンジ地に反転） */
.btn-detail:hover {
    background-color: var(--color-main);
    /* 背景をオレンジに */
    color: #ffffff;
    /* 文字を白に */
    transform: translateY(2px);
    /* 押し込み効果 */
    box-shadow: 2px 4px 0 #cccccc;
    /* 影を少しグレー寄りに沈ませる */
}

/* ボタンホバー時の中のアイコン（色を白×オレンジに反転） */
.btn-detail:hover .btn-detail-icon {
    background-color: #ffffff;
    color: var(--color-main);
}

/* --- 下部バナーエリア --- */
.banner-grid {
    display: flex;
    gap: 30px;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    /* バナー同士の隙間 */
}

@media screen and (max-width: 768px) {
    .banner-grid {
        max-width: 90%;
    }
}

@media (max-width: 490px) {
    .banner-grid {
        flex-direction: column;
        max-width: 90%;
    }
}

.banner-link {
    flex: 1;
    /* 2本のバナーを同幅にする */
    display: block;
    transition: opacity 0.3s ease;
}

.banner-link:hover {
    opacity: 0.8;
}

.banner-link img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* 柔らかな薄い影 */
}

/* =========================================
   Top Page - Column (クリニックコラム)
========================================= */
.column-section {
    background-color: var(--color-base-bg);
    padding: 0 16px 60px;
    box-sizing: border-box;
}

.column-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.column-section .section-header-center {
    margin-bottom: 24px;
}

.column-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.column-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 16px 10px 8px;
    background-color: #ffffff;
    border-radius: 10px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.column-item:hover {
    opacity: 0.7;
}

.column-item-date {
    order: 1;
    font-size: 12px;
    color: #888888;
    line-height: 1.4;
    flex-shrink: 0;
}

.column-item-title {
    order: 2;
    margin: 0;
    font-size: 14px;
    color: var(--color-main);
    line-height: 1.5;
    font-weight: 500;
}

.column-item-link {
    order: 3;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.column-item-link:focus-visible {
    outline: 2px solid var(--color-main);
    outline-offset: 2px;
}

.column-empty {
    margin: 0;
    text-align: center;
    color: #666666;
    font-size: 14px;
}

.column-btn-wrap {
    display: flex;
    justify-content: center;
}

.column-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 343px;
    min-height: 48px;
    padding: 12px 28px 12px 32px;
    background-color: var(--color-main);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 4px 6px 0 var(--color-shadow);
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.column-more-btn:hover {
    opacity: 0.9;
    color: #ffffff;
    transform: translateY(1px);
}

.column-more-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    color: var(--color-main);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

@media (min-width: 748px) {
    .column-section {
        padding: 0 24px 80px;
    }

    .column-section .section-header-center {
        margin-bottom: 32px;
    }

    .column-list {
        gap: 10px;
        margin-bottom: 40px;
    }

    .column-item {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 12px 20px;
    }

    .column-item-date {
        width: 120px;
        font-size: 14px;
    }

    .column-item-title {
        flex: 1;
        min-width: 0;
        font-size: 15px;
    }

    .column-more-btn {
        width: auto;
        max-width: 100%;
        min-width: 260px;
    }
}

@media (min-width: 1048px) {
    .column-section {
        padding: 0 40px 100px;
    }

    .column-section .section-header-center {
        margin-bottom: 40px;
    }

    .column-list {
        gap: 0;
        background-color: #ffffff;
        border-radius: 15px;
        padding: 32px 40px;
        margin-bottom: 50px;
    }

    .column-item {
        background-color: transparent;
        border-radius: 0;
    }

    .column-item+.column-item {
        margin-top: 20px;
    }

    .column-item {
        padding: 0;
        gap: 24px;
        flex-direction: row;
        align-items: center;
    }

    .column-item-date {
        width: 140px;
        font-size: 15px;
    }

    .column-item-title {
        font-size: 16px;
    }

    .column-more-btn {
        min-width: 280px;
    }
}

/* =========================================
   Top Page - Floating Buttons (追従ボタン)
========================================= */
.fixed-buttons {
    position: fixed;
    z-index: 100;
}

.fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.fixed-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.fixed-btn--web {
    background-color: #DD6E37;
}

.fixed-btn--phone {
    background-color: rgb(78, 174, 181);
}

.fixed-btn-phone-text--mobile {
    display: none;
}

/* デスクトップ：左下の丸ボタン */
@media (min-width: 831px) {
    .fixed-buttons {
        bottom: 30px;
        left: 30px;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .fixed-btn {
        width: 180px;
        height: 180px;
        flex-direction: column;
        border-radius: 50%;
        font-size: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .fixed-btn i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .fixed-btn-phone-text--mobile {
        display: none;
    }
}

/* モバイル：画面下固定バー */
@media (max-width: 830px) {
    body.home {
        padding-bottom: 72px;
    }

    .fixed-buttons {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        gap: 0;
    }

    .fixed-btn {
        flex: 1;
        min-height: 72px;
        flex-direction: row;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 0;
    }

    .fixed-btn i {
        font-size: 22px;
        flex-shrink: 0;
    }

    .fixed-btn--web .fixed-btn-label {
        font-size: 16px;
        white-space: nowrap;
    }

    .fixed-btn--phone .fixed-btn-label--desktop {
        display: none;
    }

    .fixed-btn-phone-text--mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.2;
    }

    .fixed-btn-phone-label {
        font-size: 13px;
        font-weight: 500;
    }

    .fixed-btn-phone-number {
        font-size: 17px;
        font-weight: 500;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 500px) {
    body.home {
        padding-bottom: 68px;
    }

    .fixed-btn {
        min-height: 68px;
        gap: 8px;
        padding: 10px 12px;
    }

    .fixed-btn--web .fixed-btn-label {
        font-size: 14px;
    }

    .fixed-btn i {
        font-size: 20px;
    }

    .fixed-btn-phone-label {
        font-size: 12px;
    }

    .fixed-btn-phone-number {
        font-size: 15px;
    }
}

/* =========================================
   Footer (フッター)
========================================= */

/* --- 1. ご予約・お問い合わせエリア (オレンジ) --- */
.footer-cta {
    background-color: var(--color-main);
    color: #ffffff;
    padding: 60px 20px 70px;
    border-radius: 60px 60px 0 0;
    /* 上の角のみを丸く */
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-line {
    width: 30px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 20px;
    letter-spacing: 0.1em;
}

.cta-en {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

.cta-desc {
    font-size: 20px;
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    /* スマホで縦並びを許可 */
}

/* --- ボタン共通スタイル --- */
.btn-cta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 40px 40px 40px 0;
    /* 左下のみを直角に */
    box-shadow: 0 6px 0 #b35623;
    text-decoration: none;
    font-weight: 500;
    min-width: 280px;
    padding: 15px 30px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.3s ease;
}

@media (max-width: 480px) {
    .btn-cta {
        box-sizing: border-box;
    }
}

/* ホバー用のグラデーション背景を裏側に準備 */
.btn-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a7dcf0, #d6eff5);
    /* 水色グラデーション */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ボタンクリック・ホバー時の押し込み */
.btn-cta:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #b35623;
}

.btn-cta:hover::before {
    opacity: 1;
}

/* --- Web予約ボタン 個別スタイル --- */
.btn-web {
    color: var(--color-main);
    font-size: 18px;
    gap: 12px;
}

.btn-web .icon-calendar {
    font-size: 20px;
}

.btn-web:hover {
    color: #4da0c4;
    /* 水色 */
}

/* --- 電話予約ボタン 個別スタイル --- */
.btn-phone {
    color: var(--color-main);
    gap: 15px;
}

.btn-phone .icon-phone {
    font-size: 16px;
}

.phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.phone-label {
    font-size: 18px;
    margin-bottom: 8px;
}

.phone-number {
    font-size: 20px;
    font-family: sans-serif;
    letter-spacing: 0.05em;
}

.btn-phone:hover {
    color: #ffffff;
    /* 白に変化 */
}

/* --- 2. 下部のナビゲーションエリア --- */
.footer-bottom {
    background-color: #fcfaf6;
    padding: 50px 20px;
    text-align: center;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 17px;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.6;
}

/* --- 下部のInstagramアイコン --- */
.sns-icon i {
    font-size: 24px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 20px;
    max-width: 100%;
    width: auto;
}

.copyright {
    font-size: 12px;
    color: #666666;
    margin: 0;
}

/* =========================================
   Top Page - Schedule (診療時間)
========================================= */
.schedule-section {
    background-color: var(--color-base-bg);
    padding: 100px 40px 100px;
}

.schedule-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 60px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* ▼ ここを追加・調整します ▼ */
    width: 800px;
    /* ←指定したい任意の幅（例：800px や 90% など） */
    max-width: 100%;
    /* ←スマホなどで画面からはみ出さないための保険 */
    margin: 0 auto;
    /* ←【重要】左右の余白を自動計算して真ん中に寄せる */
}

/* スマホ用の横スクロールラッパー */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* テーブル全体の調整 */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    /* 線をぴったり重ねる */
    border-spacing: 0;
    /* セルの隙間をゼロに */
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
}

/* ヘッダー行とセル共通のベース設定（外側の不要な線を一度すべてクリア） */
.schedule-table th,
.schedule-table td {
    padding: 18px 10px;
    vertical-align: middle;
    box-sizing: border-box;
    border: none;
    /* 外側の余計な枠線をなくす */
}

/* 
   【横線の配置】 
   曜日の下（thの下）と、午前行の下（tdの下）にだけ、ブラウンの横線を引く
*/
.schedule-table th {
    font-weight: 500;
    color: var(--color-text);
    padding: 22px 10px;
    border-bottom: 1px solid var(--color-shadow);
    /* 曜日の下の横線 */
}

.schedule-table tbody tr:first-child td {
    border-bottom: 1px solid var(--color-shadow);
    /* 午前行の下の横線 */
}

/* 
   【最重要】最初の一列目（thとtd）の幅設定を完全に固定し、
   曜日のヘッダーから午後まで、1本の綺麗な縦の分割線を引く
*/
.schedule-table th:first-child,
.schedule-table td:first-child {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    border-right: 1px solid #b3b3b3;
    /* 縦の仕切り線（グレー） */
}

/* 左側時間列（午前・午後）のテキストの改行・余白設定 */
.time-col {
    text-align: center;
}

.time-label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

.time-hour {
    display: block;
    font-size: 18px;
    font-weight: 600px;
    color: #666666;
    line-height: 1.3;
}

/* 土曜日の午前中の細かな医師スケジュール */
.sat-detail {
    font-size: 16px;
    color: #666666;
    line-height: 1.4;
    text-align: center;
    padding-left: 10px;
}

/* 休診マーク「休」の赤文字化 */
.closed-day {
    color: #e24343;
    font-weight: 500;
}

/* 下部の注意書き */
.schedule-note {
    font-size: 16px;
    color: var(--color-text);
    margin: 20px 0 0;
    text-align: left;
    font-weight: 500;
}

@media (max-width: 748px) {
    .schedule-section {
        padding: 80px 40px 80px;
    }
}

@media (max-width: 490px) {
    .schedule-section {
        padding: 60px 40px 60px;
    }
}

@media (max-width: 767px) {
    .schedule-card {
        padding: 20px 12px 24px;
        gap: 8px;
    }

    .table-responsive {
        overflow-x: hidden;
    }

    .schedule-table {
        table-layout: fixed;
        width: 100%;
        font-size: 11px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 10px 3px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .schedule-table th {
        padding: 12px 3px;
    }

    .schedule-table th:first-child,
    .schedule-table td:first-child {
        width: 24%;
        min-width: 0;
        max-width: none;
    }

    .time-hour {
        font-size: 9px;
    }

    .sat-detail {
        font-size: 8px;
        line-height: 1.25;
        padding-left: 2px;
        text-align: center;
    }

    .schedule-note {
        font-size: 11px;
        margin-top: 12px;
        line-height: 1.5;
    }
}

@media (max-width: 375px) {
    .schedule-card {
        padding: 18px 10px 22px;
    }

    .schedule-table {
        font-size: 10px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px 2px;
    }

    .time-hour {
        font-size: 8px;
    }

    .sat-detail {
        font-size: 7px;
    }

    .schedule-note {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .schedule-card {
        padding: 14px 6px 18px;
    }

    .schedule-table {
        font-size: 9px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 6px 1px;
    }

    .schedule-table th:first-child,
    .schedule-table td:first-child {
        width: 26%;
    }

    .time-label {
        margin-bottom: 2px;
    }

    .time-hour {
        font-size: 7px;
    }

    .sat-detail {
        font-size: 6.5px;
        line-height: 1.2;
    }

    .schedule-note {
        font-size: 9px;
    }
}

/* =========================================
   Top Page - Access (アクセス・駐車場案内)
========================================= */
.access-section {
    background-color: var(--color-base-bg);
    padding: 0 40px 120px;
}

.access-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* 住所・電話番号のヘッダー部分 */
.access-contact {
    text-align: center;
    margin-bottom: 40px;
}

.access-address,
.access-tel {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 15px;
    color: var(--color-text);
}

.access-address i,
.access-tel i {
    color: var(--color-main);
    /* アイコンをオレンジに */
    margin-right: 8px;
}

.access-tel {
    font-size: 24px;
    letter-spacing: 0.05em;
}

/* 地図とお越しの方リストの横並び */
.map-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr;
    /* 地図とリストのバランス調整 */
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

/* レスポンシブ対応のGoogleマップコンテナ */
.google-map-wrap {
    position: relative;
    width: 100%;
    padding-top: 65%;
    /* アスペクト比の設定 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.google-map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- お越しの方リスト（点線区切りの横並びレイアウト） --- */
.how-to-come {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* 縦の項目同士の隙間 */
}

.come-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    /* 左側ラベル200px、右側説明文は残り全部 */
    gap: 0;
    /* 点線で仕切るためグリッドギャップは0に設定 */
    align-items: center;
    /* 縦方向を中央揃えに */
}

/* 左側のラベル（アイコン＋テキスト） */
.come-label {
    font-weight: bold;
    font-size: 17px;
    color: var(--color-main);
    display: flex;
    align-items: center;
    gap: 12px;
    /* アイコンと文字の隙間 */
    padding-right: 20px;
    /* 点線との間の余白 */
    box-sizing: border-box;
}

.come-label i {
    font-size: 24px;
    /* アイコンを少し大きめに */
    width: 30px;
    /* アイコンの幅を揃えて縦軸を美しく整列 */
    text-align: center;
}

/* 右側の説明文（左側にオレンジの点線を描画） */
.come-text {
    margin: 0;
    font-size: 17px;
    color: var(--color-text);
    line-height: 1.6;
    padding-left: 25px;
    /* 点線とテキストの間の余白 */
    border-left: 1px dotted var(--color-main);
    /* オレンジの境界点線 */
    min-height: 35px;
    /* 点線が短くなりすぎないように高さを確保 */
    display: flex;
    align-items: center;
    /* 説明文自体も縦中央に */
}

/* 駐車場案内（イラスト地図と説明文） */
.parking-info {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.parking-map-img {
    width: 100%;
    max-width: 900px;
    /* イラスト地図の最大サイズ */
}

.parking-map-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 駐車場の解説テキストブロック */
.parking-desc-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    /* 左側にラベル、右側にテキスト */
    width: 100%;
    max-width: 800px;
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.parking-label-main {
    color: var(--color-main);
    font-weight: bold;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.parking-label-main i {
    font-size: 24px;
}

.parking-text-wrap {
    border-left: 1px dotted var(--color-main);
    /* オレンジの境界点線 */
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.parking-text-wrap p {
    margin: 0;
    font-size: 17px;
    color: var(--color-text);
    line-height: 1.6;
}

.parking-p-main {
    font-weight: bold;
}

.parking-sub-text {
    font-size: 14px !important;
    color: #666666 !important;
    margin-top: 4px !important;
}

/* --- 駐車場の写真ギャラリー --- */
.parking-photos {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.photo-group {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.photo-group-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    margin: 0 0 10px;
    width: 100%;
    text-align: center;
}

/* 通常の1枚写真用のコンテナ（第一駐車場） */
.photo-row-1,
.photo-row-2 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.photo-row-1 img,
.photo-row-2 img {
    width: 100%;
    max-width: 680px;
    /* 写真の最大横幅 */
    height: auto;
    border-radius: 12px;
    display: block;
}

/* 第二駐車場用の2列横並びコンテナ */
.photo-row-2col {
    width: 100%;
    max-width: 680px;
    /* 横幅を第一駐車場と揃える */
    display: flex;
    gap: 20px;
    /* 2枚の間の余白 */
    justify-content: center;
}

.photo-col {
    flex: 1;
    /* 2枚を均等に50%幅にする */
}

.photo-col img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

/* --- レスポンシブ対応 (タブレット・スマホサイズ) --- */
@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
        /* スマホでは地図とリストを縦並びに */
        gap: 30px;
    }

    .come-item {
        grid-template-columns: 1fr;
        /* スマホではリスト内も縦並びに */
    }

    .come-label {
        padding-right: 0;
        margin-bottom: 10px;
        /* ラベルとテキストの間の隙間 */
    }

    .come-text {
        border-left: none;
        /* スマホでは左の縦点線を消す */
        border-top: 1px dotted var(--color-main);
        /* 代わりに上に横の点線を表示する */
        padding-left: 0;
        padding-top: 10px;
        min-height: auto;
    }

    .parking-desc-block {
        grid-template-columns: 1fr;
        /* スマホでは縦並びに */
        gap: 15px;
    }

    .parking-text-wrap {
        border-left: none;
        /* 点線位置を上に切り替え */
        border-top: 1px dotted var(--color-main);
        padding-left: 0;
        padding-top: 15px;
    }

    .photo-row-2col {
        flex-direction: column;
        /* 第二駐車場の2枚を縦並びにする */
        gap: 15px;
    }
}

/* =========================================
   Top Page - FAQ (よくある質問)
========================================= */
.faq-section {
    background-color: var(--color-base-bg);
    padding: 0 40px 120px;
}

.faq-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* アコーディオン同士の隙間 */
}

/* アコーディオン全体のカード枠 */
.faq-item {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 4px 6px 0 var(--color-shadow);
    /* ベタ塗りの影 */
    overflow: hidden;
    /* Aが開いたときにはみ出る背景色を角丸の中に収める */
    transition: box-shadow 0.3s ease;

    display: grid;
    grid-template-rows: auto 0fr;
    /* 閉じた状態は高さを0に */

    /* 
       ★【完全修正】
       理想の cubic-bezier(.4, .4, 0, 1) イージングを
       アコーディオンの開閉トランジションに設定
    */
    transition: grid-template-rows .3s cubic-bezier(.4, .4, 0, 1);
}

/* ★開く時（JSで is-open クラスがついた時）：高さを「1fr（最大）」に広げる */
.faq-item.is-open {
    grid-template-rows: auto 1fr;
}

/* デフォルトの三角アイコン（ブラウザ標準）を消去 */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary {
    list-style: none;
    /* Firefoxなど用 */
}

/* 質問エリア (Q) */
.faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* 質問のQ丸アイコン */
.faq-q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-sub);
    /* ブルーグリーン */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 質問テキスト */
.faq-question-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    padding-right: 40px;
    /* 矢印アイコンと被らない余白 */
    line-height: 1.4;
}

/* 右側の矢印（chevron） */
.faq-arrow-icon {
    position: absolute;
    right: 40px;
    color: var(--color-sub);
    font-size: 18px;
    /* 
       ★【完全修正】
       理想の cubic-bezier(.4, .4, 0, 1) イージングを
       右側矢印が回転する際のアニメーションに適用
    */
    transition: transform .3s cubic-bezier(.4, .4, 0, 1);
}

/* 開いた時に矢印を上向きに回転させる */
.faq-item.is-open .faq-arrow-icon {
    transform: rotate(180deg);
}

/* スライド用のラッパー */
.faq-answer {
    min-height: 0;
    overflow: hidden;
    background-color: var(--color-sub);
    /* ブルーグリーン */
}

/* 回答コンテンツの内側 (A) */
.faq-answer-content {
    color: #ffffff;
    padding: 30px 30px;
    display: flex;
    align-items: flex-start;
}

/* 回答のA丸アイコン */
.faq-a-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    /* Aは白地にブルーグリーン文字 */
    color: var(--color-sub);
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 回答テキスト */
.faq-answer-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    padding-top: 8px;
    /* 丸アイコンの高さと合わせる微調整 */
}

/* --- レスポンシブ対応 (スマホ表示) --- */
@media (max-width: 768px) {
    .faq-item {
        width: 345px;
        margin: 0 auto;
    }

    .faq-section {
        padding: 0px 10px 120px;
    }

    .faq-question {
        padding: 20px 15px;
    }

    .faq-answer-content {
        padding: 25px 15px;
    }

    .faq-q-icon,
    .faq-a-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
        margin-right: 15px;
    }

    .faq-question-text {
        font-size: 14px;
        text-align: left;
    }

    .faq-answer-text {
        font-size: 13px;
        padding-top: 6px;
        text-align: left;
    }

    .faq-arrow-icon {
        right: 20px;
    }
}

/* =========================================
   Top Page - Facility (施設基準・加算点数)
========================================= */
.facility-section {
    background-color: var(--color-base-bg);
    padding: 0 40px 150px;
    /* トップページ最後のセクションなので下余白を多めに */
}

.facility-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.facility-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* FAQより少し狭めの隙間 */
}

/* アコーディオンのタイトル部分の調整 */
.facility-title-wrap {
    padding: 25px 30px;
}

.facility-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.5;
}

/* 回答（展開）エリアの調整 */
.facility-content-inner {
    padding: 30px 40px;
    flex-direction: column;
    /* 要素を縦に並べる */
    gap: 20px;
    /* 段落同士の隙間 */
}

.facility-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

/* 注釈テキスト */
.facility-note {
    margin-top: 15px;
}

/* 白丸（●）を使ったリストのスタイル */
.facility-list-dots {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.facility-list-dots li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #ffffff;
}

.facility-list-dots li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
}





/* --- レスポンシブ対応 (スマホ表示) --- */
@media (max-width: 768px) {
    .facility-title-wrap {
        padding: 20px 20px;
    }

    .facility-content-inner {
        padding: 25px 20px;
    }

    .facility-title {
        font-size: 14px;
    }

    .facility-text,
    .facility-list-dots li {
        font-size: 13px;
    }

    .facility-section {
        padding: 0 20px 150px;
    }
}

/* =========================================
   About Page - Common
========================================= */
.about-page-section {
    background-color: #FDF8F3;
}

.about-page-section .breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px 16px;
    font-size: 16px;
    color: #4a4745;
}

.about-page-section .breadcrumb a {
    color: #4a4745;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.about-page-section .breadcrumb a:hover {
    opacity: 0.6;
}

/* =========================================
   About Page - Main Visual
========================================= */
.about-mv {
    max-width: 1200px;
    height: 35dvh;
    margin: 0 auto;
    padding: 0 40px 0;

}



.about-mv-inner {
    position: relative;
}

.about-mv-image {
    border-radius: 20px;
    overflow: hidden;
    height: 25dvh;
}



.about-mv-image img {
    max-height: 100%;
    max-width: 100%;
    width: 95%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto;
}

.about-mv-title {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: #FDF8F3;
    border-radius: 50%;
    padding: 22px 64px 18px;
    text-align: center;
    min-width: 380px;
    height: 170px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-mv-en {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1;
    letter-spacing: 0.05em;
}

.about-mv-ja {
    margin: 0;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.3;
    letter-spacing: 0.08em;
}




@media (max-width: 768px) {
    .about-page-section .breadcrumb {
        padding: 16px 20px 12px;
        font-size: 15px;
    }

    .about-mv {
        padding: 0 20px 0;
    }



    .about-mv-image img {
        aspect-ratio: 16 / 10;
        height: 264px;

    }

    .about-mv-title {
        min-width: 360px;
        max-width: 100%;
        padding: 18px 40px 14px;
        border-radius: 50%;
        bottom: 0;
    }

}

@media (max-width: 480px) {
    .about-mv-title {
        min-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .about-mv-title {
        bottom: 0;
    }
}


.about-mv-en {
    font-size: 14px;
}

.about-mv-ja {
    font-size: 22px;
}


/* =========================================
   About Page - Message
========================================= */
.about-message-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 40px 80px;
}

.about-message-section-title {
    margin: 0 0 36px;
    font-size: 26px;
    font-weight: 500;
    color: #DD6E37;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.about-message-card {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 4px 6px 0 #e6d3c3;
    max-width: 1244px;
    width: 85%;
    margin: 0 auto;
    padding: 30px;

}

.about-message-label-wrap {
    text-align: center;
    margin-bottom: 32px;
}

.about-message-label {
    display: inline-block;
    margin: 0;
    padding: 14px 32px;
    background-color: #DD6E37;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    border-radius: 12px;
    text-align: center;
}

.about-message-text {
    margin: 0 0 28px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.9;
}

.about-message-text.mb0 {
    margin-bottom: 0;
}

.about-message-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-message-wrap {
        padding: 16px 20px 60px;
    }

    .about-message-section-title {
        margin-bottom: 28px;
        font-size: 22px;
    }

    .about-message-card {
        padding: 32px 24px 36px;
    }

    .about-message-label-wrap {
        margin-bottom: 24px;
    }

    .about-message-label {
        padding: 12px 20px;
        font-size: 16px;
    }

    .about-message-text {
        font-size: 16px;
        line-height: 1.85;
        margin-bottom: 24px;
    }
}

/* =========================================
   About Page - Humanitude Intro
========================================= */
.about-humanitude-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
    box-sizing: border-box;
}

.about-humanitude-inner {
    text-align: center;
}

.about-humanitude-title {
    display: inline-block;
    margin: 0 auto 28px;
    padding: 14px 28px;
    background-color: #ffffff;
    color: #DD6E37;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.about-humanitude-text {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.9;
}

.about-humanitude-note {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-humanitude-wrap {
        padding: 0 20px 32px;
    }

    .about-humanitude-title {
        margin-bottom: 20px;
        padding: 12px 16px;
        font-size: 18px;
    }

    .about-humanitude-text {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
    }

    .about-humanitude-note {
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
    }
}

/* =========================================
   About Page - Values (ユマニチュード4つの柱)
========================================= */
.about-values-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.about-values-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.about-value-card {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2.5px solid #DD6E37;
    border-radius: 20px;
    background-color: #fff;
    padding: 50px 12px 70px;
    min-height: 290px;
    text-align: center;
    box-sizing: border-box;
    overflow: visible;
}

.about-value-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    animation: auto;
    aspect-ratio: 1;
    height: auto;
    background-color: #DD6E37;
    color: #ffffff;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
}

.about-value-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 500;
    color: #4a4745ff;
    line-height: 1.5;
}

.about-value-text {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8;
    letter-spacing: 0.1em;
    word-break: auto-phrase;
}

.about-value-illust {
    position: relative;
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 8px;
    min-height: 80px;
}

.about-value-illust img {
    width: 100%;
    max-width: 175px;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -23%;
}

@media (min-width: 841px) {
    .about-values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .about-value-card {
        width: 100%;
        padding: 48px 10px 64px;
        min-height: 300px;
        height: calc(70% - -40px);
    }

    .about-value-illust img {
        max-width: 140px;
        bottom: -100%;
    }

    .about-value-illust .about-value-illust-img-1 {
        bottom: -60%;
    }

}

@media (max-width: 1280px) {
    .about-value-title {
        font-size: 24px;
    }

    .about-value-text {
        font-size: 15px;
    }
}

@media (max-width: 840px) {
    .about-values-wrap {
        padding: 40px 24px 80px;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        max-width: 100%;
    }

    .about-value-card {
        width: 100%;
        min-height: 300px;
        padding: 44px 10px 60px;
        border-radius: 18px;
    }

    .about-value-num {
        width: 64px;
        font-size: 28px;
    }

    .about-value-title {
        margin-bottom: 10px;
    }

    .about-value-text {
        line-height: 1.75;
        letter-spacing: 0.08em;
    }

    .about-value-illust {
        min-height: 72px;
    }

    .about-value-illust img {
        max-width: 145px;
        bottom: -26%;
    }
}

@media (max-width: 768px) {
    .about-values-wrap {
        padding: 40px 20px 80px;
    }

    .about-values-grid {
        gap: 36px 16px;
    }
}

@media (max-width: 490px) {
    .about-values-wrap {
        padding: 32px 12px 64px;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 10px;
        max-width: 100%;
        margin: 0;
    }

    .about-value-card {
        min-height: 0;
        padding: 36px 6px 52px;
        border-radius: 14px;
        border-width: 2px;
    }

    .about-value-num {
        width: 52px;
        font-size: 22px;
    }

    .about-value-title {
        font-size: 20px;
        color: #dd6e37ff;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .about-value-text {
        font-size: 13px;
        line-height: 1.65;
        letter-spacing: 0.04em;
        margin-bottom: 20px;
    }

    .about-value-illust {
        min-height: 56px;
    }

    .about-value-illust img {
        max-width: 100px;
        bottom: -24%;
    }
}

@media (max-width: 375px) {
    .about-values-wrap {
        padding: 28px 10px 56px;
    }

    .about-values-grid {
        gap: 24px 8px;
    }

    .about-value-card {
        padding: 32px 4px 48px;
        border-radius: 12px;
    }

    .about-value-num {
        width: 48px;
        font-size: 20px;
    }

    .about-value-title {
        font-size: 18px;
    }

    .about-value-text {
        font-size: 12px;
        line-height: 1.6;
        letter-spacing: 0.02em;
    }

    .about-value-illust {
        min-height: 50px;
    }

    .about-value-illust img {
        max-width: 88px;
        bottom: -22%;
    }
}

/* =========================================
   About Page - Doctor Greeting
========================================= */
.about-doctor-wrap {
    --about-doctor-left-inset: 20px;
    margin-left: var(--about-doctor-left-inset);
    margin-right: 0;
    padding-bottom: 120px;
    box-sizing: border-box;
}

.about-doctor-inner {
    background-color: #ffffff;
    border-radius: 40px 0 0 20px;
    padding: 56px 60px 64px;
    padding-right: var(--about-doctor-left-inset);
    box-sizing: border-box;
}

.about-doctor-header {
    text-align: center;
    margin-bottom: 0;
}

.about-doctor-header-title {
    margin: 0;
}

.about-doctor-header-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 26px;
    font-weight: 500;
    color: rgb(78, 174, 181);
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.about-doctor-header-lines::before,
.about-doctor-header-lines::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: rgb(78, 174, 181);
    flex-shrink: 0;
}

.about-doctor-header-en {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: rgb(78, 174, 181);
    letter-spacing: 0.05em;
}

.about-doctor-profile {
    margin: 32px 0 36px;
    padding: 28px 0 32px;
    border-top: 1px solid rgb(78, 174, 181);
    border-bottom: 1px solid rgb(78, 174, 181);
}

.about-doctor-profile-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-doctor-name {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
    line-height: 1.5;
}

.about-doctor-name-en {
    margin-left: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.about-doctor-qual-heading {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.about-doctor-qual-text {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 1.7;
}

.about-doctor-qual-text:last-child {
    margin-bottom: 0;
}

.about-doctor-greeting {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgb(78, 174, 181);
    border-radius: 30px;
    padding: 35px 30px;
    color: #ffffff;
}

.about-doctor-greeting-title {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1;
}

.about-doctor-greeting-text {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.8;
    letter-spacing: 0.14em;
    text-align: justify;
}

.about-doctor-history-title {
    margin: 1.8em 0 0;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.8;
    letter-spacing: 0.14em;
}

.about-doctor-history-line {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.8;
    letter-spacing: 0.14em;
}

@media (min-width: 1080px) {
    .about-doctor-wrap {
        --about-doctor-left-inset: max(40px, calc((100vw - 1000px) / 2));
    }
}

@media (max-width: 768px) {
    .about-doctor-wrap {
        --about-doctor-left-inset: 16px;
        padding-bottom: 80px;
    }

    .about-doctor-inner {
        border-radius: 28px 0 0 16px;
        padding: 40px 24px 44px;
    }

    .about-doctor-profile {
        margin-top: 24px;
        margin-bottom: 28px;
        padding: 24px 0 28px;
    }

    .about-doctor-header-lines {
        font-size: 22px;
        gap: 14px;
    }

    .about-doctor-header-lines::before,
    .about-doctor-header-lines::after {
        width: 36px;
    }

    .about-doctor-name {
        font-size: 20px;
    }

    .about-doctor-name-en {
        display: block;
        margin: 4px 0 0;
        font-size: 15px;
    }

    .about-doctor-greeting {
        padding: 32px 24px 36px;
    }

    .about-doctor-greeting-title {
        font-size: 24px;
    }

    .about-doctor-greeting-text,
    .about-doctor-history-title,
    .about-doctor-history-line {
        font-size: 15px;
    }
}

/* =========================================
   Single Post (お知らせ詳細)
========================================= */
.single-post-section {
    background-color: #ffffff;
}

.single-post-wrap {
    margin: 0 auto;
    padding: 0 40px 120px;
    max-width: 1200px;
    box-sizing: border-box;
}

.single-post-inner {
    background-color: #FDF8F3;
    border-radius: 40px 40px 0 0;
    padding: 40px 60px 80px;
    box-sizing: border-box;
}

.single-post-breadcrumb {
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #4a4745;
    line-height: 1.6;
}

.single-post-breadcrumb a {
    color: #4a4745;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single-post-breadcrumb a:hover {
    opacity: 0.6;
}

.single-post-breadcrumb-sep {
    margin: 0 8px;
    color: #4a4745;
}

.single-post-breadcrumb-current {
    color: #DD6E37;
}

.single-post-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.single-post-date-col {
    flex-shrink: 0;
    padding-top: 8px;
}

.single-post-date {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 16px;
    border-left: 2px solid #c8c8c8;
}

.single-post-date-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    line-height: 1.2;
}

.single-post-date-day {
    font-size: 52px;
    font-weight: 500;
    color: #333333;
    line-height: 1;
}

.single-post-main {
    min-width: 0;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.single-post-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid #d9d9d9;
}

.column-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.column-category-link,
.column-category-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background-color: #fff1e8;
    color: var(--color-main);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.column-category-link:hover {
    opacity: 0.75;
}

.column-categories--single .column-category-link,
.column-categories--single .column-category-label {
    font-size: 13px;
    padding: 6px 14px;
}

.single-post-title {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
}

.single-post-thumbnail {
    margin-bottom: 32px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f0ebe4;
}

.single-post-thumbnail-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

.single-post-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    font-size: 15px;
    font-weight: 500;
    color: #999999;
}

.single-post-content {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.9;
}

.single-post-content p {
    margin: 0 0 24px;
}

.single-post-content p:last-child {
    margin-bottom: 0;
}

.single-post-content .post-accent,
.single-post-content strong {
    color: #DD6E37;
    font-weight: 500;
}

.single-post-content a {
    color: inherit;
    text-decoration: none;
}

.single-post-back-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 64px;
}

.single-post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px 18px 32px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 50px;
    box-shadow: 4px 6px 0 #e6d3c3;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-post-back-btn:hover {
    transform: translateY(2px);
    box-shadow: 2px 4px 0 #e6d3c3;
    color: #333333;
}

.single-post-back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #DD6E37;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
}

@media (max-width: 768px) {
    .single-post-wrap {
        padding: 0 16px 80px;
    }

    .single-post-inner {
        border-radius: 28px 28px 0 0;
        padding: 28px 24px 56px;
    }

    .single-post-breadcrumb {
        margin-bottom: 28px;
        font-size: 14px;
    }

    .single-post-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-post-date-col {
        padding-top: 0;
    }

    .single-post-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .single-post-date-day {
        font-size: 42px;
    }

    .single-post-title {
        font-size: 20px;
    }

    .single-post-content {
        font-size: 16px;
        line-height: 1.85;
    }

    .single-post-back-wrap {
        margin-top: 48px;
    }

    .single-post-back-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }
}

/* =========================================
   News Archive (お知らせ一覧)
========================================= */
.news-archive-section {
    background-color: #ffffff;
    padding: 50px 0px 80px 0px;
}

.news-archive-wrap {
    margin: 0 auto;
    padding: 0 40px 120px;
    max-width: 1200px;
    box-sizing: border-box;
}

.news-archive-inner {
    background-color: #FDF8F3;
    border-radius: 40px 40px 0 0;
    padding: 48px 60px 80px;
    box-sizing: border-box;
    width: 100%;
}

.news-archive-header {
    margin-bottom: 40px;
}

.news-archive-heading {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .news-archive-heading {
        flex-direction: column;
    }
}

@media screen and (max-width: 490px) {
    .news-archive-heading {
        align-items: center;

    }

    .news-archive-heading-ja {
        font-size: 14px;
    }
}


.news-archive-heading-en {
    font-size: 56px;
    font-style: italic;
    font-weight: 500;
    color: #333333;
    line-height: 1;
    letter-spacing: 0.04em;
}

.news-archive-heading-ja {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

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

.news-archive-card {
    height: 100%;
}

.news-archive-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 28px 28px 32px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-archive-card-link:has(.news-archive-card-thumb) {
    padding: 0;
}

.news-archive-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0ebe4;
}

.news-archive-card-thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-archive-card-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #999999;
}

.news-archive-card-body {
    padding: 28px 28px 32px;
}

.news-archive-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 4px 6px 0 #e6d3c3;
}

.news-archive-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 14px;
}

.news-archive-card-date {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 16px;
    border-left: 2px solid #c8c8c8;
}

.news-archive-date-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 18px;
    font-weight: 500;
    color: #666666;
    line-height: 1.2;
}

.news-archive-date-day {
    font-size: 44px;
    font-weight: 500;
    color: #333333;
    line-height: 1;
}

.news-archive-card-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
}

.news-archive-card-excerpt {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8;
}

.news-archive-empty {
    margin: 0;
    padding: 80px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
}

.news-archive-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.news-archive-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    background-color: #DD6E37;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.news-archive-more-btn:hover {
    opacity: 0.9;
    transform: translateY(1px);
}

.news-archive-more-btn:disabled,
.news-archive-more-btn.is-loading {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 768px) {
    .news-archive-wrap {
        padding: 0 16px 80px;
    }

    .news-archive-inner {
        border-radius: 28px 28px 0 0;
        padding: 32px 24px 56px;
    }

    .news-archive-heading-en {
        font-size: 42px;
    }

    .news-archive-heading-ja {
        font-size: 14px;
    }

    .news-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-archive-card-link:not(:has(.news-archive-card-thumb)) {
        padding: 24px 22px 28px;
    }

    .news-archive-card-body {
        padding: 24px 22px 28px;
    }

    .news-archive-date-day {
        font-size: 38px;
    }

    .news-archive-card-title {
        font-size: 17px;
    }

    .news-archive-card-excerpt {
        font-size: 14px;
    }

    .news-archive-more-wrap {
        margin-top: 36px;
    }

    .news-archive-more-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* =========================================
   Examination Page - First Visit
========================================= */
.examination-page-section {
    background-color: #FDF8F3;
}

.examination-page-section .breadcrumb {
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px 16px;
    font-size: 16px;
    color: #4a4745;

}

.examination-page-section .breadcrumb a {
    color: #333333;
}

.examination-page-section .breadcrumb a:hover {
    color: #333333;
}

.examination-page-section .breadcrumb span {
    color: #333333;
}

.breadcrumb>span:last-of-type {
    color: #DD6E37;
    font-weight: 700;
}


.exam-first-visit-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.exam-first-visit-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 56px 60px 64px;
    text-align: center;
    box-sizing: border-box;
}

.exam-first-visit-header {
    margin-bottom: 36px;
}

.exam-first-visit-line {
    display: inline-block;
    width: 30px;
    height: 3px;
    background-color: #DD6E37;
    border-radius: 2px;
    margin-bottom: 18px;
}

.exam-first-visit-title {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
    color: #DD6E37;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.exam-first-visit-en {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #DD6E37;
    letter-spacing: 0.05em;
}

.exam-first-visit-text {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: left;
}

.exam-first-visit-text p {
    margin: 0 0 24px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
}

.exam-first-visit-text p:last-child {
    margin-bottom: 0;
}

.exam-text-accent {
    color: #DD6E37;
    font-weight: 500;
}

.exam-first-visit-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    flex-wrap: wrap;
}

.exam-reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 280px;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    border-radius: 40px 40px 40px 0;
}

.exam-reserve-btn:hover {
    transform: translateY(2px);
    box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

.exam-reserve-btn-web {
    background-color: #DD6E37;
}

.exam-reserve-btn-web i {
    font-size: 20px;
}

.exam-reserve-btn-phone {
    background-color: rgb(78, 174, 181);
    gap: 14px;
}

.exam-reserve-btn-phone i {
    font-size: 18px;
}

.exam-reserve-btn-phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.exam-reserve-btn-phone-label {
    font-size: 14px;
    font-weight: 500;
}

.exam-reserve-btn-phone-number {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .exam-medical-overview {
        border-radius: 0 24px 0 0;
        padding: 36px 0 44px;
    }

    .examination-page-section .medical-section>.medical-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .exam-first-visit-wrap {
        padding: 0 20px 60px;
    }

    .exam-first-visit-card {
        padding: 40px 10px 48px;
        border-radius: 24px;
    }

    .exam-first-visit-title {
        font-size: 22px;
    }

    .exam-first-visit-en {
        font-size: 14px;
    }

    .exam-first-visit-text p {
        font-size: 16px;
        line-height: 1.85;
        margin-bottom: 20px;
    }

    .exam-first-visit-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .exam-reserve-btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }
}

/* =========================================
   Examination Page - Vaccination
========================================= */
.exam-vaccination-wrap {
    margin-top: 60px;
}

.exam-details-group {
    margin-top: 20px;
}

.exam-details-group .exam-vaccination-wrap:first-of-type {
    margin-top: 0;
}

.exam-details-header {
    margin-bottom: 40px;
}

.exam-vaccination-card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 48px 60px 56px;
    box-shadow: 4px 6px 0 #e6d3c3;
    text-align: center;
    box-sizing: border-box;
}

.exam-vaccination-header {
    margin-bottom: 28px;
}

.exam-vaccination-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

.exam-vaccination-title i {
    font-size: 24px;
    color: #333333;
}

.exam-vaccination-divider {
    width: 65%;
    max-width: 420px;
    margin: 20px auto 0;
    border: none;
    border-top: 1px solid #333333;
}

.exam-vaccination-intro {
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8;
    text-align: left;
}

.exam-vaccination-intro-wrap {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: left;
}

.exam-vaccination-intro-wrap p {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8;
}

.exam-vaccination-intro-wrap p:last-child {
    margin-bottom: 0;
}

.exam-vaccination-types {
    max-width: 640px;
    margin: 0 auto;
}

.exam-vaccination-types-head {
    padding: 14px 20px;
    background-color: #DD6E37;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border-radius: 12px 12px 0 0;
    line-height: 1.4;
}

.exam-vaccination-types-body {
    padding: 28px 36px 32px;
    background-color: #ffffff;
    border: 1px dotted #DD6E37;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.exam-vaccination-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
    text-align: left;
}

.exam-vaccination-list li {
    position: relative;
    padding-left: 22px;
    font-size: 16px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.6;
}

.exam-vaccination-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: #DD6E37;
    font-size: 14px;
    line-height: 1.6;
}

.exam-vaccination-list-sub {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.5;
}

.exam-treatment-note {
    margin: 24px 0 0;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 768px) {
    .exam-details-header {
        margin-bottom: 32px;
    }

    .exam-vaccination-wrap {
        margin-top: 40px;
    }

    .exam-details-group .exam-vaccination-wrap:first-of-type {
        margin-top: 0;
    }

    .exam-vaccination-card {
        padding: 36px 15px 44px;
        border-radius: 24px;
    }

    .exam-vaccination-title {
        font-size: 20px;
    }

    .exam-vaccination-intro {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .exam-vaccination-intro-wrap p {
        font-size: 16px;
    }

    .exam-vaccination-types-head {
        font-size: 16px;
        padding: 12px 16px;
    }

    .exam-vaccination-types-body {
        padding: 22px 20px 26px;
    }

    .exam-vaccination-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .exam-vaccination-list li {
        font-size: 15px;
    }

    .exam-vaccination-list-sub {
        font-size: 13px;
    }

    .exam-treatment-note {
        font-size: 14px;
        margin-top: 20px;
    }
}

/* =========================================
   Examination Page - Treatment Area Map
========================================= */
.exam-treatment-area {
    max-width: 880px;
    margin: 48px auto 0;
    text-align: left;
}

.exam-treatment-area-box {
    position: relative;
    border: 1px dotted #DD6E37;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 4px 6px 0 #e6d3c3;
    overflow: visible;
}

.exam-treatment-area-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #E88B8B;
    border-radius: 50%;
    z-index: 1;
}

.exam-treatment-area-head {
    padding: 14px 20px;
    background-color: #DD6E37;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    border-radius: 20px 20px 0 0;
}

.exam-treatment-area-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px 40px 36px;
}

.exam-treatment-area-map {
    min-height: 180px;
}

.exam-treatment-area-map img {
    width: 100%;
    height: auto;
    display: block;
}

.exam-treatment-area-text {
    text-align: left;
}

.exam-treatment-area-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
}

.exam-treatment-area-note {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .exam-treatment-area {
        margin-top: 36px;
    }

    .exam-treatment-area-head {
        font-size: 16px;
        padding: 12px 16px;
    }

    .exam-treatment-area-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px 28px;
    }

    .exam-treatment-area-map {
        min-height: 140px;
    }

    .exam-treatment-area-title {
        font-size: 18px;
        text-align: center;
    }

    .exam-treatment-area-note {
        font-size: 14px;
        text-align: center;
    }
}

/* =========================================
   Examination Page - Treatment Services
========================================= */
.exam-treatment-services {
    max-width: 880px;
    margin: 48px auto 0;
    text-align: left;
}

.exam-treatment-services-head {
    padding: 14px 20px;
    background-color: #DD6E37;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border-radius: 12px 12px 0 0;
    line-height: 1.4;
}

.exam-treatment-services-body {
    padding: 28px 36px 32px;
    background-color: #ffffff;
    border: 1px dotted #DD6E37;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.exam-treatment-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.exam-treatment-services-label {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.5;
}

.exam-treatment-services-label:not(:first-child) {
    margin-top: 24px;
}

.exam-treatment-services-text {
    word-break: auto-phrase;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.85;
}

.exam-treatment-services-notes {
    margin-top: 28px;
}

.exam-treatment-services-notes p {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8;
}

.exam-treatment-services-notes p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .exam-treatment-services {
        margin-top: 36px;
    }

    .exam-treatment-services-head {
        font-size: 16px;
        padding: 12px 16px;
    }

    .exam-treatment-services-body {
        padding: 22px 20px 26px;
    }

    .exam-treatment-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .exam-treatment-services-label {
        font-size: 15px;
    }

    .exam-treatment-services-text {
        font-size: 14px;
    }

    .exam-treatment-services-notes {
        margin-top: 22px;
    }

    .exam-treatment-services-notes p {
        font-size: 13px;
    }
}

/* =========================================
   Examination Page - Treatment Info Box
========================================= */
.exam-treatment-info {
    max-width: 880px;
    margin: 48px auto 0;
    box-sizing: border-box;
}

.exam-treatment-info-text {
    margin: 0;
    padding: 20px 30px;
    background-color: rgb(78, 174, 181);
    border-radius: 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .exam-treatment-info {
        margin-top: 36px;
    }

    .exam-treatment-info-text {
        padding: 18px 20px;
        font-size: 14px;
        line-height: 1.8;
        border-radius: 12px;
        text-align: left;
    }
}

/* =========================================
   Examination Page - Usage Flow
========================================= */
.exam-flow-wrap {
    margin-top: 60px;
}

.exam-vaccination-card .faq-list {
    margin-top: 48px;
}

.exam-flow-box {
    overflow: visible;
}

.exam-flow-heading {
    margin: 0;
    padding: 16px 20px;
    background-color: #DD6E37;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    border-radius: 12px 12px 0 0;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.exam-flow-grid {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    gap: 20px;
    padding: 40px 0 80px;
    align-items: start;
    overflow: visible;
}

.exam-flow-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-top: 2px solid #e8d6c5ff;
    border-left: 2px solid #e8d6c5ff;
    border-radius: 20px;
    box-shadow: 5px 5px 0 #e8d6c5;
    padding: 20px 18px 80px;
    text-align: center;
    box-sizing: border-box;
    min-height: 280px;
    width: 100%;
    overflow: visible;
}

.exam-flow-card--consult {
    align-items: flex-start;
    text-align: left;
    min-height: 300px;
}

.exam-flow-card--consult .exam-flow-card-title {
    width: 100%;
    text-align: center;
}

/*
.exam-flow-card--start {
    min-height: 200px;
    padding-bottom: 72px;
}
*/

.exam-flow-card--start {
    min-height: 300px;

}

.exam-flow-card--start .exam-flow-card-title {
    margin-bottom: 0;
}

.exam-flow-card--start .exam-flow-step {
    margin-bottom: 20px;
}

.exam-flow-step {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin: 0 0 12px;
    background-color: #DD6E37;
    color: #ffffff;
    border-radius: 50%;
    line-height: 1;
}

.exam-flow-step-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.exam-flow-step-num {
    margin-top: 2px;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
}

.exam-flow-card-title {
    word-break: auto-phrase;
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 500;
    color: #DD6E37;
    line-height: 1.65;
    letter-spacing: 0.04em;
}

.exam-flow-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    background-color: rgb(78, 174, 181);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.exam-flow-phone-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.exam-flow-phone-btn i {
    font-size: 20px;
}

.exam-flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.exam-flow-list li {
    position: relative;
    padding-left: 1em;
    font-size: 13px;
    font-weight: 500;
    color: #333333;
    line-height: 1.75;
}

.exam-flow-list li+li {
    margin-top: 8px;
}

.exam-flow-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: #333333;
}

.exam-flow-illust {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    max-width: 90%;
    pointer-events: none;
    z-index: 1;
}

.exam-flow-illust--consult {
    width: 150px;
}

.exam-flow-illust--start {
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    width: 150px;
    max-width: 95%;
}

.exam-flow-illust img {
    width: 100%;
    height: auto;
    display: block;
}



@media (max-width: 768px) {
    .exam-flow-wrap {
        margin-top: 40px;
    }

    .exam-flow-heading {
        font-size: 18px;
        padding: 14px 16px;
    }

    .exam-flow-grid {
        grid-template-columns: 1fr;
        gap: 72px;
        padding: 36px 0 70px;
    }

    .exam-flow-card {
        min-height: 0;
        padding: 15px 20px 30px 20px;
        max-width: none;
        align-items: center;
        text-align: center;
        border-top: 2px solid #e8d6c5ff;
        border-left: 2px solid #e8d6c5ff;
    }


    .exam-flow-card--consult {
        align-items: flex-start;
        text-align: left;
    }

    .exam-flow-card--start {
        min-height: 0;
        padding-bottom: 30px;
    }

    .exam-flow-illust {
        bottom: -55px;
        width: 140px;
        left: 82%;
    }

    .exam-flow-illust--start {
        left: 50%;
        transform: translateX(-50%);
        width: 160px;
        bottom: -85px;
        left: 82%;
    }

    .exam-flow-card-title {
        font-size: 17px;
    }

    .exam-flow-phone-btn {
        width: 100%;
        max-width: 230px;
        font-size: 16px;
    }

    .exam-flow-list li {
        font-size: 14px;
    }

    .faq-exam {
        width: 315px;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .exam-flow-illust {
        bottom: -80px;
        width: 120px;
        left: 82%;
    }

    .exam-flow-illust--start {
        bottom: -80px;
        width: 120px;
    }
}

/* =========================================
   スマホ版 診療時間カードの中央寄せ・幅調整
========================================= */
@media (max-width: 768px) {
    .schedule-section {
        padding-left: 15px !important;
        /* スマホ画面の左右の空間を少し狭めて、カード本体を広くする */
        padding-right: 15px !important;
    }

    .schedule-card {
        width: 100% !important;
        /* スマホ画面に合わせてカード幅を最適化 */
        box-sizing: border-box;
        /* 余白が原因で画面外にはみ出すのを防ぐ */
        margin: 0 auto !important;
        /* 強制的に中央寄せ */
    }
}

/* =========================================
   PC/スマホでの改行制御
========================================= */
/* PCでのみ改行させる（スマホでは改行しない） */
.pc-br {
    display: inline;
}

/* スマホでのみ改行させる（PCでは改行しない） */
.sp-br {
    display: none;
}

/* 画面幅768px以下のスマホ表示時の設定 */
@media (max-width: 768px) {
    .pc-br {
        display: none;
    }

    .sp-br {
        display: inline;
    }
}

/* =========================================
   スマホ版 メッセージカードの幅・テキスト領域の拡張
========================================= */
@media (max-width: 768px) {

    /* カード自体の幅を広げ、内側の余白を少し減らす */
    .about-message-card {
        width: 100% !important;
        /* 85%などから100%に広げて画面を有効活用 */
        padding: 32px 16px 36px !important;
        /* 左右のpaddingを24px→16pxにしてテキスト幅を広げる */
        box-sizing: border-box;
    }

    /* オレンジのラベルがスマホではみ出さないように調整 */
    .about-message-label {
        width: 100%;
        box-sizing: border-box;
        padding: 14px 16px !important;
    }

    /* テキスト自体に固定幅がかかっていた場合の保険 */
    .about-message-text {
        width: 100% !important;
        max-width: 100% !important;
    }
}