/* 
基本設定
--------------------------------------*/

/* PC用CSS SP:349
   ========================================================================== */
@media screen and (min-width:1020px){

/* 全体設定
------------------------------------*/
#top-wrap{
	width: 100%;
	margin: 0 auto;
}

#top-wrap #top-in{
	width: 100%;
}

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

#top-in .slider-contents{
	margin-bottom: 70px;
	position: relative;
}

#top-wrap .slider{
	width: 100%;
	height: 60%;
	margin: 0 auto;
}

#top-wrap .slider img{
	width: 100%;
}

#top-wrap figure{
	width: 270px;
	position: absolute;
	bottom: -50px;
	left: 50%;
	margin-left: -135px;
	z-index: 3;
}


/* コンテンツ設定
------------------------------------*/
#contents-wrap{
	width: 1020px;
	margin: 0 auto;
}

#contents-wrap .contents-text{
	width: 1020px;
	margin: 0 auto 100px auto;
}

#contents-wrap .contents-text h2{
	width: 590px;
	color: #ea5b00;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	line-height: 36px;
	margin: 0 auto 30px auto;
}

#contents-wrap .contents-text h2 br{
	display: none;
}

#contents-wrap .contents-text p{
	width: 690px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	line-height: 24px;
	margin: 0 auto;
}

#contents-wrap #contents-article{
	width: 1020px;
}

#contents-article .card-list:nth-of-type(3){
	margin-right: 0;
}

#contents-article .card-list:nth-last-child(-n+4){
	margin-top: 60px;
}

#contents-article .card-l{
	width: 320px;
	float: left;
	margin-right: 30px;
}

#contents-article .card-l a{
	display: block;
}

.card-l dl dt{
	width: 320px;
    height: 200px;
    position: relative;
}

.card-l dl dt .mask {
    width: 320px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.card-l:hover .mask {
	opacity:		0.5;	/* マスクを表示する */
}

.card-l dl dd{
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
}

.card-l dl dd h3,
.card-l dl dd h4{
	color: #ea5b00;
	display: block;
	font-size: 20px;
	text-align: center;
	margin: 30px 0;
}

.card-l dl dd .card-btn{
	width: 320px;
	height: 50px;
	line-height: 50px;
	border: 2px solid #afc112;
	border-radius: 50px;
	color: #afc112;
	font-weight: 900;
	text-align: center;
	margin-top: 30px;
}

.card-l dl dd .card-btn:before{
	content: "▶";
	font-size: 12px;
	margin-right: 5px;
}

.card-l dl dd .card-btn:hover{
	background-color: #afc112;
	border: 2px solid #afc112;
	color: #fff;
	opacity: 1.0;
	z-index: 1;
	transition: 1.0s;
}

.card-l a:hover .card-btn{
	background-color: #afc112;
	border: 2px solid #afc112;
	color: #fff;
	opacity: 1.0;
	z-index: 1;
}

#contents-article .card-s{
	width: 320px;
	float: left;
}

#contents-article .card-s:before{
  	border-left: 5px solid #ccc;
}

#contents-article .card-s a{
	border: 1px solid #448bd8;
	border-radius: 10px;
	display: block;
	padding: 15px 0 15px 0;
	position: relative;
}

#contents-article .card-s a:hover{
	background-color: #e1eefc;
	transition: 1.0s;
}

#contents-article .card-s dl{
	box-sizing: border-box;
	border-left: 3px solid #448bd8;
	width: 100%;
  	box-sizing: border-box;
  	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	-ms-box-sizing: border-box;
  	-o-box-sizing: border-box;
}

#contents-article .card-s a:first-of-type{
	margin-bottom: 30px;
}

#contents-article .card-s dt{
	width: 121px;
	float:left;
	margin-left: 10px;
}

#contents-article .card-s dd{
	width: 162px;
	float:left;
	margin: 15px 0 0 15px;
}

#contents-article .card-s dd strong{
	color: #ea5b00;
	font-size: 18px;
}

#contents-article .card-s dd p{
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	margin-top: 15px;
}

.contents-article-sp,
#news-wrap-sp
{display: none;}

