@charset "UTF-8";
/* CSS Document */


.contest-ttl {
	width: auto;
	height: auto;
	font-size: 24px;
	color: #fff;
	background-color: #3C66C4;
	border-radius: 8px;
	padding: 0.7em 1.2em;
	margin: 0;
}

.category-ttl {
	font-size: 25px;
	color: #3C66C4;
	display: inline;
	line-height: 1.8;
	background-image: url("../img/common/line-wave-blue.svg");
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 20px 20px;
	margin-bottom: 30px;
	padding-bottom: 16px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.photocontest-ttl {
	font-size: 20px;
	font-weight: 700;
	margin-top: 1em;
	margin-bottom: 0;
}

.photocontest-ttl::after {
	content: "";
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	margin: 0 3px;
	margin-bottom: -0.3em;
	background: url("../img/common/btn-slide-blue-r.svg") no-repeat center / contain;
}

.photocontest-name {
	font-size: 16px;
	font-weight: 500;
	margin: 0.4em auto;
}

.photocontest-category {
	font-size: 14px;
	font-weight: 600;
	color: #3C66C4;
	margin: 0.4em auto;
}

@media screen and (max-width: 768px) {
	.photocontest-ttl {
		font-size: 18px;
		font-weight: 700;
		margin-top: 1em;
		margin-bottom: 10px;
	}
	
	.photocontest-name {
		line-height: 1.3em;
	}
	
		.photocontest-category {
		font-size: 14px;
		font-weight: 600;
		color: #3C66C4;
		margin: -5px auto;
	}
}

/**************

グランプリ

**************/

.grandprix__wrap {
	padding: 50px 16px 0;
}

.grandprix__item {
	width: 60%;
	text-align: center;
	margin: 0 auto;
}

.grandprix-ttl {
	font-size: 22px;
	color: #3C66C4;
	text-align: center;
	position: relative;
}

.grandprix-ttl::before {
	content: "";
	position: absolute;
	top: -75px;
	right: auto;
	transform: translateX(15%);
	width: 85px;
	height: 85px;
	background: url(../img/common/icon-welcome.svg) no-repeat center / contain;
	pointer-events: none;
}

.grandprix__item h5,
.grandprix__item p {
	text-align: center;
}

.grandprix__item h5 {
	margin-top: 2em;
}

@media screen and (max-width: 768px) {
	.grandprix__item .photocontest-thumb-wrap {
		aspect-ratio: auto;
	}
	
	.grandprix-ttl {
		margin-top: 60px;
		margin-bottom: 10px;
	}
	
	.grandprix-ttl::before {
		top: -35px;
		transform: translateX(67%);
		width: 45px;
		height: 45px;
	}
	
	.grandprix__item {
		width: 80%;
	}
}

/**************

各賞

**************/

.award-ttl {
	width: auto;
	height: auto;
	font-size: 20px;
	color: #fff;
	background-color: #3C66C4;
	border-radius: 8px;
	padding: 0.5em 1.2em;
	margin-top: 80px;
}

.photocontest-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	flex-wrap: wrap;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
	gap: 20px;
}

.photocontest-list__item {
	width: 100%;
	margin-bottom: 65px;
}

.photocontest-list__popup-btn {
	background-color: transparent;
	border: none;
	cursor: pointer;
	width: 100%;
	text-align: left;
	padding: 0;
}

.photocontest-thumb-wrap {
	aspect-ratio: 367 / 243;
	position: relative;
	margin: 0;
}

.photocontest-thumb-wrap img {
	object-fit: contain;
	object-position: center center;
	width: 100%;
	height: 100%;
	display: block;
}

@media screen and (max-width: 768px) {
	.photocontest-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.photocontest-list__item {
		margin-bottom: 10px;
	}
}


/**************

アーカイブ

**************/

.frame-wave_wrap {
	padding: 0px 16px 70px;
}

.ttl-wave-wrap {
	margin: 60px auto 60px;
}


