@charset "UTF-8";
/* CSS Document */


/* ==================================================
   フッター 1カラムレイアウト
   ================================================== */

footer.site-footer {
  display: block;
  width: 100%;
  padding: 40px 0 0;
  background: url("/asset/images/common/footer_bg.jpg") no-repeat center center;
  background-size: cover;
  color: #fff;
  font-family: dnp-shuei-mincho-pr6n, sans-serif;
}

footer.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

/* ロゴ */
footer.site-footer .footer-logo {
  width: 100%;
  margin-bottom: 16px;
}

footer.site-footer .footer-logo h2 {
  margin: 0 0 16px;
}

footer.site-footer .footer-logo h2 img {
  display: block;
  width: 100%;
  max-width: 409px;
  height: auto;
}

/* 住所 */
footer.site-footer .footer-address {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

/* 電話番号 */
footer.site-footer .footer-tel {
  margin: 0 0 12px;
}

footer.site-footer .footer-tel a {
  display: inline-block;
  position: relative;
  padding-left: 45px;
  color: #fff;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.5;
}

footer.site-footer .footer-tel a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 34px;
  height: 34px;
  background: url("/asset/images/common/icon-tel-w.png") no-repeat center / contain;
  transform: translateY(-50%);
}

/* WEB予約 */
footer.site-footer .footer-reservation {
  margin-bottom: 30px;
}

footer.site-footer .footer-reservation .btn-web {
  margin-bottom: 0;
}

footer.site-footer .footer-reservation .btn-web a {
  display: inline-block;
  width: 240px;
  max-width: 100%;
  height: 45px;
  background-color: #034E95;
  color: #fff;
  font-size: 18px;
  line-height: 45px;
  text-align: center;
}

/* ==================================================
   担当医師入り診療時間表
   ================================================== */

footer.site-footer .footer-schedule {
  width: 100%;
  margin: 0 0 35px;
  color: #333;
  font-family: dnp-shuei-gothic-gin-std, sans-serif;
}

footer.site-footer .footer-schedule-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #f5f4f1;
}

footer.site-footer .footer-schedule-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: #f5f4f1;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

footer.site-footer .footer-schedule-table th,
footer.site-footer .footer-schedule-table td {
  padding: 18px 8px;
  border: 0;
  border-bottom: 1px solid #d8d6d1;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
}

