img {
	image-rendering: -webkit-optimize-contrast;
}

.podspec-page {
	max-width: 1160px;
}

.content.podspec-content {
	width: 100%;
	min-height: 100%;
	background: #e4ebef;
	padding: 56px 56px 64px;
	border-radius: 20px;
	box-shadow: 0 6px 18px rgba(31, 79, 108, 0.08);
}

.podspec-hero {
	text-align: center;
	margin-bottom: 20px;
	padding: 38px 24px;
	background: #ffffff;
	border: 1px solid #d4e2e8;
	border-radius: 20px;
	box-shadow: 0 4px 14px rgba(31, 79, 108, 0.05);
}

.podspec-eyebrow {
	display: inline-block;
	margin: 0 0 20px;
	padding: 5px 16px;
	color: #fdfeff;
	background: #87a5b0;
	border: 1px solid #cfe6f0;
	border-radius: 999px;
	font-size: 13px;
	font-weight: bold;
}

.title {
	font-size: 38px;
	font-weight: bold;
	text-align: center;
	color: #263f4d;
	margin: 0 0 14px;
	line-height: 1.35;
}

.title_note {
	font-size: 17px;
	color: #667b86;
	margin: 0;
	text-align: center;
	line-height: 1.8;
}

.podspec-section {
	margin-top: 38px;
	padding: 34px;
	background: #fff;
	border: 1px solid #d2e0e7;
	border-radius: 18px;
	box-shadow: 0 4px 14px rgba(31, 79, 108, 0.04);
}

.podspec-section--last {
	margin-bottom: 10px;
}

.section-heading {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.section-heading__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: #fff;
	background: #3c9fc3;
	border-radius: 50%;
	font-size: 18px;
	font-weight: bold;
	box-shadow: 0 4px 10px rgba(60, 159, 195, 0.18);
}

.subtitle {
	font-size: 28px;
	text-align: left;
	color: #263f4d;
	margin: 0 0 4px;
	font-weight: bold;
	line-height: 1.45;
}

.section-heading p {
	margin: 0;
	color: #75848c;
	font-size: 15px;
	line-height: 1.7;
}

/* 01 製本仕様 */
.print-spec-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid #d4e2e8;
	border-radius: 18px;
	box-shadow: 0 5px 16px rgba(31, 79, 108, 0.05);
}

.print-spec-table {
	width: 100%;
}

.print-spec-row {
	display: grid;
	grid-template-columns: 190px 1fr;
	border-top: 1px solid #d6e4eb;
}

.print-spec-row:first-child {
	border-top: 0;
}

.print-spec-head {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 22px 20px;
	color: #276f91;
	background: #edf6fa;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.6;
}

.print-spec-head i {
	margin-top: 4px;
	color: #429fc0;
}

/* 見出しセルの背景を明示的に固定 */
.print-spec-table .print-spec-head,
.recommend-table .recommend-label {
	background-color: #edf6fa;
}

.print-spec-table .print-spec-head {
	border-right: 1px solid #d6e4eb;
}

.print-spec-body {
	padding: 22px 24px;
	color: #334a56;
	background: #fff;
	font-size: 16px;
	line-height: 1.85;
}

.size-blocks,
.paper-blocks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.size-block,
.paper-blocks>div {
	padding: 15px 16px;
	background: #ffffff;
	border: 1px solid #e3eef4;
	border-radius: 13px;
}

.size-block__title,
.paper-blocks strong {
	display: block;
	margin-bottom: 6px;
	color: #2b789a;
	font-size: 16px;
	font-weight: bold;
}

.size-block p,
.paper-blocks p {
	margin: 0;
	color: #4a5f69;
	line-height: 1.75;
}

.size-block--hardcover {
	background: #f6fbfd;
}

.bookcover-notice {
	margin-top: 18px;
	padding: 18px 20px;
	background: #f7fbf8;
	border: 1px solid #c9dfd0;
	border-radius: 14px;
	box-shadow: 0 3px 10px rgba(42, 83, 63, 0.06);
}

.bookcover-notice__title {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 12px;
	padding: 5px 12px;
	color: #2d6844;
	background: #e7f4ec;
	border: 1px solid #c5e0ce;
	border-radius: 999px;
	font-size: 15px;
	font-weight: bold;
}