.photo-contest-conductor__archive {
	margin-top: 2.75rem;
}
.photo-contest-conductor__archive-ttl {
	text-align: center;
	color: #3C66C4;
	font-size: calc(18 / 16 * 1rem);
}
.photo-contest-conductor__archive-list {
	display: flex;
	flex-wrap: wrap;
	row-gap: 12px;
	margin-right: -2px;
	margin-left: -2px;
	box-sizing: border-box;
}
.photo-contest-conductor__accordion-parent {
	padding-top: 12px;
}
.photo-contest-conductor__archive-list-item {
	width: 33.333333333%;
	padding-right: 2px;
	padding-left: 2px;
	box-sizing: border-box;
}
.photo-contest-conductor__archive-list-link {
	font-size: calc(13 / 16 * 1rem);
	font-weight: 700;
	color: #3C66C4;
	border: 1px solid #3C66C4;
	padding: 1rem 2rem;
	border-radius: 100vh;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
	text-decoration: none;
	background-color: #fff;
	width: 100%;
	box-sizing: border-box;
	transition: opacity .3s;
}
@media (hover: hover) and (pointer: fine) {
	.photo-contest-conductor__archive-list-link:hover {
		opacity: .7;
	}
}
.photo-contest-conductor__archive-list-link::after {
	content: '';
	position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  width: 15px;
  height: 15px;
  background: url('../img/common/btn-blue.svg') no-repeat center center/contain;
}
.photo-contest-conductor__more-btn {
	font-size: calc(13 / 16 * 1rem);
	font-weight: 700;
	background: rgba(60, 102, 196, .1);
	border-radius: 12px;
	width: 100%;
	position: relative;
	border: none;
	height: 38px;
}
.photo-contest-conductor__more-btn::before,
.photo-contest-conductor__more-btn::after {
	content: '';
	position: absolute;
  top: 50%;
  transform: translateY(-50%);
	background-color: #3C66C4;
}
.photo-contest-conductor__more-btn::before {
	right: 29px;
	width: 2px;
	height: 18px;
	transition: opacity .2s;
}
.is-accordion-head--opened .photo-contest-conductor__more-btn::before {
	opacity: 0;
}
.photo-contest-conductor__more-btn::after {
	right: 21px;
	width: 18px;
	height: 2px;
}
.photo-contest-conductor__more-contents {
	padding-top: 12px;
}
@media screen and (min-width: 921px) {
	.photo-contest-conductor__more-contents {
		display: block !important;
	}
	.photo-contest-conductor__more-btn {
		display: none;
	}
	.photo-contest-conductor__more-contents {
		padding-top: 0;
	}
	.photo-contest-conductor__archive-list {
		row-gap: 27px;
		margin-right: -12px;
		margin-left: -12px;
	}
	.photo-contest-conductor__accordion-parent {
		padding-top: 27px;
	}
	.photo-contest-conductor__archive-list-item {
		padding-right: 12px;
		padding-left: 12px;
	}
	.photo-contest-conductor__archive-list-link {
		font-size: calc(18 / 16 * 1rem);
	}
	.photo-contest-conductor__archive-list-link::after {
		width: 17px;
		height: 17px;
	}
}

.photo-contest-conductor__archive-list-item {
	width: 16.5%;
}

@media screen and (max-width: 768px) {
	.photo-contest-conductor__archive-list-item {
		width: 33.33333333%;
	}
}


/**************

モーダル

**************/

body.modal-open{
	overflow: hidden;
}

.photo-modal {
	position: fixed;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}

.photo-modal.is-active {
	opacity: 1;
	visibility: visible;
}

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

.photo-modal__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 85vw;
	padding: 50px;
	border-radius: 50px;
	height: 70vh;
	text-align: center;
	background-color: #fff;
}

.photo-modal__figure {
	aspect-ratio: 367 / 243;
	position: relative;
	margin: 0 auto;
	width: 70vw;
	height: 50vh;
}

.photo-modal__img {
	object-fit: contain;
	object-position: center center;
	width: 100%;
	height: 100%;
	display: block;
}

.photo-modal__meta {
	margin-top: 20px;
}

.photo-modal__title {
	font-size: 20px;
	font-weight: 700;
	margin-top: 1em;
	margin-bottom: 0;
}

.photo-modal__author,
.photo-modal__category {
	font-size: 14px;
	opacity: .85;
	text-align: center;
	margin: 0;
}

.photo-modal__close {
	position: absolute;
	top: -68px;
	right: 0px;
	width: 60px;
	height: 60px;
	background-color: rgb(255, 255, 255);
	border-radius: 50%;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(60, 102, 196);
	border-image: initial;
	transition: opacity 0.3s;
	z-index: 99;
}

.photo-modal__close:hover {
	opacity: .7;
	cursor: pointer;
}

.photo-modal__close::before, 
.photo-modal__close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 25px;
	height: 2px;
	background-color: rgb(60, 102, 196);
}

.photo-modal__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.photo-modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.photo-modal__prev,
.photo-modal__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border: none;
	cursor: pointer;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	padding: 0;
	z-index: 99;
}

.photo-modal__prev {
	left: 10px;
	background-image: url("../img/common/btn-slide-blue-l.svg");
}

.photo-modal__next {
	right: 10px;
	background-image: url("../img/common/btn-slide-blue-r.svg");
}

.photo-modal__prev {
	left: 80px;
}

.photo-modal__next {
	right: 80px;
}

@media screen and (max-width: 768px) {
	.photo-modal__content {
		max-width: 90vw;
		height: 65vh;
		padding: 50px 16px;
	}
	
	.photo-modal__figure {
		width: 100%;
		height: 43vh;
	}
	
	.photo-modal__prev,
	.photo-modal__next {
		top: auto;
		bottom: 12%;
	}
	
	.photo-modal__prev {
		left: 30px;
	}

	.photo-modal__next {
		right: 30px;
	}
}
