@charset "utf-8";

.slider{
  opacity: 0;
  transition: opacity .3s linear;
}
.slider.slick-initialized{
  opacity: 1;
}

#slider {
	width: 100%;
	overflow: hidden;
	padding-top: 24px;
}
ul.slider,
ul.slider li {
	margin: 0;
	padding: 0;
	z-index: 1;
}

.slider li img {
	aspect-ratio: 2 / 1;
	width: 100%; /* 親要素の幅に合わせる */
	height: auto; /* 自動で高さを調整 */
	object-fit: cover;
}
/* 中央以外のスライド */
.slider li {
  height: auto;
  opacity: .3; /* スライドを薄くする*/
  transform: scale(0.8); /* スライドのサイズを小さくする*/
  transition: opacity .5s, transform .5s; /* スライド透過率と拡大のアニメーション時間を0.5秒に設定*/
  position: relative;
}
/* 中央のスライド */
.slider .slick-center {
  opacity: 1; /* 中央のスライドは透過しない*/
  transform: scale(1); /* 中央のスライドは小さくしない*/
}
.slider li span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc( 100% - 16px );
	height: 100%;
	padding: 0 8px;
	position: absolute;
	left: 0;
	top: 0;
	color: #fff;
	font-weight: 400;
	font-size: 2.4em;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}
.slick-prev,
.slick-next {
	z-index: 2;
}
.slick-prev::before,
.slick-next::before {
	content: "";
	display: block;
	width: 50px;
	height: 50px;
	background-image: url("../img/totop.svg");
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: center center;
	border-radius: 25px;
	background-color: #2f6b3a;
	opacity: 1;
}
.slick-prev::before {
	transform: rotate(-90deg);
}
.slick-next::before {
	transform: rotate(90deg);
}
.slick-prev {
	left: 10%;
}
.slick-next {
	right: 10%;
}
@media screen and (max-width: 768px){
	.slider li span {
		font-size: 1.5em;
	}
}

#news,
#topics,
#btm_banner,
#king {
	padding-top: 48px;
	position: relative;
}
#news .inner::after,
#topics::before {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: rgba( 255, 255, 255, 0 );
	background-size: 16px 2px;
	background-image: linear-gradient(to right,#234027 8px, transparent 8px);
	background-position: left bottom;
	background-repeat: repeat-x;
	position: absolute;
	top: 148px;
	left: 0;
}
#news .inner::after {
	max-width: 1280px;
	left: auto;
}

#news article{
	border: 2px solid #005413;
	border-radius: 24px;
	padding-bottom: 36px;
}
#news h2,
#topics h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #2f6b3a;
	margin: 0;
	padding: 0;
	height: 100px;
}
#news dl,
#news dt,
#news dd {
	margin: 0;
}
#news dl {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	font-weight: 500;
}
#news dt {
	width: 30%;
	position: relative;
}
#news dt::after {
	content: "";
	display: block;
	width: 2px;
	height: 1em;
	background-color: #005413;
	position: absolute;
	right: 30%;
	top: 0;
}
#news dd {
	width: 70%;
	margin-bottom: 1.5em;
}
#news a {
	color: #333;
}
.news_more {
	display: block;
	background-color: #2f6b3a;
	color: #fff !important;
	border-radius: 1em;	
	width: 12em;
	text-align: center;
	padding: 4px;
	margin-left: auto;
	margin-right: auto;
}

#top_banner {
	padding-top: 48px;
}
.slider_banner,
.slider_banner li {
	margin: 0;
	padding: 0;
}
.slider_banner li.slick-slide {
	margin-right: 40px;
}

#topics ul {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}
#topics ul li {
	list-style: none;
	margin: 0;
	display: block;
	background-color: #deead0;
	width: calc( 25% - 2em );
	margin-right: 24px;
	padding: 1em;
	position: relative;
}
#topics ul li:last-of-type {
	width: 10%;
	background-color: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
}
#topics ul li h3 {
	text-align: center;
	margin-top: 0;
}
#topics ul li p {
	margin-bottom: 2em;
}

.topics_more2 {
	display: block;
	width: 10em;
	background-color: #2f6b3a;
	color: #fff;
	text-align: center;
	border-radius: 1em;
	padding: 4px;
}

#btm_banner::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: rgba( 255, 255, 255, 0 );
	background-size: 16px 2px;
	background-image: linear-gradient(to right,#234027 8px, transparent 8px);
	background-position: left bottom;
	background-repeat: repeat-x;
	position: absolute;
	top: 8px;
	left: 0;
}
#btm_banner ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#btm_banner li {
	list-style: none;
	padding: 8px;
}
#btm_banner li img {
	width: 240px;
	height: auto;
}

#king {
	background-color: #fff3e6;
	border-top: 2px solid #f39a2e;
	padding-bottom: 48px;
	font-weight: 500;
}
#king article {
	display: flex;
}
#king article div.king_news {
	flex-grow: 2;
	border: 2px solid #f39a2e;
	border-radius: 12px;
	margin-left: 48px;
}
.king_news h3 {
	color: #f39a2e;
	display: block;
	text-align: center;
}
.king_news dl,
.king_news dl dt,
.king_news dl dd {
	margin: 0;
	padding: 0;
}
.king_news dl {
	display: flex;
	flex-wrap: wrap;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}
