@charset "utf-8";
/* =====================================================================
   hotellist.css  ／  Hotel List ／ ホテル一覧（page-hotellist.php）

   ・間隔はすべて rem（1rem = 16px）
   ・見出し・光のあしらい・Reservation は news / faq / flow と同じ作り
   ・ブレイクポイントは 768px（テーマ共通）／ SP は最小 375px まで対応
   ===================================================================== */

:root {
	--hl-text:      #4D4D4D; /* 説明文のグレー文字 */
	--hl-line:      #B9B4AE; /* 一覧まわりの細罫線 */
	--hl-max:       80rem;      /* コンテンツ幅 1280px */
	--hl-header-h:  5.1365rem;  /* 固定ヘッダーぶんの高さ確保 */
}

/* =====================================================================
   外枠
   ===================================================================== */
.p-hotellist {
	position: relative;
	overflow: hidden;
	background-color: var(--back-color);
	color: var(--main-color);
	font-family: var(--font-jp);
	padding-top: var(--hl-header-h);
	padding-bottom: 7rem;
}

.p-hotellist__bg {
	position: absolute;
	top: var(--hl-header-h);
	right: 0;
	z-index: 0;
	width: 70%;
	aspect-ratio: 2357 / 2993;
	background-image: url("../img/common/bg-sunlight-kasou.webp");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
	pointer-events: none;
}

.p-hotellist__inner {
	position: relative;
	z-index: 1;
	width: 88.9%;
	max-width: var(--hl-max);
	margin: 0 auto;
}

/* =====================================================================
   ページ見出し（Hotel List ／ ホテル一覧）
   ===================================================================== */
.p-hotellist__head {
	text-align: center;
	padding-top: 5.625rem;
}
.p-hotellist__title {
	margin: 0;
	font-family: var(--font-en);
	font-size: var(--fs50);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: var(--main-color);
}
.p-hotellist__title-jp {
	margin: 0.5rem 0 0;
	font-size: var(--fs18);
	letter-spacing: 0.08em;
	color: #4d4d4d;
}

/* =====================================================================
   ツールバー（並び替え／件数表示）
   ===================================================================== */
.p-hotellist__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 3.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hl-line);
	font-size: var(--fs14);
	color: var(--hl-text);
}
.p-hotellist__sort {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}
.p-hotellist__sort label {
	display: none; /* 見た目には出さず、支援技術向けのラベルとして残す */
}
.p-hotellist__sort select {
	border: 1px solid var(--hl-line);
	background-color: #fff;
	color: var(--main-color);
	font-family: var(--font-jp);
	font-size: var(--fs14);
	padding: 0.5rem 2rem 0.5rem 0.875rem;
	border-radius: 2px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23112A45' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.875rem center;
	background-size: 10px 6px;
}
.p-hotellist__count {
	margin: 0;
}
.p-hotellist__filter {
	margin: 0 0 1.5rem;
	font-size: var(--fs15);
}
.p-hotellist__filter a {
	margin-left: 1em;
	text-decoration: underline;
}

/* =====================================================================
   一覧グリッド（PC 2列）
   ===================================================================== */
.p-hotellist__grid {
	list-style: none;
	margin: 3.75rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4.375rem 3.125rem;
}
.p-hotellist__card {
	display: flex;
	flex-direction: column;
}

/* --- カード見出し（施設名＋地図アイコン） --- */
.p-hotellist__card-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.875rem;
	border-bottom: 1px solid var(--hl-line);
}
.p-hotellist__card-title {
	margin: 0;
	font-family: var(--font-jp2);
	font-size: var(--fs22);
	font-weight: 500;
	color: #1a1a1a;
}
.p-hotellist__map {
	flex-shrink: 0;
	display: block;
	width: 1.375rem;
	transition: opacity 0.3s;
}
.p-hotellist__map img {
	display: block;
	width: 100%;
	height: auto;
}
.p-hotellist__map:hover {
	opacity: 0.6;
}

/* --- 説明文 --- */
.p-hotellist__desc {
	margin: 1rem 0 0;
	font-size: var(--fs15);
	line-height: 1.8;
	color: #1a1a1a;
}

/* --- タグ --- */
.p-hotellist__tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 1rem 0 0;
	padding: 0;
}
.p-hotellist__tag {
	background-color: #1a1a1a;
	color: #fff;
	font-size: var(--fs14);
	line-height: 1;
	padding: 0.625rem 0.875rem;
	white-space: nowrap;
}

/* --- 画像スライダー --- */
.p-hotellist__slider {
	position: relative;
	width: 100%;
	margin-top: 1.25rem;
	aspect-ratio: 553 / 349;
	overflow: hidden;
}
/* Swiper本体は、比率を決めている .p-hotellist__slider の中いっぱいに
   絶対配置で重ねるだけにする（Swiperが幅を書き換えても比率側は影響を受けない） */
