﻿@charset "utf-8";
/* =========================================================
   夏の壁紙芸術祭2026 特設ページ専用CSS
   ※ 既存の basic.css / top.css / sp-nav.css は変更しません
   ※ クラス名はすべて "wc-" プレフィックスで衝突を回避
   ========================================================= */

.wc-hero,
.wc-lead,
.wc-vote,
.wc-gallery {
	box-sizing: border-box;
}
.wc-hero *, .wc-lead *, .wc-vote *, .wc-gallery *, .wc-lightbox * {
	box-sizing: border-box;
}

/* ---------- メインビジュアル ---------- */
.wc-hero {
	background: url('../images/wallpaper_contest/back.webp') center center / cover no-repeat;
	padding: 60px 0 55px;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-top: 110px;
}

.wc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.4);
	z-index: 0;
}

.wc-hero > .content-wrapper {
	position: relative;
	z-index: 2;
}

.wc-hero-circles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 1;
	pointer-events: none;
}

.wc-circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,0.55);
	box-shadow: 0 0 24px 8px rgba(255,255,255,0.45);
	transform: scale(0);
	animation: wcCircleGrow 3.5s ease-out infinite;
	animation-play-state: paused;
}

/* 背景画像の読み込み完了後（.wc-hero に is-bg-ready が付与された後）にアニメーション開始 */
.wc-hero.is-bg-ready .wc-circle {
	animation-play-state: running;
}

.wc-circle-1 { width: 120px; height: 120px; left: 8%;  top: 15%; animation-delay: 0s; }
.wc-circle-2 { width: 80px;  height: 80px;  left: 22%; top: 65%; animation-delay: 0.8s; }
.wc-circle-3 { width: 160px; height: 160px; left: 45%; top: 8%;  animation-delay: 1.6s; }
.wc-circle-4 { width: 100px; height: 100px; left: 68%; top: 55%; animation-delay: 2.4s; }
.wc-circle-5 { width: 70px;  height: 70px;  left: 85%; top: 20%; animation-delay: 0.4s; }
.wc-circle-6 { width: 140px; height: 140px; left: 60%; top: 78%; animation-delay: 3.0s; }

@keyframes wcCircleGrow {
	0%   { transform: scale(0);   opacity: 0; }
	15%  { opacity: 1; }
	55%  { transform: scale(1.3); opacity: 0.9; }
	100% { transform: scale(1.9); opacity: 0; }
}

@media screen and (max-width:768px) {
	.wc-circle { display: none; }
}

.wc-hero-eyebrow {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: #fff;
	margin: 0 0 30px;
}

.wc-hero-title {
	font-size: 64px;
	font-weight:500;
	color: #2f72ed;
	margin: 0 0 18px;
	line-height: 1.3;
	  font-family: "Mochiy Pop One", sans-serif;
	letter-spacing: 0.03em;
	-webkit-text-stroke:10px #fff;
	paint-order: stroke fill;
}

.wc-hero-title-accent {
	color: #fa0780;
	-webkit-text-fill-color: #fa0780;
	-webkit-text-stroke: 10px #fff;
	paint-order: stroke fill;
}

.wc-hero-year {
	display: inline-block;
	font-size: 0.7em;
	vertical-align: middle;
	color: #40027c;
}

.wc-hero-badge {
	display: inline-block;
	background: #40027c;
	color: #fff;
	font-size:18px;
	font-weight:600;
	padding: 10px 33px 12px;
	border-radius: 30px;
	letter-spacing: 0.1em;
	margin: 0;
}

@media screen and (max-width:768px) {
	.wc-hero { padding: 45px 0 40px; }
	.wc-hero-title { font-size: 36px; }
	.wc-hero-badge { font-size: 13px; padding: 8px 18px; }
}

