@charset "utf-8";

@import url('reset.css');
@import url('lity.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
	--mainColor: #009fe8;
	--mainColor_hv: #0474a5;
	--red: #ec6d5e;
	--red_hv: #df4e3e;
	--green: #6fba2c;
	--green_hv: #498b0e;
	--subColor: #fff100;
	--BgColor1: #d3edf5;
	--BgColor2: #a4e3ff;
	--mainTxtColor: #3e3a39;
	--maxWidthPC: 1100px;
}


/* Common
---------------------------------------------------------- */
@media (min-width: 690px) {
	html{ font-size: calc(1.1rem + ((1.2vw - 14px) * 0.0853));}
}

@media (min-width: 1920px) {
	html { font-size: 15px;}
}
@media (max-width: 690px){
	html { font-size: 16px;}
}

body {
	font-family: "Noto Sans JP";
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0;
	color: var(--mainTxtColor);
	overflow-x: hidden;
}

/** animetion **/
@keyframes moveArrow {
	0% { transform: translateX(0);}
	49% { transform: translateX(120%);}
	50% { opacity: 0;}
	50% { transform: translateX(-120%);}
	51% { opacity: 1;}
	100% { transform: translateX(0);}
}

.fadeIn{
	opacity: 0;
	--slide-distance: 10px;
	transform: translateY(var(--slide-distance)); /* 初期位置をY軸方向にずらす */
	transition: opacity 0.5s cubic-bezier(.17,.67,.83,.67),transform 0.5s cubic-bezier(.17,.67,.83,.67);
}

.fadeIn.top { --slide-distance: 10px; /* 上から下へ */}

.fadeIn.bottom { --slide-distance: -10px; /* 下から上へ */}

.fadeIn.right { transform: translateX(-10px);  /* 左から右へ */}

.fadeIn.left { transform: translateX(10px);  /* 右から左へ */}

.fadeIn.active{
	opacity: 1;
	transform: translate(0, 0); /*transform: none;でもOK*/
}


/* Usually
---------------------------------------------------------- */
/* Flex */
.flexbox {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* Inner */
.inner{
	max-width: var(--maxWidthPC);
	margin: 0 auto;
	padding: 0 20px;
}

/* a img input */
a,a img,input[type="button"],button,
*::before,*::after,
input[type="submit"],
input[type="reset"],
input[type="image"]{
	transition: 0.2s ease-out;
}

a:hover img,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="image"]:hover{
	filter:alpha(opacity=50);
	opacity: 0.5;
}

a{
	color: var(--mainTxtColor);
	text-decoration: none;
}
a:hover{
	color: var(--mainColor);
}

a[href^="tel:"] {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
}

a.btn{
	position: relative;
	display: inline-block;
	width: 300px;
	max-width: 80%;
	margin: 20px 0 0 0;
	padding: 15px 2rem;
	background-color: var(--mainColor);
	border-radius: 3rem;
	color: #fff;
	text-align: left;
}
a.btn::after{
	content: '';
	position: absolute;
	top: calc(50% - 10px);
	right: 2rem;
	width: 20px;
	height: 20px;
	background: no-repeat center / contain;
	background-image: url(../img/arrow01.svg);
	transition: 0.2s ease-out;
}
a.btn[target="_blank"]::after{ background-image: url(../img/icon_blank_w.svg);}
a.btn:hover{ background-color: var(--mainColor_hv);}

a.btn[href$=".pdf"]::after,
a.btn[href$=".pdf"]:hover::after{ background-image: url(../img/icon_pdf.svg);}

.more{
	margin: 30px auto;
	text-align: center;
}

/* Img */
img{
	max-width: 100%;
	height: auto;
	line-height: 0;
}

/* Diplay none */
.pc{ display: block;}
.sp{ display: none;}

