/* FILE ORDER: CHILD / HEADER VARIANT → CONTAINER → HERO → BREADCRUMB → TYPOGRAPHY → RESPONSIVE */
/* 白を基調とする子ページ共通スタイル */
.site-header--light {
  --header-text: var(--ink);
  --header-subtext: var(--text-subtle);
  --header-small: var(--text-muted);
  --header-border: rgba(7,24,63,.3);
  --header-line: var(--ink);
  background: linear-gradient(to bottom,rgba(255,255,255,.9),transparent);
}
.child-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
}
.child-label span {
  color: #8ca0b5;
}
.child-container {
  width: var(--layout-main);
  margin-inline: auto;
}
/* 子ページ共通ヒーロー（WORKS / ABOUT / SERVICE など） */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  padding: 180px clamp(24px,8vw,140px) 90px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%,rgba(65,194,241,.28),transparent 38%),
    linear-gradient(135deg,var(--white-pure) 0%,var(--surface-page) 58%,#e6f6fc 100%);
}

/* ヒーロー背景を写真へ変更するときの共通フレーム */
.page-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 子ページ共通：パンくずリスト
   WordPress化時は breadcrumb.php などの共通パーツへ切り出します。 */
.page-breadcrumb {
  position: absolute;
  z-index: 2;
  top: 132px;
  left: clamp(24px,8vw,140px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .08em;
}

.page-breadcrumb a {
  color: inherit;
  transition: color .25s ease;
}

.page-breadcrumb a:hover {
  color: var(--blue);
}

.page-breadcrumb [aria-current="page"] {
  color: #334b66;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 48vw;
  height: 48vw;
  right: -15vw;
  top: -25vw;
  border: 1px solid rgba(8,142,211,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(8,142,211,.025),0 0 0 160px rgba(8,142,211,.018);
}
.page-hero-copy >p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
}
.page-hero-copy >p span {
  color: var(--text-subtle);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(82px,13vw,210px);
  line-height: .74;
  letter-spacing: -.085em;
}
.page-hero h2 {
  margin: 55px 0 0;
  font: 700 clamp(31px,3.8vw,60px)/1.35 "Noto Sans JP",sans-serif;
  letter-spacing: -.055em;
}
.page-hero-lead {
  max-width: 470px;
  margin: 0 0 12px;
  color: var(--text-muted);
  font: 400 12px/2.1 "Noto Sans JP",sans-serif;
  letter-spacing: .07em;
}
.hero-decoration i {
  position: absolute;
  border-radius: 50%;
  background: #28a9e6;
  box-shadow: 0 0 24px 7px rgba(72,180,225,.32);
}
.hero-decoration i:nth-child(1) {
  width: 5px;
  height: 5px;
  right: 14%;
  top: 33%;
}
.hero-decoration i:nth-child(2) {
  width: 3px;
  height: 3px;
  right: 36%;
  top: 20%;
}
.hero-decoration i:nth-child(3) {
  width: 2px;
  height: 2px;
  right: 5%;
  bottom: 22%;
}
@media (max-width:1050px) {
  .page-hero {
    min-height: 650px;
  }
}
@media (max-width:700px) {
  .child-container {
    width: var(--layout-main-mobile);
  }
  .page-hero {
    min-height: 690px;
    padding: 145px 24px 85px;
    display: block;
  }

  .page-breadcrumb {
    top: 108px;
    left: 24px;
    right: 24px;
    gap: 7px;
    font-size: 11px;
  }
  .page-hero h1 {
    font-size: 25vw;
  }
  .page-hero h2 {
    margin-top: 48px;
    font-size: 32px;
  }
  .page-hero h2 br {
    display: none;
  }
  .page-hero-lead {
    margin-top: 42px;
  }
  .page-hero-lead br {
    display: none;
  }
}
/* Shared child-page typography: small labels and lead copy */
.page-hero-copy >p {
  font-size: var(--text-small);
}
.page-hero-lead {
  width: min(100%, 520px);
  max-width: 520px;
  font-size: var(--text-base);
  line-height: 2;
}

/* 1440px基準：子ページのリード文を同じ位置・同じ改行幅へ統一 */
@media (min-width: 1101px) {
  .page-hero-lead {
    flex: 0 0 520px;
    justify-self: end;
  }
}
.child-label {
  font-size: var(--text-small);
}
@media (max-width:700px) {
  .page-hero-copy >p {
    font-size: var(--text-small);
  }
  .page-hero-lead {
    font-size: var(--text-base);
    line-height: 1.9;
  }
  .child-label {
    font-size: var(--text-small);
  }
}

/* ===== 統一ヒーロー：SERVICEページ基準（濃紺）／最大見出しサイズはCONTACT基準 ===== */
.page-hero.service-hero {
  min-height: 560px;
  color: var(--white-pure);
  background:
    radial-gradient(circle at 78% 28%,rgba(31,181,236,.38),transparent 26%),
    radial-gradient(circle at 35% 100%,rgba(20,92,188,.36),transparent 34%),
    linear-gradient(135deg,#010821 0%,#031943 56%,#075f9e 100%);
}
.service-hero::after {
  border-color: rgba(103,222,255,.2);
  box-shadow: 0 0 0 80px rgba(80,207,247,.025),0 0 0 160px rgba(80,207,247,.018);
}
.service-hero .page-hero-copy >p { color: var(--blue-light); }
.service-hero .page-hero-copy >p span { color: rgba(255,255,255,.5); }
.service-hero .page-hero-lead { color: rgba(255,255,255,.68); }
.service-hero .page-breadcrumb,
.service-hero .page-breadcrumb [aria-current="page"] { color: rgba(255,255,255,.72); }
.service-hero .page-breadcrumb a:hover { color: var(--blue-light); }
.page-hero.service-hero h1 {
  font-size: clamp(68px,10vw,150px);
  line-height: .82;
  letter-spacing: -.075em;
}
.service-hero .page-hero-lead strong {
  display: block;
  margin-bottom: .5em;
  color: var(--white-pure);
  font: 700 clamp(18px,1.7vw,22px)/1.6 "Noto Sans JP",sans-serif;
  letter-spacing: .04em;
}
@media (max-width:1100px) {
  .page-hero.service-hero {
    min-height: 520px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 36px;
  }
}
@media (max-width:800px) {
  .page-hero.service-hero h1 { font-size: clamp(58px,20vw,94px); }
}
@media (max-width:700px) {
  .page-hero.service-hero {
    display: flex;
    min-height: 500px;
    padding: 150px 24px 64px;
    gap: 32px;
  }
  .page-hero.service-hero .page-hero-lead { margin: 0; }
}
@media (max-width:520px) {
  .page-hero.service-hero h1 { font-size: 16vw; }
}

/* ページタイトル下の日本語キャプション（例：SES事業）を、左・上に余白をとって右下へ */
.page-hero h1 .h1-ja {
  margin-top: 1.7em;
  margin-left: clamp(14px, 2.2vw, 36px);
}

@media (max-width: 700px) {
  .page-hero h1 .h1-ja {
    margin-top: 1.4em;
    margin-left: 10px;
  }
}

