:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #66717d;
  --line: #dfe7ec;
  --paper: #ffffff;
  --soft: #f4f8f9;
  --soft-2: #eaf3f4;
  --green: #1d6f6b;
  --blue: #235f8c;
  --navy: #12364c;
  --aqua: #dff2ef;
  --accent: #c57b2f;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
  --shadow-soft: 0 14px 34px rgba(18, 54, 76, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 236, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(18, 54, 76, 0.05);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 180px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #24313c;
  font-size: 14px;
  white-space: nowrap;
}

.nav a {
  padding: 8px 0;
}

.nav-recruit {
  color: var(--green);
  font-weight: 900;
}

.nav .current {
  color: var(--green);
  font-weight: 800;
  border-bottom: 2px solid var(--green);
}

.phone {
  padding: 10px 16px;
  color: #fff;
  font-weight: 700;
  background: var(--green);
  border-radius: 999px;
}

.site-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--green));
}

.site-alert span {
  padding: 4px 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  border-radius: 999px;
}

.site-alert p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
}

.site-alert a {
  font-size: 18px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(42px, 6vw, 82px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 78px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 16% 24%, rgba(223,242,239,0.92), rgba(223,242,239,0) 26%),
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.78) 48%, rgba(255,255,255,0.16) 100%),
    linear-gradient(180deg, rgba(234,243,244,0.62), rgba(255,255,255,0.94));
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 26px;
  max-width: 860px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.22;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #3e4a56;
  font-size: 17px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span {
  padding: 8px 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(29,111,107,0.18);
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  font-weight: 800;
  border-radius: 999px;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(29, 111, 107, 0.28);
}

.button.secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(29, 111, 107, 0.2);
}

.quick-panel {
  position: relative;
  z-index: 3;
  width: min(900px, 100%);
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 231, 236, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visitor-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: clamp(22px, 3vw, 34px) clamp(20px, 5vw, 72px) 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.visitor-actions a {
  min-height: 138px;
  padding: 24px;
  background: #fff;
  transition: transform .18s ease, background .18s ease;
}

.visitor-actions a:hover {
  transform: translateY(-2px);
  background: #faffff;
}

.visitor-actions span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.visitor-actions strong {
  display: block;
  font-size: 20px;
  line-height: 1.5;
}

.visitor-actions .visitor-recruit {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--navy));
}

.visitor-actions .visitor-recruit span {
  color: #c9f2ee;
}

.notice-hours {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 72px) 0;
}

.hours-card,
.notice-card {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.hours-card {
  background:
    linear-gradient(135deg, rgba(223,242,239,0.82), rgba(255,255,255,0.92)),
    #fff;
}

.hours-card dl {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.hours-card dl div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(29,111,107,0.15);
}

.text-link {
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid rgba(29,111,107,0.3);
}

.notice-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.notice-card li {
  padding: 16px 18px;
  background: var(--soft);
  border-left: 4px solid var(--green);
  border-radius: 10px;
}

.notice-card li span {
  display: inline-block;
  min-width: 76px;
  color: var(--green);
  font-weight: 900;
}

.quick-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.quick-panel div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.quick-panel div:last-child {
  border-right: 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
  line-height: 1.5;
}

.quick-panel dd span,
.hours-card dd span,
.care-list li > span > span {
  display: block;
}

.quick-panel dd span + span,
.hours-card dd span + span,
.care-list li > span > span + span {
  margin-top: 2px;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green);
  color: #fff;
}

.metric {
  padding: 34px clamp(24px, 5vw, 62px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 12px;
  opacity: 0.9;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.clinical-strengths {
  background:
    linear-gradient(180deg, #fff, var(--soft));
}

.strength-grid,
.department-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.strength-grid article,
.department-grid article {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.strength-grid article::after,
.department-grid article::after {
  position: absolute;
  right: -24px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  content: "";
  background: var(--aqua);
  border-radius: 50%;
}

.strength-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 34px;
  padding: 0 14px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--green);
  border-radius: 999px;
}

.department-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  background: var(--aqua);
  border: 1px solid rgba(29,111,107,0.18);
  border-radius: 999px;
}

.strength-grid p,
.department-grid p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1fr);
}

