/* ===== リセット & ベース ===== */
:root {
	--font-size-sss: clamp(10px, 3.200vw, 18px); /* 12px */
	--font-size-ss: clamp(12px, 3.733vw, 18px); /* 14px */
	--font-size-s: clamp(14px, 4.267vw, 22px); /* 16px */
	--font-size-r: clamp(16px, 4.800vw, 26px); /* 18px */

	--font-size-l: clamp(22px, 6.400vw, 28px); /* 24px */

	--font-size-ll: clamp(28px, 8.000vw, 34px); /* 30px */
	--font-size-lll: clamp(30px, 8.533vw, 36px); /* 32px */

	--color-green:#B8D4C1;
	--color-lightblue:#88C0D8;
	--color-blue:#62A5D8;
	--color-pink:#EFB5B6;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-weight: normal;
}
.w960vsbl{
	display: none;
}
body {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 400;
	font-style: normal;
	background: #fff;
	color: #333;
}

img {
	max-width: 100%;
	display: block;
}
p{
	text-align: justify;
}

/* ===== レイアウト ===== */
.container {
	width: 88%;
	margin: 0 auto;
}
* .w88{
	width: 88%;
	max-width: 960px;
	margin: 0 auto;
}	
* .w80{
	width: 80%;
	max-width: 960px;
	margin: 0 auto;
}	

/* ===== ヘッダー ===== */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 3% 4%;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
}
.logo{
	width: 35%;
}
.logo img {
	width: 100%;
}
header a{
	display: block;
}

