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

/* ===== SECTION 01 | 移行元: story-hero.css ===== */
/* REV21：STORY冒頭のみ。背景は採用PNG、見出し・本文はHTML。 */
.story-page .story-hero-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  width: 100%;
  height: clamp(420px, 34vw, 560px);
  padding: 0;
  overflow: hidden;
  background: #e9f3f9;
  color: #17384b;
}

.story-page .story-hero-banner .story-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 0;
}

.story-page .story-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 写真全体の濃さを保ち、見出しと重なる五徳だけをやわらげる。 */
  background:
    radial-gradient(ellipse clamp(380px, 54vw, 650px) clamp(190px, 40vw, 265px) at 49% 52%,
      rgb(255 255 255 / 68%) 0% 36%, rgb(255 255 255 / 49%) 60%, transparent 100%),
    linear-gradient(90deg, transparent 8%, #ffffff24 23%, #ffffff52 43%, #ffffff52 57%, #ffffff24 77%, transparent 92%);
}

.story-page .story-hero-banner .story-hero-message {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
  margin-inline: auto;
  padding: 48px 24px;
  text-align: center;
}

.story-page .story-hero-banner .story-label {
  margin: 0 0 22px;
  color: #17384b;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
}

.story-page .story-hero-banner h1 {
  margin: 0;
  color: #17384b;
  font-size: clamp(40px, 3.55vw, 52px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
}

.story-page .story-hero-banner h1 .story-title-line {
  display: block;
  white-space: normal;
}

.story-page .story-hero-banner h1 .story-title-phrase {
  display: inline-block;
  white-space: nowrap;
}

.story-page .story-introduction {
  padding: 68px 24px 72px;
  background: #f3f7f9;
  color: #17384b;
}

.story-page .story-introduction-inner {
  width: min(820px, 100%);
  margin-inline: auto;
  text-align: center;
}

.story-page .story-introduction p {
  margin: 0;
  font-size: 18px;
  line-height: 2;
}

.story-page .story-introduction p + p {
  margin-top: 30px;
}

@media (max-width: 760px) {
  .story-page .story-hero-banner {
    height: 360px;
  }

  .story-page .story-hero-banner .story-hero-backdrop {
    object-position: 38% center;
  }

  .story-page .story-hero-banner .story-hero-message {
    padding: 38px 24px;
  }

  .story-page .story-hero-banner h1 {
    font-size: clamp(28px, 5vw, 38px);
    letter-spacing: 0;
  }

  .story-page .story-hero-banner .story-label {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .story-page .story-introduction {
    padding-block: 48px 52px;
  }

  .story-page .story-introduction-inner {
    text-align: left;
  }

  .story-page .story-introduction p {
    font-size: 17px;
    line-height: 2;
  }

  .story-page .story-intro-break {
    display: none;
  }
}

@media (max-width: 480px) {
  .story-page .story-hero-banner {
    height: 328px;
  }

  .story-page .story-hero-banner .story-hero-message {
    padding: 32px 20px;
  }

  .story-page .story-hero-banner .story-hero-backdrop {
    object-position: 36% center;
  }

  .story-page .story-hero-banner h1 {
    font-size: clamp(26px, 6.8vw, 32px);
    line-height: 1.65;
  }

  .story-page .story-introduction {
    padding: 42px 22px 46px;
  }

  .story-page .story-introduction p {
    font-size: 16px;
  }

  .story-page .story-introduction p + p {
    margin-top: 28px;
  }
}