*,
*::before,
*::after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5 {
  font-family: 'Noto Sans JP', sans-serif;
}
p {
  font-size: 1rem; 
  line-height: 180%;
  font-family: 'Noto Sans JP', sans-serif;
  color: #2c2c2c;
}
ol, ul, dd, dt {
  list-style: none;
  font-family: 'Noto Sans JP', sans-serif;
  color: #2c2c2c;
}

a, button, tr, th, dd, dt, address {
  font-family: 'Noto Sans JP', sans-serif;
}

/* -------------------画像------------------- */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* -------------------セクション------------------- */
section {
  padding: 75px 0;
}

.mw1200{
    width: 94%;
    padding: 0 3%;
    max-width: 1200px;
    margin: 0 auto;
}
@media screen and (max-width: 767px) {
	section {
		padding: 30px 0;
}
}
/* -------------------マージン------------------- */
.m40 {
  margin: 40px 0;
}

/* -------------------width------------------- */
.wi85 {
  width: 85%;
}

/* -------------------位置------------------- */
.txcenter {
  text-align: center;
}
.left {
  text-align: left;
}


/* -------------------フォントサイズ------------------- */

.size1-5rem{
font-size: 1.5rem;
}
.size3rem{
  font-size: 3rem;
}
.size20 {
  font-size: 20px;
}
.size25 {
  font-size: 25px;
}
.size30 {
  font-size: 30px;
}
.size35 {
  font-size: 35px;
}
.size40 {
  font-size: 40px;
}
.size50 {
  font-size: 50px;
} 
.size70 {
  font-size: 70px;
}
.size80 {
  font-size: 80px;
}

/* -------------------カラム------------------- */
/* 2カラム */
flex_box

/* -------------------改行------------------- */
/* PCでは非表示 */
.br-sp {
display: none;
}
/* モバイル時のみ表示 */
@media screen and (max-width: 767px) {
.br-sp {
display: inline;
}
}
/* -------------------カラー------------------- */
.howait {
  color: #fff;
}

/* ＃青系グラデーション */
/* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%); */

/* ＃ピンク系グラデーショ */
/* background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #f093fb 100%);
color: #de4c7c; */

/* ＃ゴールド系 */
/* #8C794B
color: rgba(200, 180, 130, 0.2);  */

/* -------------------パンくず------------------- */
.breadcrumb {
  font-size: 0.9rem;
    margin: 45px auto;
    padding: 0 15px;
    color: #666;
    width: 90%;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: ">";
  color: #999;
  margin: 0 8px;
}

.breadcrumb a {
  text-decoration: none;
  color: #ffacb6;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #f05e7c;
}
@media only screen and (max-width: 768px) {
	.breadcrumb {
		margin:0 auto;
	}
	.breadcrumb ol {
	  font-size: 0.6rem;
  }
}
/* -------------------footer------------------- */
/* フッター全体 */

.footer {
  position: relative; /* 疑似要素を適切に配置するために relative を設定 */
  padding: 40px 20px;
  background: url(https://tanumashika.com/wp-content/uploads/2026/02/IMG_0329.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* グラデーションを背景として追加 */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 半透明の白レイヤーを背景画像の上に配置 */
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 111, 178, 0.6);
  z-index: 0; 
}

/* フッター内のテキストを前面に配置 */
.footerinner {
  position: relative;
  z-index: 2; /* コンテンツを最前面に */
  color: #363636;
}

/* フッター内のテキストの視認性を確保 */
.footer-content {
  position: relative;
  z-index: 3; /* テキストを最前面に */
  color: #363636; /* 適宜調整 */
}

/* フッター上部（ロゴ・住所・予約） */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.footer-logo{            /* 診療時間（ロゴ＋表） */
    flex: 5 1 0;
    min-width: 0;          /* 中身に引っ張られないため必須 */
  }

  .footer-info{            /* アクセス情報 */
    flex: 3 1 0;
    min-width: 0;
  }

  .footer-reservation{     /* 予約 */
    flex: 2 1 0;
    min-width: 0;
  }

