@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;
}

main {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

main * {
	min-width: 0;
}

/* メイン画像 */
#slideshow {
	position: relative;
	width: 80%;
	overflow: hidden;
}

.slide {
	position: absolute;
	opacity: 0;
	transition: opacity 1s;
}

.visible {
	opacity: 1;
}

.slideshow-container {
	position: relative;
}

.slides {
	display: none;
}

.slide-image {
	text-align: center;
	width: 88%;
	margin-top: -10px;
	margin-bottom: 20px;
	border: 10px solid #FFF;
	box-shadow: 0 0 5px #727272;
}

.text-overlay {
	position: absolute;
	bottom: 5%;
	left: 15%;
	color: white;
	font-size: 24px;
	font-family: 'Oswald', sans-serif;
	border-radius: 5px;
	text-shadow: 1px 3px 4px #333;
	font-weight: 600;
	line-height: 1.5;
}

.active {
	display: block;
}

/*リンク（全般）設定---------------------------------------------------------------------------*/
a {
	color: #333;
	/* font-weight: 600; */
	transition: 0.3s;
	text-decoration: none;

}

/*ファイルリンク---------------------------------------------------------------------------*/
.file-item {
	margin: 10px 20px 0 10px;
}

.file-item .pdf {
	display: inline-block;
	padding: 0 0 5px 40px;
	background-image: url(../images/pdf.png);
	background-repeat: no-repeat;
	background-position: left top;
}

.file-item_1 {
	margin: 10px 70px 0 70px;
}

.file-item_1 .pdf {
	display: inline-block;
	padding: 5px 0 15px 40px;
	background-image: url(../images/pdf.png);
	background-repeat: no-repeat;
	background-position: left top;
}

.pdf-dl {
	display: inline-block;
	margin: 10px auto;
	padding: 1.5em 2em;
	gap: 20px;
	background: #fff;
	border-top: solid 6px #678d35;
	box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);
	text-align: justify;
	line-height: 2;
}

.pdf-dl p {
	margin: 0;
	padding: 10px 20px;
}

/*index--------------------------------------------------------------------------*/

.index {
	font-size: 1.1rem;
	margin-top: 50px;
	color: #333;
}

.index_no {
	display: block;
	margin: 0 auto;
	margin: 0 90px;
	word-break: normal;
	overflow-wrap: break-word;
}

html[lang="ja"] .index_no {
	text-align: justify;
}

html[lang="en"] .index_no {
	text-align: left;
}

.index_img {
	width: 3%;
	vertical-align: middle;
	margin-bottom: 10px;
	box-shadow: #a8a8a8 2px 2px 4px;
}

.index_p {
	vertical-align: middle;
	margin-left: 20px;
}

/*container--------------------------------------------------------------------------*/
#container {
	min-height: 100vh;
	padding-left: 5%;
	padding-right: 5%;
	margin-bottom: 5%;
	margin-bottom: -50px;
}

/*contents（左右のブロックを囲むボックス）---------------------------------------------------------------------------*/
#contents {
	display: flex;
	gap: 40px;
	margin: 0 auto;
	max-width: 1280px;
}

/*言語切り替え---------------------------------------------------------------------------*/

header {
	position: relative;
	height: 80px;
	overflow: hidden;
}

/* 背景画像 */
header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ロゴ */
.logo {
	position: absolute;
	left: 16px;
	top: 35%;
	transform: translateY(-50%);
	color: #fff;
	font-size: clamp(16px, 2.5vw, 30px);
	font-weight: 600;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
	max-width: 80%;
	line-height: 1;
	word-break: break-word;
}

.lang-switch svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	/* ←これがポイント！ */
}

.lang-switch {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(6px);
	color: #333;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
}

.lang-item {
	padding: 2px 4px;
	border-radius: 4px;
	transition: 0.2s;
}


.lang-item.active {
	font-weight: 600;
	color: #111;
	/* 少し濃くする */
}

.lang-item.active:hover {
	background: none;
	cursor: default;
}

/*メインコンテンツ：セクション---------------------------------------------------------------------------*/
main {
	flex: 1;
	min-width: 0;
	text-align: center;
	font-size: 16px;
	line-height: 2;
	margin-left: 0;
	border: #727272;
}

