
.sec h2 {
	width: 1000px;
	max-width: 100%;
    margin: auto;
    padding-left: 0.5em;
    background-color: rgb(255 255 255);
    border: solid 1px rgb(13 115 189);
    border-left-width: 4px;
    line-height: 1.8;
    box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.information-box.craft-r{    
    margin-top: 2em;
}

.information-box.craft-r>ul.products-list {
    justify-content: space-evenly;
}

.information-box.craft-r>ul.products-list>li{
    background: rgb(255,255,255);
    margin-bottom: 1rem;
}

#shoplinks {
    width: 100%;
    margin-bottom: 50px;
    background-color: rgb(244 244 246);
    padding: 16px 0;
    padding-bottom: 32px;
    box-shadow: 5px 5px 8px 2px rgba(0, 0, 0, 0.1);
}
#shoplinks .label {
    width: 1000px;
    max-width: 100%;
    margin: auto;
    line-height: 44px;
    padding-bottom: 8px;
}
.shop_wrap {
    display: flex;
    width: 1000px;
    max-width: 100%;
    margin: auto;
}

a.shop_b {
    display: flex;
    justify-content: center;
    margin-right: 30px;
    height: 60px;
    padding: 8px;
    padding-right: 16px;
    border: solid 1px rgb(232 232 232);
    border-radius: 5px;
    background-color: rgb(255,255,255);
}

#shoplinks .name {
    padding-left: 8px;
    line-height: 42px;
}

.sec .sub {
    width: 1000px;
	max-width: 100%;
    margin: auto;
    margin-top: 16px;
    line-height: 44px;
    min-height: 44px;
    padding-left: 16px;
}
	

#kihon{
	padding-top: 60px;
    	padding-bottom: 120px;
	margin-top: 60px;
	}

#kihon .wrap {
	height: auto;
    max-height: 360px;
    display: flex;
    position: relative;
    width: 1000px;
    max-width: 100%;
    margin: auto;
    margin-top: 60px;
    transition: 0.5s;
    background-color: rgb(255,255,255);
    border: solid 2px rgb(244 244 244);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.1);
    opacity: 0.5;

}

#kihon>figure{
    width: 1000px;
    max-width: 100%;
margin: 1em auto;
}

#kihon>figure>img{
border-radius: 10px;
}

#youtube_sec{
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: auto;
}

#youtube_sec>iframe{
margin:1.8em 0;
}


	#kihon .wrap figure{
	width: 300px;
    height: 300px;
    margin: 0;
	overflow: hidden;
	}
	#kihon .wrap:hover img:nth-child(1),
	#kihon .wrap.move img:nth-child(1),
	#kihon .wrap img:nth-child(2){
		display: none;
	}
	#kihon .wrap:hover img:nth-child(2),
	#kihon .wrap.move img:nth-child(2){
		display: block ;
		max-height: 100%;
		max-width: none ;
	}
	
	#kihon .wrap .text{
	padding-left: 40px;
    padding-right: 36px;
    width: calc(100% - 300px);
    font-size: 1.1em;
	}
	#kihon .wrap .text h4{
	padding-top: 0.7em;
    font-weight: 600;
    font-size: 1.5em;
    letter-spacing: 1px;
    margin-bottom: 0.7em;
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',"メイリオ", meiryo, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
	}
	
#kihon .wrap .num{
    position: absolute;
    width: 60px;
    line-height: 60px;
    background-color: rgb(13 115 189);
    color: rgb(255,255,255);
    border: solid 2px rgb(244,244,244);
    border-top-width: 0;
    border-left-width: 0;
    text-align: center;
    border-bottom-right-radius: 10px;
    font-size: 1.8em;
}
#links.sec{
    background-color: rgb(248 248 248);
    box-shadow: 5px 5px 8px 2px rgba(0, 0, 0, 0.1);
    padding-top: 16px;
    padding-bottom: 32px;
    margin-top: 88px;
    margin-bottom: 88px;
}
	
	
	#links-wrap>a:hover{
	background-color:rgba(13,115,189,1.00);
	color: rgb(240,240,240);
	}