/* animetion */
.fadeIn{
	opacity: 0;
	--slide-distance: 10px;
	transform: translateY(var(--slide-distance)); /* 初期位置をY軸方向にずらす */
	transition: opacity 0.5s cubic-bezier(.17,.67,.83,.67),transform 0.5s cubic-bezier(.17,.67,.83,.67);
}

.fadeIn.top { --slide-distance: 10px; /* 上から下へ */}

.fadeIn.bottom { --slide-distance: -10px; /* 下から上へ */}

.fadeIn.right { transform: translateX(-10px);  /* 左から右へ */}

.fadeIn.left { transform: translateX(10px);  /* 右から左へ */}

.fadeIn.active{
	opacity: 1;
	transform: translate(0, 0); /*transform: none;でもOK*/
}

h2{ text-align: center;}
h3,h4,.copy{ line-height: 1.4;}
h3{ font-size: 1.8rem;}
h4{ font-size: 1.4rem;}
.copy{
	margin: 20px 0;
	font-size: 1.3rem;
	font-weight: 700;
	text-align: center;
}

p,ul,ol,dl,table{
	margin: 30px 0;
	line-height: 1.6;
}
dl dt{
	margin: 0 0 10px 0;
	font-weight: 600;
	font-size: 1.1rem;
}
dl dd{ margin: 0 0 0 1rem;}

@media screen and (max-width: 690px){
	.pc{ display: none;}
	.sp{ display: block;}
	.more{ margin: 15px 0;}
	.copy{
		margin: 15px 0;
		font-size: 1.1rem;
	}
	h3{ font-size: 1.4rem;}
	h4{ font-size: 1.3rem;}
	p,ul,ol,dl,table{
		margin: 15px 0;
		line-height: 1.4;
	}
}


/* #loading
---------------------------------------------------------- */
#loading{
	position: fixed;
	top: 0;
	z-index: 1000;
	width: 100vw;
	height: 100vh;
	background-color: var(--mainColor);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}
#loading.slide_out { animation: slideOut 0.8s ease-in-out forwards;}

.loading_chara{
	width: 300px;
	height: 300px;
	padding: 30px;
	background-color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.loading_chara img{
	width: 60%;
	height: auto;
}

@keyframes jumpOnce {
    0% {
        transform: translateY(0); /* 開始位置 */
    }
    30% { /* ジャンプのピーク */
        transform: translateY(-20px); /* 20px上に跳ね上がる */
    }
    60% { /* 着地 */
        transform: translateY(0);
    }
    100% {
        transform: translateY(0); /* アニメーション終了時の状態を維持 */
    }
}
.loading_chara img.your-specific-class {
    animation: jumpOnce 0.6s ease-out forwards; /* 0.6秒かけて1回ジャンプし、最後の状態を維持 */
}


/* header
---------------------------------------------------------- */
header{
	padding: 20px;
	background-color: #fff;
}

header nav.flexbox{
	justify-content: center;
	flex-wrap: nowrap;
}

header nav > ul{
	margin: 0 2rem 0 0;
	flex-wrap: nowrap;
}

header nav > ul > li{
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	line-height: 1;
}

/** #globalNavi ***/
ul#globalNavi li{ margin: 0.5rem;}
ul#globalNavi li a{
	position: relative;
	display: block;
	padding-left: 30px;
}
ul#globalNavi li a::before{
	content: '';
	position: absolute;
	left: 0;
	top: calc(50% - 13px);
	width: 26px;
	height: 26px;
	margin: 0 5px 0 0;
	vertical-align: middle;
	background: no-repeat center / contain;
}
ul#globalNavi li:nth-child(1) a::before{ background-image: url(../img/nav_icon1.svg);}
ul#globalNavi li:nth-child(2) a::before{ background-image: url(../img/nav_icon2.svg);}
ul#globalNavi li:nth-child(3) a::before{ background-image: url(../img/nav_icon3.svg);}