main h2 {
	margin: 100px 20px 30px 20px;
	padding: 0.5% 0 0 3%;
	line-height: 1.75;
	background: #ececec;
	border-left: solid 10px #678d35;
	text-align: start;
	font-size: clamp(16px, 2.8vw, 24px);
}

main h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 30px 30px;
	padding-left: 20px;
	padding-top: 2px;
	line-height: 1.5;
	background-color: #678d35;
	color: #FFF;
	word-break: normal;
	overflow-wrap: break-word;
}

html[lang="ja"] h3 {
	text-align: justify;
}

html[lang="en"] h3 {
	text-align: left;
}

main h4 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 30px 60px;
	line-height: 1;
	word-break: normal;
	overflow-wrap: break-word;
}

html[lang="ja"] h4 {
	text-align: justify;
}

html[lang="en"] h4 {
	text-align: left;
}

main h5 {
	font-weight: 600;
	margin: 0 50px;
	padding: 0 10px;
	font-size: 1.15rem;
	line-height: 1.75;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

main h6 {
	font-size: 1rem;
	font-weight: 400;
	margin-top: 5px;
	margin-bottom: 0;
}

main p {
	margin: 10px 70px;
	line-height: 1.75;
	word-break: normal;
	overflow-wrap: break-word;
}

html[lang="ja"] p {
	text-align: justify;
}

html[lang="en"] p {
	text-align: left;
}

.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;
}

main li {
	margin: 0 90px;
	padding: 0;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

main ul {
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

nav,
ul,
li {
	margin: 0;
	padding: 0;
}

#navibar ul {
	list-style: none;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.fig {
	width: 70%;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 10px;
}

.ph {
	width: 50%;
	margin-top: 20px;
}

.step-title {
	text-align: center;
	vertical-align: middle;
	font-size: 1.25rem !important;
	font-weight: 600;
	line-height: 1;
	margin: 20px 0;
}

.step-title img {
	width: 40px;
	height: auto;
	vertical-align: middle;
}

.ph4-5 {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
}

.ph4-5 img {
	width: 350px;
}



/*サブコンテンツ---------------------------------------------------------------------------*/
/*メニューを囲むブロック*/
#navibar {
	order: -1;
	width: 165px;
	min-width: 165px;
	max-width: 165px;
	flex: 0 0 165px;
	margin-top: 60px;
	opacity: 0;
}

/*メニュー*/
#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 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;
}

/*フッター---------------------------------------------------------------------------*/
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;
}