/* マップエリア設定
------------------------------------*/
#map-wrap{
	width: 100%;
	background-image: url(../img/common/dot-backgrpund.jpg);
	background-repeat: repeat;
	margin: 0 auto;
	margin-left: -500%;
	margin-top:90px;
	margin-right: -500%;
	padding-left: 500%;
	padding-right: 500%;
}

#map-wrap #map-in{
	width: 1020px;
	margin: 0 auto;
	padding: 80px 0;
}

#map-in iframe{
	width: 663px;
	height: 468px;
	float: left;
}

#map-in aside{
	width: 295px;
	background-color: #fff;
	border: 1px solid #ea5b00;
	border-radius: 10px;
	float: left;
	margin-left: 30px;
	position: relative;
	padding: 0 15px;
}

#map-in aside dl{
	box-sizing: border-box;
	border-top: 3px solid #E95516;
	width: 100%;
  	box-sizing: border-box;
  	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	-ms-box-sizing: border-box;
  	-o-box-sizing: border-box;
	margin: 0 auto;
}

#map-in aside dl dt{
	margin: 15px auto;
	text-align: center;
}

#map-in aside dl dt img{
	margin-bottom: 15px;
}

#map-in aside dl dd{
	margin-left: 20px;
}

#map-in aside dl dd strong{
	color: #ea5b00;
	font-size: 15px;
	font-weight: 900;
	border-bottom: 2px solid #afc112;
	margin-bottom: 20px;
	padding-bottom: 5px;
}

#map-in aside dl dd p{
	font-weight: 600;
	margin: 13px 0 0 0;
}

#map-in aside dl dd p:first-of-type{
	margin-bottom: 15px;
}

#map-in aside dl dd p:last-of-type{
	padding-bottom: 20px;
}

#map-in .gmap-btn{
	display: none;
}

}/*pcここまで*/






/* タブレット用CSS
   ========================================================================== */
