/* ============================================================================
   オリエンタルホテルズ＆リゾーツ タイアップLP  PC用CSS（style.css）
   ----------------------------------------------------------------------------
   ■ 前提
   ・一休.comのタイムセール形式ページに組み込まれる。HTMLは header.html / footer.html、
     ホテルカセットは一休.com側が自動で出力する（特集ID：setting.json）。
   ・スマホ用は style.sd.css（このファイルとは別。変更時は両方を確認する）。
   ・本番ページの body には min-width:1240px が付いている。画面が狭いと横スクロールになるため、
     画面幅基準の vw ではなく、親セクションの幅基準の cqw（container query 単位）を使っている。
     （1cqw ＝ 親セクションの幅の1%。container-type: inline-size を付けた要素が基準になる）
   ・画像は https://www.img-ikyu.com/contents/dg/special/2026/oriental-hotels/image/ に置く。

   ■ 目次
     0. 変数（色・フォント）
     1. 共通
     2. TOP（#tieup_head）
     3. TOPICS（#topics）
     4. 対象施設一覧（#spplan）／ホテルカセットの背景
     5. フォトギャラリー（#pg）
     6. 見出し（対象施設一覧・フォトギャラリー共通）
     7. スライダー共通（Slider Pro）
     8. ページ全体の背景（一休.com側の領域）
   ============================================================================ */


/* ============================================================================
   0. 変数（色・フォント）  ← 配色を変えるときは、まずここを見る
   ============================================================================ */
:root {
	--ohr-bg: #08294d;      /* TOPICSの背景（ネイビー。公式サイトの色） */
	--ohr-gold: #cda152;    /* 金色（ラベル・線）。濃い背景の上で使う明るい金 */
	--ohr-text: #e6e0cc;    /* 濃い背景の上の文字色（クリーム） */
	--ohr-serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;   /* 英字用の明朝 */
	--ohr-serif-jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;                      /* 日本語用の明朝 */
}
/* 他に直書きしている色
   #08294d … 白背景の上の見出し文字（ネイビー）／#956f41 … 白背景の上の金色の文字
   #f7f7f7 … ホテルカセット（対象施設一覧）の背景（4章・8章で同じ色を使用）
   #f5f1e6 … フォトギャラリーの背景（5章） */


/* ============================================================================
   1. 共通
   ============================================================================ */
html {
	overflow: auto;
	overflow-x: hidden;
	line-height: 1.8;
}
body {
	position: relative;
	min-width: 100%;
	background-color: #FFF;
	overflow-x: hidden;
}
p { margin: 0; }
#all_contents { padding: 0 !important; }
/* 施設一覧のエリアタブは使わない（一休.com側が出力する要素） */
.area_tab_table { display: none; }


/* ============================================================================
   2. TOP（#tieup_head）  header.html の <!--TOP--> 〜
   構成：全面スライダー（.topss）の上に、左上ロゴ・右上ナビ（.nav_bg）、左下コピー（.ttl_top）
   ============================================================================ */

/* TOP全体。高さは「画面の高さ − TOPより上にある一休.comのバナー・ヘッダーの高さ」（--top-h）。
   --top-h は header.html のJSが計算して入れる（ページを開いたとき・画面サイズを変えたとき）。
   これにより、開いた直後にTOPの写真の下端まで画面内に収まる。JSが動かない場合は calc(100vh - 60px)。
   中のスライダーと必ず同じ高さにする（食い違うとTOPの下に空白ができる） */
#tieup_head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: var(--top-h, calc(100vh - 60px));
	margin: 0 auto;
	z-index: 0;
	position: relative;
	container-type: inline-size;
}

/* --- 左上ロゴ＋右上ナビ --- */
#tieup_head .nav_bg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 1.7cqw 4.17cqw 0;
	display: flex;
	justify-content: space-between;   /* ロゴは左、ナビは右 */
	align-items: center;
}

/* ロゴ（SVG。縦横比 約6:1）。大きさは width で調整する */
#tieup_head .nav_bg .logo_top { line-height: 0; }
#tieup_head .nav_bg .logo_top img {
	display: block;
	width: 17cqw;
	height: auto;
}

