/*
Theme Name:
Theme URI:
Description:WordPress theme j-ecolife
Author URI:
Version:2.3
*/

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

/*--------------------------------------------------
			全体設定
-------------------------------------------------- */
body {
	color: #121212;
	text-align: center;
	overflow-x: hidden;
	background: url(images/header-bg.jpg) top center no-repeat;
}

#header {
	text-align: center;
	margin: 20px 0 0 0;
}

#header h1 {
	text-align: center;
	text-indent: -9999px;
	background: url(images/logo.png?dt=20221129) top left no-repeat;
	height: 60px;
	margin: 0 auto;
	width: 266px;
	background-size: contain;
}

#header h1 a {
	display: block;
	width: 100%;
	height: 100%;
}

#header #g-navi-w {
	height: 50px;
	background: url(images/g-navi-bg.png) top center repeat-x;
	margin: 70px 0 0 0;
}

#header #g-navi {
	height: 50px;
	margin: 70px auto 0 auto;
	width: 1000px;
}
#header #g-navi ul li a {
	height: 50px;
	display: block;
	background: url(images/g-navi.png) top center no-repeat;
}
/* グローバルナビここから */
#s-menu {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
}
#s-menu li {
	display: block;
	float: left;
	width: 12.5%;
	margin: 0;
	padding: 0;
}
#s-menu li a {
	display: block;
	padding: 10px 0 10px;
	background-color: #ffffff;
	color: #000000;
	text-align: center;
	text-decoration: none;
	border-right: 1px solid #cccccc;
}
#s-menu li:last-child a {
	border: none;
}
#s-menu li a:hover {
	background: #004010;
	color: #ffffff;
}
#toggle {
	display: none;
}

/* 画面サイズが768px以下の場合に適用 */
@media only screen and (max-width: 768px) {
	#s-menu li {
		width: 25%;
		border-bottom: 1px solid #cccccc;
	}
}

/* 画面サイズが480px以下の場合に適用 */
@media only screen and (max-width: 480px) {
	#s-menu {
		display: none;
		margin-top: -20px;
	}
	#s-menu li {
		width: 50%;
	}
	#s-menu li.last {
		margin-bottom: 20px;
	}
	#toggle {
		display: block;
		position: relative;
		width: 100%;
		background: #004010;
		margin-bottom: 20px;
	}
	#toggle a {
		display: block;
		position: relative;
		padding: 20px 0 20px;
		border-bottom: 1px solid #cccccc;
		color: #fff;
		text-align: center;
		text-decoration: none;
	}
	#toggle:before {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 20px;
		margin-top: -15px;
		background: #fff;
	}
	#toggle a:before,
	#toggle a:after {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 6px;
		background: #004010;
	}
	#toggle a:before {
		margin-top: -9px;
	}
	#toggle a:after {
		margin-top: 3px;
	}
}

/* グローバルナビここまで */

#header #g-navi ul li {
	width: 200px;
	float: left;
	text-indent: -9999px;
}
#header #g-navi ul li a {
	height: 50px;
	display: block;
	background: url(images/g-navi.png) top center no-repeat;
}
#header #g-navi ul li#g-navi1 a {
	width: 200px;
	background-position: 0px 0;
}
#header #g-navi ul li#g-navi2 a {
	width: 200px;
	background-position: -200px 0;
}
#header #g-navi ul li#g-navi3 a {
	width: 200px;
	background-position: -400px 0;
}
#header #g-navi ul li#g-navi4 a {
	width: 200px;
	background-position: -600px 0;
}
#header #g-navi ul li#g-navi5 a {
	width: 200px;
	background-position: -800px 0;
}

#header #g-navi ul li#g-navi1 a:hover {
	width: 200px;
	background-position: 0px -50px;
}
#header #g-navi ul li#g-navi2 a:hover {
	width: 200px;
	background-position: -200px -50px;
}
#header #g-navi ul li#g-navi3 a:hover {
	width: 200px;
	background-position: -400px -50px;
}
#header #g-navi ul li#g-navi4 a:hover {
	width: 200px;
	background-position: -600px -50px;
}
#header #g-navi ul li#g-navi5 a:hover {
	width: 200px;
	background-position: -800px -50px;
}

nav > ul > li {
	position: relative;
	float: left;
	width: 200px;
}
nav a {
	color: #fff;
	text-decoration: none;
}
nav ul a:hover {
	color: #000;
}

nav .sub-menu {
	position: absolute;
	width: 200px;
	background: #fff;
	color: red !important;
	top: 50px;
	display: none;
	background-image: none !important;
	text-indent: 0px !important;
	z-index: 9999;
}
nav .sub-menu a {
	color: #000;
	display: block;
	height: 50px;
	line-height: 50px;
	background-image: none !important;
}

nav .sub-menu a:hover {
	color: #fff;
	text-indent: 0px !important;
}

