/* 添付デザインの構図：左にコピー、中央に介護シーン、右に実画面 */
.hero {
  --hero-care-image: url('/manus-storage/async-images/tPZGj7wzyg2eFy0RZlwbUM/image-1.webp');
  background: #f5faff;
}
.hero::before { content: none; }
.hero-backdrop {
  inset: 0;
  opacity: 1;
  background-image: var(--hero-care-image);
  background-size: cover;
  background-position: center 46%;
}
.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,253,255,.98) 0%, rgba(250,253,255,.94) 26%, rgba(250,253,255,.66) 34%, rgba(250,253,255,0) 43%);
}
.hero-inner {
  min-height: 530px;
  grid-template-columns: 38% 62%;
  padding-top: 30px;
  padding-bottom: 28px;
}
.hero-copy { align-self: center; }
.hero-eyebrow { font-size: 11px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(48px, 4.8vw, 64px); line-height: 1.28; }
.hero h1 span { white-space: nowrap; }
.hero-lead { font-size: 14px; margin-top: 18px; }
.hero-actions { width: 320px; margin-top: 23px; gap: 12px; }
.hero-actions .button { min-height: 52px; font-size: 14px; padding-inline: 22px; }
.hero-note { font-size: 10px; margin-top: 16px; }
.hero-note > span { font-size: 9px; }
.hero-care-mobile { display: none; }
.hero-visual {
  z-index: 3;
  align-self: end;
  width: 65%;
  margin: 0 -36px 0 auto;
  padding: 0;
  gap: 22px;
}
.hero-message {
  position: static;
  width: fit-content;
  max-width: 100%;
  align-self: center;
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: .08em;
  transform: rotate(-5deg);
  transform-origin: bottom left;
}
.hero-message > span { margin-left: 12px; font-size: 16px; }
.hero-device-link { width: 100%; }
.hero-devices {
  width: 100%;
  height: auto;
  transform: perspective(1000px) rotateY(-7deg) rotateZ(-2deg);
  transform-origin: center;
  filter: drop-shadow(0 16px 15px rgba(13,36,67,.2));
}
.actual-screen-label {
  position: static;
  align-self: flex-end;
  max-width: 100%;
  margin: 0 10px 0 0;
  flex-wrap: wrap;
  font-size: 9px;
  padding: 5px 10px;
}
.actual-screen-label small {
  font-size: 8px;
  color: #76879a;
  border-left: 1px solid #d9e3ef;
  padding-left: 7px;
}
@media (min-width: 1600px) {
  .hero-inner { min-height: 550px; }
  .hero h1 { font-size: 64px; }
}
@media (max-width: 1180px) {
  .hero-inner { min-height: 490px; }
  .hero h1 { font-size: clamp(42px, 4.65vw, 56px); }
  .hero-eyebrow { font-size: 10px; }
  .hero-lead { font-size: 13px; }
  .hero-actions { width: 290px; }
  .hero-actions .button { font-size: 13px; min-height: 50px; padding-inline: 18px; }
  .hero-visual { width: 67%; margin-right: -18px; gap: 18px; }
  .hero-message { font-size: 18px; }
  .hero-message > span { font-size: 14px; }
  .actual-screen-label { font-size: 8px; margin-right: 0; }
  .actual-screen-label small { font-size: 7px; }
}
@media (max-width: 960px) {
  .hero-inner { min-height: 450px; grid-template-columns: 39% 61%; padding-block: 28px; }
  .hero h1 { font-size: clamp(36px, 4.7vw, 45px); }
  .hero-eyebrow { font-size: 9px; }
  .hero-lead { font-size: 12px; }
  .hero-actions { width: 265px; }
  .hero-actions .button { font-size: 12px; padding-inline: 15px; min-height: 47px; }
  .hero-visual { width: 72%; margin-right: -12px; gap: 17px; }
  .hero-message { font-size: 15px; }
  .hero-message > span { font-size: 12px; margin-left: 8px; }
  .hero-note { font-size: 9px; }
  .hero-note > span { font-size: 8px; }
  .actual-screen-label small { flex-basis: 100%; border-left: 0; padding-left: 12px; }
}
@media (max-width: 720px) {
  .hero { background: linear-gradient(180deg, #f9fcff 0%, #f0f7ff 100%); }
  .hero-backdrop { display: none; }
  .hero-inner { display: flex; flex-direction: column; min-height: 0; padding-block: 30px 22px; }
  .hero-copy { width: 100%; text-align: center; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); line-height: 1.25; margin-left: 0; }
  .hero-lead { font-size: 13px; margin-top: 16px; }
  .hero-actions { width: 346px; margin: 22px auto 0; gap: 12px; }
  .hero-actions .button { min-height: 52px; font-size: 14px; padding-inline: 22px; }
  .hero-note { font-size: 10px; margin-top: 14px; }
  .hero-note > span { font-size: 9px; margin-left: 0; }
  .hero-care-mobile {
    display: block;
    flex: 0 0 auto;
    width: calc(100% + 36px);
    aspect-ratio: 16 / 9;
    margin: 23px -18px 0;
    background-image: var(--hero-care-image);
    background-size: cover;
    background-position: center 43%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
  }
  .hero-visual { width: min(340px, 83%); align-self: flex-end; margin: -34px 0 0 auto; gap: 17px; }
  .hero-message { margin: 0 0 4px; font-size: 14px; line-height: 1.7; }
  .hero-message > span { font-size: 11px; margin-left: 6px; }
  .hero-devices { transform: rotate(-2deg); max-height: none; }
  .actual-screen-label { margin-right: 0; font-size: 8px; padding: 4px 9px; }
  .actual-screen-label small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-device-link { transition: none; }
  .hero-device-link:hover { transform: none; }
}