@media screen and (max-width:1019px){

	/* 全体設定
	------------------------------------*/
	#top-wrap{
		width: 100%;
		margin: 0 auto;
	}

	#top-wrap #top-in{
		width: 100%;
	}

	/* スライダー
	------------------------------------*/
	#top-in .slider-contents{
		margin-bottom: 70px;
		position: relative;
	}

	#top-wrap .slider{
		width: 100%;
		height: 200px;
		margin: 0 auto;
	}

	#top-wrap .slider img{
		width: 100%;
		height: 250px;
		object-fit: cover;
	}

	#top-wrap figure{
		width: 270px;
		position: absolute;
		bottom: -100px;
		left: 50%;
		margin-left: -85px;
		z-index: 3;
	}

	#top-wrap figure img{
		width: 60%;
		height: auto;
	}

	/* コンテンツ設定
	------------------------------------*/
	#contents-wrap{
		width: 100%;
		max-width: 640px;
		margin: 0 auto;
	}

	#contents-wrap .contents-text{
		width: 100%;
		max-width: 640px;
		margin: 0 auto 40px auto;
	}

	#contents-wrap .contents-text h2{
		width: 90%;
		max-width: 560px;
		color: #ea5b00;
		font-size: 15px;
		font-weight: 700;
		text-align: center;
		line-height: 25px;
		margin: 0 auto 10px auto;
		padding-top: 40px;
	}

	#contents-wrap .contents-text p{
		width: 90%;
		max-width: 560px;
		font-size: 12px;
		font-weight: 900;
		text-align: left;
		line-height: 22px;
		margin: 0 auto;
	}

	/* カードエリア */
	#contents-wrap .contents-article-sp{
		width: 100%;
		background-color: #fff;
		padding: 10px 0;
	}

	.contents-article-sp .card-list{
		width: 90%;
		border-bottom: 1px dotted #448bd8;
		margin: 0 auto 20px auto;
		padding-bottom: 20px;
	}

	.contents-article-sp .card-list:last-of-type{
		border-bottom: none;
		padding-bottom: 0px;
	}

	.contents-article-sp .card-list dt{
		width: 100%;
	}

	.contents-article-sp .card-list dt img{
		width: 100%;
		display: block;
		object-fit: cover;
		text-align: center;
		margin: 0 auto;
	}

	.contents-article-sp .card-list a{
		display: block;
	}

	.card-list dl dd{
		width: 90%;
		max-width: 560px;
		font-size: 14px;
		line-height: 22px;
		margin: 0 auto;
	}

	.card-list dl dd h3,
	.card-list dl dd h4{
		color: #ea5b00;
		display: block;
		font-size: 20px;
		text-align: center;
		margin: 30px 0;
	}

	.card-list dl dd .card-btn{
		width: 90%;
		max-width: 560px;
		height: 50px;
		line-height: 50px;
		border: 2px solid #afc112;
		border-radius: 50px;
		color: #afc112;
		font-size: 18px;
		font-weight: 900;
		text-align: center;
		margin: 30px auto 0 auto;
	}

	.card-list dl dd .card-btn:before{
		content: "▶";
		font-size: 12px;
		margin-right: 5px;
	}

	.card-list dl dd .card-btn:hover{
		background-color: #afc112;
		border: 2px solid #afc112;
		color: #fff;
		opacity: 1.0;
		z-index: 1;
	}

	/* お知らせ・採用情報
	------------------------------------*/
	#news-wrap-sp{
		width: 100%;
		background-color: #e8fdff;
		margin: 0 auto;
		padding: 60px 0;
	}

	#news-wrap-sp #news-wrap-sp-in{
		width: 90%;
		margin: 0 auto;
	}

	#news-wrap-sp .news-contents{
		width: 38%;
		background-color: #fff;
		border: 1px solid #448bd8;
		border-radius: 10px;
		float: left;
		margin: 0 4% 0 0;
		position: relative;
		padding: 0 15px;
	}

	#news-wrap-sp .news-contents:nth-of-type(2){
		margin: 0;
	}

	#news-wrap-sp .news-contents dl{
		box-sizing: border-box;
		border-top: 3px solid #448bd8;
		width: 100%;
			box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			-ms-box-sizing: border-box;
			-o-box-sizing: border-box;
		margin: 0 auto;
	}

	#news-wrap-sp .news-contents dl dt{
		width: 100%;
		height: 100%;
		margin: 15px auto;
		text-align: center;
	}

	#news-wrap-sp .news-contents dl dt p{
		width: 80%;
		height: 80%;
		margin: 0 auto;
	}

	#news-wrap-sp .news-contents dl dt p img{
			width: 100%;
			height: auto;

		}

	#news-wrap-sp .news-contents dl dt strong{
		width: 100%;
		color: #ea5b00;
		font-size: 16px;
		padding-bottom: 5px;
		text-align: left;
		}

	#news-wrap-sp .news-contents dl dd{
		margin: 0 auto;
		padding-bottom: 20px;
	}

	#news-wrap-sp .news-contents dl dd p{
		font-size: 14px;
		line-height: 20px;
		margin: 13px 0 0 0;
	}

	#news-wrap-sp .news-contents dl dd p span{
	display: none;
	}

	#contents-wrap #contents-article{
	display: none;
	}

	/* マップエリア設定
	------------------------------------*/
	#map-wrap{
		width: 100%;
		background-image: url(../img/common/dot-backgrpund.jpg);
		background-repeat: repeat;
		margin: 0 auto;
	}

	#map-wrap #map-in{
		width: 100%;
		max-width: 640px;
		margin: 0 auto;
		padding: 60px 0;
	}

	#map-wrap #map-in .sub-title{
		text-align: center;
	}

	#map-wrap #map-in h5{
	color: #ea5b00;
	border-bottom: 3px solid #afc112;
	display: inline-block;
	font-size: 24px;
	margin: 0 auto 40px auto;
	padding-bottom: 5px;
	}

	#map-in #map{
		width: 100%;
		height: 469px;
		max-width: 640px;
		height: 440px;
	}

	.gmap-btn{
		width: 90%;
		max-width: 560px;
		height: 40px;
		background-color: #ea5b00;
		color: #fff;
		border-radius: 5px;
		display: block;
		font-size: 16px;
		text-align: center;
		line-height: 40px;
		margin: 20px auto 0 auto;
	}

	#map-in aside{
		width: 295px;
		background-color: #fff;
		border: 1px solid #ea5b00;
		border-radius: 10px;
		margin: 30px auto;
		position: relative;
		padding: 0 15px;
	}

	#map-in aside dl{
		box-sizing: border-box;
		border-top: 3px solid #E95516;
		width: 100%;
			box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			-ms-box-sizing: border-box;
			-o-box-sizing: border-box;
		margin: 0 auto;
		padding-top: 20px;
	}

	#map-in aside dl dt{
		margin: 15px auto;
		text-align: center;
		display: none;
	}

	#map-in aside dl dt img{
		margin-bottom: 15px;
	}

	#map-in aside dl dd{
		margin-left: 20px;
	}

	#map-in aside dl dd strong{
		color: #ea5b00;
		font-size: 15px;
		font-weight: 900;
		border-bottom: 2px solid #afc112;
		margin-bottom: 20px;
		padding-bottom: 5px;
	}

	#map-in aside dl dd p{
		font-size: 16px;
		font-weight: 900;
		margin: 13px 0 0 0;
	}

	#map-in aside dl dd p:first-of-type{
		margin-bottom: 15px;
	}

	#map-in aside dl dd p:last-of-type{
		padding-bottom: 20px;
	}

}