.btn-apply {
	text-decoration: none;
	background: var(--color-green);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 3% 4%;
	font-size: var(--font-size-ss);
	font-weight: 500;
	text-align: center;
	width: clamp(100px,55%,300px);
	text-align: center;
	border: 3px solid #fff;
	box-shadow: 1px 2px 4px rgba(0 , 0 , 0 , 0.25);
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-apply:hover {
	opacity: 0.82;
	transform: scale(1.04);
}

.btn-apply::after {
	content: '▶';
	font-size: 12px;
	border-radius: 100px;
	background-color: #fff;
	color: var(--color-green);
	aspect-ratio: 1 / 1;
    padding: 5px 4px 5px 6px;
	line-height: 1;
	display: inline-block;
	margin-left: 5%;
	transform: rotate(90deg);
}

/* ===== ヒーロー ===== */
.hero {
	position: relative;
	overflow: hidden;
	background:url(images/wave_top.svg) ,url(images/hero.webp);
	background-size: 100% auto,cover;
	background-position:bottom -10px center,center center ;
	background-repeat: no-repeat,no-repeat;
	height: clamp(360px ,117vw ,800px);
}

.hero img {
	width: 100%;
	min-height: 360px;
	object-fit: cover;
}

.hero-title {
	position: absolute;
    top: 22vw;
    right: 6vw;
	font-size: clamp(32px, 8.800vw, 72px);;
	font-weight: 900;
	color: #674F4F;
	line-height: 1.3;
	text-align: right;
	padding: 10vw 0;
	background-image: url(images/moon.webp),url(images/star.webp);
	background-repeat: no-repeat,no-repeat;
	background-position: right top, left 12vw bottom;
	background-size: 10vw auto,9vw auto;
}
.hero-title > span{
	background-image: url(images/line.webp);
	background-repeat: no-repeat;
	background-size:100% clamp(5px , 2vw , 15px);
	background-position: bottom 0.4rem center;
	position: relative;
}
.hero-title > span:first-child{
	position: relative;
	right: 12%;
}
.hero-title > span > span{
    vertical-align: text-bottom;
	font-size: 85%;
}
.badge-prize {
	position: absolute;
    bottom: 18vw;
    right: 8vw;
	background: var(--color-pink);
	border: 3px solid #fff;
	border-radius: 50%;
	width: clamp(110px, 30vw, 160px);
	height: clamp(110px, 30vw, 160px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.badge-prize:after{
	position: absolute;
	top: -16%;
	right: -8%;
	content: "";
	width: 50%;
	background-image: url(images/cloud.webp);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center top;
	padding-top: 28%;
}

.badge-prize div{
	color: #fff;
	text-align: center;
	font-size: var(--font-size-r);
	font-weight: 500;
	line-height: 1.4;
}
.badge-prize div span{
	font-size: 75%;
}

.hero-tagline {
	position: absolute;
	bottom: 16px;
	text-align: center;
	width: 100%;
}
.hero-tagline img{
	width: 80%;
	min-height: 1px;
	display: block;
	margin: 0 auto 1%;
}
.hero-tagline img.nosp{
	display:  none;
}

/* ===== 応募期間 ===== */
.entry-period {
	padding: 8% 0 0;
	text-align: center;
	margin: 0 auto 12%;
}

.entry-period-label {
	font-size: var(--font-size-s);
	font-weight: 500;
	color: #666;
	margin-bottom: 8px;
	text-align: left;
	margin-left: 8%;
}

.entry-period-date {
	width: 100%;
	background: var(--color-lightblue);
	color: #fff;
	border-radius: 999px;
	padding: 12px 24px;
	font-size: var(--font-size-s);
	font-weight: 500;
	display: inline-block;
	letter-spacing: 0.05em;
}

.entry-period-date span {
	font-size: 180%;
	font-weight: 900;
}

/* ===== イントロ ===== */
.intro {
	padding: 0 0 8%;
	text-align: center;
}

.intro-main {
	font-size: var(--font-size-r);
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
}

.intro-main em {
	color: var(--color-blue);
	font-weight: bold;
	font-style: normal;
}

/* ===== 左右分割セクション（テキスト+背景画像） ===== */
.split-section {
	padding: 0 0 14%;
	gap: 12px;
	position: relative;
	background-image: url(images/intro_img01.webp);
	background-position: right -12vw center;
	background-repeat: no-repeat;
	background-size: auto 100%;
	max-width: 960px;
	margin-bottom: 6%;
}

.split-section.reverse {
	background-image: url(images/intro_img02.webp);
	background-position: left -6vw center;
	padding: 0 0 10%;
}

.split-text {
	justify-content: center;
	gap: 8px;
	font-size: var(--font-size-ss);
	line-height: 1.8;
	color: #444;
	position: relative;
	z-index: 2;
	padding: 8% 10% 0 ;
}
.reverse .split-text{
    display: flex;
    justify-content: right;
    flex-direction: row;
    padding: 9% 10% 7%;
}

/* ===== ミッションテキスト ===== */
.mission-text {
	padding: 0 0 8%;
	text-align: center;
	font-size: var(--font-size-ss);
	line-height: 1.9;
	color: #444;
}

/* ===== 吹き出しCTA ===== */
.cta-balloon-section {
	padding: 0 0 8%;
	display: flex;
	align-items: center;
	gap: 4vw;
}

.cta-balloon {
	background: var(--color-lightblue);
	border-radius: 20px;
    padding: 4% 0;
	text-align: center;
	font-size: var(--font-size-r);
	font-weight: 500;
	color: #fff;
	line-height: 1.5;
	position: relative;
	flex: 1;
}

.cta-balloon::after {
	content: '';
	position: absolute;
	right: -16px;
	top: 50%;
	transform: translateY(-50%);
	border: 10px solid transparent;
	border-left-color: var(--color-lightblue);
}

.cta-balloon-section img {
	width: clamp(80px, 18vw, 160px);
	flex-shrink: 0;
	filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.25));

}


.sleeping-caption {
	padding: 2% 0 2%;
	font-size: var(--font-size-ss);
	line-height: 1.9;
	color: #444;
	text-align: center;
	clear: both;
}
.sleeping-caption p:nth-child(1) {
	background-image: url(images/sleeping-caption_bg.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100%;
	padding: 3% 0;
	font-size: var(--font-size-s);
	text-align: center;
}

.sleeping-caption strong {
	display: block;
	font-size: var(--font-size-r);
	margin-top: 12px;
	font-weight: bold;
}

/* ===== 景品セクション ===== */
.prizes-section {
	background-color: #E8F7F7;
	background-image: url(images/wave_bottom.svg),url(images/wave_top_r.svg);
	background-repeat: no-repeat,no-repeat;
	background-position: top -2px center,bottom -2px center;
	background-size: 100% auto, 100% auto;
	padding: 18% 7% 18% 7%;
}

.prizes-header {
	display: flex;
	align-items: center;
	gap: 12px;
    max-width: 960px;
    margin: 0 auto 4%;
}

.prizes-header img {
    width: clamp(55px, 30%, 200px);
	flex-shrink: 0;
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.25));
}

