@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: 1200px;
}

/*トップページのメイン画像----------------------------------------------------------------*/
#main-image {
	margin-bottom: 5%;
}

/*言語切り替え---------------------------------------------------------------------------*/
.lang-switch svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	/* ←これがポイント！ */
}

.lang-switch {
	position: absolute;
	top: 26px;
	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;
}

/* メイン画像 */
#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-family: 'Oswald', sans-serif;
	padding: 5%;
	border-radius: 5px;
	text-shadow: 1px 3px 4px #333;
	font-weight: bold;
	line-height: 1.5;
	font-size: clamp(18px, 3vw, 32px);
}

.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;
	font-size: clamp(14px, 2vw, 24px);
}

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: none;
}

.news-list .item-box {
	display: flex;
}

.news-list .item-1 {
	padding: 2% 3%;
}

.item-2,
.item-3 {
	display: flex;
	align-items: center;
	width: 100%;
}

.qr-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.qr-box {
	width: clamp(80px, 15vw, 140px);
}

.qr-box img {
	width: 100%;
	height: auto;
	display: block;
}

.news-list .item:first-child a {
	border-top: 1px solid #CCC;
}

.news-list .item:not(:first-child) {
  border-top: 1px solid #CCC;
}

.news-list .item:last-child a {
  border-bottom: 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;
}

.item.no-hover a:hover {
  background-color: transparent !important;
}

/* マウス乗ったとき */
.inner-link:hover {
	color: #0077cc;
	text-decoration: none;
}

/* クリック中 */
.inner-link:active {
	color: #0077cc;
	opacity: 0.7;
}

nav,
ul,
li {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/* セクション01---------------------------------------------------------------------------*/

#sec01 {
	width: 95%;
	margin: 0 auto;
	padding-left: 5%;
	padding-right: 5%;
	border: 1px solid #afafaf;
	background-color: #fff;
	border-radius: 5px;
}

#sec01 .instagram {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	text-align: left;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

#sec01 .instagram a {
	text-decoration: none;
	color: #333;
}

#sec01 .instagram img {
	display: block;
	flex-shrink: 0;
	margin-top: 4px;
	width: 24px;
	/* ←ここも重要 */
}

/*サブコンテンツ---------------------------------------------------------------------------*/
/*メニューを囲むブロック*/
#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.25;
}

#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: 30px;
	margin: 5% 15% 5% 15%;
	line-height: 1.75;
	border: #678d35 solid 1px;
	border-radius: 5px;
}

.adress h3 {
	font-size: 20px;
	padding-bottom: 0;
	margin: 0 10%;
	line-height: 1;
}

html[lang="ja"] .adress h3 {
	text-align: center;
}

html[lang="en"] .adress h3 {
	text-align: left;
}

/*フッター---------------------------------------------------------------------------*/
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;
}


/*画面幅960px以上---------------------------------------------------------------------------*/
@media screen and (max-width: 960px) {

	.lang-switch {
		right: auto;
		left: 12px;
		top: 16px;
	}

	.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;
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 0 2% 2% 2%;
		align-items: center;
	}

	#container {
		margin-left: 2%;
		margin-right: 2%;
		font-size: 1rem;
	}

	main {
		font-size: 12px;
		padding-left: 2%;
		padding-right: 2%;
	}

	main p {
		padding-left: 2%;
		padding-right: 2%;
	}


	#logo img {
		width: 60%;
		margin: 10% auto 10% auto;
		align-items: center;
	}

	.adress p {
		font-size: 12px;
		text-align: center;
		margin: 0 3% 5% 3%;
	}

	.adress h3 {
		font-size: clamp(16px, 2.6vw, 20px);
		line-height: 1.5;
	}

	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 {
		padding: 24px 12px;
	}

	#navibar ul {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
		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);
	}

	#sec01 .instagram {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

}

@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;
		line-height: 1.5;
	}

	.item-1 .category {
		display: flex;
		width: 100%;
		margin-top: 5px;
		/* padding: 2% 2%; */
	}

	.item-2,
	.item-3 {
		width: 100%;
		padding: 0 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%;
	}

}