@charset "utf-8";

html {
	font-size: 62.5%;
}

/***  共通設定  ***/
body {
	font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo ,"ＭＳ Ｐゴシック" ,"MS PGothic", sans-serif;
	font-size: 1rem;
	color: #97be99;
}

.cf:after {
	display: block;
	content: "";
	clear: both;
}

.inner {
	width: 980px;
	margin:  0 auto;
	text-align: center;
}

span {
	font-weight: bold;
}

/***  header ***/

header {
	background: rgba(151,190,153,0.9);
	height: 70px;
	line-height: 70px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	display: none;
}

header h1 {
	float: left;
	padding-top: 10px;
}

header nav {
	float: right;
}

header nav ul li {
	float: left;
	margin-right: 40px;
}

header nav ul li:last-child {
	margin-right: 0;
}

header nav ul li.igBtn {
	padding-top: 7px;
}

header nav ul li.igBtn img:hover {
	-webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

header nav ul li.navLine a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	font-size: 1.6rem;
	font-weight: bold;
	color: #fff;
	
}

header nav ul li.navLine a::after {
	position: absolute;
	bottom: 20px;
	left: 0;
	content: "";
	width: 100%;
	height: 1px;
	background-color: #fff;
	transform: scale(0);
	transform-origin: center top;
	transition: 0.3s;
}

header nav ul li.navLine a:hover::after {
	transform: scale(1);
}

.navToggle,
.rpMenu {
	display: none;
}


/*** slider ***/
#slider3 {
	width: 100%;
}


/************** PAGETOP **************/
#page_top {
	position: fixed;
	bottom: 173px;
	right: 20px;
	font-size: 1rem;
	line-height: 2;
	z-index: 1000;
}

#page_top a {
	background-color: #97be99;
	text-decoration: none;
	color: #fff;
	width: 80px;
	padding: 14px 0;
	text-align:center;
	display: inline-block;
	border-radius: 5px;
}

#page_top a:hover {
	background-color: #fff;
	color: #97be99;
	border: solid 2px #97be99;
	margin: -2px;
}


/*** introduction ***/

#introduction {
	margin-bottom: 70px;
	padding-top: 90px;
}

#introduction h2 {
	margin-bottom: 50px;
	font-size: 2rem;
}

#concept {
	width: 700px;
	margin:  0 auto;
	text-align: center;
}

#concept img {
	padding-bottom: 40px;
}

#concept h3 {
	font-size: 2.4rem;
	font-weight: bold;
	margin-bottom: 30px;
	letter-spacing: 2px;
	line-height: 40px;
}

#concept p {
	text-align: left;
	font-size: 1.6rem;
	line-height: 25px;
	margin-bottom: 30px;
}

#concept p.ceo {
	text-align: center;
	margin-bottom: 0;
}

/*** works ***/

#works {
	margin-bottom: 90px;
	padding-top: 90px;
}

#works h2 {
	margin-bottom: 50px;
	font-size: 2rem;
}

#works section {
	background-color: #97be99;
	width: 306px;
	float: left;
	margin-right: 29px;
	padding-top: 20px;
	padding-bottom: 40px;
}

#works section .miniLogo img {
	float: left;
	margin-left: 100px;
}

#works section .miniLogo h3 {
	float: right;
	margin-right: 100px;
}
#works section:last-child {
	margin-right: 0;
}

#works section h3 {
	padding-top: 10px;
	padding-bottom: 20px;
	font-size: 1.7rem;
	color: #fff;
}

#works section .hoverText {
	width: 250px;
	margin: 0 auto;
}

#works section .hoverText p {
	font-size: 1.6rem;
	line-height: 25px;
	padding: 20px;
	text-align: left;
	color: #fff;
}



/*** about ***/
#about {
	padding-top: 90px;
	margin-bottom: 70px;
}

#about h2 {
	margin: 0 auto;
	margin-bottom: 50px;
	font-size: 2rem;
}

