﻿#colorselect{
    background: #000;
    margin-top:5px;
    padding-bottom:6rem;
}

/*body{
	padding-top:40px;
	display:none;
	background-color:#000 ;
}
/* ------------------------ ヘッダー --------------------- */
/*header{

	width:100%;
	border-bottom:1px solid #fff;
	overflow:hidden;
	position:fixed;
	top:0;
	background-color:#fff;
	z-index:10;
	display:flex;
	padding:10px 20px;
	align-items:center;
	justify-content:space-between;
}

header h1{
	font-weight:600;
	color:#605f5b;
}

header img.logo{
	display:block;
	height:60px;
	width:auto;
}

div.site-link{
	display:block;
	white-space:nowrap;
	background-color:#fff;
	width:auto;
	text-align:center;
	color:black;
	border: 1px solid #262626; 
}

div.site-link a{
	display:block;
	padding:15px;
	font-size:11px;
	font-family: sans-serif;
}*/
/* ------------------------ ナビゲーション --------------------- */
menu{
	display:flex;
margin:0 auto;
    width:80%;
	align-items:center;
	justify-content:center;
	padding:55px 0 15px;
	position:relative;
}
menu li{
	width:20%;
	margin:5px 10px;
    color:#fff;
}
menu li img{
	display:block;
	width:100%;
	height:auto;
	
}


/* ------------------------ メイン --------------------- */
main{
	margin:0 auto;
	position:relative;
	height:calc(100vh - 300px);
}
.imgbox{
	position:absolute;
	background-size:contain;
	background-repeat:no-repeat;
	background-position:top center;
	height:100%;
	top:0;
	left:0;
	z-index:1;
	transition:0.3s;
}
.imgbox.append{
	z-index:2;
	transition:0.3s;
}

.heightbox{

	display:none;
}

#clickbox{
	position:absolute;
	height:100%;
	top:0;
	right:0;
	overflow-y:scroll;
	padding-right:10px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size:13px;
}

#clickbox::-webkit-scrollbar {  /* Chrome, Safari 対応 */
	position:absolute;
	right:-20px;
	top:0;
	width:10px;
	height:100%;
}

#clickbox::-webkit-scrollbar-thumb{
	background: #ccc;
	border-radius: 10px;
	box-shadow: inset 0 0 0 2px #fff;
}

#clickbox table,#clickbox table tbody{
	width:100%;

}
#clickbox table tr,#clickbox table th{
	width:100%;
}
#clickbox table img{
	width:100%;
	display:block;
}
#clickbox table td img{
	cursor:pointer;
	box-sizing:border-box;
	border:3px solid black;
}


#clickbox table td.current img{
	border-width: 2px;
			border-style: solid;
    border-image-source: linear-gradient(158deg, #a57d36, #e2cf71);
			border-image-slice: 1;
}
#clickbox table td.current{position: relative;}
#clickbox table td.current::after{
content: "";
    background: url(../img/flea.png) no-repeat center / 100%;
    width: 100%;
    height: 25px;
    position: absolute;
    bottom: auto;
    right: 0;
    display: block;
    left: 0;
}

#clickbox table td.space{
	pointer-events: none;
}

#clickbox table th{
	padding-bottom:1px;
}
#clickbox table th img{
	border:1px solid black;
}
#clickbox table:not(:first-child) th.frofix img{
	margin-top:10px;
}



/* ------------------------ スマホ表示 --------------------- */
@media screen and (max-width:670px) {
	main{
		margin:0 auto;
		position:relative;
		height:auto;
	}
	.heightbox{
		display:block;
	}
    
    menu{
        flex-wrap: wrap;
    width:100%;
        justify-content: space-around;
}
menu li{
	width:30%;
    margin: 15px 0 0 0;
}
/*	header{
		padding-top:2em;
	}
	header img.logo{
		height:40px;
	}
	header h1{
		position:absolute;
		top:0;
		left:0;
		text-align:center;
		width:100%;
		font-size:10px;
		padding:5px 0;
		background-color:#eee;
	}
	div.site-link a{
		font-size:11px;
		padding:10px;
	}*/
	.imgbox{
		position:relative;
		width:100%!important;
		margin-bottom:30px;
	}
	.imgbox.append{
		position:absolute;
		top:0;
		height:auto;
	}
	#clickbox{
		position:relative;
		width:100%!important;
		padding-right:0!important;
		overflow:auto;
	}
	footer {
		font-size:10px;
	}
}