.reverse .section-copy {
  order: 2;
}

.section-copy p {
  color: #3e4a56;
}

.photo-stack {
  position: relative;
  min-height: 560px;
}

.photo-stack img {
  width: 80%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-stack img + img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  border: 10px solid #fff;
}

.wide-photo img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  background: #fff;
  border-top: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  width: 30%;
  color: var(--green);
  font-weight: 800;
}

.policy,
.medical {
  background: var(--soft);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.policy-grid article {
  min-height: 260px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-grid span {
  display: block;
  margin-bottom: 50px;
  color: var(--accent);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.home-directory {
  background: var(--soft);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.directory-card {
  display: grid;
  min-height: 360px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.directory-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.directory-card span,
.directory-card strong {
  display: block;
  padding: 0 22px;
}

.directory-card span {
  align-self: end;
  margin-top: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.directory-card strong {
  padding-bottom: 24px;
  line-height: 1.55;
}

.recruit-card {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--navy));
}

.recruit-card span {
  color: #c9f2ee;
}

.medical-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.home-news {
  background: #fff;
}

.news-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.news-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.news-list time {
  color: var(--green);
  font-weight: 900;
}

.news-list a {
  font-weight: 800;
}

.schedule-card,
.care-list,
.recruit-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.06);
}

.schedule-card {
  padding: 28px;
}

.table-scroll {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

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

.schedule-table thead th {
  color: #fff;
  background: var(--blue);
}

.schedule-table tbody th {
  color: var(--green);
  background: #eef7f6;
}

.schedule-table small {
  font-size: 12px;
}

.care-list {
  padding: 28px;
}

.care-list ul,
.check-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.care-list li,
.check-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.care-list li:last-child,
.check-list li:last-child {
  border-bottom: 0;
}

.care-list strong {
  display: block;
  color: var(--green);
}

.care-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.check-list {
  margin-top: 30px;
  padding: 26px;
  background: var(--soft-2);
  border-radius: 8px;
}

.recruit {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 6vw, 80px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 66, 70, 0.94), rgba(22, 89, 86, 0.82)),
    url("./assets/images/2-300x201.jpg") center / cover;
}

.recruit .eyebrow {
  color: #a8ded8;
}

.recruit-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.recruit-panel {
  overflow: hidden;
  color: var(--ink);
}

.recruit-panel img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.compact {
  margin: 0;
}

.gallery h2 {
  margin-bottom: 34px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 8px;
}

.contact-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 0 clamp(20px, 5vw, 72px) clamp(64px, 8vw, 110px);
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.contact-cta .eyebrow {
  color: #bfe5ed;
}

.contact-cta p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.86);
}

.phone-large {
  flex: 0 0 auto;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
}

.footer {
  padding: 34px clamp(20px, 5vw, 72px);
  color: #fff;
  background: #101820;
}

.footer p,
.footer small {
  margin: 0;
}

.footer small {
  color: rgba(255,255,255,0.58);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 520px;
  padding: clamp(46px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 88% 24%, rgba(223,242,239,0.8), rgba(223,242,239,0) 30%),
    linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
}

.page-hero img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow):not(.breadcrumb) {
  max-width: 660px;
  color: #3e4a56;
  font-size: 17px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-tabs {
  position: sticky;
  top: 78px;
  z-index: 10;
  display: flex;
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-tabs a {
  padding: 16px 22px;
  color: var(--navy);
  font-weight: 900;
  background: #fff;
}

.page-tabs a:hover {
  color: var(--green);
  background: var(--soft);
}

.department-summary {
  padding-bottom: 70px;
  background: #fff;
}

.department-grid {
  grid-template-columns: repeat(4, 1fr);
}

.department-grid article {
  min-height: 240px;
}

.breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 800;
}

.page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.content-main h2 + h2,
.content-main .data-table + h2,
.content-main .ward-grid + h2 {
  margin-top: 58px;
}

.content-side {
  display: grid;
  gap: 18px;
}

.content-side img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
}

