@charset "utf-8";

/* ----------------基本スタイル------------------ */
:root {
    --primary-green: #7AA270;
    --primary-black: #333333;
    --primary-beige: #FAF3E5;
    --primary-lightgreen: #D2E7CC;
    --primary-white: #FFFFFF;
    --primary-brown: #A97306;
    --primary-palegreen: #EEF4EC;
}

html {
    font-size: 62.5%;
    background-color: var(--primary-white);
}

body {
    font-family:
        'Zen Maru Gothic';
    font-style: normal;
    color: var(--primary-black);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    /* 下線を削除 */
    color: inherit;
    /* 親要素の文字色を継承（紫を防止） */
}

/* -----------------ボタン------------------ */
.button-content {
    display: flex;
    width: 100%;
    padding: 10px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: var(--primary-white);
    color: var(--black, #333);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 2.0rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    border-radius: 30px;
    border: 2px solid var(--green, #7AA270);
    background: var(--white, #FFF);
}


.button-content::after {
    content: "";
    width: 14px;
    height: 14px;
    background-color: var(--primary-green);
    position: relative;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    transition: right .5s ease-in-out;
    margin-left: 8px;
}


/* ボタンにホバー時のエフェクト（色変更など） */
.button-content:hover {
    background-color: var(--primary-green);
    /* 色変更 */
    color: var(--primary-white);
}

.button-content:hover::after {
    background-color: var(--primary-white);
}

/* ----------------------------------------------------
ボタンタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .button-content {
        padding: 10px;
        font-size: 1.6rem;
        border-radius: 30px;
        border: 2px solid var(--primary-green);
    }

}

/* ----------------------------------------------------
ボタンスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .button-content {
        padding: 10px 25px;
        font-size: 1.6rem;
        border-radius: 30px;
        border: 2px solid var(--primary-green);
    }

}


/* -----------------ファーストビューpc------------------ */
.top-fv {
    padding: 30px 6.6%;
    position: relative;

}

.fv-pc {
    margin: 0 auto;
    width: 100%;
    border-radius: 100px 0;

}

.fv__title__box {
    border-radius: 20px;
    background: rgba(122, 162, 112, 0.80);
    backdrop-filter: blur(50px);
    display: inline-flex;
    padding: 10px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: absolute;
    top: 74%;
    left: 9%;
    transform: translateY(-50%);
}

.fv__title {
    color: var(--primary-white);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "Zen Maru Gothic";
    font-size: 4.0rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.fv__subtitle {
    color: var(--primary-white);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.fv-pc,
.fv-sp {
    display: none;
}

.fv-pc.is-active,
.fv-sp.is-active {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 100px 0;
    /* PCの見た目そのまま */
}

#lower-layer-fv {
    padding: 24px 3.8%;
}

.lower-layer-fv {
    display: flex;
    height: 237px;
    justify-content: center;
    align-items: center;
    border-radius: 0 80px;
    background: linear-gradient(90deg, #91B389 0%, #D2E7CC 100%);
}

.lower-layer-fv p {
    color: var(--primary-white);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 4.0rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-skip-ink: none;
    text-decoration-color: #FFF;
    text-decoration-thickness: 11.5%;
    /* 4.6px */
    text-underline-offset: 25%;
    /* 10px */
    text-underline-position: from-font;
}

#medical-subject-fv {
    padding: 24px 3.8%;
}

.medical-subject-fv {
    display: flex;
    height: 237px;
    justify-content: center;
    align-items: center;
    border-radius: 0 80px;
    background-image: url('../images/fv-back.png');
    /* 画像のパスを正しいものに変更 */
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
}

.medical-subject-fv::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -10;
}

.medical-subject-fv p {
    display: inline-block;
    color: var(--primary-green);
    background: rgba(255, 255, 255, 0.80);
    padding: 0.2em 1.4em 0.4em;
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 4.0rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-skip-ink: none;
    text-decoration-color: var(--primary-green);
    text-decoration-thickness: 11.5%;
    /* 4.6px */
    text-underline-offset: 25%;
    /* 10px */
    text-underline-position: from-font;
}


/* ----------------------------------------------------
ファーストビュータブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {


    .fv__title__box {
        position: absolute;
        top: 74%;
        left: 8%;
    }

    .fv__title {
        font-size: 2.4rem;
    }

    .fv__subtitle {
        font-size: 1.6rem;
    }


}

/* ----------------------------------------------------
ファーストビュースマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .top-fv {
        padding: 30px 4%;
    }

    .fv-pc {
        display: none;
    }

    .fv__title__box {
        border-radius: 10px;
        padding: 5px;
        position: absolute;
        top: 76%;
        left: 5%;
    }

    .fv__title {
        color: var(--primary-white);
        font-size: 1.6rem;
    }

    .fv__subtitle {
        font-size: 1.4rem;
    }

    .fv-pc {
        display: none !important;
    }

    .fv-sp.is-active {
        display: block;
        border-radius: 50px 0;
        /* 既存SPデザインに合わせるなら */
    }

    #lower-layer-fv {
        padding: 17px 5.6%;
    }

    .lower-layer-fv {
        height: 100px;
        border-radius: 0 40px;
    }

    .lower-layer-fv p {
        font-size: 2.4rem;
        font-weight: bold;
    }

    #medical-subject-fv {
        padding: 17px 5.6%;
    }

    .medical-subject-fv {
        height: 100px;
        border-radius: 0 40px;
    }

    .medical-subject-fv p {
        font-size: 2.4rem;
        font-weight: bold;
    }

}

