/* 客室ページ上部の切り替え（クラスから選ぶ / 目的から選ぶ）＋ ご利用時間への案内リンク
   使用箇所: 客室のご案内(guestroom) / 目的から選ぶ(faci) / 料金・客室情報(room-price)
   現在のページは <span class="rs-nav__item is-current"> にする（リンクなし） */

.rs-wrap {
	background: #fffbf1;
	padding: 36px 16px 32px;
}

.rs-nav {
	display: flex;
	gap: 20px;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.rs-nav__item {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	background: #1a1712;
}

/* 写真（ホバーでゆっくり拡大） */
.rs-nav__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

a.rs-nav__item:hover .rs-nav__bg {
	transform: scale(1.06);
}

/* 暗幕 */
.rs-nav__item::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(10, 8, 5, .72), rgba(10, 8, 5, .38));
	transition: background-color .6s;
}

/* 内側の細い額縁 */
.rs-nav__item::after {
	content: '';
	position: absolute;
	inset: 10px;
	z-index: 1;
	border: 1px solid rgba(255, 255, 255, .45);
	transition: border-color .6s, inset .6s;
}

a.rs-nav__item:hover::after {
	inset: 7px;
	border-color: rgba(214, 186, 128, .9);
}

.rs-nav__text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.rs-nav__en {
	font-family: "Times New Roman", "Hiragino Mincho ProN", serif;
	font-size: 12px;
	letter-spacing: .32em;
	color: #d6ba80;
}

.rs-nav__label {
	margin-top: 10px;
	font-size: 22px;
	letter-spacing: .18em;
}

/* 表示中のページ: 金の額縁＋下に小さな菱形 */
.rs-nav__item.is-current::before {
	background: linear-gradient(to top, rgba(10, 8, 5, .8), rgba(10, 8, 5, .55));
}

.rs-nav__item.is-current::after {
	border-color: #d6ba80;
}

.rs-nav__item.is-current .rs-nav__label {
	color: #ead7ad;
}

.rs-nav__item.is-current .rs-nav__text::after {
	content: '';
	width: 6px;
	height: 6px;
	margin-top: 12px;
	background: #d6ba80;
	transform: rotate(45deg);
}

/* ご利用時間・料金への案内（両側に金の細線） */
.rs-time {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	max-width: 1150px;
	margin: 26px auto 0;
}

.rs-time::before,
.rs-time::after {
	content: '';
	flex: 0 1 120px;
	height: 1px;
	background: #c9b48a;
}

.rs-time a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #7a6440;
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
	font-size: 15px;
	letter-spacing: .14em;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color .4s, color .4s;
}

.rs-time a:hover {
	color: #5a4a2e;
	border-bottom-color: currentColor;
}

.rs-time svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

@media only screen and (max-width: 40em) {
	.rs-wrap {
		padding: 20px 12px 20px;
	}

	.rs-nav {
		gap: 8px;
	}

	.rs-nav__item {
		height: 92px;
	}

	.rs-nav__item::after {
		inset: 6px;
	}

	.rs-nav__en {
		font-size: 9px;
		letter-spacing: .22em;
	}

	.rs-nav__label {
		margin-top: 6px;
		font-size: 15px;
		letter-spacing: .08em;
	}

	.rs-nav__item.is-current .rs-nav__text::after {
		width: 5px;
		height: 5px;
		margin-top: 7px;
	}

	.rs-time {
		gap: 10px;
		margin-top: 18px;
	}

	.rs-time::before,
	.rs-time::after {
		flex-basis: 32px;
	}

	.rs-time a {
		font-size: 13px;
		letter-spacing: .08em;
		gap: 6px;
	}

	.rs-time svg {
		width: 15px;
		height: 15px;
	}
}

/* 案内リンクの飛び先（料金・客室情報の「ご利用時間について」）が固定ヘッダーに隠れないように */
#link01 {
	scroll-margin-top: 136px;
}

@media only screen and (max-width: 40em) {
	#link01 {
		scroll-margin-top: 76px;
	}
}
