/* pages.css … 下層ページ共通のレイアウト（PageHeader・パンくず・article 枠） */

/* ==========================================================
   ページ全体（グレーの地。article・パンくずの幅の基準）
   幅: article 1200=1080 / 1600=1300、本文 1200=900 / 1600=1000（間は線形に縮む。1600 以上は固定）
   ========================================================== */
.l-page {
	--article-w: clamp(1080px, 55cqw + 420px, 1300px);
	--main-w: clamp(900px, 25cqw + 600px, 1000px);
	container-type: inline-size; /* 中の cqw は画面幅の% */
	padding-bottom: 120px;       /* article の下〜フッター上端 */
	background: var(--c-page-bg);
}
/* フッターのロゴがはみ出す上の部分も、ページの地の色にする */
main.l-page + .l-footer { background-color: var(--c-page-bg); }


/* ==========================================================
   PageHeader（青帯。英語は H1 の疑似要素で出す）
   Figma は帯 420px をヘッダー（80px）の下に敷いているので、見える部分の 340px にしている
   ========================================================== */
.c-pageheader {
	height: 340px;
	padding-top: 63px;   /* しずくの上端（Figma y=143 - 80） */
	background: var(--c-blue);
	color: var(--c-white);
	text-align: center;
}
.c-pageheader::before { /* しずく */
	content: "";
	display: block;
	width: 30px;
	height: 52px;
	margin: 0 auto;
	background: url(../images/drop.svg) no-repeat center / contain;
}
.c-pageheader__title {
	margin-top: 7px;     /* 調整: 英語の位置（しずくの下から） */
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}
.c-pageheader__title::before { /* 英語（全ページ 80px で統一。ユーザー指示 2026-11-10） */
	content: attr(data-en);
	display: block;
	margin-bottom: 20px; /* 調整: 英語と日本語の間 */
	padding-top: 0;      /* 調整: 英語の位置 */
	font-family: var(--ff-en);
	font-size: 80px;
	font-weight: 500;
	line-height: 80px;
	letter-spacing: .05em;
	white-space: nowrap;
}


/* ==========================================================
   パンくず（article の左端にそろえる）
   ========================================================== */
.c-breadcrumb {
	width: var(--article-w);
	margin: 0 auto;
	padding-top: 17px;   /* 調整: 青帯の下から */
	font-size: 12px;
	font-weight: 500;
	line-height: 12px;
}
.c-breadcrumb ol { display: flex; white-space: nowrap; }  /* 1行。長い記事タイトルは末尾を「…」 */
.c-breadcrumb li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c-breadcrumb li + li::before { content: "\00a0>\00a0"; }
.c-breadcrumb [aria-current] { color: #8d8d8d; }
.c-breadcrumb a { transition: color var(--dur-hover) var(--ease); }
@media (hover: hover) {
	.c-breadcrumb a:hover { color: var(--c-hover); }
}


/* ==========================================================
   article 枠（白い角丸）と本文の幅
   上下の余白 120px は標準値。ページごとに変えるときは各ページの CSS で上書きする
   ========================================================== */
.l-article {
	width: var(--article-w);
	margin: 91px auto 0;  /* パンくずの下〜article 上端（Figma: 帯の下から 120px） */
	padding: 120px 0;
	border-radius: 20px;
	background: var(--c-white);
}
.l-main {
	width: var(--main-w);
	margin: 0 auto;
}


/* ==========================================================
   SP（390 基準）: グレーの地・白い枠はなく、白地に本文
   ========================================================== */
@media (max-width: 568px) {
	:root { --c-page-bg: var(--c-white); }
	.l-page {
		--article-w: 100%;
		--main-w: 100%;
		padding-bottom: 0;
	}

	.c-pageheader {
		height: 200px;
		padding-top: 33px;
	}
	.c-pageheader::before { width: 18px; height: 32px; }
	.c-pageheader__title {
		margin-top: 9px;
		font-size: 15px;
	}
	.c-pageheader__title::before {
		margin-bottom: 13px;
		padding-top: 0;
		font-size: 42px;
		line-height: 42px;
	}

	.c-breadcrumb { padding: 17px 20px 0; }

	.l-article {
		margin-top: 0;
		padding: 50px 30px 80px; /* 上: パンくずの下から本文まで ／ 下: フッターまで */
		border-radius: 0;
	}
}
