:root {
  --teal: #139ba1;
  --teal-dark: #08757c;
  --deep: #123844;
  --navy: #174f62;
  --sky: #eaf8fa;
  --sky-2: #f4fbfc;
  --line: #d5e9ec;
  --text: #31535d;
  --muted: #6a8188;
  --paper: #fff;
  --salmon: #ef7670;
  --sand: #d4c49f;
  --shadow: 0 18px 46px rgba(22, 86, 98, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 158px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(18, 56, 68, 0.04);
}

.header-main {
  width: min(1280px, calc(100% - 64px));
  min-height: 102px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--deep);
}

.site-logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.site-logo small,
.site-logo em {
  display: block;
  color: var(--teal-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.site-logo strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: grid;
  color: var(--deep);
  text-align: right;
  white-space: nowrap;
}

.header-phone small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.header-phone strong {
  font-size: 30px;
  line-height: 1.1;
}

.header-phone strong::before {
  color: var(--teal);
  content: "☎ ";
  font-size: 24px;
}

.header-button,
.hero-sim-card a,
.calculator-result a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #fff;
  background: linear-gradient(180deg, #20abb3, #0b878e);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(11, 135, 142, 0.22);
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.global-nav {
  min-height: 58px;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--deep);
  font-weight: 900;
}

.global-nav a {
  padding: 15px 0;
  border-bottom: 3px solid transparent;
}

.global-nav a:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 253, 253, 0.98) 0%, rgba(246, 253, 253, 0.9) 34%, rgba(246, 253, 253, 0.52) 44%, rgba(246, 253, 253, 0.08) 58%, rgba(246, 253, 253, 0) 100%),
    linear-gradient(180deg, rgba(232, 248, 250, 0.08), rgba(232, 248, 250, 0.22)),
    url("./assets/hero-daycare-building.png") right center / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(1280px, calc(100% - 64px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 76px 0 74px;
}

.hero-copy {
  max-width: 850px;
}

.hero-label,
.section-label {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 900;
}

.hero h1,
.section h2,
.cta-card h2 {
  margin: 0;
  color: var(--deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(48px, 4.45vw, 66px);
  line-height: 1.32;
}

.hero-accent {
  color: var(--teal);
  background:
    linear-gradient(rgba(19, 155, 161, 0.16), rgba(19, 155, 161, 0.16))
    left 76% / 0% 0.36em no-repeat;
  animation: draw-hero-underline 2.4s ease-out forwards;
}

.section-accent {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.section-accent::after {
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.1em;
  z-index: -1;
  height: 0.32em;
  background: rgba(19, 155, 161, 0.14);
  transform: scaleX(0);
  transform-origin: left;
  content: "";
}

.animated-heading.is-visible .section-accent::after {
  animation: section-underline 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animated-heading.is-visible .section-accent:nth-of-type(2)::after {
  animation-delay: 0.22s;
}

@keyframes section-underline {
  to {
    transform: scaleX(1);
  }
}

.hero-sim-card {
  transition: box-shadow 0.28s ease;
}

.hero-sim-card:hover {
  animation: pop-card 0.42s ease both;
  box-shadow: 0 24px 54px rgba(22, 86, 98, 0.2);
}




@keyframes pop-card {
  0% {
    transform: translateY(0) scale(1);
  }

  55% {
    transform: translateY(-10px) scale(1.035);
  }

  100% {
    transform: translateY(-7px) scale(1.02);
  }
}

@keyframes draw-hero-underline {
  from {
    background-size: 0% 0.36em;
  }

  to {
    background-size: 100% 0.36em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-accent {
    animation: none;
    background-size: 100% 0.36em;
  }
}

@keyframes hero-underline-flow {
  0% {
    background-position: 100% 76%;
  }
  55% {
    background-position: 0% 76%;
  }
  100% {
    background-position: 100% 76%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-accent {
    animation: none;
  }
}

.no-break {
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

.hero-lead {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-points span {
  width: 162px;
  height: 162px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--deep);
  text-align: center;
  font-weight: 900;
  line-height: 1.35;
}

.hero-points b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.hero-points b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-points small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-sim-card {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(100%, 420px);
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-sim-card h2 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 21px;
}

.hero-sim-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-sim-card a {
  width: 100%;
}

.hero-sim-card small {
  display: block;
  margin-top: 13px;
  color: var(--deep);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.news-bar {
  color: #fff;
  background: linear-gradient(90deg, #1ca5ac, #0a858c);
}

.news-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 900;
}

.news-inner span {
  padding: 8px 20px;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 5px;
}

.news-inner p {
  margin: 0;
}

.section {
  padding: 92px 0;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 900px;
}

.section h2 {
  margin-bottom: 26px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.5;
}

.section-lead {
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.concept,
.guide,
.price-section {
  background: linear-gradient(180deg, #fff, var(--sky-2));
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.value-grid article {
  position: relative;
  min-height: 218px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 86, 98, 0.07);
}

.value-grid h3,
.support-grid h3,
.flow-grid h3 {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 20px;
  line-height: 1.45;
}

.value-grid p,
.support-grid p,
.flow-grid p,
.guide-layout p {
  margin: 0;
}

.value-grid b {
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: rgba(19, 155, 161, 0.12);
  font-size: 66px;
  line-height: 1;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  text-align: left;
}

.support-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(22, 86, 98, 0.08);
}

.support-photo {
  position: relative;
  height: 172px;
  margin: 0;
  overflow: hidden;
  background: var(--sky);
}

.support-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 117, 124, 0.08), rgba(8, 117, 124, 0.36));
  content: "";
}

.support-photo span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(19, 155, 161, 0.94);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(18, 56, 68, 0.22);
  font-size: 28px;
  font-weight: 900;
}

.support-grid article:nth-child(3) .support-photo span { background: rgba(226, 169, 85, 0.96); }
.support-grid article:nth-child(4) .support-photo span { background: rgba(115, 171, 166, 0.96); }
.support-grid article:nth-child(5) .support-photo span { background: rgba(201, 180, 141, 0.96); }

.support-grid h3,
.support-grid p {
  padding-left: 20px;
  padding-right: 20px;
}

.support-grid h3 { padding-top: 22px; }
.support-grid p { padding-bottom: 26px; }

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 54px;
}

.guide-layout img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: right center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--deep);
  font-weight: 900;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 17px;
  height: 17px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #fff;
  content: "";
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.78fr);
  align-items: stretch;
  overflow: hidden;
  margin-top: 48px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 26px;
  padding: 54px;
}

.calculator-form label,
.calculator-form legend {
  color: var(--deep);
  font-weight: 900;
}

.calculator-form select {
  width: 100%;
  min-height: 60px;
  margin-top: 10px;
  padding: 0 18px;
  color: var(--deep);
  background: #fff;
  border: 1px solid #bcd7db;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
}

.calculator-form fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.calculator-form fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.calculator-form input {
  position: absolute;
  opacity: 0;
}

.calculator-form fieldset label {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #bcd7db;
  font-weight: 900;
  cursor: pointer;
}

.calculator-form fieldset label:first-of-type {
  border-radius: 6px 0 0 6px;
}

.calculator-form fieldset label:last-of-type {
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.calculator-form label:has(input:checked) {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.calculator-result {
  display: grid;
  align-content: center;
  padding: 54px;
  color: #fff;
  background: var(--navy);
}

.calculator-result p {
  margin: 0 0 10px;
  color: #cdeef3;
  font-size: 22px;
  font-weight: 900;
}

.calculator-result strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(54px, 6vw, 70px);
  line-height: 1.1;
}

.calculator-result small {
  color: #cdeef3;
  font-weight: 700;
}

.calculator-result dl {
  display: grid;
  gap: 18px;
  margin: 34px 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.calculator-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 900;
}

.calculator-result dd {
  margin: 0;
}

.calculator-result a {
  min-height: 68px;
  margin-bottom: 20px;
  background: var(--salmon);
  box-shadow: none;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
}

.flow-grid article {
  padding: 28px 52px;
  border-right: 1px solid var(--line);
}

.flow-grid article:last-child {
  border-right: 0;
}

.flow-grid span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.facility-section {
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--sky-2));
}

.facility-carousel {
  width: 100%;
  margin-top: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--teal) #e6f4f6;
  scrollbar-width: thin;
}

.facility-carousel::-webkit-scrollbar {
  height: 10px;
}

.facility-carousel::-webkit-scrollbar-track {
  background: #e6f4f6;
}

.facility-carousel::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 999px;
}

.facility-track {
  width: max-content;
  display: flex;
  gap: 22px;
  padding: 6px max(24px, calc((100vw - 1160px) / 2)) 28px;
  animation: facility-scroll 42s linear infinite;
}

.facility-carousel:hover .facility-track,
.facility-carousel:focus-within .facility-track {
  animation-play-state: paused;
}

.facility-track figure {
  position: relative;
  width: min(72vw, 420px);
  margin: 0;
  overflow: hidden;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.facility-track img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.facility-track figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(8, 117, 124, 0.88);
  border-radius: 999px;
  font-weight: 900;
}

