/* =========================================================
   AtWell Shrimp Encyclopedia
   Blue Shrimp Names / History Article
   ========================================================= */

.blue-history-page {
	background: #fff;
	color: #222;
}

.blue-history-article {
	padding-bottom: 88px;
}

.blue-history-hero {
	max-width: 1120px;
	margin: 0 auto;
	padding: 64px 28px 48px;
	background: #f4f6f7;
}

.blue-history-kicker,
.blue-history-chapter-no {
	margin: 0 0 4px;
	color: #58758a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.blue-history-hero h1 {
	margin: 0;
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1.22;
	letter-spacing: .01em;
}

.blue-history-subtitle {
	max-width: 780px;
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.9;
	color: #4c555c;
}

.blue-history-container {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 28px;
}

.blue-history-intro {
	padding: 64px 0 26px;
}

.blue-history-intro p,
.blue-history-section p,
.blue-history-conclusion p {
	margin: 0 0 1em;
	font-size: 17px;
	line-height: 2;
}

.blue-history-section,
.blue-history-conclusion {
	padding: 72px 0 10px;
	border-top: 1px solid #e4e8eb;
}

.blue-history-section h2,
.blue-history-conclusion h2 {
	margin: 0 0 30px;
	font-size: clamp(27px, 4vw, 38px);
	line-height: 1.4;
	letter-spacing: .01em;
}

.blue-history-figure {
	margin: 0 0 38px;
}

.blue-history-figure img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 1;
	object-fit: cover;
	border-radius: 4px;
}

.blue-history-figure figcaption {
	margin-top: 10px;
	color: #69747c;
	font-size: 13px;
	line-height: 1.7;
}

.blue-history-figure--lead {
	margin-bottom: 46px;
}

.blue-history-name-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	margin: 34px 0 38px;
	padding: 24px;
	background: #f5f7f8;
	border: 1px solid #e1e6e9;
	font-size: 17px;
	font-weight: 700;
}

.blue-history-name-flow b {
	color: #7b8992;
}

.blue-history-lineage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 34px;
	padding: 20px 22px;
	background: #f5f7f8;
	border-left: 3px solid #58758a;
	font-size: 14px;
	line-height: 1.7;
}

.blue-history-lineage b {
	color: #7b8992;
}

.blue-history-note {
	margin: 30px 0 34px;
	padding: 22px 24px 4px;
	background: #f5f7f8;
	border-left: 4px solid #8199a9;
}

.blue-history-note--caution {
	background: #faf8f3;
	border-left-color: #a78a55;
}

.blue-history-note p {
	font-size: 15px;
	line-height: 1.85;
}

.blue-history-keypoint {
	margin: 34px 0;
	padding: 28px 30px 10px;
	background: #eef3f6;
	border: 1px solid #d9e2e7;
}

.blue-history-keypoint p {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.75;
}

.blue-history-summary {
	margin: 26px 0 34px;
	padding: 24px 28px 18px 48px;
	background: #f6f7f8;
}

.blue-history-summary li {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.75;
}

.blue-history-atwell {
	margin-top: 42px;
	padding: 34px 36px 14px;
	background: #f3f6f7;
	border-top: 3px solid #58758a;
}

.blue-history-atwell__label {
	margin-bottom: 18px !important;
	color: #58758a;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .12em;
}