ul#globalNavi li a:hover::before{ animation: poyo .6s;}
@keyframes poyo {
	from, to { transform: none; }
	10% { transform: scale(1.2); }
	40% { transform: scale(.9); }
	60% { transform: scale(1.04); }
	80% { transform: scale(.98); }
}

/** #sns ***/
ul#sns{
	margin: 0 0 0 10px;
	justify-content: center;
	flex-wrap: nowrap;
}
ul#sns li{ margin: 0 5px;}
ul#sns li a{ display: block;}
ul#sns li img{
	max-width: none;
	width: 40px;
	height: 40px;
}

/** .howto ***/
.howto{ text-align: center;}
.howto a{
	display: inline-block;
	padding: 10px 2rem;
	border: 2px solid var(--mainColor);
	border-radius: 3rem;
	color: var(--mainColor);
	font-size: 0.9rem;
	line-height: 1;
	white-space: nowrap;
}

/** #menu ***/
#menu{
	display: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 9999;
	padding: 5px 10px;
	background: #fff;
	border-radius: 3rem;
	color: var(--mainColor);
	cursor: pointer;
}
#menu > span{
	display: inline-block;
	margin: 0 10px 0 0;
	font-weight: 600;
}
.bar {
	width: 30px;
	height: 3px;
	background-color: var(--mainColor);
	margin: 6px 0;
	transition: 0.4s; /* アニメーション */
}
#menu.active{
	background-color: var(--mainColor);
	color: #fff;
}
#menu.active .bar{ background-color: #fff;}
#menu.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px);}
#menu.active .bar:nth-child(2) { opacity: 0;}
#menu.active .bar:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px);}

@media screen and (max-width: 690px){
	header{
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		padding: 5px 10px;
		background-color: var(--BgColor2);
		width: 100vw;
		height: 100vh;
		opacity: 0;
		pointer-events: none;
	}
	header.active{
		pointer-events: all;
		opacity: 1;
	}
	header nav{
		width: 90%;
		height: 90%;
		margin: 5%;
		padding: 15px;
		background-color: #fff;
		border-radius: 30px;
		overflow-y: scroll;
		flex-direction: column;
		justify-content: center;
	}
	header nav > ul{ margin: 20px 0;}
	ul#globalNavi{
		height: auto;
		flex-direction: column;
	}
	ul#globalNavi li{
		margin: 10px 0;
		font-size: 1.1rem;
		font-weight: 700;
	}
	ul#sns{ margin: 30px 0 0 0;}
	.howto a{
		font-size: 1.1rem;
		font-weight: 700;
	}
	#menu{ display: flex;}
}


/* #mv
---------------------------------------------------------- */
#mv{
	position: relative;
	width: 100%;
	padding: 0 0 clamp(40px, 15vh, 80px) 0;
	background: var(--subColor) url(../img/mv_bg1.png) no-repeat center top 50px / 100% auto;
}

.mv_seal{
	position: relative;
	background: var(--mainColor);
}
.mv_seal::before,
.mv_seal::after{
	content: '';
	position: absolute;
}
.mv_seal::before{
	bottom: -20px;
	right: 0;
	z-index: 1;
	width: 100%;
	height: 100px;
	background: url(../img/mv_seal_bg1.svg) repeat-x bottom right / contain;
}
.mv_seal::after{
	bottom: -120px;
	right: 30%;
	width: 60px;
	height: 120px;
	background: url(../img/mv_seal_bg2.svg) no-repeat center top / contain;
}

.mv_seal > .inner{
	position: relative;
	padding: 20px 10vw 20px 20px;
	z-index: 2;
}

.mv_logo{
	width: 25%;
	line-height: 0;
}

.mv_seal p{
	width: 70%;
	margin: 0;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
}
.mv_seal p b{ color: var(--subColor);}

#mv h1{
	position: relative;
	z-index: 5;
	margin: -40px auto 0;
	width: 90%;
	max-width: 1200px;
	padding: 0 20px;
}