.bookcover-notice__title i {
	color: #4a9a67;
}

.bookcover-notice__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
	padding: 13px 15px;
	background: #ffffff;
	border: 1px solid #d8e8de;
	border-radius: 12px;
}

.bookcover-notice__summary span {
	color: #4d6658;
	font-size: 14px;
	font-weight: bold;
}

.bookcover-notice__summary strong {
	color: #227344;
	font-size: 20px;
	line-height: 1.5;
}

.bookcover-notice ul {
	margin: 0;
	padding-left: 1.25em;
	color: #43574b;
	line-height: 1.85;
}

.bookcover-notice__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	padding: 8px 15px;
	color: #2d6844;
	background: #ffffff;
	border: 1px solid #a9d3b8;
	border-radius: 999px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(42, 83, 63, 0.06);
	transition: all 0.2s ease;
}

.bookcover-notice__link:hover,
.bookcover-notice__link:focus {
	color: #ffffff;
	background: #3f8b5a;
	border-color: #3f8b5a;
	text-decoration: none;
}

.size-warning {
	margin-top: 16px;
	padding: 16px 18px;
	background: #fff9e8;
	border: 1px solid #f3d99a;
	border-radius: 13px;
}

.size-warning__title {
	margin-bottom: 6px;
	color: #8a5200;
	font-weight: bold;
}

.size-warning__title i {
	margin-right: 5px;
}

.size-warning p {
	margin: 0;
	color: #4f4b3f;
	line-height: 1.8;
}



.binding-inline-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.binding-inline-card {
	padding: 16px 14px;
	text-align: center;
	background: #ffffff;
	border: 1px solid #e3eef4;
	border-radius: 13px;
}

.binding-inline-card__title {
	margin-bottom: 10px;
	color: #263f4d;
	font-size: 16px;
	font-weight: bold;
}

.binding-inline-card img {
	display: block;
	max-width: 130px;
	width: 100%;
	height: auto;
	margin: 0 auto 10px;
}

.status-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: bold;
}

.status-badge--ok {
	color: #fff;
	background: #3c9fc3;
}

.status-badge--limited {
	color: #805000;
	background: #fff0c9;
	border: 1px solid #f0d486;
}

.mini-link {
	display: inline-block;
	margin-top: 9px;
	color: #1177a7;
	font-size: 13px;
	font-weight: bold;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.guide-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 15px;
	color: #0d6f9f;
	background: #edf6fa;
	border: 1px solid #cfe6f0;
	border-radius: 999px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.2s ease;
}

.guide-link:hover,
.guide-link:focus {
	color: #fff;
	background: #247fa5;
	border-color: #247fa5;
	text-decoration: none;
}

.guide-link--inline {
	margin-top: 14px;
}

.muted {
	color: #6f818a;
	font-size: 0.92em;
}

/* 02以降 */
.recommend-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 22px;
	align-items: start;
}

.recommend-table,
.recommend-figure,
.numbering-card {
	background: #fff;
	border: 1px solid #d2e0e7;
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(32, 112, 154, 0.05);
}

.recommend-table {
	overflow: hidden;
}

.recommend-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	border-top: 1px solid #d6e4eb;
}

.recommend-row:first-child {
	border-top: 0;
}

.recommend-label {
	padding: 18px 20px;
	color: #276f91;
	background: #edf6fa;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.7;
}

.recommend-body,
.note {
	margin: 0;
	color: #334a56;
	font-size: 16px;
	line-height: 1.85;
}

.recommend-body {
	padding: 18px 20px;
	background: #fff;
}

.recommend-helper-text {
	display: block;
	margin-top: 8px;
	color: #6f818a;
	font-size: 0.92em;
	line-height: 1.7;
}

.red {
	color: #d93636;
}

.recommend-figure {
	padding: 18px;
	text-align: center;
	background: #ffffff;
}

.recommend-figure img,
.numbering-card img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.guide-callout {
	margin-top: 20px;
	padding: 18px 22px;
	text-align: center;
	color: #276f91;
	background: #edf6fa;
	border: 1px solid #cfe6f0;
	border-radius: 14px;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.8;
}

