@charset "utf-8";

.relate-btn{
	vertical-align: top;
	margin: auto;
	display: inline-block;
	background: #d89300;
	color: #fff;
	border-radius: 0 0 1.5em 1.5em;
	font-size: .7em;
	padding: .5em 3em;
	cursor: pointer;
	font-family: "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",  Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
	font-weight: bold;
}
.relate-btn:hover{
	opacity: .9;
	transition: .2s;
}
@media screen and (max-width:767px){
	.relate-btn{	
		padding: 0 1em;	
		line-height: 37px;
		border-radius: 0;
	}
}
	
.relate-app{
	display: none;
	position: absolute;
	top:0; left: 0;
	width: 100%;
	z-index: 99999;
	padding: .5em .5em 0;
	box-sizing: border-box;
	corsor: pointer;
}
	.relate-app::after{
		content: "";
		display: block;
		position: fixed;
		top:0; left: 0;
		height: 100%;
		width: 100%;
		background: rgba(255,255,255,.6);
		z-index: 999990;
	}
	.relate-app div{
		max-width: 880px;
		margin: auto;
		padding: 2em 1.5em 1.5em;
		box-sizing: border-box;
		border-radius: .7em;
		box-shadow: 0 0 .6em 0 #000;
		background: #1a1a1a url(/yugioh/common/images/assets/relate-app-bk.jpg) center top no-repeat;
		border: 2px solid #bea653;
		position: relative;
		z-index: 999991;
	}
		.relate-app dl{
			margin-bottom: 1em;
		}
		.relate-app dt{
			color: #e8c93a;
			font-size: .98em;
			font-weight: bold;
			padding: 0 0 1em;
			font-family: "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",  Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
		}
		.relate-app dd{
			letter-spacing: -.40em;
			text-align: left;
		}
		.relate-app dd a{
			display: inline-block;
			letter-spacing: normal;
			width: 31%;
			margin: auto 1% 2%;
			box-shadow: 0 0 0 1px #666 , 0 0 .5em 0 #000;
			overflow: hidden;
			border-radius: .3em;
		}
		.relate-app dd a img{
			max-width: 100%;
			vertical-align: bottom;
			image-rendering: -webkit-optimize-contrast;
		}
		.relate-app dd a:hover{
			box-shadow: 0 0 0 1px #eee , 0 0 .1em 0 #000;
			transition: .2s;
		}
		.relate-app small{
			display: block;
			font-family: "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",  Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
			font-size: .7rem !important;
			opacity: .7;
			color: #aaa;
			margin-bottom: 2em;
			background: none !important;
			padding: 0 !important;
		}
		.relate-app span{
			display: inlne-block;
			font-family: "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",  Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
			color: #999;
			border: 1px solid #999;
			border-radius: 50em;
			font-weight: bold;
			font-size: .75rem;
			line-height: 1em;
			padding: .2em 3em .15em;
			cursor: pointer;
		}
		.relate-app span::before{
			content: "×";
			font-size: 1.1em;
			margin-right: .3em;
		}
		.relate-app span:hover{
			color: #ccc;
			border: 1px solid #ccc;
		}
@media screen and (max-width:767px){
		.relate-app dd a{
			width: 47%;
			margin: auto 1% 4%;
		}
}