.mv_period{
	margin: 30px 0 0 0;
	padding: 30px 20px 20px;
	background-color: var(--mainColor);
}
.mv_period .flexbox{
	justify-content: center;
	flex-wrap: nowrap;
}
.mv_period h2{
	display: inline-block;
	margin: 0 1rem 0 0;
	padding: 5px 1rem;
	background-color: #fff;
	border-radius: 3rem;
	color: var(--mainColor);
	font-size: 1.2rem;
	line-height: 1.2;
}
.mv_period_txt{ color: #fff;}
.mv_period_txt p{
	margin: 5px 0 0 0;
	font-size: 1.1rem;
	text-align: center;
}

#mv_time{ padding: 30px 20px;}
#mv_time .flexbox{
	justify-content: center;
	flex-wrap: nowrap;
}
.mv_time_txt{ margin: 0 30px 0 0;}
.mv_time_txt h3{
	margin: 0 0 20px 0;
	color: var(--mainColor);
	font-size: 1.4rem;
}
.mv_time_txt p{
	padding: 20px 25px;
	background-color: #fff;
	border: 2px solid var(--mainColor);
	border-radius: 30px;
}
.mv_time_logo img{
	background-color: #fff;
	border-radius: 50%;
}

@media screen and (max-width: 690px){
	#mv{ padding: 0 0 40px 0;}
	#mv h1{
		width: 100%;
		padding: 0;
	}
	#mv_time .flexbox{
		flex-direction: column-reverse;
	}
	.mv_seal::after{ width: 30px;}
	.mv_seal > .inner{ padding: 10px;}
	.mv_seal p{ font-size: 1.1rem;}
	.mv_seal p br{ display: none;}
	.mv_period{
		margin: 40px 0 0 0;
		padding: 15px 0;
	}
	.mv_period .inner{ flex-direction: column;}
	.mv_period h2{
		margin: 0 0 10px 0;
		padding: 5px 1rem;
		font-size: 1.1rem;
	}
	.mv_period_txt{ width: 100%;}
	.mv_period_txt p{ font-size: 0.8rem;}
	#mv_time{ padding: 15px 0;}
	.mv_time .flexbox{ flex-direction: column-reverse;}
	.mv_time_txt{ margin: 0;}
	.mv_time_txt h3{ font-size: 1.1rem;}
	.mv_time_logo{
		width: 45%;
		margin: 20px auto;
	}
}

@media screen and (min-width: 744px) and (max-width: 834px) and (orientation: portrait) {
	.mv_seal p br{ display: none;}
	.mv_seal > .inner{
		padding: 10px;
	}
	#mv h1{ margin: 0 auto;}
}


/* contents
---------------------------------------------------------- */
.contents{
	position: relative;
	padding: 40px 0 0 0;
	background-color: #fff;
}
.contents::before{
	content: '';
	position: absolute;
	top: -100px;
	left: 0;
	width: 100%;
	height: 100px;
	background: url(../img/use_bg.svg) no-repeat top center / cover;
}

article{
	position: relative;
	margin: 0;
	padding: clamp(20px, 15vh, 60px) 20px clamp(70px, 20vh, 160px);
	border-radius: 5vw 5vw 0 0;
}
article::after{
	content: '';
	position: absolute;
	top: -40px;
	left: 0;
	right: 0;
	width: auto;
	height: 80px;
	background: url(../img/sec_fuki.svg) no-repeat center / contain;
}
article h2{
	margin: 0 auto 30px;
	width: 600px;
	max-width: 60%;
}

section{ margin: 10vh 0;}

@media screen and (max-width: 690px){
	.contents::before{
		top: -40px;
		height: 40px;
	}
	article{ padding: 5vh 0 15vh;}
	section{ margin: 30px 0;}
}



/* about
---------------------------------------------------------- */
.about_list{ margin: 30px 0;}
.about_list li{
	width: calc(100% / 3);
	padding: 10px;
	list-style: none;
	line-height: 0;
}

