:root {
  --green: #168647;
  --green-dark: #0d6736;
  --green-soft: #eaf7ef;
  --mint: #f4fbf6;
  --ink: #1f3328;
  --muted: #5c6b61;
  --line: #dfe9e2;
  --shadow: 0 16px 42px rgba(17, 86, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  letter-spacing: 0;
}

.pill-effect-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.94;
}

.pill-effect-interacting,
.pill-effect-interacting * {
  user-select: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 84px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
  color: var(--green);
  font-size: 29px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 46px;
  color: var(--green);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header-pills {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 14px;
}

.header-pills a {
  min-width: 142px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #163f27;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-right: -24px;
  align-self: stretch;
}

.tel {
  display: grid;
  place-content: center;
  color: var(--green);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 23px;
  font-weight: 800;
  white-space: nowrap;
}

.tel::before {
  content: "平日 9:30〜18:00 / 水 15:30〜18:00 / 土 9:30〜13:00";
  display: block;
  margin-top: 4px;
  color: #333;
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.line-mini {
  display: grid;
  place-content: center;
  min-width: 180px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #26b35e, #117a3d);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 36%) 1fr;
  min-height: 560px;
  overflow: hidden;
  background: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(255,255,255,0.88), rgba(255,255,255,0));
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 430px;
  padding: 84px 12px 78px 50px;
}

.lead {
  margin: 0 0 16px;
  color: #111;
  font-size: 31px;
  line-height: 1.5;
  font-weight: 700;
}

h1 {
  margin: 0 0 28px;
  color: var(--green);
  font-size: clamp(48px, 4.8vw, 68px);
  line-height: 1.08;
  font-weight: 800;
}

.hero-text {
  max-width: 390px;
  margin: 0 0 34px;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}

.facility-recruit-cta {
  display: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.facility-recruit-cta img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(14, 104, 53, 0.2));
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.button small {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
}

.button-line {
  color: #fff;
  background: linear-gradient(135deg, #1db15f, #0c743a);
}

.button-outline {
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  box-shadow: none;
}

.line-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  background: #fff;
  border-radius: 50%;
  font-size: 11px;
}

.mail-icon {
  width: 31px;
  height: 21px;
  border: 2px solid var(--green);
  border-radius: 2px;
  background:
    linear-gradient(35deg, transparent 48%, var(--green) 50%, transparent 52%) left / 50% 100% no-repeat,
    linear-gradient(-35deg, transparent 48%, var(--green) 50%, transparent 52%) right / 50% 100% no-repeat;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.94) 26%, rgba(255,255,255,0.16) 36%, rgba(255,255,255,0) 43%),
    url("./assets/store-cmd.jpeg") right center / auto 100% no-repeat;
  background-color: #fff;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 34px;
}

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

.section-title h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 800;
}

.section-title span {
  display: block;
  width: 54px;
  height: 16px;
  margin: 8px auto 24px;
  background: radial-gradient(circle at 20% 50%, var(--green) 0 5px, transparent 6px), radial-gradient(circle at 52% 50%, var(--green) 0 5px, transparent 6px);
}

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

.feature-card,
.service-grid article {
  min-width: 0;
  padding: 28px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 73, 43, 0.08);
  text-align: center;
}