.guide-callout a {
	color: #0d6f9f;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.numbering-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.numbering-card {
	padding: 22px;
	text-align: center;
	background: #ffffff;
}

.numbering-card .note {
	margin-bottom: 16px;
	font-size: 17px;
}

.podspec-footer-links {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 30px 0 45px;
	text-align: center;
}

.podspec-footer-links .btn {
	padding: 10px 20px;
	border-radius: 999px;
}

.pchide {
	display: none;
}

.center {
	text-align: center;
}

@media screen and (max-width: 991px) {
	.content.podspec-content {
		padding: 36px 24px 44px;
	}

	.recommend-layout,
	.numbering-grid {
		grid-template-columns: 1fr;
	}

	.size-blocks,
	.paper-blocks {
		grid-template-columns: 1fr;
	}

	.binding-inline-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

@media screen and (max-width: 640px) {
	.container.podspec-page {
		padding-left: 10px;
		padding-right: 10px;
	}

	.content.podspec-content {
		padding: 24px 12px 32px;
		border-radius: 14px;
	}

	.podspec-hero {
		padding: 28px 14px;
		margin-bottom: 28px;
	}

	.title {
		font-size: 28px;
	}

	.title_note {
		font-size: 15px;
		text-align: left;
	}

	.podspec-section {
		margin-top: 24px;
		padding: 20px 12px;
		border-radius: 14px;
	}

	.section-heading {
		align-items: flex-start;
		gap: 12px;
	}

	.section-heading__icon {
		width: 42px;
		height: 42px;
		font-size: 15px;
	}

	.subtitle {
		font-size: 22px;
	}

	.print-spec-row,
	.recommend-row {
		grid-template-columns: 1fr;
	}

	.print-spec-head,
	.recommend-label {
		padding: 12px 14px;
	}

	.print-spec-body,
	.recommend-body {
		padding: 14px;
	}

	.binding-inline-grid {
		grid-template-columns: 1fr;
	}

	.guide-callout {
		padding: 16px;
		font-size: 15px;
	}

	.podspec-footer-links {
		flex-direction: column;
		margin-bottom: 30px;
	}
}


/* 本文データ・表紙データの推奨仕様：1カラム・バッジ表示 */
.recommend-layout--single {
	display: block;
}

.recommend-table--wide {
	width: 100%;
}

.recommend-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-bottom: 4px;
}

.recommend-value {
	color: #283f4b;
	font-weight: bold;
}

.recommend-help {
	display: block;
	color: #6f818a;
	font-size: 0.92em;
	line-height: 1.75;
}

.recommend-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.4;
	white-space: nowrap;
}

.recommend-badge--danger {
	color: #a83232;
	background: #fff1f1;
	border: 1px solid #f2c4c4;
}

.recommend-badge--info {
	color: #286f91;
	background: #eef8fc;
	border: 1px solid #cfe8f2;
}

@media screen and (max-width: 640px) {
	.recommend-main {
		gap: 6px 8px;
	}

	.recommend-badge {
		font-size: 12px;
	}
}

/* ヘッダー下のページ内リンク */
.podspec-quicknav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
}

.podspec-quicknav__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 70px;
	padding: 13px 16px;
	color: #276f91;
	background: #ffffff;
	border: 1px solid #cfe1e9;
	border-radius: 15px;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(31, 79, 108, 0.05);
	transition: all 0.18s ease;
}

.podspec-quicknav__item i {
	color: #3c9fc3;
	font-size: 28px;
}

.podspec-quicknav__item:hover,
.podspec-quicknav__item:focus {
	color: #ffffff;
	background: #3c9fc3;
	border-color: #3c9fc3;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 15px rgba(31, 79, 108, 0.12);
}

.podspec-quicknav__item:hover i,
.podspec-quicknav__item:focus i {
	color: #ffffff;
}

@media screen and (max-width: 640px) {
	.podspec-quicknav {
		grid-template-columns: 1fr;
		gap: 10px;
		margin: -12px 0 26px;
	}

	.podspec-quicknav__item {
		justify-content: flex-start;
		min-height: auto;
		padding: 12px 14px;
		font-size: 14px;
	}
}