/* ---------- リード文 ---------- */
.wc-lead {
	padding: 45px 0;
	background: #fff;
}
.wc-lead p {
	font-size: 16px;
	line-height: 2;
	color: #435259;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}
@media screen and (max-width:768px) {
	.wc-lead p { font-size: 14px; text-align: left; line-height: 1.9; }
}

/* ---------- 投票案内 ---------- */
.wc-vote {
	background: #fef6fa;
	padding: 40px 0;
}
.wc-vote-bottom {
	background: #f5f2f8;
}
.wc-vote-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	text-align: center;
}
.wc-vote-text h2 {
	font-size: 22px;
	color: #40027c;
	margin: 0 0 15px;
}
.wc-vote-text p {
	font-size: 14px;
	color: #435259;
	margin: 0;
}
.wc-vote-btn {
	display: inline-block;
	background: #fa0780;
	color: #fff !important;
	font-weight: 700;
	font-size: 16px;
	padding: 16px 40px;
	border-radius: 40px;
	text-decoration: none;
	white-space: nowrap;
	transition: 0.2s;
	box-shadow: 0 6px 16px rgba(250,7,128,0.3);
}
.wc-vote-btn:hover {
	background: #3f0478;
	box-shadow: 0 6px 16px rgba(63,4,120,0.3);
}

/* ---------- ギャラリー全体 ---------- */
.wc-gallery {
	padding: 55px 0 65px;
	background: #fafafa;
}
.wc-gallery .content-inner {
	max-width: 1500px;
}
.wc-section-title {
	text-align: center;
	font-size: 26px;
	color: #1d2b53;
	margin: 0 0 40px;
	position: relative;
}
.wc-section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background: #fa0780;
	margin: 14px auto 0;
	border-radius: 2px;
}

/* ---------- カードグリッド ---------- */
.wc-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:60px 50px;
}

@media screen and (min-width:1024px) {
	.wc-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width:767px) {
	.wc-card-grid { grid-template-columns: 1fr; gap: 35px; }
}

.wc-card {
	position: relative;
	background: #fff;
	FONT-VARIANT: JIS83;
	padding:45px 22px 26px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

@media screen and (max-width:1024px) {
.wc-card {padding:20px 22px 26px;}	
}
@media screen and (max-width:767px) {
.wc-card {padding:45px 22px 26px;}	
}



.wc-card-number {
	position: absolute;
	top: -4px;
	left: 22px;
	width: 40px;
	height: 40px;
	background: #fa0780;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 8px;
	clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
	box-shadow: 0 3px 8px rgba(250,7,128,0.35);
	z-index: 10;
}

.wc-card-title {
	font-size: 18px;
	color: #1a1a1a;
	margin: -3px 0 4px;
	line-height: 1.5;
	text-align: center;
}

.wc-card-office {
	font-size: 15px;
	color: #40027c;
	font-weight: 600;
	margin: 10px 0 16px;
	text-align: center;
}

/* ---------- メイン画像（1枚目を大きく表示） ---------- */
.wc-main {
	position: relative;
	aspect-ratio: 4 / 3;
	/* border-radius: 10px; */
	overflow: hidden;
	cursor: zoom-in;
	background: #f2f1f3;
	margin: 0 0 10px;
}
.wc-main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: 0.2s;
}
.wc-main::after {
	content: "🔍 クリックで拡大";
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(29,43,83,0.65);
	color: #fff;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 20px;
	opacity: 0;
	transition: 0.2s;
	pointer-events: none;
}
.wc-main:hover::after {
	opacity: 1;
}

/* ---------- サムネイル3枚（クリックでメイン画像を切替） ---------- */
.wc-thumbs-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.wc-thumb-sm {
	position: relative;
	aspect-ratio: 1 / 1;
	/* border-radius: 6px; */
	overflow: hidden;
	cursor: pointer;
	background: #f2f1f3;
	border: 2px solid transparent;
	transition: 0.15s;
}
.wc-thumb-sm img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.wc-thumb-sm.is-active {
	border-color: #9a9a9a;
	opacity: 0.8;
}
.wc-thumb-sm:hover {
	border-color: #c9c4cf;
}

@media screen and (max-width:480px) {
	.wc-main::after { font-size: 10px; padding: 3px 8px; }
}

/* ---------- ライトボックス ---------- */
.wc-lightbox {
	display: none;
	position: fixed;
	z-index: 999999999;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(20,15,25,0.85);
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.wc-lightbox.is-open {
	display: flex;
}
.wc-lightbox-inner {
	position: relative;
	max-width: 900px;
	width: 100%;
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	max-height: 90vh;
	overflow-y: auto;
	text-align: center;
}
.wc-lightbox-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: #40027c;
	cursor: pointer;
}
.wc-lightbox-media img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}
.wc-lightbox-caption {
	margin: 14px 0 0;
	font-size: 14px;
	color: #435259;
}
.wc-lightbox-caption strong {
	color: #fa0780;
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
}
