@charset "UTF-8";

/**************************************************************

トップページ

**************************************************************/

/* ========================================
タイトル画面
======================================== */
#box_content{
	margin-bottom: 80px;/*固定ナビの高さ*/
	padding-top: 52px;/*design.cssを上書き*/	
}

section#top{
	padding: 0;
}
/*画面幅768px以上の時*/
@media (min-width: 768px){
	#box_content{
		margin-bottom: 0;
	}

	section#top{
		width: 100%;
		max-width: 100%;
		min-height: calc(100vh - 80px - 52px);/*ヘッダー・フッターナビの高さを除外*/
		padding:0;
		margin: 0;
		position: relative;
	}
	section#top{
		min-height: calc(100vh - 52px);/*ヘッダーナビの高さを除外*/
	}
}/*@mediaおわり*/

div.top_bg{
	background: -webkit-linear-gradient(bottom, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
	background: linear-gradient(to top,transparent, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 52px;
	left:0;
}

div.wrap_top_content{
	flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
	align-items: center;  /* 子要素をflexboxにより中央に配置する */
	padding: 15px 15px 15px;
	height: 100%;
	min-height: calc(100vh - 132px);
	position: relative;
	z-index: 5;
	display: flex;
}

p.txt_collaboration{
	color: #E00081;
	text-align: center;
	font-size: 0.7rem;
	line-height: 1.2;
}

div.wrap_title{
	background-color:rgba(255,255,255,0.85);
	width: 100%;
	max-width: 500px;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	margin: 0 auto;
	position: relative;
}

div.wrap_title h1{
	text-align: center;
	margin: 0 0 10px;
	width: 100%;
}

/*画面幅768px以上の時*/
@media (min-width: 768px){
	div.top_bg{
		top:0;
	}
	
	div.wrap_top_content{
		min-height: calc(100vh - 52px);/*ヘッダーナビの高さを除外*/
		justify-content: center; /* 子要素をflexboxにより中央に配置する */
	}
	p.txt_collaboration{
		font-size: 0.9375rem;
	}
	div.wrap_title h1{
		margin: 0 0 30px;
	}

}/*@mediaおわり*/


/*--画面が横長の時かつ768px以下の時--*/
@media (max-width: 768px) and (orientation: landscape){
	div.wrap_title img{
		max-width: 50vw;
	}
	
	div.wrap_title{
		max-width: 50vw
	}
}/*@mediaここまで*/

canvas#home_bg{
	display: block;
	width: 100%;
	position: absolute;
	top: 0;
	left:0;
	filter: blur(2px);
	z-index: 0;
}

div#wrap_character_bg{
	width: 100%;
	overflow: hidden;
	position: absolute;
	top: 52px;
	left:0;
}

div#character_bg01{
	width:100%;
	height:400%; /* ループが途切れないように高めに設定 */
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-image:url("../img/bg_character.png");
	background-position: -10px 0;
	background-size:960px 540px;
	animation:infinitescroll 20s linear infinite;
	z-index:0;
}

/*画面幅768px以上の時*/
@media (min-width: 768px){
	div#wrap_character_bg{
		top: 0;
	}
	div#character_bg01{
		background-size:1920px 1080px;
		animation:infinitescroll_pc 20s linear infinite;
	}
}/*@mediaおわり*/

/*--アニメーション設定--*/
@keyframes infinitescroll {
	0% {transform:translate3d(0, 0, 0);}
	100% {transform:translate3d(0, -540px, 0);}
}

@keyframes infinitescroll_pc {
	0% {transform:translate3d(0, 0, 0);}
	100% {transform:translate3d(0, -1080px, 0);}
}

div#character_bg img{
	width: 20vw;
	min-width: 100px;
	max-width: 150px;
	height: auto;
}

p.btn_start {
	text-align: center;
	margin-bottom: 0;
}
p.btn_start button{
	font-family: kan415typos-std, sans-serif;
	font-weight: 400;
	background: #3A89A7;
	color: white;
	text-decoration:none;
	font-size:1.5rem;
	padding: 0 2rem 0.5rem ;
	border-radius: 30px;
	display: inline-block;
	box-shadow: 0 6px 0 rgba(177,199,208,1);
	border-bottom: 1px solid #3FABD5;
	position: relative;
}

