
/* ======================================
   学会ポスター激安便 価格・納期比較
====================================== */

.gakkai-cheap-compare,
.gakkai-cheap-compare * {
	box-sizing: border-box;
}

.gakkai-cheap-compare {
	position: relative;
	overflow: hidden;
	margin: 3rem 0;
	padding: 34px;
	background:
		radial-gradient(
			circle at top right,
			rgba(228, 0, 127, 0.12),
			transparent 30%
		),
		linear-gradient(
			180deg,
			#fff8fc 0%,
			#ffffff 48%,
			#fffafd 100%
		);
	border: 1px solid #f2c7df;
	border-radius: 20px;
	box-shadow: 0 14px 36px rgba(66, 24, 47, 0.09);
}


/* ======================================
   見出し
====================================== */

.gakkai-cheap-compare__head {
	max-width: 760px;
	margin: 0 auto 28px;
	text-align: center;
}

.gakkai-cheap-compare__label {
	display: inline-block;
	margin: 0 0 11px;
	padding: 6px 15px;
	background: #e4007f;
	color: #ffffff;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: bold;
	letter-spacing: 0.06em;
}

.gakkai-cheap-compare__head h2 {
	margin: 0 0 13px;
	color: #222222;
	font-size: clamp(1.55rem, 3.4vw, 2.15rem);
	font-weight: bold;
	line-height: 1.45;
}

.gakkai-cheap-compare__lead {
	margin: 0;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.85;
}


/* ======================================
   価格ハイライト
====================================== */

.gakkai-cheap-compare__highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 13px;
	margin: 0 0 24px;
}

.gakkai-cheap-compare__highlight {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 18px 14px;
	background: #ffffff;
	border: 2px solid #f4b4d7;
	border-radius: 15px;
	box-shadow: 0 8px 20px rgba(228, 0, 127, 0.08);
	text-align: center;
}

.gakkai-cheap-compare__highlight-label {
	display: inline-block;
	margin-bottom: 7px;
	padding: 4px 10px;
	background: #fff0f8;
	color: #b00063;
	border-radius: 999px;
	font-size: 0.73rem;
	font-weight: bold;
}

.gakkai-cheap-compare__highlight-price {
	display: block;
	color: #e4007f;
	font-size: 1.85rem;
	font-weight: bold;
	line-height: 1.2;
}

.gakkai-cheap-compare__highlight-price small {
	font-size: 0.68rem;
}

.gakkai-cheap-compare__highlight-difference {
	display: block;
	margin-top: 8px;
	color: #555555;
	font-size: 0.76rem;
	font-weight: bold;
	line-height: 1.5;
}


/* ======================================
   比較表
====================================== */

.gakkai-cheap-compare__table-wrap {
	overflow-x: auto;
	margin: 0 0 22px;
	border: 1px solid #e5e7eb;
	border-radius: 15px;
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.gakkai-cheap-compare__table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	background: #ffffff;
	table-layout: fixed;
}

.gakkai-cheap-compare__table th,
.gakkai-cheap-compare__table td {
	padding: 14px 11px;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	text-align: center;
	vertical-align: middle;
}

.gakkai-cheap-compare__table tr:last-child th,
.gakkai-cheap-compare__table tr:last-child td {
	border-bottom: 0;
}

.gakkai-cheap-compare__table th:last-child,
.gakkai-cheap-compare__table td:last-child {
	border-right: 0;
}

.gakkai-cheap-compare__table thead th {
	position: relative;
	background: #f4f5f7;
	color: #242933;
	font-size: 0.93rem;
	font-weight: bold;
}

.gakkai-cheap-compare__table thead th:first-child {
	width: 18%;
	background: #374151;
	color: #ffffff;
}

.gakkai-cheap-compare__table thead .is-cheap {
	padding-top: 30px;
	background: #e4007f;
	color: #ffffff;
}

.gakkai-cheap-compare__table thead .is-normal {
	background: #1d8fff;
	color: #ffffff;
}

