@charset "utf-8";

#bg{
	position: absolute;
	display: block;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../img/shindan/bg.jpg");
	background-size: 82px auto;
	z-index: -1;
}
#wrap{
	opacity: 1;
	background: -webkit-linear-gradient(rgba(83,142,33,.5), rgba(83,142,133,.5));
	background: -o-linear-gradient(rgba(83,142,33,.5), rgba(83,142,133,.5));
	background: linear-gradient(rgba(83,142,33,.5), rgba(83,142,133,.5));
}
/* ヘッダー */
header{
	position: relative;
	margin: 0 auto ;
	display: block;
	width: 100%;
}
header #keyvisual{
	position: relative;
	margin: 20px auto 10px auto;
	display: block;
	background-image:url("../img/shindan/main.jpg"),  url("../img/shindan/bg_main.jpg");
	background-repeat: no-repeat, repeat-x;
	background-position: 50% 0, 0 0;
	background-size: contain, auto 100%;
	padding-top: 56.25%;
	width: 100%;
	background-color: #ed917c;
}
header #keyvisual::before, header #keyvisual::after{
	position: absolute;
	left: 0;
	display: block;
	content: '';
	width: 100%;
	height: 10px;
	background-image: url("../img/bar1.jpg");
	background-position:  0 0;
	background-size: 100% 10px;
	background-repeat: repeat-x;
}
header #keyvisual::before{top:-10px;} 
header #keyvisual::after{bottom: -10px;}

#innerContents{
	position: relative;
	margin: 0 auto;
	width: calc(100% - 30px);
	padding-bottom: 100px;
	background-image: url("../img/shindan/bg1.jpg");
	background-size: 50px auto;
	color: #000000;
}
#innerContents.shindan{margin: 10px auto 0 auto;padding-top: 15px;}
#innerContents.shindan::before{
	position: absolute;
	left: 0;
	top:0;
	display: block;
	content: '';
	width: 100%;
	height: 10px;
	background-image: url("../img/bar1.jpg");
	background-position:  0 0;
	background-size: 100% 10px;
	background-repeat: repeat-x;
}
.links{
	position: relative;
	margin: 0 auto;
	width: calc(100% - 10px);
}
.links .officialLogo{width:120px; }
.links .officialLogo img{width:108px; }
.links .shindanLogo{width: 153px;}

#Sintro{
	position: relative;
	margin: 0 auto;
	padding: 30% 0 0 0;
}
#Sintro .ttl{
	position: absolute;
	top:-5px;
	left: -20px;
	width: calc(100% + 40px);
	z-index: 1;
}
#Sintro .text{
	position: relative;
	margin: 0 auto;
	padding: 60px 30px 30px 30px;
	background-color: #ffffff;
	color: #000000;
	width: calc(100% - 100px);
}

#Showto{
    position: relative;
	margin: 30px auto  40px auto;
	padding: 25px 20px 20px 20px;
	width: calc(100% - 80px);
	border: solid 2px #504d00;
	background-color: rgba(190,175,104,.8);
}
#Showto .ttl{
	position: relative;
	margin: 0 auto 30px auto;
}
#Showto p{text-align: center;font-size: .12rem;}
#Showto p span{
	font-size: .15rem;
	font-weight: 900;
	color: #f21413;
}
a.button{
	position: relative;
	margin: 10px auto;
	display: block;
	padding: 7px 2em;
	background-color: #ec4300;
	text-align: center;
	font-weight: 900;
	text-decoration: none;
	transition: all .3s ease-out;
}
a.button:hover{
	text-decoration: none;
	background-color: #A70002;
	color: #ffe44f !important;
	box-shadow:1px 4px 16px -6px rgba(0,0,0,0);
	cursor: pointer;
}
a.button.enter{
	width: 180px;
	font-size: .16rem;
	color: #ffe44f;
	box-shadow: 1px 4px 16px -6px rgba(0,0,0,0.6);
}
a.button.enter::after{
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	content: '';
	width: 26px;
	height: 26px;
	background-image: url("../img/shindan/start.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

#Squestion, #Sresult{
	position: relative;
	margin: 0 auto;
	padding-top: 15px;
	transition: all .3s ease-out;
}
#Squestion::after{
	position: absolute;
	content: '';
	display: block;
	top:5px;
	left: -12px;
	width:112px;
	height: 112px;
	background-image: url("../img/shindan/kaede.png");
	background-position:  0;
	background-size: contain;
	z-index: 5;
}
#Squestion.nonedisp{opacity: 0;}
#Squestion.nonedispN{display: none; opacity: 0;}
#Sresult.disp{display: block; opacity: 1;}
#Squestion #question{
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 30px 0;
}
#Squestion #question .questionWrap{
	position: relative;
	margin: 0 auto;
}
#Squestion #question .questionWrap::before, #Squestion #question .questionWrap::after{
	position: absolute;
	content: '';
	display: block;
	top:-5px;
	left: -5%;
	width: 110%;
	height: calc(100% + 10px);
}
#Squestion #question .questionWrap::before{
	transform: rotate(3deg);
	background-image: url("../img/shindan/bg3.jpg");
	background-position:  0;
	background-size: auto 43px;
	z-index: 2;
}
#Squestion #question .questionWrap::after{
	transform: rotate(-3deg);
	background-image: url("../img/shindan/bg2.jpg");
	background-position:  0;
	background-size: auto 65px;
	z-index: 3;
}
#Squestion #question .questionInner{
	position: relative;
	margin: 0 auto;
	padding: 40px 0;
	text-align: center;
	background-color: #ffffff;
	z-index: 4;
}
#Squestion #question .ttl{
	position: relative;
	margin: 0 auto 20px auto;
	width: 40px;
}
#Squestion #answer{
	position: relative;
	margin: 0 auto 20px auto;
	transform: translateY(-30px);
	width: calc(100% - 80px);
	background-color: rgba(238,177,125,0.6);
	padding: 50px 20px 20px 20px;
	z-index: 1;
}
#Squestion #answer .button{
	position: relative;
	margin: 0 auto 15px auto;
	background: #ec4300;
	color: #ffffff;
	font-size: .12rem;
	font-weight: 700;
	text-align: center;
	padding: 10px 1em;
	background-image: url("../img/shindan/bg_btn.png");
	background-repeat: no-repeat;
	background-position: -4px -2px;
	background-size: 38px auto;
}
#Squestion #answer .button::after{
	position: absolute;
	content: '\025b6';
	font-size: .10rem;
	color: #ffffff;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
}

