.home { background: #fff url("./home-img2.jpg") repeat top left; }
.home-content { width: min(820px, calc(100% - 40px)); }
.home-hero { display: grid; grid-template-columns: 380fr 730fr; }
.hero-message { display: grid; place-items: center; padding-left: 30px; }
.hero-message img { max-width: 70%; transform: translateY(-8px); }
.hero-message p { display: none; }
.hero-photo { width: 100%; aspect-ratio: 730 / 373; object-fit: cover; }

.home-news { padding-block: 20px 25px; min-height: 415px; background: #fff8fc; color: var(--muted-ink); }
.home-news h2 { color: #3c773b; font-size: 22px; line-height: 1.2; }
.home-news-list { margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.7; }
.home-news-list > li + li { margin-top: 10px; }
.home-news-list h3 { font-size: 16px; line-height: 1.35; margin-bottom: 4px; }
.home-news-list img { margin-top: 8px; }
.home-news-list .holiday-notice-image { display: block; width: min(100%, 615px); height: auto; }
.home-news-list li { overflow-wrap: anywhere; }

.home-details { min-height: 826px; padding-block: 23px 52px; }
.home-clinic {
  display: grid;
  grid-template-columns: minmax(0, 615px) minmax(0, 205px);
  align-items: start;
  row-gap: 16px;
}
.clinic-intro { grid-column: 1; }
.clinic-intro p { margin-top: 15px; }
.clinic-illustrations { grid-column: 2; grid-row: 1 / 3; padding: 16px 0 0 20px; }
.clinic-exterior { width: 185px; height: 167px; object-fit: contain; }
.clinic-eye-test { width: 218px; max-width: calc(100% - 25px); height: 160px; margin-inline-start: 25px; object-fit: contain; }
.home-hours { grid-column: 1; margin-top: 22px; width: min(100%, 599px); }
.home h2:not(#news-title) { color: var(--heading); font-size: 24px; font-weight: 500; line-height: 1.35; }
.home-hours h2 small { font-size: 14px; }
.home-hours table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  margin-top: 21px;
  color: #3e443a;
  font-size: 15px;
  text-align: center;
}
.home-hours th, .home-hours td { padding: 6px 2px; height: 37px; border: 1px solid #c3cbbd; }
.home-hours th { font-weight: 500; }
.home-hours thead { background: #e8f0e4; }
.home-hours tbody th { background: #f7f9f4; }
.home-hours tbody td { background: #fff; }
.home-hours th:first-child { width: 32.4%; }
.hours-marker, .hours-notes { color: #b5242c; }
.hours-notes, .clinic-notes, .home-access ul { margin: 4px 0 0; padding: 0; list-style: none; }
.hours-notes li { display: flex; gap: 10px; }
.hours-notes, .clinic-notes, .home-access { font-size: 15px; }
.clinic-notes { grid-column: 1 / -1; color: #222; }
.clinic-notes li { display: flex; gap: 10px; }
.clinic-notes li::before { content: "※"; }
.home-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 24px;
  align-items: start;
  margin-top: 36px;
  color: #222;
}
.home-access h2 { margin-bottom: 7px; }
.home-access p { margin-bottom: 6px; }
.home-access ul { margin: 0; }
.home-access li::before { content: "・"; }
.home-access .clinic-map iframe { height: 300px; }

@media (max-width: 760px) {
  .home { background-image: none; }
  .home-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
    background: #fff url("./home-img2.jpg") repeat top left;
    background-size: 555px 450px;
  }
  .hero-photo { order: -1; }
  .hero-message { padding: 0; text-align: center; }
  .hero-message img { display: none; }
  .hero-message p { display: block; color: var(--muted-ink); font-size: 16px; line-height: 28px; }
  .home-news { min-height: 0; padding-block: 32px; }
  .home-news h2 { color: var(--heading); line-height: 32px; }
  .home-news-list { margin-top: 20px; font-size: 16px; line-height: 1.75; }
  .home-news-list h3 { font-size: 18px; line-height: 28px; }
  .home-details { min-height: 0; padding-block: 32px; }
  .home-clinic { display: flex; flex-direction: column; gap: 18px; }
  .clinic-intro p { margin-top: 8px; }
  .clinic-illustrations { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 0; }
  .clinic-illustrations img { width: min(48%, 185px); height: auto; }
  .clinic-eye-test { margin-inline-start: 0; }
  .home-hours { margin-top: 0; }
  .home h2:not(#news-title) { font-size: 22px; }
  .home-hours h2 small { font-size: inherit; }
  .home-hours table { margin-top: 12px; font-size: clamp(10px, 3.1vw, 14px); }
  .home-hours th, .home-hours td { height: 38px; }
  .home-hours th:first-child { width: 31.5%; }
  .home-hours thead th:last-child { padding-inline: 0; white-space: nowrap; }
  .home-hours tbody th span { display: block; }
  .hours-notes { margin-top: 10px; font-size: 14px; }
  .home-access { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 36px; font-size: 16px; }
  .home-access .clinic-map iframe { height: 291px; }
}

@media (max-width: 360px) {
  .hero-message p { font-size: 14px; }
}
