:root {
  --brand-green: #007640;
  --bg-offwhite: #fbf9f3;
  --bg-cream: #f5f0e2;
  --surface-white: #ffffff;
  --text-charcoal: #2a2a2a;
  --text-soft: #5a5a5a;
  --border-soft: #e0dcc8;
    --line-green: #06c755;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-offwhite);
  color: var(--text-charcoal);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--text-charcoal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-green);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 2px;
}

h1,
h2,
h3,
p,
ol,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
}

h2 {
  color: var(--brand-green);
  font-size: 32px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  background: var(--bg-offwhite);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  margin: 0 auto;
  max-width: 1440px;
  padding: 12px clamp(16px, 3vw, 32px);
}

.site-logo {
  align-items: center;
  display: flex;
  flex: 0 1 220px;
  min-height: 44px;
}

.site-logo img {
  max-height: 48px;
  width: 220px;
}

.header-menu {
  flex: 1 1 auto;
}

.header-menu summary {
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  height: 44px;
  padding: 0;
  place-items: center;
  width: 44px;
}

.header-menu > summary {
  list-style: none;
}

.header-menu > summary::marker {
  content: "";
}

.header-menu > summary::-webkit-details-marker {
  display: none;
}

.header-menu > summary:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 2px;
}

.header-menu__icon {
  height: 24px;
  position: relative;
  width: 24px;
}

.header-menu__icon::before,
.header-menu__icon::after {
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 24px;
}

.header-menu__icon::before {
  background: var(--brand-green);
  box-shadow: 0 8px var(--brand-green), 0 16px var(--brand-green);
  top: 3px;
}

.header-menu__icon::after {
  background: transparent;
  top: 11px;
}

.header-menu[open] .header-menu__icon::before {
  box-shadow: none;
  top: 11px;
  transform: rotate(45deg);
}

.header-menu[open] .header-menu__icon::after {
  background: var(--brand-green);
  transform: rotate(-45deg);
}

.header-menu__list {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  justify-content: center;
}

.header-menu__list--desktop {
  display: none;
  flex: 1 1 auto;
}

.header-menu__list a {
  font-size: 16px;
  min-height: 44px;
  padding: 10px 0;
  white-space: nowrap;
}

.external-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  max-width: 520px;
}

.external-action {
  align-items: center;
  border: 1px solid var(--brand-green);
  display: flex;
  font-size: 16px;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
}

.external-action--primary {
  background: var(--bg-cream);
  color: var(--brand-green);
  font-weight: 700;
}

.external-action--primary:hover {
  color: var(--brand-green);
}

.external-action--line,
.external-action--instagram {
  background: var(--surface-white);
  border-color: var(--border-soft);
  color: var(--text-charcoal);
  min-width: 220px;
}

.external-action--line:hover,
.external-action--instagram:hover {
  color: var(--text-charcoal);
}

.line-logo {
  flex: 0 0 auto;
  height: 20px;
  max-width: none;
  width: auto;
}

.line-action__label {
  font-size: 16px;
  margin-left: 8px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 42% 58%;
}

.hero__copy {
  align-items: center;
  background: var(--bg-offwhite);
  display: flex;
  min-height: 620px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
}

.hero__copy-inner {
  max-width: 520px;
}

.hero h1 {
  color: var(--text-charcoal);
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: 0.07em;
  line-height: 1.55;
}

.hero-departments {
  color: var(--text-soft);
  font-size: 17px;
  letter-spacing: 0.05em;
  margin-top: 24px;
}

.external-actions {
  margin-top: 32px;
}

.hero__visual {
  background-image: url("images/hero-reception-1600.jpg");
  background-image: image-set(
    url("images/hero-reception-1600.webp") type("image/webp") 1x,
    url("images/hero-reception-2400.webp") type("image/webp") 1.5x
  );
  background-position: 54% 45%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 620px;
}

.section {
  padding: clamp(64px, 9vw, 112px) 24px;
}

.section--offwhite {
  background: var(--bg-offwhite);
}

.section--cream {
  background: var(--bg-cream);
}

.section-inner {
  margin: 0 auto;
  max-width: 1000px;
}

