@charset "utf-8";

/*animation1のキーフレーム　開閉ブロックのアニメーション---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {
		left: -200px;
	}

	100% {
		left: 0px;
	}
}


/*opa1のキーフレーム設定（汎用的）---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

/*---------------------------------------------------------------------------*/
body * {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: "メイリオ", Meiryo, "游ゴシック", "Yu Gothic", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: #fff;
	color: #333;
	line-height: 4;
	animation: opa1 0.2s 0.5s both;
}

/*リンク（全般）設定---------------------------------------------------------------------------*/
a {
	color: #333;
	transition: 0.3s;
	text-decoration: none;
}

/*container--------------------------------------------------------------------------*/
#container {
	padding-left: 5%;
	padding-right: 5%;
	margin: 0 auto;
	max-width: 1280px;
}

/*トップページのメイン画像---------------------------------------------------------------------------*/
#main-image {
	margin-bottom: 5%;
}

/* メイン画像 */
#slideshow {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.slide {
	position: absolute;
	width: 100%;
	opacity: 0;
	transition: opacity 1s;
}

.visible {
	opacity: 1;
}

.slideshow-container {
	position: relative;
	max-width: 100%;
}

.slides {
	display: none;
}

.slide-image {
	width: 100%;
	margin-top: -15px;
	margin: auto;
}

.text-overlay {
	position: absolute;
	bottom: 30%;
	left: 20%;
	transform: translateX(-40%);
	color: white;
	font-size: 32px;
	font-family: 'Oswald', sans-serif;
	padding: 5%;
	border-radius: 5px;
	text-shadow: 1px 3px 4px #333;
	font-weight: bold;
	line-height: 1.5;
}

.active {
	display: block;
}

/*contents（左右のブロックを囲むボックス）---------------------------------------------------------------------------*/
#contents {
	display: flex;
	gap: 7%;
}

/*メインコンテンツ：セクション---------------------------------------------------------------------------*/
main {
	flex: 1;
	font-size: 16px;
	line-height: 2;
	margin-left: 0;
}

main h2 {
	margin-top: 0;
	margin-bottom: 5%;
	padding-left: 3%;
	padding-bottom: 1.5%;
	line-height: 1;
	border-bottom: 2px solid #678d35;
}

main p {
	padding-left: 3%;
	padding-right: 3%;
}

.sec1 {
	margin-top: 8%;
}

.news-list {
	list-style: none outside;
	margin: 0;
	padding: 0;
}

.news-list .item a {
	display: block;
	flex-wrap: wrap;
	flex-wrap: nowrap;
	text-decoration: none;
	color: #333;
	border-bottom: 1px solid #CCC;
}

.news-list .item-box {
	display: flex;
}

.news-list .item-1 {
	padding: 2% 3%;
}

.item-2,
.item-3 {
	display: flex;
	align-items: center;
	width: 100%;
}

.news-list .item:first-child a {
	border-top: 1px solid #CCC;
}

.news-list .item-1 .date {
	margin: 0;
	min-width: 140px;
	color: #333;
	padding-top: -10px;
}

.news-list .item-1.category {
	margin: 0;
	min-width: 140px;
	padding: 0 15px 0 0;
}

.news-list .item-1 .category span {
	background: #8b8b8b;
	color: #FFF;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	padding: 5px 20px;
	font-size: 14px;
	line-height: 1;
}

.item a:hover {
	background-color: #ecfde5;
}

nav,
ul,
li {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/*サブコンテンツ---------------------------------------------------------------------------*/
/*メニューを囲むブロック*/
#navibar {
	order: -1;
	width: 165px;
}

/*メニュー*/
#navibar li {
	background-color: #678d35;
	border-radius: 5px;
	margin-bottom: 7px;
}

#navibar li a {
	padding-left: 5%;
	font-size: 16px;
	color: #fff;
	font-weight: 500;
}

nav li a:hover {
	background-color: #3f5721;
	border-radius: 5px;
}

#navibar h3 {
	margin: 6% 0 10% 0;
	text-align: center;
	line-height: 1.5;
	font-size: 18px;
	border-bottom: 2px solid #678d35;
}


/*メニューブロック設定---------------------------------------------------------------------------*/
#navibar {
	opacity: 0;
}

#navibar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#navibar a {
	display: block;
	text-decoration: none;
	line-height: 3.5;
}

#navibar {
	opacity: 1;
}

#navibar_s.display-none {
	display: none;
}