/*画面幅960pxまで---------------------------------------------------------------------------*/
@media screen and (max-width: 960px) {

	body {
		overflow-x: hidden;
	}

	header {
		position: relative;
		z-index: 1;
	}

	#contents {
		display: block !important;
		margin: 0 auto;
		max-width: 1280px;
	}



	#slideshow {
		width: 100%;
		margin: 30px auto 0 auto;
	}

	main p {
		font-size: 14px;
		padding: 0;
		margin: 20px 40px 8px 40px;
	}

	main li {
		font-size: 14px;
		padding: 0;
		margin: 0 40px 8px 40px;
		margin-bottom: 0;
	}

	/* 画像（全部統一） */
	.fig,
	.ph,
	.ph4-5 {
		display: block;
		/* margin: 15px auto; */
	}

	.ph,
	.fig {
		margin: 10px auto;
		/* ←今より小さく */
	}

	.ph img {
		margin-top: 0;
		margin-bottom: 0;
	}

	.fig img,
	.ph img {
		width: 90%;
	}

	.ph4-5 img {
		width: 50%;
	}

	.third img {
		width: 50% !important;
		height: auto;
	}

	.index_img {
		width: 5% !important;
		vertical-align: top;
		padding: 0;
	}

	.index_p {
		font-size: 14px;
	}

	.step-title img {
		width: 40px !important;
	}

	main h2 {
		font-size: 1.25rem;
		line-height: 1.5;
		padding: 10px 0 10px 3%;
		margin: 50px 0 0px 0;
	}

	main h3 {
		font-size: 1.25rem;
		margin: 50px 30px 0 30px;
		padding-left: 10px;
	}

	main h4 {
		font-size: 1rem;
		margin: 20px 35px 30px 35px;
		line-height: 1.5;
		text-align: justify;
	}

	main h5 {
		font-size: 1rem;
		margin: 0px 30px 10px 30px;
		line-height: 1.5;
	}

	main h6 {
		font-size: 1rem;
		margin-bottom: 30px;
		margin: 4px 0 12px;
	}

	.file-item_1 {
		margin-bottom: 30px;
	}

	footer {
		text-align: justify;
		font-size: 14px;
		padding: 3%;
	}

	.push {
		height: 50px;
	}

	#navibar.display-none {
		display: none;
	}

	#navibar.display-block {
		display: block;
		opacity: 1;
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 30px;
		margin-right: 30px;
	}


	/*スマホ用のハンバーガーメニュー---------------------------------------------------------------------------
　　/*メニューブロック設定*/
	#navibar.display-block {
		display: block;
		opacity: 1;
		position: fixed;
		overflow: auto;
		z-index: 9999;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		overflow-y: auto;
		padding-top: 0;
		color: #333;
		background: #fff;
		animation: animation1 0.2s both;
		max-width: none;
	}

	body.menu-open {
		overflow: hidden;
	}

	body.menu-open header {
		display: none;
	}

	body.menu-open main {
		display: none;
	}

	/*メニュー個別設定---------------------------------------------------------------------------*/

	:root {
		--header-height: 80px;
		/* ←帯の高さに合わせる */
	}

	#navibar {
		margin-top: 0;
		padding: 36px 12px;
	}

	/* 言語 */
	.lang-switch {
		right: 80px;
	}

	#navibar ul {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		max-width: 300px;
		margin: 0 auto;
	}

	#navibar a {
		display: block;
		padding: 10px 12px;
		font-size: 13px;
		line-height: 1.4;
		text-align: center;
	}

	#navibar li {
		border-radius: 6px;
	}

	#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);
	}
}

/*max-width: 400px 設定---------------------------------------------------------------------------*/
@media screen and (max-width: 400px) {
	.index_no {
		font-size: 0.8rem;
		margin: 0 40px;
		margin-right: 40px;
	}

	.index {
		margin-top: 20px;
	}

	.index_img {
		width: 6%;
		vertical-align: top;
	}

	.index_p {
		vertical-align: middle;
	}

	#top {
		margin-bottom: 40px;
	}

	.file-item .pdf {
		margin-left: 10px;
	}

	.slideshow-container {
		width: 100%;
		text-align: center;
		margin-top: 30px;
	}

	img.ph {
		width: 80%;
	}

	.ph4-5 img {
		width: 80%;
	}

	.third img {
		width: 80% !important;
	}

	main h2 {
		font-size: 16px;
		margin: 50px 0 12% 0;
		line-height: 1.5;
	}

	#navibar h3 {
		border-bottom: 2px solid #678d35;
		margin-left: 10%;
		margin-right: 10%;
	}

	main h3 {
		font-size: 1rem;
		margin-top: 50px;
		margin-left: 10px;
		margin-right: 10px;
		padding-left: 10px;
	}

	main h4 {
		font-size: 0.9rem;
		margin: 10px 20px 0 20px;
		line-height: 1.5;
		text-align: justify;
	}

	main h5 {
		font-size: 0.9rem;
		margin: -20px 10px 10px 10px;
		line-height: 1.5;
	}

	main h6 {
		font-size: 0.8rem;
		margin-bottom: 20px;
	}


	main p {
		font-size: 0.75rem;
		margin: 10px 35px;
	}

	main ul {
		margin-left: 0.5rem;
		margin-bottom: 0;
		line-height: 1.5;

	}

	main li {
		font-size: 0.75rem;
		margin: 0 35px 8px 35px;
	}

	main img {
		margin-top: 0;
		margin-bottom: 0;
	}

	footer {
		font-size: 12px;
		text-align: justify;
		line-height: 1.75;
		padding: 3%;
	}

	.lang-switch {
		font-size: 11px;
		padding: 2px 6px;
	}

	.lang-switch svg {
		width: 10px;
		height: 10px;
	}

	#navibar ul {
		grid-template-columns: 1fr;
	}


}