@charset "UTF-8";

/* =========================================================
   変数定義 & フォント設定
========================================================= */
:root {
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-english: 'Noto Serif JP', serif;
    --color-main: #333333;
    --color-text: #333333;
    --color-bg: #f9f9f9;
}

.u-font-en { font-family: var(--font-english) !important; }

/* =========================================================
   リセット＆ベース
========================================================= */
* { 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: left; margin-bottom: 40px; }
.c-sec-title__en { font-family: var(--font-english) !important; color: #b5b5b6; font-size: 4.5rem; font-weight: bold; letter-spacing: 0.1em; margin-bottom: 10px; line-height: 1; }
.c-sec-title h2 { font-family: var(--font-gothic) !important; font-size: 2rem; font-weight: 700; }
@media screen and (max-width: 768px) {
    .c-sec-title__en { font-size: 3rem; }
    .c-sec-title h2 { font-size: 1.5rem; }
}

.c-btn-wrap { text-align: left; margin-top: 30px; margin-bottom: 40px; }
.c-btn-line {
    display: inline-flex; align-items: center; justify-content: space-between;
    padding: 15px 30px; border: 1px solid var(--color-main); color: var(--color-main);
    background-color: transparent; font-family: var(--font-gothic); font-size: 16px; font-weight: bold;
    border-radius: 0px; position: relative; overflow: hidden; z-index: 1; transition: color 0.4s ease;
    width: 100%;
}
.c-btn-line::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background-color: var(--color-main); z-index: -1; transition: width 0.4s ease; }
.c-btn-line:hover { color: #fff; }
.c-btn-line:hover::before { width: 100%; }

.c-btn-line .arrow-circle {
    display: flex; justify-content: center; align-items: center; width: 28px; height: 28px;
    border: 1px solid var(--color-main); border-radius: 50%; margin-left: 20px; transition: border-color 0.4s ease; position: relative;
    flex-shrink: 0;
}
.c-btn-line .arrow-circle::after { content: ''; width: 6px; height: 6px; border-top: 1px solid var(--color-main); border-right: 1px solid var(--color-main); transform: rotate(45deg); margin-right: 2px; transition: border-color 0.4s ease; }
.c-btn-line:hover .arrow-circle { border-color: #fff; }
.c-btn-line:hover .arrow-circle::after { border-top-color: #fff; border-right-color: #fff; }

.c-btn--tel { background-color: var(--color-main); font-family: var(--font-english) !important; display: flex; justify-content: center; align-items: center; padding: 15px; border-radius: 4px; color: #fff; font-size: 22px; }

/* =========================================================
   SPドロワー内のボタン群の調整
========================================================= */
.l-drawer__btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* =========================================================
   ヘッダー & ドロワー
========================================================= */
.l-header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 96%; max-width: 1300px;
    background: rgba(255, 255, 255, 0.80); border-radius: 2px; 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; width: auto; display: block; }
.l-header__nav { display: flex; align-items: center; }
.l-header__nav ul { display: flex; align-items: center; gap: 15px; margin-right: 20px; }
.l-header__nav a { font-family: var(--font-gothic); font-size: 14px; font-weight: 700; color: var(--color-text); transition: color 0.3s; }
.l-header__nav a:hover { color: #888; }
.l-header__tel a { display: flex; align-items: center; font-size: 20px; font-family: var(--font-english) !important; font-weight: bold; color: var(--color-main); }
.l-header__tel .icon { margin-right: 5px; }
.l-header__tel .icon img { height: 18px; }

@media screen and (max-width: 768px) {
    .l-header { top: 10px; width: 94%; border-radius: 2px; background: rgba(255, 255, 255, 0.80); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .l-header__inner { padding: 8px 15px; }
}

.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; }
.p-sp-menu { margin-bottom: 30px; }
.p-sp-menu__item { border-bottom: 1px solid #eaeaea; }
.p-sp-menu__link { display: flex; align-items: center; padding: 18px 0; font-size: 16px; font-weight: 700; color: var(--color-text); line-height: 1; }

/* =========================================================
   フローティング要素
========================================================= */
/* PC版：右側の縦長フローティングボタン（右側も角丸にし、右端から少し離す） */
.l-float-pc { 
    position: fixed; 
    top: 35%; 
    right: 15px; /* 画面右端から少し離す */
    transform: translateY(-50%); 
    z-index: 90; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.l-float-pc__btn { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 22px 14px; 
    background: var(--color-main); 
    color: #fff; 
    border: none; 
    cursor: pointer; 
    border-radius: 25px; /* 四方の角をしっかりと丸める */
    transition: all 0.3s ease; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
}
.l-float-pc__btn:hover { 
    transform: translateY(-3px); 
    background: #555; 
}
.l-float-pc__btn .icon img { 
    width: 20px; 
    height: auto; 
}
.l-float-pc__btn .text { 
    writing-mode: vertical-rl; 
    letter-spacing: 2px; 
    font-family: var(--font-gothic); 
    font-size: 14px; 
}

/* 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: 14px 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: none; 
    padding: 6px 2px; 
}
.l-float-sp__btn:last-child { 
    border-right: none; 
}
.l-float-sp__btn img { 
    width: 16px; 
    height: auto; 
    display: block; 
}

/* =========================================================
   セクション共通 & 診療時間表
========================================================= */
.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-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: var(--font-gothic); font-weight: 500; }
.p-schedule__table .is-disabled { color: #999; }
.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; }
}

/* =========================================================
   お問い合わせ (CONTACT)
========================================================= */
.p-contact { position: relative; padding: 100px 0; color: #fff; text-align: center; background-color: var(--color-main); }
.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.5); }

.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; font-family: var(--font-english) !important; font-size: 3rem; margin-bottom: 0; }
.c-sec-title--contact h2 { color: #fff; position: relative; padding-bottom: 20px; margin-bottom: 40px; font-family: var(--font-gothic) !important; font-size: 1.5rem; text-align: center;}
.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: var(--font-english) !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 { font-size: 1rem; line-height: 1.8; color: #fff; font-family: var(--font-gothic) !important; }
.p-contact__address { margin-bottom: 20px; }
@media screen and (max-width: 768px) {
    .p-contact { padding: 60px 0; }
    .p-contact__tel { font-size: 2.5rem; margin-bottom: 15px; }
    .p-contact__time, .p-contact__address { font-size: 0.9rem; }
}

/* =========================================================
   フッター (FOOTER)
========================================================= */
.l-footer { background: #333333; color: #ffffff; 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 img { height: 45px; width: auto; display: block; margin-bottom: 15px;}
.p-footer-desc { margin-bottom: 40px; color: #cccccc; 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; font-weight: bold; color: #ffffff; }
.p-footer-sitemap .sep { margin: 0 15px; color: #888888; }
.p-footer-sitemap .links { flex: 1; color: #cccccc; }
.p-footer-sitemap a { color: #ffffff; transition: color 0.3s; }
.p-footer-sitemap a:hover { color: #dddddd; text-decoration: underline; }
.p-footer-banners a { transition: opacity 0.3s; display: block; }
.p-footer-banners a:hover { opacity: 0.8; }
.p-footer-banners img { width: 100%; height: auto; display: block; border-radius: 4px; }
.p-footer-copyright { text-align: center; padding-top: 20px; color: #aaaaaa; 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; border-bottom: 1px solid #555555; padding-bottom: 5px; }
    .p-footer-sitemap .links { line-height: 1.8; }
}

/* =========================================================
   Page TOP ボタン (丸型・#333333) - 右端からの距離をPC版フローティングと揃える
========================================================= */
.c-page-top {
    position: fixed;
    bottom: 30px;
    right: 15px; /* PC版フローティングボタン(.l-float-pcのright: 15px)と距離を揃える */
    width: 50px;
    height: 50px;
    background-color: #333333;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    font-family: var(--font-gothic) !important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
    z-index: 1000;
    text-align: center;
    line-height: 1.1;
}

/* 上向きのシンプルな矢印 */
.c-page-top::before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

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

@media screen and (max-width: 768px) {
    .c-page-top { 
        bottom: 70px;
        right: 20px; /* スマホ版は従来の右端からの距離を維持 */
        width: 45px;
        height: 45px;
        font-size: 8px;
        display: flex !important;
    } 
}

/* =========================================================
   パンくずリスト (BREADCRUMB)
========================================================= */
.c-breadcrumb {
    background-color: var(--color-bg);
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

.c-breadcrumb ul {
    display: flex; flex-wrap: wrap; align-items: center; font-size: 0.85rem;
}

.c-breadcrumb li {
    display: flex; align-items: center; color: #888;
}

.c-breadcrumb li a {
    color: var(--color-text); transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
}

.c-breadcrumb li:first-child a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('/demo/sakura/assets/img/common/icon_home.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 6px;
    margin-bottom: 2px;
}

.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; }
    
    .c-breadcrumb li:first-child a::before {
        width: 12px;
        height: 12px;
        margin-right: 4px;
    }
}

/* =========================================================
   ボトムナビゲーション (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; color: var(--color-text); transition: opacity 0.3s ease; }
.p-bottom-nav__item:hover { opacity: 0.7; }
.p-bottom-nav__icon { margin-bottom: 10px; }
.p-bottom-nav__icon img { width: 55px; height: auto; display: block; margin: 0 auto;}

.p-bottom-nav__text { 
    font-family: var(--font-gothic); font-weight: 700; font-size: 14px; line-height: 1.4;
    position: relative; display: inline-block;
}
.p-bottom-nav__text::after {
    content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
    background-color: var(--color-text); transition: width 0.3s ease;
}
.p-bottom-nav__item:hover .p-bottom-nav__text::after { width: 100%; }

@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; }
}

/* 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: 650px; z-index: 95;
    border-radius: 0;
}
.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: 20px; color: var(--color-text); }

/* SP フローティングパネル */
.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;
}
.l-float-sp__panel .p-schedule__table-wrap { margin: 0 10px 20px; }