/* 採用したB案：全面写真のアイキャッチ。 */
.hero-study { position:relative; overflow:hidden; isolation:isolate; }
.hero-study__layout { position:relative; z-index:1; }
.hero-study .page-hero { background:transparent; }
.hero-study__signature { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-top:24px; margin-top:40px; border-top:1px solid var(--color-border); font-size:13px; color:var(--color-text-strong); }
.hero-study__signature strong { font-size:28px; line-height:1; margin-right:6px; }
.hero-study .hub-text-link { border-color:currentColor; }
.hero-study--b { padding-block:88px 32px; min-height:560px; background:#090459; }
.hero-study__background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:right center; z-index:-2; }
.hero-study--b::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,rgba(5,2,46,.35),transparent 55%),linear-gradient(90deg,rgba(5,2,46,.93) 0%,rgba(9,4,89,.85) 38%,rgba(9,4,89,.65) 60%,rgba(9,4,89,.18) 100%); }
.hero-study--b .hero-study__copy { max-width:820px; margin-left:24px; }
.hero-study--b .page-hero__title { --page-hero-title-max:4.1rem; line-height:1.45; letter-spacing:.02em; }
.hero-study--b .hub-intro__lead { max-width:590px; font-size:18px; }
.hero-study--b .hero-study__signature { margin-top:72px; }
@media(max-width:1023px) {
.hero-study--b .hero-study__copy { max-width:700px; }
.hero-study--b .page-hero__title { --page-hero-title-max:3.5rem; }
}
@media(max-width:767px) {
.hero-study--b { padding-block:48px 24px; min-height:0; }
.hero-study--b .page-hero__title { --page-hero-title-max:2.2rem; line-height:1.6; }
.hero-study__signature { margin-top:24px; padding-top:16px; gap:16px; font-size:10px; }
.hero-study__signature>span:first-child { max-width:19em; }
.hero-study__signature>span:last-child { white-space:nowrap; }
.hero-study__signature strong { font-size:24px; }
.hero-study__background { object-position:right center; }
.hero-study--b::before { background:linear-gradient(90deg,rgba(5,2,46,.97),rgba(9,4,89,.78) 65%,rgba(9,4,89,.55)); }
.hero-study--b .hero-study__signature { margin-top:48px; }
}

/* 透明ヘッダーの下に写真を伸ばし、文字はヘッダーの高さを避ける。 */
.lp-index .hero-study--b { padding-top:calc(var(--header-height) + 64px); padding-bottom:100px; } /* 下 32 → 100px（2026-11-06 三嶋指示。ボタンの下が詰まって見えるため。767px 以下は下の 24px のまま） */
@media(max-width:767px) {
 .lp-index .hero-study--b { padding-top:calc(var(--header-height-sm) + 28px); padding-bottom:24px; }
}

/* 写真に重ねる部署一覧ボタン。 */
.hero-study .hub-text-link {
 gap:32px;
 min-height:60px;
 margin-top:36px;
 padding:0 20px 0 24px;
 border:1px solid currentColor;
 background:transparent;
 transition:background-color .2s;
}
.hero-study .hub-text-link>span {
 display:flex;
 align-items:center;
 justify-content:center;
 width:36px;
 height:36px;
 border-left:1px solid currentColor;
 padding-left:16px;
 font-size:22px;
}
.hero-study .hub-text-link:hover,
.hero-study .hub-text-link:focus-visible { background-color:rgba(255,255,255,.12); }
.hero-study .hub-text-link:hover>span,
.hero-study .hub-text-link:focus-visible>span { transform:translateY(3px); }
@media(max-width:767px) {
 .hero-study .hub-text-link { min-height:56px; margin-top:36px; padding-left:20px; gap:24px; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-study .hub-text-link,.hero-study .hub-text-link>span { transition:none; }
 .hero-study .hub-text-link:hover>span,.hero-study .hub-text-link:focus-visible>span { transform:none; }
}

.hero-study--b .page-hero__title .hub-title-kana { display:inline; font-size:.78em; }

/* シリーズ名を主役にした二行の見出し。 */
.hero-study--b .hub-hero-title { color:#fff; font-size:clamp(40px,5.1vw,72px); line-height:1.5; font-weight:700; letter-spacing:.02em; }
.hub-hero-title>span { display:block; }
@media(max-width:767px) {
 .hero-study--b .hub-hero-title { font-size:clamp(24px,7vw,40px); letter-spacing:0; line-height:1.6; }
}

/* 2026-11-06 三嶋指示：見出しの上の 1 行。見出しより小さく、768px 以上は 1 行で出す。
   スマホ幅は 1 行に入らない（31 字）ので «、» の後ろで折る（各 span が inline-block）。 */
.hero-study--b .hub-hero-lead { margin-bottom:16px; color:#fff; font-size:clamp(20px,2vw,28px); font-weight:700; line-height:1.6; letter-spacing:.02em; white-space:nowrap; }
.hub-hero-lead>span { display:inline-block; }
@media(max-width:767px) {
 .hero-study--b .hub-hero-lead { margin-bottom:8px; font-size:16px; letter-spacing:0; white-space:normal; }
}

@media(max-width:767px) { .hero-study--b .hero-study__copy { margin-left:0; } }
