*,
*::before,
*::after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5 {
  font-family: 'Noto Serif JP', serif;
}
p {
  font-size: 1rem; 
  line-height: 180%;
  font-family: 'Noto Serif JP', serif;
  color: #5b4633;
}
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;
}

/* -------------------画像------------------- */
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: #b19768;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #8e6c2d;
}
@media only screen and (max-width: 768px) {
	.breadcrumb {
		margin:0 auto;
	}
	.breadcrumb ol {
	  font-size: 0.6rem;
  }
}
/* -------------------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: #4f4f4fb8;
  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: 0;
}

.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, #dbd8cc, #9f9781);
	color: #fff;
	font-weight: bold;
	width: 20%;
}

/* 偶数行に薄い背景色で見やすく */
.schedule-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

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

.schedule-table .sat {
  color: #8e6c2d;
  font-weight: bold;
}

.schedule-table .closed {
  background: #f5f5f5;
  color: #8e6c2d;
  font-weight: bold;
}

.footer-schedule .schedule-note {
  font-size: 12px;
  color: #fff;
  margin-top: 8px;
}

/* スマホ対応：横スクロール可能に */
@media (max-width: 600px) {
  .schedule-table {
    display: block;
    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;
	}
  .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;
  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: 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;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.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;
}
.side-fixed{
  position: fixed;
  top: 25%;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-btn{
  writing-mode: vertical-rl;
	text-orientation: upright;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 180px;
  padding: 12px 6px;
  background: var(--side-bg);
  color: var(--side-ink);
  border: 1px solid var(--side-border);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
	transition: all 0.5s ease;
}

/* hover */
.side-btn:hover{
  background: #938068;
  color: #fff;
  transform: translateX(-4px);
}
.bnnerdiv {
        width: 35%;
        margin: 15px auto;
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {
	.bnnerdiv {
		width: 100%;
		margin: 15px auto;
	}
	:root{
		--cta-bg: #a19175;
		--cta-ink: #ffffff;
		--cta-sub: #b5b5b5;
		--cta-accent: #d7c76e;
		--cta-sep: rgba(255,255,255,.14);
		--shadow: 0 -6px 16px rgba(0,0,0,.35);
	}
	.fixed-cta{
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9999;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		background: var(--cta-bg);
		color: var(--cta-ink);
		border-top: 1px solid rgba(255,255,255,.08);
		box-shadow: var(--shadow);
		padding-bottom: env(safe-area-inset-bottom);
	}
/* 各ボタン */
.fixed-cta .cta{
  position: relative;
  display: flex;
  gap: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  min-height: 72px;             /* タップ領域確保 */
  padding: 10px 6px;
  -webkit-tap-highlight-color: transparent;
	width: 100%;
	border-left: 1px solid #b7b1a7ad;
}

/* アイコン */
.fixed-cta .ico{
  width: 28px; height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* ラベル */
.fixed-cta .ftlabel{
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}
.fixed-cta .ftlabel em{
  color: var(--cta-accent);
  font-style: normal;
  font-weight: 700;
}

/* ホバー/押下 */
.fixed-cta .cta:active{ 
	background: rgba(255,255,255,.12); 
	}

}

/* -------------------コラム用------------------- */
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;
	}
}