/*ロゴマーク---------------------------------------------------------------------------*/
#logo img {
	width: 45%;
	margin: 10% auto 10% auto;
	align-items: center;
}

#logo {
	display: flex;
}

/*連絡先---------------------------------------------------------------------------*/
.adress {
	font-size: 18px;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	margin: 0 15% 5% 15%;
	line-height: 1.75;
	border: #678d35 solid 1px;
	border-radius: 5px;
}

.adress h3 {
	font-size: 20px;
	margin-bottom: 0;
	padding-bottom: 0;
	line-height: 1;
}

/*フッター---------------------------------------------------------------------------*/
footer a {
	color: inherit;
	text-decoration: none;
}

footer {
	background-color: #678d35;
	color: #FFF;
	text-align: center;
}

/*PAGE TOP---------------------------------------------------------------------------*/
.pagetop-show {
	display: block;
}

/*ボタンの設定*/
.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 99;
	position: fixed;
	right: 20px;
	bottom: 60px;
	color: #fff;
	background: rgba(0, 0, 0, 0.3);
	width: 60px;
	line-height: 60px;
}

/*画面幅767px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:767px) and (max-width: 959px) {

	.news-list .item a {
		flex-wrap: wrap;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	.news-list .item .date {
		min-width: 100px;
	}

	.news-list .item .title {
		margin-top: 10px;
	}

	#container {
		margin-left: 2%;
		margin-right: 2%;
	}

	main {
		font-size: 14px;
	}

	.text-overlay {
		bottom: 28%;
		left: 18%;
		transform: translateX(-30%);
		font-size: 32px;
	}

	#logo img {
		width: 50%;
		margin: 10% auto 10% auto;
	}

	.adress {
		font-size: 14px;
		margin: 0 5rem 2rem 5rem;
	}

	#navibar.display-none {
		display: none;
	}

	#navibar.display-block {
		display: block;
		opacity: 1;
	}

	.news-list .item .category span {
		padding: 5px 15px;

	}

	/*スマホ用のハンバーガーメニュー---------------------------------------------------------------------------
　　/*メニューブロック*/
	#navibar.display-block {
		position: fixed;
		overflow: auto;
		z-index: 100;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 100%;
		padding-top: 100px;
		color: #333;
		background: #fff;
		animation: animation1 0.2s both;
	}

	/*メニュー個別設定*/
	#navibar li {
		border: 1px solid #fff;
		background-color: #678d35;
		border-radius: 5px;
		margin-left: 10%;
		margin-right: 10%;
	}

	#navibar a {
		font-size: 16px;
		padding: 0 3%;
	}


	#navibar h3 {
		display: none;
	}


	/*３本バー（ハンバーガー）アイコン設定---------------------------------------------------------------------------*/
	/*３本バーのブロック*/
	#navibar_s {
		animation: opa1 0.3s 0.5s both;
		position: fixed;
		z-index: 101;
		cursor: pointer;
		top: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
		padding: 15px;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: transform 0.5s;
		background: rgba(0, 0, 0, 0.6);
	}

	#navibar_s div {
		position: relative;
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	/*バーの設定*/
	#navibar_s div span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: #fff;
		border-radius: 5px;
		transition: all 0.5s ease-in-out;
		position: absolute;
	}

	#navibar_s div span:nth-child(1) {
		top: 0;
	}

	#navibar_s div span:nth-child(2) {
		top: 50%;
		transform: translateY(-50%);
	}

	#navibar_s div span:nth-child(3) {
		bottom: 0;
	}

	#navibar_s.ham div span:nth-child(1) {
		top: 50%;
		transform: translateY(-50%) rotate(45deg);
	}

	#navibar_s.ham div span:nth-child(2) {
		opacity: 0;
	}

	#navibar_s.ham div span:nth-child(3) {
		top: 50%;
		transform: translateY(-50%) rotate(-45deg);
	}
}

