@charset "utf-8";

/*------------------------------------------------------------------------------

	[ファイル名] sponsor-tokuten.css
		
------------------------------------------------------------------------------*/
.poster-section {
	margin-bottom: 3em;
}

.section-title {
	font-size: 20px;
	padding: 12px 20px 15px;
	color: #333;
	background-image: url("../../images/sponsor-tokuten/section_heading.png");
	background-repeat: repeat-x;
	background-size: auto;
	background-position: left center;
	min-height: 48px;
	display: flex;
	align-items: center;
}

.poster-container {
	display: flex;
	gap: 20px;
}

.poster-left {
	width: 70%;
}

.poster-right {
	width: 30%;
}

.poster-right:empty {
	display: none;
}

.poster-heading {
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: bold;
	margin: 0 0 16px;
	padding: 6px 10px;
	letter-spacing: 1px;
	border-left: 4px solid #c00;
	border-bottom: 1px dotted #e1e1e1;
}

/* 1カラム用 */
.poster-container.is-1col {
	flex-direction: column;
}

.poster-container.is-1col .poster-left,
.poster-container.is-1col .poster-right {
	width: 100%;
}

.free-label {
	color: #ff0000;
	font-weight: bold;
}

.description {
	margin-bottom: 15px;
}

.poster-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.poster-table th,
.poster-table td {
	border: 1px solid #ccc;
	padding: 10px;
	vertical-align: top;
}

.poster-table th {
	width: 25%;
	background: #f7f7f7;
}

.dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: currentColor;
	border-radius: 50%;
	margin-right: 5px;
}

.is-red {
	color: #ff0000;
}

.dot-double::before {
	content: "◎";
	font-size: 10px;
	margin-right: 6px;
	font-weight: bold;
}

.download-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	max-width: 420px;
	margin: 0 auto;
}

.download-list:has(.download-btn:only-child) {
	grid-template-columns: 1fr;
}

.download-list:has(.download-btn:only-child) .download-btn {
	max-width: 260px;
	margin: 0 auto;
}


.download-btn {
	display: block;
	text-align: center;
	text-decoration: none;
	background: #4caf50;
	color: #fff !important;
	padding: 12px;
	font-size: 16px;
	border-radius: 6px;
}

.download-btn:hover {
	background: #45a049;
}

.page-nav {
	display: flex;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 10px 20px;
	flex-wrap: wrap;
}

.page-nav a {
	text-decoration: underline;
	font-size: 14px;
}

.page-nav a::after {
	content: " ▼";
	font-size: 0.8em;
}

.page-nav a:hover {
	text-decoration: underline;
}

/* サムネ */
.poster-img {
	width: 100%;
	cursor: pointer;
}

/* モーダル背景 */
.modal {
	display: none;
	position: fixed;
	z-index: 999;
	padding-top: 60px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
}

/* 拡大画像 */
.modal-content {
	display: block;
	margin: auto;
	max-width: 90%;
	max-height: 80%;
}

/* 閉じるボタン */
.close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
}

.zoom-text {
	margin-top: 8px;
	font-size: 14px;
	color: #007bff;
	cursor: pointer;
	text-decoration: underline;
	text-align: center;
}