@keyframes facility-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-section {
  padding: 72px 0 86px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 62px 70px;
  color: #fff;
  background: linear-gradient(135deg, #159ca2, #0a7c83);
  border-radius: 8px;
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.35;
}

.cta-card p {
  margin: 0 0 12px;
  font-weight: 900;
}

.cta-card a {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px;
  padding: 12px 30px;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 6px;
  font-size: 22px;
  font-weight: 900;
}

.cta-card address {
  color: #d7f5f7;
  font-style: normal;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #123844;
}

.footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-inner strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.footer-inner p {
  margin: 4px 0 0;
}

.site-footer .copyright {
  width: min(1160px, calc(100% - 48px));
  margin-top: 22px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.mobile-fixed-buttons {
  display: none;
}

@media (max-width: 1180px) {
  .header-phone,
  .header-button,
  .global-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav.is-open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 88px;
    display: grid;
    gap: 0;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .guide-layout,
  .calculator,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-sim-card {
    position: static;
    margin-top: 28px;
  }

  .value-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    padding-bottom: 66px;
    font-size: 15px;
  }

  .header-main,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .header-main {
    min-height: 78px;
  }

  .site-logo img {
    width: 48px;
    height: 48px;
  }

  .site-logo small,
  .site-logo em {
    font-size: 11px;
  }

  .site-logo strong {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    background: #eefafa;
  }

  .hero::before {
    display: block;
    width: 100%;
    height: clamp(250px, 70vw, 320px);
    background:
      linear-gradient(180deg, rgba(246, 253, 253, 0) 0%, rgba(246, 253, 253, 0.08) 70%, #eefafa 100%),
      url("./assets/hero-daycare-photo.png") 73% center / auto 100% no-repeat;
    content: "";
  }

  .hero-inner {
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    margin-top: -1px;
    padding: 26px 14px 34px;
    background:
      linear-gradient(180deg, #eefafa 0%, #f6fdfd 100%);
  }

  .hero-copy {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .hero h1 {
  max-width: 340px;
  font-size: 31px;
  line-height: 1.42;
}

  .mobile-break {
    display: block;
  }

  .hero-lead {
    max-width: 330px;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-points span {
    width: auto;
    height: auto;
    min-height: 92px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    place-items: center start;
    align-content: center;
    border-radius: 8px;
    padding: 14px 18px;
    text-align: left;
    font-size: 15px;
    line-height: 1.45;
  }
  

  .hero-points b {
    width: 50px;
    height: 50px;
    grid-row: 1 / span 2;
    background: rgba(19, 155, 161, 0.08);
  }

  .hero-points small {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-sim-card {
    display: none;
  }

  .news-inner {
    display: grid;
    gap: 4px;
    padding: 12px 0;
  }

  .news-inner span {
    width: max-content;
  }

  .section {
    padding: 66px 0;
  }

  .section h2 {
    font-size: 30px;
  }

  .value-grid,
  .support-grid,
  .flow-grid,
  .calculator-form {
    grid-template-columns: 1fr;
  }

  .support-photo {
    height: 170px;
  }

  .guide-layout img {
    min-height: 280px;
  }

  .calculator-form,
  .calculator-result,
  .cta-card {
    padding: 28px 20px;
  }

  .flow-grid article {
    padding: 26px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-grid article:last-child {
    border-bottom: 0;
  }

  .facility-track {
    gap: 14px;
    padding: 4px 14px 22px;
    animation-duration: 34s;
  }

  .facility-track figure {
    width: 78vw;
  }

  .facility-track img {
    height: 220px;
  }

  .cta-card {
    gap: 24px;
  }

  .mobile-fixed-buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
  }

  .mobile-fixed-buttons a {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
  }

  .mobile-fixed-buttons a:first-child {
    color: #fff;
    background: var(--teal);
  }

  .mobile-fixed-buttons a:last-child {
    color: var(--teal-dark);
    background: #f7f1e7;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.value-grid article:nth-child(2),
.support-grid article:nth-child(2),
.flow-grid article:nth-child(2) {
  transition-delay: 0.12s;
}

.value-grid article:nth-child(3),
.support-grid article:nth-child(3),
.flow-grid article:nth-child(3) {
  transition-delay: 0.24s;
}

.value-grid article:nth-child(4),
.support-grid article:nth-child(4),
.flow-grid article:nth-child(4) {
  transition-delay: 0.36s;
}

:root {
  --turquoise: #0aa7b5;
  --turquoise-dark: #078d9a;
  --navy: #102b56;
  --aqua-light: #e8f8fa;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

.philosophy {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 70px) 24px
    clamp(48px, 5vw, 84px);
  color: var(--navy);
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #ffffff 82%
  );
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

.philosophy::after {
  position: absolute;
  right: -8%;
  bottom: -105px;
  left: -8%;
  height: 155px;
  content: "";
  border-radius: 50% 50% 0 0;
  background: var(--aqua-light);
  transform: rotate(1deg);
}

.philosophy__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(360px, 0.86fr)
    minmax(560px, 1.44fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
  width: min(100%, 1720px);
  margin: 0 auto;
}

.philosophy__photo {
  display: block;
  width: 100%;
  height: min(49vw, 740px);
  min-height: 610px;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  background: #e8f0ef;
}

.philosophy__eyebrow {
  margin: 0 0 38px;
  color: var(--turquoise-dark);
  font-size: clamp(18px, 1.55vw, 28px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.philosophy__eyebrow::after {
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 20px;
  content: "";
  border-radius: 99px;
  background: var(--turquoise);
}

.philosophy__title {
  margin: 0;
  font-size: clamp(38px, 4.15vw, 72px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0.025em;
}

.philosophy__title strong {
  color: var(--turquoise-dark);
  font-weight: inherit;
}

.philosophy__lead {
  max-width: 1020px;
  margin: 22px 0 30px;
  font-size: clamp(17px, 1.5vw, 25px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.035em;
}

.philosophy__steps {
  display: grid;
  grid-template-columns:
    1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 30px;
  color: var(--white);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    var(--turquoise) 0%,
    #13b7bd 100%
  );
  box-shadow: 0 14px 30px
    rgba(4, 130, 143, 0.16);
}

.step {
  min-width: 0;
  text-align: center;
}

.step__top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 66px;
}

.step__number {
  font-family: Arial, sans-serif;
  font-size: clamp(38px, 3.2vw, 58px);
  font-weight: 700;
  line-height: 1;
}

.step__icon {
  display: block;
  width: 66px;
  max-width: 66px;
  height: 66px;
  flex: 0 0 66px;
  object-fit: contain;
}

.step__title {
  margin: 12px 0 0;
  padding-bottom: 16px;
  border-bottom: 2px dotted
    rgba(255, 255, 255, 0.75);
  font-size: clamp(17px, 1.35vw, 24px);
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

.step__text {
  margin: 14px 0 0;
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.step-arrow {
  font-size: clamp(38px, 3vw, 56px);
  font-weight: 300;
}

.philosophy__link-wrap {
  margin-top: 30px;
  text-align: right;
}

.philosophy__link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 8px 4px 12px;
  color: var(--turquoise-dark);
  border-bottom: 3px solid var(--turquoise);
  font-size: clamp(17px, 1.45vw, 25px);
  font-weight: 800;
  text-decoration: none;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.philosophy__link:hover,
.philosophy__link:focus-visible {
  gap: 30px;
  color: var(--navy);
  outline: none;
}

/* タブレット */
@media (max-width: 1050px) {
  .philosophy__inner {
    grid-template-columns: 1fr;
  }

  .philosophy__photo {
    height: min(65vw, 620px);
    min-height: 0;
  }

  .philosophy__eyebrow {
    margin-bottom: 24px;
  }
}

/* スマートフォン */
@media (max-width: 720px) {
  .philosophy {
    padding-inline: 16px;
  }

  .philosophy__photo {
    height: 76vw;
    border-radius: 20px;
  }

  .philosophy__title {
    line-height: 1.5;
  }

  .philosophy__lead {
    line-height: 1.85;
  }

  .philosophy__steps {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 22px;
  }

  .step {
    padding: 4px 0;
  }

  .step__title {
    white-space: normal;
  }

  .step-arrow {
    line-height: 1;
    transform: rotate(90deg);
  }

  .philosophy__link-wrap {
    text-align: left;
  }
}

.vision-title {
  margin: 24px 0 22px;
  color: #102c57;

  /* 右画像に近い明朝体 */
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;

  font-size: clamp(34px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

@media (max-width: 767px) {
  .vision-title {
    font-size: 30px;
    line-height: 1.5;
  }
}

.vision-title .accent {
  color: #0798a5;
}

/* ========================================
   デイケアでの一日
======================================== */

.day-flow {
  --turquoise: #079eaa;
  --turquoise-dark: #078b97;
  --navy: #102a56;
  --pale-blue: #e8f8fa;

  position: relative;
  overflow: hidden;
  padding: 80px 24px 50px;
  color: var(--navy);
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 78%,
      #f3fbfc 100%
    );
}

.day-flow *,
.day-flow *::before,
.day-flow *::after {
  box-sizing: border-box;
}

.day-flow::before,
.day-flow::after {
  position: absolute;
  z-index: 0;
  width: 60%;
  height: 100px;
  background: rgba(7, 158, 170, 0.07);
  border-radius: 50%;
  content: "";
}

.day-flow::before {
  top: -75px;
  right: -10%;
}

.day-flow::after {
  bottom: -80px;
  left: -10%;
}

.day-flow__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1500px);
  margin: 0 auto;
}

/* 小見出し */

.day-flow__label {
  margin: 0 0 18px;
  color: var(--turquoise-dark);
  font-size: clamp(16px, 1.5vw, 23px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
}

.day-flow__label::after {
  display: block;
  width: 74px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--turquoise);
  content: "";
}

/* メイン見出し */

.day-flow__title {
  margin: 0;
  color: var(--navy);
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.03em;
}

.day-flow__title span {
  color: var(--turquoise);
}

.day-flow__lead {
  margin: 18px auto 34px;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

/* 写真エリア */

.day-flow__gallery {
  display: grid;
  grid-template-columns:
    minmax(140px, 0.8fr)
    minmax(140px, 0.8fr)
    minmax(460px, 2.7fr)
    minmax(140px, 0.8fr)
    minmax(140px, 0.8fr);
  gap: 20px;
  align-items: center;
}

.day-flow__photo {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
}

/* リハビリ紹介 */

.rehab-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: 100%;
  height: 280px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #0aabb7,
      #078d99
    );
  border: 5px solid var(--turquoise);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(7, 112, 124, 0.18);
}

.rehab-panel__text {
  padding: 28px 30px;
  color: #ffffff;
}

.rehab-panel__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 18px;
  color: var(--turquoise-dark);
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  border-radius: 30px;
}

.rehab-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.45;
}

.rehab-panel p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.rehab-panel img {
  position: relative;
  z-index: 1;
  display: block;

  /* ここが重要 */
  width: calc(100% + 55px);
  max-width: none;
  height: 100%;
  margin-left: -55px;

  object-fit: cover;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.35) 22px,
    rgba(0, 0, 0, 0.8) 42px,
    #000 62px
  );

  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.35) 22px,
    rgba(0, 0, 0, 0.8) 42px,
    #000 62px
  );
}


/* タイムライン */

.day-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 5px;
}

.day-timeline::before {
  position: absolute;
  top: 37px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--turquoise);
  content: "";
}

.day-timeline__item {
  position: relative;
  padding: 0 12px;
  text-align: center;
}

.day-timeline__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  color: #ffffff;
  font-size: 32px;
  background:
    linear-gradient(
      145deg,
      #16b6c0,
      #078c98
    );
  border: 6px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 107, 119, 0.15);
  place-items: center;
}

.day-timeline__time {
  margin: 0 0 5px;
  color: var(--turquoise-dark);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.day-timeline__time small {
  margin-left: 3px;
  font-size: 0.52em;
}

.day-timeline__name {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}

/* 注意書き */

.day-flow__note {
  max-width: 1050px;
  margin: 34px auto 0;
  padding: 17px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  background: var(--pale-blue);
  border-radius: 14px;
}

/* タブレット */

@media (max-width: 1100px) {
  .day-flow__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .rehab-panel {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 310px;
  }

  .day-flow__photo {
    height: 210px;
  }

  .day-timeline {
    margin-top: 25px;
  }
}

/* スマートフォン */

@media (max-width: 700px) {
  .day-flow {
    padding: 48px 16px 38px;
  }

  .day-flow__title {
    font-size: 31px;
    line-height: 1.5;
  }

  .day-flow__lead {
    text-align: left;
  }

  .day-flow__lead br {
    display: none;
  }

  .day-flow__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .day-flow__photo {
    height: 145px;
    border-radius: 14px;
  }

  .rehab-panel {
    height: auto;
    grid-template-columns: 1fr;
    border-width: 3px;
    border-radius: 18px;
  }

  .rehab-panel__text {
    padding: 24px 20px;
  }

  .rehab-panel h3 {
    font-size: 24px;
  }

  .rehab-panel img {
    height: 210px;
  }

  /* スマホでは縦型タイムライン */

  .day-timeline {
    display: block;
    margin: 34px 0 0 22px;
  }

  .day-timeline::before {
    top: 0;
    bottom: 0;
    left: 31px;
    width: 3px;
    height: auto;
  }

  .day-timeline__item {
    min-height: 105px;
    padding: 3px 0 24px 88px;
    text-align: left;
  }

  .day-timeline__icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    margin: 0;
    font-size: 27px;
  }

  .day-timeline__time {
    font-size: 25px;
  }

  .day-timeline__name {
    font-size: 16px;
  }

  .day-flow__note {
    margin-top: 18px;
    padding: 16px 18px;
    text-align: left;
  }
}

/* =================================
   文字と写真の境目を自然にぼかす
================================= */

.rehab-panel__text {
  position: relative;
  z-index: 2;
}

