@charset "utf-8";

html {
	font-size: 16px;
}
@media screen and (min-width: 768px) {
	html {
		font-size: 18px;
		max-width: 1200px;
		margin: auto;
	}
}
html * {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: url(../images/bg.png);
	font-family: sans-serif;
}
/* ヘッダー */
header {
	position: relative;
	background:#ffffff;
}
.header-container {
	padding: 0px 0px 20px 10px;
}
.header-logo {
	margin: 0;
	width: 350px;
	height: 63px;
	background-image: url(../images/head_back.png);
	background-size: 350px 63px;
	background-repeat: no-repeat;
	text-indent: -9999px;
}
/*.address {
	display: none;
}*/

@media screen and (min-width: 768px) {
	/* ヘッダー */
	.header-container {
		padding: 0;
	}
	.header-logo {
		width: 1200px;
		height: 214px;
		background-size: 1200px 214px;
	}
	.address {
		height: 150px;
		width: 250px;
		margin-top: -130px;
		float: right;
	}
}
.header-navbtn {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 30;
	width: 62px;
	height: 62px;
	background-image: url(../images/navbtn.png);
	background-size: 62px 62px;
}
.header-navbtn:hover, .header-navbtn:active {
	background-color: #8bb15a;
}
@media screen and (min-width: 768px) {
	.header-navbtn {
		display: none;
	}
}

/* ナビゲーション */
nav {
	font-size: 0.78rem;
	background: #038717; /*#000000;*/
}
@media screen and (min-width: 768px) {
	nav {
		font-size: 1rem;
	}
}
.nav-container {
	position: absolute;
	top: 62px;
	right: 0;
	z-index: 20;
	margin: 0;
	padding: 0;
	width: 200px;
	background: #638a30;
	box-shadow: 0px 5px 5px  rgba(0,0,0,0.4);
}
.globalnav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.globalnav li a {
	display: block;
	padding: 15px 20px;
	border-bottom: 1px solid #8bb15a;
	text-decoration: none;
	line-height: 100%;
	color: #ffffff;
}
.globalnav li a:hover,
.globalnav li a.current {
	background: #8bb15a;
	color: #ffffff;
}
@media screen and (min-width: 768px) {
	.nav-container {
		position: relative;
		top: 0;
		left: 0;
		padding: 0 20px 0 20px;
		width: 100%;
		background: none;
		box-shadow: none;
	}
	.globalnav {
		overflow: hidden;
	}
	.globalnav li {
		float: left;
		width: 20%;
	}
	.globalnav li a {
		padding: 10px 0;
		border-bottom: 8px solid #ffffff;
		text-align: center;
	}
	.globalnav li a:hover,
	.globalnav li a.current {
		border-bottom: 8px solid #7bae34;
	}
}

/* フッター */
footer { }
.footer-container {
	padding: 20px;
	border-radius: 0 0 10px 10px;
	background: #135D31; /*#000000;*/	
}
.copyright {
	margin: 0;
	font-size: 0.8rem;
	color: #ffffff;
}
/* メインコンテンツレイアウト部分 */
.main-contents { }
.main-contents-container {
	padding: 0 10px 30px 10px;
	background: #ffffff;
}
.keyvisual {
	font-size: 0;
}
/*.keyvisual img {
	width: 100%;
}*/
.maincopy {
	margin: 0;
	padding: 40px 20px 0 20px;
	text-align: center;
	font-size: 1.5rem;	
}
/*table*/
.table1,
.table1 tr,
.table1 th,
.table1 td{
	display: block;
}
.table1 th,
.table1 td{
	text-align: center;
}
.table1 th{
	background: #135D31;
	color: #ffffff;
}
.table1 td img{
	width: 300px;
}

@media screen and (min-width: 768px) {
	.table1{
		display: table;
		border-collapse: collapse;
		width: 100%;
	}
	.table1 tr{
		display: table-row;
	}
	.table1 th,
	.table1 td{
		display: table-cell;
	}
	.table1 th,
	.table1 td {
		/*border: 1px solid #dadada;*/
		height: 100px;
	}
	.table1 th{
		text-align: center;
	}
	.table1 td {
		text-align: left;
		padding: 0 0 0 10px;
	/*	width: 25%;*/
	}
}

/* ========== Javascript用CSS ========== */
/* ナビゲーションを最初は非表示。 */
#js-slidemenu {
	display: none;
}
/* パソコン向けではナビゲーションを常に表示 */
@media screen and (min-width: 768px) {
	#js-slidemenu {
		display: block !important; 
	}
}
/* ナビゲーションが開いたときに画面を暗くする処理のためのCSS */
.js-slidemenu-effect {
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.4;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}/* 勉強会部分 */
.studygroup {
	margin: 0 20px 0 20px;
}
.studygroup h1 {
	margin: 0;
	padding: 30px 0;
	font-size: 1.2rem;
}
.studygroup-contents {
	margin: 0;
	padding: 0;
	list-style: none;
}
.studygroup-contents li {
	margin: 0 0 10px 0;
	padding: 10px;
	border: 1px solid #dadada;
	text-align: center;
}
.studygroup-contents li img {
	width: 100px;
	border-radius: 50%;
}
.studygroup-contents li h3 {
	font-size: 1rem;
	margin: 0;
	padding: 10px 0;
}
.studygroup-contents li p {
	margin: 0;
	text-align: left;
}
/* ウィンドウ幅が広い時のCSS */
@media screen and (min-width: 768px) {
	/* 勉強会部分 */
	.studygroup-contents li {
		overflow: hidden;
		padding: 30px;
		text-align: left;
	}
	.studygroup-contents li img {
		float: left;
		margin-right: 20px;
		width: 200px;
	}
	.studygroup-contents li h3 {
		font-size: 1.2rem;
	}
}

/*ページトップ移動*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #3f98ef;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}