@charset "utf-8";

/* ---------------------------------------------------------- */
/* ご贔屓診断 */
/* ---------------------------------------------------------- */
#shindan {
	color: #fff;
	text-align: center;
	padding: 80px 0;
	}

#shindan h2 img {
	width: 500px;
	height: auto;
	}

#shindan h3 {
	font-size: 2.2rem;
	font-weight: bold;
	margin: 0 auto 20px auto;
	}

#shindan h4 {
	font-size: 2.0rem;
	font-weight: bold;
	color: #e6c37d;
	margin: 0 auto 20px auto;
	}

#shindan .box {
	width: 100%;
	max-width: 750px;
	color: #2b2b2b;
	background: #fff;
	border: 5px solid #e6c37d;
	margin: 0 auto 40px auto;
	padding: 40px;
	position: relative;
	}

#shindan .box::before {
	content: '';
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	background:
		url(../img/common/bg_contents_01.png) top left no-repeat ,
		url(../img/common/bg_contents_02.png) top right no-repeat ,
		url(../img/common/bg_contents_03.png) bottom right no-repeat ,
		url(../img/common/bg_contents_04.png) bottom left no-repeat;
	background-size: 25px 25px;
	border: 1px solid #e6c37d;
	top: 3px;
	left: 3px;
	position: absolute;
	}

#shindan .btn {
	width: 100%;
	max-width: 250px;
	font-size: 1.6rem;
	color: #fff;
	background: #dc3e4a;
	border: none;
	text-align: center;
	padding: 15px 40px 15px 30px;
	display: inline-block;
	position: relative;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	cursor: pointer;
	}

#shindan .result .box .btn {
	background: #1da1f2;
	margin: 0 0 10px 0;
	}

#shindan .btn:hover ,
#shindan .result .box .btn:hover {
	background: #e6c37d;
	}

#shindan .btn::before ,
#shindan .btn::after {
	content: "";
	width: 5px;
	height: 5px;
	top: 50%;
	right: 10px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin: -3px 0 0 0;
	position: absolute;
	display: block;
	z-index: 4;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}

#shindan .btn::after {
	right: 15px;
	}

#shindan a.white {
	text-decoration: underline;
	}

#shindan a.white:hover {
	text-decoration: none;
	}

#shindan .start .about {
	font-size: 1.6rem;
	margin: 0 0 40px 0;
	}

#shindan .start .name {
	font-size: 1.8rem;
	background: url(../img/common/bg_sns_left.png) left center no-repeat ,
				url(../img/common/bg_sns_right.png) right center no-repeat;
	background-size: 14px 30px;
	margin: 0 auto 20px auto;
	padding: 0 35px;
	display: inline-block;
	position: relative;
	}

#shindan .start input {
	width: 100%;
	max-width: 350px;
	height: 45px;
	font-size: 1.6rem;
	border: 1px solid #ccc;
	border-radius: 0;
	margin: auto;
	padding: 5px;
	display: block;
	position: relative;
	-webkit-appearance: none;
	}

#shindan .start .box p.error {
	font-size: 1.4rem;
	font-weight: bold;
	color: #dc3e4a;
	margin: 5px 0 0 0;
	}

#shindan .start .box .btn {
	margin: 20px auto 0 auto;
	}

#shindan .result .box p {
	font-size: 1.6rem;
	}

#shindan .result .box .image {
	margin: 20px auto;
	}

#shindan .result .box .image img {
	max-width: 100%;
	}

#shindan .result p.name {
	font-size: 2.6rem;
	font-weight: bold;
	letter-spacing: 5px;
	background: url(../img/common/bg_sns_left.png) left center no-repeat ,
				url(../img/common/bg_sns_right.png) right center no-repeat;
	background-size: 14px 30px;
	margin: 0 auto 15px auto;
	padding: 0 50px;
	display: inline-block;
	position: relative;
	}

#shindan .result a.again {
	width: 100%;
	max-width: 250px;
	font-size: 1.4rem;
	color: #dc3e4a;
	border: 1px solid #dc3e4a;
	text-align: center;
	padding: 15px 40px 15px 30px;
	display: inline-block;
	position: relative;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	cursor: pointer;
	}

