@import url("https://fonts.googleapis.com/css?family=Parisienne&display=swap");

html {
	font-size: 62.5%;
}
body {
	margin: 0;
	font-size: 1.5rem;
	line-height: 2;
}
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
p {
	margin: 0;
}
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.contents {
	padding: 20px 0;
}

.container {
	width: 300px;
	height: 400px;
	margin: 0 auto;
}
.c-slider-container {
	height: 100%;
}
.c-slider-item {
	cursor: pointer;
}
.c-slider-item-photo {
	display: block;
}
.c-slider-item-photo:before {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Parisienne', cursive;
	font-size: 1.9rem;
	font-weight: 400;
	line-height: 0;
	color: #fff;
	word-break: break-all;
	content: attr(data-index);
}
.swiper-slide-active .c-slider-item-photo:before {
	color: #573807;
}
.c-slider-item-photo:after {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(87, 56, 7, 0.5);
	content: '';
	transition: background 1s cubic-bezier(0.175, 0.885, 0.32, 1);
}
.swiper-slide-active .c-slider-item-photo:after {
	background: rgba(255, 255, 255, 0.4);
}
@media screen and (min-width: 1199px) {
	.c-slider-item-photo:hover:after {
		background: rgba(255, 255, 255, 0.4);
	}
}
.c-photo-bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-position: center;
	background-size: cover;
}

.copyright {
	text-align: center;
	padding-top: 2em;
	font-size: 14px;
}
