:root {
  --accent: #d1a5a6;
  --heading: #34543c;
  --ink: #594a3d;
  --muted-ink: #7e6b5a;
  --surface: #fcf5fa;
  --focus: #285340;
  font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #ccc;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .16em; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.site { width: min(100%, 1110px); margin-inline: auto; background: #fff; }
.wrap { width: min(960px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  z-index: 10;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header, .site-footer { background: var(--accent); color: #302524; }
.header-inner {
  display: grid;
  grid-template-columns: 184px minmax(338px, 359px) minmax(0, 1fr);
  align-items: center;
  column-gap: 27px;
  min-height: 95px;
  padding-block: 18px;
}
.site-brand { width: 184px; }
.header-actions { display: flex; gap: 27px; align-items: center; }
.header-actions a { display: grid; place-items: center; min-height: 44px; text-decoration: none; }
.header-phone img { width: 148px; }
.header-booking img { width: 184px; }
.mobile-action { display: none; }
.header-nav, .footer-nav, .footer-notices { display: flex; align-items: center; gap: 12px; }
.header-nav { justify-content: space-between; gap: 8px; }
.header-nav a, .site-footer a { text-decoration: none; }
.header-nav a { padding-block: 10px; font-size: 13px; white-space: nowrap; }
.header-nav a:hover, .site-footer a:hover { text-decoration: underline; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
  min-height: 95px;
  padding-block: 17px 10px;
  font-size: 13px;
}
.footer-brand { margin-right: 24px; }
.footer-brand img { width: 80px; }
.footer-nav, .footer-notices { flex-wrap: wrap; justify-content: center; }
.footer-notices-label { display: none; }
.footer-inner small { width: 100%; text-align: center; font-size: 11px; }

.clinic-map { min-width: 0; color: var(--heading); }
.clinic-map iframe { display: block; width: 100%; min-height: 265px; border: 0; background: #e8f0e4; }
.clinic-map figcaption { margin-top: 8px; }
.clinic-map a { font-size: 14px; font-weight: 600; }

@media (761px <= width < 1030px) {
  .header-inner { grid-template-columns: minmax(130px, 184px) 1fr; column-gap: 16px; padding-block: 12px; }
  .site-brand { width: 100%; }
  .header-actions { justify-content: end; }
  .header-nav { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 760px) {
  .header-inner { display: flex; flex-direction: column; gap: 12px; padding-block: 18px 12px; }
  .header-actions, .header-nav, .footer-nav, .footer-notices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    width: 100%;
  }
  .header-actions img { display: none; }
  .header-actions .mobile-action { display: block; line-height: 1.4; }
  .header-actions a {
    min-height: 56px;
    padding: 8px;
    font-size: 14px;
    text-align: center;
  }
  .header-phone { color: #fff; background: var(--heading); }
  .header-booking { color: var(--heading); background: #fff; }
  .header-nav a, .footer-nav a { color: var(--heading); }
  .header-nav a, .footer-nav a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 7px 2px;
    white-space: normal;
    text-align: center;
    font-size: 14px;
  }
  .header-nav a[aria-current], .footer-nav a[aria-current] { background: #fff8fc; }
  .footer-inner { flex-direction: column; gap: 16px; padding-block: 28px; }
  .footer-brand { margin: 0; }
  .footer-brand img { width: 104px; }
  .footer-notices { grid-template-columns: 1fr; }
  .footer-notices-label { display: block; color: #302524; font-size: 14px; text-align: center; }
  .footer-notices a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px;
    color: #fff;
    background: var(--heading);
    text-align: center;
  }
  .clinic-map iframe { height: 291px; }
}
.home-hours td.hours-saturday,
.care-hours-table td.hours-saturday {
  padding-inline: 0;
  color: var(--heading);
  font-size: clamp(10px, 3vw, 13px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.hours-saturday > span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 430px) {
  .home-hours td.hours-saturday,
  .care-hours-table td.hours-saturday {
    font-size: 10px;
  }
}

@media (max-width: 374px) {
  .hours-saturday .hours-saturday-separator {
    display: block;
  }
}
