@charset "UTF-8";

/* =========================================================
   変数定義
========================================================= */
:root {
    --font-title: 'M PLUS Rounded 1c', sans-serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-english: 'Noto Serif JP', serif;
    --color-main: #f3a800; /* オレンジ/黄色系 */
    --color-text: #333333;
    --color-bg: #f9f9f9;
}

/* =========================================================
   リセット＆ベース
========================================================= */
* {
    margin: 0; padding: 0; box-sizing: border-box;
}
body {
    font-family: var(--font-gothic);
    color: var(--color-text);
    line-height: 1.6;
    background-color: #fff;
    padding-top: 0px; 
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* 共通コンポーネント */
.l-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* スクロールアニメーション */
.js-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ユーティリティ */
@media screen and (max-width: 768px) {
    .u-hidden-sp { display: none !important; }
}
@media screen and (min-width: 769px) {
    .u-hidden-pc { display: none !important; }
}

/* =========================================================
   共通タイトル・ボタン
========================================================= */
.c-sec-title {
    text-align: center;
    margin-bottom: 40px;
}
.c-sec-title__en {
    font-family: 'rollerscript-smooth', sans-serif !important;
    color: var(--color-main);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}
.c-sec-title h1,
.c-sec-title h2 {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 2rem;
    font-weight: 700;
}
.c-sec-title--line h1,
.c-sec-title--line h2 {
    position: relative;
    padding-bottom: 20px;
}
.c-sec-title--line h1::after,
.c-sec-title--line h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 2px;
    background-color: var(--color-main);
}

.c-btn-wrap {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 40px;
}
.c-btn-wrap--left {
    text-align: left;
}

/* 従来のオレンジボタン */
.c-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    transition: opacity 0.3s;
}
.c-btn:hover {
    opacity: 0.8;
}
.c-btn--yellow {
    background-color: var(--color-main);
    color: #fff;
}
.c-btn--square {
    border-radius: 4px !important;
}

/* 黒丸＋テキストの共通リンクボタン */
.c-btn-circle-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s;
}
.c-btn-circle-arrow:hover {
    opacity: 0.6;
}
.c-btn-circle-arrow .arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    background-color: #111;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-family: sans-serif;
    padding-left: 2px;
}
/* シンプルな黒枠線のリンクボタン（背景白・角丸・反転） */
.c-btn-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 15px 20px;
    color: var(--color-text);
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.c-btn-simple:hover {
    background-color: var(--color-text); /* 反転（黒） */
    color: #fff; /* 文字を白に */
    border-color: var(--color-text);
}
.c-btn-simple .arrow {
    color: #000;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    transition: color 0.3s ease;
}
.c-btn-simple:hover .arrow {
    color: #fff;
}

/* =========================================================
   ヘッダー (HEADER)
========================================================= */
.l-header {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1300px;
    background: rgba(255, 255, 255, 0.95); 
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 1100; 
}
.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px; 
}
.l-header__logo img { 
    height: 35px; 
}
.l-header__nav {
    display: flex;
    align-items: center;
}
.l-header__nav ul {
    display: flex;
    align-items: center;
    gap: 15px; 
    list-style: none;
    margin-right: 20px; 
}
.l-header__nav a {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    transition: color 0.3s;
}
.l-header__nav a:hover {
    color: var(--color-main);
}
.l-header__tel a {
    display: flex;
    align-items: center;
    font-size: 20px; 
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: bold;
    color: var(--color-main);
}
.l-header__tel .icon {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}
.l-header__tel .icon img {
    height: 18px; 
}

