/* -------------------footer------------------- */
/* フッター全体 */

.footer {
    position: relative; /* 疑似要素を適切に配置するために relative を設定 */
    padding: 40px 20px;
    background: url(https://shiratori-shika.net/wp-content/uploads/2025/06/E9F8F8.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  
  /* フッター内のテキストを前面に配置 */
  .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: #178484;
  }
  
  /* アクセス方法アイコン */
  .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: #178484;
  }
  
  /* モノレールアイコン */
  .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: #178484;
  }
  
  /* 電話番号アイコン */
  .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: #178484;
  }
  
  
  /* 診療時間表 */
  .footer-schedule {
    text-align: center;
    flex-grow: 1;
    margin: 0 20px;
    padding: 15px;
    border-radius: 8px;
  }
  
  .footer-schedule h3 {
    font-size: 18px;
    color: #178484;
    margin-bottom: 10px;
  }
  
  .schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 5px;
    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, #21BDBD, #64D1D1);
    color: #fff;
    font-weight: bold;
  }
  
  .schedule-table td {
    background: #fff;
    color: #666;
  }
  
  .schedule-table .sat {
    color: #21BDBD;
    font-weight: bold;
  }
  
  .schedule-table .closed {
    background: #eee;
    color: #178484;
  }
  
  .note {
    font-size: 14px;
    color: #363636;
    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-reservation .web-reserve {
    display: inline-block;
    background: #21BDBD;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
  }
  
  /* ナビゲーションメニュー */
  .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;
    color: #666;
    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: #178484;
    margin-bottom: 10px;
    border-bottom: 2px solid #178484;
    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;
    color: #363636;
    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;
  }
  

/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    right: 5px;
    bottom: 130px;
    height: 60px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 100%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
	    font-family: 'Noto Serif JP', serif;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}
/***トップへ戻るボタンここまで***/


/*-- 予約ボタンの基本スタイル ------------*/
.r_floating {
	position: fixed;
	z-index: 1500;
	right: 0;
	top: 20%; 
	margin-top: 0px; 
	list-style: none;
}

.r_floating li {
	margin-bottom: 0px;
}

.r_floating li a {
	display: block;
	width: 110px; /* 画像の幅 */
	height: 110px; /* 画像の高さ */
	background-size: cover;
}

/* デスクトップ版の背景画像設定 */
.phone-reserve {
  background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/05/3-4.png');
}

.web-reserve {
  background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/05/2-2.png');
}

/* モバイル版のスタイル */
@media (max-width: 768px) { 
  .r_floating {
    position: fixed;
    z-index: 1500;
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 10px 0;
  }

  .r_floating li a {
    width: 180px; /* 幅をより小さく設定 */
    height: 60px; /* 高さをより小さく設定 */
    margin: 0 auto; /* 中央揃え */
    background-size: cover; /* 背景画像がコンテナを完全に覆うように設定 */
  }

  .phone-reserve {
    background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/07/telbanner.png');
  }

  .web-reserve {
    background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/05/2-1.png');
  }
}

  