/* -------------------footer------------------- */
/* フッター全体 */
.footer,
.footer * {
  box-sizing: border-box;
}

.footer {
  background-image: url("http://www.hata-shika.com/wp-content/uploads/2026/05/footer-bg.png");
  position: relative;
  padding: 35px 0 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  overflow: hidden;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footerinner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 916px);
  margin: 0 auto;
}

/* 上部 */
.footer-top {
  display: grid;
  grid-template-columns: 490px 1fr;
  gap: 70px;
  align-items: start;
}

/* ロゴ */
.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 290px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  background: #fff;
}

.footer-logo::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 15px 0 24px;
  background: rgba(255, 255, 255, 0.82);
}

/* 診療時間 */
.footer-schedule-title {
  margin-bottom: 9px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
	font-weight:600;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #c9c5ba;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  color: #333;
}

.schedule-table th {
  height: 43px;
  background: #59543a;
  color: #fff;
  letter-spacing: 0.06em;
}

.schedule-table td {
  height: 56px;
  background: rgba(255, 255, 255, 0.88);
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  width: 128px;
}

.schedule-table .closed {
  color: #b6372d;
	font-weight:600;
}

.footer-schedule .note {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.06em;
  color: #fff;
}

/* 右側情報 */
.footer-info {
  padding-top: 84px;
}

.footer-info-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.footer-info-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 31px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.07em;
}

.footer-info-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  text-align: center;
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
  font-size: 18px;
}

.footer-info-list .ico-map::before {
  content: "\f3c5";
}

.footer-info-list .ico-train::before {
  content: "\f238";
}

.footer-info-list .ico-tel::before {
  content: "\f095";
}

/* WEB予約バナー */
.footer-reserve-banner {
  display: block;
  width: 202px;
  margin: 19px 0 0 2px;
  transition: 0.3s ease;
}

.footer-reserve-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-reserve-banner:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
.footer-reserve-banner:active {
  transform: translateY(2px);
}

/* ナビエリア */
.footer-nav-area {
  position: relative;
  margin-top: 71px;
  padding: 26px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.footer-nav-area::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 116px;
  height: 32px;
  transform: translateX(-50%);
  background:
    linear-gradient(135deg, transparent 44%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.18) 55%, transparent 56%),
    linear-gradient(45deg, transparent 44%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.18) 55%, transparent 56%);
  opacity: 0.55;
  pointer-events: none;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr 1fr;
  column-gap: 44px;
}

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

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

.footer-col a {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  transition: 0.3s ease;
}

.footer-col a:hover {
  opacity: 0.72;
}

/* コピーライト */
.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* ------------------- responsive ------------------- */
@media screen and (max-width: 960px) {
  .footerinner {
    width: min(100% - 32px, 720px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-info {
    padding-top: 0;
  }

  .footer-reserve-banner {
    margin: 20px auto 0;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 38px 0 22px;
  }

  .footerinner {
    width: calc(100% - 28px);
  }

  .footer-logo img {
    width: 250px;
  }

  .footer-logo::after {
    margin: 16px 0 20px;
  }

  .schedule-table th,
  .schedule-table td {
    font-size: 12px;
    height: 42px;
  }

  .schedule-table th:first-child,
  .schedule-table td:first-child {
    width: 96px;
  }

  .footer-schedule .note {
    font-size: 12px;
    line-height: 1.7;
  }

  .footer-info-list li {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .footer-reserve-banner {
    width: 202px;
  }

  .footer-nav-area {
    margin-top: 45px;
    padding: 24px 0 24px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .footer-col a {
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .schedule-table th,
  .schedule-table td {
    font-size: 11px;
    padding: 6px 3px;
  }

  .footer-reserve-banner {
    width: 200px;
  }
}