/*
ループスライダー
----------------------------*/

/* 親スタイルをリセット */
.slider-box p, .slider-box div, .loop-box ul, .loop-box li {
box-sizing: border-box;
margin: 0 !important; 
padding: 0 !important;
}

/* BOXの設定 +++++++++++++++++++++ */
.slider-box {
  width: 100%; 
  box-sizing: border-box;
  margin: 0 auto !important;
  overflow: hidden;
  padding:0;
}

/* 動きを止める設定 +++++++++++++++ */
.slider-check {
  display: none;
}
.slider-check:checked ~ .loop-box > .loop {
  animation-play-state: paused;
}
.slider-label {
  display: block;
  cursor: pointer;
  color: #000;
  font-size: 14px; 
  line-height: 2;
  text-align: center;
  background: #fff; 
}
.slider-label::before {
  content: "\025a0  STOP"; /* 止めるテキスト */
  } 
.slider-check:checked ~ div > .slider-label::before {
  content: "\025b6  MOVE"; /* 動かすテキスト */
}

/* ループ本体 ++++++++++++++++++++ */
.loop-box{
  position: relative;
  width: 100%;
  overflow: hidden; 
  margin-top: -1.5rem;   
  border: solid 1px #ccc;

}
.loop-box, .loop-box ul {
  height: 300px; 
}
.loop-box ul {
  position: absolute; left: 0; top: 0;
  display: flex; 
  justify-content: space-between;
  background: #f5f5f5;
  list-style: none;
  max-width: 1000%; 
  min-width: 100%;
  width: calc(300px * 1.5 * 3); 
  animation: 45s linear infinite;
}
.loop-box li {
  display: flex;
  align-items: center; 
  justify-content: center;
  color: #fff;
width: calc(100% / 3); 

}
.loop-box img {
  height: auto;
  width: 100%;
}

/*アニメーション個別設定 ++++++++++ */
.loop-box ul.loop1 {
  animation-name: loop1;
}
.loop-box ul.loop2 {
  animation-name: loop2;
}
@keyframes loop1 {
  0% {transform: translateX(0); }
  49.99999% {transform: translateX(-100%); }
  50% {transform: translateX(100%); }
}
@keyframes loop2 {
  0% {transform: translateX(100%); }
  100%{transform: translateX(-100%); }
}



/*
教室案内
----------------------------*/

