﻿#header {
	display: block;
	}
/* シーン別ガイド — #SCT1 内のみ */
.scenes-doc#SCT1 {
	margin: 0 auto;
	padding: 120px 0 40px 0;
	max-width: 1200px;
	overflow: hidden;
}

/* frame.css の body { text-align:center } を打ち消し、長文を左寄せ・均等割りで読みやすく */
.scenes-doc {
	color: #222;
	text-align: left;
}

.scenes-doc .guide-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px 72px;
	line-height: 1.85;
	letter-spacing: .02em;
	text-align: left;
}

/* 本文ブロックの縦リズム（詰まり・取り残しを抑える） */
.scenes-doc .guide-page p {
	margin: 0 0 1.15em;
}

.scenes-doc .guide-page section > p:last-child,
.scenes-doc .guide-page .type-card > p:last-of-type:not(.summary),
.scenes-doc .intro-box p:last-child,
.scenes-doc .card > p:last-child,
.scenes-doc .recommend-list article > p:last-child {
	margin-bottom: 0;
}

.scenes-doc .guide-page section > h2 + p,
.scenes-doc .guide-page section > h2 + table {
	margin-top: 0;
}

/* 段落は両端揃え（禁則・均等割り）。リード・目次・リンクは左寄せ */
.scenes-doc .guide-page section > p,
.scenes-doc .guide-page .type-card > p,
.scenes-doc .guide-page .intro-box p {
	text-align: justify;
	text-justify: inter-ideograph;
	word-break: normal;
	overflow-wrap: break-word;
}

.scenes-doc .guide-page .toc,
.scenes-doc .guide-page .toc li,
.scenes-doc .guide-page .link-box,
.scenes-doc .guide-page .link-box ul,
.scenes-doc .guide-page .link-box li {
	text-align: left;
}

.scenes-doc .spec-table td,
.scenes-doc .compare-table td {
	text-align: left;
}

.scenes-doc .recommend-list article p {
	text-align: justify;
	text-justify: inter-ideograph;
}

.scenes-doc .guide-page a {
	color: #0039dc;
	text-decoration: underline;
	text-underline-offset: .18em;
}

.scenes-doc .guide-hero {
	padding: 44px 36px 40px;
	background: #fff url("../scenes/img/vis.jpg");
	background-size: cover;
	border: 1px solid #e5e5e5;
	margin-bottom: 40px;
	text-align: left;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
	text-shadow: 0 0 5px #fff, 0 0 10px #fff;
}

.scenes-doc .eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	color: #666;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.scenes-doc .guide-page h1,
.scenes-doc .guide-page h2,
.scenes-doc .guide-page h3,
.scenes-doc .guide-page h4 {
	line-height: 1.45;
	letter-spacing: .04em;
	text-align: left;
}

.scenes-doc .guide-page h1 {
	margin: 0 0 16px;
	font-size: clamp(30px, 4.8vw, 48px);
	font-weight: 400;
	color: #111;
}

.scenes-doc .lead {
	margin: 0;
	font-size: 17px;
	color: #333;
	text-align: left;
	line-height: 1.75;
}

.scenes-doc .toc {
	margin: 0 0 44px;
	padding: 22px 26px 24px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
}

.scenes-doc .toc h2 {
	margin: 0 0 16px;
	font-size: 19px;
	border-bottom: none;
	padding-bottom: 0;
	font-weight: 700;
}

.scenes-doc .toc ol {
	margin: 0;
	padding-left: 2em;
	list-style: decimal;
	list-style-position: outside;
	columns: 2;
	column-gap: 36px;
	row-gap: 4px;
}

.scenes-doc .toc li {
	break-inside: avoid;
	margin-bottom: 8px;
	line-height: 1.55;
}

.scenes-doc .guide-page section {
	margin-bottom: 52px;
}

.scenes-doc .guide-page section:last-of-type {
	margin-bottom: 0;
}

.scenes-doc .guide-page h2 {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ddd;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 400;
	color: #111;
}

.scenes-doc .guide-page > section:first-of-type h2 {
	margin-top: 0;
}

.scenes-doc .guide-page h3 {
	margin: 28px 0 12px;
	font-size: 24px;
}

.scenes-doc .guide-page h4 {
	margin: 20px 0 6px;
	font-size: 17px;
	color: #333;
	font-weight: 500;
}

