/* fs-footer.css — 共通フッター（.footer）用CSS。kyoutuu.css のフッター部を切り出し。
   アーカイブ/記事(kyoutuu非読込)で共通フッターを装飾するため。全ルールが .footer 配下スコープ。 */
/* フッター全体 */
.footer * {
  color: #a14242;
  font-family: 'Noto Serif JP', serif;
}
.footer {
  position: relative; /* 疑似要素を適切に配置するために relative を設定 */
  padding: 40px 20px;
  background: url(https://sakurashika-clinic.jp/wp-content/uploads/2023/11/DSC08638.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: #ffffffbf;
  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 #a55076;
  padding-bottom: 20px;
}
.footer-logo {
    text-align: center;
}
.footer-logo img {
  width: 300px;
  margin: 0 auto;
}

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

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

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

/* アクセス方法アイコン */
.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: #a6586a;
}

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

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

/* 診療時間表 */
.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, #dbccd4, #9f818f);
  color: #fff;
  font-weight: bold;
}

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

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

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

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

@media (max-width: 768px) {
  .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;
  font-weight: 700;
}

.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 .fttl {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #a14242;
  padding-bottom: 5px;
  font-weight: 700;
}

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

.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 #a55076;
  padding-top: 15px;
}

/* .footer * の font-family 指定がアイコン(.fas等)にも当たり FontAwesome が潰れる（豆腐/×表示）ため、
   .footer 配下のアイコンには FontAwesome フォントを明示的に復元する（kyoutuu.css の .fas 規則相当）。 */
.footer .fa,
.footer .fas,
.footer .far,
.footer .fal,
.footer .fad,
.footer .fab {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900;
}
.footer .far { font-weight: 400; }
.footer .fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400;
}