.footer-logo img {
  width: 300px;
  margin: 0 auto;
}

/* フッターの情報エリア */
.footer-info {
  text-align: left;
  font-size: 14px;
  color: #363636;
}

/* 各項目のアイコン */
.footer-info p {
  position: relative;
  padding-left: 25px;
  margin: 5px 0;
	color: #fff;
}

/* 住所アイコン */
.footer-info p:nth-child(1)::before {
  content: "\f3c5"; /* FontAwesomeのマップピンアイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* アクセス方法アイコン */
.footer-info p:nth-child(2)::before {
  content: "\f3c5"; /* 同じくマップピンアイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* モノレールアイコン */
.footer-info p:nth-child(3)::before {
  content: "\f238"; /* FontAwesomeの電車アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* 電話番号アイコン */
.footer-info p:nth-child(4)::before {
  content: "\f095"; /* FontAwesomeの電話アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}


/* 診療時間表 */
.footer-schedule {
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
	padding: 0;
}

.footer-schedule p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

/* 診療時間表 */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  table-layout: auto; /* 列幅を自動調整 */
}

.schedule-table th,
.schedule-table td {
  padding: 10px;
  border: 1px solid #dde4f0;
  text-align: center;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  word-wrap: break-word;
  white-space: normal;
}

/* 見出し行：明るめブルー → ネイビーのグラデ */
.schedule-table th {
  background: linear-gradient(to bottom, #4f89c3, #013e7d);
  color: #fff;
  font-weight: bold;
  width: 12.5%; /* 水平で均等に列幅を調整 */
}

/* 通常行 */
.schedule-table td {
  background: #fff;
  color: #333;
  max-width: 150px; /* セルの最大幅を設定 */
}

/* 土曜日など、強調したいセル（ネイビー寄りの文字色） */
.schedule-table .sat {
  color: #013e7d;
  font-weight: bold;
}

/* 休診日：薄いグレー×落ち着いた文字色で控えめに */
.schedule-table .closed {
  background: #f0f2f5;
  color: #7a8899;
  font-weight: bold;
}

/* スマホ対応：横スクロール可能に */
@media (max-width: 600px) {
  .schedule-table {
    overflow-x: auto;
    white-space: nowrap;
  }

  .schedule-table th,
  .schedule-table td {
    font-size: 12px;
    padding: 6px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {
	.footer {
		padding: 40px 10px;
		background: url(https://tanumashika.com/wp-content/uploads/2026/02/IMG_0328.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	}
  .footer-top {
    display: block;
  }
  .footer-schedule {
      margin: 15px 0;
  }

  .schedule-table th, .schedule-table td {
      font-size: 12px;
      padding: 6px;
  }
}

/* ナビゲーションメニュー */
.footer-nav {
  text-align: center;
  margin: 20px 0;
}

.footer-nav ul {
  list-style: none;
	color: #fff;
  padding: 0;
}

.footer-nav ul li {
  display: inline-block;
  margin: 0 10px;
}

.footer-nav ul li a {
  text-decoration: none;
  font-size: 16px;
	color: #fff;
}

/* 診療内容のリンク */
.footer-links {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 20px auto;
}

.footer-section {
  width: 30%;
}

.footer-section h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  font-size: 14px;
}

/* フッターのバナー */
.footer-banners {
  text-align: center;
  margin: 20px 0;
}

.footer-banners a {
  display: inline-block;
  margin: 0 10px;
}

.footer-banners img {
  width: 250px;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.footer-banners img:hover {
  transform: scale(1.05);
}

/* フッター下部（著作権） */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.footer-bottom p {
  color: #fff;
}

.bnnerdiv {
    width: 35%;
    /* text-align: center; */
    margin: 20px auto;
}
:root{
	--side-bg: repeating-linear-gradient(45deg, #f4eee4, #f5f5f5 3px, /* 薄い色の幅を3px */ #e9e9e9 3px, #e9e9e9 6px /* 濃い色の幅を3px */);
	--side-ink: #69492a;
  --side-border: #ddd;
}


/* -------------------コラム用------------------- */
h2.wp-block-heading {
    background: #9a845c;
    color: #fff;
    padding: 10px;
    font-size: 1.4rem;
	margin: 15px 0;
}
h3.wp-block-heading {
    border-left: 2px solid #9a845c;
    padding: 0 0 0 15px;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
	h2.wp-block-heading {
		font-size: 1rem;
	}
	h3.wp-block-heading {
		font-size: 1rem;
	}
}

/*==================================================================================================================================

  *固定CTAラッパー

==================================================================================================================================*/
.fixed-cta {
  position: fixed;
  bottom: 20px; /* 画面下部に配置 */
  right: 20px;  /* 画面右端に配置 */
  display: flex;
  gap: 10px; /* ボタン間隔を少し広げる */
  z-index: 9999;
  flex-wrap: nowrap; /* ボタンが折り返さないように設定 */
  justify-content: flex-end; /* 右端に配置 */
}

/* 各ボタン共通スタイル */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* アイコンとテキストの間隔を少し広げる */
  padding: 12px 18px; /* 横長にするためにパディングを調整 */
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  border: 2px solid;
  white-space: nowrap; /* テキストを改行させない */
  overflow: hidden; /* ボタン内のテキストが長い場合に隠れる */
  text-overflow: ellipsis; /* 長いテキストは「...」で切り捨て */
}

/* アイコン */
.cta-btn i {
  font-size: 1.3em; /* アイコンサイズ調整 */
}

/* 電話ボタン */
.cta-tel {
  color: #004EA2; /* 文字色変更 */
  border-color: #004EA2; /* ボーダー色変更 */
}
.cta-tel:hover {
  background: #004EA2;
  color: #fff;
}

/* WEB予約ボタン */
.cta-web {
  color: #007BC7; /* 文字色変更 */
  border-color: #007BC7; /* ボーダー色変更 */
}
.cta-web:hover {
  background: #007BC7;
  color: #fff;
}

/* TOPボタン（正方形の〇囲み） */
.cta-top {
  color: #fff;
  border-color: #FF696C; /* ボーダー色変更 */
  background-color: #FF696C; /* 背景色変更 */
  border-radius: 50%; /* 〇形にする */
  width: 55px; /* サイズを少し小さく */
  height: 55px; /* サイズを少し小さく */
  font-size: 1rem; /* アイコンサイズ調整 */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* 上段に表示しないように */
}

.cta-top:hover {
  background-color: #FF9A9D; /* 背景色をさらに薄く */
  border-color: #FF9A9D; /* ボーダー色をさらに薄く */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .fixed-cta {
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 8px;
    justify-content: space-between; /* 左端と右端に配置 */
  }

  .cta-btn {
    width: 48%; /* 電話とWEB予約ボタンを横並びにする */
    padding: 12px 0;
    font-size: 0.8rem; /* フォントサイズを調整 */
    text-align: center;
  }

  .cta-btn span {
    display: block;
    text-align: center;
  }

  .cta-top {
    position: absolute;
    top: -55px; /* TOPボタンを少し上に配置 */
    right: 20px; /* 右端に配置 */
    width: 55px;
    height: 55px;
    font-size: 1rem; /* アイコンサイズ調整 */
  }
}

/* PC版 */
@media (min-width: 769px) {
  .fixed-cta {
    bottom: 20px;
    left: 0;
    width: auto;
    justify-content: flex-end; /* 右端に配置 */
    gap: 15px; /* ボタン間隔を調整 */
  }

  .cta-btn {
    width: auto; /* ボタンの幅を自動調整 */
    padding: 15px 25px; /* ボタンを大きく */
    font-size: 1.2rem; /* フォントサイズ調整 */
  }

  .cta-top {
    width: 70px; /* サイズを大きく */
    height: 70px; /* サイズを大きく */
    font-size: 1.2rem; /* アイコンサイズ調整 */
    position: relative; /* 上段に表示しないように */
  }
}
