@charset "utf-8";

/* メインスライド部分
************************************/
#main_carousel {
	width: 1070px;
	margin-bottom: 14px;
	text-align: center;
}

#main_carousel a:hover img{
	opacity:1.0;
}

#main_carousel ul{
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	position: relative; top: 0px; z-index: 1;
}

#main_carousel li{
	margin: 0 5px 0 0;
	display: block;
	float: left;
}

#main_carousel .pagination {
	text-align: center;
	margin-top: -180px;
	position: relative;
	z-index: 1010;
}

.pagination a {
	background: url(../img/icon_pagination.png?ts) 0 top no-repeat transparent;
	width: 25px;
	height: 14px;
	margin: 0;
	display: inline-block;
}
.pagination a.selected {
	background-position: -25px top;
	cursor: default;
}
.pagination a span {
	display: none;
}
.clearfix {
	float: none;
	clear: both;
}
a.prev, a.next {
	position: relative;
	height: 80px;
	width: 20px;
	display: block;
	z-index: 1050;
}
a.prev span, a.next span {
	display: none;
}

/* 各スライドのprev・next用スタイル */
#main_carousel a.prev {
	background: url(../img/btn_back.png?ts) left top no-repeat transparent;
	top: -250px;
	left: 0px;
}
#main_carousel a.next {
	background: url(../img/btn_back.png?ts) right top no-repeat transparent;
	top: -340px;
	left: 1050px;
}

#header ul.navi{
	margin-top: -15px;
}

#contents .news_horizontal{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 1.5em 0 30px;
	gap: 1em;
}

#contents div.news{
	padding-top: 30px;
	background-image: url(../img/title_news.png?ts);
	background-repeat: no-repeat;
	background-position: left top;
}

#contents div.news dl{
	border-top: 1px #999999 dashed;
	max-width: 680px;
	height: 165px;
	overflow: auto;
}

#contents div.news dt{
	padding: 8px 0 0 12px;
	background-image: url(../img/icon_news.png?ts);
	background-repeat: no-repeat;
	background-position: left 16px;
}

#contents div.news dd{
	margin-top: -1.6em;
	padding-bottom: 8px;
	padding-left: 135px;
	border-bottom: 1px #999999 dashed;
}

#contents div.blog{
	margin-top: -35px;
	padding-bottom: 30px;
	float: right;
}

#contents div.recruit{
	margin-top: .8em;
	margin-bottom: 1em;
}

#contents dl.point{
	margin-bottom: 30px;
	clear: both;
	overflow: hidden;
}

#contents dl.point dt{
	color: #ffffff;
	font-size: 125%;
	text-align: center;
	padding: 15px 0;
	background-color: #808080;
}

#contents dl.point dd{
	background-color: #f2f2f2;
}

#contents dl.point dd ul{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#contents dl.point dd a img{
	vertical-align: middle;
}

#contents dl.point dd a:hover{
	opacity: 0.7;
}

div.twitter{
	border-top: 1px solid #CCC;
	padding-top: 30px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
div.twitter div{
	max-width: 600px;
	flex: 1;
	margin: 1em 0;
}
div.twitter img{
	margin-top: 5px;
}
iframe.twitter-timeline {
	width: 100% !important;
	height: 300px;
	margin-bottom: 30px;
}

/* ブラウザ互換
**********************************************/
#main_carousel,  x:-moz-any-link{	/* Firefox スライドのズレ修正 */
	margin: 70px 0 10px 0;
}


@media screen and (max-width: 767px){
	#wrapper{
		margin: 0 auto;
		padding: 0;
	}
	.for-pc{
		display: none !important;
	}
	.for-sp{
		display: block;
	}
	.sp-blk{
		display: block;
	}

	#contents{
		margin: 0 .8em;
	}

	#contents .guidance_sp{
		margin-top: .5em;
	}

	#contents div.news dd{
		padding-left: 120px;
	}

	#contents div.recruit{
		width: 100%;
		margin-top: 0;
	}

	#contents .sp_recruit{
		display: flex;
		justify-content: start;
		flex-direction: column;
		gap: .5em;
	}
	/* #contents .sp_recruit > div{
		width: calc(100% / 2);
	} */

	#contents .video-container iframe {
		/* max-width: 100%; */
		width: 100%;
		min-height: 230px;
		border: none;
	}

	#contents .news_horizontal{
		margin: .5em 0 2em;
		flex-direction: column-reverse;
	}
	#contents .sp_point{
		margin: .5em;
	}
	#contents dl.point{
		margin-bottom: .5em;
	}
	#contents dl.point dt{
		font-size: 100%;
	}
	#contents dl.point dd ul{
		gap: .2em;
		padding: 0 .5em .5em;
	}
	#contents dl.point dd ul img{
		width: 100%;
	}

	#contents div.twitter{
		border-top: 0;
		padding-top: 0;
		flex-direction: row;
	}
	div.twitter div{
		flex: auto;
	}
	#twitter-widget-0{
		width: 100% !important;
	}
}