#links .label{
    width: 1000px;
    max-width: 100%;
    margin: auto;
    line-height: 44px;
    padding-bottom: 8px;
}
	
#sort-wrap,
#links-wrap{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 1000px;
	max-width: 100%;
    margin: auto;
    margin-top: 36px;
    letter-spacing: 3px;
}
#sort-wrap label,
#links-wrap>a,
#jump>a{
    margin-right: 12px;
    line-height: 1.8;
    margin-top: 12px;
    padding: 8px 24px;
    border-radius: 55px;
	background-color: rgb(255,255,255);
    border: solid 1px rgba(13,115,189,1.00);
    color: #212529;
    text-decoration: none;
    cursor: pointer;
	transition: 0.3s;
	font-size: 0.9em;
	box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.1);
}
#links-wrap>a{
	width: 230px;
    display: flex;
	padding: 0;
	}

	

#links .sub{
    width: 1000px;
	max-width: 100%;
    margin: auto;
    margin-top: 36px;
    line-height: 44px;
    height: 44px;
    padding-left: 16px;
}

.link_btns{
    width: 1000px;
    max-width: 100%;
    margin: auto;
display: flex;
flex-direction: initial;
}
.link_btn,
.link_btn img{
    height: 280px;
}

.link_btn{
	max-width: 100%;
    	margin-right: 36px;
    	position: relative;
    	line-height: 66px;
    	text-align: center;
    	letter-spacing: 1px;
    	font-weight: 600;
    	border-radius: 3px;
    	overflow: hidden;
    	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.1);
	position: relative;
}
.link_btn:hover{
    background-color: rgb(200,200,200);
	text-decoration: none;
    margin-top: -5px;
    margin-bottom: 5px;
	}
	
.link_btn figure{
    margin: 0;
}
.link_btn:hover figure{
	opacity: 0.7;
}
.link_btn figcaption{
    position: absolute;
    bottom: 0;
    font-weight: bold;
    background-color: rgba(255,255,255,0.8);
    width: 100%;
}


.ex-link {
    width: calc(100% - 39px);
    line-height: 39px;
}

.st{
    width: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    background-color: rgb(13 115 189);
    color: rgb(255,255,255);
    margin-right: 8px;
}
	
	@keyframes blinking{
		0%{
		background-color: rgb(76 76 76);	
		}
		10%{
		background-color: rgb(76 76 76);	
		}
		15%{
		background-color: rgb(176 176 176);	
		}
		20%{
		background-color: rgb(76 76 76);	
		}
		100%{
		background-color: rgb(76 76 76);	
		}
	}
	@keyframes blinking_w{
		0%{
		border-color: rgb(13 115 189);	
		}
		60%{
		border-color: rgb(13 115 189);
			
		}
		80%{
		border-color: rgb(214 234 249);	
		}
		100%{
		border-color: rgb(13 115 189);	
		}
	}
	
.arrow{
	position: absolute;
    top: 7px;
    right: -10px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background-color: rgb(76 76 76);
    color: rgb(255,255,255);
    text-align: center;
    font-weight: 600;
	animation: blinking 8s both infinite;
	}
	
	a.next_st:not(.btn){
	display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 44px;
    width: 132px;
    text-align: center;
    background-color: rgb(76 76 76);
    color: rgb(255,255,255);
    border-top-left-radius: 10px;	
	}
	a.next_st:hover{
	text-decoration: none;
	background-color: rgb(176 176 176);		
	}
	
	.line{
		opacity: 0;
		    margin-bottom: 0.4em;
	}
	
	@keyframes fade_out_line{
		0%{
			opacity: 1;
			margin-left: 0;
		}
		50%{
			opacity: 0;
		}
		100%{
			opacity: 0;
			margin-left: 30%;
		}

	}
@keyframes fade_out_lineS{
		0%{
			opacity: 1;
			margin-left: 0;
		}
		50%{
			opacity: 0;
		}
		100%{
			opacity: 0;
			margin-left: 5%;
		}

	}
	
		@keyframes fade_in_line{
		0%{
			opacity: 0;
			margin-left: 30%;
		}
		
		50%{
			opacity: 0;
		}
		100%{
			opacity: 1;
			margin-left: 0;
		}
	}
