/* -------------------footer------------------- */
/* フッター全体 */
.footer * {
  color: #fff;
}
.footer {
  position: relative; /* 疑似要素を適切に配置するために relative を設定 */
  padding: 40px 20px;
  background:#133463;
  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;
  margin-right: 50px;
}

/* 各項目のアイコン */
.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: "\f095"; /* 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, #3066be, #b4c5e4);
  color: #fff;
  font-weight: bold;
}

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

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

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

.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: 14px;
      padding: 6px;


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



  }
}

/* ナビゲーションメニュー */
.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;
}







@media (max-width: 768px) {


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





}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
  color: #fff;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-col li a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr; /* 2列に変更 */
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr; /* スマホで1列表示 */
  }
	
/* ▼ 固定バーの外枠（右下配置） */
.footer .fixed-reserve-bar {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  pointer-events: auto;
}


/* ▼ 紺青ボタン本体 */
/* 電話予約ボタン共通スタイル */
.footer .reserve-btn.navy {
  background-color: #003366 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  border: none !important;
  width: fit-content !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ▼ アイコン */
.reserve-btn.navy i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #ffffff;
}

/* ▼ テキスト */
.reserve-btn.navy span {
  color: #ffffff;
}

/* ▼ モバイルサイズ対応（調整は必要に応じて） */
@media screen and (max-width: 768px) {
  .reserve-btn.navy {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

/* 必ず読み込まれているCSSファイルの末尾に追加してください */
.footer .fixed-reserve-bar {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  width: auto !important;
  margin: 0 !important;
  display: block !important;
  pointer-events: auto;
}

/* ボタンスタイル強化 */
.footer .reserve-btn.navy {
  background-color: #003366 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
  text-decoration: none !important;
  width: fit-content !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* アイコン */
.footer .reserve-btn.navy i {
  margin-right: 8px !important;
  font-size: 1.2rem !important;
  color: #ffffff !important;
}


}