@charset "utf-8";
/* CSS Document */

body{
	margin: 0;
}

.sticky-container{
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-style: normal;
}

.sticky-container img{
	display: block;
	line-height: 0;
}

/*---------- snow animation ----------*/
.snow-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	pointer-events: none; /* 雪の上からでも下のボタンやリンクをクリックできるようにする */
	z-index: 9999;        /* 動画や画像より手前に表示 */
	overflow: hidden;
}

.snow-container::before,
.snow-container::after {
	content: '';
	position: absolute;
	top: -100vh;
	left: 0;
	width: 100%;
	height: 200vh;
	background-repeat: repeat;
	animation: snow-fall linear infinite;
}

/* 手前の雪（白＋淡い水色をミックス） */
.snow-container::before {
	background-image: 
		radial-gradient(4px 4px at 15% 20%, rgba(255, 255, 255, 0.95) 50%, transparent 100%),
		radial-gradient(5px 5px at 45% 60%, rgba(165, 222, 245, 0.85) 50%, transparent 100%), /* 水色 */
		radial-gradient(3px 3px at 75% 35%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
		radial-gradient(4px 4px at 85% 80%, rgba(185, 232, 250, 0.85) 50%, transparent 100%), /* 水色 */
		radial-gradient(5px 5px at 30% 90%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
	background-size: 400px 400px;
	animation-duration: 12s;
}

/* 奥の雪（白＋淡い水色をミックス） */
.snow-container::after {
	background-image: 
		radial-gradient(2px 2px at 10% 50%, rgba(255, 255, 255, 0.75) 50%, transparent 100%),
		radial-gradient(3px 3px at 35% 15%, rgba(165, 222, 245, 0.75) 50%, transparent 100%), /* 水色 */
		radial-gradient(2px 2px at 60% 75%, rgba(255, 255, 255, 0.75) 50%, transparent 100%),
		radial-gradient(3px 3px at 90% 45%, rgba(185, 232, 250, 0.7) 50%, transparent 100%),  /* 水色 */
		radial-gradient(2px 2px at 50% 85%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
	background-size: 300px 300px;
	animation-duration: 20s;
}

@keyframes snow-fall {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(50%);
	}
}


.pc-box{
	display: none;
}

.wrapper{
	width: 100%;
	margin: 0 auto;
	background-color: #fff;
}

.mv{
	display: none;
}

.movie{
	width: 100%;
	margin: 0 auto 10%;
	/*background-color: #fff;*/
}
video{
	width: 100%;
	height: auto;
}


@media(min-width:750px){
	.sticky-container{
		display: flex;
		justify-content: center;
		column-gap: 0px;
		background-color: #ec8482;
	}
	
	.pc-box{
		position: sticky;
		left: 0;
		top: 0;
		display: flex;           /* 動画を上下左右の中央に配置する */
		justify-content: center;
		align-items: center;
		width: 35%;
		height: 100vh;
		overflow: hidden;
	}
	
	/* .pc-box内の動画ラッパーを高さ100%にして下の余白(margin-bottom:10%)を消す */
	.pc-box .movie{
		width: 100%;
		height: 100%;
		margin: 0;
	}
	
	/* 動画が切れないように枠内に全体を表示させる */
	.pc-box video{
		width: 100%;
		height: 100%;
		object-fit: contain; /* ← 切れないように全体を収める */
	}
		
	.wrapper{
		width: 35%;
		margin: 0;
		box-sizing: border-box;
	}
	
	.mv{
		display: block;
	}
	
	.movie-sp{
		display: none;
	}
}

/*---------- intro ----------*/

.intro{
	margin: 10% auto;
}

.intro h1{
	text-align: center;
	font-weight: 900;
	font-size: 1.9rem;
	letter-spacing: .05rem;
	
}

.intro p{
	text-align: center;
	font-size: .9rem;
	line-height: 2;
	margin: 5% auto;
}

@media(min-width:750px){
	.intro h1{
		font-size: 2.5rem;
	}

	.intro p{
		font-size: 1.0rem;
		letter-spacing: .05rem;
	}
}

/*---------- main-contents  ----------*/

.main-contents{
	margin: 15% auto 10%;
}

.main-contents h2{
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 12px;
	font-size: 1.5rem;
}

.main-contents h2::before,
.main-contents h2::after{
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.main-contents h2::before,
.main-contents h2::after{
	background-image: url("../SVG/icon.svg");
}

@media(min-width:750px){
	.main-contents h2{
		font-size: 1.8rem;
	}
}

/*---------- contents-inner ----------*/

.contents-inner{
	margin: 0 auto 25%;
}

.main-item{
	width: 95%;
	margin: 0 auto 5%;
}

.main-credit{
	margin: 5% auto;
}

.main-credit p{
	text-align: center;
	font-size: .88rem;
	line-height: 1.8;
	margin: 2% auto;
}

.main-credit p span::after{
	content: 'tax in';
	margin-left: 5px;
	font-size: .75rem;
}

/*color-list*/

.color-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 5% auto;
}

.color {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	flex-shrink: 0;
	box-sizing: border-box;
	border: 1px solid rgba(0, 0, 0, 0.15); 
	background: var(--c1);
}

.color.two {
	background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%);
}

.main-credit a{
	display: block;
	width: 40%;
	margin: 2% auto;
	text-align: center;
	text-decoration: none;
	background-color: #000;
	color: #fff;
	line-height: 1.6;
	font-weight: 500;
	letter-spacing: .3rem;
	font-size: 1.0rem;
}

@media(min-width:750px){
	.main-credit a{
		width: 30%;
		font-size: 1.2rem;
	}
}

/*　style　*/

.style{
	margin: 15% auto 10%;
	position: relative;
}

.style > img:first-child {
	display: block;
	width: 65%;
	margin-left: 35%;
	margin-bottom: 6%;
}

.style-sub{
	position: absolute;
	width: 54%;
	left: 0;
	top: 45%;
}

.style > img:last-child {
	display: block;
	width: 40%;
	margin-left: 60%;
}

.slide{
	position: relative;
	overflow: inherit;
}

.slide img{
	animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-name: slideshow; 
    animation-timing-function: steps(1, end);
    opacity: 0;
}

.slide img:nth-child(2){
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: auto;
}

.slide img:nth-child(1){
	animation-delay: 0s;
	}

.slide img:nth-child(2){
	animation-delay: 1.5s;
}


@keyframes slideshow {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.style > img:nth-child(2) {
	display: block;
	position: absolute;
	width: 54%;
	left: 0;
	top: 45%;
}


/* 左右反対（reverseクラスが付いたものだけ反転） */
.style.reverse > img:first-child {
	margin-left: 0;
	margin-right: 35%;
}

.style.reverse .style-sub {
	left: auto;
	right: 0;
}

.style.reverse > img:last-child {
	margin-left: 0;
	margin-right: 60%;
}

.style-flex{
	display: flex;
	column-gap: 10px;
	width: 95%;
	margin: 15% auto 0;
}

/* credit */

.credit{
	margin: 10% auto;
	width: 80%;
	font-weight: 500;
}

.credit-group {
	position: relative;
	padding: .5rem 0 .5rem 2rem;
	margin-bottom: 5%; /* BOYグループとGIRLグループの間の余白 */
}

.credit-group:last-child {
	margin-bottom: 0;
}

.credit-group::before {
	content: '';
	writing-mode: sideways-lr;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	font-size: .85rem;
	font-weight: bold;
	letter-spacing: 0.1em;
	color: #000;
	box-sizing: border-box;
	padding: 1% 0.5%;
	text-align: center;
}

.credit-group.boy::before {
	content: 'BOY';
	background-color: #dbeafe;
}

.credit-group.girl::before {
	content: 'GIRL';
	background-color: #fce7f3;
}

.credit-group a {
	display: block;
	color: #000;
	text-decoration: none;
	font-size: .8rem;
	text-align: left;
	margin-bottom: 2%;
	line-height: 1.3;
	position: relative;
	padding-top: .2rem;
	padding-bottom: .2rem;
}

.credit-group a span::after{
	content: 'tax in';
	margin-left: 5px;
	font-size: .7rem;
}

.credit-group a:last-child {
	margin-bottom: 0;
}

.credit-group a::after {
	content: 'BUY';
	letter-spacing: .1rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	padding: 0 5%;
	line-height: 1.5;
	background-color: #000;
	color: #fff;
}

.credit-group a:only-child {
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
}

.all{
	display: block;
	width: 80%;
	margin: 2% auto 15%;
	text-align: center;
	background-color: #000;
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	position: relative;
	line-height: 3;
	font-weight: 600;
	letter-spacing: .1rem;
}

.all:after{
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 15px;
	width: 5px;
	height: 5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

.mgb10{
	margin-bottom: 15%;
}

@media(min-width:750px){
	.credit{
		width: 65%;
	}
	
	.br_s{
		display: none;
	}
}
