/********************************************************************************
top.css
********************************************************************************/
/* common
---------------------------------------- */

/* announcement
---------------------------------------- */
#announcement {
	--announcement-color: #FF451D;
	padding: 24px;
	border: solid 2px var(--announcement-color);
	border-radius: 8px;
	margin: 20px 0 56px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
#announcement .layout {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
#announcement .layout::before {
	display: block;
	content: "重要なお知らせ";
	font-weight: bold;
	padding-left: 24px;
	background-image: url(../images/common/icon-announcement.svg);
	background-repeat: no-repeat;
	background-position: center left;
	background-size: 16px auto;
}
#announcement .date {
	color: var(--announcement-color);
}
#announcement .title {
	color: var(--announcement-color);
}
#announcement .title a {
	color: #2784D6;
	text-decoration: underline;
}

/* pickup
---------------------------------------- */
.pickup {
	margin-bottom: 80px;
}
.slider-pickup {
	visibility: hidden;
}
.slider-pickup.slick-initialized {
	visibility: visible;
}
.slider-pickup .slide-arrow {
	cursor: pointer;
	transition: all .3s;
}
.slider-pickup .slide-arrow:hover {
	opacity: 0.8;
}
.slider-pickup .prev-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -20px;
	z-index: 1;
}
.slider-pickup .next-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -20px;
	z-index: 1;
}

.pickupItem {
	display: flex;
	gap: 32px;
}
.pickupItem:hover .pickupItem__img a {
	opacity: 0.6;
	transform: scale(1.2);
}
.pickupItem:last-child {
	margin-bottom: 0;
}
.pickupItem__img {
	width: 448px;
	aspect-ratio: 448 / 252;
	border-radius: 18px;
	overflow: hidden;
}
.pickupItem__img a {
	display: block;
	width: 100%;
    height: 100%;
	transition: all .3s;
}
.pickupItem__img a img {
	width: 100%;
    height: 100%;
	object-fit: cover;
}
.pickupItem__contents {
	width: calc(100% - 480px);
}
.pickupItem__contents__title {
	font-size: 28px;
	line-height: 1.5;
	margin-bottom: 16px;
}
.pickupItem__contents__text {
	padding-right: 24px;
	font-size: 14px;
	margin-bottom: 16px;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* ranking
---------------------------------------- */
.ranking {
	margin-bottom: 56px;
}

/* cta
---------------------------------------- */
.cta {
	text-align: center;
	margin-bottom: 56px;
}

/* new
---------------------------------------- */
.new {
	margin-bottom: 80px;
}

.exBanner a {
	display: block;
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
}


@media screen and (max-width:1015px) {
	.pickup {
		margin-bottom: 48px;
	}
	.slider-pickup .prev-arrow {
		top: 132px;
		transform: unset;
	}
	.slider-pickup .next-arrow {
		top: 132px;
		transform: unset;
	}

	.pickupItem {
		flex-direction: column;
		gap: 16px;
	}
	.pickupItem__img {
		width: 100%;
	}
	.pickupItem__img img {
		aspect-ratio: 5 / 2.8;
		object-fit: cover;
	}
	.pickupItem__contents {
		width: 100%;
	}
	.pickupItem__contents__title {
		font-size: 16px;
		line-height: 1.6;
		margin-bottom: 8px;
	}
	.pickupItem__contents__text {
		display: none;
	}
	
	.new {
		margin-bottom: 48px;
	}
		
	.searchBanner {
		margin-top: 48px;
		filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.08));
	}
	.searchBanner a {
		display: block;
	}
	.searchBanner a:hover {
		opacity: 0.8;
	}
	
	.newBanner {
		margin-top: 48px;
		filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.08));
	}
	.newBanner a {
		display: block;
	}
	.newBanner a:hover {
		opacity: 0.8;
	}
}

@media screen and (max-width:560px) {
	.slider-pickup .prev-arrow {
		top: 24vw;
	}
	.slider-pickup .next-arrow {
		top: 24vw;
	}
}

@media screen and (max-width:480px) {
	.slider-pickup .prev-arrow {
		top: 22vw;
	}
	.slider-pickup .next-arrow {
		top: 22vw;
	}
}
