@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 {
	min-height: 100vh;
	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 {
	min-height: 100vh;
	padding-left: 5%;
	padding-right: 5%;
	margin-bottom: 5%;
	margin-bottom: -50px;
}

/*contents（左右のブロックを囲むボックス）---------------------------------------------------------------------------*/
#contents {
	display: flex;
	gap: 7%;
	margin: 0 auto;
	max-width: 1280px;
}

/*メインコンテンツ：セクション---------------------------------------------------------------------------*/
main {
	flex: 1;
	text-align: center;
	font-size: 16px;
	line-height: 2;
	margin-left: 0;
	border: #727272 so;
}

main h2 {
	margin: 35px 20px 30px 20px;
	padding: 0.5% 0 0 3%;
	line-height: 1.75;
	background: #ececec;
	border-left: solid 10px #678d35;
	text-align: start;
}

main h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 30px 20px 30px;
	padding-left: 20px;
	padding-top: 2px;
	text-align: start;
	line-height: 1.5;
	background-color: #678d35;
	color: #FFF;
}

main h4 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 20px 0 50px;
	text-align: start;
	line-height: 1;
}

main h5 {
	margin: 35px 20px 40px 30px;
	padding: 10px;
	font-size: 1rem;
	text-align: center;
	background: #678d35;
	color: #FFF;
}

main p {
	text-align: start;
	margin-left: 50px;
	line-height: 1;
}

.title {
	font-weight: 600;
	background: #678d35;
	color: #FFF;
	padding: 10px;
	margin: 35px auto 40px auto;
	width: fit-content;
	text-align: center;
}

a:hover {
	color: #19e970;
	transition: 0.3s;
}

.photo {
	display: flex;
	justify-content: center;
	gap: 50px;

}

.coment {
	margin-top: 30px;
	text-align: left;
	display: inline-block;
	line-height: 1.75;
}

.file-item .pdf {
	display: inline-block;
	padding: 5px 0 5px 40px;
	background-image: url(../images/pdf_small.png);
	background-repeat: no-repeat;
	background-position: left top;
}

nav,
ul,
li {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/*サブコンテンツ---------------------------------------------------------------------------*/
/*メニューを囲むブロック*/
#navibar {
	order: -1;
	width: 165px;
	margin-top: 60px;
}

/*メニュー*/
#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: 0 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: 50%;
	align-items: center;
	margin-bottom: 10%;
}

/*フッター---------------------------------------------------------------------------*/
footer a {
	color: inherit;
	text-decoration: none;
}

footer {
	background-color: #678d35;
	color: #FFF;
	width: 100%;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer,
.push {
	height: 50px;
}

/*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) {

	#container {
		margin-left: 2%;
		margin-right: 2%;
	}

	main {
		font-size: 14px;
	}

	main h2 {
		font-size: 22px;
		line-height: 2.5;
		margin: 10% 0 5% 0;
	}

	#logo img {
		width: 55%;
		margin: 0 auto 0 auto;
	}

	footer {
		width: 100%;
	}

	.push {
		height: 50px;
	}

	#navibar.display-none {
		display: none;
	}

	#navibar.display-block {
		display: block;
		opacity: 1;
	}

	#navibar {
		margin-top: -130px;
	}

	/*スマホ用のハンバーガーメニュー---------------------------------------------------------------------------
    /*メニューブロック*/
	#navibar.display-block {
		position: fixed;
		overflow: auto;
		z-index: 100;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 200%;
		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%;
		line-height: 2.75;
	}

	#navibar h3 {
		Visibility: hidden
	}

	/*３本バー（ハンバーガー）アイコン設定---------------------------------------------------------------------------*/
	/*３本バーのブロック*/
	#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) {

	#container {
		margin-left: 2%;
		margin-right: 2%;
	}

	main {
		font-size: 12px;
		padding-left: 2%;
		padding-left: 2%;
	}

	#logo img {
		width: 75%;
		margin: 0 auto 0 auto;
	}

	footer {
		font-size: 14px;
		width: 100%;
	}

	.push {
		height: 50px;
	}

	#navibar.display-none {
		display: none;
	}

	#navibar.display-block {
		display: block;
		opacity: 1;
	}

	#navibar {
		margin-top: 10px;
	}

	/*スマホ用のハンバーガーメニュー---------------------------------------------------------------------------
　　/*メニューブロック設定*/
	#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%;
		padding-top: 0;
		padding-bottom: 0;
	}

	#navibar a {
		font-size: 16px;
		padding: 0 3%;
		line-height: 2.5;
	}

	#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) {

	main h2 {
		font-size: 18px;
		line-height: 3;
		margin: 50px 10px 5% 0;
	}

	main h3 {
		font-size: 1.15rem;
		margin-left: 0px;
		margin-right: 10px;
		padding-left: 20px;
	}

	main h4,
	main p {
		font-size: 1rem;
		margin-left: 20px;
		margin-right: 20px;
		padding-left: 0;
	}

	.title {
		text-align: justify;
		margin-left: 10px;
		margin-right: 10px;
	}


	.file-item img {
		width: 70%
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	.photo {
		display: block;
		text-align: center;
		margin-bottom: 30px;
	}

	.photo img {
		margin-bottom: 50px;
	}

	.photo2 img {
		width: 400px;
	}

	.coment {
		margin-top: -20px;
	}


}

@media screen and (max-width: 499px) {

	main h2 {
		font-size: 14px;
		line-height: 3;
		margin: 50px 10px 20px 0;
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	main h3 {
		font-size: 1.15rem;
		margin-top: 0;
		margin-left: 10px;
		margin-right: 30px;
		padding-left: 10px;
	}

	main h4,
	main p {
		font-size: 0.9rem;
		margin-left: 20px;
		margin-right: 40px;
		padding-left: 10px;
	}

	.file-item .pdf {
		margin-left: 10px;
	}

	.photo {
		display: block;
		text-align: center;
		margin-bottom: 30px;
	}

	.photo img {
		margin-bottom: 50px;
	}

	.photo2 img {
		width: 360px;
	}

	.coment {
		margin-top: -20px;
	}

	footer {
		font-size: 12px;
		width: 100%;
	}
}

@media screen and (max-width: 400px) {

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	main h2 {
		font-size: 14px;
		margin: 50px 10px 5% 0;
		line-height: 1.5;
	}

	main h3,
	main h4,
	main p {
		font-size: 0.9rem;
		margin-left: 10px;
		margin-right: 40px;
		padding-left: 0;
	}

	.file-item .pdf {
		margin-right: 60px;
	}

	.photo {
		display: block;
		margin-bottom: 30px;
	}

	.photo img {
		margin-bottom: 50px;
	}

	.photo2 img {
		width: 100px;
	}

	.coment {
		margin-top: -20px;
	}

	footer {
		text-align: justify;
		line-height: 1.75;
		padding: 3%;
	}
}