/* SP用CSS
========================================================================== */
@media screen and (max-width:479px){
/* 全体設定
------------------------------------*/
#top-wrap{
	width: 100%;
	margin: 0 auto;
}

#top-wrap #top-in{
	width: 100%;
}

/* スライダー
------------------------------------*/
#top-in .slider-contents{
	margin-bottom: 70px;
	position: relative;
}

#top-wrap .slider{
	width: 100%;
	height: 200px;
	margin: 0 auto;
}

#top-wrap .slider img{
	width: 100%;
	height: 250px;
	object-fit: cover;
}

#top-wrap figure{
	width: 270px;
	position: absolute;
	bottom: -100px;
	left: 50%;
	margin-left: -85px;
	z-index: 3;
}

#top-wrap figure img{
	width: 60%;
	height: auto;
}

/* コンテンツ設定
------------------------------------*/
#contents-wrap{
		width: 100%;
		max-width: 640px;
		margin: 0 auto;
	}

#contents-wrap .contents-text{
		width: 100%;
		max-width: 640px;
		margin: 0 auto 30px auto;
	}

#contents-wrap .contents-text h2{
		width: 90%;
		max-width: 560px;
		color: #ea5b00;
		font-size: 15px;
		font-weight: 700;
		text-align: center;
		line-height: 25px;
		margin: 0 auto 10px auto;
		padding-top: 40px;
	}

#contents-wrap .contents-text p{
		width: 90%;
		max-width: 560px;
		font-size: 12px;
		font-weight: 900;
		text-align: left;
		line-height: 22px;
		margin: 0 auto;
	}

/* カードエリア */
#contents-wrap .contents-article-sp{
		width: 100%;
		background-color: #f9fdd9;
		padding: 40px 0;
	}

.contents-article-sp .card-list{
		width: 90%;
		border-bottom: 1px dotted #ea5b00;
		margin: 0 auto 20px auto;
		padding-bottom: 20px;
	}

.contents-article-sp .card-list:last-of-type{
		border-bottom: none;
		padding-bottom: 0px;
}

.contents-article-sp .card-list dt{
		width: 100%;
}

.contents-article-sp .card-list dt img{
		width: 100%;
		display: block;
		text-align: center;
		margin: 0 auto;
}

.contents-article-sp .card-list a{
		display: block;
	}

.card-list dl dd{
		width: 90%;
		max-width: 560px;
		font-size: 14px;
		line-height: 22px;
		margin: 0 auto;
	}

.card-list dl dd h3,
.card-list dl dd h4{
		color: #ea5b00;
		display: block;
		font-size: 20px;
		text-align: center;
		margin: 30px 0;
	}

.card-list dl dd .card-btn{
		width: 90%;
		max-width: 560px;
		height: 50px;
		background-color: #fff;
		line-height: 50px;
		border: 2px solid #afc112;
		border-radius: 50px;
		color: #afc112;
		font-weight: 900;
		text-align: center;
		margin: 30px auto 0 auto;
}

.card-list dl dd .card-btn:before{
		content: "▶";
		font-size: 12px;
		margin-right: 5px;
}

.card-list dl dd .card-btn:hover{
		background-color: #afc112;
		border: 2px solid #afc112;
		color: #fff;
		opacity: 1.0;
		z-index: 1;
}

	/* お知らせ・採用情報
	------------------------------------*/
