/*
=========================================
マン活 あらすじページ共通CSS
Version : 1.0
=========================================
*/

/* =========================
   共通設定
========================= */

.mankatsu-comic-page {
	--comic-main: #e97f98;
	--comic-dark: #c95973;
	--comic-light: #fff1f4;
	--comic-text: #4d4547;
	--comic-subtext: #746b6e;
	--comic-border: #efdadd;
	--comic-white: #ffffff;
	--comic-beige: #f8f2ee;
	--comic-yellow: #f4b85f;

	max-width: 920px;
	margin: 0 auto;
	color: var(--comic-text);
	font-size: 16px;
	line-height: 1.8;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		"Yu Gothic",
		Meiryo,
		sans-serif;
}

.mankatsu-comic-page *,
.mankatsu-comic-page *::before,
.mankatsu-comic-page *::after {
	box-sizing: border-box;
}

.mankatsu-comic-page img {
	max-width: 100%;
	height: auto;
}

.mankatsu-comic-page a {
	color: var(--comic-dark);
}

.mankatsu-comic-page a:hover {
	text-decoration: none;
}


/* =========================
   作品ファーストビュー
========================= */

.comic-hero {
	display: grid;
	grid-template-columns: minmax(180px, 28%) minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	margin: 0 0 48px;
	padding: 30px;
	background: linear-gradient(135deg, #fff8fa 0%, #fff0f4 100%);
	border: 1px solid var(--comic-border);
	border-radius: 20px;
}

.comic-hero__cover {
	width: 100%;
	min-width: 0;
}

.comic-hero__cover img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(109, 76, 83, 0.13);
}

.comic-hero__cover-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
	color: #9b8e90;
	font-size: 14px;
	background: #ffffff;
	border: 1px dashed #d9c4c9;
	border-radius: 8px;
}

.comic-hero__content {
	min-width: 0;
}

.comic-hero__category {
	display: inline-block;
	margin: 0 0 8px !important;
	padding: 3px 12px;
	color: var(--comic-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	background: var(--comic-white);
	border: 1px solid var(--comic-border);
	border-radius: 20px;
}

.mankatsu-comic-page .comic-hero__title {
	width: auto;
	max-width: 100%;
	margin: 0 0 5px !important;
	padding: 0 !important;
	color: #6b4e45;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.4;
	word-break: keep-all;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.comic-hero__author {
	margin: 0 0 18px !important;
	color: #827577;
	font-size: 14px;
	line-height: 1.5;
}

.comic-hero__lead {
	margin: 0 0 20px !important;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.9;
}

.comic-hero__amazon {
	margin-top: 22px;
}

.comic-affiliate-note {
	margin: 0 0 7px !important;
	color: #8a7d7f;
	font-size: 11px;
	line-height: 1.6;
}


/* =========================
   Amazonリンク
========================= */

.comic-amazon-link {
	display: inline-block;
	padding: 10px 18px;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	background: #c87953;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 3px 8px rgba(107, 70, 50, 0.12);
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.comic-amazon-link:hover {
	color: #ffffff !important;
	background: #b96843;
	transform: translateY(-1px);
}

.comic-amazon-link--large {
	padding: 12px 24px;
	font-size: 15px;
}


/* =========================
   共通セクション
========================= */

.comic-section {
	margin-bottom: 50px;
}

.mankatsu-comic-page .comic-section h2 {
	position: relative;
	margin: 0 0 22px !important;
	padding: 12px 16px 12px 22px !important;
	color: #6b4e45;
	font-size: 22px !important;
	font-weight: normal;
	line-height: 1.5;
	background: var(--comic-light) !important;
	border: 0 !important;
	border-radius: 10px;
	box-shadow: none !important;
}

.mankatsu-comic-page .comic-section h2::before {
	position: absolute;
	top: 11px;
	bottom: 11px;
	left: 0;
	width: 6px;
	background: var(--comic-main);
	border-radius: 8px;
	content: "";
}

.mankatsu-comic-page .comic-section p {
	margin: 0 0 16px !important;
	padding: 0;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.9;
}

.mankatsu-comic-page .comic-section p:last-child {
	margin-bottom: 0 !important;
}


/* =========================
   王子の評価
========================= */

.comic-rating-note {
	margin: -8px 0 18px !important;
	color: #867a7c !important;
	font-size: 12px !important;
	line-height: 1.7 !important;
}

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

.comic-rating-item {
	min-width: 0;
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--comic-border);
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(109, 76, 83, 0.05);
}

.comic-rating-item__label {
	display: block;
	margin-bottom: 5px;
	color: #6b4e45;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.comic-rating-item__stars {
	display: block;
	margin-bottom: 10px;
	color: #e5a84c;
	font-size: 20px;
	letter-spacing: 0.05em;
	line-height: 1.2;
	white-space: nowrap;
}

.mankatsu-comic-page .comic-rating-item p {
	margin: 0 !important;
	color: #6d6365;
	font-size: 13px;
	line-height: 1.75;
}


/* =========================
   こんな人におすすめ
========================= */

.comic-recommend-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #eee1e4;
}

.comic-recommend-list li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 26px;
	color: #5f5759;
	font-size: 15px;
	line-height: 1.8;
	border-bottom: 1px solid #eee1e4;
}