#Sresult{
	position: relative;
	margin: 0 auto;
	text-align: center;
	display: none;
	opacity: 0;
}
#Sresult .ani{
	position: fixed;
	top:0;
	left: 0;
	background-color: #ffffff;
	width: calc(100% + 40px);
	height: 100%;
	overflow: hidden;
	z-index: 9000;
}
#Sresult .ani .contDispWrap{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}
#Sresult .ani .contDisp{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
@keyframes contDisp {
	0% {
		transform: scale(1, 1);
		opacity: 1;
	}
	100% {
		transform:  scale(8, 8);
		opacity: 0;
	}
}
#Sresult #result{
	position: relative;
	opacity: 0;
	transition: all .3s ease-out;
}
#Sresult #result.disp{opacity: 1;}
#Sresult .resultImg{position: relative;width: calc(100% + 30px);transform: translateX(-15px);}
#Sresult .resultImg img{position: relative;z-index: 7;}
#Sresult .resultImg.inuyasha::before, #Sresult .resultImg.yashahime::before{
	position: absolute;
	content: '';
	display: block;
	top:-3px;
	left: -5%;
	width: 110%;
	height: calc(100% + 20px);
	background-position:  0;
	background-size: auto 53px;
	transform: rotate(5deg);
	z-index: 6;
}
#Sresult .resultImg.inuyasha::before{background-image: url("../img/shindan/bg_inu.jpg");}
#Sresult .resultImg.yashahime::before{background-image: url("../img/shindan/bg_yasha.jpg");}
#Sresult .resultTxt{
	position: relative;
	margin: 25px auto 0 auto;
	width: calc(100% - 70px);
	padding: 30px 20px;
	background-color: #ffffff;
	z-index: 8;
}
#Sresult .resultTxt::after{
	position: absolute;
	content: '';
	display: block;
	top:-22px;
	left: -28px;
	width:88px;
	height: 88px;
	background-image: url("../img/shindan/kaede.png");
	background-position:  0;
	background-size: contain;
	z-index: 9;
}
#Sresult .resultTxt .name{
	position: relative;
	margin: 0 auto 50px auto;
}
#Sresult .resultTxt .name::before{
	position: absolute;
	content: '';
	display: block;
	bottom:-12px;
	left: 0;
	width:100%;
	height: 28px;
	background-image: url("../img/shindan/bg_name.png");
	background-position:  50% 0;
	background-size: contain;
	background-repeat: no-repeat;
}
#Sresult .resultTxt .name img{
	position: relative;
	margin: 0 auto;
	height: 29px;
	width: auto;
}
#Sresult .voice{
	position: relative;
	padding: 40px 20px;
}
#Sresult .snsShare{
	position: relative;
	margin: 0 auto  40px auto;
	padding: 20px 10px;
	width: calc(100% - 60px);
	border: solid 2px #504d00;
	background-color: rgba(190,175,104,.8);
}
#Sresult .snsShare h3{
	position: relative;
	margin: 0 auto 20px auto;
	font-size: .15rem;
}
#Sresult .snsShare ul{
	position: relative;
	margin:20px auto;
	width: 200px;
}
#Sresult .snsShare ul li{
	position: relative;
	width: calc(33% - 10px);
}
#Sresult .bnr_official{
	position: relative;
	margin: 0 auto; 
	display: block;
	width: calc(100% - 40px);
}
#Sresult .officialLinks{
	position: relative;
	width: calc(100% - 40px);
	padding-bottom: 5px;
	margin: 0 auto 10px auto;
	font-weight: 900;
	border-bottom: solid 2px #000000;
}