.section h2 {
  margin-bottom: 48px;
}

.greeting__image {
  display: block;
  margin: 0 auto;
  max-width: 1000px;
}

.greeting__image img {
  aspect-ratio: 1500 / 1001;
  object-fit: cover;
  object-position: 62% 50%;
  width: 100%;
}

.greeting__lead {
  color: var(--brand-green);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.8;
  margin: 48px auto 0;
  max-width: 1000px;
}

.greeting__body {
  font-size: 16px;
  line-height: 2;
  margin: 40px auto 0;
  max-width: 720px;
}

.greeting__body--two-column {
  max-width: 1000px;
}

.greeting__body p + p {
  margin-top: 1.25em;
}

.greeting__emphasis {
  color: var(--brand-green);
  font-size: 18px;
  font-weight: 700;
}

.greeting__body .greeting__signature {
  color: var(--brand-green);
  margin-top: 48px;
}

@media (min-width: 1024px) {
  .greeting__body--two-column {
    align-items: start;
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr 1fr;
  }

  .greeting__column > p:first-child {
    margin-top: 0;
  }
}

.services {
  display: grid;
  gap: 72px;
}

.service-area {
  padding: clamp(24px, 4vw, 40px);
}

.service-area--offwhite {
  background: var(--bg-offwhite);
}

.service-area--cream {
  background: var(--bg-cream);
}

.service-area--white {
  background: var(--surface-white);
}

.service-area h3 {
  border-left: 4px solid var(--brand-green);
  color: var(--text-charcoal);
  font-size: 28px;
  line-height: 1.5;
  padding-left: 16px;
}

.service-area__description {
  color: var(--text-soft);
  font-size: 16px;
  margin: 12px 0 32px;
}

.service-area__departments {
  color: var(--brand-green);
  font-weight: 700;
  margin-bottom: 8px;
}

.service-items {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-items.items--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-items.items--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-items li {
  align-items: center;
  border-top: 1px solid var(--border-soft);
  display: flex;
  font-size: 17px;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
}

.service-items li span {
  color: var(--brand-green);
  font-size: 16px;
}

.service-area__note {
  border-left: 4px solid var(--brand-green);
  color: var(--text-soft);
  font-size: 16px;
  margin-top: 24px;
  padding: 12px 16px;
}

.doctors {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 0 auto;
  max-width: 900px;
}

.doctor-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--brand-green);
  padding: 28px 24px;
}

.doctor-card__number {
  color: var(--brand-green);
  font-size: 16px;
}

.doctor-card h3 {
  color: var(--text-charcoal);
  font-size: 22px;
  line-height: 1.5;
  margin-top: 12px;
}

.doctor-card h3 + p {
  color: var(--text-soft);
  font-size: 16px;
  margin-top: 8px;
}

.schedule-wrap {
  overflow-x: auto;
}

.schedule-table {
  background: var(--surface-white);
  border-collapse: collapse;
  font-size: 16px;
  min-width: 760px;
  width: 100%;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--border-soft);
  padding: 12px;
  text-align: center;
}

.schedule-table thead th {
  background: var(--bg-cream);
  color: var(--brand-green);
}

.schedule-table tbody th {
  color: var(--text-charcoal);
  font-weight: 400;
}

@media (max-width: 799px) {
  .schedule-table {
    min-width: 0;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 2px;
  }

  .schedule-table tbody th {
    line-height: 1.4;
  }

  .schedule-time {
    display: block;
  }

  .schedule-sub,
  .schedule-sep {
    display: none;
  }
}

.schedule-note {
  color: var(--text-soft);
  font-size: 16px;
  margin-top: 12px;
}

.access-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 48px;
}

.access-info h3,
.access-payment h3 {
  color: var(--brand-green);
  font-size: 22px;
  line-height: 1.5;
}