.prizes-header-balloon {
	background: var(--color-lightblue);
	border-radius: 20px;
	padding: 14px 20px;
	font-size: var(--font-size-l);
	text-align: center;
	font-weight: 500;
	color: #fff;
	line-height: 1.4;
	position: relative;
	flex: 1;
}

.prizes-header-balloon::before {
	content: '';
	position: absolute;
	left: -14px;
	top: 50%;
	transform: translateY(-50%);
	border: 10px solid transparent;
	border-right-color: var(--color-lightblue);
}

/* ===== 賞カード ===== */
.prize-card {
	background: #fff;
	border-radius: 20px;
	padding: 6% 8%;
	margin-bottom: 8%;
	position: relative;
}

.prize-badge {
	position: absolute;
	top: -10px;
    right: -1vw;
	border-radius: 50%;
	width: clamp(50px,14.4vw,70px);
	height: clamp(50px,14.4vw,70px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--font-size-lll);
	font-weight: 500;
	color: #fff;
    padding-bottom:  clamp(2px,1.5vw,10px);
    background-color: var(--color-pink);
}

.prize-badge span {
	font-size:clamp(10px, 3.000vw, 12px);;
	line-height: 1;
	writing-mode: vertical-rl;
	padding-top: 10px;
	padding-left: 2px;
	padding-bottom: 0.2rem;
	font-weight: normal;
}