@media screen and (max-width: 690px){
	.about_list li{
		width: 100%;
		padding: 5px 0;
	}
}


/* rakinasu
---------------------------------------------------------- */
.rakinasu{
	padding: clamp(20px, 10vh, 50px) 0 clamp(30px, 20vh, 80px);
	background: url(../img/rakinasu_bg.png) no-repeat center / contain;
}

.rakinasu > .flexbox{ flex-wrap: nowrap;}

.rakinasu_item{
	position: relative;
	width: 40%;
	padding: 40px;
}
.rakinasu_item > *{
	position: relative;
	z-index: 2;
}
.rakinasu_item::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: #f9e5f8;
	border-radius: 40px;
}
.rakinasu_item.com::after{ height: calc(100% - 120px);}

.rakinasu_item ul{ margin: 0;}
.rakinasu_item ul li{
	position: relative;
	margin: 15px 0;
	padding: 0 0 0 25px;
	list-style: none;
}
.rakinasu_item ul li::before{
	position: absolute;
	top: 10px;
	left: 0;
	content: url(../img/icon_nasu.svg);
}

.rakinasu_chara{
	position: relative;
	z-index: 3;
	width: 36%;
	margin: 0 -4%;
	text-align: center;
}

.rakinasu_chara_p{
    /* アニメーションは4秒でループし、無限に繰り返します */
	animation: poyooon 4s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    transform-origin: 50% 100%;
}

@keyframes poyooon {
    /* 0% - 25%: ジャンプ前の静止状態（次のジャンプまでの待ち時間） */
	0%   { transform: translate(0%, 0%); }
    25%  { transform: translate(0%, 0%); }

    /* しゃがみこみ（ジャンプの準備動作） */
    /* ここで一度沈み込みます */
    28%  { transform: translate(0%, 3%); }

    /* ジャンプの上昇フェーズ */
	32%  { transform: translate(0%, -15%); } /* ジャンプの最高点 */

	/* 落下＆着地フェーズ */
    /* 最高点から直接着地後の沈み込みへ。空中で止まる感じをなくします。 */
	37%  { transform: translate(0%, 3%); }   /* 着地による沈み込み */

    /* 静止状態に戻る */
    /* 着地による沈み込みから、すぐに元の静止位置に戻ります。着地後の細かい揺れをなくします。 */
	40% { transform: translate(0%, 0%); }

    /* 40% - 100%: 静止状態（次のジャンプまでの待ち時間） */
    100% { transform: translate(0%, 0%); }
}

@media screen and (max-width: 690px){
	.rakinasu > .flexbox{ flex-wrap: wrap;}
	.rakinasu_item{ width: 100%;}
	.rakinasu_item.com{ padding-bottom: 0;}
	.rakinasu_chara{
		width: 80%;
		margin: 0 auto;
	}
}


/* comics
---------------------------------------------------------- */
#comics{ background-color: var(--BgColor1);}
.comic_item{
	width: 49%;
	margin: 10px 0;
	line-height: 0;
	box-shadow: 10px 5px 5px 1px rgba(0, 0, 0, 0.2);
}
.comic_item img{ width: 100%;}

@media screen and (max-width: 690px){
	.comic_item{ width: 100%;}
}


/* campaign
---------------------------------------------------------- */
#campaign{
	margin: clamp(-60px, -15vh, -100px) 0 0 0;
	padding-bottom: 50px;
	background-color: var(--BgColor2);
}

#campaign h3{
	padding: 10px 3rem;
	background-color: var(--mainColor);
	border-radius: 3rem;
	color: #fff;
	text-align: center;
}

.prize{
	padding: 40px 30px;
	background-color: var(--mainColor);
	border-radius: 30px;
}
#campaign .prize h3{
	width: 800px;
	max-width: 90%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
