@charset "UTF-8";
/*
Theme Name: pre-dc
*/
.bd {
border: 1px solid red;
}

/***　common　***/
:root{
--base-font:"Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
--base-font02:"Hiragino Mincho ProN W6", "ヒラギノ明朝 ProN W6", "Hiragino Mincho ProN","游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
--base-font03:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
--sub-font: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
--base-color: #001E5A; /*基本カラー　濃紺*/
--sub-color01: #5D7393; /*サブカラー　うす青*/
--sub-color02: #51abdc; /*空色*/
--sub-color03: #dec38c; /*肌色*/
--sub-color04: #001B68; /*濃紺*/
--sub-color05: #C6A875; /*ベージュ*/
--bg-color01: #F2F1EF; /*うす灰色　背景*/
--bg-color02: #E3EEFF; /*うす青　背景*/
--bg-color03: #DBE8FC; /*うす青　背景2*/
--bg-color04: #F8FBFF; /*ほぼ白*/
--bg-color05: #E3EEFF; /*薄い空色*/
--menu-color01: #DCEFFF;/*うす青グレー*/
--gradation01: linear-gradient(135deg, rgba(255,255,255,0.9) 50%, rgba(255,219,145,0.95) 100%);}

body {
color: var(--base-color);
}
a {text-decoration: none;}
ul{list-style:none}
.f-maru {font-family: var(--base-font03);}
/* =========================
   ヘッダー（初期状態：透明）
========================= */
.site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 0;
z-index: 999;
transition: all 0.3s ease;
background: transparent;
}
/* =========================
   スクロール後（白背景）
========================= */
.site-header.scrolled {
  background: #fff;
  opacity: 0.95;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  padding: 0px 0 2px 0;
}
.site-header.scrolled a {
  /*color: #333;*/
}

.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}