@keyframes fade_in_lineS{
		0%{
			opacity: 0;
			margin-left: 5%;
		}
		
		50%{
			opacity: 0;
		}
		100%{
			opacity: 1;
			margin-left: 0;
		}
	}
	#kihon .wrap:hover,
	#kihon .wrap:hover .num,
	#kihon .wrap.move,
	#kihon .wrap.move .num{
	    border-color: rgb(13 115 189);
		opacity: 1;
		animation: blinking_w 2.5s ease-in infinite both;
	}
	
.information-box{
    width: 1000px;
    max-width: 100%;
    margin: auto;
}
ul.products-list>li{
    min-width: 160px;
}

span.box.craft-card-wrap{
    position: relative;
}

span.box.craft-card-wrap > label.genre{
position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgb(160 160 160);
    padding: 2px 5px;
    font-size: 0.6rem;
    font-style: italic;
    color: rgb(255,255,255);
}

span.box.craft-card-wrap~span{
    color: rgb(50,50,50);
}

span.box.craft-card-wrap > label.genre.uv_resin{
    background-color: #2196f3;
}

span.box.craft-card-wrap > label.genre.fake_food{
	background-color: #f44336;
}

span.box.craft-card-wrap > label.genre.food_sample{
    background-color: #ff9800;
}

span.box.craft-card-wrap > label.genre.natural_stone{
     background-color: #68b50d;
}

@media screen and (max-width: 479px) {

	.information-box{
    	width: auto;
	}


	#kihon{
	padding-top: 30px;
    padding-bottom: 60px;
    margin-top: 0;	
	}
	.sec h2{
	border-radius: 0;
    border-right: 0;
    border-left: 0;
    font-size: 1.5em;
	}
	.sec .sub{
	line-height: 1.6;
    height: auto;
    padding: 0px 16px;	
	}
	#links-wrap{
    padding-left: 8px;
	margin-top: 16px;
    margin-bottom: 40px;
	}
	#links-wrap>a{
	width: calc(50% - 12px);
    margin-top: 8px;
    height: 36px;	
	}
	.st {
	line-height: 34px;
    	height: 34px;
    	width: 34px;
	}
	.ex-link{
	width: auto;
    font-size: 0.8em;
    line-height: 34px;
    height: 34px;
	}
	#kihon .wrap{
	margin-top: 0px;
    margin-bottom: 40px;
    border-radius: 0;
    flex-direction: column;
    min-height: 85vh;
    height: auto;
    max-height: 200vh;
    padding-bottom: 52px;
    border-right: 0;
    border-left: 0;
	}
#kihon .wrap.move{
    border-color: rgb(236 236 236);
    border-width: 1px;
    animation: none;
}
	#kihon .wrap figure{
	width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 calc((100% - 300px) / 2 );
    background-color: rgb(0 0 0);	
	}
	#kihon .wrap .text{
	width: 100%;
    font-size: 0.9em;	
	padding: 0 24px;
	}
	#links .sub{
	height: auto;
    line-height: 1.8;	
	}
ul.products-list>li{
    min-width: auto;
}

#links .label,#shoplinks .label{
    padding-left: 0.5em;
    padding-bottom: 24px;
    line-height: 1.8em;
}

#shoplinks .label{
	padding: 8px 16px;
	}


#shoplinks .name {
    font-size: 0.8em;
}

a.shop_b {
    justify-content: flex-start;
    width: calc(100% - 36px);
    margin: 18px;
    margin-bottom: 0;
    margin-top: 8px;
}
#links.sec{
    padding-bottom: 16px;
    margin-top: 44px;
    margin-bottom: 44px;
}

#links {
    padding-bottom: 44px;
    margin-bottom: 44px;
}

.link_btns {
    justify-content: space-evenly;
}

.link_btn, .link_btn img {
    width: 100%;
    height: auto;
}
.link_btn {
    width: calc(50% - 36px);
    border-radius: 3px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0;
}
	}