/* ==================================================
   front-page.css
   ※ front-page 専用（デザイン厳守 + 1100px未満は可変）
================================================== */

/* ==================================================
   Header
================================================== */

.bw-header {
	text-align: center;
}

.bw-header__inner {
	max-width: var(--bw-max-width);
	margin: 0 auto;
}

.bw-header__title {
	font-size: clamp(42px, 6.6vw, 80px);
	font-weight: 800;
	line-height: 1;
	margin: clamp(120px, 18vw, 200px) 0 0;
}

.bw-header__subtitle {
	font-size: clamp(18px, 2.6vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	margin-top: clamp(16px, 2.6vw, 30px);
	margin: 0 0 clamp(80px, 13.6vw, 150px);
}

/* ==================================================
   Yellow Notice
================================================== */

.bw-front__notice {
	max-width: var(--bw-max-width);
	margin: 0 auto;
	height: clamp(72px, 9vw, 100px);
	margin-bottom: clamp(48px, 7.2vw, 80px);
	background: var(--color-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(16px, 2.2vw, 24px);
	font-weight: 500;
	color: var(--color-muted);
	text-align: center;
}

/* ==================================================
   Grid
================================================== */

.bw-front__grid {
	max-width: var(--bw-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* ==================================================
   Thumbnail Card
================================================== */

.bw-thumb-card {
	position: relative;
}

.bw-thumb-card__link {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--color-gray);
}

.bw-thumb-card__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.bw-thumb-card__link:hover img {
	transform: scale(1.03);
}

.bw-thumb-card__number {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 0 0 5px;
	font-size: clamp(22px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1;
	color: #fff;
	text-shadow:
		0 2px 6px rgba(0, 0, 0, 0.45),
		0 6px 16px rgba(0, 0, 0, 0.35);
	pointer-events: none;
	z-index: 2;
}

/* ==================================================
   Vote Button
================================================== */

.bw-front__action {
	margin-top: 100px;
	margin-bottom: 150px;
	text-align: center;
}

.bw-front__action .bw-button {
	/* デザイン：w400 h100 / 文字36px / 色 #6E6E6E */
	width: min(400px, 100%);
	height: 100px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(20px, 3.2vw, 36px);
	font-weight: 700;
	background: var(--color-yellow);
	color: var(--color-muted);
	border-radius: 12px;
}

/* ==================================================
   Responsive
================================================== */

@media (max-width: 1100px) {
	.bw-front__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.bw-front__grid {
		grid-template-columns: 1fr;
	}
}