.feature-card h3,
.service-grid h3 {
  margin: 14px 0 12px;
  color: var(--green);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.feature-card p,
.service-grid p {
  min-height: 66px;
  margin: 0 0 18px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

.icon {
  display: inline-block;
  width: 72px;
  height: 72px;
  color: var(--green);
  background: currentColor;
}

.icon-japan {
  clip-path: polygon(70% 0,78% 8%,73% 16%,86% 22%,76% 30%,83% 40%,68% 43%,61% 52%,50% 48%,43% 59%,29% 62%,32% 74%,18% 82%,10% 96%,3% 89%,12% 72%,26% 66%,22% 55%,36% 49%,45% 37%,59% 33%,54% 20%,65% 15%);
}

.icon-home {
  clip-path: polygon(50% 6%,92% 43%,80% 43%,80% 92%,20% 92%,20% 43%,8% 43%);
}

.icon-building {
  clip-path: polygon(20% 8%,80% 8%,80% 92%,20% 92%);
  background:
    linear-gradient(var(--green), var(--green)),
    repeating-linear-gradient(90deg, transparent 0 18px, #fff 18px 28px);
}

.icon-online {
  border: 5px solid var(--green);
  border-radius: 5px;
  background: transparent;
  position: relative;
}

.icon-online::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  background: var(--green);
}

.icon-truck {
  clip-path: polygon(8% 30%,58% 30%,58% 70%,68% 70%,68% 45%,82% 45%,94% 58%,94% 70%,86% 70%,82% 82%,73% 82%,69% 70%,34% 70%,30% 82%,21% 82%,17% 70%,8% 70%);
}

.icon-heart {
  clip-path: path("M36 64 C8 42 5 20 23 13 C33 9 42 15 48 25 C54 15 63 9 73 13 C91 20 88 42 60 64 L48 76 Z");
}

.photo,
.mini-visual {
  height: 170px;
  border-radius: 6px;
  background: var(--green-soft);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.photo-prescription {
  background-image: url("./assets/feature-prescription.png");
}

.photo-consult {
  background-image: url("./assets/feature-homecare.png");
}

.photo-staff {
  background-image: url("./assets/feature-facility.png");
}

.photo-online {
  background-image: url("./assets/feature-online.png");
}

.photo-prescription::after,
.calendar-visual::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 106px auto 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 28px -8px 0 #f2f6ef, -28px 2px 0 #e9efe8;
}

.support-visual,
.visit-visual {
  position: relative;
  background: linear-gradient(135deg, #f7fbf8, #dcefe4);
}

.photo-consult::before,
.photo-staff::before,
.photo-online::before,
.support-visual::before,
.visit-visual::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 18px;
  width: 62px;
  height: 98px;
  border-radius: 34px 34px 8px 8px;
  background: linear-gradient(#1d2420 0 22px, #f3d1bd 22px 42px, #fff 42px 100%);
  box-shadow: 74px 8px 0 -3px #e8f0ed;
}

.photo-consult::after,
.photo-staff::after,
.photo-online::after,
.support-visual::after,
.visit-visual::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 70px;
  height: 88px;
  border-radius: 32px 32px 8px 8px;
  background: linear-gradient(#202625 0 18px, #f0c6ad 18px 42px, #48636f 42px 100%);
}

.photo-online::after {
  right: 58px;
  background: linear-gradient(#201b1b 0 20px, #f4c7ad 20px 43px, #fff 43px 100%);
}

.photo-prescription::after,
.photo-consult::before,
.photo-consult::after,
.photo-staff::before,
.photo-staff::after,
.photo-online::before,
.photo-online::after {
  content: none;
  display: none;
}

.service-band {
  max-width: 1130px;
  margin: 26px auto 52px;
  padding: 32px 24px 42px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, #fff 0, #fff 30%, #eff9f2 100%);
}

.service-grid article {
  padding-top: 22px;
}

.mini-visual {
  height: 140px;
}

.calendar-visual {
  position: relative;
  background-image: url("./assets/service-calendar.png");
}

.box-visual {
  background-image: url("./assets/service-delivery.png");
}

.box-visual::after {
  content: none;
}

.support-visual {
  background-image: url("./assets/service-support.png");
}

.visit-visual {
  background-image: url("./assets/service-visit.png");
}

.calendar-visual::after,
.support-visual::before,
.support-visual::after,
.visit-visual::before,
.visit-visual::after {
  content: none;
  display: none;
}

.line-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px 230px;
  gap: 28px;
  align-items: center;
  max-width: 1130px;
  margin: 0 auto 52px;
  padding: 38px 48px;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
  background:
    radial-gradient(circle at 70% 0, rgba(248, 246, 92, 0.45), transparent 22%),
    linear-gradient(135deg, #0b8a49, #4dbc55 50%, #0c793f);
}

.line-section h2 {
  margin: 0 0 8px;
  font-size: 35px;
}

.line-section p {
  margin: 0 0 30px;
  font-size: 18px;
  font-weight: 700;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.flow li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -19px;
  width: 14px;
  height: 14px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(45deg);
}

.flow span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 10px;
  color: var(--green);
  background: #fff;
  font-size: 20px;
}

.phone-card {
  position: relative;
  width: 150px;
  height: 260px;
  margin: 0 auto;
  border: 8px solid #141414;
  border-radius: 28px;
  background: linear-gradient(145deg, #17b65d, #0b753b);
  transform: rotate(12deg);
  box-shadow: 0 22px 36px rgba(0,0,0,0.25);
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 54px;
  height: 8px;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
}

.phone-screen {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.qr-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 9px;
  color: var(--green);
  background: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 800;
}

.qr {
  width: 96px;
  height: 96px;
  background: #fff url("./assets/line-qr.png") center / cover no-repeat;
  border: 4px solid #fff;
  outline: 2px solid #111;
}

.facility-cta {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  align-items: center;
  max-width: 1130px;
  margin: 0 auto 44px;
  padding: 50px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff 0%, #fff8ed 52%, #eff8f1 100%);
  box-shadow: 0 8px 24px rgba(16, 68, 40, 0.09);
}

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

.facility-cta h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 37px;
}

.facility-cta p,
.check-list {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
}

.facility-photo {
  position: relative;
  height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background: url("./assets/facility-handshake.png") center / cover no-repeat;
  box-shadow: 0 14px 28px rgba(16, 68, 40, 0.12);
}

.facility-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.doctor,
.care-worker {
  display: none;
}

.doctor {
  left: 70px;
}

.doctor::after {
  content: "";
  position: absolute;
  left: 58px;
  top: 90px;
  width: 7px;
  height: 76px;
  background: var(--green);
}

.care-worker {
  right: 58px;
  height: 235px;
  width: 128px;
  background: linear-gradient(#161616 0 30px, #efc0a8 30px 66px, #1d3f5b 66px 100%);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1130px;
  margin: 0 auto 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 68, 40, 0.09);
}

.summary-strip div {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.summary-strip div:last-child {
  border-right: 0;
}

.summary-strip .icon {
  width: 48px;
  height: 48px;
}

.summary-strip strong {
  color: var(--green);
  font-size: 15px;
}

.summary-strip small {
  font-size: 12px;
  line-height: 1.5;
}

.mail-form-section {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 34px 24px 44px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7fcf8, #fff);
  box-shadow: 0 8px 24px rgba(16, 68, 40, 0.08);
}

.mail-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.mail-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.mail-form input,
.mail-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfded4;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.mail-form textarea {
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-submit {
  justify-self: start;
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
}

.mail-fallback {
  justify-self: start;
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  gap: 44px;
  align-items: center;
  padding: 48px max(24px, calc((100vw - 1130px) / 2)) 54px;
  background:
    radial-gradient(circle at right 70%, rgba(128, 191, 112, 0.2), transparent 16%),
    linear-gradient(90deg, #fbfdfb, #f6faf6);
}

.contact-section h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 26px;
}

.contact-section p,
.contact-section dl {
  margin: 10px 0;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.contact-section dl div {
  display: flex;
  gap: 18px;
}

.map-panel {
  overflow: hidden;
  height: 170px;
  border: 1px solid #cbd9d0;
  border-radius: 5px;
  background: #eef3ed;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: #fff;
  background: var(--green);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  .pill-effect-canvas {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 18px;
  }

  .header-pills {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .header-contact {
    margin-left: auto;
    margin-right: -18px;
  }

  .line-mini {
    min-width: 150px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 720px;
  }

  .hero-copy {
    padding: 78px 24px 300px;
  }

  .hero-image {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.74) 30%, rgba(255,255,255,0.08) 54%),
      url("./assets/store-cmd.jpeg") right bottom / auto 62% no-repeat;
  }

  .feature-grid,
  .service-grid,
  .summary-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .line-section,
  .facility-cta,
  .mail-form-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .phone-card {
    display: none;
  }

  .summary-strip div {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 12px 16px 14px;
    overflow: hidden;
  }

  .brand {
    justify-self: start;
    min-width: 0;
    font-size: 24px;
  }

  .brand-mark {
    width: 48px;
    height: 40px;
  }

  .header-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 0;
    align-self: auto;
  }

  .tel,
  .line-mini {
    width: 100%;
    font-size: 16px;
  }

  .tel {
    display: block;
    padding: 8px 0 2px;
    line-height: 1.1;
    text-align: left;
  }

  .tel::before {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
  }

  .line-mini {
    min-height: 48px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 4px;
    font-size: 16px;
  }

  .header-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    order: 3;
    width: 100%;
    overflow: visible;
    max-height: 98px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      transform 220ms ease,
      visibility 0ms linear 0ms;
  }

  .header-pills a {
    min-width: 0;
    padding: 11px 10px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .header-pills a:nth-child(3) {
    grid-column: 1 / -1;
  }

  .mobile-pills-hidden .header-pills {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      transform 220ms ease,
      visibility 0ms linear 220ms;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    display: block;
    max-width: none;
    padding: 44px 20px 500px;
    background: linear-gradient(to bottom, #fff 0 435px, transparent 435px);
  }

  .hero-copy > :not(.hero-actions, .facility-recruit-cta) {
    position: relative;
    z-index: 4;
  }

  .hero {
    min-height: 885px;
    background: #fff;
  }

  .hero::after {
    height: 78px;
  }

  .hero-image {
    top: 435px;
    z-index: 3;
    height: 450px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 72%, rgba(255,255,255,0.82) 100%),
      url("./assets/store-cmd.jpeg") 72% center / cover no-repeat;
    background-color: #fff;
  }

  .lead {
    font-size: 23px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-text {
    font-size: 15px;
  }

  .facility-recruit-cta {
    position: absolute;
    top: 282px;
    left: 50%;
    z-index: 5;
    display: block;
    width: min(330px, calc(100% - 40px));
    height: auto;
    margin: 0;
    transform: translateX(-50%);
    transition: transform 160ms ease, filter 160ms ease;
  }

  .facility-recruit-cta:active {
    filter: brightness(0.96);
    transform: translateX(-50%) scale(0.96);
  }

  .hero-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 48px;
    z-index: 4;
    display: block;
    width: 100%;
    height: 150px;
    pointer-events: none;
  }

  .hero-actions .button {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 86px;
    height: 86px;
    min-height: 0;
    padding: 9px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    pointer-events: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }

  .hero-actions .button small {
    display: none;
  }

  .hero-actions .button-line {
    left: 42px;
    bottom: 6px;
    font-size: 0;
  }

  .hero-actions .button-outline {
    right: 44px;
    bottom: 6px;
    border: 2px solid var(--green);
    background: rgba(255, 255, 255, 0.96);
    font-size: 0;
  }

  .hero-actions .button-line::after {
    content: "LINE\A送信";
    white-space: pre;
    font-size: 12px;
  }

  .hero-actions .button-outline::after {
    content: "相談";
    font-size: 13px;
  }

  .hero-actions .line-dot {
    width: 34px;
    height: 34px;
    font-size: 9px;
  }

  .hero-actions .mail-icon {
    width: 32px;
    height: 22px;
  }

  .feature-grid,
  .service-grid,
  .summary-strip,
  .mail-form {
    grid-template-columns: 1fr;
  }

  .line-section,
  .facility-cta {
    margin-left: 16px;
    margin-right: 16px;
    padding: 28px 20px;
  }

  .line-section h2,
  .facility-cta h2 {
    font-size: 28px;
  }

  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .flow li {
    gap: 6px;
    min-width: 0;
  }

  .flow li:not(:last-child)::after {
    display: none;
  }

  .flow span {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    font-size: 18px;
  }

  .qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .qr {
    width: min(260px, 72vw);
    height: min(260px, 72vw);
  }

  .facility-photo {
    height: 250px;
    transform: none;
  }

  .contact-section {
    gap: 28px;
  }
}
