body {background: #eee;font-size: 14px;line-height: 1.5;}

header {
	background: #000;
	color: #fff;
}

#header_inner {
	width: 980px;
	margin: auto;
	overflow: hidden;
}

#header_inner > h1 {
	float: left;
}

#header_inner > p {
	float: right;
}
nav {
    width: 980px;
    overflow: hidden;
    margin: 10px auto;
}
nav ul li {float: left;margin: 0 5px;}

nav ul li a {
    display: block;
    width: 186px;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
	border-radius: 30px;
}
nav ul li a span {display: block;
text-align: center;
font-size: 10px;
color: red;
line-height: 1.5;}

nav ul li a:hover {
	background: red;
	color: #000;
}

.container {
	width: 980px;
	margin: auto;
}

.box {margin-bottom: 50px;}
.container > img {width: 100%;margin-bottom: 50px;}

.container .box h2 {
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

.container .box > p {
	text-align: center;
	line-height: 2;
	font-size: 16px;
}

.left_right {
	display: flex;
}

.box_text {margin-left: 20px;}

.box h3 {
	font-size: 20px;
    margin-bottom: 20px;}

.left_right img {border-radius: 100px;}

ul.gaiyou {
	width: 600px;
	margin: auto;
}

li:nth-child(even) {}

ul.gaiyou li {
	text-align: center;
	padding: 10px 0;
}

form {
	width: 600px;
	margin: auto;
}

form ul li h3 {
	text-align: center;
}

input[type="text"],input[type="email"],input[type="tel"] {
	width: 100%;
	height: 2rem;
	box-sizing: border-box;
	
}

.contact.box li:nth-child(2) h3 {
	background: red;
}

.contact li {
	margin-bottom: 10px;
}

.contact.box h3 {
margin-bottom: 0;
	background: black;
	color: #fff;
}

.gallery ul {overflow: hidden;}

.gallery ul li img {
	width:200px;
	height: auto;
}

.gallery ul li {
	float: left;
}

.gallery ul li:hover {
	opacity: 0.7;
}
