@charset "utf-8";
/* ============================================================
   白馬パークホテル カラーオーバーライド
   参照: es-elio.com
   メインカラー  : #0083B3 (ブルー)
   アクセントカラー: #00A79B (ティール)
   ダークネイビー : #091f5c
   ライトブルー   : #F3F6F9
============================================================ */

/* ---- 汎用リンク・テキスト色 ---- */
a, a:link, a:visited { color: #0083B3; }
a:hover, a:active    { color: #00A79B; }

/* ---- テキストカラークラス ---- */
.fcGreen01,
.fcGreen01 a,
.fcGreen01 a:link,
.fcGreen01 a:visited { color: #0083B3 !important; }
.fcGreen01 a:hover,
.fcGreen01 a:active  { color: #00A79B !important; }

/* ---- 背景カラークラス ---- */
.bgGreen01 { background-color: #EBF4FB !important; }
.bgGreen02 { background-color: #0083B3 !important; }

/* ---- ボタン ---- */
.buttonGreen01 {
  background: linear-gradient(180deg, #0099C2 0%, #0099C2 50%, #0083B3 50%, #0083B3 100%) !important;
  color: #FFF !important;
}
.buttonPink01 {
  background: linear-gradient(180deg, #00B8AE 0%, #00B8AE 50%, #00A79B 50%, #00A79B 100%) !important;
  color: #FFF !important;
}

/* ---- ロゴエリア ---- */
.headerLogo01 {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.headerLogo01 a {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
}
.headerLogoArea01 {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #111;
  margin-bottom: 3px;
  font-family: 'Sawarabi Mincho', serif;
}
/* PC: ヘッダー高さ90px に合わせてロゴ54px */
.headerLogo01 img {
  height: 54px;
  width: auto;
}
/* スマホ */
@media screen and (max-width: 1024px) {
  .headerLogoArea01 {
    font-size: 8px;
    margin-bottom: 2px;
  }
  .headerLogo01 img {
    height: 27px;
    width: auto;
  }
}
/* ---- ビジュアルスライダー 高さ拡大 ---- */
@media screen and (min-width: 1025px) {
  #visual01,
  #visual01 .swiperSlideCommon01 { height: 650px !important; }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #visual01,
  #visual01 .swiperSlideCommon01 { height: 420px !important; }
}
@media screen and (max-width: 767px) {
  #visual01,
  #visual01 .swiperSlideCommon01 { height: 250px !important; }
}

/* フッターロゴ */
.footerLogo01 img {
  width: 220px;
  height: auto;
}

/* ---- ヘッダー ---- */
#header01 {
  border-bottom: 1px solid #00A79B !important;
}
/* ヘッダー 予約ボタン背景 */
.headerBtn03 a {
  background-color: #0083B3 !important;
  color: #FFF !important;
}
/* ヘッダー 予約ボタン（ホバー時のピンクを上書き） */
.headerBtn03 a:hover { background-color: #00A79B !important; }

/* スマホメニュー開閉ボタン */
.naviSP { color: #0083B3; }
.naviSPBox { background-color: #0083B3 !important; }

/* ---- グローバルナビ（ヘッダー内に移動・PC） ---- */
@media screen and (min-width: 1025px) {
  #gbtn01 {
    position: absolute !important;
    top: 0 !important;
    right: 50% !important;
    margin-right: -475px !important;
    height: 90px !important;
    width: auto !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  #gbtn01 > ul {
    height: 90px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  #gbtn01 a {
    height: 88px !important;
    padding: 20px 16px 0 !important;
    font-size: 0.82em !important;
  }
  #gbtn01 ul li:nth-child(n+2):before {
    height: 88px !important;
    line-height: 90px !important;
  }
  /* コンテナのpadding-topをヘッダー分だけに縮小 */
  #container01 {
    padding-top: 90px !important;
  }
}
/* 予約ボタン（1番目） */
#gbtn01 ul li:nth-child(1) a {
  background-color: #0083B3 !important;
  color: #FFF !important;
}
#gbtn01 ul li:nth-child(1) a:hover {
  background-color: #00A79B !important;
}
/* ホバー時・カレント時のアンダーライン */
#gbtn01 ul li:nth-child(n+2) a:hover:before,
#gbtn01 ul li:nth-child(n+2).current a:before {
  background-color: #0083B3 !important;
}

/* ---- ボックス背景 ---- */
.boxCommon02.styleB { background-color: #EBF4FB !important; }

/* ---- 各セクション背景 ---- */
#quality01a { background-color: #f0f0f0 !important; }
#quality01d { background-color: #F3F6F9 !important; }
#quality01e { background-color: #091f5c !important; }

/* ---- フッター ---- */
#footer01 {
  background: linear-gradient(135deg, #0083B3 0%, #00A79B 100%) !important;
  color: #FFF !important;
}
#footer01 a,
#footer01 a:link,
#footer01 a:visited { color: rgba(255,255,255,0.85) !important; }
#footer01 a:hover   { color: #FFF !important; }

/* ---- ページトップボタン ---- */
#pageTop a {
  background-color: #0083B3 !important;
  color: #FFF !important;
}
#pageTop a:hover { background-color: #00A79B !important; }

/* ---- セクション見出し装飾 ---- */
.titleCommon01 { color: #111; }
.titleCommon02 { background-color: #091f5c !important; }

/* parts.css 上書き: ボーダー系グリーンをティールに */
.reservationBottomList li {
  border-top-color: #00A79B !important;
}
.boxCommon01.styleA {
  border-color: #00A79B !important;
}
.boxCommon01.styleA:hover {
  background-color: #EBF4FB !important;
}

/* ---- 予約・お知らせエリア 背景 ---- */
#reservation01,
#information01 {
  background: url('f-all/bg_common05.jpg') center center repeat !important;
}
#reservation01 {
  border-top: 3px solid #0083B3;
}

/* ---- 日付検索ボックス ---- */
#searchBox01 {
  background-color: #f0f0f0;
  padding: 24px 20px 20px;
  margin-bottom: 30px;
}
.searchBox01Title {
  text-align: center;
  font-size: 1.3em;
  margin-bottom: 16px;
  color: #111;
  letter-spacing: 0.05em;
}
.searchBox01Inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  justify-content: center;
}
.searchBox01Fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.searchBox01Field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.searchBox01Label {
  font-size: 0.8em;
  color: #444;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.searchBox01Inputs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.searchBox01Nodate {
  font-size: 0.85em;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
#searchBox01 select,
#searchBox01 input[type="text"],
#searchBox01 input:not([type="checkbox"]) {
  height: 34px;
  padding: 0 6px;
  border: 1px solid #b0cfe0;
  border-radius: 3px;
  background: #fff;
  font-size: 0.9em;
  color: #333;
  box-sizing: border-box;
}
#searchBox01 input:not([type="checkbox"]) {
  width: 120px;
}
.searchBox01FieldPlan input {
  width: 130px !important;
}
.searchBox01Btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.searchBox01Btn {
  cursor: pointer;
  background-color: #091f5c;
  color: #fff;
  border: none;
  height: 40px;
  padding: 0 20px;
  border-radius: 3px;
  font-size: 0.95em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background 0.15s;
}
.searchBox01Btn:hover { background-color: #0083B3; }
.searchBox01BtnAll {
  background-color: #0083B3;
  color: #fff !important;
  height: 40px;
  padding: 0 20px;
  border-radius: 3px;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background 0.15s;
}
.searchBox01BtnAll:hover { background-color: #00A79B !important; }

/* スマホ: 縦積み */
@media screen and (max-width: 767px) {
  .searchBox01Fields,
  .searchBox01Inner { flex-direction: column; align-items: stretch; }
  .searchBox01Field { width: 100%; }
  .searchBox01Btns { flex-direction: row; }
  .searchBox01Btn,
  .searchBox01BtnAll { flex: 1; }
  #searchBox01 input:not([type="checkbox"]) { width: 100% !important; }
}

/* ---- 魅力セクション（MERITS風） ---- */
#merits01 {
  background: linear-gradient(160deg, #e8f5f0 0%, #f0f7fb 50%, #e8f2f8 100%);
  padding: 60px 20px;
}
.merits01Inner {
  max-width: 950px;
  margin: 0 auto;
}
.merits01Head {
  text-align: center;
  margin-bottom: 40px;
}
.merits01List {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.merits01Item {
  background: #fff;
  border-radius: 8px;
  padding: 30px 24px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}
.merits01Icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #00A79B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #0083B3;
  font-size: 1.6em;
}
.merits01ItemTitle {
  font-size: 1.05em;
  font-weight: bold;
  color: #0083B3;
  text-align: center;
  margin-bottom: 10px;
  font-family: 'Sawarabi Mincho', serif;
}
.merits01ItemText {
  font-size: 0.88em;
  color: #555;
  line-height: 1.7;
  text-align: left;
}
.merits01Num {
  position: absolute;
  bottom: 8px;
  right: 14px;
  font-size: 2.2em;
  font-weight: bold;
  color: rgba(0,131,179,0.1);
  line-height: 1;
  font-family: Arial, sans-serif;
}
@media screen and (min-width: 1025px) {
  .merits01List {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .merits01List { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 767px) {
  .merits01List { grid-template-columns: 1fr; }
  .merits01Title { font-size: 1.8em; }
}

/* ---- フォトギャラリー 4列×2行 ---- */
.gallery01Flex01 > li a,
.gallery01Flex01 > li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 1025px) {
  .gallery01Flex01 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .gallery01Flex01 > li {
    width: auto !important;
    margin: 0 !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .gallery01Flex01 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .gallery01Flex01 > li {
    width: auto !important;
    margin: 0 !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
}

/* ---- スマホ ナビ内リンク ---- */
@media screen and (max-width: 768px) {
  .naviSPBox li {
    border-top-color: rgba(255,255,255,0.25) !important;
  }
  .naviSPBox li a { color: #FFF !important; }
}

/* ===== サブページ（客室・施設／お食事／アクセス） ===== */
.visualInfo2  { background-image: url('f-info2/rooms01_photo01.jpg'); }
.visualInfo1  { background-image: url('f-info1/restaurant_photo01.jpg'); }
.visualAccess { background-image: url('f-access/access_winter01.jpg'); }
#visual02 { position: relative; }
#visual02:before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.25); }
#visual02 p { position: relative; color: #FFF; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.roomIcons01 { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.roomIcons01 li { border: 1px solid #999; border-radius: 4px; padding: 2px 8px; font-size: 0.85em; }
.roomIcons01 li i { margin-right: 4px; color: #0083B3; }
.photoTrigger { cursor: pointer; opacity: 0.6; }
.photoTrigger.active, .photoTrigger:hover { opacity: 1; }
.subGrid01 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.subGrid01.col2 { grid-template-columns: repeat(2, 1fr); }
.subGrid01 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 12px; }
.subGrid01 .subGrid01Title { font-weight: bold; color: #0083B3; margin-bottom: 6px; font-size: 1.1em; }
.mapFrame01 iframe { width: 100%; height: 400px; border: 0; }
@media screen and (max-width: 767px) {
  .subGrid01, .subGrid01.col2 { grid-template-columns: 1fr; }
  .mapFrame01 iframe { height: 280px; }
}

/* ===== サブページ 写真大きめ調整 ===== */
#wrapper01 .contents01 { max-width: 1200px; }
.subGrid01 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
.subGrid01.col2 { grid-template-columns: repeat(2, 1fr); }
.subGrid01 img { aspect-ratio: 3 / 2; }
.photoWrap .photoMain { width: 100%; max-height: 720px; object-fit: cover; }
.photoWrap .dispTablePO { display: block !important; }
.photoWrap .dispTablePO > div { display: block !important; width: 100% !important; padding-left: 0 !important; }
.photoWrap .flex2Column { display: flex !important; flex-wrap: wrap; gap: 8px; width: 100% !important; margin-bottom: 25px; }
.photoWrap .flex2Column li { width: calc((100% - 48px) / 7) !important; margin: 0 !important; }
.photoWrap .flex2Column img { aspect-ratio: 3 / 2; object-fit: cover; }
@media screen and (max-width: 767px) {
  .subGrid01, .subGrid01.col2 { grid-template-columns: 1fr; }
  .photoWrap .flex2Column li { width: calc((100% - 24px) / 4) !important; }
}

/* ===== 姉妹ホテル（Cherry Group） ===== */
#sister01 { background-color: #F3F6F9; padding: 50px 0 40px; }
.sister01Inner { max-width: 1900px; margin: 0 auto; padding: 0 25px; }
.sister01Title { text-align: center; font-weight: bold; font-size: 1.6em; color: #111; }
.sister01Sub { text-align: center; font-weight: bold; margin-bottom: 25px; }
.sister01Lead { font-weight: bold; line-height: 1.8; margin: 0 30px 50px; }
.sister01List { display: flex; justify-content: space-between; gap: 50px; }
.sister01List li { flex: 1; }
.sister01List img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 18px; }
.sister01Name { font-weight: bold; color: #4A5A6A; margin-bottom: 12px; }
.sister01Txt { line-height: 1.8; }
@media screen and (max-width: 767px) {
  #sister01 { padding: 35px 0 25px; }
  .sister01Title { font-size: 1.2em; }
  .sister01Lead { margin: 0 0 30px; }
  .sister01List { flex-direction: column; gap: 30px; }
}
.sister01Link { display: block; color: inherit !important; text-decoration: none; }
.sister01Link img { transition: opacity .3s; }
.sister01Link:hover img { opacity: 0.8; }
.sister01Link:hover .sister01Name { text-decoration: underline; }

/* ===== ヒーロー画像 ===== */
.swiperSlideZenkei { background-image: url('f-index/zenkei.jpg'); }

/* ===== フォトギャラリー 横幅いっぱい ===== */
#gallery01 .contents01 { max-width: none !important; width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; box-sizing: border-box; }
#gallery01 .gallery01Flex01 { width: 100% !important; max-width: none !important; }

/* ===== 姉妹ホテル SPも横3列 ===== */
@media screen and (max-width: 767px) {
  .sister01Inner { padding: 0 10px; }
  .sister01List { flex-direction: row !important; gap: 8px !important; }
  .sister01List img { margin-bottom: 8px; }
  .sister01Name { font-size: 0.8em; line-height: 1.4; margin-bottom: 4px; }
  .sister01Txt { font-size: 0.7em; line-height: 1.5; }
}

/* ===== 冬の魅力 SPは2列×3行 ===== */
@media screen and (max-width: 767px) {
  #merits01 { padding: 40px 10px; }
  .merits01List { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .merits01Item { padding: 18px 12px 16px; }
  .merits01Icon { width: 44px; height: 44px; font-size: 1.2em; margin-bottom: 10px; }
  .merits01Icon[style] { font-size: 1.6em !important; }
  .merits01ItemTitle { font-size: 0.9em; margin-bottom: 6px; }
  .merits01ItemText { font-size: 0.75em; line-height: 1.6; }
  .merits01Num { font-size: 1.6em; }
}

/* ===== スクロールでふわっと表示 ===== */
.fadeInTarget { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.fadeInTarget.fadeInShow { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fadeInTarget { opacity: 1; transform: none; transition: none; } }