/* ナビ */
#tieup_head .nav_bg ul.navi {
	display: flex;
	width: auto;
	list-style-type: none;
	font-family: var(--ohr-serif-jp);
	font-style: normal;
	font-size: 0.83cqw;
	letter-spacing: 0.15em;
	text-shadow: 0 0 5px rgb(0 0 0 / 50%);
}
@container (max-width: 1600px) {
	#tieup_head .nav_bg ul.navi { font-size: 0.937cqw; }
}
#tieup_head .nav_bg ul.navi li.menu {
	display: block;
	font-weight: 400 !important;
	font-style: normal !important;
}
#tieup_head .nav_bg ul.navi li.menu a {
	position: relative;
	display: inline-block;
	padding: 0.4em 12px;
	color: #fff;
	text-decoration: none;
}
/* ホバーすると、下線が左から右へ伸びる（:after が線。最初は長さ0） */
#tieup_head .nav_bg ul.navi li.menu a:after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 1px;
	background: #fff;
	transform: scaleX(0);              /* 最初は線の長さ0 */
	transform-origin: left;            /* 左から伸びる */
	transition: transform 0.4s ease;   /* 伸びる速さ（0.4秒） */
}
#tieup_head .nav_bg ul.navi li.menu a:hover:after { transform: scaleX(1); }

/* --- 左下コピー（英字の大きなコピー＋和文） --- */
#tieup_head .ttl_top {
	position: absolute;
	z-index: 999;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	padding: 0 4.17cqw 4.2cqw;
	text-align: left;
	color: #fff;
}
#tieup_head .ttl_top h1 {
	text-align: left;
	font-family: var(--ohr-serif-jp);
	font-weight: 400;
	font-size: 1.15cqw;
	letter-spacing: 0.25em;
	text-shadow: 0 0 12px rgb(0 0 0 / 60%);
}
/* 英字のコピー（Make Your Story Beautiful）。大きさは font-size で調整 */
#tieup_head .ttl_top h1 span {
	display: block;
	text-align: left;
	font-family: var(--ohr-serif);
	font-weight: 400;
	font-size: 3.6cqw;
	line-height: 1.2;
	letter-spacing: 0.01em;
	margin-bottom: 1.6cqw;
}

/* --- 全面スライダー（.topss）。JSの初期化が終わるまで display:none --- */
#tieup_head .slider-pro {
	display: none;
	position: absolute;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--top-h, calc(100vh - 60px));
}
/* 写真の上に重ねる暗いフィルター（文字を読みやすくする。濃さは 0.3） */
#tieup_head .slider-pro:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	height: var(--top-h, calc(100vh - 60px));
	margin: auto;
	background: rgba(0, 0, 0, 0.3);
}


/* ============================================================================
   3. TOPICS（#topics）  header.html の <div id="topics">
   構成：黒（ネイビー）背景に、写真スライダー（.tpc_img）と文章（.tpc_inner）を左右交互に配置。
        2つ目は .rev が付いて左右が逆になる。
   寸法は添付イメージ（1920px幅）の実寸を cqw に換算：
        上下余白 9.4cqw／写真 52.8cqw（高さは 3:2）／文章幅 30cqw
   ============================================================================ */
#topics {
	position: relative;
	z-index: 0;
	width: 100%;
	padding: 0;
	background: var(--ohr-bg);
	container-type: inline-size;
}
#topics .top { display: none; }                          /* 「トピックス」の見出しは表示しない */
#topics .top + .tpc_02 { margin-top: 9.4cqw; }           /* 最初のトピックの上の余白 */

/* 1トピック分（写真＋文章） */
#topics .tpc_02 {
	display: flex;
	flex-direction: row;               /* 写真が左、文章が右 */
	justify-content: space-between;
	align-items: center;
	gap: 5cqw;                         /* 写真と文章の最小の間隔 */
	box-sizing: border-box;            /* 一休.com側の指定で横幅が溢れないよう明示 */
	padding: 0 4.17cqw;
	margin-bottom: 9.4cqw;             /* トピック同士・最後のトピックの下の余白 */
}
#topics .tpc_02.rev { flex-direction: row-reverse; }     /* 写真が右、文章が左 */

/* 写真（スライダー）。高さはスライダー側の aspectRatio（3:2）で決まる */
#topics .tpc_02 .tpc_img {
	flex: 0 0 52.8cqw;
	width: 52.8cqw;
	height: auto;
}
#topics .slider-pro { margin: 0; }
#topics .slider-pro img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: 50% 50%;
}

