/* ==========================================================
   OTH Hero Slider — oth-hero-slider.css
   ========================================================== */

/* ── コンテナ ── */
.oth-hs {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #111;
}

/* ── スライドトラック ── */
.oth-hs-track {
	position: relative;
	width: 100%;
	height: 100%;
}

/* ── 各スライド（フェードで切り替え） ── */
.oth-hs-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.9s ease;
	z-index: 0;
}
.oth-hs-slide.is-active {
	opacity: 1;
	z-index: 1;
}

/* ── 背景画像（object-fit: cover で 100vw × 100vh クロップ） ── */
.oth-hs-slide-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ── 暗オーバーレイ ── */
.oth-hs-overlay {
	position: absolute;
	inset: 0;
	background: #000;
	z-index: 1;
	pointer-events: none;
}

/* ── テキスト / ロゴのオーバーレイコンテンツ ── */
.oth-hs-content,
a.oth-hs-content {
	position: absolute;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 40px 48px;
	text-decoration: none;
	max-width: 80%;
}

/* 9 ポジション */
.oth-hs-pos--tl { top: 0;   left: 0;   align-items: flex-start; text-align: left;   }
.oth-hs-pos--tc { top: 0;   left: 50%; align-items: center;     text-align: center; transform: translateX(-50%); }
.oth-hs-pos--tr { top: 0;   right: 0;  align-items: flex-end;   text-align: right;  }
.oth-hs-pos--ml { top: 50%; left: 0;   align-items: flex-start; text-align: left;   transform: translateY(-50%); }
.oth-hs-pos--mc { top: 50%; left: 50%; align-items: center;     text-align: center; transform: translate(-50%,-50%); }
.oth-hs-pos--mr { top: 50%; right: 0;  align-items: flex-end;   text-align: right;  transform: translateY(-50%); }
.oth-hs-pos--bl { bottom: 0; left: 0;  align-items: flex-start; text-align: left;   }
.oth-hs-pos--bc { bottom: 0; left: 50%; align-items: center;    text-align: center; transform: translateX(-50%); }
.oth-hs-pos--br { bottom: 0; right: 0; align-items: flex-end;   text-align: right;  }

/* ── ロゴ画像 ── */
.oth-hs-logo {
	display: block;
	height: auto;
	max-width: 100%;
}

/* ── テキスト ── */
.oth-hs-text {
	margin: 0;
	font-weight: 600;
	line-height: 1.6;
	text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.oth-hs-text--sm { font-size: clamp(.85rem, 1.4vw, 1rem); }
.oth-hs-text--md { font-size: clamp(1rem,   2vw,   1.5rem); }
.oth-hs-text--lg { font-size: clamp(1.4rem, 3vw,   2.2rem); }
.oth-hs-text--xl { font-size: clamp(1.8rem, 4vw,   3rem); }

/* ── 矢印ボタン ── */
.oth-hs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(0,0,0,.35);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s;
	padding: 0;
}
.oth-hs-arrow:hover,
.oth-hs-arrow:focus-visible {
	background: rgba(0,0,0,.65);
	outline: none;
}
.oth-hs-arrow--prev { left: 16px; }
.oth-hs-arrow--next { right: 16px; }
.oth-hs-arrow svg   { width: 22px; height: 22px; }

/* ── ドットナビ ── */
.oth-hs-dots {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 0;
}
.oth-hs-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(255,255,255,.5);
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.oth-hs-dot.is-active {
	background: #fff;
	transform: scale(1.4);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
	.oth-hs-content,
	a.oth-hs-content {
		padding: 24px;
		gap: 12px;
		max-width: 90%;
	}
	.oth-hs-arrow { width: 36px; height: 36px; }
	.oth-hs-arrow svg { width: 18px; height: 18px; }
	.oth-hs-arrow--prev { left: 8px; }
	.oth-hs-arrow--next { right: 8px; }
}