/* -----------------ヘッダーpc------------------ */

:root {
    --header-z: 9999;
    --header-bg: #ffffff;
    --header-height: 80px;
    /* おおよその高さ。JSで実測に置き換え可 */
}

header {
    position: sticky;
    position: -webkit-sticky;
    /* Safari対策 */
    top: 0;
    z-index: var(--header-z);
    background: var(--header-bg);
    transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    padding: 30px 50px;
}

/* スクロールしたら少しだけ背景を出して読みやすく */
header.is-scrolled {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}


/* アンカーリンク(#xxx)で隠れないように余白を取る */
html {
    scroll-padding-top: var(--header-height);
}


.h_logo img {
    max-width: 90%;
    margin-top: 8px;
}

.h_inbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-info h1 {
    color: var(--black, #333);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.nav-header {
    display: flex;
    flex-direction: column;
    /* 要素を縦並びにする */
    align-items: flex-end;
    /* 右端に寄せる */
    width: 100%;
    gap: 10px;
    /* 各要素の間に余白 */
}

.close-menu {
    display: none;
}

.main-nav {
    width: 100%;
    display: flex;
    justify-content: end;
    flex: 1;
    gap: 30px;
}

.main-nav a {
    color: var(--black, #333);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.main-nav a:hover {
    color: var(--primary-green);
    /* ホバー時の色を設定（例: 青色） */
    transition: color 0.3s ease;
    /* スムーズに色が変わるようにする */
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* アイコンと番号を右寄せ */
    gap: 8px;
    /* アイコンと番号の間に余白 */
}

.nav-tel-header {
    color: var(--black, #333);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* Hamburger menu for mobile */
.menu {
    display: none;
    cursor: pointer;
}

.menu-icon {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
}

.tel img {
    width: 100%;
    cursor: pointer;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    cursor: pointer;
    color: var(--black, #333);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.dropdown-menu {
    display: none;
    /* 最初は非表示 */
    position: absolute;
    top: 100%;
    /* ボタンの下に表示 */
    left: 0;
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    list-style-type: none;
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 2;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
    /* 左に余白を追加 */
    margin-top: 8px;
}

.dropdown-menu li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    /* 横線の長さ */
    height: 2px;
    /* 横線の太さ */
    background-color: var(--primary-green);
    /* 横線の色 */
    transform: translateY(-50%);
    /* 50%下に配置し、中央に揃える */
}

.dropdown-menu li a {
    text-decoration: none;
    color: #333;
}

.dropdown-menu li a:hover {
    color: var(--primary-green);
    /* ホバー時の色を設定（例: 青色） */
    transition: color 0.3s ease;
    /* スムーズに色が変わるようにする */
}

/* 電話アイコンを非表示 */
.tel {
    display: none;
    margin-top: 10px;
    text-align: right;
}


/* ----------------------------------------------------
ヘッダータブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    header {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        background-color: var(--primary-lightgreen);
        padding: 0 0 0 10px;
    }

    .contact-info h1 {
        color: var(--black, #333);
        font-size: 1.0rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .h_logo img {
        width: 100%;
        max-width: 396px;
        margin-top: 8px;
    }

    .h_inbox {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* nav-header内のtelとmenuを横並びに */
    .nav-header {
        display: flex;
        justify-content: flex-end;
        /* 右端に配置 */
        gap: 2px;
        width: auto;
    }


    .h_logo img {
        width: 100%;
        max-width: 90%;
    }

    .nav-links {
        display: none;
    }

    .sp-actions {
        display: flex;
        gap: 2px;
        /* アイコン間の余白を調整 */
    }

    /* .telの表示・非表示をここで制御 */
    .tel {
        display: block;
        /* SP版で表示 */
        margin-top: 0;
        /* 不要な余白を削除 */
        width: 100%;
        height: 100%;
    }

    /* main-navを非表示にして、ハンバーガーメニューを表示 */
    .main-nav {
        width: 100%;
        display: none;
        /* 初期状態では非表示 */
        position: fixed;
        /* 画面全体に表示 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* 画面いっぱいに広がる */
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        /* コンテンツを縦に中央揃え */
        align-items: center;
        z-index: 1000;
        /* 他の要素より前に表示 */
        transition: opacity 0.3s ease;
        /* スムーズに表示される */
    }

    .main-nav.open {
        display: flex;
        /* メニューが表示される */
    }

    .menu {
        display: flex;
        /* Flexboxコンテナとして設定 */
        flex-direction: column;
        /* 子要素を縦に並べる */
        justify-content: center;
        /* 垂直方向の中央寄せ */
        align-items: center;
        /* 水平方向の中央寄せ */
        cursor: pointer;
        background-color: var(--primary-green);
        width: 100%;
    }

    .menu-icon {
        width: 25px;
        height: 1px;
        background-color: var(--primary-white);
        margin: 5px;
    }

    /* 閉じるボタンのスタイル */
    .close-menu {
        display: block;
        font-size: 3rem;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        color: #333;
    }

    .dropdown {
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        display: none;
        /* 最初は非表示 */
        width: 100%;
        /* ドロップダウンメニューが横いっぱいに広がる */
        padding: 0x;
        background-color: #fff;
        box-shadow: none;
        text-align: center;
        border-radius: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

}

/* ----------------------------------------------------
ヘッダースマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {

    header {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        background-color: var(--primary-lightgreen);
        padding: 0 0 0 10px;
    }

    .contact-info h1 {
        color: var(--black, #333);
        font-size: 0.6rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .h_logo img {
        width: 100%;
        max-width: 396px;
        margin-top: 8px;
    }

    .h_inbox {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* nav-header内のtelとmenuを横並びに */
    .nav-header {
        display: flex;
        justify-content: flex-end;
        /* 右端に配置 */
        gap: 2px;
        width: auto;
    }


    .h_logo img {
        width: 100%;
        max-width: 90%;
    }

    .nav-links {
        display: none;
    }

    .sp-actions {
        display: flex;
        gap: 2px;
        /* アイコン間の余白を調整 */
    }

    /* .telの表示・非表示をここで制御 */
    .tel {
        display: block;
        /* SP版で表示 */
        margin-top: 0;
        /* 不要な余白を削除 */
        width: 100%;
        height: 100%;
    }

    /* main-navを非表示にして、ハンバーガーメニューを表示 */
    .main-nav {
        width: 100%;
        display: none;
        /* 初期状態では非表示 */
        position: fixed;
        /* 画面全体に表示 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* 画面いっぱいに広がる */
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        /* コンテンツを縦に中央揃え */
        align-items: center;
        z-index: 1000;
        /* 他の要素より前に表示 */
        transition: opacity 0.3s ease;
        /* スムーズに表示される */
    }

    .main-nav.open {
        display: flex;
        /* メニューが表示される */
    }

    .menu {
        display: flex;
        /* Flexboxコンテナとして設定 */
        flex-direction: column;
        /* 子要素を縦に並べる */
        justify-content: center;
        /* 垂直方向の中央寄せ */
        align-items: center;
        /* 水平方向の中央寄せ */
        cursor: pointer;
        background-color: var(--primary-green);
        width: 100%;
    }

    .menu-icon {
        width: 25px;
        height: 1px;
        background-color: var(--primary-white);
        margin: 5px;
    }

    /* 閉じるボタンのスタイル */
    .close-menu {
        display: block;
        font-size: 3rem;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        color: #333;
    }

    .dropdown {
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        display: none;
        /* 最初は非表示 */
        width: 100%;
        /* ドロップダウンメニューが横いっぱいに広がる */
        padding: 0x;
        background-color: #fff;
        box-shadow: none;
        text-align: center;
        border-radius: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

}

/* -----------------フッターpc------------------ */
footer {
    padding: 80px 6.1%;
    margin: 0 auto;
}

footer .button {
    margin: 18px 0;
}

.footer-summary img {
    margin: 0 auto;
}

.footer-information-map {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    margin-top: 80px;
    column-gap: 5%;
}

.footer-information {
    text-align: center;
}

.tel-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-summary .footer-tell {
    margin: 0;
}

.tel-links a {
    color: var(--black, #333);
    font-size: 4.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* 診療時間表 */
footer .schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;

}

footer .schedule-table thead {
    border-bottom: 18px solid transparent;
    /* 下に18pxの透明なボーダーを追加 */
}

footer .schedule-table tbody td {
    padding-top: 18px;
    /* tbody の上部に18pxの余白を追加 */
}

footer .schedule-table thead {
    border-bottom: 1px solid #333;
}

footer .schedule-table tbody tr:nth-child(1) {
    border-bottom: 1px solid #333;
}

footer .schedule-table tbody tr:nth-child(2) {
    border-bottom: 1px solid #333;
}

footer .schedule-table th {
    padding: 10px;
    color: var(--black, #333);
    text-align: center;
    font-size: 2.0rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0 20px;
    white-space: nowrap;
}

footer .schedule-table td {
    color: var(--black, #333);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 2.0rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0 20px;
    white-space: nowrap;
}

footer .schedule-table th {
    font-weight: bold;
}


footer .schedule-table tbody tr .time {
    color: var(--black, #333);
}

footer .schedule-table .open {
    color: var(--primary-green);
}

/* ノート部分 */
.footer-note {
    font-size: 1.4rem;
    color: var(--primary-black);
    margin-top: 10px;
    text-align: center;
}

/* map部分 */

.footer-map iframe {
    width: 549px;
    height: 325px;
}

.footer-map p {
    color: #000;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


/* footerナビゲーション部分 */

.nav-footer {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: start;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 54px;
    text-align: center;
}

.nav-footer-title {
    color: var(--green, #7AA270);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.10);
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.nav-footer-title:hover {
    color: var(--primary-lightgreen);

}

.footer-dropdown {
    margin: 0 auto;
    color: var(--green, #7AA270);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.10);
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.footer-dropdown-menu {
    list-style-type: none;
    margin-top: 23px;
    margin: 0 auto;
}


.footer-dropdown-menu li {
    display: flex;
    align-items: center;
    /* 横並びにする */
    position: relative;
    padding-left: 20px;
    /* 左に余白を追加 */
    margin-top: 8px;
}

.footer-dropdown-menu li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    /* 横線の長さ */
    height: 2px;
    /* 横線の太さ */
    background-color: var(--primary-green);
    /* 横線の色 */
    transform: translateY(-50%);
    /* 50%下に配置し、中央に揃える */
}

.footer-dropdown-menu li a {
    color: var(--primary-black);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.footer-dropdown-menu li a:hover {
    color: var(--primary-green);
}

/* コピーライト */

.l-copyright {
    text-align: center;
    display: block;
    color: #000;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}




/* ----------------------------------------------------
フッタータブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    footer {
        padding: 40px 8.5%;
    }

    footer .button {
        margin: 18px 0;
    }

    .footer-information-map {
        display: block;
        margin-top: 40px;
    }

    .footer-tell {
        width: 28px;
    }

    .tel-links a {
        font-size: 3.2rem;
    }

    /* 診療時間表 */

    footer .schedule-table tbody td {
        padding-top: 8px;
        /* tbody の上部に8pxの余白を追加 */
    }


    footer .schedule-table th {
        white-space: normal;
        /* 折り返し */
        word-break: keep-all;
        /* 日本語の不自然な分割を抑制（必要なら normal） */
        padding: 0;
        /* 余白縮小 */
        font-size: 1.6rem;
    }

    .footer-schedule {
        padding: 0 20px;

    }

    footer .schedule-table td {
        white-space: normal;
        /* 折り返し */
        word-break: keep-all;
        /* 日本語の不自然な分割を抑制（必要なら normal） */
        padding: 0;
        /* 余白縮小 */
        font-size: 1.6rem;
        padding: 0 15px;
    }


    /* ノート部分 */
    .footer-note {
        font-size: 1.0rem;
        color: var(--primary-black);
        margin-top: 2px;
        text-align: center;
    }

    /* map部分 */
    .footer-map {
        width: 100%;
        /* 親要素の幅を100%に設定 */
        margin-top: 37px;
        text-align: center;
    }

    .footer-map iframe {
        width: 100%;
    }

    .footer-map p {
        font-size: 1.0rem;
    }


    /* footerナビゲーション部分 */

    .nav-footer {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 40px;
    }

    .nav-footer-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
		.footer-dropdown {
		font-size: 1.6rem;
	}

    .footer-dropdown-menu {
        margin-top: 17px;
        margin-bottom: 25px;
    }

    .footer-dropdown-menu li {
        display: flex;
        align-items: center;
        /* 横並びにする */
        position: relative;
        padding-left: 20px;
        /* 左に余白を追加 */
        margin-top: 8px;
    }

    /* コピーライト */

    .l-copyright {
        font-size: 1.0rem;
    }
}

/* ----------------------------------------------------
フッタースマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    footer {
        padding: 40px 8.5%;
    }

    footer .button {
        margin: 18px 0;
    }

    .footer-information-map {
        display: block;
        margin-top: 40px;
    }

    .footer-tell {
        width: 28px;
    }

    .tel-links a {
        font-size: 3.2rem;
    }

    /* 診療時間表 */

    footer .schedule-table tbody td {
        padding-top: 8px;
        /* tbody の上部に8pxの余白を追加 */
    }


    footer .schedule-table th {
        white-space: normal;
        /* 折り返し */
        word-break: keep-all;
        /* 日本語の不自然な分割を抑制（必要なら normal） */
        padding: 0;
        /* 余白縮小 */
        font-size: 1.0rem;
    }

    footer .schedule-table td {
        white-space: normal;
        /* 折り返し */
        word-break: keep-all;
        /* 日本語の不自然な分割を抑制（必要なら normal） */
        padding: 0;
        /* 余白縮小 */
        font-size: 1.0rem;
    }


    /* ノート部分 */
    .footer-note {
        font-size: 1.0rem;
        color: var(--primary-black);
        margin-top: 2px;
        text-align: center;
    }

    /* map部分 */
    .footer-map {
        width: 100%;
        /* 親要素の幅を100%に設定 */
        margin-top: 37px;
        text-align: center;
    }

    .footer-map iframe {
        width: 100%;
        height: 180px;
        /* 固定の高さを指定（必要に応じて調整） */
    }

    .footer-map p {
        font-size: 1.0rem;
    }


    /* footerナビゲーション部分 */

    .nav-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-footer-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
	.footer-dropdown {
		font-size: 1.6rem;
	}

    .footer-dropdown-menu {
        margin-top: 17px;
        margin-bottom: 25px;
    }

    .footer-dropdown-menu li {
        display: flex;
        align-items: center;
        /* 横並びにする */
        position: relative;
        padding-left: 20px;
        /* 左に余白を追加 */
        margin-top: 8px;
    }

    /* コピーライト */

    .l-copyright {
        font-size: 1.0rem;
    }

}

/* ----------------パンくずリスト------------------ */
#breadcrumbs {
    padding: 23px 9.2%;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    color: #000;
    text-align: center;
    font-family: "BIZ UDPGothic";
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.breadcrumb li:not(:last-of-type)::after {
    content: "/";
    margin: 0 .6em;
    /* 記号の左右の余白 */
    color: #777;
    /* 記号の色 */
}

/* ----------------------------------------------------
パンくずリストスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    #breadcrumbs {
        padding: 15px 9.3%;
    }

    .breadcrumb {
        font-size: 1.0rem;
        line-height: normal;
    }

    .breadcrumb li:not(:last-of-type)::after {
        content: "/";
        margin: 0 .6em;
        /* 記号の左右の余白 */
        color: #777;
        /* 記号の色 */
    }
}

/* -----------------スライダー------------------ */
#slider-container {
    padding: 18px 9.1%;
}

.slider_thumb.slider:nth-of-type(2) {
    display: none;
}

.sliderArea {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}

.sliderArea.w300 {
    max-width: 300px;
}

.slick-slide {
    margin: 0 5px;
}

.slick-slide img {
    width: 100%;
    height: auto;
}

.slick-dots {
    display: none !important;
}

/* 矢印が表示される位置を調整 */
.slick-prev {
    left: 10px;
    /* 左側の矢印位置 */
}

.slick-next {
    right: 10px;
    /* 右側の矢印位置 */
}

.slick-prev:before,
.slick-next:before {
    content: '' !important;
    /* '←' と '→' を削除 */
}

/* 左向き三角形 */
.slick-prev:before {
    content: '';
    display: block;
    position: relative;
    width: 15px;
    height: 15px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    background-color: var(--primary-green);
}

/* 右向き三角形 */
.slick-next:before {
    content: '';
    display: block;
    position: relative;
    width: 15px;
    height: 15px;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    background-color: var(--primary-green);
}

.slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
}

.slick-active {
    opacity: 1;
}

.slick-current {
    opacity: 1;
}

.thumb {
    margin: 20px 0 0;
}

.thumb .slick-slide {
    cursor: pointer;
}

.thumb .slick-slide:hover {
    opacity: .7;
}

.thumb .slick-prev,
.thumb .slick-next {
    z-index: 100;
    /* サムネイルスライダーの矢印にも z-index を適用 */
}

/* ----------------------------------------------------
スライダータブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {}

/* ----------------------------------------------------
スライダースマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    #slider-container {
        padding: 30px 3.5%;
    }

    .slider_thumb.slider:nth-of-type(2) {
        display: block;
    }

    .slider_thumb.slider:nth-of-type(1) {
        display: none;
        /* 1つ目のスライダーを非表示 */
    }

    .thumb.slick-slider {
        display: none !important;
    }

    /* ドットを中央下に */
    .slick-dots {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        gap: 0px;
        justify-content: center;
        display: block;
    }

    .slick-dots li button:before {
        content: '•';
        font-size: 1.4rem;
        color: var(--primary-lightgreen) !important;
        opacity: 1 !important;
    }

    .slick-dots li.slick-active button:before {
        color: var(--primary-green) !important;
    }

    /* 矢印（すでにお持ちの三角でOK）*/
    .slick-prev {
        left: 10px;
        z-index: 2;
    }

    .slick-next {
        right: 10px;
        z-index: 2;
    }

    .slick-prev:before,
    .slick-next:before {
        content: '' !important;
    }

    .slick-prev:before {
        display: block;
        width: 15px;
        height: 15px;
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
        background: var(--primary-green);
    }

    .slick-next:before {
        display: block;
        width: 15px;
        height: 15px;
        clip-path: polygon(0 0, 0 100%, 100% 50%);
        background: var(--primary-green);
    }
}