footer.site-footer .footer-schedule-table thead th {
  padding: 16px 6px;
  background: #545454;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

footer.site-footer .footer-schedule-table thead th:first-child,
footer.site-footer .footer-schedule-table tbody th {
  width: 180px;
}

footer.site-footer .footer-schedule-table tbody th {
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

footer.site-footer .footer-schedule-table tbody td {
  font-size: 16px;
}

footer.site-footer .footer-schedule-table .doctor-title,
footer.site-footer .footer-schedule-table .doctor-name,
footer.site-footer .footer-schedule-table .doctor-sub,
footer.site-footer .footer-schedule-table .doctor-kyou {
  display: block;
}

footer.site-footer .footer-schedule-table .doctor-title {
  margin-bottom: 3px;
  font-size: 17px;
}

footer.site-footer .footer-schedule-table .doctor-name {
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

footer.site-footer .footer-schedule-table .doctor-sub {
  font-size: 14px;
}

footer.site-footer .footer-schedule-table .doctor-kyou {
  color: #f00;
  font-size: 18px;
}

footer.site-footer .footer-schedule-notes {
  padding: 18px 20px;
  background: #f5f4f1;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

footer.site-footer .footer-schedule-notes p {
  margin: 0 0 4px;
}

footer.site-footer .footer-schedule-notes p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   フッターナビゲーション
   ================================================== */

footer.site-footer .footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  width: 100%;
  margin: 0 0 30px;
}

footer.site-footer .footer-nav-group {
  min-width: 0;
}

footer.site-footer .footer-nav-group h3 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: "Sorts Mill Goudy", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

footer.site-footer .footer-nav-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
}

footer.site-footer .footer-nav-group li {
  margin: 0;
  padding: 0;
}

footer.site-footer .footer-nav-group a {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* ==================================================
   クレジットカード
   ================================================== */

footer.site-footer .footer-card {
  width: 100%;
  margin: 0 0 35px;
}

footer.site-footer .footer-card p {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

footer.site-footer .footer-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

footer.site-footer .footer-card img.sp-no {
  display: block;
}

footer.site-footer .footer-card img.pc-no {
  display: none;
}

/* ==================================================
   バナーエリア
   ================================================== */

footer.site-footer .footer-banners {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

footer.site-footer .footer-banners .banner-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
}

footer.site-footer .footer-banners .banner-list li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

footer.site-footer .footer-banners .banner-list a {
  display: block;
}

footer.site-footer .footer-banners .banner-list img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* コピーライト */
footer.site-footer > .copy {
  margin: 30px 0 0;
  padding: 14px 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

/* ==================================================
   スマートフォン
   ================================================== */

@media screen and (max-width: 768px) {
  footer.site-footer {
    padding-top: 30px;
  }

  footer.site-footer .footer-inner {
    padding: 0 15px;
  }

  footer.site-footer .footer-logo h2 img {
    max-width: 320px;
  }

  footer.site-footer .footer-address {
    font-size: 14px;
  }

  footer.site-footer .footer-tel a {
    padding-left: 32px;
    font-size: 28px;
  }

  footer.site-footer .footer-tel a::before {
    width: 24px;
    height: 24px;
  }

  footer.site-footer .footer-schedule {
    margin-bottom: 25px;
  }

  footer.site-footer .footer-schedule-table {
    min-width: 760px;
    font-size: 14px;
  }

  footer.site-footer .footer-schedule-table thead th {
    font-size: 15px;
  }

  footer.site-footer .footer-schedule-table tbody th {
    font-size: 14px;
  }

  footer.site-footer .footer-schedule-table th,
  footer.site-footer .footer-schedule-table td {
    padding: 12px 6px;
  }

  footer.site-footer .footer-schedule-table .doctor-title,
  footer.site-footer .footer-schedule-table .doctor-name {
    font-size: 14px;
  }

  footer.site-footer .footer-schedule-table .doctor-sub {
    font-size: 12px;
  }

  footer.site-footer .footer-schedule-table .doctor-kyou {
    font-size: 15px;
  }

  footer.site-footer .footer-schedule-notes {
    padding: 15px;
    font-size: 12px;
  }

  footer.site-footer .footer-navigation {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }

  footer.site-footer .footer-nav-group h3 {
    font-size: 18px;
  }

  footer.site-footer .footer-nav-group ul {
    gap: 8px 15px;
  }

  footer.site-footer .footer-nav-group a {
    font-size: 14px;
  }

  footer.site-footer .footer-card {
    margin-bottom: 25px;
  }

  footer.site-footer .footer-card p {
    font-size: 12px;
  }

  footer.site-footer .footer-card img.sp-no {
    display: none;
  }

  footer.site-footer .footer-card img.pc-no {
    display: block;
    width: 100%;
    max-width: 500px;
  }

  footer.site-footer .footer-banners {
    padding: 0 15px;
  }

  footer.site-footer .footer-banners .banner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  footer.site-footer .footer-banners .banner-list li:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 6px);
  }

  footer.site-footer > .copy {
    margin-top: 22px;
    font-size: 12px;
  }
}

/* =========================================
   フッター調整：中央寄せ・サイズ縮小
   ========================================= */

/* 各要素の幅を必要以上に広げない */
footer.site-footer .footer-inner {
  align-items: center;
}

/* ロゴ */
footer.site-footer .footer-logo {
  width: 100%;
  text-align: center;
}

footer.site-footer .footer-logo h2 {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

footer.site-footer .footer-logo h2 a {
  display: inline-block;
}

footer.site-footer .footer-logo h2 img {
  width: 100%;
  max-width: 360px;
}

/* 住所 */
footer.site-footer .footer-address {
  width: 100%;
  margin-bottom: 8px;
  text-align: center;
}

/* 電話番号 */
footer.site-footer .footer-tel {
  width: 100%;
  text-align: center;
}

footer.site-footer .footer-tel a {
  display: inline-block;
}

/* WEB予約ボタン */
footer.site-footer .footer-reservation {
  width: 100%;
  text-align: center;
}

footer.site-footer .footer-reservation .btn-web {
  display: flex;
  justify-content: center;
}

/* =========================================
   診療時間表
   .top-schedule-table のサイズ感を参考に調整
   ========================================= */

footer.site-footer .footer-schedule {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 30px;
}

footer.site-footer .footer-schedule-table-wrap {
  width: 100%;
}

footer.site-footer .footer-schedule-table {
  width: 100%;
  min-width: 760px;
  font-size: 12px;
  line-height: 1.3;
}

footer.site-footer .footer-schedule-table thead th {
  padding: 12px 8px;
  font-size: 14px;
}

footer.site-footer .footer-schedule-table tbody th,
footer.site-footer .footer-schedule-table tbody td {
  padding: 12px 6px;
}

footer.site-footer .footer-schedule-table tbody th {
  width: 150px;
  font-size: 13px;
}

footer.site-footer .footer-schedule-table .doctor-title {
  font-size: 13px;
}

footer.site-footer .footer-schedule-table .doctor-name {
  font-size: 13px;
  white-space: normal;
}

footer.site-footer .footer-schedule-table .doctor-sub {
  font-size: 11px;
}

footer.site-footer .footer-schedule-table .doctor-kyou {
  font-size: 14px;
}

/* 診療時間表の注意書き */
footer.site-footer .footer-schedule-notes {
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================
   フッターナビ
   ========================================= */

footer.site-footer .footer-navigation {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
}

/* =========================================
   クレジットカード
   ========================================= */

footer.site-footer .footer-card {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

footer.site-footer .footer-card p {
  margin-bottom: 12px;
  text-align: center;
}

footer.site-footer .footer-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

footer.site-footer .footer-card img.sp-no {
  width: 400px;
  max-width: 100%;
}

footer.site-footer .footer-card img.pc-no {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* =========================================
   バナーは現状の5列表示を維持
   ========================================= */

footer.site-footer .footer-banners {
  max-width: 1160px;
}

/* =========================================
   スマートフォン
   ========================================= */

@media screen and (max-width: 768px) {
  footer.site-footer .footer-logo h2 img {
    max-width: 300px;
  }

  footer.site-footer .footer-address {
    font-size: 14px;
  }

  footer.site-footer .footer-tel a {
    font-size: 26px;
  }

  footer.site-footer .footer-schedule {
    margin-bottom: 24px;
  }

  footer.site-footer .footer-schedule-table {
    min-width: 760px;
  }

  footer.site-footer .footer-schedule-notes {
    padding: 12px;
    font-size: 11px;
  }

  footer.site-footer .footer-navigation {
    max-width: 500px;
  }

  footer.site-footer .footer-card {
    max-width: 100%;
  }

  footer.site-footer .footer-card p {
    font-size: 12px;
  }

  footer.site-footer .footer-card img.pc-no {
    max-width: 300px;
  }
}

/* =========================================
   フッターの幅を統一
   ========================================= */

footer.site-footer .footer-schedule {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
}

footer.site-footer .footer-navigation {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
}

/* 診療時間表の列幅を均等にする */
footer.site-footer .footer-schedule-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-size: 12px;
}

footer.site-footer .footer-schedule-table thead th:first-child,
footer.site-footer .footer-schedule-table tbody th {
  width: 145px;
}

footer.site-footer .footer-schedule-table th,
footer.site-footer .footer-schedule-table td {
  padding: 12px 4px;
  overflow-wrap: break-word;
}

/* 医師名・役職の太さをすべて統一 */
footer.site-footer .footer-schedule-table .doctor-title,
footer.site-footer .footer-schedule-table .doctor-name,
footer.site-footer .footer-schedule-table .doctor-sub,
footer.site-footer .footer-schedule-table .doctor-kyou {
  font-weight: 400;
}

/* スマートフォンでは表を横スクロール */
@media screen and (max-width: 768px) {
  footer.site-footer .footer-schedule-table {
    min-width: 760px;
  }
}