@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);
figure.snip1229 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 280px;
  max-width: 500px;
  max-height: 280px;
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip1229 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}
figure.snip1229 img {
  max-width: 100%;
  position: relative;
  opacity: 0.9;
}
figure.snip1229 figcaption {
  position: absolute;
  top: 9%;
  left: 7%;
  right: 7%;
  bottom: 80%;
  border: 1px solid white;
  border-width: 0 1px 1px;
  -webkit-transition-delay: 0.35s;
  transition-delay: 0.35s;
}
figure.snip1229 .heading {
  overflow: hidden;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
figure.snip1229 h5 {
  display: table;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
  text-align: center;
  width: auto;
  text-transform: uppercase;
  font-weight: 600;
}
figure.snip1229 h5 span {
  font-weight: 800;
}
figure.snip1229 h5:before,
figure.snip1229 h5:after {
  position: absolute;
  display: block;
  width: 1000%;
  height: 1px;
  content: '';
  background: white;
  top: 50%;
}
figure.snip1229 h5:before {
  left: -1000%;
}
figure.snip1229 h5:after {
  right: -1000%;
}
figure.snip1229 p {
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  padding: 0 20px;
  margin: 0;
  opacity: 0;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip1229 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1229:hover img,
figure.snip1229.hover img {
  opacity: 0.15;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.snip1229:hover figcaption,
figure.snip1229.hover figcaption {
  top: 9%;
  bottom: 9%;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip1229:hover p,
figure.snip1229.hover p {
  opacity: 1;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}


figure.snip1229 .title{display:none;}



/*
トップ見出し
----------------------------*/
.heading01{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	text-align: center;
	padding-bottom: 14px;
}

.heading01::before,
.heading01::after {
	content: '';
	width: 70px;
	height: 3px;
	background-color: #07a33e;
}

.heading01::before {
	margin-right: 20px;
}
.heading01::after {
	margin-left: 20px;
}

@media screen and (max-width:767px) {

.heading01{
	font-size: 18px;

}

}

/*
左から右へ無限ループの上のテキスト
----------------------------*/

.loop-text {
position: absolute;
width: 100%; 
z-index: 30; 
margin: auto;	
text-align: center;
padding-top: 30px;	
color:#000		
}

.loop-text p{		
font-size:18px;
}

@media screen and (max-width:767px) {



}



/*
左から右へ無限ループ
----------------------------*/
@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

.d-demo__list--right{
animation :infinity-scroll-right 85s infinite linear 0.5s both;
}





/*================================================
 * トップ説明会ボタン
 ================================================*/


a.btn_02 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 240px;
	margin: auto;
	padding: 0.5rem 2rem;
	font-weight: nomal;
	border: 2px solid #006430;
	background: #fff;
	color: #006430;
	transition: 0.5s;
	border-radius: 5px;
	opacity: 0.9;

}
a.btn_02:hover {
	color: #fff;
	background: #004621;
}


@media screen and (max-width:767px) {

a.btn_02 {

	width: 15%;
	margin: auto;
	padding: 0.5rem 2rem;
}

}


/*================================================
 * ボタン      02
 ================================================*/

.btn02 a{
  display: block;
  padding: 14px 6px 14px 50px;
  font-size:26px;
  border: 1px solid #CCCCCC;
  text-decoration: none;
  background : url(../images/bg_arrow_white.png) 20px 50% / auto auto no-repeat scroll padding-box border-box #fff;
  transition: all 0.2s ease 0s;
  color: #000;
  text-align: center;
}

.btn02 a:hover{
  background : url(../images/bg_arrow_white.png) 20px 50% / auto auto no-repeat scroll padding-box border-box #004621;
  transition: all 0.2s ease 0s;
  color: #fff;
}


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

.btn02 a{
  font-size:22px;

}

}



/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:767px) {

.btn02 a{
   width:88%;
  font-size:20px;
  display: block;
  padding: 10;
}
	
}



/* 写真ズーム */
.zoom {
	overflow: hidden;
}
.zoom img {
	display: block;
	-moz-transition: -moz-transform 0.8s linear;
	-webkit-transition: -webkit-transform 0.8s linear;
	-o-transition: -o-transform 0.8s linear;
	-ms-transition: -ms-transform 0.8s linear;
	transition: transform 0.8s linear;
}
.zoom img:hover {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
}
.zoom img {
	margin-bottom: 0;
}

/* オーバーレイ */
.overlay {
	position: relative;
}
.overlay::after{
	background: rgba(0,0,0,.2);
	content: "　";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: all .3s ease-out;
	pointer-events: none;
}
.overlay:hover::after {
	background: rgba(0,0,0,.1);
	transition: all .3s ease-out;
}
.overlay img {
	margin-bottom: 0;
}

/* 3カラム（スマートフォンでは1カラム) */
.threeCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;

}
.threeCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 32.14%;
	width: calc((315 / 980) *100%);
	margin: 0 0 20px 0;
}
.threeCol .inner:nth-child(3n+1) {
	clear:both;
}
.threeCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.threeCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.threeCol .inner .image {
	width: 100%;
	min-height: 0%;
        	border-radius: 5px;
}
.threeCol .inner img {
	width: 100%;

}
.threeCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.threeCol .inner .text {
	position: absolute;
	width: 98%;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 25px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.threeCol {
		display: block;
		margin-bottom: 20px;
	}
	.threeCol .inner {
		width : 100%;
		margin: 0 0 10px 0;
	}
}

/* 4カラム（スマートフォンでは2カラム) */
.fourCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom: 60px;
}
.fourCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 24.8%;

	margin: 0 0 20px 0;
}
.fourCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.fourCol .inner img {
	width: 100%;
}

.fourCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 25px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}


@media screen and (max-width:767px) {
	.fourCol {
		display: block;
		margin-bottom: 0px;
	}
	.fourCol .inner {
		box-sizing: border-box;
		width: 49.5%;
		margin: 0;
	}
	.fourCol .inner:nth-child(odd) {
		clear: both;
		float: left;
		padding: 0 0 0 0;
	}
	.fourCol .inner:nth-child(even) {
		float: right;
		padding: 0 0 0 0;
	}
}

/*================================================*/
.col_2 {
	overflow:hidden;
}

.col_2 ul {
	overflow:hidden;
	margin:2% -2% 0 0;
}
.col_2 li {
	list-style:none;
	float:left;
	width:48%;
	margin:0 2% 0 0;
}
.col_2 li:nth-child(2n+1) {
	clear:both;
}
.col_2 li img {
	width:100%;
	margin-bottom:0;
}

@media screen and (max-width:767px) {

	.col_2 ul{
		margin-right:0;
	}
	.col_2 li{
		width:94%;
		margin-bottom:10px;
	}
	.col_2 li:nth-child(2n+1){
		clear:both;
	}

}