@media screen and (max-width: 768px) {
    .l-header {
        top: 10px;
        width: 94%;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    .l-header__inner { 
        padding: 8px 15px;
    }
}

/* =========================================================
   ハンバーガー ＆ ドロワー (SP)
========================================================= */
.c-hamburger {
    width: 30px; height: 24px;
    position: relative;
    background: none; border: none; cursor: pointer;
    z-index: 1001;
}
.c-hamburger span {
    position: absolute; left: 0;
    width: 100%; height: 2px;
    background: var(--color-main);
    transition: all 0.3s;
}
.c-hamburger span:nth-child(1) { top: 0; }
.c-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.c-hamburger span:nth-child(3) { bottom: 0; }
.c-hamburger.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.c-hamburger.is-active span:nth-child(2) { opacity: 0; }
.c-hamburger.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.l-drawer {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(255, 255, 255, 0.96); 
    backdrop-filter: blur(10px); 
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding-top: 75px;
}
.l-drawer.is-active { transform: translateX(0); }

.l-drawer__inner {
    max-width: 500px;
    margin: 0 auto;
    padding: 10px 25px 40px;
}

/* アコーディオンメニュー (SP) */
.p-sp-menu {
    margin-bottom: 30px;
}
.p-sp-menu__item {
    border-bottom: 1px solid #eaeaea;
}
.p-sp-menu__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.p-sp-menu__link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1;
}
.p-sp-menu__link .num {
    color: var(--color-main);
    font-size: 12px;
    font-weight: 900;
    margin-right: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}
