:root {
  --bg: #f7f4ee;
  --bg-deep: #f1ede4;
  --white: #ffffff;
  --text: #413730;
  --muted: #8e8279;
  --line: #ddd3c5;
  --heading-brown: #6f5a4d;
  --heading-brown-soft: #8c7363;
  --pink: #e7aa9e;
  --pink-deep: #d89588;
  --green: #89a18d;
  --blue: #6f90aa;
  --shadow: 0 18px 36px rgba(95, 78, 65, 0.08);
  --content: min(1000px, calc(100vw - 48px));
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

.page {
  overflow-x: clip;
}

.section {
  width: var(--content);
  margin: 0 auto;
}

.mobile-lead {
  display: none;
}

.sp-break {
  display: none;
}

.hero {
  background: #fff;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, min(62.857vw, 1000px));
  align-items: stretch;
  height: 100svh;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(136px, 16svh, 160px) 36px clamp(48px, 7svh, 72px) clamp(40px, 5vw, 64px);
  background: #fff;
}

.brand-desktop img {
  width: min(485px, 100%);
}

.hero-copy-body {
  padding-bottom: 0;
}

.hero-copy h1,
.hero-copy-mobile h1,
.section-heading h2,
.homecare h2,
.footer-brand h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  color: var(--heading-brown);
}

.hero-copy h1 {
  font-size: 1.18rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.hero-copy p {
  margin-top: 30px;
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-copy-mobile {
  display: none;
}

.hero-visual-wrap {
  position: relative;
  padding-top: 66px;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  min-height: 66px;
  padding: 0 clamp(24px, 3vw, 48px);
  background: rgba(255, 255, 255, 0.94);
}

.brand-header {
  position: relative;
  z-index: 30;
  flex: 0 0 auto;
  width: clamp(132px, 11vw, 164px);
}

.brand-header img {
  width: 100%;
  height: auto;
}

.global-nav {
  position: relative;
  flex: 1 1 auto;
  width: auto;
}

.nav-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.2vw, 16px);
  padding: 0;
  font-size: clamp(0.7rem, 0.78vw, 0.78rem);
  font-weight: 500;
}

.nav-primary a {
  position: relative;
  display: inline-block;
  padding: 8px 2px 10px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.24s ease;
}

.nav-primary a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: #b38a69;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-primary a:not([aria-current="page"]):hover,
.nav-primary a:not([aria-current="page"]):focus-visible {
  color: var(--heading-brown);
}

.nav-primary a:not([aria-current="page"]):hover::after,
.nav-primary a:not([aria-current="page"]):focus-visible::after {
  transform: scaleX(1);
}

.nav-primary a:focus-visible {
  outline: 2px solid rgba(179, 138, 105, 0.7);
  outline-offset: 4px;
  border-radius: 3px;
}

.nav-mobile-groups a,
.news-more,
.footer-col a,
.footer-bottom a {
  display: inline-block;
  background-image: linear-gradient(to bottom, transparent 48%, rgba(239, 211, 181, 0.68) 48%, rgba(239, 211, 181, 0.68) 94%, transparent 94%);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: color 0.24s ease, background-size 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-mobile-groups a:hover,
.nav-mobile-groups a:focus-visible,
.news-more:hover,
.news-more:focus-visible,
.footer-col a:hover,
.footer-col a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--heading-brown);
  background-size: 100% 100%;
}

.nav-mobile-groups a:focus-visible,
.news-more:focus-visible,
.footer-col a:focus-visible,
.footer-bottom a:focus-visible {
  outline: 2px solid rgba(179, 138, 105, 0.7);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-primary a,
  .nav-primary a::after,
  .nav-mobile-groups a,
  .news-list article > a,
  .news-more,
  .footer-col a,
  .footer-bottom a {
    transition: none;
  }
}

.nav-primary a[aria-current="page"],
.nav-mobile-groups > li > a[aria-current="page"] {
  background-image: url("../../assets/images/nav-marker.svg");
  background-position: left bottom 9px;
  background-repeat: no-repeat;
  background-size: 100% 0.78em;
}

.nav-panel-mobile {
  display: none;
}

