@charset "utf-8";

/* STYLE single */
.style_single {
	width: 100%;
	max-width: 84%;
	margin: 0 auto;
	padding: 4% 0 8%;
}

.style_single_inner {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
	gap: 5%;
	align-items: start;
}

.style_gallery_viewport {
	position: relative;
	height: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	touch-action: pan-y;
}

.style_gallery_slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.style_gallery_slide {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 42%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #f5f5f5;
	box-shadow: none;
	cursor: default;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.72);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
	pointer-events: none;
}

.style_gallery_slide img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.style_gallery_slide.is-current {
	z-index: 3;
	cursor: zoom-in;
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: auto;
}

.style_gallery_slide.is-prev {
	z-index: 1;
	left: 8.2%;
	right: auto;
	opacity: 0.32;
	transform: translateY(-50%) scale(0.76);
	transform-origin: left center;
}

.style_gallery_slide.is-next {
	z-index: 1;
	left: auto;
	right: 8.2%;
	opacity: 0.32;
	transform: translateY(-50%) scale(0.76);
	transform-origin: right center;
}

.style_gallery.is-single .style_gallery_slide {
	width: 42%;
}

.style_gallery_arrow,
.style_modal_arrow {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4%;
	aspect-ratio: 1 / 1;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: #316a73;
	color: #fff;
	font-size: 1.0vw;
	line-height: 1.0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%);
	transition: background 0.3s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
}

.style_gallery_viewport:hover .style_gallery_arrow,
.style_gallery_viewport:focus-within .style_gallery_arrow {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.style_modal_arrow {
	opacity: 1;
	visibility: visible;
	transition: background 0.3s ease, opacity 0.25s ease;
}

.style_gallery_arrow:hover,
.style_gallery_arrow:focus-visible,
.style_modal_arrow:hover,
.style_modal_arrow:focus-visible {
	background: #224f56;
}

.style_gallery_arrow.is-prev { left: 0; }
.style_gallery_arrow.is-next { right: 0; }

.style_gallery_count {
	margin: 50px 0 0;
	color: #888;
	font-family: "EB Garamond", serif;
	font-size: 0.95vw;
	letter-spacing: 0.14em;
	text-align: center;
}

.style_gallery_empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	aspect-ratio: 16 / 9;
	background: #f5f5f5;
	color: #aaa;
}

.style_single_info {
	padding-right: 4%;
}

.style_single_categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0 0 6%;
}

.style_single_categories a {
	display: inline-block;
	padding: 0.28em 0.85em;
	border: 1px solid #78a8ae;
	color: #316a73;
	font-family: "EB Garamond", serif;
	font-size: 0.85vw;
	letter-spacing: 0.1em;
	line-height: 1.25;
}

.style_single_info h1 {
	margin: 0;
	color: #333;
	font-size: 1.35vw;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.7;
	line-break: strict;
	word-break: keep-all;
}

.style_single_date {
	display: block;
	margin: 2% 0 0;
	color: #999;
	font-family: "EB Garamond", serif;
	font-size: 0.9vw;
	letter-spacing: 0.12em;
}

.style_single_content {
	margin: 6% 0 0;
	color: #555;
}
.style_single_content p {
	font-size: 0.95vw;
	line-height: 2.1;
}

.style_single_content > :first-child { margin-top: 0; }
.style_single_content > :last-child { margin-bottom: 0; }

.style_single_stylist {
	display: flex;
	align-items: baseline;
	gap: 1.2em;
	margin: 10% 0 0;
	padding-top: 6%;
	border-top: 1px solid #e5e5e5;
}

.style_single_stylist span {
	color: #316a73;
	font-family: "EB Garamond", serif;
	font-size: 1.0vw;
	letter-spacing: 0.12em;
}

.style_single_stylist a {
	color: #555;
	font-size: 0.95vw;
	letter-spacing: 0.06em;
}

/* Modal gallery */
body.style-modal-open {
	overflow: hidden;
}

.style_modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 24, 26, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.style_modal.is-open {
	opacity: 1;
	visibility: visible;
}

.style_modal_inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(82vw, 1100px);
	height: 88vh;
}

.style_modal_inner img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.style_modal_close {
	position: absolute;
	z-index: 3;
	top: 3%;
	right: 3%;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 38px;
	font-weight: 200;
	line-height: 1;
	cursor: pointer;
}

.style_modal_arrow.is-prev { left: 3%; }
.style_modal_arrow.is-next { right: 3%; }

.style_modal_count {
	position: absolute;
	bottom: 3%;
	left: 50%;
	margin: 0;
	color: #fff;
	font-family: "EB Garamond", serif;
	font-size: 14px;
	letter-spacing: 0.14em;
	transform: translateX(-50%);
}