.p-sp-menu__toggle {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.p-sp-menu__toggle .icon {
    position: relative;
    width: 14px;
    height: 14px;
}
.p-sp-menu__toggle .icon::before,
.p-sp-menu__toggle .icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.p-sp-menu__toggle .icon::before {
    top: 50%; left: 0; width: 100%; height: 2px;
    transform: translateY(-50%);
}
.p-sp-menu__toggle .icon::after {
    top: 0; left: 50%; width: 2px; height: 100%;
    transform: translateX(-50%);
}
.p-sp-menu__toggle.is-open .icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.p-sp-menu__child {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.p-sp-menu__child-inner {
    padding-left: 28px;
    padding-bottom: 20px;
}
.p-sp-menu__child-inner li a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
}

/* メニュー下部のボタンエリア */
.l-drawer__btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.l-drawer__btns .c-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
    border-radius: 4px; 
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
.l-drawer__btns .c-btn--tel {
    background-color: var(--color-main);
    font-size: 22px;
    font-family: 'Noto Sans JP', sans-serif !important;
}
.l-drawer__recruit {
    display: flex;
    gap: 10px;
}
.l-drawer__recruit .c-btn--blue {
    background-color: #00B7CE; 
    flex: 1; 
    padding: 15px 5px; 
}


/* =========================================================
   フローティング要素
========================================================= */
/* PC 右フローティング */
.l-float-pc {
    position: fixed;
    top: 50%; right: 0;
    transform: translateY(-50%);
    z-index: 1150;
    display: flex; flex-direction: column; gap: 10px;
}
.l-float-pc__btn {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 8px; 
    padding: 15px 10px;
    background: var(--color-main);
    color: #fff;
    border: none; 
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    transition: all 0.3s ease; 
    box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
}
.l-float-pc__btn:hover {
    transform: translateX(-8px); 
    background: #ffb81f; 
}
.l-float-pc__btn .icon { font-size: 18px; line-height: 1; }
.l-float-pc__btn .icon img { width: 20px; height: auto; }
.l-float-pc__btn .text {
    writing-mode: vertical-rl; 
    letter-spacing: 2px;
}

/* PC パネル */
.l-float-pc__panel {
    position: fixed;
    top: 50%; 
    right: -750px; 
    transform: translateY(-50%);
    background: #fff;
    box-shadow: -2px 0 15px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    padding: 40px 30px 30px; 
    width: 700px; 
    z-index: 1150;
    border-radius: 10px 0 0 10px;
}
.l-float-pc__panel.is-active { right: 50px; }
.l-float-pc__close {
    position: absolute; top: 10px; right: 15px;
    font-size: 28px; cursor: pointer; background: none; border: none; color: #666;
    transition: color 0.3s;
}
.l-float-pc__close:hover { color: #000; }
.p-float-reserve p {
    font-size: 15px; line-height: 1.8; margin-bottom: 10px;
}
.p-float-reserve .u-text-red {
    color: #e60000; margin-bottom: 25px;
}

/* SP 下部フローティング */
.l-float-sp {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    z-index: 90;
}
.l-float-sp__btns {
    display: flex;
    background: var(--color-main);
    padding: 8px 0;
}
.l-float-sp__btn {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center; 
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: bold;
    background: transparent; 
    border-top: none;
    border-bottom: none;
    border-left: none;
    padding: 6px 2px;
}
.l-float-sp__btn:last-child { border-right: none; }

.l-float-sp__btn img {
    width: 16px;
    height: auto;
    display: block;
}

.l-float-sp__panel {
    position: absolute;
    bottom: 100%; left: 0; width: 100%;
    background: #fff;
    transform: translateY(100%);
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.l-float-sp__panel.is-active {
    transform: translateY(0); opacity: 1; visibility: visible;
}
.l-float-sp__panel-inner { 
    position: relative; padding: 35px 10px 15px; 
}
.l-float-sp__close {
    position: absolute; top: 5px; right: 15px; font-size: 28px; color: #666;
    background: none; border: none; cursor: pointer; z-index: 10;
}

/* =========================================================
   セクション共通 & 診療時間表 (全ページ・フローティング共通)
========================================================= */
.p-section { padding: 80px 0; }

.p-schedule__table-wrap { overflow-x: auto; margin-bottom: 20px; }
.p-schedule__table { display: grid; grid-template-columns: 120px repeat(7, minmax(30px, 1fr)); border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; min-width: 500px; }
.p-schedule__table li { padding: 12px 2px; text-align: center; display: flex; justify-content: center; align-items: center; border-bottom: 1px solid #ddd; font-size: 14px; }
.p-schedule__table li:nth-last-child(-n+8) { border-bottom: none; }
.p-schedule__table .is-time { justify-content: flex-start; padding-left: 5px; font-family: 'Noto Sans JP', sans-serif; font-weight: 500; }
.p-schedule__table .is-sat { color: #0066cc; }
.p-schedule__table .is-sun { color: #cc0000; }
.p-schedule__table .is-disabled { color: #999; }
.p-schedule__table .u-note { font-size: 10px; margin-left: 2px; }
.p-schedule__notes { text-align: right; font-size: 12px; line-height: 1.6; }

@media screen and (max-width: 768px) {
    .p-schedule__table-wrap { margin: 0 -10px 20px; }
    .p-schedule__table { min-width: 100%; grid-template-columns: 85px repeat(7, 1fr); }
    .p-schedule__table li { padding: 8px 0; font-size: 12px; }
    .p-schedule__table .is-time { font-size: 11.5px; padding-left: 2px; letter-spacing: -0.5px; }
    
    .l-float-sp__panel .p-schedule__table-wrap {
        margin: 0 10px 20px; 
    }
}

/* =========================================================
   お問い合わせ (CONTACT) ※共通
========================================================= */
.p-contact {
    position: relative;
    padding: 100px 0;
    color: #fff; 
    text-align: center;
    background-color: #333; 
}
.p-contact__bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: 1;
}
.p-contact__bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
}
.p-contact__inner {
    position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
}
.c-sec-title--contact .c-sec-title__en { color: #fff; }
.c-sec-title--contact h2 {
    color: #fff; position: relative; padding-bottom: 20px; margin-bottom: 40px;
}
.c-sec-title--contact h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 1px; background-color: #fff; 
}
.p-contact__tel-wrap { margin-bottom: 30px; }
.p-contact__tel {
    display: block; font-family: 'Noto Sans JP', sans-serif !important; font-size: 4rem;
    font-weight: bold; color: #fff; line-height: 1.2; margin-bottom: 20px;
    transition: opacity 0.3s;
}
.p-contact__tel:hover { opacity: 0.8; }
.p-contact__time, .p-contact__address, .p-contact__link {
    font-size: 1rem; line-height: 1.8; color: #fff;
}
.p-contact__address { margin-bottom: 20px; }
.p-contact__link a {
    text-decoration: underline; text-underline-offset: 4px; transition: opacity 0.3s; color: #fff; font-weight: bold;
}
.p-contact__link a:hover { opacity: 0.7; }
@media screen and (max-width: 768px) {
    .p-contact { padding: 60px 0; }
    .c-sec-title--contact h2 { font-size: 1.5rem; }
    .p-contact__tel { font-size: 2.5rem; margin-bottom: 15px; }
    .p-contact__time, .p-contact__address, .p-contact__link { font-size: 0.9rem; }
}

/* =========================================================
   アクセス (ACCESS) ※共通
========================================================= */
.p-access {
    display: flex; justify-content: space-between; gap: 50px; align-items: stretch;
}
.p-access__map { width: 50%; }
.p-access__map iframe {
    width: 100%; height: 100%; min-height: 350px; border-radius: 8px; display: block;
}
.p-access__info {
    width: 50%; display: flex; flex-direction: column; justify-content: center;
}
.p-access__list { margin-bottom: 30px; }
.p-access__item {
    display: flex; align-items: flex-start; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.6;
}
.p-access__item dt {
    width: 170px; font-weight: bold; display: flex; align-items: center; flex-shrink: 0;
}
.p-access__item dt .icon {
    margin-right: 10px; color: var(--color-main); font-size: 1.2rem; width: 20px; text-align: center;
}
.p-access__item dd { flex: 1; }
.p-access__btns { display: flex; gap: 15px; }

@media screen and (max-width: 768px) {
    .p-access { flex-direction: column; gap: 30px; }
    .p-access__map, .p-access__info { width: 100%; }
    .p-access__map iframe { min-height: 250px; }
    .p-access__item { flex-direction: column; margin-bottom: 20px; }
    .p-access__item dt { width: 100%; margin-bottom: 5px; }
    .p-access__item dd { padding-left: 30px; font-size: 0.9rem; }
    .p-access__btns { flex-direction: column; gap: 15px; }
}

/* =========================================================
   フッター (FOOTER)
========================================================= */
.l-footer {
    background: #333; color: #fff; padding: 70px 0 20px; margin-top: 0; font-size: 13px; position: relative;
}
.p-footer-inner {
    display: flex; justify-content: space-between; gap: 80px; margin-bottom: 50px;
}
.p-footer-col--left { flex: 1; }
.p-footer-col--right { width: 320px; flex-shrink: 0; }
.p-footer-logo { margin-bottom: 20px; }
.p-footer-logo img { height: 45px; width: auto; display: block; }
.p-footer-desc { margin-bottom: 40px; color: #eee; font-size: 13px; letter-spacing: 0.05em; }
.p-footer-sitemap { margin-bottom: 50px; }
.p-footer-sitemap li { display: flex; align-items: flex-start; margin-bottom: 15px; line-height: 1.6; }
.p-footer-sitemap .head { width: 100px; flex-shrink: 0; }
.p-footer-sitemap .sep { margin: 0 15px; color: #666; }
.p-footer-sitemap .links { flex: 1; color: #aaa; }
.p-footer-sitemap a { color: #fff; transition: color 0.3s; }
.p-footer-sitemap a:hover, .p-footer-links a:hover { color: var(--color-main); }
.p-footer-sitemap .links a { color: #ccc; }
.p-footer-banners { display: flex; gap: 20px; }
.p-footer-banners a { flex: 1; transition: opacity 0.3s; }
.p-footer-banners a:hover { opacity: 0.8; }
.p-footer-banners img { width: 100%; height: auto; display: block; }
.p-footer-links li { margin-bottom: 12px; }
.p-footer-links a { color: #ccc; transition: color 0.3s; }
.p-footer-copyright {
    text-align: center; border-top: 1px solid #444; padding-top: 20px; color: #aaa; font-size: 12px;
}

@media screen and (max-width: 768px) {
    .l-footer { padding: 50px 0 20px; }
    .p-footer-inner { flex-direction: column; gap: 50px; }
    .p-footer-col--right { width: 100%; }
    .p-footer-sitemap li { flex-direction: column; margin-bottom: 25px; }
    .p-footer-sitemap .sep { display: none; }
    .p-footer-sitemap .head { width: 100%; margin-bottom: 8px; font-weight: bold; border-bottom: 1px solid #555; padding-bottom: 5px; }
    .p-footer-sitemap .links { line-height: 1.8; }
    .p-footer-banners { gap: 10px; }
}

/* =========================================================
   PC用 Page TOPボタン（右下に固定フローティング）
========================================================= */
.c-page-top {
    position: fixed; 
    bottom: 0px; 
    right: 0px;  
    background-color: var(--color-main); 
    color: #fff;
    font-size: 14px; 
    font-weight: 500; 
    font-family: 'Noto Sans JP', sans-serif !important; 
    padding: 15px 25px; 
    border-radius: 6px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000; 
}

.c-page-top:hover { 
    opacity: 0.9; 
    transform: translateY(-3px); 
}

@media screen and (max-width: 768px) {
    .c-page-top {
        display: none !important;
    }
}

/* =========================================================
   下層共通：ボトムナビゲーション (6つの導線アイコン)
========================================================= */
.p-bottom-nav-section {
    padding: 60px 0 80px;
    background-color: #fff;
}
.p-bottom-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.p-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.p-bottom-nav__item:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}
.p-bottom-nav__item:hover .p-bottom-nav__text {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.p-bottom-nav__icon {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border-radius: 0;
    border: none;
    background-color: transparent;
}
.p-bottom-nav__icon img {
    width: 55px; 
    height: auto;
}
.p-bottom-nav__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .p-bottom-nav-section {
        padding: 40px 0 50px;
    }
    .p-bottom-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 10px;
    }
    .p-bottom-nav__icon {
        margin-bottom: 8px;
    }
    .p-bottom-nav__icon img {
        width: 45px;
    }
    .p-bottom-nav__text {
        font-size: 12px;
    }
}


/* =========================================================
   Cookie同意バナー
========================================================= */
.p-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.p-cookie-banner.is-show {
    opacity: 1;
    visibility: visible;
}
.p-cookie-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    gap: 20px;
}
.p-cookie-banner__text {
    font-size: 12px;
    line-height: 1.6;
    flex: 1;
}
.p-cookie-banner__text a {
    text-decoration: underline;
    color: var(--color-main);
}
.p-cookie-banner__btns {
    flex-shrink: 0;
}
.p-cookie-banner__btn {
    padding: 10px 30px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

@media screen and (max-width: 768px) {
    .p-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }
    .p-cookie-banner__btns {
        text-align: center;
    }
    .p-cookie-banner__btn {
        width: 100%;
    }
}

/* =========================================================
   共通：初診導線CTA (まずはご相談ください)
========================================================= */
.p-cta-section {
    position: relative;
    padding: 80px 0 0;
    margin-bottom: 80px;
    background-color: #fff;
    overflow: hidden;
}
.p-cta__inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2;
}

.p-cta__text-area {
    text-align: center;
    margin-bottom: 40px;
}
.p-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}
.p-cta__desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.p-cta__bottom {
    background-color: var(--color-main);
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}
.p-cta__bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-color: var(--color-main);
    z-index: -1;
}
.p-cta__btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0; 
}

.c-btn-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    color: var(--color-text);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.c-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.c-btn-cta .arrow {
    color: var(--color-main);
    font-weight: bold;
}

.p-cta__img {
    position: absolute;
    bottom: 0;
    right: 5%; 
    width: 45%;
    max-width: 450px;
    z-index: 2;
    pointer-events: none; 
}
.p-cta__img img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .p-cta-section {
        padding: 50px 0 0;
        margin-bottom: 50px;
    }
    .p-cta__title {
        font-size: 1.6rem;
    }
    .p-cta__desc {
        font-size: 0.9rem;
    }
    .p-cta__bottom {
        padding: 30px 15px;
    }
    .p-cta__btns {
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 10; 
    }
    .p-cta__img {
        position: relative; 
        bottom: auto;
        right: auto;
        width: 80%;
        max-width: 300px;
        margin: 0 auto -20px; 
        z-index: 1;
    }
}


/* =========================================================
   パンくずリスト (BREADCRUMB)
========================================================= */
.c-breadcrumb {
    background-color: var(--color-bg);
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}
.c-breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    font-size: 0.85rem;
}
.c-breadcrumb li {
    display: flex;
    align-items: center;
    color: #888;
}
.c-breadcrumb li a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s;
}
.c-breadcrumb li a:hover {
    opacity: 0.7;
    text-decoration: underline;
}
.c-breadcrumb li:not(:last-child)::after {
    content: "＞";
    margin: 0 10px;
    color: #ccc;
    font-size: 0.8rem;
}

@media screen and (max-width: 768px) {
    .c-breadcrumb {
        padding: 10px 0;
    }
    .c-breadcrumb ul {
        font-size: 0.75rem;
    }
    .c-breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }
}