@charset "utf-8";

#main{
	width:960px;
	height:770px;
	display:flex;
	flex-direction:column;
}

h3 {
	font-size:100%;
}

#main1{
	width: 960px;
	height:400px;
	position: relative;
	margin-bottom: 30px;
}

#setumei{
	margin-top: 80px;
	line-height: 30px;
	margin-left: 20px;
	background-image:url(../images/works_background.jpg); 
	background-repeat:no-repeat;
	background-position: top 100px left 140px;
}

#setumei h2{
	margin-bottom: 20px;
}

#slide1, #slide2, #slide3, #slide4 {
	display:flex;
	flex-direction: row;
	width: 960px;
	height: 400px;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

#slide1 {
	opacity: 1;
}

section {
	width: 480px;
	height: 420px;
	margin-top: 50px;
	margin-left: 50px;
}

#main2 {
	margin-bottom: 30px;
	display: flex;
	flex-direction: row;
}

#main2 ul {
	display: flex;
	flex-direction: row;
}

#main2 ul li {
	width: 240px;
	height: 260px;
	text-align: center;
	margin: 0 auto;
}

#kakunin {
	text-align: center;
	font-size: 90%;
	margin-bottom: 20px;
	color: #666;
}

@media screen and (max-width:480px) {
	
#main{
	width:320px;
	height:1500px;
	display:flex;
	flex-direction:column;
}

#main1{
	width: 320px;
	height:650px;
	position: relative;
	margin-bottom: 0px;
}

#setumei{
	margin-top: 20px;
	line-height: 30px;
	margin-left: 10px;
	background-image:url(../images/works_background.jpg); 
	background-repeat:no-repeat;
	background-position: top 50px left 50px;
	text-align: center;
}

#setumei h2{
	margin-bottom: 20px;
}

#slide1, #slide2, #slide3, #slide4 {
	display:flex;
	flex-direction: column;
	width: 320px;
	height: 650px;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

#slide1 {
	opacity: 1;
}

section {
	width: 320px;
	height: 350px;
	margin-top: 20px;
	margin-left: 20px;
}

#main2 {
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}

#main2 ul {
	display: flex;
	flex-direction: row;
}

#main2 ul li {
	width: 160px;
	height: 200px;
	text-align: center;
	margin: 0 auto;
}

.slidesp {
	width: 280px;
	height: 280px;
}

input {
	width: 140px;
	height: 140px;
}

#kakunin {
	font-size: 80%;
}
	