.access-info dl {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.access-info dl > div {
  display: grid;
  gap: 8px;
  grid-template-columns: 100px minmax(0, 1fr);
}

.access-info dt {
  color: var(--brand-green);
  font-size: 16px;
  font-weight: 700;
}

.access-info dd {
  font-size: 16px;
  margin: 0;
}

.telephone {
  color: var(--brand-green);
  font-size: 28px;
}

.access-payment {
  border-left: 4px solid var(--brand-green);
  margin-top: 48px;
  padding: 20px;
}

.access-payment h3 {
  margin-bottom: 16px;
}

.access-payment p {
  font-size: 16px;
  margin-top: 0;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.payment-logos li {
  align-items: center;
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0 10px;
}

.payment-logos img {
  height: 28px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

@media (min-width: 1024px) {
  .payment-logos {
    display: grid;
    grid-template-columns: repeat(6, max-content);
  }
}

.access-map {
  border: 0;
  min-height: 360px;
  width: 100%;
}

.site-footer {
  background: var(--brand-green);
  color: var(--surface-white);
  padding: 48px 24px 24px;
  text-align: center;
}

.footer-inner {
  margin: 0 auto;
  max-width: 1000px;
}

.footer-logo {
  background: var(--bg-offwhite);
  display: inline-block;
  margin-bottom: 24px;
  padding: 12px 16px;
}

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

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

.site-footer p + p {
  margin-top: 8px;
}

.site-footer a {
  color: var(--surface-white);
}

.site-footer a:focus-visible {
  outline-color: var(--surface-white);
}

.footer-copy {
  margin-top: 24px;
}

.footer-trademark {
  color: var(--surface-white);
}

@media (min-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  section[id],
  #access-contact {
    scroll-margin-top: 112px;
  }

  .header-inner {
    gap: clamp(12px, 1.5vw, 24px);
  }

  .site-logo {
    flex-basis: 180px;
  }

  .site-logo img {
    width: 180px;
  }

  .header-menu {
    display: none;
  }

  .header-menu__list--desktop {
    display: flex;
    gap: 32px;
    justify-content: flex-end;
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
  }

  .header-menu {
    justify-self: end;
    position: relative;
  }

  .header-menu__list--mobile {
    background: var(--bg-offwhite);
    border: 1px solid var(--border-soft);
    display: none;
    gap: 0;
    justify-content: stretch;
    padding: 8px 16px;
  }

  .header-menu[open] .header-menu__list--mobile {
    display: grid;
  }

  .header-menu__list a {
    padding: 10px 0;
  }

    .header-inner:has(.header-menu[open]) .site-logo {
    display: none;
  }

  .header-menu[open] {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .header-menu[open] > summary {
    margin-left: auto;
  }

  .header-menu[open] .header-menu__list--mobile {
    border-left: 0;
    border-right: 0;
    grid-template-columns: 1fr;
    margin-top: 8px;
    padding: 0;
  }

  .header-menu[open] .header-menu__list--mobile a {
    border-bottom: 1px solid var(--border-soft);
    padding: 14px 0;
  }

  .header-menu[open] .header-menu__list--mobile a:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .hero__visual {
    background-position: 52% 44%;
  }
}

@media (max-width: 959px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(620px, auto);
  }

  .hero__copy,
  .hero__visual {
    grid-area: 1 / 1;
  }

  .hero__copy {
    align-self: end;
    background: none;
    min-height: 0;
    padding: 0 0 16px;
    z-index: 1;
  }

  .hero__copy-inner {
    background: var(--bg-offwhite);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: none;
    margin: 0 auto;
    padding: 24px;
    width: min(520px, calc(100% - 32px));
  }

  .hero__visual {
    background-position: 50% 42%;
    min-height: 620px;
    z-index: 0;
  }

  .hero-departments {
    margin-top: 16px;
  }

  .hero .external-actions {
    margin-top: 24px;
  }

  .hero .external-action {
    line-height: 1.5;
    min-height: 52px;
    padding: 8px 12px;
  }

  .access-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .header-inner {
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 8px 16px;
  }

  .site-logo img {
    width: 180px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-items.items--3,
  .service-items.items--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 719px) {
  .external-actions {
    grid-template-columns: 1fr;
  }
}

.hero .external-actions {
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero .external-action {
  min-width: 0;
  padding: 8px;
}

@media (max-width: 640px) {
  .doctors {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .site-logo img {
    width: 160px;
  }

  .access-info dl > div {
    grid-template-columns: 1fr;
  }

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