@charset "utf-8";

.sub-page-title {
	background-image: url('/img/eitaikuyo/title-bg--eitaikuyo.jpg');
}

.eitaikuyo-intro {
	text-align: center;
}

.eitaikuyo-intro br{
	display: none;
}

.eitaikuyo .sub-page-title + .section{
	padding-top:4em;
}

.eitaikuyo .h3-title{
	line-height: 1.3;
	letter-spacing: 0.1em;
}

.eitaikuyo .h3-title br{
	display: none;
}

@media (max-width:768px){
	.eitaikuyo .h3-title{
		line-height: 2.2;
	}
	.eitaikuyo .h3-title br{
	display: inline;
}
}

@media (max-width:499px){
	.eitaikuyo-intro br{
		display: inline;
	}
}

/* --------------------------------------------
	item
-------------------------------------------- */
.eitaikuyo-honbo__photo{
	width: 100%;
	max-width: 500px;
	height: auto;
	margin: 1.5em auto 0;
}

.eitaikuyo-honbo__photo-link {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	overflow: hidden;
}

.eitaikuyo-honbo__photo-link img {
	transition: transform 0.4s ease;
}

.eitaikuyo-honbo__photo-link:hover img {
	transform: scale(1.05);
}

.eitaikuyo-bunin-photo {
	position: relative;
	max-width: 1400px;
	margin: 1.5em auto 0;
	padding: 0 40px;
}

.eitaikuyo-bunin-photo__link {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	overflow: hidden;
}

.eitaikuyo-bunin-photo__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.eitaikuyo-bunin-photo__link:hover img {
	transform: scale(1.05);
}

.eitaikuyo-bunin-photo__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 50px;
	height: 50px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: rgba(0,0,0,0.8);
	cursor: pointer;
}

.eitaikuyo-bunin-photo__nav:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	height: 50%;
	background: url('/img/common/arrow-right__white.svg') no-repeat center / contain;
	transform: translate(-50%, -50%);
}

.eitaikuyo-bunin-photo__nav--prev {
	left: 0;
}

.eitaikuyo-bunin-photo__nav--prev:before {
	transform: translate(-50%, -50%) rotate(180deg);
}

.eitaikuyo-bunin-photo__nav--next {
	right: 0;
}

.eitaikuyo-bunin-photo__nav.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

.eitaikuyo-bunin-photo__pagination {
	position: relative;
	margin-top: 0;
	text-align: center;
}

.eitaikuyo-bunin-photo__pagination .swiper-pagination-bullet {
	background: var(--text-color);
	opacity: 0.3;
}

.eitaikuyo-bunin-photo__pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width:600px) {
	.eitaikuyo-bunin-photo {
		padding: 0 32px;
	}
}


/* --------------------------------------------
	photo lightbox
-------------------------------------------- */
.photo-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.photo-lightbox.is-active {
	display: flex;
}

.photo-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
}

.photo-lightbox__inner {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height:90vh
}

.photo-lightbox__image {
	display: block;
	max-width: 90vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.photo-lightbox__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	width: 40px;
	height: 40px;
	border: none;
	background: none;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

@media (max-width:600px) {
	.photo-lightbox__close {
		top: 8px;
		right: 8px;
	}
}

.photo-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 70px;
	height: 70px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.8);
	cursor: pointer;
}

.photo-lightbox__nav:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	background: url('/img/common/arrow-right__black.svg') no-repeat center / contain;
	transform: translate(-50%, -50%);
}

.photo-lightbox__nav--prev {
	left: 20px;
}

.photo-lightbox__nav--prev:before {
	transform: translate(-50%, -50%) rotate(180deg);
}

.photo-lightbox__nav--next {
	right: 20px;
}

@media (max-width:600px) {
	.photo-lightbox__nav {
		width: 60px;
		height: 60px;
	}

	.photo-lightbox__nav--prev {
		left: 8px;
	}

	.photo-lightbox__nav--next {
		right: 8px;
	}
}