/* 文章エリア。固定幅にして、写真が左でも右（.rev）でも写真との距離が同じになるようにする */
#topics .tpc_02 .tpc_inner {
	flex: 0 1 30cqw;
	width: 30cqw;
	min-width: 0;
	padding: 0;
	color: var(--ohr-text);
}

/* 施設名（金色の小さな文字）。clamp(最小, 基準, 最大) で、狭くても読める大きさにしている */
#topics .tpc_ttl p.tpc_no {
	text-align: left;
	font-family: var(--ohr-serif-jp);
	font-weight: 400;
	font-size: clamp(12px, 0.92cqw, 17px);
	line-height: 1.6;
	letter-spacing: 0.2em;
	color: var(--ohr-gold);
	margin-bottom: 1.6cqw;
}
/* 見出し（まだ見ぬ〜） */
#topics .tpc_ttl p.tpc_jp {
	text-align: left;
	font-family: var(--ohr-serif-jp);
	font-weight: 300;
	font-size: clamp(21px, 1.75cqw, 34px);
	line-height: 1.95;
	letter-spacing: 0.12em;
	color: var(--ohr-text);
}
/* 本文（text-wrap:balance で、最後の1文字だけ次の行に落ちるのを防ぐ） */
#topics .txt .detail .lead {
	text-align: left;
	font-family: var(--ohr-serif-jp);
	font-weight: 300;
	font-size: clamp(13px, 0.98cqw, 19px);
	line-height: 2.4;
	letter-spacing: 0.1em;
	padding: 2cqw 0 0;
	color: #c9c2ad;
	text-wrap: balance;
}
/* 「施設詳細」リンク（金色の下線） */
#topics .tpc_btn { text-align: left; }
#topics .tpc_btn a {
	display: inline-block;
	padding: 0 0 0.5cqw;
	margin-top: 2.6cqw;
	text-align: center;
	font-family: var(--ohr-serif-jp);
	font-weight: 300;
	font-size: clamp(12px, 0.85cqw, 16px);
	line-height: 1.8;
	letter-spacing: 0.2em;
	color: var(--ohr-text);
	background: none;
	border-bottom: 1px solid var(--ohr-gold);
	border-radius: 0;
	text-decoration: none !important;   /* 一休.com側のリンクの下線を消す */
}

/* 写真スライダーのドット（写真の中の下に配置。白） */
#topics .sp-button { background-color: rgba(255, 255, 255, 0.45) !important; }
#topics .sp-selected-button { background-color: #fff !important; }
#topics .wide0 .sp-buttons {
	position: absolute !important;
	bottom: 10px !important;
	z-index: 10;
}
/* スライダーが画像に付ける位置ズレ用の余白を0にし、はみ出た部分を隠す（端が1px見えるのを防ぐ） */
#topics .wide0 .sp-slide { overflow: hidden; }
#topics .wide0 .sp-image {
	margin: 0 !important;
	left: 0 !important;
	top: 0 !important;
}

/* セクション幅が 1400px 以下：写真と文章の間を詰め、文章幅を広げて本文の不自然な折り返しを防ぐ */
@container (max-width: 1400px) {
	#topics .tpc_02 { gap: 4cqw; }
	#topics .tpc_02 .tpc_inner { flex-basis: 31cqw; width: 31cqw; }
	#topics .txt .detail .lead { letter-spacing: 0.04em; }
}
/* セクション幅が 1200px 以下：さらに文章幅を広げて本文を2行に収める */
@container (max-width: 1200px) {
	#topics .tpc_02 { gap: 3cqw; }
	#topics .tpc_02 .tpc_inner { flex-basis: 34cqw; width: 34cqw; }
}


/* ============================================================================
   4. 対象施設一覧（#spplan）  header.html の最後 ＋ 一休.comが出力するホテルカセット
   構成：見出し（#spplan）→ 一休.com側のカセット（#special-cms-header の次の div）
   背景は薄いグレー。色を変えるときは #f7f7f7 を、この章の2か所と8章の1か所、同じ色にそろえて変更する。
   ============================================================================ */
