/* =========================================================
   Merry Belle トップスライダー（子テーマ追加分）
   親テーマの app.css より先に読み込まれるため、
   セレクタを親より強くして上書きしています。
   ========================================================= */

/* 見出し（画面には出さず、検索・読み上げ用に残す） */
.mb-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* スライダー本体：親テーマの切り抜き（mask）の内側にぴったり収める */
.p-home .p-home__hero .hero-visual .mb-hero-swiper {
	width: 100%;
	margin: 0;
	/* 親テーマの「青・金の帯」演出（z-index:1）より下に置く */
	z-index: 0;
}

@media print, screen and (min-width: 1025px) {
	.p-home .p-home__hero .hero-visual .mb-hero-swiper {
		aspect-ratio: 1760 / 880;
	}
}

@media print, screen and (max-width: 1024px) {
	.p-home .p-home__hero .hero-visual .mb-hero-swiper {
		aspect-ratio: 716 / 1272;
	}
}

.p-home .p-home__hero .mb-hero-swiper .swiper-wrapper,
.p-home .p-home__hero .mb-hero-swiper .swiper-slide {
	height: 100%;
}

.p-home .p-home__hero .mb-hero-swiper .mb-hero-slide__inner,
.p-home .p-home__hero .mb-hero-swiper picture {
	display: block;
	width: 100%;
	height: 100%;
}

.p-home .p-home__hero .mb-hero-swiper a.mb-hero-slide__inner {
	cursor: pointer;
}

.p-home .p-home__hero .mb-hero-swiper img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	-o-object-fit: cover;
	object-fit: cover;
}

/* ページ送りの丸（ドット） */
.p-home .p-home__hero .mb-hero-swiper .mb-hero-pagination {
	bottom: 4%;
	left: 0;
	width: 100%;
	line-height: 0;
}

.p-home .p-home__hero .mb-hero-swiper .mb-hero-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 6px;
	background: #fff;
	opacity: .7;
	box-shadow: 0 0 0 1px rgba(82, 114, 183, .5);
	transition: background-color .3s, opacity .3s, transform .3s;
}

.p-home .p-home__hero .mb-hero-swiper .mb-hero-pagination .swiper-pagination-bullet-active {
	background: #be9e6d;
	opacity: 1;
	transform: scale(1.2);
}

@media print, screen and (max-width: 1024px) {
	.p-home .p-home__hero .mb-hero-swiper .mb-hero-pagination {
		bottom: 2.5%;
	}
	.p-home .p-home__hero .mb-hero-swiper .mb-hero-pagination .swiper-pagination-bullet {
		width: 8px;
		height: 8px;
		margin: 0 5px;
	}
}
