/* かくれ家スライドショー：窓の中の見た目 */
html, body { margin: 0; padding: 0; overflow: hidden; }
.box_skitter { margin: 0 auto; }
#kks { position: relative; overflow: hidden; }

/* 写真の上の文字 */
.kks-cap-box {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12%;
	z-index: 40;
	margin: 0;
	padding: 0 6%;
	text-align: center;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif;
	font-weight: 500;
	line-height: 1.5;
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
	box-sizing: border-box;
}
.kks-cap-box.is-on { opacity: 1; transition: opacity .8s ease; }
.kks-ctitle { margin: 0 0 8px; font-size: clamp(15px, 2.1vw, 25px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.kks-ctext { margin: 0; font-size: clamp(11px, 1.15vw, 14px); line-height: 1.8; color: rgba(255, 255, 255, .92); }
.kks-ctitle:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
	.kks-cap-box { bottom: 15%; padding: 0 5%; }
}
/* スマホの縦長：写真の下の帯に、大きい文字だけを出す */
.kks-cap-box.is-split {
	bottom: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 14px;
	text-shadow: none;
}
.kks-cap-box.is-split .kks-ctitle { margin: 0; font-size: 13px; line-height: 1.55; letter-spacing: .02em; }
.kks-cap-box.is-split .kks-ctext { display: none !important; }
.box_skitter ul { margin: 0; padding: 0; }

/* 写真の上の丸ボタン（写真の中の下の方に出す） */
.box_skitter .info_slide_dots {
	bottom: 8px !important;
	padding: 4px 6px 4px 8px !important;
	background: rgba(0, 0, 0, 0.25);
}
.box_skitter .info_slide_dots .image_number {
	width: 10px !important;
	height: 10px !important;
	margin: 0 4px 0 0 !important;
	background: rgba(255, 255, 255, 0.6) !important;
}
.box_skitter .info_slide_dots .image_number:hover { background: #fff !important; }
.box_skitter .info_slide_dots .image_number_select,
.box_skitter .info_slide_dots .image_number_select:hover { background: #fff !important; box-shadow: 0 0 0 2px rgba(255,255,255,0.4); }

/* 丸ボタンに乗せたときの小さな写真 */
.box_skitter .preview_slide { bottom: 26px; width: 120px; height: 80px; border: 2px solid #fff; border-radius: 4px; }
.box_skitter .preview_slide ul { height: 80px !important; }
.box_skitter .preview_slide ul li { width: 120px !important; height: 80px !important; }
.box_skitter .preview_slide ul li img { width: 120px !important; height: 80px !important; object-fit: cover; }

/* 左右の矢印（画像ファイルを使わずに描く） */
.box_skitter .prev_button,
.box_skitter .next_button {
	background: rgba(0, 0, 0, 0.35) !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 50%;
	margin-top: -19px !important;
	top: 50% !important;
	text-indent: -9999em;
	overflow: hidden;
	z-index: 160;
}
.box_skitter .prev_button { left: 10px !important; }
.box_skitter .next_button { right: 10px !important; }
.box_skitter .prev_button::after,
.box_skitter .next_button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	text-indent: 0;
}
.box_skitter .next_button::after { transform: translate(-70%, -50%) rotate(45deg); }
.box_skitter .prev_button::after { transform: translate(-30%, -50%) rotate(-135deg); }
.box_skitter .prev_button:hover,
.box_skitter .next_button:hover { background: rgba(0, 0, 0, 0.6) !important; }

/* 使わない部品はかくす */
.box_skitter .play_pause_button,
.box_skitter .focus_button,
.loading { display: none !important; }

.kks-empty {
	margin: 0;
	padding: 40px 16px;
	text-align: center;
	color: #888;
	font: 15px/1.6 sans-serif;
}
