*,
*::before,
*::after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5 {
  font-family: 'Noto Serif JP', serif;
}
p {
	font-size: max(1rem, 14px);
	line-height: 180%;
	font-family: 'Noto Serif JP', serif;
	color: #5b4633;
	margin-bottom: 15px;
}
div {
  font-family: 'Noto Serif JP', serif;
}

ol, ul, dd, dt {
  list-style: none;
  font-family: 'Noto Serif JP', serif;
  color: #5b4633;
}

a, button, tr, th, dd, dt, address {
  font-family: 'Noto Serif JP', serif;
}
/* -------------------レスポンシブ------------------- */
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}



/* -------------------画像------------------- */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.maauto {
	margin: auto;
}
/* -------------------セクション------------------- */
section {
	padding: 75px 15px;
}

.mw1200{
    width: 94%;
    padding: 0 3%;
    max-width: 1200px;
    margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  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


/* -------------------カラー------------------- */
.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: #b19768;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #8e6c2d;
}
@media only screen and (max-width: 768px) {
  .breadcrumb ol {
    font-size: 12px;
  }
}
/* -------------------footer------------------- */
/* フッター全体 */
.footer * {
  color: #fff;
}
.footer {
  position: relative; /* 疑似要素を適切に配置するために relative を設定 */
  padding: 40px 20px;
  background: url(../images/footerbg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* グラデーションを背景として追加 */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, #94bee0d9 0%, #8fb4d9cf 10%, rgba(168, 197, 227, 0.3) 25%, rgba(168, 197, 227, 0) 50%); */
  z-index: 1;
}

/* 半透明の白レイヤーを背景画像の上に配置 */
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #6487a79c;
  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 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;
}

/* 住所アイコン */
.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: 15px;
  border-radius: 8px;
}

.footer-schedule .h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-table th, .schedule-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
}

.schedule-table th {
  background: linear-gradient(to bottom, #c4ced7, #7d8b99);
  color: #fff;
  font-weight: bold;
}

.schedule-table td {
  background: #fff;
  color: #666;
}

.schedule-table .sat {
  color: #3b89d1;
  font-weight: bold;
}

.schedule-table .closed {
  background: #eee;
  color: #3b89d1;
}

.note {
  font-size: 12px;
  margin-top: 5px;
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {
  .footer-top {
    display: block;
  }
  .footer-schedule {
      margin: 15px 0;
      padding: 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;
  padding: 0;
}

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

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

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

.footer-section {
  width: 30%;
}

.footer-section .ftttl {
  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;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

/* PCでは非表示 */
.br-sp,
sp_only {
display: none;
}
.br-pc {
	display: inline;
}

/* モバイル時のみ表示 */
@media screen and (max-width: 800px) {
.br-sp,
.sp_only {
display: inline;
}
	.br-pc {
		display: none;
	}
}
/* -------------------固定予約ボタン------------------- */
/* 固定ボタンラッパー（PCは右下に縦並び、スマホは下部に全幅） */
.fixed-reservation-buttons {
  position: fixed;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ボタン共通スタイル */
.reservation-button {
  background-color: #4a90e2;
  color: #fff;
	font-size: 18px;
  font-weight: bold;
	padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.reservation-button i {
	font-size: 20px;
	padding-right: 20px;
}

/* hover時 */
.reservation-button:hover {
	background-color: #4a90e2d1;
  transform: translateY(-3px);
  color: #fff;
}

/* active時 */
.reservation-button:active {
	background-color: #c88e48;
	transform: translateY(1px);
}

/* ▼ PC：右下に縦並びで表示 */
@media screen and (min-width: 768px) {
  .fixed-reservation-buttons {
    bottom: 82px;
    right: 20px;
    flex-direction: column; /* ←縦並び */
    z-index: 10;
  }

  .reservation-button {
    width: 180px; /* 好みに応じて調整可 */
  }
}
/* ▼ モバイル：下部に全幅表示（横並び） */
@media screen and (max-width: 767px) {
  .footer-links {
    flex-direction: column;
  }
  .footer-section {
    width: 100%;
  }
  .fixed-reservation-buttons {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    justify-content: space-around;
    flex-direction: row;
  }

  .reservation-button {
    flex: 1;
    border-radius: 30px;
    font-size: 11px;
    padding: 12px 10px;
    max-width: 48%;
  }
}