#about h3 {
	margin-bottom: 30px;
	font-size: 1.6rem;
}
#admini {
	margin-top: 60px;
}
#admini table {
	width: 500px;
	margin: 0 auto;
	font-size: 1.5rem;
}

#admini th,td {
	text-align: left;
	padding: 10px;
}

#admini th {
	padding-left: 100px;
}
#admini p {
	font-size: 2rem;
	margin-top: -20px;
	margin-bottom: 50px;
}



/*** access ***/

#access {
	padding-top: 90px;
	padding-bottom: 40px;
}

#access h2 {
	margin-bottom: 50px;
	font-size: 2rem;
}

#access h3 {
	margin-bottom: 30px;
	font-size: 1.8rem;
}

address ul li {
	margin-bottom: 20px;
	font-size: 1.6rem;
}

address ul li:last-child {
	margin-bottom: 0;
}

address ul li:nth-child(1) {
	padding-top: 20px;
}

/*
#gmap {
	width: 100%;
	height: 400px;
}
*/

/*** footer ***/

footer {
	padding-top: 20px;
	margin-bottom: -90px;
	text-align: center;
	background-color: #97be99;
}

small {
	padding: 30px 0;
	font-size: 1.1rem;
	color: #fff;
	display: block;
}


/***  スクロールエフェクト  ***/

.bg_img1 {
	height: 450px;
	background-image: url('../images/background01.jpg');
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
}

.bg_img2 {
	height: 450px;
	background-image: url('../images/background02.jpg');
	background-size: cover;
	background-attachment:fixed;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
}

.bg_img3 {
	height: 450px;
	background-image: url('../images/background03.jpg');
	background-size: cover;
	background-attachment:fixed;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
}

.mainBox {
	width: 100%;
	height: auto;
	background-color: #fff;
	z-index: 200;
}




/*** テキストライン ***/

h2 {
    position: relative;
    text-align: center;
}
h2:before {
    border-top: 1px solid;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
}
h2 span {
    background-color: white;
    display: inline-block;
    padding: 0 0.5em;
    position: relative;
}



/*** マウスホバー時にテキストを表示 ***/
.hoverText {
	width: 250px;
	height: 300px;
	overflow: hidden;
	margin: 10px 8px 10px 16px;
	position: relative;
}

.hoverText .caption {
	font-size: 1.4rem;
	color: #fff;
}

.hoverText .mask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,0.7);
	-webkit-transition:	all 0.6s ease;
	transition: all 0.6s ease;
}

.hoverText:hover .mask {
	opacity: 1;
	padding-top: 40px;
}

.open {
	display: none;
}




