@charset "utf-8";
/* CSS Document */

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

	.pc{
		display: none;
	}	
	.sp{
		display: block;
	}
	
	#sp-header{
		position: fixed;
		z-index: 10000;
		top: 10px;
		right: 20px;
	}
	#sp-menu ul li{
		font-size: 16px;
	}
header{
	position: relative;
	height: 0px;
}
header h1 {
	position: absolute;
    width: 100%;
    text-align: center;
	z-index: 1000;
}
header h1 img{
	width: 120px;
	}
	#menu{
		display: none;
	}
#mainimage {
    max-width: 100%;
    height: 50vh;
    background-repeat: no-repeat;
    background-position: center top;
    margin-right: auto;
    margin-left: auto;
    background-image: url(../images/01.jpg);
    background-size: cover;
    text-align: center;
	position: relative;
}

#mainimage figure{
	position: absolute;
	width: 100%;
	top: 150px;
	text-align: center;
}
	
	.index .top2 p{
		margin-top: 10px;
		font-size: 16px;
	}
	.index .top3{
		margin-top: 20px;
	}
	.index .top3 p{
		margin-top: 10px;
		font-size: 16px;
	}
	.index main,
	.recruit main,
	.company main{
		padding: 0 15px;
	}

#sitemap{
	margin-bottom: 20px;
	}
#sitemap h3{
	margin-top: 50px;
	text-align: center;
	width: auto;
	height: auto;
	font-size: 20px;
	margin-bottom: 20px;
}
#sitemap li {
	float: left;
	width: 45%;
	margin-left: 4%;
	margin-bottom: 20px;
}
#sitemap ul li a h4{
	display: block;
	color: #333;
	text-decoration: none;
	font-size: 18px;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
}
.j01 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.j02{
	display: none;
}
.j04 {
    text-align: right;
    padding-right: 15px;
    max-width: 1250px;
    margin: 0 auto;
}
footer {
    height: auto;
    background: none;
    clear: both;
    width: 100%;
    max-width: 1250px;
	margin-top: 20px;
	margin-bottom: 10px;
}
	#footerlogo{
		display: none;
	}
	#copyright {
    float: none;
    color: black;
    margin-top: 0;
		text-align: center;
}

.works #mainimage figure{
	position: absolute;
	width: 100%;
	padding: 30px 0 10px;
	background: rgba(255,255,255,0.5);
	top: 35%;
	text-align: center;
}
.works #mainimage p{
	width: 100%;
	margin: 0 auto;
	text-align: left;
	position: relative;
	top: 50px;
	display: none;
}
.works #mainimage p img{
	width: 30%;
	}
.works section.content01{
	background: #fff;
	width: auto;
	margin: 0 auto;
	padding: 30px;
	position: relative;
} 
.works section.content01 .img{
	width: auto;
	margin: 0 auto;
	display: block;
	justify-content: space-between;
}
.works section.content01 .img figure{
	margin-bottom: 20px;
	text-align: center;
	}
.works section.content01 h3{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin-top: 30px;
	line-height: 0.8em;
}
.works section.content01 p.txt{
	font-size: 16px;
	margin-top: 20px;
}
.works section.content01 p.icon01{
	position: absolute;
	top: -10px;
	left: 0px;
	text-align: left;
}
.works section.content01 p.icon01 img{
	width: 50%;
	}
.works section.content01 p.icon02{
	position: absolute;
	top: -20px;
	right: 0px;
	text-align: right;
}
.works section.content01 p.icon02 img{
	width: 50%;
	}
.works section.content02{
	background: #fff;
	width: auto;
	margin: 0 auto;
	padding: 30px;
	position: relative;
	margin-top: 50px;
} 
.works section.content02 .img{
	position: relative;
	height: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.works section.content02 figure{
	position:static;
	text-align: center;
	width: 150px;
	margin-bottom: 10px;
}
.works section.content02 .img01{
	top: 0px;
	left: 0px;
	z-index: 1;
}
.works section.content02 .img02{
	top: 0px;
	left: 0px;
	z-index: 2;
}
.works section.content02 .img03{
	top: 0px;
	left: 0px;
	z-index: 3;
}
.works section.content02 .img04{
	top: 0px;
	left: 0px;
	z-index: 2;
}
.works section.content02 h3{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin-top: 30px;
	line-height: 0.8em;
}
.works section.content02 p.txt{
	font-size: 16px;
	margin-top: 20px;
}

.works section.content02 p.icon{
	position: absolute;
	top: -40px;
	left: 0px;
}
.works section.content02 p.icon img{
	width: 70%;
	}

.works section.content03{
	background: #fff;
	width: auto;
	margin: 0 auto;
	padding: 0 30px 30px;
	position: relative;
	margin-top: 50px;
}
.works section.content03 .box{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.works section.content03 .box .left{
	width: 100%;
}
.works section.content03 .box .right{
	width: 100%;
}
.works section.content03 h3{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin-top: 30px;
	line-height: 0.8em;
}
.works section.content03 p.txt{
	font-size: 16px;
	margin-top: 20px;
}
.works section.content03 p.icon{
	position: absolute;
	top: -50px;
	right: 0px;
	text-align: right;
}
.works section.content03 p.icon img{
	width: 70%;
	}

.thankspage h2{
	margin: 50px 0 100px;
	text-align: center;
	font-size: 18px;
}
table.mailform tr th{
	display: block;
	border: none;
	margin-top: 10px;
	padding: 5px;
}
table.mailform tr td{
	display: block;
	border: none;
	padding: 0;
	}

	
}