@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size:16px;
	color:#382400;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height:1.6;
	background:#4B610B;
	background: url(../images/bg2.JPG)center center / cover no-repeat fixed;   /* 背景のテスト中 */
}

#contents {
	position:relative;
	overflow:hidden;
	width:960px;
	margin:0 auto;
	background:#d6e9ca;
}
@media screen and (min-width:690px) {
	#contents:before {
		position:absolute;
		top:0;
		left:0;
		width:20%;
		height:100%;
		content: '';
		background:#1f2124;
	}
}

#main {
	box-sizing: border-box;
	float:right;
	width:80%;
	padding:10px;
}

#sub {
	box-sizing: border-box;
	float:left;
	width:20%;
}

footer {
	box-sizing: border-box;
	width:960px;
	margin:0 auto;
}

a {
	color:#071907;
	
}
a:hover {
	color:#C5DFA2;
}

h1 {
	color:#fbfbfb;
	font-size:28px;
	line-height:1.2;
}
h1 a {
	color:#c5c56a;
	text-decoration:none;
}
h1 a:hover {
	color:#c5c56a;
}

h2 {
	margin-bottom:0.5em;
	font-size:21px;
	color:#333;
	border-bottom:3px solid #4B610B;
}

h3 {
	margin-bottom:0.25em;
	padding:2px 5px;
	color:#fbfbfb;
	font-size:17px;
	background:#333;
    border-left:12px solid #b4cc00;   
    border-right:12px solid #b4cc00;
    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;

                           
	}

h4 {
	margin-bottom:0.25em;
	font-size:16px;
	color:#000000;
}

h5 {
	margin-bottom:0.25em;
	padding:2px;
	font-size:16px;
	border-left:7px solid #4D1B05;
	background:#eee;
}

h6 {
	margin-bottom:0.25em;
	color:#382400;
	font-size:14px;
	font-weight:bold;
}

h7 {
	margin-bottom:0.25em;
	padding:3px;
	font-size:16px;
	border-left:7px solid #4D1B05;
	background:#fff;
}


p {
	margin:0 0 1em 0;
}

img {
	vertical-align:bottom;
}

em {
	font-weight:bold;
}

strong {
	font-weight:bold;
	color:#d45451;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom:1em;
	padding:1em;
	border:1px dotted #ddd;
	border-left:5px solid #ddd;
}

ul,ol,dl {
	margin:0 0 1em 0;
}
ul li {
	list-style:disc;
}
ol li {
	list-style:decimal;
}
li {
	margin-left:2em;
}

dt {
	margin-bottom:0.5em;
	border-bottom:1px dotted #ddd;
}
dt:before {
	content:"\0025a0";
}
dd {
	margin-bottom:1em;
}

table {
	width:100%;
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #ddd;
	background:#fff;
}
th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:1px solid #ddd;
	background:#eee;
}
td {
	padding:10px;
	text-align:left;
	border:1px solid #ddd;
}


.myModal_popUp,
input[name="myModal_switch"],
#myModal_open + label ~ label {
  display: none;
}
#myModal_open + label,
#myModal_close-button + label {
  cursor: pointer;
}

.myModal_popUp {
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 1s ease 0s 1 normal;
}
#myModal_open:checked ~ #myModal_close-button + label{
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

#myModal_open:checked + label ~ .myModal_popUp {
  background: #fff;
  display: block;
  width: 90%;
  height: 80%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  z-index: 998;
}

#myModal_open:checked + label ~ .myModal_popUp > .myModal_popUp-content {
  width: calc(100% - 40px);
  height: calc(100% - 20px - 44px );
  padding: 10px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling:touch;
}

#myModal_open:checked + label + #myModal_close-overlay + label {
  background: rgba(0, 0, 0, 0.70);
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  z-index: 997;
}

#myModal_open:checked ~ #myModal_close-button + label {
  display: block;
  background: #fff;
  text-align: center;
  font-size: 25px;
  line-height: 44px;
  width: 90%;
  height: 44px;
  position: fixed;
  bottom: 10%;
  left: 5%;
  z-index: 999;
}
#myModal_open:checked ~ #myModal_close-button + label::before {
  content: '×';
}
#myModal_open:checked ~ #myModal_close-button + label::after {
  content: 'CLOSE';
  margin-left: 5px;
  font-size: 80%;
}

