/* ==================== リセット ==================== */

header,
footer,
article,
section,
nav{
	display:block;
	width:auto;
	height:auto;
}

label{
	display:inline;
}

header,
footer,
article,
section,
nav,
h1, h2, h3, h4, h5, h6, p, address,
a,
ul, ol, li, dl, dt, dd,
label,
table, caption, th, td, img, form, hr,body{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6{
	font-size:13px;
	font-weight:normal;
}

table{
	border-collapse: collapse;
}

td, th{
	text-align:left;
	font-weight:normal;
	vertical-align:top;
}



/* テキストエリア内文字サイズのブラウザ間での差異をなくす */
textarea { font-size: 100%; }


img{
	/* width:100%;（TinyMCEの編集画面でサイズが反映されなくなるのでここでは指定しない）*/
	height:auto;
	vertical-align: bottom; /* 画像の下にできる隙間をなくす */
}

a img	{border: none;}

img.heimax{
	height:100%;
	width:auto;
}

li{list-style:none;}


/* hr 要素は不可視で使う */
hr{
	border-width:1px 0 0 0; /* 太さ */
	border-style:solid; /* 線種 */
	height: 1px;
	line-height:1px;
	font-size:1px;
	display:block;
	padding:0;
	margin:0;
}

.none_clearfix:after,
.clearfix:after{
	clear: both;
	content: "";
	display: block;
}

.none_clearfix{
	font-size:0;
	line-height:0;
}
.none_clearfix br{
	display:none;
}

html {
}
body.mceContentBody,
body {
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-size: 13px;

}

a{
	text-decoration:none;
	color:#0017FF;
	transition: .3s;
}

a:hover{
	text-decoration:underline;
	color:#0080FF;
}

a img{
	transition: .3s;
}

a:hover img{
	opacity:0.7;
}

#wrap{
	overflow: hidden;
	position: relative;
	width: 100%;
}

header section,
footer section,
#content section{
	margin:0 auto;
	position:relative;
}

header section::after,
footer section::after,
article::after{
	clear: both;
	content: "";
	display: block;
}

/*ヘッダー*/
header{}

header h1{
	text-align:center;
	font-size:30px;
	font-weight:bold;
	line-height:43px;
	
}

header h1 a{
	color:#000;
}
header h1 a:hover{
	text-decoration:none;
}

#content_footer nav ul,
header nav ul{
	font-size:16px;
	/*font-weight:bold;*/
}


#wrap header h1 img{
	padding-right:18px;
	width:auto;
}

/*フッタ*/
footer{
	background-color:#aacc02;
}

footer section{
	padding:15px 0;
}

footer a{
	color:#000;
	font-weight:bold;
}

#content{}

footer section,
#content section{
	word-break:break-all;
	position:relative;
}


/*コンテンツ*/

#top_img{
	background:url(images/con_img.jpg) no-repeat center top;
	text-align:center;
	border-top:#aacc02 solid 15px;
	color:#FFF;
}

.home #top_img{
	background-image:url(images/top_img.jpg);
}

#top_img p{
	text-align:left;
	font-size:17px;
	line-height:33px;
	/*font-weight:bold;*/
	
}

#top_img h1{
	font-size:30px;
	line-height:100%;
	padding:8px 10px 3px 10px;
	border:solid 1px #FFF;
	letter-spacing:0.5em;
	text-indent:0.5em;
	min-width:260px;
	display:inline-block;
	width:auto;
	margin:0 auto 35px auto;
}

.home #top_img p{
	text-align:center;
	font-size:22px;
	line-height:37px;
}

#top_nav{
	display:flex;
	-webkit-justify-content: center; /* Safari */
	justify-content: center;
}

#top_nav li a{
	display:block;
	background:url(images/top_nav01.jpg) no-repeat center center;
	color:#FFF;
	font-size:16px;
	/*font-weight:bold;*/
	position:relative;

}

#top_nav li:nth-child(2) a{ background-image:url(images/top_nav02.jpg);}
#top_nav li:nth-child(3) a{ background-image:url(images/top_nav03.jpg);}