.prize-badge.pink   { background: #F5A0B0; }
.prize-badge.gold   { background: #D4A800; }
.prize-badge.salmon { background: #F5B8A0; }
.prize-badge.teal   { background: var(--color-lightblue); }
.prize-badge.rose   { background: #E8A0B4; }
.prize-badge.lavender { background: #B0A0D4; }

.prize-title-area {
	text-align: center;
	margin-bottom: 16px;
}

.stars {
	color: #6CC8B4;
	font-size: 12px;
	letter-spacing: 4px;
}

.prize-rank {
	font-size: clamp(18px, 5.5vw, 24px);
	font-weight: 500;
	margin: 4px 0;
}
.prize-rank img{
	width: clamp(240px, 60%, 600px);
	display: block;
	margin: 0 auto;
}
.prizeset{
	display: flex;
	gap: 30px;
    width: 100%;
    margin: 12px 0;
    position: relative;
}
.prizeset:after{
	content: "or";
	display: block;
	position: absolute;
	width: 100%;
	height: 1em;
 	margin:auto 0;
 	font-size: var(--font-size-s);
 	font-weight: bold;
    text-align: center;
	top: 0;
	bottom: 0;
}
.prizeset .prize01,
.prizeset .prize02{
	width: calc((100% - 30px) / 2 );
	display: flex;
	flex-direction: column;
}
.prizeset .prize01 .prize-item-name,
.prizeset .prize02 .prize-item-name{
	flex-grow: 1;
	font-size: var(--font-size-ss);
}

.prize-item-name {
	font-size: var(--font-size-s);
	font-weight: 500;
	color: #333;
	margin-top: 4%;
	margin-bottom: 4%;
	text-align: center;
}

.prize-brand {
	font-size: var(--font-size-sss);
	text-align: center;
	color: #888;
	margin-top: 4px;
}
.prizes-grid{
    max-width: 960px;
    margin: 0 auto;
}
.prize-card > img {
	width: 100%;
	border-radius: 12px;
	margin: 12px 0;
}

.prize-desc {
	font-size: var(--font-size-sss);
	line-height: 1.8;
	color: #555;
}

/* ===== 募集概要 ===== */
.overview-section {
	padding: 4% 0 8%;
}

.overview-title {
	font-size: var(--font-size-l);
	color: #fff;
	background-color: var(--color-lightblue);
	text-align: center;
	letter-spacing: 0.4em;
	border-radius: 20px;
	padding: 4% 0;
	width: 70%;
	margin:0 auto 8%;
	position: relative;
}
.overview-title:before{
	position: absolute;
	content: "";
	background-image: url(images/character-overview-title.webp);
	background-repeat: no-repeat;
	background-size: 40% auto;
	background-position: center top;
	display: block;
	width: 100%;
	padding-top: 18%;
	top: -58%;
	right: 0;
	left: 0;
	filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.25));
}

.overview-table {
	width: 90%;
	margin: 0 auto;
	border-collapse: collapse;
	font-size: var(--font-size-ss);
	line-height: 1.8;
	background-image: url(images/dot_line.svg);
	background-repeat: repeat-x;
	background-position: center top;
	background-size:  auto 4px;
}
.overview-table tr{
}
.overview-table th,
.overview-table td {
	display: block;
	width: 100%;
	padding: 2% 4% 0;
	vertical-align: top;
	text-align: left;
}

.overview-table th {
	color: var(--color-pink);
	font-weight: 500;
	white-space: nowrap;
	padding-top: 8%;
	font-size: var(--font-size-l);
}

.overview-table td {
	color: #444;
	padding-bottom: 8%;
	background-image: url(images/dot_line.svg);
	background-repeat: repeat-x;
	background-position: center bottom;
	background-size: auto 4px;
	font-size: var(--font-size-s);
	text-align: justify;
	line-height: 1.6;
}
.overview-table td p{
	margin-bottom: 10px;
}
.overview-table td span{
	font-size: 80%;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
	border-bottom: none;
}

/* ===== 応募規約 ===== */
.rules-section {
	padding: 24px 16px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.rules-title {
	font-size: var(--font-size-l);
	letter-spacing: 0.4em;
	font-weight: 500;
	padding: 2% 0;
	color: #fff;
	background-color:var(--color-lightblue);
	text-align: center;
	border-radius: 12px 12px 0 0;
	border: 3px solid var(--color-lightblue);
	border-bottom: 0;
}

.rules-box {
	border: 3px solid var(--color-lightblue);
    border-radius: 0 0 12px 12px;
	padding: 2% 6% 6%;
	height: 400px;
	overflow-y: scroll;
	font-size: var(--font-size-sss);
	line-height: 1.9;
	color: #555;
	background: #fafafa;
}

.rules-box p{
	font-size: var(--font-size-ss);
}
.rules-box strong{
	padding-top: 4%;
	display: block;
}

/* ===== 応募ボタン ===== */
.apply-section {
	padding: 24px 16px 32px;
	text-align: center;
}
.btn-apply-large {
	text-decoration: none;
    display: inline-block;
    background: var(--color-green);
	font-size: var(--font-size-r);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 3% 4%;
    font-weight: 500;
    text-align: center;
    width: clamp(100px, 90%, 600px);
    text-align: center;
    border: 3px solid #fff;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-apply-large:hover {
    opacity: 0.82;
    transform: scale(1.02);
}

.btn-apply-large::after {
    content: '▶';
	font-size: var(--font-size-r);
    border-radius: 100px;
    background-color: #fff;
    color: var(--color-green);
    aspect-ratio: 1 / 1;
    padding: 9px 7px 7px 9px;
    line-height: 1;
    display: inline-block;
    margin-left: 5%;
}
.apply-section p{
	font-size: var(--font-size-s);
	text-align: center;
	padding: 1.5% 0 0;
}


/* ===== コピーテキスト ===== */
.copytxt {
	cursor: pointer;
	text-decoration: underline;
	position: relative;
	color: var(--color-lightblue);
	font-size: 100% !important;
	font-weight: bold;
}

.copytxt::before {
	content: '';
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2388C0D8' d='M16 1H4C2.9 1 2 1.9 2 3v14h2V3h12V1zm3 4H8C6.9 5 6 5.9 6 7v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: -0.1em;
	margin-right: 3px;
}

.copytxt::after {
	content: 'コピーしました！';
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #5BC8C8;
	color: #fff;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.copytxt[data-copied]::after {
	content: 'コピーしました！';
	background: #5BC8C8;
	opacity: 1;
}

/* ===== フッター ===== */
footer {
	padding: 20px 16px;
}

.footer-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
}

.footer-logos img {
	width: clamp(100px, 40%, 200px);
}

/* ===== レスポンシブ ===== */

/* タブレット (600px〜) */
@media (min-width: 600px) {

	.container {
		max-width: 600px;
	}

	header {
		padding: 16px 32px;
	}

	.logo img {
		width: 200px;
	}

	.btn-apply {
    	padding: 20px 4%;
	}

	.hero {
	    background: url(images/wave_top.svg), url(images/hero_L02.webp);
	    background-size: 100% auto, auto 100%;
	    background-position: bottom -10px center, center center;
	    background-repeat: no-repeat, no-repeat;
	}

	.hero-tagline img {
	}
	.hero-title {
		right: 4%;
        background-size: 60px auto, 50px auto;
    	background-position: right top, left 100px bottom;
        top: 140px;
        padding: 60px 0;
	}
	.lead{
		margin: 0 auto;
	}
	.entry-period {
		padding: 32px 24px;
		margin-bottom: 20px;
		width: 600px;
	}

	.intro {
		padding: 0 40px 40px;
	}

	.split-section {
    	padding: 0 0 10%;
		padding-left: calc((100vw - 960px) / 2);
		padding-right: calc((100vw - 960px) / 2);
		width: 100%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
    	background-position: right 6vw center;
	}
	.split-text{
    	max-width: 600px;
    	margin: 0 auto;
    	padding-left: 4%;
    	padding-right: 4%;
	}
	.reverse .split-text {
        padding: 12% 6% 6% 0;
	}
	.split-text p{
	}
	.mission-text {
		padding: 0 40px 32px;
	}

	.cta-balloon-section {
		padding: 0 40px 32px;
	}

	.sleeping-caption {
		padding: 16px 40px 40px;
		font-size: 15px;
	}
	.prizes-header {
	    max-width: 760px;
	}
	.prizes-section {
	}
	.split-section.reverse {
	    background-position: left 8vw center;
	}
	/* タブレット: 賞カードを2列グリッド */
	.prizes-grid {
		display: grid;
		gap: 16px;
	}

	.prize-card:first-child {
		grid-column: 1 / -1;

	}
	.rules-section {
		padding: 32px;
	}

	footer {
		padding: 24px 32px;
	}

	.footer-logos img {
	}
}

@media (min-width: 800px) {


	.hero-tagline img{
		margin: 0 auto 4%;
    	width: 48%;
	}
	.hero-tagline img.nosp{
		display:  block;
	}
	.hero-tagline img.sp{
		display:  none;
	}
}
/* デスクトップ (960px〜) */
@media (min-width: 960px) {
	.w960none{
		display: none;
	}
	.w960vsbl{
		display: inherit;
	}
	.container {
		max-width: 960px;
	}

	header {
		padding: 20px 48px;
	}

	.logo img {
	}

	.hero {
	}
    .hero-title {
        right: calc((100% - 960px) / 2);
    }
	.hero img {
	}


	.badge-prize {
        right: calc((103% - 960px) / 2);
		bottom: 180px;
	}

	.entry-period {
	}

	.intro {
		padding: 0 80px 48px;
	}

	.split-section {
		gap: 32px;
		min-height: 300px;
		background-position: left calc((100vw - 480px) / 2) center;
	}
	.split-text{
    	padding: 12% 4% 6% 0;
    	padding-left: 0;
    	padding-right: 0;
    	max-width: 760px;
	}
	.split-text p{
		margin-left: 0;
	}

	.prizes-grid {
		grid-template-columns: 1fr 1fr;
	}

	.prize-card:first-child {
		display: flex;
		flex-wrap: wrap;	
		gap:0 20px;	
		align-items: center;
	}
	.prize-card:first-child .prize-title-area,
	.prize-card:first-child .prize-item-name{
		width: 100%;
	}
	.prize-card:first-child .prize-item-name + img,
	.prize-card:first-child .prize-desc{
		width: calc((100% - 20px) / 2);
	}

	.mission-text {
		padding: 0 80px 40px;
	}

	.cta-balloon-section {
		padding: 0 48px 40px;
	}

	.sleeping-caption {
		padding: 16px 80px 48px;
	}

	.prizes-section {
	}

	/* デスクトップ: 賞カードを3列グリッド */
	.prizes-grid {
		display: grid;
		gap: 20px;
	}


	.overview-title:before {
	    background-size: 200px auto;
	}
	.rules-section {
		max-width: 960px;
		padding: 48px 48px;
		margin-left: auto;
		margin-right: auto;
	}

	.rules-box {
	}

	.apply-section {
		padding: 40px 48px 48px;
	}

	footer {
		padding: 28px 48px;
	}

	footer img {
		width: 80px;
	}
}