@charset "utf-8";
/* トップのメインビジュアル
 * 編集先の案内: ../CSS_MAINTENANCE.md
 * 各章の順序はカスケードを維持するため固定。日付・改修番号のCSSを追加しない。
 */

/* ===== SECTION 01 | 移行元: fv.css ===== */
/* REV20：女性の場面を切り替え、設備写真を下部の固定帯に整理。 */
.page-top .hero.hero-world {
  margin-right: 0;
  padding: 0;
  background: #f4f8fc;
}

.hero-world .hero-world-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  width: min(1200px, calc(100% - 64px));
  gap: 40px;
  align-items: center;
  margin-inline: auto;
  padding: 36px 0 42px;
}

.hero-world .hero-copy {
  padding: 0;
  min-width: 0;
  order: 1;
}

.hero-world h1 {
  font-size: clamp(28px, 2.65vw, 40px);
  line-height: 1.6;
}

.hero-world .audience {
  font-size: 13px;
  margin-bottom: 22px;
}

.hero-world .hero-lead {
  font-size: 15px;
  line-height: 1.9;
}

.hero-world .hero-price strong {
  font-size: 60px;
}

.hero-world .hero-world-visual {
  display: block;
  position: relative;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  align-self: center;
  order: 2;
}

.hero-world .hero-world-visual::before {
  display: none;
}

.hero-transition {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  overflow: hidden;
  border-radius: 20px;
}

.hero-transition img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 52% center;
  border-radius: 0;
}

.hero-transition .hero-after {
  z-index: 1;
  object-position: 53% center;
}

.hero-transition.is-waiting .hero-after,
.hero-transition.is-wiping .hero-after {
  -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 65%);
  mask-image: linear-gradient(to right, #000 45%, transparent 65%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
}

.hero-transition.is-wiping .hero-after {
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  transition: mask-position var(--hero-wipe-duration, 1100ms) cubic-bezier(.25, .1, .25, 1), -webkit-mask-position var(--hero-wipe-duration, 1100ms) cubic-bezier(.25, .1, .25, 1);
}

.hero-transition.is-complete .hero-before {
  visibility: hidden;
}

.hero-transition.is-static-before .hero-after {
  display: none;
}

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

.hero-world .hero-equipment {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 2.05;
}

.hero-world .hero-equipment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-world .hero-equipment.faucet img {
  object-position: 74% center;
}

.hero-world .hero-equipment span {
  position: absolute;
  inset: auto 0 0;
  padding: 9px 6px 4px;
  background: linear-gradient(transparent, #17394cbb);
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

/* 特典をカードから画面幅いっぱいの帯へ。条件は帯の内側で読める幅に保つ。 */
.hero-world .hero-world-benefit-wrap {
  width: 100%;
  margin: 0;
  padding: 26px 0;
  background: #fff2ce;
}

.hero-world .hero-phone-benefit {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-world .hero-phone-benefit h2 {
  font-size: 22px;
  line-height: 1.7;
}

.hero-world .hero-benefit-note {
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {

  .hero-transition.is-waiting .hero-after,
  .hero-transition.is-wiping .hero-after {
    -webkit-mask-image: none;
    mask-image: none;
    transition: none;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-world .hero-world-grid {
    width: calc(100% - 48px);
    gap: 24px;
  }

  .hero-world h1 {
    font-size: 28px;
  }

  .hero-world .hero-lead {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .hero-world .hero-world-grid {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 48px));
    gap: 24px;
    padding-block: 32px 36px;
  }

  .hero-world .hero-copy {
    width: 100%;
  }

  .hero-world h1 {
    font-size: clamp(28px, 4.5vw, 38px);
  }

  .hero-world .hero-world-visual {
    width: min(520px, 100%);
  }

  .hero-world .hero-phone-benefit {
    width: calc(100% - 48px);
  }
}

@media (max-width: 600px) {
  .hero-world .hero-world-grid {
    width: calc(100% - 40px);
    padding-top: 28px;
  }

  .hero-world .audience {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .hero-world h1 {
    font-size: clamp(23px, 6.35vw, 34px);
  }

  .hero-world .hero-lead {
    font-size: 14px;
    margin-top: 18px;
  }

  .hero-world .hero-lead br {
    display: none;
  }

  .hero-world .hero-price strong {
    font-size: 54px;
  }

  .hero-world .hero-world-visual {
    padding: 0;
  }

  .hero-transition {
    border-radius: 14px;
  }

  .hero-equipment-strip {
    gap: 8px;
    margin-top: 8px;
  }

  .hero-world .hero-equipment {
    aspect-ratio: 1.9;
    border-radius: 6px;
  }

  .hero-world .hero-world-benefit-wrap {
    padding-block: 24px;
  }

  .hero-world .hero-phone-benefit {
    width: calc(100% - 40px);
  }

  .hero-world .hero-phone-benefit h2 {
    font-size: 19px;
  }
}