@charset "UTF-8";

.gallery {
	padding-top: 4.5rem;
}
.gallery h2 {
	max-width: 110rem;
	margin: 0 auto 1.5rem;
	padding-bottom: .8rem;
	text-align: center;
	border-bottom: .1rem dotted #D5D1C3;
	font-size: 1.6rem;
	font-weight: 400;
	color: #A9A496;
	letter-spacing: .07em;
}
@media only screen and (max-width: 768px) {
	.gallery {
		padding-top: 2.1rem;
	}
	.gallery h2 {
		max-width: 29rem;
		margin: 0 auto 2rem;
		padding-bottom: .7rem;
		font-size: 1.3rem;
	}
}

/* category
----------------------------------------*/
.category {
	max-width: 110rem;
	margin: 0 auto 6rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.category a {
	display: block;
	width: 26.7rem;
	background: #D5D1C3;
	border-radius: .5rem;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: .12em;
	color: #5D7C6B;
	text-align: center;
	padding: 1.6rem 0;
	transition: background .3s, color .3s;
}
.category a.current {
	background: #5D7C6B;
	color: #F3EEE7;
}
@media (hover:hover) {
	.category a:hover {
		opacity: 1;
		background: #5D7C6B;
		color: #F3EEE7;
	}
}
@media only screen and (max-width: 768px) {
	.category {
		max-width: 29rem;
		margin: 0 auto 4rem;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	.category a {
		width: auto;
		font-size: 1.2rem;
		padding: 1.6rem 0;
	}
}

/* gallery_list
----------------------------------------*/
.gallery_list {
	padding: 0 2rem 12rem;
}
.gallery_list h2 {
	text-align: center;
	font-size: 2rem;
	letter-spacing: .2em;
	color: #fff;
	font-weight: 400;
	margin-bottom: .5rem;
}
.gallery_list > p {
	text-align: center;
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: .16em;
	color: #fff;
}
.gallery_list_img {
	max-width: 110rem;
	margin: 5.6rem auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}
.gallery_list_img a {
	display: block;
	overflow: hidden;
}
.gallery_list_img a img {
	width: 100%;
	height: 26rem;
	object-fit: cover;
	transition: transform .3s;
}
.gallery_page {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 4rem;
	font-size: 1.3rem;
	letter-spacing: .16em;
	color: #5D7C6B;
	gap: .9rem;
}
.gallery_page a,
.gallery_page span {
	display: block;
	width: 3rem;
	height: 3rem;
	border: .1rem solid #5D7C6B;
	border-radius: 50%;
}
.gallery_page span {
	opacity: .5;
}
.gallery_page a::before,
.gallery_page span::before {
	content: '';
	display: block;
	width: .5rem;
	height: .5rem;
	border-top: 1px solid #5D7C6B;
	border-right: 1px solid #5D7C6B;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	left: -.2rem;
	right: 0;
	margin: auto;
}
.gallery_page_prev {
	transform: scale(-1, 1);
}
@media (hover: hover) and (pointer: fine) {
	.gallery_list_img a:hover img {
		transform: scale(1.1);
	}
}
@media only screen and (max-width: 768px) {
	.gallery_list {
		padding: 0 1.5rem 8rem;
	}
	.gallery_list_img {
		width: 33rem;
		margin: 2.3rem auto 0;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	.gallery_list_img a img {
		height: 16rem;
	}
	.gallery_page {
		margin-top: 3rem;
		font-size: 1.1rem;
	}
	.gallery_page a {
		width: 2.4rem;
		height: 2.4rem;
	}
	.gallery_page a::before {
		width: .4rem;
	}
}

/*modal
----------------------------------------*/
.modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(93, 124, 107, .9);
	z-index: 3000;
	opacity: 0;
	pointer-events: none;
	transition: opacity .5s;
}
.modal_bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}
.modal_open .modal {
	opacity: 1;
	pointer-events: all;
}
.modal_inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.modal_slider {
	width: 80.2rem;
	margin: 0 auto;
	pointer-events: none;
}
.modal_slider[id]:not(.visible) {
	opacity: 0;
	position: absolute;
	pointer-events: none;
}
.modal_slider::after {
	content: '';
	display: block;
	clear: both;
}
.modal_slider .slick-list {
	overflow: hidden;
}
.modal_slider .slick-track {
	display: flex;
}
.modal_item {
	width: 80.2rem;
	float: left;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.modal_open .modal figure {
	width: 100%;
	pointer-events: all;
}
.modal figure img {
	max-width: 80.2rem;
	width: auto;
	height: auto;
	margin: 0 auto;
	max-height: 53.5rem;
}
.modal_txt {
	color: #fff;
	font-size: 1.3rem;
	letter-spacing: .065em;
	padding: 2.2rem 0 1.5rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.modal_txt span {
	font-size: 1.6rem;
	display: block;
	margin-bottom: .4rem;
	letter-spacing: .065em;
}
.modal_close {
	appearance: none;
	border: 0;
	font-weight: 500;
	text-align: left;
	background: none;
	border-radius: 0;
	position: absolute;
	top: 1.5rem;
	right: 4rem;
	width: 5rem;
	height: 5rem;
	cursor: pointer;
}
.modal_close::before,
.modal_close::after {
	content: '';
	display: block;
	width: 5rem;
	height: .1rem;
	background: #fff;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto 0;
	transform: rotate(10deg);
}
.modal_close::after {
	transform: rotate(-10deg);
}
.modal_item-list {
	overflow: hidden;
	width: 115.9rem;
	margin: 0 auto;
}
.modal_item-list img {
	width: 100%;
}
.modal_item-list .modal_slider {
	width: 68rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: bottom;
}
.modal_item-list .modal_slider .modal_item {
	width: 68rem;
	margin: 0 .5rem;
}
.modal_item-list .modal_slider .modal_item img {
	width: 100%;
	height: 46rem;
}
.modal_item-list .modal_slider .slick-list {
	width: 100%;
	overflow: visible;
	order: -1;
	margin-bottom: 2rem;
}
.modal_item-list .modal_slider .slick-list::after {
	content: '';
	display: block;
	clear: both;
}
.modal_arrow {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.modal_arrow button,
.modal_slider .slick-prev,
.modal_slider .slick-next {
	appearance: none;
	display: block;
	padding: 0;
	margin: 0;
	width: 3rem;
	height: 3rem;
	border: .1rem solid #fff;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	outline: none;
	overflow: hidden;
	text-indent: -99rem;
	pointer-events: all;
}
.modal_slider .slick-prev,
.modal_slider .slick-next {
	position: absolute;
	right: 0;
	bottom: 3rem;
	z-index: 9990;
}
.modal_slider .slick-prev {
	right: 4rem;
}
.modal_arrow button::before,
.modal_slider .slick-prev::before,
.modal_slider .slick-next::before {
	content: '';
	display: block;
	width: .5rem;
	height: .5rem;
	border-top: .1rem solid #fff;
	border-right: .1rem solid #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	left: -.1rem;
	right: 0;
	bottom: 0;
	margin: auto;
}
.modal_arrow .modal_arrow_prev,
.modal_slider .slick-prev {
	transform: scale(-1, 1);
}
.modal_arrow .modal_arrow_prev::before,
.modal_slider .slick-prev::before {
	left: 0;
	right: .2rem;
}
.modal_item:first-child .modal_arrow_prev,
.modal_item:last-child .modal_arrow_next,
.modal_slider .slick-disabled {
	opacity: .5;
	pointer-events: none;
}
@media only screen and (max-width: 768px) {
	.modal_slider {
		width: 33rem;
	}
	.modal_item {
		width: 33rem;
	}
	.modal figure img {
		max-width: 100%;
		width: auto;
		max-width: 33rem;
		object-fit: cover;
		max-height: 33rem;
	}
	.modal_txt {
		font-size: 1.2rem;
		padding: 1rem 2rem 0;
		word-break: break-all;
		display: flex;
		flex-direction: column-reverse;
	}
	.modal_txt span {
		font-size: 1.2rem;
		margin-bottom: 0;
	}
	.modal_close {
		right: 2rem;
		width: 3.5rem;
		height: 3.8rem;
	}
	.modal_close::before,
	.modal_close::after {
		width: 3.8rem;
		top: .6rem;
		transform: rotate(15.5deg);
	}
	.modal_close::after {
		transform: rotate(-15.5deg);
	}
	.modal_item-list {
		width: 33rem;
	}
	.modal_item-list .modal_slider {
		width: 33rem;
		gap: 0;
	}
	.modal_item-list .modal_close {
		width: 11.4rem;
		font-size: 1.2rem;
	}
	.modal_item-list .modal_slider .slick-dots {
		flex-wrap: wrap;
		gap: 1.6rem;
		margin: 1.75rem 2rem;
	}
	.modal_arrow button,
	.modal_slider .slick-prev,
	.modal_slider .slick-next {
		width: 2.4rem;
		height: 2.4rem;
	}
	.modal_arrow button::before,
	.modal_slider .slick-prev::before,
	.modal_slider .slick-next::before {
		width: .4rem;
		height: .4rem;
	}
	.modal_item-list .modal_slider .slick-next {
		left: auto;
		right: -4rem;
	}
	.modal_item-list .modal_slider .modal_item {
		width: 29.6rem;
		margin: 0 .2rem;
	}
	.modal_item-list .modal_slider .modal_item img {
		min-width: 0;
		min-height: 0;
		height: 20rem;
	}
}