#spplan {
	position: relative;
	z-index: 0;
	width: 100%;
	margin: 0 auto;
	padding: 6.77vw 0 0;
	container-type: inline-size;
	/* 背景を横幅いっぱいに広げる（box-shadow＋clip-path） */
	background: #f7f7f7;
	box-shadow: 0 0 0 100vmax #f7f7f7;
	clip-path: inset(0 -100vmax);
}
/* ホテルカセット（一休.com側が header と footer の間に出力する領域） */
#special-cms-header + div {
	background: #f7f7f7;
	box-shadow: 0 0 0 100vmax #f7f7f7;
	clip-path: inset(0 -100vmax);
	padding-bottom: 60px;
}
/* カセット本体（カード）は白。背景をグレーにしたため、透明のままだと料金部分がグレーになる */
#special-cms-header + div a.shadow-bottom { background: #fff; }


/* ============================================================================
   5. フォトギャラリー（#pg）  footer.html
   背景はベージュ。スライダーは header.html の JS（.wide3）で初期化。
   ============================================================================ */
#pg {
	width: 100%;
	margin-top: 6.25vw;
	padding: 6.77vw 0;
	background: #f5f1e6;
	container-type: inline-size;
}
#pg .top {
	padding: 0 9.375vw;
	margin: 0 auto 3.125vw;
}
#pg .sp-selected-button { background-color: #08294d !important; }
.wide3 img {
	display: block;
	width: 100% !important;
}
.wide3,
.sp-mask { width: 100% !important; }


/* ============================================================================
   6. 見出し（対象施設一覧・フォトギャラリー共通）
   HTML：<h2 class="midashi"><span>ラベル</span>見出し</h2>
   構成：金色の小さなラベル（span）→ 細い明朝の見出し → 短い金色の線（:after）
   ============================================================================ */
#spplan .midashi,
#pg .midashi {
	display: block;
	width: 100%;
	padding: 0;
	text-align: center;
	font-family: var(--ohr-serif-jp);
	font-weight: 400;
	font-size: clamp(24px, 2cqw, 38px);
	line-height: 1.6;
	letter-spacing: 0.15em;
	color: #08294d;
	margin-bottom: 2cqw;
}
/* ラベル（金色の小さな文字） */
#spplan .midashi span,
#pg .midashi span {
	display: block;
	padding: 0;
	margin: 0 0 1.2cqw;
	font-family: var(--ohr-serif-jp);
	font-weight: 400;
	font-size: clamp(12px, 0.92cqw, 17px);
	line-height: 1.6;
	letter-spacing: 0.2em;
	color: #956f41;
}
/* フォトギャラリーのラベルは英字（Photo Gallery）なので、英字用の明朝・やや大きめ */
#pg .midashi span {
	font-family: var(--ohr-serif);
	font-size: clamp(14px, 1.05cqw, 19px);
	letter-spacing: 0.25em;
}
/* 見出しの下の短い線 */
#spplan .midashi::after,
#pg .midashi::after {
	content: "";
	display: block;
	width: 3cqw;
	height: 1px;
	margin: 1.6cqw auto 0;
	background: var(--ohr-gold);
}


/* ============================================================================
   7. スライダー共通（Slider Pro：一休.comの共通スライダー）
   ============================================================================ */
.slider-pro img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;               /* 枠に合わせて切り抜く */
	object-position: 50% 50%;
}
.slider-pro img.btm { object-position: 50% 0%; }   /* 画像の上側を見せたいときに img.btm を付ける */
.sp-arrow {
	width: 5px !important;
	height: 40px !important;
}
/* ドット（初期：グレー。選択中：ネイビー）。TOPICSでは3章で白に上書き */
.sp-button {
	background-color: rgba(10, 10, 10, 0.3) !important;
	border-radius: 50%;
	margin: 5px !important;
	border: 0 !important;
}
.sp-selected-button { background-color: #08294d !important; }


/* ============================================================================
   8. ページ全体の背景（一休.com側の領域）
   見出し（#spplan）とカセットの間にできる隙間（一休.com側の余白）を、同じグレーで埋める。
   TOP・TOPICS・フォトギャラリーは、それぞれ自分の背景色が上に重なる。
   ============================================================================ */
article:has(> #special-cms-header),
.text-center:has(> #special-cms-header) { background: #f7f7f7; }