/* 写真を文字側へ少し重ね、左端を透明化 */
.rehab-panel img {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + 55px);
  height: 100%;
  margin-left: -55px;
  object-fit: cover;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.35) 22px,
    rgba(0, 0, 0, 0.8) 42px,
    #000 62px
  );

  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.35) 22px,
    rgba(0, 0, 0, 0.8) 42px,
    #000 62px
  );
}

/* =================================
   リハビリ部分の白文字を整える
================================= */

.rehab-panel {
  grid-template-columns: 1.15fr 0.85fr;
}


.rehab-panel__text {
  padding: 26px 28px 22px;
}

/* 白い見出し */
.rehab-panel h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(23px, 1.65vw, 29px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

/* 下の説明文 */
.rehab-panel__text p {
  max-width: 420px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.015em;
}

/* 上の白いラベル */
.rehab-panel__tag {
  margin-bottom: 14px;
  padding: 6px 18px;
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.4;
}

/* =================================
   理学療法士によるリハビリ
================================= */

.rehabilitation {
  overflow: hidden;
  color: #08224d;
  background: #ffffff;
}

/* 上部メイン */

.rehabilitation-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 435px;
}

.rehabilitation-hero__content {
  position: relative;
  z-index: 2;
  padding: 48px 30px 35px max(5vw, 40px);
  background: #ffffff;
}