.hero-visual {
  position: relative;
  height: calc(100svh - 66px);
  overflow: hidden;
  -webkit-mask-image: url("../../assets/images/hero-wave-mask.svg");
  -webkit-mask-position: 0 0;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: 600px 100%;
  mask-image: url("../../assets/images/hero-wave-mask.svg");
  mask-position: 0 0;
  mask-repeat: repeat-x;
  mask-size: 600px 100%;
  animation: hero-wave-drift 12s linear infinite;
}

@keyframes hero-wave-drift {
  to {
    -webkit-mask-position: 600px 0;
    mask-position: 600px 0;
  }
}

@-webkit-keyframes hero-wave-drift {
  to {
    -webkit-mask-position: 600px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .hero-visual::after,
  .footer-wave {
    animation: none;
  }

  .hero-slide {
    transition: none;
  }

  .link-shimmer::after {
    transition: none;
  }
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-links {
  position: absolute;
  right: 0;
  bottom: 17px;
  z-index: 3;
  display: grid;
  grid-auto-rows: 64px;
  gap: 16px;
}

.hero-links-desktop {
  position: fixed;
  z-index: 20;
}

.hero-link {
  width: 140px;
  padding: 10px 8px;
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  box-shadow: var(--shadow);
}

.hero-link strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 1rem;
}

.hero-link.reserve {
  background: var(--pink);
}

.hero-link-homecare {
  background: var(--blue);
}

.hero-link.line {
  background: #8aa18e;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: 1.82rem;
  letter-spacing: 0.04em;
}

.section-heading h2,
.news-title h2,
.homecare h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.section-heading h2::after,
.news-title h2::after,
.homecare h2::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: #b38a69;
}

.section-heading h2::before,
.news-title h2::before,
.homecare h2::before {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: min(50px, 100%);
  height: 4px;
  content: "";
  background: #b38a69;
}

.section-heading p {
  margin-top: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--pink);
}

.hours {
  padding-top: 67px;
}

.hours-note {
  margin-top: 16px;
  text-align: center;
  color: #5d544e;
  font-size: 0.86rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  margin-top: 28px;
}

.schedule-image {
  width: 100%;
  height: auto;
}

.news {
  padding-top: 82px;
}

.news-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
  padding: 38px 42px 30px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.news-title h2 {
  font-size: 1.8rem;
  color: var(--heading-brown);
}

.news-title p {
  margin-top: 6px;
  color: var(--pink);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.news-list article {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #efccc5;
}

.news-list a {
  color: inherit;
}

.news-list {
  display: grid;
}

.news-list time,
.news-more {
  font-size: 0.78rem;
  font-weight: 500;
}

.news-list article > a {
  display: block;
  min-width: 0;
  padding: 5px 8px;
  margin: -5px -8px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.24s ease, background-color 0.24s ease;
}

.news-list article > a:hover,
.news-list article > a:focus-visible {
  color: var(--heading-brown);
  background-color: rgba(239, 211, 181, 0.68);
}

.news-list article > a:focus-visible {
  outline: 2px solid rgba(179, 138, 105, 0.7);
  outline-offset: 3px;
}

.news-more {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: fit-content;
  gap: 8px;
  justify-self: end;
  margin-top: 18px;
  color: #67584d;
}

.news-more::after {
  content: "→";
  color: var(--pink);
}

.about {
  padding-top: 82px;
}

.about-copy {
  width: min(650px, 100%);
  margin: 31px auto 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.85;
}

.about-copy p + p {
  margin-top: 24px;
}

.about-lead {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--heading-brown);
}

.medical {
  position: relative;
  width: 100%;
  margin-top: 95px;
  padding: 76px max(24px, calc((100vw - 1000px) / 2)) 82px;
  overflow: hidden;
}

.medical-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.76), rgba(247, 244, 238, 0.8)),
    url("../../assets/images/bk-annai.png") center/cover no-repeat;
  opacity: 1;
}

.medical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 34px auto 0;
  max-width: 1000px;
}