.comic-recommend-list li::before {
	position: absolute;
	top: 22px;
	left: 6px;
	width: 7px;
	height: 7px;
	background: #d98a9a;
	border-radius: 50%;
	content: "";
}


/* =========================
   あらすじ
========================= */

.comic-story-section {
	padding-bottom: 4px;
}

.comic-story-section p {
	text-indent: 0;
}


/* =========================
   職業の世界・見どころ
========================= */

.comic-job-experience-section {
	padding: 0;
}

.comic-job-experience-section::after {
	display: block;
	clear: both;
	content: "";
}


/* =========================
   購入導線
========================= */

.comic-buy-section {
	padding: 22px 24px;
	background: #fff9fa;
	border: 1px solid var(--comic-border);
	border-radius: 12px;
}

.mankatsu-comic-page .comic-buy-section h2 {
	margin-bottom: 14px !important;
	padding: 0 !important;
	font-size: 20px !important;
	font-weight: 600;
	background: none !important;
	border-radius: 0;
}

.mankatsu-comic-page .comic-buy-section h2::before {
	display: none;
}

.comic-buy-note {
	margin-top: 10px !important;
	color: #8a7d7f !important;
	font-size: 12px !important;
	line-height: 1.7 !important;
}


/* =========================
   職業ページへ戻る
========================= */

.comic-job-back {
	margin: -18px 0 48px;
	text-align: right;
}

.comic-job-back a {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.comic-job-back a:hover {
	text-decoration: underline;
}


/* =========================
   コメント導入
========================= */

.comic-comment-intro {
	margin-bottom: 24px;
	padding: 22px 24px;
	background: #fff9fa;
	border: 1px solid var(--comic-border);
	border-radius: 12px;
}

.mankatsu-comic-page .comic-comment-intro h2 {
	margin-bottom: 14px !important;
	padding: 0 !important;
	font-size: 20px !important;
	font-weight: 600;
	background: none !important;
}

.mankatsu-comic-page .comic-comment-intro h2::before {
	display: none;
}

.mankatsu-comic-page .comic-comment-intro p {
	margin-bottom: 8px !important;
}

.mankatsu-comic-page .comic-comment-intro p:last-child {
	margin-bottom: 0 !important;
}


/* =========================
   WordPressコメント欄
========================= */

.mankatsu-comic-page + #comments,
.mankatsu-comic-page ~ #comments {
	margin-top: 0;
}

#comments .comments-title,
#respond #reply-title {
	color: #6b4e45;
	font-size: 20px;
	font-weight: normal;
	line-height: 1.5;
}

#respond textarea,
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
	width: 100%;
	max-width: 100%;
	padding: 9px 10px;
	font-size: 14px;
	line-height: 1.6;
	background: #ffffff;
	border: 1px solid #dcc8cd;
	border-radius: 5px;
}

#respond textarea {
	min-height: 140px;
	resize: vertical;
}

#respond input[type="submit"] {
	padding: 9px 22px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	background: #d97f93;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}

#respond input[type="submit"]:hover {
	background: #c7687e;
}


/* =========================
   レスポンシブ
========================= */

@media screen and (max-width: 800px) {

	.comic-rating-list {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 700px) {

	.comic-hero {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 22px;
	}

	.comic-hero__cover {
		max-width: 240px;
		margin: 0 auto;
	}

	.mankatsu-comic-page .comic-hero__title {
		font-size: 23px;
	}

	.mankatsu-comic-page .comic-section h2 {
		font-size: 21px !important;
	}

}

@media screen and (max-width: 600px) {

	.mankatsu-comic-page {
		font-size: 15px;
	}

	.comic-hero {
		padding: 18px;
		border-radius: 14px;
	}

	.comic-hero__cover {
		max-width: 210px;
	}

	.comic-rating-item {
		padding: 16px;
	}

	.comic-buy-section,
	.comic-comment-intro {
		padding: 18px;
	}

	.comic-amazon-link,
	.comic-amazon-link--large {
		display: block;
		width: 100%;
		padding: 11px 14px;
		text-align: center;
	}

	.comic-job-back {
		text-align: left;
	}

}