/* resq.ikyu.com ページ用 CSS ファイル */

#new-article .post-thumbnail-inner{
	display: block;
	position: relative;
}

.entry .entry-footer{
	border-bottom: none;
}

@media only screen and (min-width: 768px) {

	#new-article .list-box .post-thumbnail{
		width: 350px !important;
	}

	#new-article .post-thumbnail-inner{
		position: relative;
	}

	.entry .entry-footer{
		border-bottom: none;
	}

	#list-box{
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}

	#list-box .entry-title{
		font-size:16px;
	}

	#list-box .author-avatar{
		width:50px;
	}

	.campaign_banner {
		margin: 70px auto 54px;
	}
}

/* カルーセル関連 */
.swiper-initialized {
	position: relative;
	overflow: hidden;
}

.swiper-wrapper {
	margin-bottom: 10px;
	overflow: hidden;
}

.swiper-initialized .swiper-wrapper {
	overflow: visible;
}

.swiper-pagination-clickable {
	height: 9px;
	line-height: 0;
	text-align: center;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
	opacity: 1;
	border: 1px solid #C19C00;
	background: #fff;
}

.swiper-pagination-clickable .swiper-pagination-bullet-active {
	background: #C19C00;
}

.swiper-initialized .swiper-button-next , .swiper-initialized .swiper-button-prev {
	z-index: 2;
	top: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: #fff;
	background: rgba(102, 102, 102, .8);
	margin-top: calc(100% * .6 / 2 - 21px); /*画像の高さの半分 - 矢印要素の高さの半分*/
	/* 上記マージンの算出　(100% - 各画像の余白の合計値) / 画像の枚数 * 画像縦横比％ / 2 - 矢印要素の高さの半分の値 */
}

.swiper-initialized .swiper-button-next::after , .swiper-initialized .swiper-button-prev::after {
	font-weight: 600;
	font-size: 20px;
}

.swiper-initialized .swiper-button-next::after {
	margin-left: 5px;
}

.swiper-initialized .swiper-button-prev::after {
	margin-right: 5px;
}

#kiwamino-swiper .swiper-slide {
	width: 100%;
}

.swiper-slide__imgLink {
	display: block;
	line-height: 1;
}

.swiper-slide__text {
	padding: 10px 13px 15px;
	font-size: 14px;
	line-height: 1;
}

.swiper-slide__postTypeLink {
	display: inline-block;
	font-weight: 500;
	line-height: 1.6;
}

.swiper-slide__postTypeName , .swiper-slide__date {
	font-size: 14px;
}

.swiper-slide__date {
	font-weight: 500;
}

.swiper-slide__text .swiper-slide__entryTitle {
	margin: 5px 0 0;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
}

.swiper-slide__entryTitle-link {
	color: #555;
}

.swiper-slide__image {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 500 / 309;
}

@media only screen and (min-width: 768px) {

	.swiper {
		display: none;
	}

	.swiper.swiper-initialized {
		display: block;
	}

	.swiper .swiper-slide:nth-of-type(n+2) {
		display: none;
	}

	.swiper.swiper-initialized .swiper-slide:nth-of-type(n+2) {
		display: block;;
	}

	#kiwamino-swiper .swiper-slide {
		width: 30vw;
	}

	.swiper-slide__postTypeName , .swiper-slide__postBorder , .swiper-slide__postOn {
		font-size: 15px;
	}

	.swiper-slide__date {
		font-size: 16px;
	}

	.swiper-slide__text .swiper-slide__entryTitle {
		font-size: 16px;
	}

	.swiper-initialized .swiper-button-next , .swiper-initialized .swiper-button-prev {
		margin-top: calc(100% / 3.1 * .6 / 2 - 21px);
	}

	.swiper-initialized .swiper-button-next {
		right: 1%;
	}

	.swiper-initialized .swiper-button-prev {
		left: 1%;
	}

}