.medical-card {
  display: block;
  padding: 23px 22px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.medical-card h3 {
  text-align: center;
  font-size: 1.56rem;
  color: var(--heading-brown-soft);
}

.medical-card p {
  margin-top: 12px;
  font-size: 0.74rem;
  line-height: 1.7;
}

.icon-wrap {
  display: grid;
  place-items: center;
  height: 120px;
  margin-top: 8px;
}

.icon-wrap img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.accent-pink {
  color: #e79a98;
}

.accent-green {
  color: #7f9f86;
}

.accent-blue {
  color: #7391aa;
}

.homecare {
  padding-top: 93px;
  text-align: center;
}

.homecare h2 {
  font-size: 1.78rem;
}

.homecare .homecare-label {
  margin-top: 4px;
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.homecare-highlight {
  margin-top: 28px;
  color: var(--heading-brown-soft);
  font-size: 1.34rem;
  font-weight: 700;
}

.homecare p {
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.8;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 31px;
  min-width: 136px;
  min-height: 35px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.link-shimmer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.link-shimmer::after {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -65%;
  z-index: 1;
  width: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: skewX(-20deg);
  transition: transform 0.56s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.link-shimmer:hover::after,
.link-shimmer:focus-visible::after {
  transform: translateX(400%) skewX(-20deg);
}

.link-shimmer:not(:hover):not(:focus-visible)::after {
  transition: none;
}

.access {
  padding-top: 97px;
}

.access-grid {
  display: grid;
  grid-template-columns: 600px minmax(280px, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 24px;
}

.access-map {
  aspect-ratio: 4 / 3;
}

.access-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.access-info dt {
  color: var(--pink);
  font-size: 0.92rem;
  font-weight: 700;
}

.access-info dd {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.access-info p {
  margin-top: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.7;
}

.site-footer {
  --footer-wave-height: 48px;
  position: relative;
  margin-top: 84px;
  padding: 0 0 34px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: var(--footer-wave-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: #fff;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-wave {
  height: var(--footer-wave-height);
  background: #fff;
  -webkit-mask-image: url("../../assets/images/hero-wave-mask.svg");
  -webkit-mask-position: 0 0;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: 600px 690px;
  mask-image: url("../../assets/images/hero-wave-mask.svg");
  mask-position: 0 0;
  mask-repeat: repeat-x;
  mask-size: 600px 690px;
  animation: hero-wave-drift 12s linear infinite;
}

.footer-main,
.footer-badges,
.footer-bottom {
  width: var(--content);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 58px;
  padding-top: 45px;
}

.footer-kicker {
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-brand h2 {
  margin-top: 8px;
  font-size: 1.45rem;
}

.footer-brand address {
  margin-top: 24px;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-phone {
  margin-top: 28px;
}

.footer-phone p {
  font-size: 0.86rem;
}

.footer-phone a {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-closed {
  margin-top: 18px;
  font-size: 0.82rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col a {
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-badges {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.badge {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0;
  background: transparent;
}

.badge img {
  width: 100%;
  height: auto;
}

.footer-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  color: #6d6158;
  font-size: 0.76rem;
}

.footer-bottom small {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 30;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pink);
}

.menu-toggle span {
  position: absolute;
  left: 2px;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 9px;
}

.menu-toggle span:nth-child(2) {
  top: 16px;
}

.menu-toggle span:nth-child(3) {
  top: 23px;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  :root {
    --content: min(100vw - 32px, 1000px);
  }

  .hero-shell,
  .hours-grid,
  .news-card,
  .access-grid,
  .footer-main,
  .footer-links,
  .footer-badges {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    display: none;
  }

  .hero-links-desktop {
    display: none;
  }

  .mobile-lead {
    display: none;
  }

  .sp-break {
    display: inline;
  }

  .hero-shell {
    height: auto;
    min-height: 0;
  }

  .hero-visual-wrap {
    padding-top: 0;
  }

  .site-header {
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 8px 0;
  }

  .brand-header {
    width: min(154px, 48vw);
  }

  .global-nav {
    flex: 0 0 auto;
    width: 0;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-primary {
    display: none;
  }

  .nav-panel-mobile {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 80px 0 0;
    background: linear-gradient(180deg, #f5f5f0 0%, #ffffff 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.menu-open .nav-panel-mobile {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-mobile-groups {
    display: grid;
    gap: 18px;
    padding: 0 38px 30px;
    align-content: start;
  }

  .nav-mobile-groups > li > a {
    font-size: 1.15rem;
    font-weight: 700;
  }

  .nav-mobile-groups > li > a[aria-current="page"] {
    background-position: left bottom 0.1em;
  }

  .nav-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
    color: #8c817a;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .hero-links-mobile {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .hero-link {
    width: auto;
    min-height: 64px;
    padding: 12px 8px;
    box-shadow: none;
    font-size: 0.82rem;
  }

  .hero-link strong {
    font-size: 0.98rem;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 390 / 587;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-visual::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 1;
    height: 38px;
    content: "";
    pointer-events: none;
    background: var(--bg);
    -webkit-mask-image: url("../../assets/images/hero-wave-mask.svg");
    -webkit-mask-position: 0 0;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-size: 600px 690px;
    mask-image: url("../../assets/images/hero-wave-mask.svg");
    mask-position: 0 0;
    mask-repeat: repeat-x;
    mask-size: 600px 690px;
  }

  .hero-copy-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(calc(100% - 48px), 420px);
    padding: 20px 18px;
    text-align: center;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(2px);
  }

  .hero-copy-mobile img {
    width: min(248px, 100%);
    height: auto;
  }

  .hero-copy-mobile h1 {
    margin-top: 18px;
    font-size: clamp(1rem, 4vw, 1.28rem);
    line-height: 1.75;
    letter-spacing: 0.04em;
  }

  .hero-copy-mobile p {
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .hero-slide {
    aspect-ratio: auto;
  }

  .hours {
    padding-top: 30px;
  }

  .section-heading h2 {
    font-size: 1.95rem;
  }

  .hours-note {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .hours-grid {
    gap: 28px;
    margin-top: 24px;
  }

  .news {
    padding-top: 30px;
  }

  .news-card {
    gap: 18px;
    padding: 28px 24px;
  }

  .news-title h2 {
    font-size: 1.78rem;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .news-list article > a {
    font-size: 0.95rem;
  }

  .about,
  .medical,
  .homecare,
  .access {
    padding-top: 42px;
  }

  .about-copy {
    margin-top: 22px;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .about-lead {
    text-align: center;
    font-size: 1.24rem;
  }

  .medical-bg {
    inset: 110px 0 0;
    border-radius: 28px;
  }

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

  .medical-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    padding: 20px 18px;
    border-radius: 22px;
  }

  .medical-card[href] {
    display: grid;
  }

  .medical-card h3 {
    grid-column: 1 / -1;
    font-size: 1.52rem;
    margin-bottom: -4px;
  }

  .icon-wrap {
    height: 72px;
    margin-top: 0;
  }

  .icon-wrap img {
    width: 56px;
    height: 56px;
  }

  .medical-card p {
    margin-top: 0;
    font-size: 0.9rem;
  }

  .homecare h2 {
    font-size: 1.68rem;
  }

  .homecare-highlight {
    margin-top: 18px;
    font-size: 1.86rem;
  }

  .homecare p {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .homecare .homecare-label {
    margin-top: 4px;
    font-size: 0.68rem;
    line-height: 1.6;
  }

  .cta-button {
    min-width: 170px;
    min-height: 46px;
    margin-top: 22px;
    font-size: 0.96rem;
  }

  .access-grid {
    margin-top: 18px;
  }

  .access-info {
    order: -1;
  }

  .access-info dl {
    gap: 14px;
  }

  .access-info dt {
    font-size: 1rem;
  }

  .access-info dd,
  .access-info p {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .access-info p {
    margin-top: 20px;
  }

  .site-footer {
    --footer-wave-height: 30px;
    margin-top: 42px;
  }

  .footer-wave {
    height: var(--footer-wave-height);
  }

  .footer-main {
    gap: 26px;
    padding-top: 24px;
  }

  .footer-brand h2 {
    font-size: 2rem;
  }

  .footer-brand address,
  .footer-phone p,
  .footer-closed {
    font-size: 0.92rem;
  }

  .footer-phone a {
    font-size: 1.9rem;
  }

  .footer-links {
    gap: 22px;
  }

  .footer-col a {
    font-size: 0.98rem;
  }

  .footer-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .badge {
    min-height: 42px;
    font-size: 0.72rem;
  }

  .footer-bottom {
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 0.8rem;
  }

  .footer-bottom small {
    margin-left: 0;
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  .hero-visual,
  .hero-visual::after,
  .footer-wave {
    -webkit-animation: hero-wave-drift 7s linear infinite;
    animation: hero-wave-drift 7s linear infinite;
    will-change: mask-position;
  }
}

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

.medical-card[href] {
  color: inherit;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.medical-card[href]:hover,
.medical-card[href]:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(95, 78, 65, 0.12);
}

.medical-card[href]:focus-visible {
  outline: 2px solid rgba(216, 149, 136, 0.85);
  outline-offset: 5px;
}

.subpage {
  background: #f7f6f0;
}

.sub-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 clamp(22px, 4vw, 70px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(109, 97, 88, 0.08);
}

.sub-brand {
  flex: 0 0 auto;
  width: clamp(138px, 13vw, 190px);
}

.sub-brand img {
  width: 100%;
  height: auto;
}

.sub-header .global-nav {
  margin-left: auto;
  max-width: 690px;
}

.sub-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 65% -70%, transparent 0 45%, rgba(120, 88, 79, 0.14) 45.2% 45.7%, transparent 45.9%),
    radial-gradient(ellipse at 82% -55%, transparent 0 48%, rgba(120, 88, 79, 0.12) 48.2% 48.7%, transparent 48.9%),
    linear-gradient(100deg, #d6a195 0%, #aa9289 100%);
}

.sub-hero-inner {
  width: var(--content);
  text-align: center;
  color: var(--white);
}

.sub-hero p {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.sub-hero h1 {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.sub-section {
  width: min(820px, calc(100vw - 48px));
  margin: 0 auto;
}

.department-intro {
  padding-top: 76px;
}

.department-lead .eyebrow {
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 700;
}

.department-lead h2 {
  margin-top: 4px;
  color: var(--blue);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.5;
}

.department-lead > p:not(.eyebrow) {
  margin-top: 22px;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.9;
}

.intro-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 34px;
}

.intro-photos img {
  width: 100%;
  aspect-ratio: 480 / 300;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.department-hours,
.department-menu,
.inspection {
  padding-top: 76px;
}

.band-title {
  min-height: 48px;
  padding: 11px 24px;
  background: linear-gradient(90deg, #dba99e 0%, rgba(244, 225, 219, 0.78) 100%);
  color: #6d5b51;
  font-size: 1rem;
  font-weight: 700;
}

.schedule-card {
  margin-top: 28px;
  padding: 0 24px;
}

.schedule-card img {
  width: 100%;
  height: auto;
}

.reserve-button {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
  min-width: 210px;
  background: #eda5a6;
}

.care-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.care-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 160px;
  padding: 28px 34px;
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.care-card h3 {
  color: #eda5a6;
  font-size: 1.3rem;
  line-height: 1.4;
}

.care-card p {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.85;
}

.care-icon {
  display: grid;
  place-items: center;
  color: #eda5a6;
}

.care-icon img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: saturate(0.9) opacity(0.78);
}

.care-icon-line {
  width: 78px;
  height: 78px;
  margin: 0 auto;
  border: 3px solid #f0a7a7;
  border-radius: 50%;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.4rem;
  font-weight: 700;
}

.inspection {
  padding-bottom: 24px;
  text-align: center;
}

.inspection h2 {
  color: var(--heading-brown);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.inspection-card {
  margin-top: 28px;
  padding: 34px 40px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  text-align: left;
}

.inspection-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.85;
}

.inspection-card li + li {
  margin-top: 10px;
}

.inspection-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: #eda5a6;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.equipment-grid article {
  display: grid;
  gap: 12px;
}

.equipment-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.equipment-grid h3 {
  color: var(--heading-brown);
  font-size: 0.84rem;
}

.subpage .site-footer {
  margin-top: 76px;
}

@media (max-width: 980px) {
  .sub-header {
    min-height: 62px;
    padding: 12px 14px;
  }

  .sub-header .global-nav {
    flex: 0 0 auto;
    width: 0;
    margin-left: 0;
  }

  .sub-brand {
    width: min(166px, 52vw);
  }

  .sub-hero {
    min-height: 196px;
  }

  .sub-section {
    width: min(100vw - 32px, 820px);
  }

  .department-intro,
  .department-hours,
  .department-menu,
  .inspection {
    padding-top: 44px;
  }

  .intro-photos,
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-photos img {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .schedule-card {
    padding: 0;
  }

  .care-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .care-card h3 {
    font-size: 1.08rem;
  }

  .care-card p {
    font-size: 0.88rem;
  }

  .care-icon img {
    width: 62px;
    height: 62px;
  }

  .care-icon-line {
    width: 58px;
    height: 58px;
    font-size: 1.8rem;
  }

  .inspection-card {
    padding: 26px 22px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .care-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .care-card p,
  .inspection-card {
    text-align: left;
  }
}
