@charset "utf-8";

.depart.rush{
	/*display: block !important;*/
}

body{
	font-size: 1em;
}
@media screen and (max-width:767px){
body{
	font-size: .9em;	
}
}

img:not(header[role="banner"] img):not(.lp-link img){
	max-width: 100%;
	vertical-align: bottom;
}

header[role="banner"]{
	box-shadow: 0 0 .8em 0 #333;
	
	& h1{
		overflow: hidden;
		text-align:center;
		background: #393939;
	}
	
	& h1 img{
		display: block;
		@media screen and (min-width: 1400px){
			position:relative;
			width: 100%;
		}
		@media screen and (min-width:720px) and (max-width:1399px){
			position:relative;
			left: 50%;
			transform: translate(-50%,0);
			width:1400px;
		}
		@media screen and (max-width:719px){
			transition: .2s;
			position:relative;
			left: 50%;
			transform: translate(-50%,0);
			width: 200%;
		}
	}
	
	& time{
		display: block;
		color: #fff63c;
		text-shadow: 0 0 .2em #000;
		text-align: center;
		background: linear-gradient(to right, #111 10%, #2c2c2c, #111 90%);
		font-size: 1.6em;
		font-weight: bold;
		padding: .6em 1em .4em;
		
		border-top: 4px solid #555;
		border-image: linear-gradient(to right, #333200 2%, #a09900 50%, #333200 98%) 1;
		@media screen and (max-width:767px){
			border-bottom-width: 4px;
		}
		
	}
}



main[role=main]{
	
	& > section{
		text-align: center;
		padding: 0 0 4em;
		scroll-margin-top: 5em;
		display: block;
		
		/*&::before {
			display: block;
			height: 2rem;
			margin-top: -2rem;
			content: "";
		}*/

		& > h1{
			background: 
				linear-gradient(to right, rgba(10,10,10,.7) 10%, rgba(10,10,10,.1), rgba(10,10,10,.7) 90%),
				url(/yugioh/duelistfestival/assets/images/title-bk.jpg) center center no-repeat;
			background-size:
				auto auto,
				100% auto;
			color: #efefef;
			text-shadow: 0 0 .5em #000;
			font-family: "ruika", sans-serif;
			font-feature-settings: "palt";
			letter-spacing: .1em;
			font-weight: 100;
			font-size: 2.2em;
			text-align: center;
			padding: 1em;
			border-top: 3px solid #555;
			/*border-bottom: 3px solid #555;*/
			border-image: linear-gradient(to right, #333200 2%, #a09900 50%, #333200 98%) 1;
			margin-bottom: 1.5em;
			
			@media (width <= 767px){
				& {
					background-size:
						auto auto,
						auto 120%;
				}
			}
			
		}
		
		& > h2{
			font-size: 1.2em;
			font-weight: bold;
			max-width: 1000px;
			margin-bottom: .5em;
			background: #666;
			color: #fff;
			box-sizing: border-box;
			padding: .6em 1em .4em;
			
			&.ocg,&.rush{
				
				background: var(--keycolorL);
			}
		}
	}
	
}

/*# .introduction #*/
main[role=main] > section.introduction{
	overflow: hidden;
	padding: 2em 0;
	
	& > img{
		max-width: 90%;
	}
	
	&::after{
		content: "";
		display: block;
		height: 200px;
		width: 100%;
		background: url(images/photos.jpg);
		animation: photoline 35s infinite linear;
	}
}

@keyframes photoline{
	0%    { background-position: 0 center; }
	100%  { background-position: -2487px center; }
}

/*# .update # */ 
main[role=main] > section.update{
	/*margin-top: -2em;*/
	padding: 0 1em 1.5em;
	& > div{
		max-width: 842px;
		display: flex;
		
		& > h2{
			width: 10em;
			font-weight: bold;
			opacity: .3;
			padding-top: .2em;
		}
		
		& ul{
			width: calc(100% - 10em);
			text-align: left;
			
			& li{
				padding: .5em 0;
				&:not(:last-child){
					border-bottom: 1px solid #bbb;
				}
				
				& a{
					text-decoration: none;
					display: flex;
					color: #555;
					&:not([tabindex]):hover{
						color: #136cff;
						transition: .2s;
					}
				}
				
				& time{
					width: 8em;
					font-family: "ruika", sans-serif;
					font-feature-settings: "palt";
					letter-spacing: -.05em;
					font-weight: 100;
				}
				& span{
					width: calc(100% - 8em);
					font-size: .95em;
				}
			}
		}
	}
	
}


/*# .information #*/

main[role=main] > section.information{
		
		
	& table.summary{
		margin: auto;
		max-width: 842px;
		color: #222;
		box-shadow: 0 0 0 4px #7e7809, 0 0 .5em 0 rgba(0,0,0,.7);
		margin: auto auto 1em;
		
		& caption{
			background-color: #8f891a;
			color: #fff;
			box-shadow: 0 0 0 4px #7e7809, 0 0 .5em 0 rgba(0,0,0,.7);
			font-weight: bold;
			font-size: 1.2em;
			text-align: center;
			margin-bottom: 1em;
			line-height: 1em;
			padding: .3em 2em .2em;
			position: relative;
			overflow: hidden;
			
			&::before, &::after{
				content: "";
				position: absolute;
				height: 100%;
				width: 2em;
				top: 0;
				background: #7e7809;
			}
			&::before{
				left: -1em;
				transform: skew(20deg);
			}
			&::after{
				right: -1em;
				transform: skew(-20deg);
			}
		}
		
		& tbody{
			border: 10px solid #fff;
		}
		
		& tr{
			border-bottom: 1px solid #ccc;
			&:last-child{
				border: none;
			}
		}
		
		& th{
			color: #7b7b7b;
			font-weight: bold;
			text-align: center;
			width: 10em;
			padding: .7em 0;
			@media screen and (max-width:767px){
				&{
					width: 24%;
				}
			}
		}
		
		& td{
			font-weight: bold;
			text-align: left;
			padding: .7em 0 .5em .5em;
			& span{
				font-weight: bold;	
				display: inline-block;
			}
			& p{
				font-size: .9em;
			}
			& ul{
				font-size: .8em;
				opacity: .8;
			}
			& li{
				padding-left: 1.3em;
				position: relative;
				&::before{
					content: "■";
					position: absolute;
					left: 0;
					top: 0;
					color: #444;
				}
			}
			& small{
				display: block;
				opacity: .8;
				font-size: .8em;
				padding-left: 1.3em;
				position: relative;
				&::before{
					content: "※";
					position: absolute;
					left: 0; top: 0;
				}
			}
			& a.inpage{
				color: #3c3c3c;
				border: 1px solid #888;
				font-size: .85em;
				line-height: 1em;
				padding: .3em 1.4em .1em;
				display: inline-block;
				text-decoration: none;
				margin-top: 1em;
				transform: translate(0, -.1em);
				
				&::after{
					content: "»";
					display: inline-block;
					transform: rotate(90deg);
					font-size: 1.1em;
					font-weight: bold;
					margin-left: .5em;
				}
				
				&:hover{
					background: #ccc;
					transition: .2s;
					color: #fff;
					border: 1px solid #ffbbbb;
				}
			}
		}
		
	}

	& aside.note{
		max-width: 850px;
		margin: auto auto 2em;
		font-size: .8em;
		text-align: center;
		color: #555;
		background: #eee;
		padding: .8em;
		box-sizing: border-box;
		
		& h5{
			background: #666;
			color: #fff;
			padding: .2em 1em;
			margin-bottom: .5em;
		}
	}
}

main[role=main] > section.coneve{
	padding: 0em 0 2em;
	background: #fff;
}
main[role=main] > aside.coneve{
	padding: 0em 1em 2em;
	margin-bottom: 2em;
	margin-top: -2em;
	border-top: 1px solid #ccc;
	box-shadow: 0 2px 0 -1px #fff inset;
	background: linear-gradient(to bottom, #ddd 20%, #fff);
}
	
main[role=main] > .coneve{	
	& div{
		max-width: 860px;
		box-sizing: border-box;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		padding: 1em 1em 1em;
		border-radius: .5em;
		
		
		& h4{
			width: 100%;
			font-weight: bold;
			font-size: 1em;
			text-align: center;
			background: #fff;
			padding: .2em;
			margin-bottom: 1em;
			color: #aaa;
			border-left: 3px solid #ccc;
			border-right: 3px solid #ccc;
		}
		& p{
			width: 100%;
			max-width: 850px;
			text-align: center;
			font-weight: bold;
			margin-bottom: 1em;
			padding: 1em 0;
			color: #333;
		}
	}
	

	& span{
		padding: 1em 1em 1em 3em;
		font-size: .95em;
		display: block;
		width: 100%;
		max-width: 860px;
		box-sizing: border-box;
		text-align: left !important;
		color: #ff7100;
		position: relative;
		font-weight: bold;
		
		&::before{
			content: "!";
			position: absolute;
			left: 1em;
			top: 1em;
			background: #ff7100;
			color: #fff;
			width: 1.5em;
			height: 1.5em;
			text-align: center;
			border-radius: .2em;
		}
	}
	& a{
		width: 48%;
		
		&:nth-of-type(3){
			margin-left: 0;
		}
		&:nth-of-type(4){
			margin-right: 0;
		}
		
		& img{
			border-radius: .5em;
			border: 1px solid #fff;
			&:hover{
				border: 1px solid #a3f;
				opacity: .8;
				transition: .2s;
			}
		}
	}
}

& .y3x3{
	display: block;
	width: fit-content;
	background: linear-gradient(to bottom, #007df0, #0097f3);
	border: 2px solid;
	border-image: linear-gradient(to bottom, #5fbcff, #045fd7) 1;
	color: #fff;
	line-height: 1.2em;
	font-size: .95em;
	text-decoration: none;
	padding: .9em 4em;
	box-shadow: 0 0 .5em 0 #555;
	position: relative;
	
	&:hover{
		border-image: linear-gradient(to bottom, #fff, #fff) 1;
		transition: .2s;
	}
	
	&::after{
		content: "";
		position: absolute;
		right: 1em;
		top: 50%;
		width: 1.3em;
		height: 1.3em;
		transform: translate(0,-50%);
		background: url(/yugioh/assets/svg/external.svg);
		background-size: 100% auto;
		filter: invert(1);
	}
}
	
	
/*# .participate #*/

main[role=main] > section.participate{
	background: #eee;
	
	&::before {
		background: #fff;
	}
	
	/*
	& > *{
		max-width: 850px;
		margin: auto;
		display: block;
		text-align: left;
		box-sizing: border-box;
		color: #444;
	}
	*/
	
	& > p{
		margin-bottom: 2em;
		text-align: center;
		
		&.closed{
			text-align: center;
			background: #fff;
			color: #888;
			padding: 1.5em .5em;
			margin-top: 1.5em;
			border: 1px solid #ddd;
		}
		
		& span{
			display: inline-block;
		}
	}
	
	& dl{
		border-bottom: 1px solid #bbb;
		font-size: .95em;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: start;
		
		& > *{
			border-top: 1px solid #bbb;
			margin-top: 0;
			padding: .7em 0;
		}
	
		& dt{
			width: 8em;
		}
		
		& dd{
			width: calc(100% - 8em);
			
			& ul{
				margin-bottom: .5em;
			}
			& li{
				padding: 0 0 0 1.2em;
				position: relative;
				line-height: 1.4em;
				margin-bottom: .2em;
			}
			& li::before{
				content: "■";
				position: absolute;
				left: 0; top: 0;
			}
			
		}
		
		@media screen and (max-width:767px){
		& {
			display: block;
		}
		& dt{
			width:100%;
			background: #bbb;
			text-align: center;
			padding: .3em 0;
		}
		& dd{
			width:100%;
			border-top: none;
		}
		}
		
	}

	
}

/*########## .contents ##########*/
main[role=main] > section.contents{
	padding: 0;
	
	& > h1{
		margin-bottom: auto;
	}
/*
	& > p{
		text-align: center;
		max-width: 800px;
		padding: 1em;
		box-sizing: border-box;
		margin-bottom: 1.5em;
		border-radius: .5em;
	}
	& > p.notice{
		border: 2px solid #c00;
		color: #c00;
		position: relative;
		font-weight: bold;
	}
		& > p.notice::before{
			content: "";
			position: absolute;
			left: 1.5em;
			top: 50%;
			width: 1.5em; height: 1.5em;
			transform: translate(0,-50%);
			background: url(/yugioh/assets/svg/attention.svg);
			background-size: 100% auto;
			filter: invert(12%) sepia(76%) saturate(5365%) hue-rotate(356deg) brightness(93%) contrast(114%);
		}
*/
}

:root .ocg{
	--keycolorL: #dc1818;
	--keycolorD: #a40f0f;
	--kcFilterD: brightness(0) saturate(100%) invert(12%) sepia(99%) saturate(3649%) hue-rotate(355deg) brightness(89%) contrast(95%);
}

:root .rush{
	--keycolorL: #ff9600;
	--keycolorD: #e27000;
	--kcFilterD: brightness(0) saturate(100%) invert(60%) sepia(95%) saturate(4211%) hue-rotate(8deg) brightness(96%) contrast(101%);
	
}

.depart-switch{
	display: flex;
	background: var(--keycolorL);
	
	& > li{
		width: 50%;
		background: var(--keycolorL);
		padding: 1.2em .8em calc(1.2em - 5px);
		box-shadow: 0 5px 0 0 rgba(0,0,0,.15) inset;
	
		&.ocg{border-radius: 0 0 .7em 0;}
		&.rush{border-radius: 0 0 0 .7em;}
	
		& a{
			display: block;
			max-width: 410px;
			background: linear-gradient(to bottom, #ffffff33 , #ffffff11);
			border-radius: .4em;
			text-align: center;
			padding: .8em 0;
			box-shadow: 0 0 .3em 0 rgba(0,0,0,.2), 0 0 0 2px rgba(255,255,255,.3) inset;
			
			& img{
				width: 80%;
				filter: drop-shadow(.1em .1em .1em #000);
			}
			
			&:hover{
				opacity: .8;
				transition: .2s;
			}
		}
		@media screen and (max-width:767px){
			& {
				padding: .8em .6em calc(.8em - 5px);
			}
			& a img{
				width: 95%
			}
			
		}
		
	}
	
	&.lower> li{
		padding: calc(1.2em - 5px) .8em 1.2em;
		box-shadow: 0 -5px 0 0 rgba(0,0,0,.15) inset;
		&.ocg{border-radius: 0 .7em 0 0;}
		&.rush{border-radius: .7em 0 0 0;}
	}
		
	& > li.ocg{
		text-align: right;
		& a{
			margin-right: 0;
			
		}
	}
	& > li.rush{
		text-align: left;
		& a{	margin-left: 0;}
	}

}
	

/*-------------------------*/
article.depart{
	padding: 4em 1em;
	overflow-x: hidden;
	margin: auto;
	border-style: solid;
	border-width: 4px 0;
	box-shadow: 0 10em 10em -5em rgba(0,0,0,.4) inset , 0 -10em 10em -5em rgba(0,0,0,.4) inset;
	border-top: 4px solid var(--keycolorD);
	border-bottom: 4px solid var(--keycolorD);

	&.ocg{	background: url(/yugioh/duelistfestival/assets/images/depart-bk-ocg.png) center top;}
	&.rush{	
		background: url(/yugioh/duelistfestival/assets/images/depart-bk-rush.jpg) center top fixed;
		background-size: 100% auto;
	}
	
	@media screen and (max-width:767px){
	& {
		padding: 1em;
	}
	}
}
	
	
	.depart-wrapper{
		max-width: 1000px;
		border-radius: 1em;
		border: 1px solid #f5f5f533;
		margin: auto;
		overflow: hidden;
	}
	/*
		.ocg .depart-wrapper{ border-color: #dc1818;}
		.rush .depart-wrapper{ border-color: #ff9600;}
	*/
	
	.depart-head{
		

	}
		.depart-head h2{
			position: relative;
		}
			.depart-head h2 picture img{
				margin-top: -2em;
				width: 100%;
			}
			@media screen and (max-width:767px){
				.depart-head h2{
					overflow: hidden;
				}
				.depart-head h2 picture img{
					margin-top: 0;
					width: 140% !important;
					max-width: 140% !important;
					transform: translate(-14%,0);
				}
			
			}



/*-------------------------*/				
				
	.depart-body{
		padding: 1em 2em;
		background-color: #f5f5f5;
	}
	
@media screen and (max-width:767px){
	.depart-body{
		padding: .5em .7em;
	}
}
		
	.depart-body .rulelink{
		border-top: 1px solid #ccc; 
		margin: auto 1.5em;
		padding: 1em 0;
		& p{
			padding: .3em 0;
			font-size: .95em;
			& a{
				font-weight: bold;
				padding: 0 .3em;
				display: inline-block;
				color: #136cff;
				padding: 0 1.5em 0 .3em;
				position: relative;
				&::before{
					content: "";
					position: absolute;
					width: 1em;
					height: 1em;
					filter: invert(25%) sepia(97%) saturate(1913%) hue-rotate(211deg) brightness(108%) contrast(106%);
					background-size: 100% auto;
					background-position: center center;
					background-repeat: no-repeat;
					right: .2em;
					top: 50%;
					transform: translate(0,-70%);
				}
				&.external::before{
					background-image: url(/yugioh/assets/svg/external.svg);
				}
				&.download::before{
					background-image: url(/yugioh/assets/svg/download.svg);
				}
				&:hover{
					opacity: .6;
					transition: .2s;
				}
			}
		}
		
		@media screen and (max-width:767px){
			margin: auto .5em;
		}
		
	}

		
	.depart-body .necessary{
		color: #3a3a3a;
		position: relative;
		padding: 1.5em 0 1.7em 8em;
		margin: auto 1.5em;
		text-align: left;
		border-top: 1px solid #ccc;
		@media screen and (max-width: 767px){
		&{
			margin: auto .5em;
			padding: 1.5em 0 1.7em;
		}
		}
		&::before{
			position: absolute;
			top: 1.5em;
			left: 0;
			font-size: .9em;
			content: "必要な物";
			line-height: 1em;
			padding: .35em 0 .2em;
			background: var(--keycolorL);
			background: #aaa;
			display: inline-block;
			font-weight: bold;
			color: #fff;
			border-radius: .2em;
			width: 7.5em;
			text-align: center;
		}
		@media screen and (max-width:767px){
		&::before {
			position: static;
			margin-bottom: 1em;
			width: auto;
			display: block;
		}
		}
		& li{
			position: relative;
			font-size: .9em;
			line-height: 1.2em;
			padding-left: 1em;
		
			&::before{
				content: "・";
				position: absolute;
				left: 0;
				top: 0;
			}
			& small{
				font-size: .9em;
				padding-left: 1.2em;
				opacity: .8;
			}
			& small::before{
				content: "※";
			}
			& h6{
				border: 1px solid #bbb;
				padding: 0.18em 0.5em .1em;
				margin: .5em auto;
				background: #f5f5f5;
				box-shadow: 0 0 0 1px #fff inset;
			}
			& div{
				display: flex;
			}
			& p:first-child{
				width: 6.5em;
			}
			& p:nth-child(2){
				text-align: center;
				padding: 0 .5em;
			}
		}
	}



/*###########################################################*/

.depart-body .corner{
	padding: 1.5em;
	margin: auto auto 1.5em;
	background: #fff;
	box-shadow: 0 0 .3em 0 #ccc;
	color: #333;
	text-align: left;
	@media screen and (max-width: 767px){
		padding: 1em;	
	}

	& > *{
		margin-bottom: .8em;
	}
	
	& h3{
		background: var(--keycolorL);
		border: 3px solid var(--keycolorD);
		position: relative;
		overflow: hidden;
		text-align: center;
		padding: 1% 0;
		margin-bottom: 2em;
		color: #fff;
		font-family: "ruika", sans-serif;
		font-weight: 100;
		font-size: min(4vw,1.6em);
		
		
		& img{
			max-width: 60% !important;
		}
		@media screen and (max-width:767px){
		& img{
			max-width: 100% !important;
		}		
		}
		
		&::before, &::after{
			content: "";
			position: absolute;
			height: 120%;
			top: -5%;
			width: 2em;
			background: var(--keycolorD);
			box-shadow: 0 0 0 3px var(--keycolorL), 0 0 0 8px var(--keycolorD);
		}
		&::before{
			left: -.5em;
			transform: skew(20deg);
		}
		&::after{
			right: -.5em;
			transform: skew(-20deg);
		}
		& time{
			padding-top: 1em;
			margin-bottom: -.2em;
			font-weight: bold;
			color: #fff;
			display: block;
			line-height: 1em;
			opacity: .8;
		}
		&.notice{
			border: none;
			color: #fff;
			font-weight: bold;
			text-align: center;
			font-size: 1.23em;
			padding: .4em 1em .25em;
			background: var(--keycolorD);
			&::before, &::after{
				height: 110%;
				top: -2px;
			}
			
			@media screen and (max-width:767px){
				font-size: .9em;
				padding: .5em 1em .3em;
			}
		}
		

	}/*h3*/
	
	& > div.guest{
		text-align: center;
		padding-bottom: .6em;
		margin-bottom: 0;
		z-index: 50;
		position: relative;
		
		& span{
		filter: drop-shadow(.2em .2em .2em #000);
		background: #fe0;
		color: var(--keycolorD);
		font-weight: bold;
		padding: .5em 1.5em;
		margin: auto;
		position: relative;
		text-align: center;
		display: block;
		width: fit-content;
		border-radius: 1.5em;
		&::before{
			content: "";
			background: url(/yugioh/assets/svg/filltriangle.svg);
			position: absolute;
			bottom: -1.5em;
			left: 50%;
			height: 1.5em;
			width: 1.3em;
			filter: brightness(0) saturate(100%) invert(75%) sepia(92%) saturate(705%) hue-rotate(1deg) brightness(109%) contrast(105%);
			transform: translate(-50%,0) rotate(180deg);
		}
		}
		@media screen and (max-width:767px){
		& span{
			font-size: .8em;
		}
		}
	}
	
	& h4{
		font-size: 1.3em;
		color: #555;
		line-height: 1em;
		border-left: 9px solid var(--keycolorD);
		padding: .2em .7em .2em;
		margin-top: 2em;
		font-family: "ruika", sans-serif;
		font-weight: 100;
	}
	
	& h5{
		background: var(--keycolorL);
		color: #fff;
		font-weight: bold;
		line-height: 1em;
		padding: .4em 1em .2em;
		text-align: center;
		width: fit-content;
		margin-left: 0;
		border-radius: .2em;
		position: relative;
		overflow: hidden;
		
		&::before, &::after{
			content: "";
			background: var(--keycolorD);
			position: absolute;
			top: 0;
			height: 100%;
			width: 15%;
			transform: skew(30deg);
		}
		&::before{	left: -7%;}
		&::after{	right: -7%;}
	}
	& > h5{
		margin-top: 2em;
		padding: .6em 3em .4em;
		box-sizing: border-box;
	}
	& h6{
		font-weight: bold;
		color: var(--keycolorD);
		margin-bottom: .5em;
	}
	
	& figure.event-image{
		aspect-ratio: 4/1;
		text-align: center;
		margin-bottom: 2em;
		& img{
			height: 100%;
		}
		&.teaching{
			background: url(/yugioh/instructor/images/background.jpg) center / 200% auto;
			display: flex;
			& img{
				height: 90%;
			}
		}
		@media (max-width:767px){
			aspect-ratio: 3/1;
		}
		
		
	}
	
	& figure.prizes{
		text-align: center;
		border: 1px solid #e2e2e2;
		padding: 1em;
		background: #fff;
		
		& picture{
			display: block;
		}
			
		&.w40{
			& img{ width: 40%;}
		}
		&.pack{
			& img{ width: 20%;}
		}
		&.halffield{
			padding: 1em 1em;
			& > img{
				border-radius: 3% 3% 3% 3% / 7.8% 7.8% 7.8% 7.8%;
				width: 96%;
				max-width: 810px;
			}
			& > img + img{
				margin-top: 1em;
			}
		}
		&.field{
			padding: .5em 1em;
			
			& picture{
				display: block;
				padding: 1em 0;
			}
			& picture:not(:first-child){
				border-top: 1px solid #e2e2e2;
				padding: 1em 0 1em;
			}
		}
		
		& figcaption{
			font-size: .9em;
			padding-top: 1em;
		}
		& a.cardlist{
			margin-top: 1em;
		}
		
		& details{
			margin: .5em auto .3em;
			& summary{
				font-size: .9em;
				cursor: pointer;
				display: block;
				width: fit-content;
				position: relative;
				line-height: 1em;
				padding: .3em 2em .2em;
				color: #777;
				border: 1px solid #bbb;
				background: #fff;
				&:hover{
					background: #eee;	
					transition: .2s;
				}
				@media screen and (max-width:767px){
				& {
					width: auto;	
					padding: .5em 2em .4em;
				}
				}
				
			}
			& summary::-webkit-details-marker{
				display: none;
			}
			&[open] summary{
				width: auto;
				background: #eaeaea;
				border: 1px solid #bfff;
				transition: .2s;
			}
			& summary::after{
				content: "+";
				position: absolute;
				right: .5em;
				top: 50%;
				transform: translate(0,-50%);
			}
			&[open] summary::after{
				content: "-";
			}
			& div{
				opacity: 0;
				padding: 1em 0 0;
				& > img{
					
				}
				& picture{
					width: 18%;
					
					& img {
						width: 100% !important;
					}
				}
			}
			&[open] div{
				display: grid;
				
				&:has(:nth-of-type(5):last-child){
					grid-template-columns: 1fr 1fr 1fr 1fr 1fr;	
					gap: 1em;
				}
				grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;	
				gap: .5em;
				
				opacity: 1;
				transition: .2s;
				@media (max-width:767px){
					grid-template-columns: 1fr 1fr 1fr 1fr;	
				}
				
				& a{
					padding: 0;
					display: block;
					position: relative;
					&::before {
                        content: "";
                        display: block;
                        position: absolute;
                        width: 20%;
                        aspect-ratio: 1 / 1;
                        right: 3.5%;
                        bottom: 2.4%;
                        background: #fff url(/yugioh/assets/svg/zoom.svg) center center no-repeat;
                        background-size: 66% 66%;
                        filter: invert(1);
                        opacity: .5;
					}
					& img{
						width: 100%;
					}
				}
			}
			
		}
		
		
		
	}
	
	& div.zones{
		display: flex;
		justify-content: space-between;
		margin-bottom: 2em;
		
		& > div{
			width: 49%;
			margin: 0;
			border-radius: 1em;
			box-sizing: border-box;
			padding: 1em 1em .5em;
			&.azone{
				--MainColor: #2658e3;
				--ThinColor: #849de7;
				--DarkColor: #2548bf;
			}
			&.bzone{
				--MainColor: #dc3c3c;
				--ThinColor: #ff7f7f;
				--DarkColor: #b22d2d;
			}
			background: linear-gradient(to bottom, var(--DarkColor), var(--MainColor) 50%);
			box-shadow: 0 0 0 3px var(--ThinColor) inset, 0 0 0 6px var(--MainColor) inset;
			
			& h5{
				padding: 0;
				background: none;
				width: 100%;
				text-align: center;
				font-size: 1.8em;
				color: var(--ThinColor);
				&::before, &::after{
					content: none;
				}
				& em{
					font-size: 1.8em;
					font-weight: bold;
					line-height: 1em;
					margin-right: .1em;
				}
			}
			& dl{
				border-top: 1px solid var(--ThinColor);
				display: flex;
				
				color: #fff;
				height: 4em;
				padding: .5em 0;
				
				& dt{
					margin: 0;
					display: flex;
					align-items: center;
					justify-content: center;
					text-align: center;
					background: var(--DarkColor);
					border-radius: .5em;
					width: 4.5em;
					font-size: .95em;
					font-weight: bold;
				}
				& dd{
					text-align: left;
					margin-left: .5em;
					font-weight: bold;
					& span{
						display: block;
						font-weight: bold;
						color: #ff0;
						font-size: 1.2em;
					}
				}
			}
		}
	}
	
	
	
	& div.event-performer-list figure{
		padding: 0 1em 0 0;
		& img {
			box-shadow: 0 0 0 1px #ccc;
		}
	}
	
		& small{
			display: block;
			position: relative;
			padding-left: 1.2em;
			font-size: .9em;
			opacity: .7;
			&.emp{
				font-weight: bold;
				opacity: .9;
				color: var(--keycolorD);
			}
		}
			& small::before{
				content: "※";
				position: absolute;
				left: 0;
				top: 0;
			}
	
	& p{
		line-height: 1.3em;
		
		& b{
			color: #333;
			font-weight: bold;
		}
		
		& em{
			font-weight: bold;
		}
		& time{
			display: block;
			line-height: 1em;
			padding: .5em;
			color: #222;
		}

		&.soon{
			padding: 1em 3em;
			font-size: 1.2em;
			margin: 1.5em 10%;
			text-align: center;
			border-radius: 5px;
			box-shadow: 0 0 3px 0 #ccc;
			background: #fefbe0;
			font-weight: bold;
			color: #e5b304;
		}
		
	}
	
	
	& a{
		color: #136cff;
		padding: 0 .5em;
		display: inline-block;
		
		&.deeplink{
			display: inline-block;
			color: #136cff;
			line-height: 1em;
			border: 1px solid #136cff;
			border-radius: .3em;
			padding: .5em 2em .4em .7em;
			position: relative;
			text-decoration: none;
			&::before{
				content: "";
				position: absolute;
				width: 1em;
				height: 1em;
				background: url(/yugioh/assets/svg/deeplink.svg) center center;
				filter: invert(25%) sepia(97%) saturate(1913%) hue-rotate(211deg) brightness(108%) contrast(106%);
				background-size: 100% auto;
				right: .5em;
				top: 50%;
				transform: translate(0,-50%);
			}
			&.none{
				filter: grayscale(1);
				background: #ddd;
			}
			&:not(.none):hover{
				background: #136cff !important;
				color: #fff !important;
				transition: .2s;
				&::before{
					filter: invert(1) !important;
				}
			}
		}
		&.external{
			display: inline-block;
			color: #136cff;
			padding: 0 1.5em 0 .3em;
			position: relative;
			&::before{
				content: "";
				position: absolute;
				width: 1em;
				height: 1em;
				background: url(/yugioh/assets/svg/external.svg) center center;
				filter: invert(25%) sepia(97%) saturate(1913%) hue-rotate(211deg) brightness(108%) contrast(106%);
				background-size: 100% auto;
				right: .2em;
				top: 50%;
				transform: translate(0,-70%);
			}
		&:hover{
			color: #ddaa00;
			transition: .2s;
			&::before{
				filter: brightness(0) saturate(100%) invert(75%) sepia(71%) saturate(2844%) hue-rotate(7deg) brightness(94%) contrast(102%);
			}
		}
		}
		&.cardlist{
			margin: auto;
			font-size: .9em;
			display: block;
			width: fit-content;
			position: relative;
			line-height: 1em;
			padding: .4em 2em .2em;
			color: #777;
			border: 1px solid #bbb;
			background: #fff;
			text-decoration: none;
			&::before{
				content: "";
				position: absolute;
				width: 1em;
				height: 1em;
				background: url(/yugioh/assets/svg/external.svg) center center;
				background-size: 100% auto;
				right: .3em;
				top: 50%;
				transform: translate(0,-50%);
				filter: brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(19%) hue-rotate(271deg) brightness(94%) contrast(81%);
			}
		}
		
		&:hover:not([tabindex="-1"]){
			opacity: .6;
			transition: .2s;
		}
	}
	
	& div.label{
		display: flex;
		justify-content: space-between;
		text-align: left;
		
		& > h5{
			margin-left: 0;
			width: 6em;
		}
		& > p{
			width: calc(100% - 6em);
			box-sizing: border-box;
			padding-left: 1em;
		}
	@media screen and (max-width:767px){
	&{
		display: block;
		
		& > h5{
			width: auto;
		}
		& > p{
			padding-top: .5em;
			width: auto;
			padding-left: 0;
		}
	}
	}
	}
	
	& ol{
		counter-reset: number 0;
		& li{
			position: relative;
			padding: 0 0 .8em 2em;
			line-height: 1.3em;
			&::before{
				position: absolute;
				counter-increment: number 1;
				content: counter(number) "";
				inset: 0 auto auto 0;
				background: var(--keycolorL);
				color: #fff;
				width: 1.5em;
				display: block;
				aspect-ratio: 1/1;
				text-align: center;
				font-weight: bold;
				font-size: .8em;
			}
		}
	}
	
	& ul li{
		position: relative;
		padding: 0 0 .3em 1.5em;
		line-height: 1.3em;
	}
		& ul li::before{
			position: absolute;
			content: "■";
			left: 0;
		}
		& ul li > ul{
			padding-top: .3em;
			font-size: .95em;
		}
		& ul li > ul li{
			padding: 0 0 .3em 1.2em;
		}
		& ul li > ul li::before{
			content: "・" !important;
		}
		
		
	& table.prizes{
		border: 1px solid var(--keycolorL);
		width: 100%;
		background: var(--keycolorL);
		& tr > *{
			border-bottom: 1px solid var(--keycolorL);
			padding: .4em .5em;
			text-align: center;
			font-size: .9em;
		}
		& th{
			background: #ffffffe5;
			color: var(--keycolorL);
			width: 50%;
			padding: .4em 1em;
		}
		& td{
			background: #fff;
		}
	}
	
}


/*########### merchandise ###########*/
main[role=main] > section.merchandise{
	background: #eee;
	
	h3{
		font-weight: bold;
		margin-bottom: .5em;
	}
	table{
		border: 1px solid #ccc;
		margin-bottom: .5em;
		& tr{
			border-bottom: 1px solid #ccc;	
			& th{
				border-right: 1px solid #ddd;	
				background: #ddd;
				padding: .3em .5em;
			}
			& td{
				padding: .3em .5em;
			}
		}
	}
}



/*########## .map ##########*/
main[role=main] > section.map{
	&::before{
		background: #eee;
	}
	background: #fff;
	
	& section.mapimg{
		text-align: center;
		padding: 0 1em;
		
		& > figure{
			margin-bottom: 1em;
		}
		& > p{
			background: #f5f5f5;
			padding: .8em;
			width: fit-content;
			max-width: 1000px;
			text-align: left;
			font-size: .8em;
			color: #444;
			& > small{
				display: block;
				position: relative;
				padding-left: 1.2em;
				
				&::after{
					content: "※";
					position: absolute;
					left: 0;
					top: 0;
				}
			}
		}
	}
	
	& a.zoom{
		display: inline-block;
		position: relative;
		border: 1px solid #888;
		overflow: hidden;
		padding: 0;
		&:hover{
			border: 1px solid #ccc;	
		}
		&:hover img{
			transform: scale(1.05,1.05);
			transition: .2s;
		}
		
		&::after{
			content: "";
			position: absolute;
			right: .5em; bottom: .5em;
			width: 12%;
			max-width: 50px;
			aspect-ratio: 1/1;
			background: #ffffffaa url(/yugioh/assets/svg/zoom.svg) center center no-repeat;
			background-size: 70% auto;
			filter: invert(1);
		}
		
		&:hover::after{
			background-color: #fff;
		}
	}
	
}

section.merchandise,
section.map{
	& .soon{
		padding: 0 2em;
		
		& p{
			padding: 3em 2em;
			font-size: 1.2em;
			margin: 1.5em auto auto;
			max-width: 750px;
			text-align: center;
			border-radius: 5px;
			box-shadow: 0 0 3px 0 #ccc;
			background: #fefbe0;
			font-weight: bold;
			color: #e5b304;
		}
	}
	
}



/*########### noticeother ###########*/

main[role=main] > section.noticeother{
	background: #ddd;
	&::before{
		background: #fff;
	}
}

section.notice{
	max-width: 1000px;
	margin: 2em auto 2em;
	padding: 0 1em;
	text-align: left;
	color: #333;
	font-size: .95em;

	& h2{
		font-weight: bold;
		color: #000;
		font-size: 1.2em;
		padding-left: 2em;
		position: relative;
		margin-bottom: 1em;
		opacity: .7;
		
		&::before{
			content: "";
			position: absolute;
			left: 0;
			top: -.1em;
			width: 1.5em;
			height: 1.5em;
			background: url(/yugioh/assets/svg/attention.svg);
			background-size: 100% auto;
		}
	}
	
	& a{
		display: inline-block;
		color: #136cff;
		padding: 0 1.5em 0 .3em;
		position: relative;
		&::before{
			content: "";
			width: .8em;
			aspect-ratio: 1/1;
			position: absolute;
			inset: 40% .3em auto auto;
			transform: translate(0,-40%);
			background: url(/yugioh/assets/svg/external.svg) center / 100% auto no-repeat;
			filter: invert(25%) sepia(97%) saturate(1913%) hue-rotate(211deg) brightness(108%) contrast(106%);
		}
		&:hover{
			color: #ddaa00;
			transition: .2s;
			&::before{
				filter: brightness(0) saturate(100%) invert(75%) sepia(71%) saturate(2844%) hue-rotate(7deg) brightness(94%) contrast(102%);
			}
		}
		
	}
	& p{
		margin-bottom: 1em;
		& small{
			display: block;
			position: relative;
			padding-left: 1.3em;
			opacity: .7;
			
			&::before{
				position: absolute;
				left: 0;
				top: 0;
				content: "※";
			}
		}
		
		& b{
			display: block;
			text-align: center;
			background: #888;
			color: #fff;
			line-height: 1em;
			border-radius: 1em;
			margin: 1em auto 2em;
			padding: .5em;
		}
	
	}
	
	& div{
		&:not([class]){
			border: 1px solid #aaa;
			padding: .5em .5em 0;
			box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
		}
		&.flex{
			display: flex;
			padding: .5em 0;
			justify-content: flex-start; 
			align-items: start;
			
			& p:first-child{
				width: 8em;
				position: relative;
				&::after{
					content: "+";
					position: absolute;
					right: 1em;
				}
			}
			& p:last-child{
				margin: 0;
				width: calc(100% - 8em);
				text-align: left;
				& small{
					display: inline-block;
				}
			}
			
		}
		
		& h6{
			padding-bottom: .5em;
			border-bottom: 1px solid #aaa;
			margin-bottom: .3em;
		}
	}
	
	& ol{
		padding: .5em 0 0 1.4em;
		& > li{
			list-style-type: decimal;
			margin-bottom: 1em;
			font-weight: bold;
		}
	}
	
	& ul > li{
		position: relative;
		padding: .2em 0 0 1.4em;
		
		&::before{
			content: "■";
			position: absolute;
			left: 0;
			top: .2em;
			opacity: .5;
		}
	}
}

/*---------------------------*/




.pazzle{
	padding: 2em 0;
	text-align: center;
}
	
	
time.del{
	text-decoration: line-through;
	opacity: .8;
}
		

.footer-wrapper {
    background: #111;
}




/*-------------------------------------------*/
.itemization{
	max-width: 1000px;
	padding: 0 1em;
	margin-bottom: 2em;
	
	& > p{
		text-align: center;
		margin-bottom: 1em;
		
		& > em{
			font-weight: bold;
			font-size: 1.2em;
			display: block;
			margin-bottom: .5em;
		}
	}
}

	.itemization > div.apply{
		
		
		
		border: none;
		
		max-width: 800px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .5em;
		
		
		padding-bottom: 1em;
		
		& a{
			display: block;
			text-decoration: none;
			margin: 0 0 .5em; 
		}
		& a.dp{
            border-radius: .6em;
            text-align: center;
            padding: .9em 0;
            box-shadow: 0 0 .3em 0 rgba(0, 0, 0, .2), 0 0 0 2px rgba(255, 255, 255, .3) inset, 2px 2px 2px 0 #888;
			background: linear-gradient(to bottom, var(--keycolorD), var(--keycolorL));
			position: relative;
			
			&:not([tabindex])::before{
				content: "";
				width: 5%;
				aspect-ratio: 1/1;
				position: absolute;
				inset: 3% 2% auto auto;
				background: url(/yugioh/assets/svg/deeplink.svg) center / 100% auto no-repeat;
				filter: invert(1);
			}
			
			& p{
				color: rgba(255,255,255,.7);
				display: block;
				padding-top: .5em;
				font-size: .9em;
				& span{
					display: inline-block;	
				}
			}
			&.soon{
				background: linear-gradient(to bottom, #555, #888);	
				&:hover{
					background: linear-gradient(to bottom, #555, #888);		
				}
			}
			
			& img:first-child{
				width: 50%;
				display: block;
			}
			& img:nth-of-type(2){
				width: 70%;
				display: block;
			}
			&:hover{
				background: linear-gradient(to bottom, var(--keycolorL), var(--keycolorL));	
				transition: .2s;
			}
					
			
		}
		
		& a.kcgn{
			border: 1px solid var(--keycolorD);
			font-size: .9em;
			padding: .2em 2em;
			color: var(--keycolorD);
			border-radius: 1em;
			margin: 0 .5em 1em;
			position: relative;
			&::before{
				content: "";
				width: 4%;
				aspect-ratio: 1/1;
				position: absolute;
				inset: 50% .8em auto auto;
				transform: translate(0,-40%);
				background: url(/yugioh/assets/svg/external.svg) center / 100% auto no-repeat;
				filter: var(--kcFilterD);
			}
			&:hover{
				background: rgba(255,255,255,.4);
				transition: .05s;
			}
		}

	}
	
		& p.comment{
			font-weight: bold;
			font-size: 1.2em;
			background: #737a9d;
			width: fit-content;
			padding: .5em 1.5em;
			color: #fff;
			border-radius: 50em;
			& span{
				display: inline-block;
				font-weight: inherit;
			}
		}
	
	.itemization > div.item{
		border-top: 1px solid #bbb;
		font-size: .95em;
		padding: 1em 0 1em 10em;
		position: relative;
		text-align: left;
		color: #444;
		&.fullwide{
			padding: 1em 0 2em;
		}
		
		&:nth-of-type(1){
			/*border-top: 1px solid #bbb;*/
			border-top: none;
		}
		
		& h3{
			width: 8em;
			position: absolute;
			left: 0; top: 1em;
		}
		
		& h4{
			font-weight: bold;
			color: #eee;
			padding: .5em 1em .3em;
			border-radius: .3em;
			box-shadow: 0 0 3px 2px rgba(255,255,255,.5) inset;
			&.ocg{
				background: #dc1818;
			}
			&.rush{
				margin-top: 1.5em;
				background: #ff9600;
			}
		}
		
		& > *:not(:last-child){
			margin-bottom: .5em;
		}
		
		& p{
			& em{
				display: block;
				font-weight: bold;
			}
			& s{
				font-weight: inherit;
			}
			&.notice{
				width: fit-content;
				border: 1px solid #55c;
				color: #55c;
				padding: .5em 1.5em;
				border-radius: .5em;
			}
		}
		
		& a.external{
			color: #136cff;
			display: inline-block;
			color: #136cff;
			padding: 0 1.5em 0 0;
			position: relative;
			&::before{
				content: "";
				position: absolute;
				width: 1em;
				height: 1em;
				background: url(/yugioh/assets/svg/external.svg) center center;
				filter: invert(25%) sepia(97%) saturate(1913%) hue-rotate(211deg) brightness(108%) contrast(106%);
				background-size: 100% auto;
				right: .2em;
				top: 50%;
				transform: translate(0,-70%);
			}
			
			&:hover{
				color: #ddaa00;
				transition: .2s;
				&::before{
					filter: brightness(0) saturate(100%) invert(75%) sepia(71%) saturate(2844%) hue-rotate(7deg) brightness(94%) contrast(102%);
				}
			}
			
		}
		
				
		& table.prizes{
			width: 100%;
			margin: 1em auto !important;
			text-align: center;
			& th{
				text-align: center;	
			}
			& td{
				background: #fbfbfb;
				&:first-child{
					width: 50%;
				}
				&:last-child{
					width: 50%;
					font-weight: bold;
				}
			}
		}
		& figure.prizes{
			border: 1px solid #ddd;
			background: #fbfbfb;
			text-align: center;
			padding: 1em;
			
			&.protector > *{
				display: inline-block;
				width: 23%;
				margin: auto 3%;
			}
		}
		
		& small{
			display: block;
			opacity: .8;
			padding-left: 1.3em;
			position: relative;
			&::before{
				content: "※";
				position: absolute;
				left: 0; top: 0;
			}
		}
		
		& ul:not([class]){
			margin-bottom: .5em;
		
			& li{
				padding: 0 0 .3em 1.3em;
				position: relative;
				line-height: 1.4em;
				margin-bottom: .2em;
				
				&::before{
					content: "■";
					position: absolute;
					left: 0; top: 0;
					opacity: .4;
				}
				& a:not([class]){
					color: #666;
				}
			}
		}
		
	}

@media (width <= 767px){
	.itemization div.item{
		padding-left: 0;
		border: none !important;
		& h3{
			position: relative;
			width: auto;
			top: 0;
			left: 0;
			background: #ccc;
			padding: .3em .5em;
		}
		& figure.prizes.protector > *{
			display: inline-block;
			width: 34%;
			margin: auto 3%;
		}
		
	}
}

/*--------------------------------------------------------------*/

ul.event-sales-products{
	li{
		padding: .3em 0 0 .3em;
		box-sizing: border-box;
		position: relative;
		
		&::after {
            content: counter(number);
			content: none;
            counter-increment: number;
            left: 3px;
            position: absolute;
            width: 1.7em;
            height: 1.5em;
            top: 3px;
            line-height: 1.7em;
            overflow: hidden;
            text-align: center;
            background: #f85600;
            color: #fff;
            font-size: .85em;
        }
	}
	li a{
		box-shadow: 0 0 0 1px #ddd inset;
		background: #fff;
		
		&:hover{
			background: #fff !important;
		}
		
		&::before, &::after{
			content: none;
		}
		&:hover::after{
			content: "";
		}
	}
}

/*--------------------------------------------------------------*/

div.neuron{
	max-width: 1000px;
	border: 2px solid #bbb;
	position: relative;
	padding: 1em;
	background: 
		url(/yugioh/neuron/images/bg-hexagon.png) fixed,
		repeating-linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,.5) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 2px),
		linear-gradient(to right, #031930 0%,#031930 25%,#045699 50%,#031930 75%,#031930 100%);
		
	& figure{
		position: relative;
		max-width: 360px;
		z-index: 5;
		margin: auto;
		
		& a{
			display: inline-block;
			border: 1px solid #2893ff;
			border-radius: .5em;
			overflow: hidden;
		
			&:hover{
				transition: .2s;
				border: 1px solid #fff;
				box-shadow: 0 0 0 1px rgba(10,220,250,.5), 0 0 1em 0 rgba(0,120,250,1);
			}
		}
		
		& figcaption{
			font-size: .8em;
			color: #62c6ff;
			background: #3e97f355;
			border-radius: 10em;
			margin: .5em 1em auto;
			text-align: center;
			padding: .2em 0 .1em;
		}
		
	}
}