/* =========================================================
   下層ページ：トップと同じヘッダー＋FV風タイトル帯
   ・ヘッダー/メニューの見た目と挙動は ec-top.css / ec-top.js を共用
   ========================================================= */
html body.ec-sub #header { display: none !important; }

/* テーマの「ヘッダー分の上余白」を帯に置き換える */
html body.ec-sub #content { padding-top: 72px !important; }
/* 帯に出すので、本文側のパンくずとページタイトルは非表示 */
html body.ec-sub .main > .breadcrumbs,
html body.ec-sub .article-header .entry-title,
html body.ec-sub .ec-iv-article > .article-header { display: none !important; }
html body.ec-sub.page .article-header { margin-bottom: 40px; }

/* ---------- タイトル帯（全幅） ---------- */
html body .ec-sub-band {
	position: relative; width: 100%; overflow: hidden;
	padding: calc(var(--ec-head-h) + 64px) 0 68px;
	background: linear-gradient(115deg, #4f7398 0%, #6b8fb2 48%, #86a6c3 100%);
	color: #fff; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}
html body .ec-sub-band * { box-sizing: border-box; font-family: inherit; letter-spacing: inherit; }
/* 斜めの幾何学（トップFVの背景模様に合わせる） */
html body .ec-sub-band__geo, html body .ec-sub-band__geo span { position: absolute; inset: 0; pointer-events: none; }
html body .ec-sub-band__geo span:nth-child(1) { background: rgba(255, 255, 255, .10); clip-path: polygon(52% 0, 74% 0, 40% 100%, 18% 100%); }
html body .ec-sub-band__geo span:nth-child(2) { background: rgba(255, 255, 255, .07); clip-path: polygon(74% 0, 100% 0, 100% 55%, 66% 100%, 40% 100%); }
html body .ec-sub-band__geo span:nth-child(3) { background: rgba(40, 72, 108, .18); clip-path: polygon(0 58%, 30% 100%, 0 100%); }

html body .ec-sub-band__inner { position: relative; z-index: 1; width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; }
html body .ec-sub-band__en {
	margin: 0 0 10px !important; padding: 0;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif !important; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .3em; color: rgba(255, 255, 255, .9);
}
html body .ec-sub-band__title {
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.35; letter-spacing: .06em; color: #fff;
	text-shadow: 0 2px 12px rgba(20, 50, 80, .18);
}
html body .ec-sub-band__title::before, html body .ec-sub-band__title::after { display: none !important; }
html body .ec-sub-band__bc.breadcrumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px;
	margin: 22px 0 0 !important; padding: 0; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.6;
}
html body .ec-sub-band__bc * { font-size: 13px !important; line-height: 1.6 !important; color: inherit !important; }
html body .ec-sub-band__bc a { color: #fff !important; text-decoration: none; }
html body .ec-sub-band__bc a:hover { text-decoration: underline; }
html body .ec-sub-band__bc .current-item { color: rgba(255, 255, 255, .85) !important; }

@media (max-width: 768px) {
	html body .ec-sub-band { padding: calc(var(--ec-head-h) + 36px) 0 44px; }
	html body .ec-sub-band__inner { max-width: calc(100% - 40px); }
	html body .ec-sub-band__en { font-size: 12px; letter-spacing: .24em; }
	html body .ec-sub-band__title { font-size: clamp(26px, 7.4vw, 34px); }
	html body .ec-sub-band__bc.breadcrumbs { margin-top: 14px !important; }
	html body.ec-sub #content { padding-top: 44px !important; }
	html body .ec-sub-band__geo span:nth-child(1) { clip-path: polygon(62% 0, 100% 0, 100% 20%, 30% 100%, 0 100%, 0 90%); }
}