p.btn_start button:active{
	box-shadow: 0 2px 0 rgba(49,115,141,1);
	opacity: 1;
	position: relative;
	top:3px;
}


/*---スクロールダウンボタン---*/
div.scroll_down_top{
	position: relative;
	margin-top: 10px;
}

div.scroll_down_top a,
div.scroll_down a{
	padding-top: 45px;
	text-decoration: none;
}
/*画面幅768px以上の時*/
@media (min-width: 768px){
	div.scroll_down_top{
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 5px;
	}
}/*@mediaおわり*/

div.scroll_down{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 5px;
}

div.scroll_down_top a span,
div.scroll_down a span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 46px;
	height: 46px;
	margin-left: -23px;
	/*border: 2px solid #3A89A7;*/
	border-radius: 100%;
	background: #FFFFFF;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
}

div.scroll_down_top a span::after,
div.scroll_down a span::after {
	position: absolute;
	top: 50%;
	left: 50%;
	content: '';
	width: 16px;
	height: 16px;
	margin: -12px 0 0 -8px;
	border-left: 2px solid #3A89A7;
	border-bottom: 2px solid #3A89A7;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	box-sizing: border-box;
}
div.scroll_down_top a span::before,
div.scroll_down a span::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	width: 44px;
	height: 44px;
	box-shadow: 0 0 0 0 rgba(255,255,255,.1);
	border-radius: 100%;
	opacity: 0;
	-webkit-animation: sdb 3s infinite;
	animation: sdb 3s infinite;
	box-sizing: border-box;
}
@-webkit-keyframes sdb {
	0% {opacity: 0;}
	30% {opacity: 1;}
	60% {
	box-shadow: 0 0 0 60px rgba(255,255,255,.1);
	opacity: 0;
	}
	100% {opacity: 0;}
}
@keyframes sdb {
	0% {opacity: 0;}
	30% {opacity: 1;}
	60% {
		box-shadow: 0 0 0 60px rgba(255,255,255,.1);
		opacity: 0;
	}
	100% {opacity: 0;}
}

div#box_about,
div#box_ai,
div#box_character{
	text-shadow: none;
	max-width: none;
	min-height: calc(100vh - 80px - 52px);
	padding: 20px 0 90px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

/*画面幅768px以上の時*/
@media (min-width: 768px){
	div#box_about,
	div#box_ai,
	div#box_character{
		min-height: calc(100vh - 52px);/*ヘッダーナビの高さを除外*/
	}
}/*@mediaおわり*/

/*背景白*/
div#box_character{
	background: url("../img/bg_note02.png") repeat 0 0/15px;
}

div#box_ai{
	padding-bottom: 0;
}

div#box_about section,
div#box_ai section,
div#box_character section{
	font-size: 1.125rem;
	line-height: 2;
	display: flex;
	flex-wrap: wrap;
}

.flex_cell{margin: 0 auto;}

div#box_about figure,
div#box_character figure,
div#box_ai figure{
	width: 100%;
	text-align: center;
}

div#box_about figure img{
	max-width: 200px;
}

div#box_ai figure img{
	max-width: 300px;
}

div#box_about h2,
div#box_character h2,
div#box_ai h2{
	font-size: 7vw;
	margin-bottom: 2rem;
	width: 100%;
}

div#box_about h2{
	color: #349EBF;
}

div#box_character h2{
	color: #E51373;
}
div#box_ai h2{
	color: #F29600;
}

/*PC用（768px以上）設定*/
@media (min-width: 768px){
	div#box_character{
		text-align: center;
	}
	div#box_about figure img,
	div#box_ai figure img{
	max-width: 100%;
	}
	
	div#box_about h2,
	div#box_ai h2,
	div#box_character h2{
		font-size: 2.5rem;
		margin-bottom: 4rem;
		text-align: center;
	}
	div#box_about div.flex_cell{
		width: calc(60% - 30px);
		margin-right: 30px;
	}

	div#box_ai div.flex_cell{
		width: calc(60% - 30px);
		margin-left: 30px;
		
		}
	div#box_about figure,
	div#box_ai figure{
		width: 40%;
	}

}/*@mediaおわり*/