/* 文字色（初期は白） */
.site-header a {
/*color: #fff;*/
text-decoration: none;
transition: 0.3s;
}
.site-ttl, .sub-site-ttl  {
font-family: var(--base-font03);
color: var(--base-color);
text-align: center;
text-shadow:
1px 1px 0 #fff,
-1px -1px 0 #fff,  
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
}
.site-ttl {
font-size:1.7rem;
font-weight: bold;
}
.sub-site-ttl {
font-size:1.115rem;
margin-top: -8px;
}
/*上部電話*/
.header-tel {
/*height: 60px;*/
font-size: 1.3rem;
font-family: var(--base-font02);
background-color: rgba(0,30,90,0.9);
padding: 0.6rem 1rem;
color: white;
position: fixed;
top: 5px;
right: 3px;
display: flex;              /* ←横並び */
align-items: center;
gap: 8px;                   /* ←アイコンと文字の間 */
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
z-index: 2000;
transition: all 0.3s ease;
border-radius: 30px;
}
.header-tel:hover {
background-color: #002b80;
opacity: 0.9;
box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.tel-icon {
width: 25px;
height: 25px;
object-fit: contain;
filter: brightness(0) invert(1);
}
.bg01 {
background-image: url(../images/bg01.png);
background-repeat: no-repeat;
background-size: cover;
}
.bg-blue, .container {
position: relative;
}
.bg-blue::before {
background: rgba(0,30,90,0.65);
content: '';
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.bg-light-gray {
background-color: var(--bg-color01);
}

/* =========================
   ヒーロー
========================= */
.hero {
width: 100%;
aspect-ratio: 16 / 9;
min-height: 350px;
background-image: url('../images/hero.webp');
background-size: cover;
background-position: center;
position: relative;
}

.hero-inner {
display: block;
position: absolute;
width: 90%;
height: auto;
bottom: 10%;
left: 5%;

margin: 0 auto;
font-family: var(--base-font02);
color: var(--base-color);
font-size: 2.8rem;
font-weight: bold;
line-height: 3.2rem;
text-shadow:
1px 1px 0 #fff,
-1px -1px 0 #fff,  
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
}

/* ヒーローエリア */
.hero .container {
  z-index: 2;
}

.lead-copy {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* == 共通 == */
.section-title {
font-size: 2rem;
font-weight: 600;
color: var(--sub-color01)
}


/* == トップページお知らせセクション == */
.news-section {
  background-color: var(--bg-color01);
}
.news-box {
background: #ffffff;
border-top: 3px solid #1f3c88;
border-bottom: 3px solid #1f3c88;
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.news-title {
font-size: 1.6rem;
font-weight: 600;
color: var(--base-color);
padding: 0 0.3em;/*上下 左右の余白*/
background: transparent;/*背景透明に*/
border-left: solid 4px var(--base-color);
}
.news-post {
line-height: 1.7rem;
font-size: 1.1rem;
}

/* =========================
   トップページ診療科目セクション
========================= */
.medical-section {
background: #ffffff;
}
.medical-item h3 {
font-size: 1.5rem;
font-weight: 600;
color: #1f3c88;
transition: all .3s ease;
}
.medical-item:hover h3 {
 /* transform: translateY(-5px);
  color: #16316b;*/
}

/* =========================
   診療時間
========================= */
.schedule-lead {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #6c7a92;
}
.schedule-lead strong {
  color: #1f3c88;
  font-weight: 700;
}
.table {
background-color: transparent !important;/*背景白を打ち消し*/
--bs-table-bg: transparent;
}
.table-responsive {
color: var(--sub-color01);
font-family: var(--sub-font);
}

.schedule-table {
border-bottom: 1px solid var(--sub-color01);
font-size: 1.1rem;
}
.schedule-table thead th {
color: var(--sub-color01);
font-weight: 600;
border-bottom: 1px solid var(--sub-color01);
}
.schedule-table tbody th {
color: var(--sub-color01);
font-weight: 100;
}
.schedule-table td {
font-size: 1.1rem;
color: var(--sub-color01);
}
.schedule-notes  {
margin-bottom: 0.3rem;
font-weight: 300;
}

/* =========================
   クリニック案内（table版）
========================= */
.clinic-table {
border: 1px solid #cfd6df;
--bs-table-bg: transparent; /* Bootstrap白背景解除 */
font-family: var(--base-font02);
}

.clinic-table th,
.clinic-table td {
  padding: 2rem;
  font-size: 1.3rem;
  vertical-align: middle;
  border-color: #cfd6df;
}

.clinic-table th {
  width: 30%;
  background-color: var(--bg-color02);
  text-align: center;
  font-weight: 600;
  color: #6c7a92;
}

.clinic-table td {
  background-color: #ffffff;
  color: #6c7a92;
}

.clinic-table a {
  color: #6c7a92;
  text-decoration: none;
}
.clinic-table a:hover {
  text-decoration: underline;
}

/* =========================
   トップページ　アクセス　セクション
========================= */

.access-section {
  background-color: #f3f3f3;
}
.access-info {
  font-size: 1.2rem;
  color: #233b6c;
  line-height: 1.8;
}
.access-img {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Google Map */
.access-map iframe {
  display: block;
}

/* Googleボタン */
.btn-access {
  background-color: #6c7a92;
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 6px;
  text-decoration: none;
}

.btn-access:hover {
  background-color: #5a667c;
  color: #fff;
}


/* =========================
   フッター（中央ブランド独立版）
========================= */
.footer-top {
background-color: var(--bg-color03);
}
.footer-site-ttl {
font-family: var(--base-font03);
font-size:1.9rem;
/*font-weight: bold;*/
color: var(--base-color);
margin-top: 2px;
padding: 0;
}
.footer-address {
font-size:1.5rem;
}


/* 電話 */
.footer-reserve {
font-size: 1.1rem;
}
.footer-tel {
font-family: var(--base-font02);
font-size: 3rem;
font-weight: bold;
margin-top: -8px;
}
.footer-tel a {
color: var(--base-color);
}

/* コピーライト */
.footer-bottom {
background-color: var(--base-color);
color: #aaa;
font-size: 0.9rem;
}

/*フッターボタン*/
.footer-btn{ display:none;}


/***== PC用トップへ戻るボタン ==***/
#page_top-pc {
position: fixed;
right: 40px;
bottom: 40px;
width: 60px;
height: 60px;
color: #fff;
text-align: center;
line-height: 60px;
font-size: 20px;
border-radius: 50%;
text-decoration: none;
opacity: 0;
visibility: hidden;
transition: 0.3s ease;
z-index: 9999;
background: var(--base-color);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* ホバー */
#page_top-pc:hover {
background: #576D8D;
color: #fff;
}
/* 表示状態 */
#page_top-pc.active {
opacity: 1;
visibility: visible;
}




@media (max-width: 768px) {

.hero-inner {
bottom: 8%;
font-size: 2.1rem;
}
.lead-copy {font-size: 1.5rem;}

/*スマホフッターボタン*/
.footer-btn-section {
margin: 0;
padding: 0;
}
.footer-btn {
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: flex;
margin: 0;
padding: 0;
list-style: none;
z-index: 9999;
}
.footer-btn-tel {
color:var(--base-color);
font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center; /* 中央寄せなら */
  gap: 8px; /* アイコンと文字の間 */
}
.footer-tel-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.footer-btn li {
margin: 0;
padding: 0;
}
.footer-btn li:first-child {
flex: 0 0 85%;
background: linear-gradient(to right, #F7FAFD, #EAF2FA);
color: #1F3E66;
box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.footer-btn li:last-child {
flex: 0 0 15%;
background: var(--base-color);
}
.footer-btn li a {
display: flex;               /* ←重要 */
align-items: center;
justify-content: center;
width: 100%;
height: 50px;                /* ←高さ固定 */
text-decoration: none;
}
.footer-btn-txt {
margin: 0;
}
#page_top-pc {display: none;}
#page_top-sp {
color: #fff;
text-align: center;
justify-content:center;
align-items: center;
font-size: 1.5rem;
}
}


@media (max-width: 576px) {
.global-nav {display: none}
.hero {
background-position: 50% 50%;
background-size: cover;
}

.schedule-table, .schedule-table th, .schedule-table td {
font-size: 0.9rem;
padding: 0.4rem;
}
/*トップページクリニック案内*/
.clinic-table th,.clinic-table td {
padding: 0.75rem;
font-size: 0.95rem;
}
}