.p-hotellist__slider .swiper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
/* スライドは画像ではなく背景画像にする（object-fit絡みの高さ計算バグを避けるため） */
.p-hotellist__slider .swiper-slide {
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* single-hotels.php の .p-rooms__nav と同じ意匠 */
.p-hotellist__slider-nav {
	display: flex;
	justify-content: flex-end;
	gap: 1.25rem;
	position: absolute;
	bottom: 2%;
	right: 2%;
}
.p-hotellist__slider-nav .swiper-button-prev,
.p-hotellist__slider-nav .swiper-button-next {
	position: static;
	color: #fff;
	width: 1.875rem;
	height: 1.875rem;
	margin-top: 0;
}
.p-hotellist__slider-nav .swiper-button-prev::after,
.p-hotellist__slider-nav .swiper-button-next::after {
	font-size: var(--fs20);
}

/* --- 画像が無いカードのプレースホルダー --- */
.p-hotellist__slider.is-noimage {
	background-color: #e5e0da;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: var(--fs14);
}

/* --- ボタン --- */
.p-hotellist__btns {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 1.25rem;
}
.p-hotellist__btns .btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.9em 2.4em;
	font-size: var(--fs15);
	font-family: var(--font-jp);
	text-decoration: none;
	transition: opacity 0.3s;
}
.p-hotellist__btns .btn:hover {
	opacity: 0.75;
}
.p-hotellist__btns .btn .arrow {
	position: absolute;
	right: 1.2em;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.8em;
}
.p-hotellist__btns .btn--gold {
	background-color: #C9A868;
	color: #fff;
}
.p-hotellist__btns .btn--dark {
	background-color: var(--main-color);
	color: #fff;
}

/* 投稿が1件も無いとき */
.p-hotellist__empty {
	margin: 4.375rem auto 0;
	text-align: center;
	font-size: var(--fs16);
	color: var(--hl-text);
}

/* =====================================================================
   ページャー
   ===================================================================== */
.p-hotellist__pager-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
	margin-top: 5rem;
}
.p-hotellist__pager-nav .page-numbers {
	font-family: var(--font-en);
	font-size: var(--fs18);
	line-height: 1;
	color: var(--main-color);
	text-decoration: none;
	transition: opacity 0.3s;
}
.p-hotellist__pager-nav a.page-numbers:hover {
	opacity: 0.5;
}
.p-hotellist__pager-nav .page-numbers.current {
	font-weight: 700;
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.25rem;
}
.p-hotellist__pager-nav .page-numbers.dots {
	letter-spacing: 0.15em;
}
.p-hotellist__pager-nav .page-numbers.prev,
.p-hotellist__pager-nav .page-numbers.next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.p-hotellist__pager-arrow {
	width: 0.5rem;
	height: 0.5rem;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
}
.p-hotellist__pager-arrow--next {
	transform: rotate(45deg);
}
.p-hotellist__pager-arrow--prev {
	transform: rotate(-135deg);
}

/* =====================================================================
   Reservation（home.php / single.php と共通の意匠）
   ===================================================================== */
.p-reservation {
	width: 100%;
	font-family: var(--font-jp);
}
.p-reservation__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1440 / 365;
	background-image: url("../img/common/bg-reservation.webp");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff;
	text-decoration: none;
}
.p-reservation__link::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(17, 42, 69, 0);
	transition: background-color 0.3s;
}
.p-reservation__link:hover::before {
	background-color: rgba(17, 42, 69, 0.2);
}
.p-reservation__text {
	position: relative;
	z-index: 1;
	text-align: center;
}
.p-reservation__title {
	display: block;
	font-family: var(--font-en);
	font-size: var(--fs40);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
}
.p-reservation__sub {
	display: block;
	margin-top: 0.375rem;
	font-size: var(--fs18);
	letter-spacing: 0.08em;
}

/* =====================================================================
   SP（〜768px ／ 最小 375px）
   ===================================================================== */
@media (max-width: 768px) {
	.p-hotellist {
		padding-bottom: 5rem;
	}
	.p-hotellist__bg {
		width: 100%;
	}
	.p-hotellist__head {
		padding-top: 3.75rem;
	}
	.p-hotellist__toolbar {
		margin-top: 2.5rem;
	}
	.p-hotellist__grid {
		grid-template-columns: 1fr;
		gap: 3.75rem;
		margin-top: 2.5rem;
	}
	.p-reservation__link {
		aspect-ratio: 786 / 600;
		background-image: url("../img/common/bg-reservation-sp.webp");
	}
	.p-reservation__sub {
		margin-top: 0.25rem;
		font-size: var(--fs20);
	}
}
