.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	z-index: 100000;
}

.modal.active {
	display: flex;
}

.modal-content {
	position: relative;
	width: 80%;
	max-width: 800px;
}

.modal-content img {
	width: 100%;
	height: auto;
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 24px;
	color: white;
	cursor: pointer;
}

.modal-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 36px;
	color: #ffffff;
	cursor: pointer;
}

.modal-arrow.left {
	left: 10px;
}

.modal-arrow.right {
	right: 10px;
}

.modal-thumbnails {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	overflow-x: auto;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.7);
	justify-content: center;
}

.modal-thumbnails .thumbnail {
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border: 2px solid transparent;
}

.modal-thumbnails .thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.modal-thumbnails .thumbnail:hover {
	border-color: white;
}

.gallery_box {
	display: flex;
	flex-wrap: wrap;
}

.gallery_img {
	width: calc(100% / 6);
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.gallery_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s ease;
}

.gallery_img:hover img {
	transform: scale(1.1);
}

@media screen and (max-width: 1200px)  {
	.gallery_img {
	  width: calc(100% / 5);
	}
}
  
@media screen and (max-width: 1000px)  {
	.gallery_img {
	  width: calc(100% / 4);
	}
}
  
@media screen and (max-width: 800px)  {
	.gallery_img {
	  width: calc(100% / 3);
	}
}
  
@media screen and (max-width: 600px)  {
	/* .gallery_img {
	  width: calc(100% / 2);
	} */
}

#image-description {
	/* color: #fff; */
	text-align: center;
}

/* フォトギャラリー */

/* demo style */
.is-animation {
	height: 90px;
	width: 100%;
	margin: 0;
	position: fixed;
	top: 0;
}
.is-animation h1 {
	color: #000;
}

.gallery #gallery_contents {
	/* max-width: 90%; */
	margin: 0 auto;
	/* padding: 60px 40px 0px; */
	padding-bottom: 60px;
}

@media screen and (max-width: 600px) {
	.gallery #gallery_contents {
		max-width: 98%;
		padding: 60px 10px 0;
		padding-bottom: 50px;
	}

	.section-tit-wrap {
		padding-top: 50px;
		/* min-width: 350px; */
	}
}

/* 季節タブスタイル */
.season-tabs-container {
	max-width: 90%;
	margin: 0 auto;
	padding: 0;
	background: #fff;
}

.season-tabs {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin-bottom: 0;
	flex-wrap: wrap;
	padding-top: 20px;
}

.season-tab {
	padding: 10px 100px;
	border: none;
	border-radius: 8px 8px 0 0;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: #fff;
	position: relative;
	z-index: 1;
}

.tab-text {
	/* font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif; */
	font-size: 18px;
	line-height: 1.2;
}

.tab-text-en {
	/* font-family: Arial, sans-serif; */
	font-size: 15px;
	line-height: 1.2;
	/* opacity: 0.9; */
	font-style: italic;
	color: #4ca5a2;
}

/* 春のタブ - 非アクティブは薄い色、アクティブは濃いピンク */
.season-tab[data-color="spring"] {
	background: #d1d1d1;
}

.season-tab[data-color="spring"]:hover {
	/* background: #A8C498; */
	opacity: 0.7;
}

.season-tab[data-color="spring"].active {
	background: #d3b1c2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 2;
	font-weight: 600;
}

.season-tab[data-color="spring"] .tab-text-en {
	color: #c99ab0;
}

.season-tab[data-color="spring"].active .tab-text-en {
	color: #a87a94;
}

/* 夏のタブ - 非アクティブは薄い色、アクティブは濃い青 */
.season-tab[data-color="summer"] {
	background: #d1d1d1;
}

.season-tab[data-color="summer"]:hover {
	/* background: #A8C498; */
	opacity: 0.7;
}

.season-tab[data-color="summer"].active {
	background: #8fc198;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 2;
	font-weight: 600;
}

.season-tab[data-color="summer"] .tab-text-en {
	color: #7ab085;
}

.season-tab[data-color="summer"].active .tab-text-en {
	color: #5d8f6a;
}

/* 秋のタブ - 非アクティブは薄い色、アクティブは濃いオレンジ */
.season-tab[data-color="autumn"] {
	background: #d1d1d1;
}

.season-tab[data-color="autumn"]:hover {
	/* background: #A8C498; */
	opacity: 0.7;
}

.season-tab[data-color="autumn"].active {
	background: #d1795a;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 2;
	font-weight: 600;
}

.season-tab[data-color="autumn"] .tab-text-en {
	color: #c56a4a;
}

.season-tab[data-color="autumn"].active .tab-text-en {
	color: #a8553a;
}

/* 冬のタブ - 非アクティブは薄い色、アクティブは濃い青 */
.season-tab[data-color="winter"] {
	background: #d1d1d1;
}

.season-tab[data-color="winter"]:hover {
	/* background: #b3b3b3; */
	opacity: 0.7;
}

.season-tab[data-color="winter"].active {
	background: #87a9c9;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 2;
	font-weight: 600;
}

.season-tab[data-color="winter"] .tab-text-en {
	color: #7a9bb9;
}

.season-tab[data-color="winter"].active .tab-text-en {
	color: #5d7ba3;
}

/* コンテンツパネル */
.season-content {
	position: relative;
	/* padding: 40px; */
	/* border: 2px solid #ddd; */
	/* border-top: none; */
	/* border-radius: 0 0 8px 8px; */
	/* background: #fff; */
}

.season-panel {
	display: none;
	animation: fadeIn 0.5s ease-in-out;
}

.season-panel.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (max-width: 768px) {
	.season-tabs-container {
		max-width: 98%;
	}
	
	.season-tabs {
		padding-top: 15px;
	}
	
	.season-tab {
		padding: 12px 20px;
	}
	
	.tab-text {
		font-size: 16px;
	}
	
	.tab-text-en {
		font-size: 12px;
	}
	
	.season-content {
		padding: 30px 20px;
	}
}

@media screen and (max-width: 480px) {
	.season-tabs-container {
		max-width: 100%;
	}
	
	.season-tabs {
		padding-top: 10px;
	}
	
	.season-tab {
		padding: 10px 15px;
		border-radius: 6px 6px 0 0;
	}
	
	.tab-text {
		font-size: 14px;
	}
	
	.tab-text-en {
		font-size: 11px;
	}
	
	.season-content {
		padding: 20px 15px;
		border-radius: 0 0 6px 6px;
	}
}