.care-page {
  --care-tint: #fff8fc;
  --care-pale-green: #e8f0e4;
  --care-hours-ink: #3e443a;
  --care-hours-rule: #c3cbbd;
  --care-hours-mark: #ff383c;
  background: #fff;
  color: var(--muted-ink, #7e6b5a);
  font-size: 17.5px;
  line-height: 28px;
  overflow-wrap: anywhere;
}

.care-page :where(h1, h2, p, ul) {
  margin: 0;
}

.care-page :is(h1, h2) {
  color: var(--heading, #34543c);
  line-height: 36px;
}

.care-page h1 {
  font-size: 32px;
}

.care-page h2 {
  font-size: 24px;
}

.care-title {
  padding-block: 32px 36px;
  background: url("./home-img2.jpg") repeat-x left top / 555px 450px;
}

.care-title > .wrap,
.care-section > .wrap {
  display: grid;
  gap: 24px;
}

.care-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  line-height: 20px;
}

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

.care-breadcrumb a:hover {
  text-decoration: underline;
}

.care-section {
  padding-block: 40px;
}

.care-tinted,
.care-questionnaire {
  background: var(--care-tint);
}

.care-first-visit {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}

.care-room {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.care-first-list,
.care-hours-notes {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.care-first-list li::before {
  content: '・';
}

.care-questionnaire {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 24px 28px;
}

.care-download,
.care-visit-phone,
.care-contact-link {
  color: var(--heading, #34543c);
  font-weight: 700;
}

.care-download {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--heading, #34543c);
  color: #fff;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
}

.care-download:hover,
.care-visit-phone:hover {
  text-decoration: underline;
}

.care-hours h2 {
  margin-bottom: 26px;
  line-height: 26px;
}

.care-hours h2 span {
  margin-inline-start: .25em;
  font-size: 14px;
}

.care-hours-table {
  width: min(100%, 570px);
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  color: var(--care-hours-ink);
  font-size: 15px;
  line-height: 22px;
}

.care-hours-table th,
.care-hours-table td {
  height: 36px;
  padding: 5px 2px;
  border: 1px solid var(--care-hours-rule);
  text-align: center;
  vertical-align: middle;
}

.care-hours-table thead th {
  background: var(--care-pale-green);
}

.care-hours-table tbody th {
  background: #f7f9f4;
}

.care-hours-time {
  width: 34%;
}

.care-hours-table tbody th span {
  font-variant-numeric: tabular-nums;
}

.care-hours-mark,
.care-hours-notes {
  color: var(--care-hours-mark);
}

.care-hours-table tbody tr:last-child .care-hours-mark,
.care-hours-notes {
  font-weight: 700;
}

.care-hours-notes {
  gap: 0;
  font-size: 15px;
  line-height: 24px;
}

.care-hours-notes li:last-child {
  min-height: 29px;
}

.care-hours-closed a {
  color: inherit;
}

#home-visit {
  scroll-margin-block-start: 16px;
}

.care-visit-phone {
  display: block;
  padding: 20px 24px;
  background: var(--care-pale-green);
  font-size: 24px;
  line-height: 36px;
  text-decoration: none;
}

.care-contact-link {
  justify-self: start;
  text-decoration: underline;
}

.care-page a:focus-visible {
  outline: 2px solid var(--heading, #34543c);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .care-page {
    font-size: 16px;
  }

  .care-title {
    padding-block: 24px 28px;
  }

  .care-title > .wrap {
    gap: 12px;
  }

  .care-page h1 {
    font-size: 26px;
  }

  .care-page h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .care-section {
    padding-block: 32px;
  }

  .care-section > .wrap,
  .care-first-visit {
    gap: 20px;
  }

  .care-first-visit {
    grid-template-columns: minmax(0, 1fr);
  }

  .care-room {
    justify-self: center;
    width: min(100%, 220px);
  }

  .care-questionnaire {
    justify-items: stretch;
    padding: 20px 16px;
  }

  .care-download {
    padding: 12px;
    font-size: 14px;
    line-height: 24px;
  }

  .care-hours h2 {
    margin-bottom: 20px;
    font-weight: 400;
  }

  .care-hours h2 span {
    margin-inline-start: 0;
    font-size: clamp(16px, 5.65vw, 22px);
  }

  .care-hours-table {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }

  .care-hours-time {
    width: 32%;
  }

  .care-hours-table th {
    font-size: 11px;
    font-weight: 400;
  }

  .care-hours-table tbody th {
    font-size: 12px;
  }

  .care-hours-table tbody :is(th, td) {
    height: 56px;
  }

  .care-hours-table tbody th span {
    display: block;
  }

  .care-hours-notes,
  .care-hours-closed {
    font-size: 14px;
    line-height: 24px;
  }

  .care-hours-notes {
    gap: 8px;
    margin-top: 20px;
  }

  .care-hours-notes,
  .care-hours-table tbody tr:last-child .care-hours-mark {
    font-weight: 400;
  }

  .care-hours-notes li:last-child {
    min-height: 0;
  }

  .care-visit-phone {
    padding: 16px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
  }

  .care-contact-link {
    justify-self: stretch;
    min-height: 44px;
    padding-block: 10px;
    line-height: 24px;
  }
}