/* ホバーで子メニュー表示 */
nav .menu-item-has-children:hover ul {
	display: block;
}
nav li.menu-item-has-children li a:hover {
	background-color: #004010 !important;
	/*background-image:none!important;*/
	text-indent: -9999px !important;
}
nav li.menu-item-has-children li#g-navi3-1 a {
	background: url(images/g-navi-3-1.png) top left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-2 a {
	background: url(images/g-navi-3-2.png) top left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-3 a {
	background: url(images/g-navi-3-3.png) top left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-4 a {
	background: url(images/g-navi-3-4.png) top left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-5 a {
	background: url(images/g-navi-3-5.png) top left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-6 a {
	background: url(images/g-navi-3-6.png) top left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-7 a {
	background: url(images/g-navi-3-7.png) top left no-repeat !important;
}

nav li.menu-item-has-children li#g-navi3-1 a:hover {
	background: url(images/g-navi-3-1.png) bottom left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-2 a:hover {
	background: url(images/g-navi-3-2.png) bottom left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-3 a:hover {
	background: url(images/g-navi-3-3.png) bottom left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-4 a:hover {
	background: url(images/g-navi-3-4.png) bottom left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-5 a:hover {
	background: url(images/g-navi-3-5.png) bottom left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-6 a:hover {
	background: url(images/g-navi-3-6.png) bottom left no-repeat !important;
}
nav li.menu-item-has-children li#g-navi3-7 a:hover {
	background: url(images/g-navi-3-7.png) bottom left no-repeat !important;
}

#menu-box {
	display: none;
}

/* ---------------------- */
.slide_selector {
	margin: 15px auto;
}
.slide_selector .slide1 {
	background: url(images/slide1.jpg) top center no-repeat;
	height: 600px;
}
.slide_selector .slide2 {
	background: url(images/slide2.jpg) top center no-repeat;
	height: 600px;
}
.slide_selector .slide3 {
	background: url(images/slide3.jpg) top center no-repeat;
	height: 600px;
}
@media screen and (max-width:431px){
	.slide_selector button {
		display:none !important;
	}
}

#wrap {
	width: 1000px;
	margin: 20px auto;
	text-align: left;
}

#contents {
	width: 740px;
	float: right;
}
#contents h2.tit {
	background-color: #00661a;
	font-size: 21px;
	padding: 15px 0 15px 20px;
	color: #fff;
	font-weight: bold;
	margin: 0 0 15px 0;
}

#contents h3.tit {
	background-color: #85b200;
	font-size: 21px;
	padding: 15px 0 15px 20px;
	color: #fff;
	font-weight: bold;
	margin: 0 0 15px 0;
}

#blog h2 {
	font-size: 24px;
	font-weight: bold;
	margin: 10px 0 25px 0;
}

#contents h2.titimg {
	text-align: center;
	margin: 0 0 30px 0;
}

.fLeft h3,
.fRight h3 {
	font-size: 18px;
	font-weight: bold;
	margin: 15px 0 20px 0;
}

#blogbox {
	width: 740px;
}
#blogbox .blogbox-inner {
	width: 240px;
	float: left;
	margin: 0 6px 30px 0;
}
#blogbox .last {
	margin: 0 -10px 0 0;
}

.box {
	margin: 0 0 0px 0;
}

.box .fLeft,
.box .fRight {
	width: 370px;
}

.box .fLeft360,
.box .fRight360 {
	width: 360px;
}

.box .fLeft360 {
	float: left;
}

.box .fRight360 {
	float: right;
}

.box h2 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}
.box h3 {
	font-size: 14px;
	font-weight: bold;
	margin: 10px 0;
}

#nextpre {
	border-top: 1px solid #ccc;
	margin: 50px 0 0 0;
	padding: 25px 0 0 0;
}

table.clinictable {
	border-collapse: collapse;
	text-align: left;
	line-height: 1.5;
	border: 1px solid #ccc;
	text-align: center;
	width: 100%;
}
table.clinictable thead {
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	background: #00661a;
}
table.clinictable thead th {
	padding: 10px;
	font-weight: bold;
	vertical-align: top;
	color: #fff;
	border-right: 1px dotted #ccc;
}
table.clinictable tbody th {
	padding: 10px;
	font-weight: bold;
	vertical-align: middle;
	border-bottom: 1px solid #ccc;
	background: #e2fce8;
	color: #00661a;
}
table.clinictable td {
	padding: 10px;
	vertical-align: middle;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

table.clinictable td .sankaku {
	color: #00661a;
	font-size: 0.5em;
	line-height: 0.9em;
}

.ggmap {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#sidebar {
	width: 245px;
	float: left;
}

#footer p {
	text-indent: -9999px;
	background: url(images/footer-logo.jpg) top center;
	height: 150px;
}

#footer {
	background: url(images/footer-bg.jpg) bottom center no-repeat;
	height: 670px;
}

#footer address {
	padding: 480px 0 0 0;
	font-style: normal;
	color: #fff;
}

.wpcf7 {
	margin: 96px 0;
}
.asterisk {
	margin: 0 0 0 0.2em;
	color: #f5637a;
}
.wpcf7 span.wpcf7-not-valid-tip {
	font-size: 80%;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
	background-color: #fff;
	color: #333;
	width: 95%;
	border: 1px solid #ddd;
	font-size: 100%;
	padding: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1) inset;
}
.wpcf7 input[type="submit"] {
	font-size: 100%;
	padding: 0.2em 0.4em;
	background: #eee;
	color: #333;
	border-radius: 4px;
	cursor: pointer;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
	border: 1px solid #ccc;
	text-shadow: -1px 1px 0 rgba(255, 255, 255, 1);
}
.wpcf7 input[type="submit"]:hover {
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.size-full {
	max-width: 740px;
	height: auto;
}