.gakkai-cheap-compare__table thead .is-express {
	background: #292929;
	color: #ffffff;
}

.gakkai-cheap-compare__plan-tag {
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	padding: 3px 9px;
	background: #ffffff;
	color: #e4007f;
	border-radius: 999px;
	font-size: 0.61rem;
	font-weight: bold;
	white-space: nowrap;
}

.gakkai-cheap-compare__table tbody th {
	background: #f8f9fb;
	color: #374151;
	font-size: 0.79rem;
	font-weight: bold;
	line-height: 1.55;
}

.gakkai-cheap-compare__table tbody td {
	color: #353b46;
	font-size: 0.8rem;
	line-height: 1.55;
}

.gakkai-cheap-compare__table tbody td.is-cheap {
	background: #fff5fa;
	box-shadow: inset 2px 0 0 #e4007f, inset -2px 0 0 #e4007f;
}

.gakkai-cheap-compare__table tbody tr:last-child td.is-cheap {
	box-shadow:
		inset 2px 0 0 #e4007f,
		inset -2px 0 0 #e4007f,
		inset 0 -2px 0 #e4007f;
}

.gakkai-cheap-compare__table td strong {
	display: block;
	color: #222222;
	font-size: 0.9rem;
	font-weight: bold;
}

.gakkai-cheap-compare__table td small {
	display: block;
	margin-top: 4px;
	color: #6b7280;
	font-size: 0.67rem;
	line-height: 1.55;
}

.gakkai-cheap-compare__table .gakkai-cheap-compare__main-price {
	color: #e4007f;
	font-size: 1.3rem;
}

.gakkai-cheap-compare__price-diff {
	display: block;
	margin-top: 6px;
	padding: 4px 6px;
	background: #f3f4f6;
	color: #5b616c;
	border-radius: 5px;
	font-size: 0.65rem;
	font-weight: bold;
}


/* ======================================
   価格メリット
====================================== */

.gakkai-cheap-compare__saving {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	margin: 0 0 22px;
	padding: 20px;
	background:
		linear-gradient(
			135deg,
			#fff0f8 0%,
			#ffffff 100%
		);
	border: 1px solid #f2b3d5;
	border-radius: 15px;
}

.gakkai-cheap-compare__saving-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	background: #e4007f;
	color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(228, 0, 127, 0.23);
	font-size: 1.7rem;
	font-weight: bold;
}

.gakkai-cheap-compare__saving-label {
	margin: 0 0 3px;
	color: #9c145f;
	font-size: 0.72rem;
	font-weight: bold;
	letter-spacing: 0.04em;
}

.gakkai-cheap-compare__saving-title {
	margin: 0 0 6px;
	color: #272b33;
	font-size: 1.08rem;
	font-weight: bold;
	line-height: 1.55;
}

.gakkai-cheap-compare__saving-title strong {
	color: #e4007f;
	font-size: 1.3em;
        font-weight: bold;
}

.gakkai-cheap-compare__saving-text {
	margin: 0;
	color: #555e6b;
	font-size: 0.78rem;
	line-height: 1.75;
}


/* ======================================
   CTA
====================================== */

.gakkai-cheap-compare__cta {
	max-width: 650px;
	margin: 0 auto;
	text-align: center;
}

.gakkai-cheap-compare__btn,
.gakkai-cheap-compare__btn:link,
.gakkai-cheap-compare__btn:visited {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 22px;
	align-items: center;
	gap: 11px;
	width: 100%;
	padding: 15px 18px;
	background:
		linear-gradient(
			135deg,
			#e4007f 0%,
			#ff329f 100%
		);
	color: #ffffff !important;
	border: 2px solid #e4007f;
	border-radius: 999px;
	box-shadow: 0 12px 27px rgba(228, 0, 127, 0.28);
	text-decoration: none;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease;
}

.gakkai-cheap-compare__btn:hover {
	transform: translateY(-3px);
	color: #ffffff !important;
	box-shadow: 0 17px 34px rgba(228, 0, 127, 0.36);
	opacity: 1;
}

