/* =========================================================
   本文用紙一覧ページ専用
   /resources/views/.../paper.blade.php
   /resources/views/common/paper_explain.blade.php
   ========================================================= */

.paper-page {
	padding-top: 24px;
	padding-bottom: 48px;
}

/* ヘッダー */
.paper-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 22px;
	padding: 34px 36px;
	border: 1px solid #d7e6f7;
	border-radius: 18px;
	background:
		radial-gradient(circle at top right, rgba(65, 145, 220, .20), transparent 34%),
		linear-gradient(135deg, #f7fbff 0%, #fff 55%, #eef7ff 100%);
	box-shadow: 0 10px 30px rgba(30, 92, 150, .08);
}

.paper-hero:before {
	content: "";
	position: absolute;
	right: -38px;
	bottom: -52px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(65, 145, 220, .12);
}

.paper-hero__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	color: #1f6fb2;
	font-weight: 700;
	font-size: 13px;
	box-shadow: 0 4px 14px rgba(30, 92, 150, .08);
}

.paper-hero__title {
	position: relative;
	margin: 0 0 10px;
	color: #17324d;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.45;
}

.paper-hero__lead {
	position: relative;
	max-width: 760px;
	margin: 0;
	color: #51687f;
	font-size: 15px;
	line-height: 1.8;
}

/* 導入カード */
.paper-guide {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 24px;
}

.paper-guide__item {
	display: flex;
	gap: 12px;
	min-height: 104px;
	padding: 18px 18px 16px;
	border: 1px solid #d7e6f7;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(30, 92, 150, .06);
}

.paper-guide__icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #2f8fd8;
	color: #fff;
	text-align: center;
	line-height: 30px;
}

.paper-guide__item strong {
	display: block;
	margin-bottom: 5px;
	color: #17324d;
	font-size: 15px;
}

.paper-guide__item p {
	margin: 0;
	color: #51687f;
	font-size: 13px;
	line-height: 1.65;
}

/* セクション */
.paper-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.paper-section {
	overflow: hidden;
	border: 1px solid #d7e6f7;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(30, 92, 150, .07);
}

.paper-section__title {
	margin: 0;
	padding: 16px 20px;
	background: linear-gradient(135deg, #1f6fb2 0%, #45a5e8 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.paper-section__title span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.paper-section__title span:before {
	content: "\f02d";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	opacity: .9;
}

/* 表 */
.paper-table-wrap {
	margin: 0;
	border: 0;
}

.paper-table {
	width: 100%;
	margin-bottom: 0;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.paper-table th,
.paper-table td {
	vertical-align: top !important;
	border-top: 0 !important;
	border-right: 1px solid #e1edf8;
	border-bottom: 1px solid #e1edf8;
	padding: 16px 18px !important;
	color: #2d4054;
	line-height: 1.75;
}

.paper-table th:last-child,
.paper-table td:last-child {
	border-right: 0;
}

.paper-table thead th {
	background: #f0f7ff;
	color: #1f6fb2;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.paper-table tbody tr:nth-child(even) {
	background: #fbfdff;
}

.paper-table tbody tr:hover {
	background: #eef7ff;
}

.paper-table__name {
	width: 23%;
}

.paper-table__use {
	width: 27%;
}

.paper_name {
	color: #17324d !important;
	font-size: 15px;
	font-weight: 700;
}

.paper_feature,
.paper_youto {
	font-size: 14px;
}

.paper_youto {
	color: #465e76 !important;
}

/* 値段比較 */
.paper-price-note {
	position: relative;
	margin: 0;
	padding: 17px 20px 18px 24px;
	border-top: 1px solid #bdd9f3;
	background: #fff;
}


.paper-price-note__label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ffffff;
	color: #1f6fb2;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(31, 111, 178, .08);
}

.paper-price-note__label i {
	color: #2f8fd8;
}

.paper-price-note__label span {
	margin-left: 4px;
	color: #55718c;
	font-size: 12px;
	font-weight: 400;
}

.paper-price-note p {
	margin: 0;
	color: #244864;
	line-height: 1.8;
}

.paper-price-note strong {
	color: #17324d;
}

/* 既存クラス対策：他CSSの影響を受けにくくする */
.paper-page .table-responsive {
	border: 0;
}

.paper-page .table>thead>tr>th,
.paper-page .table>tbody>tr>th,
.paper-page .table>tbody>tr>td {
	border-left: 0;
}

/* タブレット */
@media (max-width: 991px) {
	.paper-guide {
		grid-template-columns: 1fr;
	}

	.paper-hero {
		padding: 28px 24px;
	}

	.paper-hero__title {
		font-size: 24px;
	}
}

/* スマホ：横スクロール表ではなくカード風に見せる */
@media (max-width: 767px) {
	.paper-page {
		padding-top: 12px;
		padding-bottom: 32px;
	}

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

	.paper-hero__title {
		font-size: 21px;
	}

	.paper-guide__item {
		min-height: 0;
		padding: 16px;
	}

	.paper-section {
		border-radius: 14px;
	}

	.paper-section__title {
		padding: 14px 16px;
		font-size: 17px;
	}

	.paper-table,
	.paper-table thead,
	.paper-table tbody,
	.paper-table tr,
	.paper-table th,
	.paper-table td {
		display: block;
		width: 100%;
	}

	.paper-table thead {
		display: none;
	}

	.paper-table tbody tr {
		padding: 15px 16px;
		border-bottom: 1px solid #e1edf8;
		background: #fff;
	}

	.paper-table tbody tr:nth-child(even) {
		background: #fff;
	}

	.paper-table th,
	.paper-table td {
		padding: 0 !important;
		border: 0 !important;
	}

	.paper_name {
		margin-bottom: 8px;
		font-size: 16px;
	}

	.paper_feature,
	.paper_youto {
		font-size: 13px;
	}

	.paper_feature {
		margin-bottom: 8px;
	}

	.paper_youto:before {
		content: "おすすめ用途";
		display: inline-block;
		margin-right: 8px;
		padding: 2px 8px;
		border-radius: 999px;
		background: #e8f4ff;
		color: #1f6fb2;
		font-size: 12px;
		font-weight: 700;
	}

	.paper-price-note {
		padding: 14px 16px 16px;
	}

	.paper-price-note__label {
		display: flex;
		align-items: flex-start;
		flex-wrap: wrap;
		line-height: 1.6;
	}
}