.side-card {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-card-blue {
  color: #fff;
  background: var(--navy);
  border-color: transparent;
}

.side-card-blue p {
  color: rgba(255,255,255,0.82);
}

.care-flow {
  margin-top: 60px;
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.care-flow ol {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.care-flow li {
  display: grid;
  grid-template-columns: 62px minmax(0, 180px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.care-flow li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: 16px;
}

.care-flow li strong {
  color: var(--navy);
}

.care-flow li p {
  margin: 0;
  color: var(--muted);
}

.side-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 36px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(29, 111, 107, 0.12), rgba(35, 95, 140, 0.12)),
    #f5fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-placeholder p {
  margin: 0;
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
}

.map-placeholder span {
  color: var(--muted);
}

.policy-page {
  background: var(--soft);
}

.statement {
  margin-bottom: 34px;
  padding: clamp(34px, 6vw, 70px);
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.statement span {
  display: block;
  margin-bottom: 18px;
  color: #c9f2ee;
  font-weight: 900;
}

.statement h2 {
  max-width: 860px;
}

.statement p {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.88);
}

.info-grid,
.ward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-grid article,
.ward-grid article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid article {
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.05);
}

.info-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.ward-grid article {
  background: var(--soft);
}

.ward-grid span,
.ward-grid strong {
  display: block;
}

.ward-grid span {
  color: var(--green);
  font-weight: 900;
}

.ward-grid strong {
  margin-top: 10px;
  font-size: 26px;
}

.ward-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.hospitalization-lead {
  background:
    linear-gradient(180deg, #fff, var(--soft));
}

.admission-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.admission-flow article {
  min-height: 260px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.admission-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--navy));
  border-radius: 18px;
}

.admission-flow p {
  color: var(--muted);
}

.hospitalization-page {
  background: #fff;
}

.procedure-panel,
.support-panel {
  margin-top: 60px;
}

.procedure-panel {
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.procedure-panel > p {
  color: var(--muted);
}

.procedure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.procedure-grid article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.procedure-grid h3 {
  color: var(--green);
}

.recruit-hero {
  background:
    linear-gradient(90deg, rgba(247,251,251,1), rgba(234,243,244,0.68)),
    var(--soft);
}

.recruit-side {
  color: #fff;
  background: var(--green);
  border-color: transparent;
}

.recruit-side p {
  color: rgba(255, 255, 255, 0.82);
}

.recruit-side a {
  color: #fff;
}

.recruit-next {
  background: var(--soft);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    overflow-x: auto;
  }

  .hero,
  .split,
  .reverse,
  .medical-layout,
  .recruit,
  .page-hero,
  .page-content,
  .notice-hours {
    grid-template-columns: 1fr;
  }

  .reverse .section-copy {
    order: 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84));
  }

  .quick-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .quick-panel dl,
  .intro-band,
  .policy-grid,
  .gallery-grid,
  .visitor-actions,
  .strength-grid,
  .department-grid,
  .admission-flow,
  .procedure-grid,
  .directory-grid,
  .info-grid,
  .ward-grid {
    grid-template-columns: 1fr;
  }

  .quick-panel div,
  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric {
    border-bottom-color: rgba(255,255,255,0.22);
  }

  .photo-stack {
    min-height: 430px;
  }

  .directory-card {
    min-height: auto;
  }

  .page-hero {
    min-height: auto;
  }

  .visitor-actions {
    margin-top: 0;
    border-radius: 0;
  }

  .page-tabs {
    top: 116px;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: block;
  }

  .brand {
    margin-bottom: 12px;
  }

  .brand img {
    width: 150px;
  }

  .brand span {
    display: none;
  }

  .phone {
    display: inline-flex;
    margin-top: 12px;
  }

  .site-alert {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .photo-stack {
    min-height: 0;
  }

  .photo-stack img,
  .photo-stack img + img {
    position: static;
    width: 100%;
    margin-top: 16px;
    border: 0;
  }

  .contact-cta {
    display: block;
  }

  .phone-large {
    display: inline-block;
    margin-top: 20px;
  }

  .news-list article,
  .care-flow li {
    grid-template-columns: 1fr;
  }
}