#shindan .result a.again:hover {
	color: #e6c37d;
	border: 1px solid #e6c37d;
	}

#shindan .result a.again::before ,
#shindan .result a.again::after {
	content: "";
	width: 5px;
	height: 5px;
	top: 50%;
	right: 10px;
	border-top: 1px solid #dc3e4a;
	border-right: 1px solid #dc3e4a;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin: -3px 0 0 0;
	position: absolute;
	display: block;
	z-index: 4;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}

#shindan .result a.again::after {
	right: 15px;
	}

#shindan .result a.again:hover::before ,
#shindan .result a.again:hover::after {
	border-top: 1px solid #e6c37d;
	border-right: 1px solid #e6c37d;
	}

#shindan .result .chara_text {
	margin: 0 auto 30px auto;
	}

#shindan .result .chara_movie {
	max-width: 750px;
	margin: 0 auto 40px auto;
	}

#shindan .result .chara_movie:last-child {
	margin: 0 auto;
	}

#shindan .result .chara_movie .movie {
	width: 100%;
	height: 0;
	padding: 0 0 56.25% 0;
	overflow: hidden;
	position: relative;
	}

#shindan .result .chara_movie iframe {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	}

#shindan .result .download h3 {
	margin: 0 auto 5px auto;
	}

#shindan .result .download ul {
	margin: auto;
	display: -webkit-inline-flex;
	display: -ms-inline-flex;
	display: inline-flex;
	}

#shindan .result .download ul li {
	margin: 0 15px;
	}

#shindan .result .download ul li .sample {
	height: 180px;
	display: -webkit-inline-flex;
	display: -ms-inline-flex;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	}

#shindan .result .download ul li .sample img {
	max-width: 100%;
	min-width: 180px;
	max-height: 180px;
	}

#shindan .result .download ul li p {
	margin: 10px auto;
	}

#shindan .result .download ul li .btn {
	max-width: 180px;
	font-size: 1.4rem;
	padding: 10px 40px 10px 30px;
	}

@media (max-width: 768px){
#shindan {
	padding: 120px 30px;
	}

#shindan h2 img {
	width: 65%;
	}

#shindan .result .download ul {
	display: block;
	}

#shindan .result .download ul li {
	margin: 0 0 30px 0;
	}

#shindan .result .download ul li:last-child {
	margin: 0;
	}

#shindan .result .download ul li .sample {
	height: auto;
	display: block;
	}

#shindan .result .download ul li:first-child .sample img {
	max-width: 50%;
	max-height: auto;
	}
}

@media (max-width: 640px){
#shindan {
	padding: 100px 20px 80px 20px;
	}

#shindan h2 {
	margin: 0 0 20px 0;
	}

#shindan h2 img {
	width: 75%;
	}

#shindan h3 {
	font-size: 1.8rem;
	margin: 0 auto 10px auto;
	}

#shindan h4 {
	font-size: 1.8rem;
	margin: 0 auto 10px auto;
	}

#shindan .box {
	margin: 0 auto 30px auto;
	padding: 30px;
	}

#shindan .box::before {
	background-size: 15px 15px;
	}

#shindan .btn,
#shindan .result a.again {
	font-size: 1.4rem;
	padding: 12px 40px 12px 30px;
	}

#shindan .start .about {
	font-size: 1.4rem;
	margin: 0 0 20px 0;
	}

#shindan .start .name {
	font-size: 1.6rem;
	background-size: auto 26px;
	}

#shindan .result p.name {
	font-size: 2.2rem;
	letter-spacing: 3px;
	padding: 0 40px;
	}

#shindan .result .chara_text {
	text-align: left;
	margin: 0 auto 20px auto;
	}

#shindan .result .chara_movie {
	margin: 0 auto 30px auto;
	}
}

@media (max-width: 480px){
#shindan {
	padding: 80px 20px;
	}

#shindan h2 img {
	width: 95%;
	}
}