@charset "UTF-8";

.contents {
	width: 100%;
    padding: 60px 0;
}
section {
	padding: 120px 0;
}

@media screen and (max-width: 1194px) {
	section {
		padding: 90px 0;
	}
}
@media screen and (max-width: 768px) {
	section {
		padding: 75px 0;
	}
}
@media screen and (max-width: 559px) {
	.contents {
		padding: 45px 0;
	}
	section {
		padding: 60px 0;
	}
}
@media screen and (max-width: 430px) {
	
}
@media screen and (max-width: 320px) {
	.contents {
		padding: 30px 0;
	}
	section {
		padding: 45px 0;
	}
}



/* レスポンシブ *
 * ****************************************** */

@media screen and (min-width: 769px) {
	.pc {
		display: block !important;
	}
	.sp {
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
}


/* 動画 *
 * ****************************************** */

#voices-movie .voices-movie-items {
	display: flex;
    align-items: center;
    flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}
#voices-movie .voices-movie-item {
	width: calc(100% / 3 - 12px);
}
#voices-movie .voices-movie-item .youtube {
	margin: 0;
}

@media screen and (max-width: 1194px) {
	#voices-movie .voices-movie-item {
		width: calc(100% / 2 - 12px);
	}
}
@media screen and (max-width: 768px) {
	#voices-movie .voices-movie-items {
		gap: 6px;
	}
	#voices-movie .voices-movie-item {
		width: calc(100% / 2 - 6px);
	}
}
@media screen and (max-width: 559px) {
	#voices-movie .voices-movie-item {
		width: 100%;
	}
}


/* 受講者の声 *
 * ****************************************** */

#newarrival.newarrival_voices {
	margin: 0 !important;
}
#newarrival ul.newarrival_voices_list {
	margin-top: 0;
}

@media screen and (max-width: 1194px) {

}
@media screen and (max-width: 960px) {
	
}
@media screen and (max-width: 768px) {

}
@media screen and (max-width: 430px) {
	
}
@media screen and (max-width: 320px) {

}


/* ギャラリー *
 * ****************************************** */

#photo-gallery .photo-gallery-flex {
	display: flex;
	flex-wrap: wrap;
}
#photo-gallery img.js-modal-img {
	width: calc(100% / 3);
	cursor: pointer;
	transition: opacity .2s ease;
}
#photo-gallery img.js-modal-img:hover{
	opacity: .7;
}

.modalimg-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.72);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 9999;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .24s ease, visibility .24s ease;
}
.modalimg-overlay.is-open{
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.modalimg-dialog{
	position: relative;
	max-width: min(92vw, 1100px);
	max-height: 86vh;
	transform: scale(.96);
	opacity: 0;
	transition: transform .24s ease, opacity .24s ease;
}
.modalimg-overlay.is-open .modalimg-dialog{
	transform: scale(1);
	opacity: 1;
}
.modalimg-img {
	display: block;
	max-width: 100%;
	max-height: 86vh;
	width: auto;
	height: auto;
	box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.modalimg-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 44px;
	height: 44px;
	border: 0;
	padding: 0;

	background-color: rgba(255,255,255,.92);
	border-radius: 999px;

	background-image: url("../images/common/close.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px 28px;

	cursor: pointer;
	box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.modalimg-close::before,
.modalimg-close::after {
	content: none !important;
}
.modalimg-close:focus-visible {
	outline: 2px solid rgba(255,255,255,.9);
	outline-offset: 2px;
}

/* スクロール固定 */
body.is-modalimg-open{
	overflow: hidden;
}

/* ちょい配慮：動きが苦手な人 */
@media (prefers-reduced-motion: reduce){
	.modalimg-overlay,
	.modalimg-dialog{
		transition: none;
	}
}

@media screen and (max-width: 1194px) {
	
}
@media screen and (max-width: 960px) {
	
}
@media screen and (max-width: 768px) {
	#photo-gallery img.js-modal-img {
		width: calc(100% / 2);
	}
}
@media screen and (max-width: 430px) {
	
}
@media screen and (max-width: 320px) {
	#photo-gallery .photo-gallery-flex {
		gap: 6px;
	}
	#photo-gallery img.js-modal-img {
		width: 100%;
		margin: 3px 0 0;
	}
}