@media screen and (max-width: 760px) {
	
	.inner {
		width: 307px;
		margin: 0 auto;
	}

	#introduction figcaption {
		font-size: 1.2rem;
		line-height: 20px;
	}
	
	#works section {
		float: none;
		margin: 0 0 25px;
	}
	
	#gmap {
		width: 100%;
		height: 250px;
	}

	header h1 {
		float: none;
		position: fixed;
		top: 5px;
		left: 50px;
	}
	
	nav {
		display: none;
	}
	
	h2 img {
		width: 100%;
		height: auto;
	}

	#page_top {
		position: fixed;
		bottom: 152px;
		right: 10px;
		font-size: 0.8rem;
		line-height: 1.4;
	}

	#page_top a {
		width: 60px;
		padding: 15px 2px;
		border-radius: 3px;
	}
	
	#page_top a:hover {
		background-color: #fff;
		color: #97be99;
		border: solid 1px #97be99;
		margin: -1px;
	}
	
	#concept {
		width: 300px;
	}
	
	#concept img {
		width: 70px;
		padding-bottom: 20px;
	}
	
	#concept h3 {
		font-size: 1.6rem;
		margin-bottom: 20px;
	}
	
	#concept p {
		font-size: 1.2rem;
		line-height: 20px;
	}
	
	#access {
		padding-bottom: 0;
	}
	
	#plan img {
		margin-bottom: 10px;
	}
	
	#access ul li {
		font-size: 1.2rem;
	}
	
	#dl-menu ul li a {
		text-decoration: none;
	}
	
	#admini table {
		width: 300px;
		margin: 0 auto;
		font-size: 1.2rem;
	}

	#admini th,td {
		text-align: left;
		padding: 10px;
	}

	#admini th {
		padding-left: 20px;
	}
	#admini p {
		font-size: 1.5rem;
		margin-top: -20px;
		margin-bottom: 30px;
	}
	
	footer img {
		width: 140px;
	}
	
	footer a.topBtn {
	bottom: 50px;
	right: 10px;
	font-size: 1.4rem;
	font-weight: normal;
	}

	address ul li.eads {
		display: none;
	}
	
	.mask {
		display: none;
	}
	
	.open {
		display: block;
		margin: 0 auto;
		color: #fff;
		font-size: 1.4rem;
		text-align: left;
		line-height: 24px;
		width: 200px;
		padding-top: 30px;
	}



	.bg_img1,.bg_img2,.bg_img3 {
		height: 250px;
		background:none;
	}
	
	body::before {
		content:"";
		display:block;
		position:fixed;
		top:0;
		left:0;
		z-index:-1;
		width:100%;
		height:100vh;
		background:url(../images/background01.jpg) center/cover no-repeat; 
		-webkit-background-size:cover;/*Android4*/
	}
	
	.inner {
		padding-bottom: 40px;
	}
	

/*
	#gmap {
		margin-top: -70px;
	}
*/
/****** hamburger menu *******/	

	header {
		line-height: 12px;
	}

	.navToggle,
	nav.rpMenu {
		display: block;
	}
	
	nav.rpMenu {
		position: fixed;
		z-index: 2;
		top: 0;
		left: 0;
		background: #99e09c;
		color: #fff;
		text-align: center;
		transform: translateY(-100%);
		transition: all 0.6s;
		width: 100%;
	}
	 
	nav.rpMenu ul {
		background-color: #ccc;	
		margin: 0 auto;
		padding: 0;
		width: 100%;
	}
	 
	nav.rpMenu ul li {
		font-size: 1.1rem;
		list-style-type: none;
		padding: 0;
		width: 100%;
		border-bottom: 1px dotted #fff;
	}
	 
	nav.rpMenu ul li:last-child {
		padding-bottom: 0;
	}
	 
	nav.rpMenu ul li a {
		display: block;
		text-decoration: none;
		color: #fff;
		padding: 15px 0;
		font-size: 1.8rem;
	}
	
	nav.rpMenu ul li a:hover {
		color: #999;
		background-color: #fff;
	}
	 
	nav.rpMenu.active {
		transform: translateY(0%);
	}
	
	.navToggle {
		display: block;
		position: fixed;
		right: 13px;
		top: 12px;
		width: 42px;
		height: 51px;
		cursor: pointer;
		z-index: 3;
		background: #59945c;
		text-align: center;
	}
	 
	.navToggle span {
		display: block;
		position: absolute;
		width: 30px;
		border-bottom: solid 3px #eee;
		-webkit-transition: .35s ease-in-out;
		-moz-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
		left: 6px;
	}
	 
	.navToggle span:nth-child(1) {
		top: 9px;
	}
	 
	.navToggle span:nth-child(2) {
		top: 18px;
	}
	 
	.navToggle span:nth-child(3) {
		top: 27px;
	}
	 
	.navToggle span:nth-child(4) {
		border: none;
		color: #eee;
		font-size: 0.9rem;
		font-weight: bold;
		top: 34px;
	}
	
	.navToggle.active span:nth-child(1) {
		top: 18px;
		left: 6px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	 
	.navToggle.active span:nth-child(2),
	.navToggle.active span:nth-child(3) {
		top: 18px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	


}