.rehabilitation-hero__label {
  margin: 0 0 28px;
  color: #009aaa;
  font-size: clamp(17px, 1.45vw, 26px);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.rehabilitation-hero__label::after {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 20px;
  background: #009aaa;
  content: "";
}

.rehabilitation-hero__title {
  margin: 0;
  color: #071d46;
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: clamp(34px, 3.4vw, 58px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.rehabilitation-hero__lead {
  margin: 24px 0 0;
  color: #10264a;
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
}

.rehabilitation-hero__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.rehabilitation-hero__image::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.72) 32%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.rehabilitation-hero__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 特徴カードエリア */

.rehabilitation-features {
  position: relative;
  padding: 20px max(2.2vw, 18px) 30px;
  background:
    linear-gradient(
      180deg,
      #e9fbfd 0%,
      #f8ffff 75%,
      #e5f8fa 100%
    );
}

.rehabilitation-features__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1640px;
  margin: 0 auto;
}

/* 各カード */

.rehabilitation-card {
  display: grid;
  grid-template-columns: 56% 44%;
  min-width: 0;
  height: 350px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(9, 97, 110, 0.08);
}

.rehabilitation-card__content {
  position: relative;
  z-index: 2;
  padding: 18px 16px 16px 24px;
  background: #ffffff;
}

.rehabilitation-card__number {
  margin: 0 0 12px;
  color: #009dab;
  font-family: Arial, sans-serif;
  font-size: clamp(32px, 2.8vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.rehabilitation-card__number::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  background: #009dab;
  content: "";
}

.rehabilitation-card__title {
  margin: 0;
  color: #0097a8;
  font-size: clamp(18px, 1.55vw, 28px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.rehabilitation-card__text {
  margin: 14px 0 0;
  color: #10264a;
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

.rehabilitation-card__image {
  min-width: 0;
  overflow: hidden;
}

.rehabilitation-card__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* 写真との境界を少しなじませる */

.rehabilitation-card__image {
  position: relative;
}

.rehabilitation-card__image::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30px;
  background: linear-gradient(
    90deg,
    #ffffff,
    rgba(255, 255, 255, 0)
  );
  content: "";
}

/* タグ */

.rehabilitation-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.rehabilitation-card__tags li {
  padding: 5px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  background: #009dab;
  border-radius: 5px;
}

/* 医療連携アイコン */

.rehabilitation-card__medical-icon {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: #009dab;
  font-size: 38px;
}

.medical-icon__line {
  font-size: 20px;
  letter-spacing: 1px;
}

/* 詳しく見るボタン */

.rehabilitation-features__button {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 18px auto -8px;
}

.rehabilitation-button {
  display: flex;
  min-height: 72px;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  color: #ffffff;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  background: linear-gradient(
    135deg,
    #0bb4bf,
    #008fa0
  );
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 143, 160, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rehabilitation-button:hover,
.rehabilitation-button:focus-visible {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 143, 160, 0.3);
}

/* タブレット */

@media (max-width: 1100px) {
  .rehabilitation-hero {
    grid-template-columns: 1fr 1fr;
  }

  .rehabilitation-hero__content {
    padding-left: 30px;
  }

  .rehabilitation-features__inner {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .rehabilitation-card {
    grid-template-columns: 1fr 1fr;
    height: 340px;
  }
}

/* スマートフォン */

@media (max-width: 700px) {
  .rehabilitation-hero {
    display: block;
  }

  .rehabilitation-hero__content {
    padding: 42px 20px 30px;
  }

  .rehabilitation-hero__label {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .rehabilitation-hero__title {
    font-size: 30px;
    line-height: 1.55;
  }

  .rehabilitation-hero__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .rehabilitation-hero__lead br {
    display: none;
  }

  .rehabilitation-hero__image {
    height: 280px;
  }

  .rehabilitation-hero__image::before {
    display: none;
  }

  .rehabilitation-features {
    padding: 18px 14px 30px;
  }

  .rehabilitation-features__inner {
    gap: 18px;
  }

  .rehabilitation-card {
    display: block;
    height: auto;
  }

  .rehabilitation-card__content {
    padding: 22px 20px;
  }

  .rehabilitation-card__number {
    font-size: 38px;
  }

  .rehabilitation-card__title {
    font-size: 22px;
  }

  .rehabilitation-card__text {
    font-size: 14px;
  }

  .rehabilitation-card__image {
    height: 240px;
  }

  .rehabilitation-card__image::before {
    display: none;
  }

  .rehabilitation-features__button {
    margin-top: 22px;
  }

  .rehabilitation-button {
    min-height: 64px;
    gap: 16px;
    padding: 12px 18px;
    font-size: 18px;
    letter-spacing: 0.04em;
  }
}

/* 03：藤岡整形外科クリニックの表示位置 */
.rehabilitation-card:nth-child(3)
.rehabilitation-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 建物と看板の間を中心に表示 */
  object-position: 42% center;
}

/* 03カードも01・02と同じ配置に固定 */
.rehabilitation-card:nth-child(3) {
  display: grid;
  grid-template-columns: 56% 44%;
  height: 350px;
  overflow: hidden;
}

.rehabilitation-card:nth-child(3)
.rehabilitation-card__content {
  min-width: 0;
}

.rehabilitation-card:nth-child(3)
.rehabilitation-card__image {
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.rehabilitation-card:nth-child(3)
.rehabilitation-card__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;

  /* 空を減らし、建物を中心に表示 */
  object-position: center 67%;
}

/* =================================
   リハビリカード全体のバランス調整
================================= */

@media (min-width: 1101px) {
  .rehabilitation-features {
    padding: 20px 38px 28px;
  }

  .rehabilitation-features__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 1640px;
  }

  .rehabilitation-card,
  .rehabilitation-card:nth-child(3) {
    display: grid;
    grid-template-columns: 56% 44%;
    height: 350px;
    overflow: hidden;
  }

  .rehabilitation-card__content {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: 17px 15px 14px 23px;
    overflow: hidden;
  }

  .rehabilitation-card__number {
    margin: 0 0 11px;
    font-size: clamp(34px, 2.4vw, 46px);
  }

  .rehabilitation-card__number::after {
    width: 42px;
    margin-top: 8px;
  }

  .rehabilitation-card__title {
    margin: 0;
    font-size: clamp(18px, 1.35vw, 25px);
    line-height: 1.45;
  }

  .rehabilitation-card__text {
    margin: 11px 0 0;
    font-size: clamp(12px, 0.87vw, 15px);
    line-height: 1.8;
  }

  /* 01のタグを下部へきれいに配置 */
  .rehabilitation-card__tags {
    gap: 6px;
    margin: auto 0 0;
  }

  .rehabilitation-card__tags li {
    padding: 4px 11px;
    font-size: clamp(10px, 0.72vw, 13px);
    line-height: 1.2;
    white-space: nowrap;
  }

  /* 03の連携アイコン */
  .rehabilitation-card__medical-icon {
    display: flex;
    min-height: 52px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: auto 0 0;
    padding-top: 7px;
    color: #009dab;
    overflow: visible;
  }

  .medical-building,
  .medical-doctor {
    display: grid;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    color: #009dab;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    border: 2px solid #009dab;
    border-radius: 50%;
    place-items: center;
  }

  .medical-building {
    border-radius: 5px;
  }

  .medical-connection {
    flex: 0 0 auto;
    color: #009dab;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
  }

  /* 写真をカードいっぱいに表示 */
  .rehabilitation-card__image {
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
  }

  .rehabilitation-card__image img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .rehabilitation-card:nth-child(3)
  .rehabilitation-card__image img {
    object-position: center 67%;
  }

  /* カードとボタンの間隔 */
  .rehabilitation-features__button {
    max-width: 740px;
    margin: 18px auto 0;
  }

  .rehabilitation-button {
    min-height: 68px;
    padding: 10px 28px;
    font-size: clamp(21px, 1.8vw, 30px);
    border-radius: 13px;
  }
}

/* =================================
   03：クリニックカードを整える
================================= */

@media (min-width: 1101px) {
  .rehabilitation-card--clinic {
    display: grid !important;
    grid-template-columns: 56% 44% !important;
    height: 350px !important;
    overflow: hidden !important;
  }

  .rehabilitation-card--clinic
  .rehabilitation-card__content {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: 17px 15px 12px 23px;
    overflow: hidden;
  }

  /* 連携イラストの外枠 */
  .rehabilitation-card__cooperation {
    position: relative;
    width: 100%;
    height: 76px;
    margin-top: auto;
    overflow: hidden;
  }

 /* 03：医療連携イラストを大きく表示 */
.rehabilitation-card__cooperation {
  display: flex;
  width: 100%;
  height: 120px;
  margin-top: auto;
  padding: 0;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.rehabilitation-card__cooperation img {
  position: static;
  display: block;
  width: 370px;
  max-width: none;
  height: 120px;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

  /* 右側のクリニック写真 */
  .rehabilitation-card--clinic
  > .rehabilitation-card__image {
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
  }

  .rehabilitation-card--clinic
  > .rehabilitation-card__image img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center 67%;
  }
}

/* =================================
   安心して過ごせる環境
================================= */

.safe-environment {
  position: relative;
  overflow: hidden;
  padding: 62px 32px 48px;
  color: #08234e;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 75%,
      #edfafd 100%
    );
}

.safe-environment::before {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 720px;
  height: 190px;
  background: #e8f8fa;
  border-radius: 0 0 45% 55%;
  content: "";
}

.safe-environment__inner {
  position: relative;
  z-index: 1;
  width: min(1600px, 100%);
  margin: 0 auto;
}

/* 見出し */

.safe-environment__header {
  margin-bottom: 34px;
  text-align: center;
}

.safe-environment__label {
  margin: 0;
  color: #009bab;
  font-size: clamp(17px, 1.4vw, 24px);
  font-weight: 800;
  letter-spacing: 0.09em;
}

.safe-environment__label::after {
  display: block;
  width: 78px;
  height: 3px;
  margin: 15px auto 0;
  background: #009dab;
  content: "";
}

.safe-environment__title {
  margin: 20px 0 10px;
  color: #08234e;
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: clamp(36px, 3.7vw, 62px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.safe-environment__title span {
  color: #009bab;
}

.safe-environment__lead {
  margin: 0;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* メイン配置 */

.safe-environment__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.22fr;
  gap: 24px;
  align-items: stretch;
}

/* お風呂 */

.facility-bath {
  display: grid;
  grid-template-rows: auto 1fr 180px;
  min-width: 0;
  height: 520px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(8, 96, 110, 0.12);
}

.facility-bath__text {
  padding: 28px 42px 22px;
}

.facility-bath__text h3,
.facility-service h3 {
  margin: 0;
  color: #009bab;
  font-size: clamp(19px, 1.55vw, 27px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.facility-bath__text h3::after,
.facility-service h3::after {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 13px;
  background: #009dab;
  content: "";
}

.facility-bath__text p,
.facility-service p {
  margin: 15px 0 0;
  color: #10264a;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
  line-height: 1.85;
}

.facility-bath__main {
  min-height: 0;
  overflow: hidden;
}

.facility-bath__main img,
.facility-bath__sub img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.facility-bath__main img {
  object-position: center 58%;
}

.facility-bath__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
}

/* 右側サービス */

.facility-services {
  display: grid;
  grid-template-rows: 238px 1fr;
  gap: 20px;
  min-width: 0;
}

.facility-service {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(8, 96, 110, 0.1);
}

.facility-service--rehab {
  grid-template-columns: 42% 58%;
}

.facility-service__content {
  position: relative;
  z-index: 2;
  padding: 30px 24px 24px 38px;
  background: #ffffff;
}

.facility-service__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.facility-service__image::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55px;
  background: linear-gradient(
    90deg,
    #ffffff,
    rgba(255, 255, 255, 0)
  );
  content: "";
}

.facility-service__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.facility-services__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 0;
}

.facility-service--small {
  grid-template-columns: 48% 52%;
}

.facility-service--small .facility-service__content {
  padding: 26px 16px 20px 28px;
}

.facility-service--small h3 {
  font-size: clamp(17px, 1.35vw, 24px);
}

.safe-environment__footer {
  display: grid;
  grid-template-columns: 1fr;
}

.safe-environment__support {
  display: flex;
  width: min(100%, 1150px);
  min-height: 104px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}
.safe-environment__support-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: #009dab;
  font-size: 28px;
  font-weight: 800;
  border: 3px solid #009dab;
  border-radius: 50%;
  place-items: center;
}

.safe-environment__support p {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 19px);
  font-weight: 700;
  line-height: 1.7;
}


.safe-environment__button {
  display: flex;
  min-width: 450px;
  min-height: 78px;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  color: #009bab;
  font-size: clamp(18px, 1.6vw, 27px);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.05em;
  background: #ffffff;
  border: 3px solid #009dab;
  border-radius: 15px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.safe-environment__button:hover,
.safe-environment__button:focus-visible {
  color: #ffffff;
  background: #009dab;
  transform: translateY(-3px);
}

/* タブレット */

@media (max-width: 1100px) {
  .safe-environment__grid {
    grid-template-columns: 1fr;
  }

  .facility-bath {
    height: 580px;
  }

  .facility-services {
    grid-template-rows: 280px 280px;
  }

  .safe-environment__footer {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .safe-environment__button {
    min-width: 0;
    width: 100%;
  }
}

/* スマートフォン */

@media (max-width: 700px) {
  .safe-environment {
    padding: 48px 14px 32px;
  }

  .safe-environment__header {
    margin-bottom: 25px;
  }

  .safe-environment__title {
    font-size: 30px;
  }

  .safe-environment__title span {
    display: block;
  }

  .safe-environment__lead {
    text-align: left;
  }

  .facility-bath {
    display: block;
    height: auto;
  }

  .facility-bath__text {
    padding: 24px 20px 20px;
  }

  .facility-bath__main {
    height: 230px;
  }

  .facility-bath__sub {
    height: 155px;
  }

  .facility-services {
    display: block;
  }

  .facility-service,
  .facility-service--rehab,
  .facility-service--small {
    display: block;
    margin-top: 18px;
  }

  .facility-service__content,
  .facility-service--small .facility-service__content {
    padding: 23px 20px 20px;
  }

  .facility-service__image {
    height: 220px;
  }

  .facility-service__image::before {
    display: none;
  }

  .facility-services__bottom {
    display: block;
  }

  .safe-environment__footer {
    gap: 16px;
    margin-top: 20px;
  }

  .safe-environment__support {
    min-height: 0;
    gap: 15px;
    padding: 16px;
  }

  .safe-environment__support-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 22px;
  }

  .safe-environment__button {
    min-height: 64px;
    gap: 15px;
    padding: 12px 17px;
    font-size: 18px;
    border-width: 2px;
  }
}

/* =================================
   楽しみ・生活支援
================================= */

.enjoy-support {
  position: relative;
  overflow: hidden;
  padding: 58px 30px 38px;
  color: #08234e;
  background:
    radial-gradient(
      circle at 93% 4%,
      rgba(8, 174, 184, 0.11) 0 90px,
      transparent 91px
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbffff 100%
    );
}

.enjoy-support::before {
  position: absolute;
  top: 75px;
  right: 55px;
  width: 145px;
  height: 90px;
  opacity: 0.18;
  background:
    radial-gradient(
      circle,
      #009dab 2px,
      transparent 3px
    );
  background-size: 20px 20px;
  content: "";
}

.enjoy-support__inner {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  margin: 0 auto;
}

/* 見出し */

.enjoy-support__header {
  margin-bottom: 30px;
}

.enjoy-support__label {
  margin: 0;
  color: #008fa1;
  font-size: clamp(17px, 1.45vw, 24px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.enjoy-support__title {
  margin: 18px 0 10px;
  color: #08234e;
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: clamp(36px, 3.6vw, 60px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.enjoy-support__lead {
  margin: 0;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.sp-only {
  display: none;
}

/* 全体配置 */

.enjoy-support__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 8px;
  align-items: stretch;
}

/* よさこい */

.yosakoi-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: 625px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(8, 91, 105, 0.12);
}

.yosakoi-card__image {
  min-height: 0;
  overflow: hidden;
}

.yosakoi-card__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.yosakoi-card__content {
  min-height: 158px;
  padding: 27px 32px 25px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #08aeb9,
      #008a9b
    );
}

.yosakoi-card__content h3 {
  display: flex;
  gap: 17px;
  align-items: baseline;
  margin: 0;
  color: #ffffff;
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(35px, 3.3vw, 58px);
  font-weight: 800;
  line-height: 1.25;
}

.yosakoi-card__content h3 span {
  font-family:
    "Yu Gothic",
    "游ゴシック",
    sans-serif;
  font-size: 0.48em;
  letter-spacing: 0.02em;
}

.yosakoi-card__content p {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.15vw, 19px);
  font-weight: 700;
  line-height: 1.7;
}

/* 右側 */

.enjoy-support__side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 160px;
  gap: 12px;
  min-width: 0;
}

.event-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

/* 買い物・季節行事 */

.event-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 120px;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f0e6d8;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(83, 69, 46, 0.08);
}

.event-card__image {
  min-height: 0;
  overflow: hidden;
}

.event-card__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.event-card__content {
  padding: 18px 20px 16px;
}

.event-card__content h3 {
  margin: 0;
  color: #008fa1;
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 800;
  line-height: 1.45;
}

.event-card__content p {
  margin: 9px 0 0;
  color: #27364e;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 600;
  line-height: 1.7;
}

/* 出張理美容 */

.beauty-service {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(270px, 1.15fr)
    auto;
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: 18px 28px;
  background:
    linear-gradient(
      135deg,
      #fffdf8,
      #fff8ec
    );
  border: 1px solid #eadbc4;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(101, 76, 44, 0.07);
}

.beauty-service__heading {
  display: flex;
  gap: 17px;
  align-items: center;
}

.beauty-service__icon {
  color: #0098a8;
  font-size: 56px;
  line-height: 1;
}

.beauty-service__heading h3 {
  margin: 0;
  color: #008fa1;
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 800;
  line-height: 1.45;
}

.beauty-service__heading small {
  display: block;
  font-size: 0.78em;
}

.beauty-service__prices {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 22px;
  border-right: 1px solid #cdbfae;
  border-left: 1px solid #cdbfae;
}

.beauty-service__prices div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 13px;
  align-items: center;
}

.beauty-service__prices dt {
  padding: 6px 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  background: #008fa1;
  border-radius: 8px;
}

.beauty-service__prices dd {
  margin: 0;
  color: #222222;
  font-size: 17px;
  white-space: nowrap;
}

.beauty-service__prices strong {
  font-size: 25px;
}

.beauty-service__prices small {
  font-size: 12px;
}

.beauty-service__note {
  margin: 0;
  color: #292929;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* 詳細ボタン */

.enjoy-support__footer {
  max-width: 760px;
  margin: 28px auto 0;
}

.enjoy-support__button {
  display: flex;
  min-height: 72px;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  color: #008fa1;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.05em;
  background: #ffffff;
  border: 3px solid #008fa1;
  border-radius: 15px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.enjoy-support__button:hover,
.enjoy-support__button:focus-visible {
  color: #ffffff;
  background: #008fa1;
  transform: translateY(-3px);
}

/* タブレット */

@media (max-width: 1100px) {
  .enjoy-support__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .yosakoi-card {
    height: 600px;
  }

  .enjoy-support__side {
    grid-template-rows: 450px auto;
  }

  .beauty-service {
    grid-template-columns: 1fr 1.2fr;
  }

  .beauty-service__note {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* スマートフォン */

@media (max-width: 700px) {
  .enjoy-support {
    padding: 46px 14px 32px;
  }

  .enjoy-support__title {
    font-size: 30px;
  }

  .sp-only {
    display: initial;
  }

  .enjoy-support__lead {
    text-align: left;
  }

  .yosakoi-card {
    height: auto;
  }

  .yosakoi-card__image {
    height: 360px;
  }

  .yosakoi-card__content {
    min-height: 0;
    padding: 23px 20px;
  }

  .yosakoi-card__content h3 {
    display: block;
    font-size: 39px;
  }

  .yosakoi-card__content h3 span {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
  }

  .enjoy-support__side {
    display: block;
  }

  .event-card-grid {
    display: block;
  }

  .event-card {
    display: block;
    margin-top: 17px;
  }

  .event-card__image {
    height: 250px;
  }

  .event-card__content {
    min-height: 128px;
  }

  .beauty-service {
    display: block;
    margin-top: 17px;
    padding: 22px 18px;
  }

  .beauty-service__heading {
    justify-content: center;
  }

  .beauty-service__prices {
    margin-top: 20px;
    padding: 17px 0;
    border: 0;
    border-top: 1px solid #cdbfae;
    border-bottom: 1px solid #cdbfae;
  }

  .beauty-service__prices div {
    grid-template-columns: 90px 1fr;
  }

  .beauty-service__note {
    margin-top: 14px;
    text-align: center;
  }

  .enjoy-support__footer {
    margin-top: 20px;
  }

  .enjoy-support__button {
    min-height: 64px;
    gap: 14px;
    padding: 12px 16px;
    font-size: 17px;
    border-width: 2px;
  }
}

/* お風呂画像の間に白い隙間を追加 */
.facility-bath__sub {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;                         /* 下段2枚の縦の隙間 */
  border-top: 6px solid #ffffff;   /* 上段と下段の横の隙間 */
  box-sizing: border-box;
  background: #ffffff;
}

.safe-environment__support {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 78px;
  padding: 12px 28px;
  background: #e9f9fc;
  border-radius: 15px;
}

/* 左側のロゴを中央配置 */
.safe-environment__support-logo {
  display: flex;
  width: 72px;
  height: 60px;
  align-items: center;
  justify-content: center;
}

.safe-environment__support-logo img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.safe-environment__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding: 0 28px;
}

.safe-environment__support,
.safe-environment__button {
  width: 100%;
  min-height: 78px;
  box-sizing: border-box;
}

.yosakoi-card__image img {
  object-fit: cover;
  object-position: center 25%;
}

.event-card:first-child .event-card__image img {
  object-fit: cover;
  object-position: center 35%;
}

/* =================================
   下部：タブレット・スマホ対応
================================= */

@media (max-width: 1000px) {
  .safe-environment__footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .safe-environment__support {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    width: 100%;
    min-height: 76px;
    gap: 16px;
    align-items: center;
    padding: 12px 22px;
    box-sizing: border-box;
  }

  .safe-environment__support-logo {
    display: flex;
    width: 60px;
    height: 54px;
    align-items: center;
    justify-content: center;
  }

  .safe-environment__support-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .safe-environment__support p {
    width: auto;
    min-width: 0;
    margin: 0;
    writing-mode: horizontal-tb;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.7;
  }

  .safe-environment__button {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    box-sizing: border-box;
  }
}

/* =================================
   ご利用開始までの流れ
================================= */

.usage-flow {
  position: relative;
  overflow: hidden;
  padding: 55px 30px 34px;
  color: #08234e;
  background:
    radial-gradient(
      ellipse at -2% -6%,
      rgba(12, 175, 187, 0.12) 0 14%,
      transparent 14.2%
    ),
    radial-gradient(
      ellipse at 103% 105%,
      rgba(12, 175, 187, 0.1) 0 14%,
      transparent 14.2%
    ),
    #ffffff;
}

.usage-flow__inner {
  width: min(1500px, 100%);
  margin: 0 auto;
}

/* 見出し */

.usage-flow__header {
  margin-bottom: 26px;
  text-align: center;
}

.usage-flow__label {
  display: table;
  min-width: 195px;
  margin: 0 auto;
  padding: 7px 28px;
  color: #ffffff;
  font-size: clamp(16px, 1.5vw, 23px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, #0099a9, #17bdc3);
  border-radius: 999px;
}

.usage-flow__title {
  margin: 16px 0 5px;
  color: #061d58;
  font-family:
    "Yu Gothic",
    "游ゴシック",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    sans-serif;
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.usage-flow__lead {
  margin: 0;
  color: #08234e;
  font-size: clamp(16px, 1.55vw, 24px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

/* 5つの流れ */

.usage-flow__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 72px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usage-flow__item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 19px 10px 16px;
  background: #ffffff;
  border: 3px solid #05a4b4;
  border-radius: 20px;
  box-sizing: border-box;
}

/* カード間の矢印 */

.usage-flow__item:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  width: 36px;
  height: 50px;
  background: linear-gradient(135deg, #08a6b6, #19bcc2);
  clip-path: polygon(
    0 23%,
    55% 23%,
    55% 0,
    100% 50%,
    55% 100%,
    55% 77%,
    0 77%
  );
  content: "";
  transform: translateY(-50%);
}

.usage-flow__number {
  display: block;
  color: #09a6b6;
  font-size: clamp(37px, 3.4vw, 55px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* アイコン */

.usage-flow__icon {
  display: grid;
  width: 115px;
  height: 115px;
  margin: 13px auto 8px;
  place-items: center;
}

.usage-flow__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: #0aa5b5;
}

.usage-flow__icon svg .usage-flow__icon-line {
  fill: none;
  stroke: #0aa5b5;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.usage-flow__item h3 {
  margin: auto 0 0;
  color: #061d58;
  font-size: clamp(16px, 1.4vw, 23px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}

/* 下部ボタン */

.usage-flow__footer {
  width: min(1180px, 88%);
  margin: 29px auto 0;
}

.usage-flow__button {
  display: flex;
  min-height: 78px;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  color: #ffffff;
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #079bab, #12b9c1);
  border-radius: 17px;
  box-shadow: 0 10px 25px rgba(0, 145, 160, 0.16);
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.usage-flow__button:hover,
.usage-flow__button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 145, 160, 0.24);
}

.usage-flow__button-arrow {
  font-size: 1.35em;
  line-height: 1;
}

/* タブレット */

@media (max-width: 1100px) {
  .usage-flow__list {
    grid-template-columns: repeat(5, 190px);
    gap: 55px;
    overflow-x: auto;
    padding: 4px 20px 22px;
    scroll-snap-type: x mandatory;
    scrollbar-color: #09a6b6 #e8f8fa;
  }

  .usage-flow__item {
    min-height: 270px;
    scroll-snap-align: center;
  }

  .usage-flow__item:not(:last-child)::after {
    left: calc(100% + 13px);
    width: 30px;
    height: 42px;
  }

  .usage-flow__icon {
    width: 100px;
    height: 100px;
  }
}

/* スマートフォン */

@media (max-width: 700px) {
  .usage-flow {
    padding: 44px 14px 30px;
  }

  .usage-flow__label {
    min-width: 155px;
    padding: 6px 20px;
    font-size: 15px;
  }

  .usage-flow__title {
    margin-top: 14px;
    font-size: 32px;
  }

  .usage-flow__lead {
    font-size: 15px;
    text-align: left;
  }

  .usage-flow__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    overflow: visible;
    padding: 0;
  }

  .usage-flow__item {
    display: grid;
    grid-template-columns: 65px 82px 1fr;
    min-height: 112px;
    gap: 13px;
    align-items: center;
    padding: 13px 16px;
  }

  .usage-flow__number {
    font-size: 37px;
  }

  .usage-flow__icon {
    width: 72px;
    height: 72px;
    margin: 0;
  }

  .usage-flow__item h3 {
    margin: 0;
    font-size: 17px;
    text-align: left;
    white-space: normal;
  }

  /* スマホでは矢印を下向きにする */
  .usage-flow__item:not(:last-child)::after {
    top: calc(100% + 8px);
    left: 50%;
    width: 34px;
    height: 27px;
    clip-path: polygon(
      22% 0,
      78% 0,
      78% 45%,
      100% 45%,
      50% 100%,
      0 45%,
      22% 45%
    );
    transform: translateX(-50%);
  }

  .usage-flow__footer {
    width: 100%;
    margin-top: 25px;
  }

  .usage-flow__button {
    min-height: 64px;
    gap: 13px;
    padding: 11px 16px;
    font-size: 17px;
    text-align: center;
  }
}

/* 01：電話画像 */
.usage-flow__icon--phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-flow__icon--phone img {
  display: block;
  width: 105px;
  height: 105px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 700px) {
  .usage-flow__icon--phone img {
    width: 70px;
    height: 70px;
  }
}

/* 02：施設画像 */
.usage-flow__icon--facility {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-flow__icon--facility img {
  display: block;
  width: 112px;
  height: 112px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 700px) {
  .usage-flow__icon--facility img {
    width: 72px;
    height: 72px;
  }
}

/* 03：ケアマネジャーとの相談画像 */
.usage-flow__icon--caremanager {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-flow__icon--caremanager img {
  display: block;
  width: 118px;
  height: 110px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 700px) {
  .usage-flow__icon--caremanager img {
    width: 76px;
    height: 70px;
  }
}

/* 04：ご契約画像 */
.usage-flow__icon--contract {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-flow__icon--contract img {
  display: block;
  width: 112px;
  height: 112px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 700px) {
  .usage-flow__icon--contract img {
    width: 72px;
    height: 72px;
  }
}

/* =================================
   01〜05の画像サイズを統一
================================= */

.usage-flow__icon {
  display: flex;
  width: 120px;
  height: 120px;
  margin: 12px auto 8px;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
}

.usage-flow__icon img {
  display: block;
  width: 110px;
  height: 110px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

/* スマートフォン */
@media (max-width: 700px) {
  .usage-flow__icon {
    width: 76px;
    height: 76px;
    margin: 0;
    flex-basis: 76px;
  }

  .usage-flow__icon img {
    width: 72px;
    height: 72px;
  }
}

/* =================================
   よくあるご質問
================================= */
.faq-section {
  --faq-navy: #07195c;
  --faq-cyan: #08a9bd;
  --faq-cyan-dark: #0098ae;
  --faq-border: #dce8ec;
  --faq-answer-bg: #edf9fc;

  position: relative;
  padding: 52px 3.3vw 24px;
  overflow: hidden;
  color: var(--faq-navy);
  background:
    linear-gradient(
      135deg,
      #ebf9fc 0%,
      #ffffff 22%,
      #ffffff 78%,
      #ebf9fc 100%
    );
}

/* 上部の淡い装飾 */
.faq-decoration {
  position: absolute;
  top: -100px;
  width: 390px;
  height: 190px;
  background: #e1f5f9;
  border-radius: 50%;
  opacity: 0.9;
  pointer-events: none;
}

.faq-decoration--left {
  left: -110px;
  transform: rotate(-16deg);
}

.faq-decoration--right {
  right: -110px;
  transform: rotate(16deg);
}

.faq-section__inner {
  position: relative;
  z-index: 1;
  width: min(1430px, 100%);
  margin: 0 auto;
}

/* =================================
   見出し
================================= */
.faq-heading {
  margin-bottom: 28px;
  text-align: center;
}

.faq-heading__label {
  display: inline-block;
  margin: 0;
  padding: 8px 35px;
  color: #ffffff;
  background: linear-gradient(
    180deg,
    #16b6c6 0%,
    #009eb3 100%
  );
  border-radius: 999px;
  box-shadow: 0 4px 10px rgb(0 145 165 / 15%);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.faq-heading__title {
  margin: 16px 0 4px;
  color: var(--faq-navy);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.faq-heading__text {
  margin: 0;
  color: var(--faq-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

/* =================================
   カテゴリータブ
================================= */
.faq-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto 21px;
}

.faq-tab {
  min-height: 60px;
  padding: 8px 20px;
  color: var(--faq-cyan-dark);
  background: #ffffff;
  border: 2px solid var(--faq-cyan);
  border-radius: 14px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.faq-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(8 169 189 / 20%);
}

.faq-tab:focus-visible {
  outline: 3px solid rgb(8 169 189 / 35%);
  outline-offset: 3px;
}

.faq-tab.is-active {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #12b5c5 0%,
    #039caf 100%
  );
}

/* =================================
   FAQ一覧
================================= */
.faq-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-item {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--faq-border);
  border-radius: 18px;
  box-shadow: 0 3px 13px rgb(36 59 92 / 10%);
}

/* 回答が開いている項目 */
.faq-item.is-open {
  grid-column: 1 / -1;
}

/* 質問部分 */
.faq-question {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  min-height: 90px;
  padding: 17px 27px 17px 30px;
  color: var(--faq-navy);
  text-align: left;
  background: #ffffff;
  border: 0;
  cursor: pointer;
}

.faq-question:hover {
  background: #fbfeff;
}

.faq-question:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgb(8 169 189 / 35%);
  outline-offset: -3px;
}

.faq-icon {
  display: grid;
  flex: 0 0 56px;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #1ab9c8 0%,
    #009bb1 100%
  );
  border-radius: 50%;
  box-shadow: inset 0 -3px 6px rgb(0 96 117 / 14%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.faq-question__text {
  flex: 1;
  color: var(--faq-navy);
  font-size: clamp(20px, 1.85vw, 27px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.faq-question__toggle {
  flex: 0 0 auto;
  color: var(--faq-cyan-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
}

/* =================================
   回答部分
================================= */
.faq-answer {
  padding: 0 25px 17px;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer__inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 21px;
  background: linear-gradient(
    110deg,
    #e8f8fb 0%,
    #f4fbfc 100%
  );
  border-radius: 15px;
}

.faq-answer__content {
  flex: 1;
}

.faq-answer p {
  margin: 3px 0 12px;
  color: var(--faq-navy);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.faq-answer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 48px;
  padding: 7px 25px;
  color: var(--faq-cyan-dark);
  background: #ffffff;
  border: 2px solid var(--faq-cyan);
  border-radius: 11px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.faq-answer__link:hover {
  color: #ffffff;
  background: var(--faq-cyan-dark);
}

.faq-answer__link span {
  font-size: 30px;
  line-height: 1;
}

/* =================================
   お問い合わせ
================================= */
.faq-contact {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 91px;
  margin-top: 14px;
  padding: 14px 86px;
  color: #ffffff;
  background: linear-gradient(
    120deg,
    #13b3c2 0%,
    #05a0b4 100%
  );
  border-radius: 17px;
}

.faq-contact__icon {
  display: grid;
  flex: 0 0 55px;
  place-items: center;
  width: 55px;
  height: 55px;
  color: #ffffff;
  border: 5px solid #ffffff;
  border-radius: 50%;
  font-size: 29px;
  line-height: 1;
}

.faq-contact__message {
  flex: 1;
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.faq-contact__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  min-width: 330px;
  min-height: 62px;
  padding: 8px 30px;
  color: var(--faq-cyan-dark);
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 12px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.faq-contact__button:hover {
  color: #ffffff;
  background: transparent;
}

.faq-contact__button span {
  font-size: 32px;
  line-height: 1;
}

/* =================================
   タブレット
================================= */
@media (max-width: 900px) {
  .faq-section {
    padding: 45px 16px 22px;
  }

  .faq-heading__text {
    font-size: 16px;
  }

  .faq-tabs {
    gap: 8px;
  }

  .faq-tab {
    min-height: 52px;
    padding: 7px 10px;
    font-size: 16px;
  }

  .faq-panel {
    grid-template-columns: 1fr;
  }

  .faq-item.is-open {
    grid-column: auto;
  }

  .faq-question {
    min-height: 78px;
    padding: 14px 18px;
    gap: 14px;
  }

  .faq-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 29px;
  }

  .faq-question__text {
    font-size: 18px;
  }

  .faq-question__toggle {
    font-size: 36px;
  }

  .faq-answer {
    padding: 0 14px 14px;
  }

  .faq-answer__inner {
    gap: 14px;
    padding: 16px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .faq-contact {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px;
    text-align: center;
  }

  .faq-contact__message {
    flex-basis: calc(100% - 85px);
    font-size: 19px;
  }

  .faq-contact__button {
    width: 100%;
    min-width: 0;
  }
}

/* =================================
   スマートフォン
================================= */
@media (max-width: 560px) {
  .faq-section {
    padding-top: 36px;
  }

  .faq-heading__label {
    padding: 7px 24px;
    font-size: 17px;
  }

  .faq-heading__title {
    margin-top: 14px;
    font-size: 34px;
    letter-spacing: 0.02em;
  }

  .faq-heading__text {
    margin-top: 8px;
  }

  .faq-tabs {
    grid-template-columns: 1fr;
  }

  .faq-answer__inner {
    gap: 12px;
  }

  .faq-answer__link {
    width: 100%;
    gap: 15px;
    padding-inline: 12px;
    font-size: 15px;
  }

  .faq-contact__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .faq-contact__message {
    flex-basis: calc(100% - 68px);
    text-align: left;
  }
}

@media (max-width: 767px) {
  .hero-copy {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .hero-label,
  .hero h1,
  .hero-lead {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .hero-points span {
    font-size: 18px !important;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .hero-points span {
    padding-top: 24px;
    padding-bottom: 10px;
  }
}

@media (max-width: 720px) {
  .philosophy__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .step {
    padding: 10px 0;
    text-align: center;
  }

  .step__top {
    min-height: auto;
    gap: 10px;
    justify-content: center;
  }

  .step__number {
    font-size: 36px;
  }

  .step__icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .step__title {
    margin-top: 8px;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
  }

  .step__text {
    margin-top: 10px;
    font-size: 15px;
  }

  .step-arrow {
    margin: -2px 0;
    font-size: 30px;
    line-height: 1;
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  /* タイトル下にある現在の白い点線を消す */
  .step__title {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 各項目の一番下に白い点線を配置 */
  .step {
    padding: 14px 0 26px;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.85);
  }

  /* 最後の03には点線を付けない */
  .step:last-of-type {
    padding-bottom: 14px;
    border-bottom: none;
  }

  /* 矢印は使わない */
  .step-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .philosophy__photo {
    object-fit: cover;
    object-position: center 10%;
  }
}

@media (max-width: 720px) {
  /* 03を02と同じ縦並びにする */
  .rehabilitation-card:nth-child(3),
  .rehabilitation-card--clinic {
    display: block !important;
    height: auto !important;
  }

  /* 文章部分を横幅いっぱいにする */
  .rehabilitation-card--clinic
  .rehabilitation-card__content {
    display: block;
    width: 100%;
    height: auto;
    padding: 22px 20px;
    overflow: visible;
  }

  /* 左下のイラストを非表示 */
  .rehabilitation-card__cooperation {
    display: none !important;
  }

  /* クリニック写真を文章の下へ配置 */
  .rehabilitation-card--clinic
  > .rehabilitation-card__image {
    width: 100%;
    height: 240px;
  }

  .rehabilitation-card--clinic
  > .rehabilitation-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 67%;
  }
}

@media (max-width: 720px) {
  .rehabilitation-card:nth-child(3)
  > .rehabilitation-card__image {
    width: 100% !important;
    height: 240px !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  @media (max-width: 720px) {
  .rehabilitation-card:nth-child(3)
  > .rehabilitation-card__image img {
    object-position: center 50% !important;
  }
}
}

@media (max-width: 700px) {
  .rehab-panel {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .rehab-panel__text {
    width: 100%;
    padding: 24px 18px;
    text-align: center;
  }

  .rehab-panel__tag {
    margin-left: auto;
    margin-right: auto;
  }

  .rehab-panel h3 {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .rehab-panel__text p {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .rehab-panel > img {
    width: 100%;
    height: 210px;
    margin-left: 0;
    object-fit: cover;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 700px) {
  .rehabilitation-hero__title {
    font-size: clamp(25px, 8vw, 30px);
    line-height: 1.55;
    letter-spacing: 0.03em;
  }

  .rehabilitation-title__line {
    white-space: nowrap;
  }
}

.no-break {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .day-flow__title {
    font-size: clamp(26px, 8vw, 31px);
    letter-spacing: 0.02em;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .facility-bath__text p {
    font-size: 17px !important;
    line-height: 1.8;
  }
}

@media (max-width: 700px) {
  .facility-bath__text p,
  .facility-service__content p {
    font-size: 17px !important;
    line-height: 1.8;
  }
}

@media (max-width: 700px) {
  .enjoy-support__lead,
  .event-card__content p {
    font-size: 17px !important;
    line-height: 1.8;
  }
}

/* =================================
   見学・ご相談
================================= */

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 70px 24px;
  color: #ffffff;
  background:
    linear-gradient(
      110deg,
      rgba(0, 160, 177, 0.98) 0%,
      rgba(0, 143, 158, 0.94) 58%,
      rgba(0, 143, 158, 0.72) 100%
    ),
    url("assets/contact-rehabilitation.jpg")
    right center / cover no-repeat;
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.contact-cta__header {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.contact-cta__label {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-cta__header h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.contact-cta__header > p:last-child {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.9;
}

/* 電話カード */

.contact-phone {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 34px 44px;
  color: #08265d;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(4, 77, 91, 0.2);
}

.contact-phone__heading {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding-bottom: 18px;
  border-bottom: 2px dotted #1aaab7;
}

.contact-phone__icon {
  display: grid;
  width: 82px;
  height: 82px;
  color: #08a6b5;
  border: 3px solid rgba(8, 166, 181, 0.35);
  border-radius: 50%;
  font-size: 38px;
  place-items: center;
}

.contact-phone__heading h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
}

.contact-phone__details {
  padding: 20px 0 18px;
  text-align: center;
}

.contact-phone__number {
  display: flex;
  gap: 22px;
  align-items: baseline;
  justify-content: center;
  margin: 0;
}

.contact-phone__number small {
  font-size: 23px;
  font-weight: 800;
}

.contact-phone__number a {
  color: #08265d;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.contact-phone__hours {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.contact-phone__button {
  display: flex;
  min-height: 72px;
  gap: 22px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #09b1c1, #008e9e);
  border-radius: 14px;
}

/* ケアマネジャー */

.contact-caremanager {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 24px;
  padding: 22px 30px;
  color: #08265d;
  background: rgba(241, 253, 255, 0.94);
  border-radius: 18px;
}

.contact-caremanager__title {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 22px;
}

.contact-caremanager p {
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
}

.contact-caremanager > a {
  padding: 14px 20px;
  color: #08265d;
  border: 2px solid #08265d;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

/* 相談内容 */



.contact-cta__topics ul {
  display: flex;
  gap: 34px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-cta__topics li {
  font-size: 18px;
  font-weight: 800;
}

.contact-cta__topics li::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 9px;
  color: #0799a8;
  background: #ffffff;
  border-radius: 50%;
  content: "✓";
  place-items: center;
}

.contact-cta__address {
  margin-top: 28px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

/* スマートフォン */

@media (max-width: 700px) {
  .contact-cta {
    padding: 48px 16px;
    background:
      linear-gradient(
        rgba(0, 153, 168, 0.94),
        rgba(0, 132, 145, 0.97)
      );
  }

  .contact-cta__label {
    font-size: 16px;
  }

  .contact-cta__header h2 {
    font-size: 30px;
    line-height: 1.5;
  }

  .contact-cta__header > p:last-child {
    font-size: 15px;
  }

  .contact-cta__header br:not(.sp-only) {
    display: none;
  }

  .contact-phone {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .contact-phone__heading {
    gap: 12px;
  }

  .contact-phone__icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .contact-phone__heading h3 {
    font-size: 23px;
  }

  .contact-phone__number {
    display: block;
  }

  .contact-phone__number small {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
  }

  .contact-phone__number a {
    font-size: 30px;
  }

  .contact-phone__hours {
    font-size: 14px;
  }

  .contact-phone__button {
    min-height: 62px;
    font-size: 21px;
  }

  .contact-caremanager {
    display: block;
    padding: 22px 18px;
    text-align: center;
  }

  .contact-caremanager__title {
    justify-content: center;
    font-size: 19px;
  }

  .contact-caremanager p {
    margin: 14px 0 18px;
    font-size: 14px;
  }

  .contact-caremanager > a {
    display: block;
  }

  .contact-cta__topics ul {
    display: grid;
    gap: 12px;
  }

  .contact-cta__topics li {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .contact-cta__header h2 {
    font-size: 24px;
    line-height: 1.65;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .contact-title__line {
    white-space: nowrap;
  }

  .contact-cta__header > p:last-child {
    max-width: 310px;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
}

/* パソコン・スマホ共通 */
.contact-title__line {
  display: block;
  white-space: nowrap;
}

.contact-cta__header h2 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: center;
}

/* スマートフォン */
@media (max-width: 700px) {
  .contact-cta__header h2 {
    font-size: 24px;
    line-height: 1.65;
    letter-spacing: 0.02em;
  }
}

/* パソコン・スマホ共通 */
.site-footer,
.footer-inner {
  text-align: center;
}

.footer-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.footer-inner strong,
.footer-inner p {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* スマートフォン */
@media (max-width: 700px) {
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-inner strong {
    font-size: 21px;
  }

  .footer-inner p {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ========================================
   私たちが大切にしていること
======================================== */
.philosophy {
  padding: 80px 24px;
  background: #fff;
}

.philosophy__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 48%);
  align-items: stretch;
  width: min(1180px, 100%);
  min-height: 470px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(
      105deg,
      #effafa 0%,
      #f3fbfb 47%,
      rgba(243, 251, 251, 0.76) 58%,
      rgba(243, 251, 251, 0) 72%
    );
  box-shadow: 0 14px 45px rgba(13, 91, 96, 0.09);
}

/* 左側の文章 */
.philosophy__content {
  position: relative;
  z-index: 2;
  padding: 62px 20px 56px 56px;
}

.philosophy__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #385e61;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
}



.philosophy__title {
  margin: 0 0 30px;
  color: #252f31;
  font-family:
    "Yu Mincho", "Hiragino Mincho ProN",
    "Noto Serif JP", serif;
  font-size: clamp(30px, 3.1vw, 49px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.philosophy__title span {
  color: #079fa6;
}

.philosophy__text {
  color: #3f5052;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 2;
  letter-spacing: 0.035em;
}

.philosophy__text p {
  margin: 0 0 17px;
}

.philosophy__text p:last-child {
  margin-bottom: 0;
}

/* 右側の画像 */
.philosophy__image {
  position: relative;
  min-height: 470px;
}

.philosophy__image::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(
    90deg,
    #f3fbfb 0%,
    rgba(243, 251, 251, 0) 100%
  );
  content: "";
}

.philosophy__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
}

.sp-only {
  display: none;
}

/* ========================================
   スマートフォン
======================================== */
@media (max-width: 767px) {
  .philosophy {
    padding: 50px 16px;
  }

  .philosophy__inner {
    display: flex;
    min-height: 0;
    border-radius: 20px;
    flex-direction: column;
  }

  .philosophy__content {
    padding: 38px 24px 34px;
    text-align: center;
  }

  .philosophy__label {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 13px;
  }

  .philosophy__title {
    margin-bottom: 24px;
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.55;
  }

  .philosophy__text {
    font-size: 16px;
    line-height: 1.95;
    text-align: left;
  }

  .philosophy__text p {
    margin-bottom: 18px;
  }

  .philosophy__image {
    width: 100%;
    min-height: 260px;
  }

  .philosophy__image::before {
    inset: 0 0 auto;
    width: 100%;
    height: 25%;
    background: linear-gradient(
      180deg,
      #f3fbfb 0%,
      rgba(243, 251, 251, 0) 100%
    );
  }

  .philosophy__image img {
    min-height: 260px;
    aspect-ratio: 4 / 3;
    object-position: center 35%;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: initial;
  }

  
}



/* ========================================
   理念セクション・PC表示
======================================== */
@media (min-width: 768px) {
  .philosophy--message .philosophy__inner {
    position: relative;
    display: block !important;
    min-height: 520px;
    overflow: hidden;
  }

  .philosophy--message .philosophy__content {
    position: relative;
    z-index: 3;
    width: 55%;
    min-height: 520px;
    padding: 62px 20px 56px 56px;
  }

  .philosophy--message .philosophy__image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 72%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #effafa;
  }

  .philosophy--message .philosophy__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: right center;
  }

  .philosophy--message .philosophy__image::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 48%;
    height: 100%;
    content: "";
    background: linear-gradient(
      90deg,
      #effafa 0%,
      rgba(239, 250, 250, 0.9) 35%,
      rgba(239, 250, 250, 0) 100%
    );
    pointer-events: none;
  }
}

.philosophy__label-icon {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  color: #17aeb2;
}

.philosophy__label-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================================
   既存リハビリコーナーのレイアウトを復元
======================================== */
.philosophy--rehab {
  position: relative;
  overflow: hidden;
  padding:
    clamp(32px, 4vw, 70px)
    24px
    clamp(48px, 5vw, 84px);
  color: var(--navy);
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #ffffff 82%
  );
}

.philosophy--rehab .philosophy__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(360px, 0.86fr)
    minmax(560px, 1.44fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
  width: min(100%, 1720px);
  min-height: 0;
  margin: 0 auto;
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.philosophy--rehab .philosophy__content {
  position: relative;
  z-index: 1;
  width: auto;
  min-height: 0;
  padding: 0;
}

/* タブレット・スマホ */
@media (max-width: 1050px) {
  .philosophy--rehab .philosophy__inner {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.rehab-message-title span {
  white-space: nowrap;
}

.rehab-message-title {
  margin: 0;
  color: #102c57;

  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;

  font-size: clamp(34px, 3.6vw, 62px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.rehab-message-title span {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .rehab-message-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.5;
  }

  .rehab-message-title span {
    white-space: normal;
  }
}

.rehab-message-title__line {
  white-space: nowrap;
}

.rehab-message-title__line strong {
  color: #079fa6;
  font-weight: inherit;
}

@media (max-width: 767px) {
  .rehab-message-title__line {
    white-space: normal;
  }
}

.safe-environment__footer {
  grid-template-columns: 1fr;
}

.safe-environment__support {
  width: 100%;
}

@media (max-width: 700px) {
  .safe-environment__support {
    flex-direction: column;
    gap: 12px;
    padding: 22px 18px;
    text-align: center;
  }

  .safe-environment__support p {
    text-align: center;
  }
}

.safe-environment__support {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 104px;
  margin: 0 auto;
  padding: 20px 42px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.safe-environment__support-logo {
  display: flex;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.safe-environment__support-logo img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.safe-environment__support p {
  width: auto;
  margin: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .safe-environment__support {
    width: 100%;
    padding: 22px 18px;
    flex-direction: column;
    gap: 12px;
  }

  .safe-environment__support-logo,
  .safe-environment__support p {
    margin-right: auto;
    margin-left: auto;
  }
}

/* ========================================
   デイケアでの一日・円とドットの装飾
======================================== */
.day-flow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 文章や写真を装飾より手前に表示 */
.day-flow > *:not(.day-flow__decor) {
  position: relative;
  z-index: 2;
}

.day-flow__decor {
  position: absolute;
  z-index: 0;
  top: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
}

/* ドット模様 */
.day-flow__decor::after {
  position: absolute;
  width: 205px;
  height: 150px;
  content: "";
  opacity: 0.48;
  background-image: radial-gradient(
    circle,
    #5bc9cf 0 3px,
    transparent 3.5px
  );
  background-size: 25px 25px;

  /* 下へ向かって自然に消す */
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.85) 50%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.85) 50%,
    transparent 100%
  );
}

/* 左上 */
.day-flow__decor--left {
  left: 0;
  transform: translate(-24%, -28%);
}

.day-flow__decor--left::after {
  top: 222px;
  left: 96px;
}

/* 右上 */
.day-flow__decor--right {
  right: 0;
  transform: translate(24%, -28%);
}

.day-flow__decor--right::after {
  top: 215px;
  right: 92px;
}

/* 共通の円 */
.day-flow__circle {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.day-flow__circle--large {
  top: 0;
  width: 310px;
  height: 310px;
  background: rgba(92, 190, 197, 0.13);
}

/* 小さい黄緑・ターコイズの円 */
.day-flow__circle--small {
  width: 142px;
  height: 142px;
}

/* 左側の配置 */
.day-flow__decor--left .day-flow__circle--large {
  left: 0;
}

.day-flow__decor--left .day-flow__circle--small {
  top: 137px;
  left: 215px;
  background: rgba(188, 220, 104, 0.25);
}

/* 右側の配置 */
.day-flow__decor--right .day-flow__circle--large {
  right: 0;
  background: rgba(111, 199, 197, 0.12);
}

.day-flow__decor--right .day-flow__circle--small {
  top: 132px;
  right: 220px;
  background: rgba(64, 190, 198, 0.2);
}

/* =================================
   施設概要
================================= */
.facility-info {
  padding: 100px 24px;
  background: #f4faf9;
}

.facility-info .section-inner {
  width: min(100%, 1000px);
  margin: 0 auto;
}

/* 小見出し */
.facility-info .section-label {
  margin: 0 0 12px;
  color: #109aa0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.12em;
}

/* メイン見出し */
.facility-info h2 {
  margin: 0 0 48px;
  color: #173d4d;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
  text-align: center;
}

/* 施設情報全体 */
.facility-info__list {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e8e6;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(18, 72, 77, 0.08);
}

/* 1行 */
.facility-info__list > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid #dfecea;
}

.facility-info__list > div:last-child {
  border-bottom: 0;
}

/* 項目名 */
.facility-info__list dt {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 22px 28px;
  color: #176f75;
  font-weight: 700;
  line-height: 1.7;
  background: #e8f5f3;
}

/* 内容 */
.facility-info__list dd {
  margin: 0;
  padding: 22px 30px;
  color: #334b55;
  line-height: 1.8;
  background: #fff;
}

/* 電話番号 */
.facility-info__list a {
  color: #087f86;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.facility-info__list a:hover {
  color: #075f65;
  text-decoration-thickness: 2px;
}

/* 補足 */
.facility-info__list small {
  display: inline-block;
  margin-top: 5px;
  color: #64777e;
  font-size: 13px;
  line-height: 1.7;
}

/* キーボード操作 */
.facility-info__list a:focus-visible {
  outline: 3px solid #f2c94c;
  outline-offset: 4px;
  border-radius: 3px;
}

/* =================================
   タブレット・スマートフォン
================================= */
@media (max-width: 767px) {
  .facility-info {
    padding: 64px 16px;
  }

  .facility-info h2 {
    margin-bottom: 30px;
  }

  .facility-info__list {
    border-radius: 12px;
  }

  .facility-info__list > div {
    display: block;
  }

  .facility-info__list dt {
    padding: 13px 18px;
    border-bottom: 1px solid #d7e8e6;
  }

  .facility-info__list dd {
    padding: 16px 18px 20px;
  }
}

.hero-label {
  color: #173d4d;
  font-weight: 700;
}

/* =================================
   控えめなスクロールアニメーション
   リハビリ紹介〜よくあるご質問
================================= */

/* JavaScriptが動作する場合だけ非表示にする */
.js-scroll-animation .care-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  will-change: opacity, transform;
}

/* 表示領域に入った状態 */
.js-scroll-animation .care-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 画像は少しゆっくり表示 */
.js-scroll-animation .care-reveal--image {
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.js-scroll-animation .care-reveal--image.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* カードを少しずつ順番に表示 */
.js-scroll-animation .care-delay-1 {
  transition-delay: 0.08s;
}

.js-scroll-animation .care-delay-2 {
  transition-delay: 0.16s;
}

.js-scroll-animation .care-delay-3 {
  transition-delay: 0.24s;
}

.js-scroll-animation .care-delay-4 {
  transition-delay: 0.32s;
}

.js-scroll-animation .care-delay-5 {
  transition-delay: 0.4s;
}

/* カードの控えめな反応 */
.rehabilitation-card,
.facility-service,
.event-card,
.usage-flow__item,
.faq-item {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .rehabilitation-card:hover,
  .facility-service:hover,
  .event-card:hover,
  .usage-flow__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(23, 61, 77, 0.1);
  }
}

/* FAQボタン */
.faq-question {
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .faq-question:hover {
    background-color: rgba(16, 154, 160, 0.06);
  }
}

/* 動きを苦手とする利用者への配慮 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-scroll-animation .care-reveal,
  .js-scroll-animation .care-reveal--image,
  .rehabilitation-card,
  .facility-service,
  .event-card,
  .usage-flow__item,
  .faq-item,
  .faq-question {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* スマホ：一日の流れの装飾が文字に重ならないようにする */
@media (max-width: 700px) {
  .day-flow__decor {
    display: none;
  }

  .day-flow::before,
  .day-flow::after {
    opacity: 0.35;
  }

  .day-flow__label,
  .day-flow__title,
  .day-flow__lead {
    position: relative;
    z-index: 3;
  }
}

/* フッターメニュー */
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
  gap: 12px 28px;
}

.footer-nav a {
  display: inline-block;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* スマホでは縦並び */
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .footer-nav a {
    padding: 3px 10px;
  }
}

/* スマホでは「私たちが目指すデイケア」の画像を非表示 */
@media screen and (max-width: 767px) {
  .philosophy--rehab .philosophy__photo {
    display: none !important;
  }
}

/* スマホもパソコンと同じ建物画像にする */
@media (max-width: 720px) {
  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(246, 253, 253, 0) 0%,
        rgba(246, 253, 253, 0.08) 70%,
        #eefafa 100%
      ),
      url("./assets/hero-daycare-building.png") center center / cover no-repeat;
  }
}

/* スマホだけ今回の建物画像にする */
@media (max-width: 720px) {
  .hero::before {
    display: block;
    width: 100%;
    height: clamp(250px, 70vw, 320px);
    content: "";

    background-image:
      linear-gradient(
        180deg,
        transparent 0%,
        transparent 78%,
        #eefafa 100%
      ),
      url("./assets/hero-daycare-building-mobile.png");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}

@media (max-width: 720px) {
  .news-bar {
    padding: 22px 20px;
    text-align: left;
  }
}

/* スマホでは和室のカードを非表示 */
@media (max-width: 720px) {
  .facility-service--washitsu {
    display: none !important;
  }
}

/* リハビリ紹介へのリンクを分かりやすいボタンに */
.philosophy__link-wrap {
  margin-top: 34px;
  text-align: center;
}

.philosophy__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 60px;
  padding: 12px 18px 12px 26px;

  color: #087f86;
  background: #ffffff;
  border: 2px solid #12a8ae;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(8, 127, 134, 0.12);

  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 800;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* 右側の丸い矢印 */
.philosophy__link span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex-shrink: 0;

  color: #ffffff;
  background: #12a8ae;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

/* パソコンでマウスを乗せたとき */
.philosophy__link:hover,
.philosophy__link:focus-visible {
  gap: 18px;
  color: #087f86;
  background: #f1fbfb;
  box-shadow: 0 12px 26px rgba(8, 127, 134, 0.2);
  transform: translateY(-2px);
  outline: none;
}

/* スマホ */
@media (max-width: 720px) {
  .philosophy__link-wrap {
    margin-top: 28px;
    text-align: center;
  }

  .philosophy__link {
    width: 100%;
    max-width: 340px;
    min-height: 62px;
    padding: 11px 12px 11px 20px;
    font-size: 16px;
  }
}

/* ===================================
   デイケアとデイサービスの違い
=================================== */

.service-difference {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 100px;
  background: linear-gradient(
    180deg,
    #f5fbfc 0%,
    #eaf8fa 100%
  );
}

/* 背景の丸い装飾 */
.service-difference::before,
.service-difference::after {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(19, 155, 161, 0.07);
  content: "";
}

.service-difference::before {
  top: -170px;
  left: -110px;
}

.service-difference::after {
  right: -150px;
  bottom: -190px;
}

.difference__inner {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
}

/* 見出し */
.difference__heading {
  margin-bottom: 44px;
  text-align: center;
}

.difference__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--teal-dark, #08757c);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.difference__label::before,
.difference__label::after {
  width: 26px;
  height: 1px;
  background: var(--teal, #139ba1);
  content: "";
}

.difference__title {
  margin: 0;
  color: var(--deep, #123844);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.difference__title span {
  color: var(--teal, #139ba1);
}

.difference__lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--text, #31535d);
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
}

/* 比較カード */
.difference__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.difference-card {
  overflow: hidden;
  border: 1px solid var(--line, #d5e9ec);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(22, 86, 98, 0.12);
}

.difference-card--care {
  border: 2px solid var(--teal, #139ba1);
}

.difference-card__head {
  padding: 25px 26px 22px;
  text-align: center;
  background: #f5f8f8;
}

.difference-card--care .difference-card__head {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--teal, #139ba1),
    var(--teal-dark, #08757c)
  );
}

.difference-card__name {
  margin: 0;
  color: var(--deep, #123844);
  font-size: 26px;
  line-height: 1.4;
}

.difference-card--care .difference-card__name {
  color: #fff;
}

.difference-card__formal {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.82;
}

.difference-card__body {
  padding: 27px 30px 30px;
}

.difference-card__purpose {
  margin: 0 0 20px;
  color: var(--deep, #123844);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.difference-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.difference-card__list li {
  position: relative;
  padding: 12px 0 12px 31px;
  border-top: 1px dashed var(--line, #d5e9ec);
}

.difference-card__list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal, #139ba1);
  font-size: 12px;
  content: "✓";
}

.difference-card--service
.difference-card__list li::before {
  background: #7e969c;
}

/* デイケアがおすすめの方 */
.difference__guide {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: 28px 34px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 86, 98, 0.09);
}

.difference__guide-title {
  margin: 0;
  color: var(--teal-dark, #08757c);
  font-size: 21px;
  line-height: 1.5;
}

.difference__guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.difference__guide-list li {
  position: relative;
  padding-left: 19px;
}

.difference__guide-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal, #139ba1);
  font-size: 9px;
  content: "●";
}

/* 案内文 */
.difference__note {
  margin: 26px auto 0;
  text-align: center;
}

.difference__note strong {
  color: var(--deep, #123844);
}

/* 相談ボタン */
.difference__button {
  display: flex;
  width: min(390px, 100%);
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 26px auto 0;
  border-radius: 999px;
  color: #fff;
  background: var(--teal-dark, #08757c);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(8, 117, 124, 0.22);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.difference__button:hover,
.difference__button:focus-visible {
  background: var(--teal, #139ba1);
  box-shadow: 0 16px 30px rgba(8, 117, 124, 0.28);
  transform: translateY(-2px);
}

/* スマホ表示 */
@media (max-width: 720px) {
  .service-difference {
    padding: 68px 18px 76px;
  }

  .difference__heading {
    margin-bottom: 32px;
  }

  .difference__title {
    font-size: 29px;
  }

  .difference__lead {
    text-align: left;
  }

  .difference__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .difference-card__head {
    padding: 21px 18px 18px;
  }

  .difference-card__name {
    font-size: 23px;
  }

  .difference-card__body {
    padding: 23px 22px 25px;
  }

  .difference__guide {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 22px;
  }

  .difference__guide-title {
    text-align: center;
  }

  .difference__guide-list {
    grid-template-columns: 1fr;
  }

  .difference__note {
    text-align: left;
  }

  .difference__button {
    min-height: 60px;
    padding: 10px 18px;
    font-size: 16px;
    text-align: center;
  }
  .difference__lead {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.9;
    text-align: left;
  }
}

/* クリックできる浴槽画像 */
.bath-zoom-image {
  cursor: zoom-in;
}

/* 拡大表示の背景 */
.image-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 30px 30px;
  background: rgba(5, 28, 34, 0.92);
}

/* 表示中 */
.image-modal.is-open {
  display: flex;
}

/* 拡大した写真 */
.image-modal__photo {
  display: block;
  width: auto;
  max-width: 95vw;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* 閉じるボタン */
.image-modal__close {
  position: absolute;
  top: 15px;
  right: 24px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 34px;
  line-height: 46px;
  cursor: pointer;
}

/* 画像にカーソルを合わせたとき */
.bath-zoom-image:hover {
  opacity: 0.92;
}

/* スマホ */
@media (max-width: 720px) {
  .image-modal {
    padding: 65px 12px 20px;
  }

  .image-modal__photo {
    max-width: 100%;
    max-height: 85vh;
  }

  .image-modal__close {
    top: 12px;
    right: 14px;
  }
}

.facility-bath__zoom-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: #08757c;
  font-size: 14px;
  font-weight: 600;
}

/* スマホでは案内を表示しない */
@media (max-width: 720px) {
  .facility-bath__zoom-note {
    display: none;
  }
}

@media (max-width: 720px) {
  .bath-zoom-image {
    cursor: default;
  }
}

/* ケアマネジャーについての案内 */
.usage-flow__caremanager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1050px;
  margin: 34px auto 0;
}

.usage-flow__caremanager p {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid #d5e9ec;
  border-left: 5px solid #139ba1;
  border-radius: 12px;
  background: #f4fbfc;
  color: #31535d;
  font-size: 16px;
  line-height: 1.8;
}

.usage-flow__caremanager strong {
  display: block;
  margin-bottom: 6px;
  color: #123844;
  font-size: 18px;
  font-weight: 700;
}

.usage-flow__caremanager span {
  display: block;
}

/* スマホ */
@media (max-width: 720px) {
  .usage-flow__caremanager {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .usage-flow__caremanager p {
    padding: 18px 17px;
    font-size: 15px;
  }

  .usage-flow__caremanager strong {
    font-size: 17px;
  }
}

/* 各セクションの大見出しを統一 */
.usage-flow__title,
.faq-heading__title,
.facility-info h2,
.contact-cta h2 {
  font-family:
    "Yu Mincho",
    "游明朝",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-weight: 700;
}

/* 藤岡整形外科クリニックへのリンク */
.clinic-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid #139ba1;
  border-radius: 999px;
  color: #08757c;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.clinic-site-link:hover,
.clinic-site-link:focus-visible {
  color: #ffffff;
  background: #139ba1;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .clinic-site-link {
    width: 100%;
    justify-content: center;
    padding: 13px 12px;
    font-size: 14px;
    text-align: center;
  }
}

/* 藤岡整形外科クリニックへのリンク */
.clinic-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid #139ba1;
  border-radius: 999px;
  color: #08757c;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.clinic-site-link:hover,
.clinic-site-link:focus-visible {
  color: #ffffff;
  background: #139ba1;
  transform: translateY(-2px);
}

/* スマホ表示 */
@media (max-width: 720px) {
  .clinic-site-link {
    display: flex;
    width: 100%;
    max-width: 340px;
    margin: 18px auto 0;
    padding: 14px 10px;
    font-size: 14px;
    box-sizing: border-box;
  }
}

/* トップのキャッチコピーの伸びる線を消す */
.hero-accent {
  background: none;
  animation: none;
}

.simulation-start-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.simulation-start-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 35%;
  height: 200%;
  pointer-events: none;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
}

.simulation-start-button.is-shining::after {
  animation: button-shine 0.9s ease-out 1;
}

@keyframes button-shine {
  from {
    left: -70%;
  }

  to {
    left: 135%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .simulation-start-button.is-shining::after {
    animation: none;
  }
}

.clinic-site-link.simulation-start-button::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(19, 155, 161, 0.38),
    transparent
  );
}

/* トップ見出しの伸びる下線を非表示 */
.hero-accent {
  background: none !important;
  background-image: none !important;
  animation: none !important;
}