.prize_list{ margin: 0;}
.prize_list li{
	width: calc(100% / 3);
	margin: 0;
	padding: 10px;
	list-style: none;
	line-height: 0;
}
.prize_list li img{ width: 100%;}
.prize p{
	margin: 0 0 20px 0;
	color: #fff;
	text-align: center;
}
.prize .copy{ margin: 40px 0 10px;}

#camp_period p{
	text-align: center;
	font-size: 2.0rem;
	font-weight: 900;
}

.campaign_list{
	margin: 40px 0;
	align-items: stretch;
}
.campaign_item{
	width: 49%;
	padding: 40px 30px;
	background-color: #fff;
}
.campaign_item:nth-child(1){ border-radius: 30px 0 0 30px;}
.campaign_item:nth-child(2){ border-radius: 0 30px 30px 0;}

.campaign_item h4{
	margin: 0 0 30px 0;
	color: var(--mainColor);
	text-align: center;
}
.campaign_item.hagaki h4{ color: var(--red);}
.campaign_item.web h4{ color: var(--green);}
.campaign_item .more{ margin: 0;}
.campaign_item.hagaki .btn{ background-color: var(--red);}
.campaign_item.web .btn{ background-color: var(--green);}

.campaign_item .btn:hover{ color: #fff;}
.campaign_item.hagaki .btn:hover{ background-color: var(--red_hv);}
.campaign_item.web .btn:hover{ background-color: var(--green_hv);}

#camp_howto .campaign_item img{
	display: block;
	width: 140px;
	height: 140px;
	margin: auto;
}

#camp_sns{
	padding: 40px;
	background-color: #fff;
	border-radius: 30px;
}
#camp_sns .copy{ margin-top: 0;}
.camp_sns_btn{
	width: 800px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
.camp_sns_btn li{
	width: 49%;
	margin: 5px 0;
	padding: 0;
	font-size: 1.1rem;
	font-weight: 700;
	list-style: none;
	line-height: 1;
	text-align: center;
}
.camp_sns_btn li a{
	display: block;
	padding: 20px 2rem;
	background-color: #fff;
	border: 2px solid var(--mainColor);
	border-radius: 3rem;
}
.camp_sns_btn li img{
	width: 30px;
	margin: 0 15px 0 0;
	vertical-align: middle;
}

.quiz_p{
	margin: 20px auto;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.5);
	line-height: 0;
}

#camp_ra .copy{
	color: #c1272d;
	text-align: left;
}

#camp_apply .copy{
	padding: 30px;
	background-color: rgba(255, 255, 255, 1);
	border-radius: 5px;
}

@media screen and (max-width: 690px){
	#campaign h3{ padding: 10px 2rem;}
	.prize{ padding: 30px 15px;}
	.prize_list{ flex-direction: column;}
	.prize_list li{ width: 100%;}
	.campaign_list{ margin: 0;}
	.campaign_item{
		width: 100%;
		margin: 15px 0;
		padding: 30px 20px;
	}
	.campaign_item:nth-child(1),.campaign_item:nth-child(2){ border-radius: 30px;}
	.camp_period p{ font-size: 1.6rem;}
	#camp_sns{ padding: 20px;}
	.camp_sns_btn li{ width: 100%;}
	.camp_sns_btn li a{ padding: 10px 2rem;}
	.campaign_item h4{ margin: 0 0 10px;}
	#camp_apply .copy{
		padding: 15px;
		text-align: left;
	}
	.quiz_p{ padding: 0;}
}

footer{
	padding: 10vh 0;
	background-color: var(--mainColor);
	color: #fff;
}
footer h3{
	padding: 10px 3rem;
	background-color: #fff;
	color: var(--mainColor);
	border-radius: 3rem;
	text-align: center;
}
p.copyright{
	margin: 50px 0 0 0;
	font-size: 0.8rem;
	text-align: center;
}

@media screen and (max-width: 690px){
	footer{ padding: 5vh 0 10vh;}
	p.copyright{
		margin: 30px 0 0 0;
		font-size: 0.6rem;
	}
}