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

/******
  common start
****/
body {
	background-color: #CCC;
	background-image: url("../img/back.gif");
	line-height: 1.2em;
}
#container {
	background-color: #00CC00 ;
	background:  url("../img/shadow.jpg") repeat-y left top;
	margin: 0 auto;
	width: 1094px;
}
/** width 1000 and center **/
main,
footer {
	width: 1000px;
	margin: 0 auto;
}
h2,h3 {
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
a:link,
a:visited {
	color: #006D4D;
}
a.link_tel {
	color: #FFF;
}


/******
  header start
****/
header {
	background-color: #006C4C;
	height: 62px;
	display: flex;
	margin: 0 auto;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 80px;
	width: 952px;
	flex-wrap: wrap;
	justify-content: space-between;
}
header h1 {
	overflow: hidden;
	width: 400px;
	height: 60px;
}
header h1 a {
	display: block;
	padding-top: 60px;
	background: #006C4C url("../img/logo.jpg") no-repeat top left;
}
header img {
	color: #FFF;
}
header ul {
	margin-right: 80px;	
	margin-top: 10px;
}
header ul li {
	color: #FFF;
	font-size: 120%;
	padding: 0 0 0.4em 0;
}


/******
  navi start
****/
nav {
	width: 1032px;
	margin: 0 auto;
	background-color: transparent;
	background-image: url("../img/header_left_bottom.png"),  url("../img/header_right_bottom.png")  ;
	background-repeat: no-repeat, no-repeat;
	background-position:left top,  right top;
}
nav > div:first-child {
	display: none;
}
nav ul{
	background-color: #FFF;
	background-image:  url("../img/menu_background.jpg");
	background-repeat: repeat-x;
	background-position: top left;
	margin-left: 16px;
	margin-right: 16px;
	padding-left: 70px;
	padding-right: 70px;
	height: 100px;
	display: flex;
	justify-content: space-around;
}
nav ul li{
	margin: 0 8px;
	letter-spacing: 0.1em;
	text-align: center;
	background: transparent url("../img/menu_top.jpg") no-repeat left top;
}

nav ul li a{
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	font-size: 130%;
	font-weight: 300;
	display: block;
	background-color: #B7E066;
	border-radius: 0 0 5px 5px;
	width: 121px;
	margin-top: 11px;
	padding-top: 15px;
	height: 40px;
	color: #006D4D;
}


/******
  footer start
****/
footer {
	padding-top: 20px;
	color: #FFF;
	text-align: center;
	background-color: #FFF;
}
footer ul:first-of-type {
	padding-top: 1em;
	width: 800px;
	margin: 0 auto 10px auto;
	display: flex;
}
footer ul:first-of-type li {
	border-right: 1px #006D4D solid;
	padding: 0;
	flex-grow: 1;
}
footer ul:first-of-type li:last-child {
	padding: 0;
	border-right-style: none;
}
footer ul:first-of-type li a {
	display: block;
	padding: 8px;
}

.link_tel {
	color: #FFF;
}
footer ul:nth-child(2) {
	padding: 1em 0 0.5em 0;
	clear: both;
	background-color: #006D4D;
	letter-spacing: 0.2em;
	display: flex;
	justify-content: center;
}
footer ul:nth-child(2) li {
	color: #FFF;
	padding: 0 0.5em;
}
footer p {
	padding: 0.5em 0 1em 0;
	background-color: #006D4D;
	letter-spacing: 0.2em;
	color: #FFF;
}


/******
  main start
****/
main{
	clear: both;
	overflow: hidden;
	background-color: #FFF;
	position: relative;
}
main .main_image h2 {
	display: none;
}
#contents_inner {
	margin: 0 80px;
}
.menu_title {
	border-bottom: #006D4D 3px solid;
	font-size: 180%;
	color: #006D4D;
	line-height: 1.2em;
	background: url("../img/green.gif") no-repeat right bottom;
	padding-top: 1em;
	margin: 1em 0 0.5em 0;
}

/******
  media query
****/
@media screen and (max-width: 1000px) {

	#container{
		width: 100%;
	}

	header,
	header ul,
	nav,
	main,
	footer{
		width: 100%;
		padding: 0;
		margin: 0;
	}
	header {
		justify-content: center;
		height: auto;
	}
	header h1 a {
		background-size: 90%;
		background-position: center 5px;
	}
	header ul {
		display: flex;
		justify-content: space-around;
		margin: 0;
	}
	header ul li {
		font-size: 90%;
	}
	nav {
		background-image: none;
	}
	nav > div:first-child {
		display: block;
		background-color: #B7E066;
		padding: 1em;
		text-align: right;
		cursor: pointer;
	}
	nav ul {
		margin: 0;
		padding: 0;
		height: auto;
		flex-direction: column;
		background: transparent none;
	}

	nav ul li{
		margin: 0;
		text-align: center;
		border-top: 1px solid #006C4C;
	}

	nav ul li a {
		width: 100%;
		margin: 0;
		font-size: 90%;
		height: 33px;
	}
	#contents_inner{
		margin: 0;
	}
	#contents_inner section:not(:first-child) {
		padding: 0 0.5em;
	}
	#contents_inner #contact_section {
		padding: 0 0.5em;
	}
	footer {
		padding-top: 1em;
	}
}/* end media query 1000 */

@media screen and (max-width: 800px) {
	.link_tel {
		text-decoration: underline;
	}
	footer ul:first-of-type {
		background-color: #F0F8E0;
		padding-top: 0.5em;
		padding-bottom: 0.5em;
		margin-bottom: 0;
		display: block;
		width: 100%;
	}
	footer ul:first-of-type li{
		text-align: left;
		border-style: none;
		width: 100%;
		margin: 8px;
	}
	footer ul:first-of-type li:last-child {
		text-align: left;
		width: 100%;
	}
	footer ul:nth-child(2) {
		flex-direction: column;

	}
}/* end media query 800 */