.scenes-doc .en-title {
	display: block;
	margin: 6px 0 0;
	color: #666;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	line-height: 1.4;
}

.scenes-doc .intro-box,
.scenes-doc .note-box {
	margin: 36px 0;
	padding: 26px 28px;
	background: #f7f7f7;
	border-left: 3px solid #ccc;
}

.scenes-doc .intro-box p,
.scenes-doc .note-box p {
	margin: 0;
	line-height: 1.88;
}

.scenes-doc .grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 20px;
}

.scenes-doc .card {
	padding: 22px;
	background: #fff;
	border: 1px solid #e5e5e5;
}

.scenes-doc .card h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 19px;
	font-weight: 700;
}

.scenes-doc .card p {
	margin-bottom: 0;
	line-height: 1.75;
}

.scenes-doc .type-card {
	padding: 26px 28px 28px;
	border: 1px solid #e5e5e5;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.scenes-doc .type-card + .type-card {
	margin-top: 24px;
}

.scenes-doc .type-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 24px;
	padding: 5px 12px;
	background: #eee;
	color: #333;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	vertical-align: top;
}

/* fabric-blends「おすすめの方」と同様の下線ラベル（旧 card-lede） */
.scenes-doc .guide-page .type-card h4 {
	display: inline-block;
	margin: 12px 0 6px;
	padding: 0;
	border-bottom: solid 1px #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: #111;
}

.scenes-doc .type-card .summary {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.55;
	color: #333;
}

.scenes-doc .spec-table,
.scenes-doc .compare-table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 15px;
}

.scenes-doc .spec-table th,
.scenes-doc .spec-table td,
.scenes-doc .compare-table th,
.scenes-doc .compare-table td {
	padding: 11px 13px;
	border: 1px solid #e5e5e5;
	vertical-align: top;
	line-height: 1.55;
}

.scenes-doc .spec-table th,
.scenes-doc .compare-table th {
	background: #f2f2f2;
	color: #222;
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
}

.scenes-doc .compare-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 6px;
}

.scenes-doc .recommend-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 20px;
}

.scenes-doc .recommend-list article {
	padding: 22px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
}

.scenes-doc .recommend-list h3 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.scenes-doc .recommend-list article p {
	margin-bottom: 0;
	line-height: 1.75;
}

.scenes-doc .link-box {
	margin-top: 22px;
	padding: 22px 24px;
	border: 1px solid #e8e8e8;
	background: #fafafa;
}

.scenes-doc .link-box h3 {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 500;
	color: #333;
}

.scenes-doc .link-box ul {
	margin: 0;
	padding-left: 1.15em;
	line-height: 1.65;
}

.scenes-doc .link-box li {
	margin-bottom: 6px;
}

.scenes-doc .link-box li:last-child {
	margin-bottom: 0;
}

/* 目次：番号表示（矢印は使わない） */
.scenes-doc .guide-page .toc ol > li > a {
	display: inline;
	max-width: 100%;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 57, 220, 0.35);
	text-underline-offset: unset;
}

.scenes-doc .guide-page .toc ol > li > a:hover {
	border-bottom-color: #0039dc;
}

/* 関連リスト：リンク先インジケータ */
.scenes-doc .guide-page .link-box ul > li > a {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.45em;
	max-width: 100%;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 57, 220, 0.35);
	text-underline-offset: unset;
}

.scenes-doc .guide-page .link-box ul > li > a:hover {
	border-bottom-color: #0039dc;
}

.scenes-doc .guide-page .link-box ul > li > a::before {
	content: "\f105";
	flex-shrink: 0;
	margin-top: 0.42em;
	font: normal normal normal 13px/1 FontAwesome;
	color: #888;
	opacity: 0.95;
}

/* 「関連」セクション：見出し直下の説明文とボックスの間隔 */
.scenes-doc #links > p {
	margin-bottom: 0.85em;
}

@media (max-width: 820px) {
.scenes-doc#SCT1 {
	padding: 60px 0 40px 0;
}
	.scenes-doc .guide-page {
		padding-top: 0;
	}

	.scenes-doc .guide-hero {
		margin-left: -24px; 
		margin-right: -24px; 
		padding: 36px 22px;
	}

	.scenes-doc .toc ol {
		columns: 1;
	}

	.scenes-doc .grid,
	.scenes-doc .recommend-list {
		grid-template-columns: 1fr;
	}

	.scenes-doc .type-card {
		padding: 24px 20px;
	}
}
