:root {
  color-scheme: light;
  --blue: #2055a0;
  --navy: #002641;
  --orange: #fd7e14;
  --text: #3c3c3c;
  --heading: #0d0d0d;
  --muted: #f0f5f8;
  --border: #d2dce2;
  font-family: "Fira Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 100px;
  color: var(--text);
  background: #fff;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--heading);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--text);
  text-decoration: underline;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 1.5rem max(4.5%, calc((100% - 1140px) / 2));
  background: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #111;
}

.brand img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.brand:hover {
  color: var(--navy);
  text-decoration: none;
}

.hospital-icon {
  display: block;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
}

.content-width {
  width: min(1140px, calc(100% - 3rem));
  margin-inline: auto;
}

.notice {
  padding: clamp(3rem, 7vw, 6.5rem) 0 3rem;
  background: var(--muted);
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 2.4rem;
  color: var(--heading);
  font-size: clamp(2.4rem, 5.3vw, 3.45rem);
  font-weight: 700;
  line-height: 1.13;
}

.notice p {
  max-width: 970px;
  margin-bottom: 1.1rem;
}

.contact-intro {
  text-align: center;
}

.notice h2 {
  margin: 1.8rem 0 0.6rem;
  color: var(--heading);
  font-size: clamp(1.65rem, 3.4vw, 2.1rem);
  line-height: 1.2;
}

.hospital {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hospital h2,
.clinics h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: #2055a0;
  font-size: clamp(1.7rem, 3.7vw, 2.35rem);
  line-height: 1.2;
}

.hospital-details {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) 1.2fr;
  gap: 2rem;
  align-items: center;
}

.hospital-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 549;
  object-fit: cover;
}

.hospital-details p {
  margin-bottom: 1rem;
}

.address-list {
  padding-left: 1.25rem;
}

.address-list li::marker {
  color: var(--orange);
}

.clinics {
  padding: 3.5rem 0 4.5rem;
  background: var(--muted);
}

.clinics h2 {
  margin-bottom: 1.75rem;
  color: var(--heading);
}

.clinics > .content-width > h3 {
  margin: 0 0 1.75rem;
  color: #2055a0;
  font-size: clamp(1.7rem, 3.7vw, 2.35rem);
  line-height: 1.2;
}

.contact-accordion {
  margin-bottom: 0.65rem;
}

.contact-accordion summary {
  position: relative;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  padding: 0.8rem 3rem 0.8rem 1rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.contact-accordion summary::-webkit-details-marker {
  display: none;
}

.contact-accordion summary::after {
  position: absolute;
  right: 1rem;
  color: var(--orange);
  content: "+";
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 160ms ease;
}

.contact-accordion summary:hover,
.contact-accordion summary:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.contact-accordion[open] summary {
  border-color: var(--navy);
  border-radius: 2px 2px 0 0;
  background: var(--navy);
  color: #fff;
}

.contact-accordion[open] summary::after {
  content: "−";
}

.contact-accordion[open] summary:hover::after {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 1.25rem 1.2rem 0.65rem;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 2px 2px;
  background: #fff;
}

.accordion-content ul {
  padding-left: 1.2rem;
}

.accordion-content li {
  margin-bottom: 0.35rem;
}

.accordion-content li::marker {
  color: var(--orange);
}

.accordion-content p {
  margin-bottom: 0.5rem;
}

.site-footer {
  padding: 1.4rem 0;
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}

.site-footer p {
  margin: 0;
  color: inherit;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-footer a {
  color: var(--text);
}

.icon-credit {
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 100px;
    padding-inline: 1.5rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .content-width {
    width: min(100% - 2rem, 1140px);
  }

  .hospital-details {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hospital-photo {
    margin-bottom: 1.5rem;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