/*-----------------------------------------------
Responsive
------------------------------------------------*/
@media screen and (max-width: 1280px) {
	.style_single {
		max-width: 88%;
	}
	.style_gallery_arrow,
	.style_modal_arrow {
		width: 5%;
		font-size: 1.3vw;
	}
	.style_gallery_count {
		font-size: 1.25vw;
	}
	.style_single_categories a {
		font-size: 1.15vw;
	}
	.style_single_info h1 {
		font-size: 1.65vw;
	}
	.style_single_date {
		font-size: 1.2vw;
	}
	.style_single_content p {
		font-size: 1.25vw;
	}
	.style_single_stylist span {
		font-size: 1.3vw;
	}
	.style_single_stylist a {
		font-size: 1.25vw;
	}
	
}

@media screen and (max-width: 1024px) {
	.style_single {
		max-width: 94%;
	}
	.style_gallery_arrow,
	.style_modal_arrow {
		width: 6%;
		font-size: 1.6vw;
	}
	.style_gallery_count {
		font-size: 1.55vw;
	}
	.style_single_categories a {
		font-size: 1.45vw;
	}
	.style_single_info h1 {
		font-size: 1.95vw;
	}
	.style_single_date {
		font-size: 1.5vw;
	}
	.style_single_content p {
		font-size: 1.55vw;
		line-height: 1.8;
	}
	.style_single_stylist span {
		font-size: 1.6vw;
	}
	.style_single_stylist a {
		font-size: 1.55vw;
	}
	
}


@media screen and (max-width: 768px) {
	.style_single {
		max-width: 90%;
		padding: 0 0 12%;
	}
	.style_single_inner {
		grid-template-columns: 1fr;
		gap: 9vw;
	}
	.style_gallery_viewport,
	.style_gallery_empty {
		height: 92vw;
		aspect-ratio: auto;
	}
	.style_gallery_slide { width: 60%; }
	.style_gallery.is-single .style_gallery_slide { width: 64%; }
	.style_gallery_slide.is-prev,
	.style_gallery_slide.is-next { transform: translateY(-50%) scale(0.72); }
	.style_gallery_arrow,
	.style_modal_arrow {
		width: 5%;
		font-size: 2.0vw;
	}
	.style_gallery_count {
		margin-top: 0;
		font-size: 1.95vw;
	}
	.style_single_info {
		padding: 0 5%;
	}
	.style_single_categories {
		margin-bottom: 5%;
	}
	.style_single_categories a {
		font-size: 1.85vw;
	}
	.style_single_info h1 {
		font-size: 2.35vw;
	}
	.style_single_date {
		font-size: 1.9vw;
	}
	.style_single_content p {
		font-size: 1.95vw;
		line-height: 2.0;
	}
	.style_single_stylist {
		margin-top: 8%;
		padding-top: 5%;
	}
	.style_single_stylist span {
		font-size: 2.0vw;
	}
	.style_single_stylist a {
		font-size: 1.95vw;
	}
	
}

@media screen and (max-width: 640px) {
	.style_gallery_arrow,
	.style_modal_arrow {
		width: 6%;
		font-size: 2.5vw;
	}
	.style_gallery_count {
		font-size: 2.45vw;
	}
	.style_single_categories a {
		font-size: 2.35vw;
	}
	.style_single_info h1 {
		font-size: 2.85vw;
	}
	.style_single_date {
		font-size: 2.4vw;
	}
	.style_single_content p {
		font-size: 2.45vw;
		line-height: 1.8;
	}
	.style_single_stylist span {
		font-size: 2.5vw;
	}
	.style_single_stylist a {
		font-size: 2.45vw;
	}
	
}



@media screen and (max-width: 480px) {
	.style_gallery_viewport,
	.style_gallery_empty { height: 95vw; }
	.style_gallery_slide { width: 68%; }
	.style_gallery.is-single .style_gallery_slide { width: 72%; }
	.style_gallery_slide.is-prev,
	.style_gallery_slide.is-next { transform: translateY(-50%) scale(0.68); }
	.style_gallery_arrow,
	.style_modal_arrow {
		width: 7%;
		font-size: 3.5vw;
	}
	.style_gallery_count {
		font-size: 3.45vw;
	}
	.style_single_info { padding: 0 3%; }
	.style_single_categories a {
		font-size: 3.35vw;
	}
	.style_single_info h1 {
		font-size: 3.85vw;
	}
	.style_single_date {
		font-size: 3.4vw;
	}
	.style_single_content p {
		font-size: 3.45vw;
	}
	.style_single_stylist span {
		font-size: 3.5vw;
	}
	.style_single_stylist a {
		font-size: 3.45vw;
	}
	.style_modal_inner { width: 88vw; height: 82vh; }
	.style_modal_arrow { width: 36px; height: 36px; }
	.style_modal_arrow.is-prev { left: 1.5%; }
	.style_modal_arrow.is-next { right: 1.5%; }
	.style_modal_close { top: 2%; right: 2%; }
}

@media (hover: none) {
	.style_gallery_arrow {
		opacity: 1;
		visibility: visible;
	}
}

@media (prefers-reduced-motion: reduce) {
	.style_gallery_slide,
	.style_modal { transition: none; }
}