.king_news dl dt {
	width: 30%;
	position: relative;
}
.king_news dt::after {
	content: "";
	display: block;
	width: 2px;
	height: 1em;
	background-color: #f39a2e;
	position: absolute;
	right: 20%;
	top: 0;
}
.king_news dl dd {
	width: 65%;
	margin-bottom: 0.5em;
}
.king_news dl dd a {
	color: #333;
}
.king_more {
	display: block;
	background-color: #f39a2e;
	color: #fff !important;
	border-radius: 1em;	
	width: 12em;
	text-align: center;
	padding: 4px;
	margin-left: auto;
	margin-right: auto;
}
.king_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 15em;
	height: 2em;
	margin-left: auto;
	margin-right: auto;
	color: #f39a2e;
	background-color: #fff;
	border: 1px solid #f39a2e;
	border-radius: 1em;
}

.a_notext a::after {
	content: "[リンク]";
}

@media screen and (max-width: 768px){

	#slider {
		padding-top: 64px;
	}
	.slider li img {
		aspect-ratio: 16 / 9;
		width: 100%; /* 親要素の幅に合わせる */
		height: 220px; /* 自動で高さを調整 */
		object-fit: cover;
	}
	/* 中央のスライド */
	.slider .slick-center {
	  opacity: 1; /* 中央のスライドは透過しない*/
	  transform: scale(1); /* 中央のスライドは小さくしない*/
	}

	#news,
	#topics,
	#btm_banner,
	#king {
		padding-top: 36px;
	}
	#news .inner::after {
		width: 90%;
		top: 120px;
	}
	#topics::before {
		width: 100%;
		top: 120px;
	}
	#news article{
		border: 2px solid #005413;
		border-radius: 24px;
		padding-bottom: 24px;
	}
	#news h2,
	#topics h2 {
		display: flex;
		justify-content: center;
		align-items: center;
		color: #2f6b3a;
		margin: 0;
		padding: 0;
		height: 80px;
	}
	#news dl,
	#news dt,
	#news dd {
		margin: 0;
	}
	#news dl {
		width: 90%;
		flex-wrap: wrap;
		font-weight: 500;
		margin-left: auto;
		margin-right: auto;
		margin-top: 1em;
	}
	#news dt {
		width: 100%;
		position: relative;
		padding-left: 1em;
	}
	#news dd {
		width: 100%;
		margin-bottom: 1.5em;
		position: relative;
		padding-left: 1em;
	}
	#news dt::after,
	#news dd::after {
		content: "";
		display: block;
		width: 2px;
		height: 100%;
		background-color: #005413;
		position: absolute;
		left: 0;
		top: 0;
	}
	#news a {
		color: #333;
	}
	.news_more {
		display: block;
		background-color: #2f6b3a;
		color: #fff !important;
		border-radius: 1em;	
		width: 12em;
		text-align: center;
		padding: 4px;
		margin-left: auto;
		margin-right: auto;
	}

	#topics ul {
		flex-wrap: wrap;
		padding: 0;
	}
	#topics ul li {
		width: calc( 100% - 16px );
		margin-right: 0;
		padding: 8px;
		margin-bottom: 16px;
	}
	#topics ul li:last-of-type {
		width: 50%;
		margin-top: 24px;
	}
	#topics ul li h3 {
	}
	#topics ul li p {
	}

	#btm_banner::after {
	}
	#btm_banner ul {
		padding-left: 0;
	}
	#btm_banner li {
		list-style: none;
		padding: 8px;
	}
	#btm_banner li img {
		width: 240px;
		height: auto;
	}

	#king {
	}
	#king article {
		flex-wrap: wrap;
	}
	#king article div.king_img {
		width: 100%;
		margin-bottom: 24px;
	}
	#king article div.king_img img {
		width: 100%;
		height: auto;
	}
	#king article div.king_news {
		margin-left: 0;
	}
	.king_news h3 {
		text-align: left;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.king_news dl,
	.king_news dl dt,
	.king_news dl dd {
	}
	.king_news dl {
		display: flex;
		flex-wrap: wrap;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.king_news dl dt {
		width: 100%;
		position: relative;
		padding-left: 1em;
	}
	.king_news dt::after,
	.king_news dd::after{
		content: "";
		display: block;
		width: 2px;
		height: 100%;
		background-color: #f39a2e;
		position: absolute;
		right: 0;
		left: 0;
		top: 0;
	}
	.king_news dl dd {
		width: 100%;
		margin-bottom: 1.5em;
		position: relative;
		padding-left: 1em;
	}
	.king_news dl dd a {
		color: #333;
	}
	.king_more {
		display: block;
		background-color: #f39a2e;
		color: #fff !important;
		border-radius: 1em;	
		width: 12em;
		text-align: center;
		padding: 4px;
		margin-left: auto;
		margin-right: auto;
	}
}