@media (max-width: 767px) {
	.blue-history-article {
		padding-bottom: 56px;
	}

	.blue-history-hero {
		padding: 42px 20px 34px;
	}

	.blue-history-hero h1 {
		font-size: 31px;
		line-height: 1.3;
	}

	.blue-history-subtitle {
		font-size: 15px;
		line-height: 1.8;
	}

	.blue-history-container {
		padding: 0 20px;
	}

	.blue-history-intro {
		padding-top: 42px;
	}

	.blue-history-intro p,
	.blue-history-section p,
	.blue-history-conclusion p {
		font-size: 16px;
		line-height: 1.9;
	}

	.blue-history-section,
	.blue-history-conclusion {
		padding-top: 54px;
	}

	.blue-history-section h2,
	.blue-history-conclusion h2 {
		margin-bottom: 24px;
		font-size: 26px;
	}

	.blue-history-figure {
		margin-bottom: 30px;
	}

	.blue-history-figure img {
		aspect-ratio: 2.4 / 1;
	}

	.blue-history-figure figcaption {
		font-size: 12px;
	}

	.blue-history-name-flow {
		flex-direction: column;
		padding: 20px;
	}

	.blue-history-name-flow b {
		transform: none;
	}

	.blue-history-lineage {
		display: block;
	}

	.blue-history-lineage span,
	.blue-history-lineage b {
		display: block;
		text-align: center;
	}

	.blue-history-lineage b {
		margin: 4px 0;
		transform: rotate(90deg);
	}

	.blue-history-note,
	.blue-history-keypoint,
	.blue-history-atwell {
		padding-left: 20px;
		padding-right: 20px;
	}
}


/* History back navigation */
.blue-history-backnav {
	display: flex;
	align-items: center;
}

.blue-history-backnav--top {
	padding-top: 28px;
}

.blue-history-backnav--bottom {
	margin-top: 58px;
	padding-top: 28px;
	border-top: 1px solid #e4e8eb;
}

.blue-history-backnav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #58758a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.blue-history-backnav a:hover,
.blue-history-backnav a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.blue-history-backnav--top {
		padding-top: 22px;
	}

	.blue-history-backnav--bottom {
		margin-top: 44px;
	}

	.blue-history-backnav a {
		font-size: 13px;
	}
}


/* Intro comparison: desktop 2 columns / mobile stacked */
.blue-history-intro-comparison__images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow: hidden;
	border-radius: 4px;
}

.blue-history-intro-comparison__images img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1.5 / 1;
	object-fit: cover;
	border-radius: 0;
}

@media (max-width: 767px) {
	.blue-history-intro-comparison__images {
		grid-template-columns: 1fr;
		gap: 8px;
		overflow: visible;
	}

	.blue-history-intro-comparison__images img {
		aspect-ratio: 3 / 1;
		border-radius: 4px;
	}
}

.blue-history-figure.blue-history-figure--wide {
	width: 100%;
	max-width: none;
	margin: 32px 0 40px;
}

.blue-history-figure.blue-history-figure--wide img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 1;
	object-fit: cover;
	object-position: center;
	height: auto;
	border-radius: 4px;
}

.blue-history-figure.blue-history-figure--wide figcaption {
	margin-top: 10px;
}

/* スマホでは縦方向の情報を少し多めに残す */
@media (max-width: 767px) {
	.blue-history-figure.blue-history-figure--wide img {
		aspect-ratio: 16 / 9;
	}
}

/* =========================================================
   History article series intro
   歴史記事冒頭のシリーズ名・副題
   ========================================================= */

.blue-history-series-intro {
	margin: 54px 0 34px;
}

.blue-history-series-no {
	margin: 0 0 18px;
	color: #3f6f8d;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.6;
}

.blue-history-series-lead {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 700;
	line-height: 1.7;
}

@media (max-width: 767px) {
	.blue-history-series-intro {
		margin: 38px 0 26px;
	}

	.blue-history-series-no {
		margin-bottom: 12px;
		font-size: 0.84rem;
	}

	.blue-history-series-lead {
		font-size: 1.15rem;
		line-height: 1.65;
	}
}

/* =========================================================
   History article subsection headings
   歴史記事：章内小見出し（h3）
   ========================================================= */

.blue-history-section h3 {
	margin: 56px 0 20px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

@media (max-width: 767px) {
	.blue-history-section h3 {
		margin: 42px 0 16px;
		font-size: 20px;
		line-height: 1.5;
	}
}