/* DOKODEMO_ABISU-508【株式会社吉田屋】① カスタムコンテンツ「季節ごとの過ごし方」詳細ページ */

/* ちらつき対策 */
html:not(.up-d-ready) body {
  opacity: 0;
  animation: up-d-fallback-show 0s 3s forwards;
}
@keyframes up-d-fallback-show {
  to { opacity: 1; }
}
html.up-d-ready body {
  opacity: 1;
  transition: opacity .2s;
}

/* 読み込み用の白い全画面（JSでフェードアウト。動かなかった場合も4秒後に消す） */
#loading {
  animation: up-d-loading-hide 0s 4s forwards;
}
@keyframes up-d-loading-hide {
  to {
    visibility: hidden;
    pointer-events: none;
  }
}

/* ヘッダー */
#header em {
  color: #313131;
}
#header .box_nav {
  padding-left: 0;
}
.header_txt h1 {
  line-height: inherit !important;
}

/* テーマ部分のリストマーカーを消す */
#header ul,
#header li,
#footer ul,
#footer li,
#menulist ul,
#menulist li,
#menu,
#menu li,
.topicpath,
.topicpath li,
.c-parts-rsv ul,
.c-parts-rsv li {
  list-style: none;
  padding-left: 0;
}

/* アイコンフォント：既存サイトから読み込む（A-BiSU側のURLではCORSエラーになるため） */
@font-face {
  font-family: 'icomoon';
  src: url('https://www.la-shoro.jp/files/fonts/icomoon.woff') format('woff'),
       url('https://www.la-shoro.jp/files/fonts/icomoon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ブラウザ標準の斜体を解除（i・emタグ） */
#abi_page i,
#abi_page em {
  font-style: normal;
}

/* 追従ナビ：ホバー時も黒のまま */
#header .con_fixnav #fixnav li a,
#header .con_fixnav #fixnav li a:hover,
#header .con_fixnav #fixnav li a:visited,
#header .con_fixnav #fixnav li a:focus {
  color: #313131;
}

/* 予約まわりのリンク：ホバー時も黒のまま */
.btn_plan a,
.btn_plan a:hover,
.btn_plan a:visited,
.btn_plan a:focus,
.btn_plan a i {
  color: #313131;
}

/* ヘッダーのお問い合わせボタン：ホバー時もアイコン・文字を黒のまま */
#header .box_nav .btn_con a,
#header .box_nav .btn_con a:hover,
#header .box_nav .btn_con a:visited,
#header .box_nav .btn_con a:focus,
#header .box_nav .btn_con a i,
#header .box_nav .btn_con a em {
  color: #313131;
}

/* 電話番号（フッター・空室検索パネル）：ホバー時も黒のまま */
.txt_tel a,
.txt_tel a:hover,
.txt_tel a:visited,
.txt_tel a:focus,
.txt_tel a i {
  color: #313131;
}

/* MV タイトル */
#contents .con_title#js-titleImg h2 {
  font-size: 1rem !important;
}
#contents .con_title#js-titleImg h2 span {
  font-size: 215%;
}
@media only screen and (min-width: 1200px) {
  #contents .con_title#js-titleImg h2 span {
    font-size: 286%;
  }
}

/* SPのMV：互換モードで .box_img の height: 100% が画面の高さになるため、画像の高さに合わせる */
@media only screen and (max-width: 767px) {
  #contents .con_title#js-titleImg .box_img {
    height: auto !important;
  }
}

/* 季節セクション */
.con_season {
  position: relative;
  margin: 5% auto;
  width: 90%;
}
.con_season > * {
  position: relative;
  z-index: 1;
}

/* タイトルブロック */
.up-d-title {
  position: relative;
  width: 100%;
  padding: 16px 20px 20px;
  z-index: 2;
  box-sizing: border-box;
}
.up-d-title .c-sst2 {
  display: block;
  font-size: 85%;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

/* パンくず：ホバー時も文字色を変えない */
.topicpath a,
.topicpath a:hover,
.topicpath a:visited,
.topicpath a:focus {
  color: #313131;
}

/* 記事タイトル（長いタイトルでもはみ出さないよう折り返す） */
.up-d-season-title {
  font-size: 160%;
  font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", YuMincho,
    "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HGS明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", serif;
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

/* サムネイル（文字入りの可能性があるため切り抜かずに全体を表示） */
.up-d-season-thumb {
  width: 100%;
  margin: 0;
  display: block;
}
.up-d-season-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* 本文 */
.up-d-season-text {
  font-size: 100%;
  margin-top: 24px;
  display: flow-root;
  overflow-wrap: anywhere;
}
.up-d-season-text img {
  max-width: 100%;
  height: auto;
}

/* PC（768px〜） */
@media only screen and (min-width: 768px) {
  #header .con_header .txt_tel {
    margin: 0 !important;
  }
  .con_season {
    display: block;
    position: relative;
    width: 90%;
    margin: 9.16667% auto 0;
  }
  .up-d-title {
    position: absolute;
    top: -60px;
    left: 0;
    width: 70%;
    padding: 20px 32px 32px;
    z-index: 2;
  }
  .up-d-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.la-shoro.jp/files/images/common/bg2.png') repeat;
    opacity: 0.85;
    z-index: -1;
  }
  .up-d-season-title {
    font-size: 220%;
  }
  .up-d-season-thumb {
    width: 75%;
    margin-left: auto;
    margin-right: 0;
  }
  .up-d-season-thumb img {
    max-height: 70vh;
    object-fit: contain;
    object-position: right center;
  }
  .up-d-season-text {
    margin-top: 50px;
    padding: 0;
  }
}

/* ページネーション */
.up-d-pager {
  position: relative;
  text-align: center;
  margin: 50px auto 0;
  min-height: 2em;
}
.up-d-prev,
.up-d-next {
  margin: 0;
}
.up-d-prev a,
.up-d-next a {
  display: block;
  text-decoration: none;
  transition: transform 400ms ease;
  letter-spacing: .05em;
  font-size: 115%;
}
.up-d-prev a:hover {
  transform: translateX(-4px);
  color: #313131;
}
.up-d-next a:hover {
  transform: translateX(4px);
  color: #313131;
}
.up-d-prev a::before,
.up-d-next a::after {
  content: "\e905";
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  font-size: 75%;
  padding-left: 1em;
  display: inline-block;
}
.up-d-prev a::before {
  transform: rotate(180deg);
}

/* リンク先がない前へ・次へは非表示（JSで付与） */
.up-d-pager-hidden {
  display: none !important;
}

/* ページネーション PC（768px〜） */
@media only screen and (min-width: 768px) {
  .up-d-pager {
    padding: 0 7em;
    width: 50%;
    box-sizing: border-box;
  }
  .up-d-prev,
  .up-d-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .up-d-prev {
    left: 0;
  }
  .up-d-next {
    right: 0;
  }
}

/* SP（〜767px） */
@media only screen and (max-width: 767px) {
  header .logo {
    margin: 0 !important;
  }
  
  /* 下部固定ナビ：ブラウザ標準の ul・p の余白を解除 */
  #menu,
  #menu p {
    margin: 0;
  }
  
  /* ページネーション：前へ・次へを横並び（前へは左、次へは右） */
  .up-d-pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
  }
  .up-d-next {
    margin-left: auto;
  }
}