#top_nav li a span{
	line-height:100%;
	position:absolute;
	bottom:10px;
	left:10px;
}

#content_footer{
	background:url(images/footer_back.jpg) no-repeat center bottom;
}
#content_footer,
#content_footer a{
	color:#FFF;
}

#content_footer section{
	padding:30px 0 10px;
}

#top_news{
	display:flex;
	border-bottom:solid 1px #FFF;
	margin-bottom:30px;
}

#top_news ul{
	margin-top:4px;
	padding-left:30px;
	padding-bottom:22px;
}

#top_news h2{
	font-size:22px;
	line-height:100%;
	font-weight:bold;
}

#addres h2{
	font-size:24px;
	font-weight:bold;
}



/*通常ページ*/
body.mceContentBody{
	width:850px;
	padding:10px;
}

body.mceContentBody img,
#content .body img{
	max-width:100%;
}
/*#content .body img{
	width:inherit;
}*/

body.mceContentBody h2,
#content .body h2{
	font-size:25px;
	font-weight:bold;
	line-height:100%;
	padding-bottom:15px;
	border-bottom:solid 1px #519800;
	margin-bottom:1em;
	margin-top:3em;
}

body.mceContentBody h2:nth-child(1),
#content .body h2:nth-child(1){
	margin-top:0;
}


body.mceContentBody .between_photo2,
#content .body .between_photo2,
body.mceContentBody .between_photo,
#content .body .between_photo,
body.mceContentBody .between,
#content .body .between{
	display:flex;
	-webkit-box-pack:justify;
	-ms-flex-pack:justify;
	justify-content:space-between;
}

body.mceContentBody .between > div{
	border:dashed 0.5px #DDD;
}

body.mceContentBody .between div:nth-child(1),
#content .body .between div:nth-child(1){
	width:285px;
}

body.mceContentBody li,
#content .body li{
	text-indent:-1em;
	padding-left:1em;
}

body.mceContentBody li:before,
#content .body li:before{
	content:'●';
}

body.mceContentBody .btn_link,
#content .body .btn_link{
	margin-top:1em;
}

body.mceContentBody .btn_link a,
#content .body .btn_link a{
	line-height:100%;
	color:#FFF;
	background-color:#3eaf00;
	display:block;
	border-radius: 6px;
	padding:1em 0;
	text-align:center;
}

table.color_cel{
	width:100%;
}

table.color_cel td,
table.color_cel th{
	border:solid 1px #FFF;
	vertical-align:middle;
	padding:1em;
}

table.color_cel th{
	color:#FFF;
	background-color:#3eaf00;
	width:25%;
}

/*contact from7*/
.asterisk {
	margin: 0 0 0 0.2em;
	color: #f5637a;
}


.wpcf7-form .w50flex{
	display:flex;
	 -webkit-align-items: flex-start; /* Safari */
 -webkit-align-items: center; /* Safari */
  align-items:         center;
}

.wpcf7-form .w50flex label{
	display:block;
	
}

.wpcf7-form .w50flex .wpcf7-form-control-wrap{
	display:inline-block;
}
.wpcf7 span.wpcf7-not-valid-tip {
	display:inline-block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
	background-color: #fff;
	color: #333;
	width: 92%;
	border: 1px solid #8fd169;
	font-size: 100%;
	padding: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
	margin:1%;
}

.wpcf7 input[readonly="readonly"],
.wpcf7 textarea[readonly="readonly"]{
	background-color:#EFEFEF;
	box-shadow:none;
}

.wpcf7 input[type="button"],
.wpcf7 input[type="submit"]{
	font-size: 16px;
	padding: 0.2em 1em;
	background: #8fd169;
	color: #FFF;
	border-radius: 4px;
	cursor: pointer;
	box-shadow: 0 0 1px rgba(0,0,0,.2);
	border: 1px solid #ccc;
	text-shadow: 1px 1px 0 rgba(200,200,200,1);
}
.wpcf7 input[type="submit"]:hover {
	box-shadow: 0 0 1px rgba(0,0,0,.2) inset;
}