.gakkai-cheap-compare__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 50%;
}

.gakkai-cheap-compare__btn-icon svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: #ffffff;
}

.gakkai-cheap-compare__btn-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	text-align: center;
}

.gakkai-cheap-compare__btn-sub {
	display: block;
	margin-bottom: 2px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.7rem;
	font-weight: bold;
	line-height: 1.4;
}

.gakkai-cheap-compare__btn-main {
	display: block;
	color: #ffffff;
	font-size: 1.02rem;
	font-weight: bold;
	line-height: 1.45;
}

.gakkai-cheap-compare__btn-arrow {
	font-size: 1.1rem;
	transition: transform 0.22s ease;
}

.gakkai-cheap-compare__btn:hover .gakkai-cheap-compare__btn-arrow {
	transform: translateX(4px);
}

.gakkai-cheap-compare__cta-note {
	margin: 9px 0 0;
	color: #6b7280;
	font-size: 0.72rem;
	line-height: 1.6;
}


/* ======================================
   注記
====================================== */

.gakkai-cheap-compare__note {
	margin: 21px 0 0;
	padding: 11px 14px;
	background: #f8f9fb;
	color: #68707d;
	border-left: 4px solid #e4007f;
	font-size: 0.68rem;
	line-height: 1.7;
}


/* ======================================
   タブレット
====================================== */

@media screen and (max-width: 900px) {
	.gakkai-cheap-compare {
		padding: 28px 22px;
	}

	.gakkai-cheap-compare__highlights {
		gap: 9px;
	}

	.gakkai-cheap-compare__highlight {
		padding: 15px 9px;
	}

	.gakkai-cheap-compare__highlight-price {
		font-size: 1.55rem;
	}
}


/* ======================================
   スマートフォン
====================================== */