/*画面幅767px以上---------------------------------------------------------------------------*/
@media screen and (max-width: 766px) {
	.item-box {
		display: block;
		flex-wrap: wrap;
	}

	.news-list .item .date {
		min-width: 100px;
		font-size: 13px;
	}

	.news-list .item-1 .category span {
		font-size: 12px;
	}

	#container {
		margin-left: 2%;
		margin-right: 2%;
	}

	main {
		font-size: 12px;
		padding-left: 2%;
		padding-left: 2%;
	}

	main p {
		margin-top: -20px;
		padding-left: 2%;
		padding-right: 2%;
	}


	#logo img {
		width: 60%;
		margin: 10% auto 10% auto;
		align-items: center;
	}


	.adress {
		font-size: 12px;
		text-align: center;
		margin: 0 7% 5% 7%;
	}

	footer {
		font-size: 14px;
	}

	#navibar.display-none {
		display: none;
	}

	#navibar.display-block {
		display: block;
		opacity: 1;
	}

	/*スマホ用のハンバーガーメニュー---------------------------------------------------------------------------
　　/*メニューブロック設定*/
	#navibar.display-block {
		position: fixed;
		overflow: auto;
		z-index: 100;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 100%;
		padding-top: 100px;
		color: #333;
		background: #fff;
		animation: animation1 0.2s both;
	}

	/*メニュー個別設定*/
	#navibar li {
		border: 1px solid #fff;
		background-color: #678d35;
		border-radius: 5px;
		margin-left: 10%;
		margin-right: 10%;
	}

	#navibar a {
		font-size: 16px;
		padding: 0 3%;
	}

	#navibar h3 {
		display: none;
	}

	/*３本バー（ハンバーガー）アイコン設定---------------------------------------------------------------------------*/
	/*３本バーのブロック*/
	#navibar_s {
		animation: opa1 0.3s 0.5s both;
		position: fixed;
		z-index: 101;
		cursor: pointer;
		top: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
		padding: 15px;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: transform 0.5s;
		background: rgba(0, 0, 0, 0.6);
	}

	#navibar_s div {
		position: relative;
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	/*バーの設定*/
	#navibar_s div span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: #fff;
		border-radius: 5px;
		transition: all 0.5s ease-in-out;
		position: absolute;
	}

	#navibar_s div span:nth-child(1) {
		top: 0;
	}

	#navibar_s div span:nth-child(2) {
		top: 50%;
		transform: translateY(-50%);
	}

	#navibar_s div span:nth-child(3) {
		bottom: 0;
	}

	#navibar_s.ham div span:nth-child(1) {
		top: 50%;
		transform: translateY(-50%) rotate(45deg);
	}

	#navibar_s.ham div span:nth-child(2) {
		opacity: 0;
	}

	#navibar_s.ham div span:nth-child(3) {
		top: 50%;
		transform: translateY(-50%) rotate(-45deg);
	}
}

/*メイン画像のオーバーレイ文字の画面サイズ別の指定
---------------------------------------------------------------------------*/
@media screen and (min-width:500px) and (max-width: 766px) {

	.text-overlay {
		font-size: 26px;
		bottom: 28%;
		left: 22%;
		transform: translateX(-30%);
	}

	main h2 {
		font-size: 18px;
		margin-bottom: 12%;
		line-height: 1.5;
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	.adress h3 {
		font-size: 16px;
	}

	.item-1 .date {
		display: flex;
		width: 100%;
		margin-top: 20px;
		/* padding: 2% 2%; */
	}

	.item-1 .category {
		display: flex;
		width: 100%;
		margin-top: 5px;
		/* padding: 2% 2%; */
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 2% 2%;
		align-items: center;
	}
}


@media screen and (max-width: 499px) {

	.text-overlay {
		font-size: 20px;
		bottom: 28%;
		left: 22%;
		transform: translateX(-30%);
	}

	main h2 {
		font-size: 14px;
		margin-bottom: 12%;
		line-height: 1.5;
	}

	.item-1 .category {
		display: flex;
		width: 100%;
		margin-top: 5px;
		/* padding: 2% 2%; */
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 2% 2%;
		align-items: center;
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 5% 2% 2% 2%;
		align-items: center;
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	.adress {
		font-size: 12px;
		text-align: center;
		padding-left: 3%;
		padding-right: 3%;
	}

	footer {
		font-size: 12px;
	}
}

@media screen and (max-width: 400px) {

	.text-overlay {
		font-size: 16px;
		bottom: 20%;
		left: 22%;
		transform: translateX(-30%);
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	main h2 {
		font-size: 14px;
		margin-bottom: 15%;
		line-height: 1.5;
	}

	.item-1 .category {
		display: flex;
		width: 100%;
		margin-top: 5px;
		/* padding: 2% 2%; */
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 2% 2%;
		align-items: center;
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 7% 2% 2% 2%;
		align-items: center;
	}

	.adress {
		text-align: justify;
		padding-left: 5%;
		padding-right: 5%;
	}

	.adress h3 {
		font-size: 14px;
		line-height: 1.5;
	}

	footer {
		text-align: justify;
		line-height: 1.75;
		padding: 3%;
	}

}