@charset "utf-8";
/* CSS Document */
html{
	font-size: 100%;
}
body{
	color: #24292e;
}
.wrapper{
	max-width: 960px;
	margin: 0 auto 130px auto;
	font-size: 0.9rem;
	padding: 0 4%;
}
.second{
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 65px;
}
header{
	max-width: 960px;
	height: 250px;
	padding: 0 4%;
	margin: 0 auto;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	text-align: center;
	align-items: center;
}
header h1 a{
	text-decoration: none;
	color: #000;
	font-weight: normal;
	line-height: 1;
	display: block;
}
header ul{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	padding: 10px 0;
}
header ul li{
	list-style-type: none;
	font-size: 0.9rem;
	margin-left: 30px;
}
header ul li a{
	text-decoration: none;
	color: #24292e;
	padding: 10px;
}
header li a:hover{
	opacity: 0.7;
}
.insta{
	width: 16px;
	height: auto;
}
.visual{
	width: 100vw;
	max-width: 1920px;
	height: 420px;
	background-image: url("../img_first/mainvisual-pc.jpg");
	margin-bottom: 80px;
}
#about h2{
	text-align: center;
	margin-bottom: 65px;
}
#works h2{
	text-align: center;
}
#image{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
section figure{
	width: 260px;
	margin-bottom: 30px;
}
section figure img{
	width: 260px;
	height: 170px;
	object-fit: cover;
}
#news h2{
	text-align: center;
}
section tbody tr{
	margin: 0 auto;
	text-align: center;
	
}
table{
	margin: 0 auto;
	text-align: center;
	border-collapse: collapse;
	width: 960px;
}

section table tr td{
	border-top: 1px #CDCDCD solid;
	border-bottom: 1px #CDCDCD solid;
	padding: 15px;
}
section h2{
	text-align: center;
	margin-bottom: 65px;
}
.contact{
	text-align: center;
}
.contact table{
	text-align: center;
}
.contact tr{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.contact tbody td{
	margin: 10px;
	width: 15%;
}
.contact textarea{
	resize: none;
	border: 1px solid #CDCDCD;
	text-align: center;
	width: 700px;
	height: 50px;
}
#message{
	height: 10rem;
}

input[type="submit"]{
	background-color: #383838;
	color: #FFFFFF;
	width: 200px;
	height: 50px;
	border: black 1px solid;
	margin-bottom: 30px;
}
#contact .button input:hover {
	background-color: #fff;
	color: black;
}
footer{
	background-color: #383838;
}
footer p{
	text-align: center;
	color: #fff;
}

/*スマホ用*/
@media screen and (max-width: 600px){
	.wrapper{
		margin-bottom: 70px;
	}
	#works ul{
		flex-direction: column;
	}
	#works li{
		width: 100%;
	}
	#my_work{
		width: 100vw;
	}
	#my_work li{
		margin-left: 20px;
		font-size: 0.8rem;
	}
	.visual{
		background-image: url("../img_first/mainvisual-sp.jpg");
	}
	
	#news tr{
		flex-direction: column;
	}
	#news td{
		width: 100%;
		padding-top: 0;
	}
}