@media screen and (max-width: 768px) {
	.gakkai-cheap-compare {
		margin: 2rem 0;
		padding: 22px 13px;
		border-radius: 15px;
	}

	.gakkai-cheap-compare__head {
		margin-bottom: 21px;
		text-align: left;
	}

	.gakkai-cheap-compare__head h2 {
		font-size: 1.45rem;
	}

	.gakkai-cheap-compare__head h2 br {
		display: none;
	}

	.gakkai-cheap-compare__lead {
		font-size: 0.87rem;
	}

	.gakkai-cheap-compare__highlights {
		grid-template-columns: 1fr;
	}

	.gakkai-cheap-compare__highlight {
		display: grid;
		grid-template-columns: minmax(90px, 0.8fr) minmax(100px, 1fr);
		align-items: center;
		min-height: auto;
		padding: 13px;
		text-align: left;
	}

	.gakkai-cheap-compare__highlight-label {
		grid-column: 1;
		grid-row: 1;
		width: fit-content;
		margin: 0;
	}

	.gakkai-cheap-compare__highlight-price {
		grid-column: 2;
		grid-row: 1 / span 2;
		text-align: right;
	}

	.gakkai-cheap-compare__highlight-difference {
		grid-column: 1;
		grid-row: 2;
		margin-top: 5px;
		font-size: 0.69rem;
	}

	.gakkai-cheap-compare__table-wrap {
		border: 0;
		box-shadow: none;
		overflow: visible;
	}

	.gakkai-cheap-compare__table,
	.gakkai-cheap-compare__table thead,
	.gakkai-cheap-compare__table tbody,
	.gakkai-cheap-compare__table tr,
	.gakkai-cheap-compare__table th,
	.gakkai-cheap-compare__table td {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.gakkai-cheap-compare__table thead {
		display: none;
	}

	.gakkai-cheap-compare__table tbody {
		display: grid;
		gap: 13px;
	}

	.gakkai-cheap-compare__table tbody tr {
		overflow: hidden;
		background: #ffffff;
		border: 1px solid #e2e5eb;
		border-radius: 12px;
		box-shadow: 0 6px 16px rgba(17, 24, 39, 0.05);
	}

	.gakkai-cheap-compare__table tbody th {
		padding: 10px 12px;
		background: #374151;
		color: #ffffff;
		border: 0;
		font-size: 0.82rem;
		text-align: left;
	}

	.gakkai-cheap-compare__table tbody td {
		position: relative;
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		align-items: center;
		gap: 10px;
		padding: 12px;
		border: 0;
		border-bottom: 1px solid #e5e7eb;
		text-align: left;
	}

	.gakkai-cheap-compare__table tbody td:last-child {
		border-bottom: 0;
	}

	.gakkai-cheap-compare__table tbody td::before {
		display: inline-block;
		font-size: 0.73rem;
		font-weight: bold;
	}

	.gakkai-cheap-compare__table tbody td:nth-of-type(1)::before {
		content: "激安便";
		color: #e4007f;
	}

	.gakkai-cheap-compare__table tbody td:nth-of-type(2)::before {
		content: "通常便";
		color: #1d8fff;
	}

	.gakkai-cheap-compare__table tbody td:nth-of-type(3)::before {
		content: "特急便";
		color: #292929;
	}

	.gakkai-cheap-compare__table tbody td.is-cheap {
		background: #fff3f9;
		box-shadow: inset 4px 0 0 #e4007f;
	}

	.gakkai-cheap-compare__table tbody tr:last-child td.is-cheap {
		box-shadow: inset 4px 0 0 #e4007f;
	}

	.gakkai-cheap-compare__table td strong,
	.gakkai-cheap-compare__table td small,
	.gakkai-cheap-compare__price-diff {
		grid-column: 2;
	}

	.gakkai-cheap-compare__saving {
		grid-template-columns: 50px minmax(0, 1fr);
		gap: 12px;
		padding: 16px 13px;
	}

	.gakkai-cheap-compare__saving-icon {
		width: 50px;
		height: 50px;
		font-size: 1.35rem;
	}

	.gakkai-cheap-compare__saving-title {
		font-size: 0.96rem;
	}

	.gakkai-cheap-compare__saving-text {
		font-size: 0.73rem;
	}

	.gakkai-cheap-compare__btn,
	.gakkai-cheap-compare__btn:link,
	.gakkai-cheap-compare__btn:visited {
		grid-template-columns: 40px minmax(0, 1fr) 18px;
		padding: 13px 12px;
	}

	.gakkai-cheap-compare__btn-icon {
		width: 38px;
		height: 38px;
	}

	.gakkai-cheap-compare__btn-main {
		font-size: 0.93rem;
	}
}


/* ======================================
   小型スマートフォン
====================================== */

@media screen and (max-width: 390px) {
	.gakkai-cheap-compare {
		padding: 18px 10px;
	}

	.gakkai-cheap-compare__head h2 {
		font-size: 1.3rem;
	}

	.gakkai-cheap-compare__highlight {
		grid-template-columns: 1fr 1fr;
		padding: 11px 9px;
	}

	.gakkai-cheap-compare__highlight-price {
		font-size: 1.35rem;
	}

	.gakkai-cheap-compare__table tbody td {
		grid-template-columns: 67px minmax(0, 1fr);
		padding: 10px 8px;
	}

	.gakkai-cheap-compare__saving {
		grid-template-columns: 1fr;
	}

	.gakkai-cheap-compare__saving-icon {
		width: 44px;
		height: 44px;
	}

	.gakkai-cheap-compare__btn,
	.gakkai-cheap-compare__btn:link,
	.gakkai-cheap-compare__btn:visited {
		grid-template-columns: 36px minmax(0, 1fr) 15px;
		gap: 7px;
		padding: 11px 9px;
	}

	.gakkai-cheap-compare__btn-icon {
		width: 34px;
		height: 34px;
	}

	.gakkai-cheap-compare__btn-icon svg {
		width: 18px;
		height: 18px;
	}

	.gakkai-cheap-compare__btn-sub {
		font-size: 0.62rem;
	}

	.gakkai-cheap-compare__btn-main {
		font-size: 0.84rem;
	}
}