#news-wrap-sp{
		width: 100%;
		background-color: #e8fdff;
		margin: 0 auto;
		padding: 60px 0;
	}

#news-wrap-sp #news-wrap-sp-in{
		width: 90%;
		margin: 0 auto;
}

#news-wrap-sp .news-contents{
	  width: 38%;
		background-color: #fff;
		border: 1px solid #448bd8;
		border-radius: 10px;
		float: left;
		margin: 0 4% 0 0;
		position: relative;
		padding: 0 15px;
}

#news-wrap-sp .news-contents:nth-of-type(2){
		margin: 0;
}

#news-wrap-sp .news-contents dl{
		box-sizing: border-box;
		border-top: 3px solid #448bd8;
		width: 100%;
			box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			-ms-box-sizing: border-box;
			-o-box-sizing: border-box;
		margin: 0 auto;
	}

#news-wrap-sp .news-contents dl dt{
		width: 100%;
		height: 100%;
		margin: 15px auto;
		text-align: center;
	}

#news-wrap-sp .news-contents dl dt p{
		width: 80%;
		height: 80%;
		margin: 0 auto;
	}

	#news-wrap-sp .news-contents dl dt p img{
			width: 100%;
			height: auto;

		}

#news-wrap-sp .news-contents dl dt strong{
		width: 100%;
		color: #ea5b00;
		font-size: 16px;
		padding-bottom: 5px;
		text-align: left;
		}

#news-wrap-sp .news-contents dl dd{
		margin: 0 auto;
		padding-bottom: 20px;
	}

#news-wrap-sp .news-contents dl dd p{
		font-size: 14px;
		line-height: 20px;
		margin: 13px 0 0 0;
	}

#news-wrap-sp .news-contents dl dd p span{
	display: none;
}

#contents-wrap #contents-article{
	display: none;
}

/* マップエリア設定
------------------------------------*/
#map-wrap{
		width: 100%;
		background-image: url(../img/common/dot-backgrpund.jpg);
		background-repeat: repeat;
		margin: 0 auto;
	}

#map-wrap #map-in{
		width: 100%;
		max-width: 640px;
		margin: 0 auto;
		padding: 60px 0;
	}

#map-wrap #map-in .sub-title{
		text-align: center;
	}

#map-wrap #map-in h5{
	color: #ea5b00;
	border-bottom: 3px solid #afc112;
	display: inline-block;
	font-size: 24px;
	margin: 0 auto 40px auto;
	padding-bottom: 5px;
}

#map-in iframe{
		width: 100%;
		height: 469px;
		max-width: 640px;
		height: 440px;
	}

.gmap-btn{
		width: 90%;
		max-width: 560px;
		height: 40px;
		background-color: #ea5b00;
		color: #fff;
		border-radius: 5px;
		display: block;
		font-size: 16px;
		text-align: center;
		line-height: 40px;
		margin: 20px auto 0 auto;
}

	#map-in aside{
		width: 295px;
		background-color: #fff;
		border: 1px solid #ea5b00;
		border-radius: 10px;
		margin: 30px auto;
		position: relative;
		padding: 0 15px;
	}

	#map-in aside dl{
		box-sizing: border-box;
		border-top: 3px solid #E95516;
		width: 100%;
	  	box-sizing: border-box;
	  	-webkit-box-sizing: border-box;
	  	-moz-box-sizing: border-box;
	  	-ms-box-sizing: border-box;
	  	-o-box-sizing: border-box;
		margin: 0 auto;
		padding-top: 20px;
	}

	#map-in aside dl dt{
		margin: 15px auto;
		text-align: center;
		display: none;
	}

	#map-in aside dl dt img{
		margin-bottom: 15px;
	}

	#map-in aside dl dd{
		margin-left: 20px;
	}

	#map-in aside dl dd strong{
		color: #ea5b00;
		font-size: 15px;
		font-weight: 900;
		border-bottom: 2px solid #afc112;
		margin-bottom: 20px;
		padding-bottom: 5px;
	}

	#map-in aside dl dd p{
		font-size: 14px;
		font-weight: 900;
		margin: 13px 0 0 0;
	}

	#map-in aside dl dd p:first-of-type{
		margin-bottom: 15px;
	}

	#map-in aside dl dd p:last-of-type{
		padding-bottom: 20px;
	}

}