@media (min-width: 768px) {
  #myModal_open:checked + label ~ .myModal_popUp {
    width: 650px;
    height: 550px;
  }
  #myModal_open:checked + label ~ .myModal_popUp > .myModal_popUp-content {
    height: calc(100% - 20px);
  }
  #myModal_open:checked ~ #myModal_close-button + label {
    width: 44px;
    height: 44px;
    left: 50%;
    top: 50%;
    margin-left: 240px;
    margin-top: -285px;
    overflow: hidden;
  }
  #myModal_open:checked ~ #myModal_close-button + label::after {
    display: none;
  }
  
}

img { 
    max-width: 100%; 
    height:auto;
}

.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%;
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	position:relative;
	background:#0A2A0A;
}

header h1 {
	padding:10px;
}

.summary {
	margin:0;
	padding:10px;
	color:#000;
	background:#789c3e;
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
nav {
	overflow:hidden;
	position:relative;
	
}
nav h3 {
	display:none;
}
nav ul {
	margin:0;
	padding:0;
	
}
nav li {
	list-style:none;
	margin:0;
	padding:0;
	

}
nav li a {
	display:block;
	padding:25px;
	color:#c5c56a;
	text-decoration:none;
	background:#0A2A0A;
}
nav li a:hover {
	color:#fbfbfb;
	border-left: 1px solid #0B610B;
	background:#07190B;
	transition:all 0.5s ease 0s;
}

 /*================================================
 *  フッター
 ================================================*/
footer {
	clear:both;
}

.footmenu {
	width:100%;
	padding:20px 0;
	overflow:hidden;
	background:#23292f;
}
.footmenu ul {
	position:relative;
	float:left;
	left:50%;
	margin:0;
	padding:0;
}
.footmenu li {
	position:relative;
	left:-50%;
	float:left;
	list-style:none;
	margin:0;
	padding:0 20px;
	font-size:12px;
	text-align:center;
}
.footmenu a {
	color:#ACFA58;
	text-decoration:none;
}
.footmenu a:hover {
	color:#fbfbfb;
}

.copyright {
	clear:both;
	padding:20px 0;
	font-size:11px;
	text-align:center;
	color:#ACFA58;
	background:#0A2A0A;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:;
}
.totop img:hover {
	background:#e0ebaf;
}

/*================================================
 *  クラス
 ================================================*/
.textL {
	text-align:left;
}

.textR {
	text-align:right;
}

.list {
	padding:0 0 0 0.5em;
}
.list li {
	margin:0;
	padding:0 0 0 15px;
	list-style:none;
	background:url(../images/check.png) 0 5px no-repeat;
}

.info dt {
	border-bottom:none;
}
.info dd {
	padding-bottom:1em;
	border-bottom:1px solid #ddd;
}

.service {
	overflow:hidden;
}
.service ul {
	overflow:hidden;
	margin:1.492% -1.492% 0 0;
}
.service li {
	list-style:none;
	float:left;
	width:31.5%;
	margin:0 1.492% 1.492% 0;
}
.service li img {
	width:100%;
}


.service0 {
	overflow:hidden;
}
.service0 ul {
	overflow:hidden;
	margin:1.492% -1.492% 0 0;
}
.service0 li {
	list-style:none;
	float:left;
	width:31.5%;
	margin:0 1.492% 1.492% 0;
}
.service0 li img {
	width:100%;
}




.service1 {
	overflow:hidden;
}
.service1 ul {
	overflow:hidden;
	margin:1.492% -1.492% 0 0;
}
.service1 li {
	list-style:none;
	float:left;
	width:18.507%;
	margin:0 1.492% 1.492% 0;
}
.service1 li img {
	width:100%;
}

.service2 {
	overflow:hidden;
}
.service2 ul {
	overflow:hidden;
	margin:1.492% -1.492% 0 0;
}
.service2 li {
	list-style:none;
	float:left;
	width:31.5%;
	margin:0 1.492% 1.492% 0;
}
.service2 li img {
	width:100%;
}



.staff {
	overflow:hidden;
}

.staff ul {
	overflow:hidden;
	margin:1.492% -1.492% 0 0;
}
.staff li {
	list-style:none;
	float:left;
	width:31.840%;
	margin:0 1.492% 1.492% 0;
}
.staff li:nth-child(3n+1) {
	clear:both;
}
.staff li img {
	width:100%;
	margin-bottom:2.5%;
}

.page0 {
	overflow:hidden;
	margin:20px 0;
	padding:10px;
	border:1px solid #000000;
	border-radius: 10px;
	background:#ffffff;
	width:%;
	margin-left:%;
	margin-right:%;

	}


.page7 {
	overflow:hidden;
	margin:20px 0;
	padding:10px;
	border:2px solid #000000;
	border-radius: 10px;
	background:#ffffff;
	width:76%;
	margin-left:11%;
	margin-right:12.5%;

	}

.page5 {
	overflow:hidden;
	margin:20px 0;
	padding:10px;
	border:0px solid #000000;
	background:white;
	background:url(../images/) 0 5px no-repeat;

}

.page6 {
	overflow:hidden;
	margin:0px 0;
	padding:10px;
	border:0px solid #000000;
	

}



.page1 {
	overflow:hidden;
	margin:20px 0;
	padding:10px;
	border:0px solid #000000;
	background:white;
}


.page8 {
	overflow:hidden;
	font-size:26px;
	margin:0px 0;
	padding:10px;
	border:1px solid #000000;
	text-align:center;
	width:20%;

}



.alpha a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}