/* ----- pc ----- */
@media screen and (min-width: 641px) {

	#bg{background-size: 164px auto;}
	#wrap{padding: 10px 0 0 0;}
	header #keyvisual{
		background-size: auto 100%, auto 100%;
		padding-top: 540px;
	}
	
	#innerContents{
		width: calc(100% - 40px);
		padding-bottom: 150px;
		background-size: 100px auto;
	}
	.links{margin: 0; width: calc(50% + 148px);}
	.links .officialLogo{width:165px; }
	.links .officialLogo img{width:165px; }
	.links .shindanLogo{width: 296px;}

	#Sintro{padding: 80px 0 0 0;}
	#Sintro .ttl{
		left: 50%;
		transform: translateX(-110%);
		width: 508px;
	}
	#Sintro .text{
		margin: 0 auto;
		padding: 60px 0 30px 0;
		width:100%;
	}
	#Sintro .text p{
		padding-left: 50%;
	}

	#Showto{
		margin: 60px auto  80px auto;
		padding: 30px;
		width: 540px;
		border: solid 3px #504d00;
	}
	#Showto .ttl{
		margin: 0 auto 30px auto;
		width: 340px;
	}
	#Showto p{font-size: .16rem;}

	a.button{
		margin: 80px auto;
		padding: 16px 4em;
	}
	a.button.enter{
		width: 240px;
		font-size: .18rem;
	}
	a.button.enter::after{
		right: 8px;
		width: 31px;
		height: 31px;
	}

	#Squestion, #Sresult{padding-top: 35px;}

	#Squestion::after{
		top:90px;
		left: 50%;
		transform: translateX(calc(-50% - 480px));
		width:198px;
		height: 196px;
	}
	#Squestion #question{padding: 60px 0;}
	#Squestion #question .questionWrap::before{
		transform: rotate(1.5deg);
		background-size: auto 86px;
	}
	#Squestion #question .questionWrap::after{
		transform: rotate(-1.5deg);
		background-size: auto 130px;
	}
	#Squestion #question .questionInner{
		display:-webkit-box;
		display:-webkit-flex;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		padding: 80px 0;
	}
	#Squestion #question .ttl{
		margin: 0;
		width: 52px;
	}
	#Squestion #question .text{
		position: relative;
		margin: 0;
		width: 505px;
		text-align: left;
		padding-left: 80px;
	}
	#Squestion #answer{
		transform: translateY(-80px);
		width:820px;
		padding: 90px 70px 50px 70px;
		display:-webkit-box;
		display:-webkit-flex;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}
	#Squestion #answer .button{
		margin: 0 0 30px 0;
		font-size: .16rem;
		padding: 14px 2em;
		background-size: 76px auto;
		width: 320px;
		transition: all .3s ease-out;
	}
	#Squestion #answer .button:hover{opacity: .7;cursor: pointer;}

	#Sresult .resultImg{margin: 40px auto 0 auto;}
	#Sresult .resultImg img{width: 800px;border: solid 6px #fff4ca;margin: 0 auto;}
	#Sresult .resultImg.inuyasha::before, #Sresult .resultImg.yashahime::before{
		background-size: auto 106px;
		top:-3px;
		width: 110%;
		height: calc(100% + 20px);
		transform: rotate(5deg);
	}
	#Sresult .resultTxt{
		margin: 25px auto 0 auto;
		width:860px;
		padding: 60px 50px;
	}
	#Sresult .resultTxt::after{
		top:-58px;
		left: -58px;
		width:205px;
		height: 205px;
	}
	#Sresult .resultTxt .name::before{
		bottom:-22px;
		height: 37px;
	}
	#Sresult .resultTxt .name img{height: 42px;}
	#Sresult .voice{padding: 80px 0; width: 720px;margin: 0 auto;font-size: .18rem;}
	#Sresult .snsShare{
		margin: 0 auto  80px auto;
		padding: 40px;
		width:660px;
		border: solid 3px #504d00;
	}
	#Sresult .snsShare h3{
		margin: 0 auto 40px auto;
		font-size: .22rem;
	}
	#Sresult .snsShare ul{
		margin:60px auto 30px auto;
		width: 280px;
	}
	#Sresult .snsShare ul li{width: calc(33% - 20px);}
	#Sresult .bnr_official{width: 480px;}
	#Sresult .officialLinks{
		width: 480px;
		margin: 0 auto 20px auto;
		font-size: .18rem;
	}
}