.alpha1 img:hover  {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.alpha2 a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}


/*================================================
 *  アニメーション
 ================================================*/
/*================================================
 *  スライドショー
 ================================================*/

.slide {
	position:relative;
	width:100%;
	overflow:hidden;
	position:relative;
	margin-bottom:10px;
}

.slideInner {
	list-style:none;
	margin:0 0 5px 0;
	padding:0;
}
.slideInner li {
	position:absolute;
	width:100%;
	background:#fbfbfb;
	margin:0;
	padding:0;
}
.slideInner li img {
	width:100%;
}

.slidePrev {
	position:absolute;
	display:block;
	width:50px;
	height:60px;
	left:0;
	cursor:pointer;
	z-index:100;
}

.slideNext {
	position:absolute;
	display:block;
	width:50px;
	height:60px;
	right:0;
	cursor:pointer;
	z-index:100;
}

.controlNav {
	position:relative;
	float:left;
	left:50%;
}
.controlNav span {
	position:relative;
	left:-50%;
	float:left;
	margin:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	width:10px;
	height:10px;
	overflow:hidden;
	background:#ddd;
	text-indent:-9999px;
	vertical-align:middle;
}
.controlNav span:hover {
	background:#ccc;
	cursor:pointer;
}
.controlNav span.current {
	background:#85d1c6;
}


/*================================================
 *  タブレット向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:960px) {
	#contents {
		box-sizing: border-box;
		width:100%;
	}

	footer {
		width:100%;
	}
}

/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:690px) {
	#main {
		float:none;
		width:100%;
	}

	#sub {
		float:none;
		width:100%;
	}
	nav {
		display:block;
		position:relative;
		width:100%;
	}
	nav h3 {
		display:block;
		cursor:pointer;
		margin-bottom:0;
		padding:10px;
		color:#FF8000;
		background:#0A2A0A;
		border:none;
	}
	nav li a {
		padding:10px 30px;
	}

	#navBtn {
		display:inline-block;
		position:absolute;
		top:10px;
		right:10px;
		width:30px;
		height:30px;
		border-radius:5%;
		background:#E0DCDC;
	}
	#navBtnIcon {
		display:block;
		position:absolute;
		top:50%;
		left:50%;
		width:14px;
		height:2px;
		margin:-1px 0 0 -7px;
		background:#FF8000;
		transition:.2s;
	}
	#navBtnIcon:before,
	#navBtnIcon:after {
		display:block;
		content:'';
		position:absolute;
		top:50%;
		left:0;
		width:14px;
		height:2px;
		background:#FF8000;
		transition:0.3s;
	}
	#navBtnIcon:before {
		margin-top:-6px;
	}
	#navBtnIcon:after {
		margin-top:4px;
	}
	#navBtn .close {
		background:transparent;
	}
	#navBtn .close:before,
	#navBtn .close:after {
		margin-top:0;
	}
	#navBtn .close:before {
		transform:rotate(-45deg);
		-webkit-transform:rotate(-45deg);
	}
	#navBtn .close:after {
		transform:rotate(-135deg);
		-webkit-transform:rotate(-135deg);
	}

	.service li {
		width:23.507%;
	}

	.staff li {
		width:48.507%;
	}
	.staff li:nth-child(2n+1) {
		clear:both;
	}
	.staff li:nth-child(3n+1) {
		clear:none;
		float:left;
	}
}

