

/*  osusume
============================================================================= */
#hot-spot .area-osusume-place>li {
  width: calc((100% - 70px) / 6);
  margin: 10px 0 0 10px;
  border: solid 1px #ccc;
  background: #fff;
}
#hot-spot .area-osusume-place {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  margin-left: -10px;
}
.area-osusume-place figure img {
  width: 100%;
  height: 150px;
}
@media screen and (min-width:768px){
.area-osusume-place {
  background: #fff;
  display: flex;
  justify-content: center;
  margin: 16px 0;
  gap: 5px;
}
}
#hot-spot .area-spotlist-inner-place-spot dt {
  font-size: 1.6rem;
  font-weight: bold;
  border-bottom: 3px solid #eee;
  margin-bottom: 10px;
}


#hot-spot .area-spotlist-place figure {
  position: relative;
}

#hot-spot .area-spotlist-place figcaption {
  position: absolute;
  right: 3px;
  left: initial;
  bottom: 7px;
  padding: 1px 5px;
  color: #fff;
  font-size: 1.0rem;
  background: rgba(0, 0, 0, 0.5);
}

#hot-spot .credit {
  display: flex;
  justify-content: flex-start;
  margin: 15px 21px 0;
  color: #323743;
  font-size: 1.2rem;
}

#hot-spot .note {
  display: flex;
  justify-content: flex-start;
  margin: 3px 21px 0;
  color: #323743;
  font-size: 1.2rem;
}

#hot-spot .area-spotlist-inner-place-osusume {
  /*padding: 10px 5px 0;*/
}

#hot-spot .area-spotlist-inner-place-osusume dt {
  font-size: 1.6rem;
  font-weight: normal;
  /*border-bottom: 3px solid #eee;*/
  margin-bottom: 5px;
}

.area-spotlist-inner-place-osusume {
 width: 100%;
}
.area-spotlist-inner-place-osusume dt {
  text-align: left;
  margin: 5px;
  height:90px;
}

.osusume__listitem a {
font-weight: bold;
font-size: 1.25rem;
color: #000;
}


@media screen and (min-width:768px){
 .osusume__listitem{
   width: calc((100% - 40px) / 7);
   border: solid 1px #ccc;
   background: #fff;
  }
}

@media screen and (max-width:767px){
  .area-osusume-place {
    gap: 5px;
    width: 100%;
  }
#hot-spot .area-osusume-place>li {
    width: calc((100% - 70px) / 2);
    margin: 10px 0 0 10px;
    border: solid 1px #ccc;
    background: #fff;
  }
.osusume__listitem{
  margin: 10px 0 0 0px;
  border: solid 1px #ccc;
  background: #fff;
  float:left;
  }

  .area-osusume-place figure img {
    width: 100%;
    height: auto;
  }
  .area-spotlist-inner-place-osusume dt {
   height:60px;
}
}

.yado.area {
    display: block;
    font-size: 1.1rem;
    margin-top: 4px;
    color: #323743;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.yado.area:before {
    display: inline-block;
    margin: 0 2px 1.2px -2px;
    vertical-align: middle;
    font-size: 15px;
    padding-left: 2px;
    content: '\E0C8';
    font-family: 'Material Icons Round';
}
dt.hotel-name {
    line-height: 1.3;
}


@media screen and (max-width:767px){
  .carousel {
    position: relative;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--carousel-transition-timing-function, initial);
    overflow-x: scroll;
    overflow-y: hidden;
  }
  .carousel_item {
    min-width: 155px;
    max-width: 300px;
  }
  .carousel_cassette {
    min-width: 200px;
    max-width: 300px;
  }
}

/* =============================================================================
   ★JS修正版：#hot-spot専用 カルーセル化 ＋ クーポン下揃えCSS
============================================================================= */

/* 矢印ボタンを絶対配置(absolute)するための基準点 */
#hot-spot .spot-sect__inner {
  position: relative;
}

/* 宿カード内部を縦並びのFlexboxにして、一番背の高いカードの高さに全員を自動で同期させる */
#hot-spot .area-osusume-place > li {
  display: flex;
  flex-direction: column;
}
#hot-spot .area-spotlist-inner-place-osusume,
#hot-spot .area-spotlist-inner-place-osusume dl {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 既存CSSの固定高さを「auto」に上書きして文字数可変にする */
#hot-spot .area-spotlist-inner-place-osusume dt {
  height: auto;
}

/* 最後のdt（この宿のクーポンを見る）に自動マージンをかけ、一律一番下に吸着させる */
#hot-spot .area-spotlist-inner-place-osusume dt:last-child {
  margin-top: auto;
  padding-top: 8px;
}


/* -----------------------------------------------------------------------------
   【初期表示用】偽物の右矢印ボタンのスタイル（本物と全く同じ見た目）
----------------------------------------------------------------------------- */
#hot-spot .dummy-arrow-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 50%;
  z-index: 10;
  display: none; /* スマホでは初期非表示 */
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  right: -20px;
}

#hot-spot .dummy-arrow-next::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  display: block;
  transform: rotate(135deg);
  margin-right: 3px;
}

@media screen and (min-width: 768px) {
  #hot-spot .dummy-arrow-next {
    display: flex; /* PC環境ではページを開いた瞬間から表示する */
  }
}

/* 0.5秒後にJSが起動し、本物のボタン（.pc-carousel-arrow）が生成されたら、偽物は自動消滅 */
#hot-spot .spot-sect__inner:has(.pc-carousel-arrow) .dummy-arrow-next {
  display: none;
}


/* -----------------------------------------------------------------------------
   【PC環境：768px以上】#hot-spotの カルーセル化（6.5枚チラ見せ）
----------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
  /* 最初から横スクロールの土台を作っておく（ガタつき防止） */
  #hot-spot ul.area-osusume-place {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: 0;
    gap: 5px;
    padding-bottom: 15px;
    scrollbar-width: none;
  }
  
  #hot-spot ul.area-osusume-place::-webkit-scrollbar {
    display: none;
  }

  /* アイテム幅も最初から6.5等分にしておく */
  #hot-spot ul.area-osusume-place > li.osusume__listitem {
    flex: 0 0 calc((100% - 30px) / 6.5);
    min-width: calc((100% - 30px) / 6.5);
    width: calc((100% - 30px) / 6.5);
    margin: 10px 0 0 0;
  }

  /* 本物の矢印ボタンのスタイル */
  #hot-spot .pc-carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: opacity 0.2s, background 0.2s;
  }
  #hot-spot .pc-carousel-arrow:hover { background: #fff; }
  #hot-spot .pc-carousel-arrow--prev { left: -20px; }
  #hot-spot .pc-carousel-arrow--next { right: -20px; }

  #hot-spot .pc-carousel-arrow::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-left: 2px solid #333;
    display: block;
  }
  #hot-spot .pc-carousel-arrow--prev::after { transform: rotate(-45deg); margin-left: 3px; }
  #hot-spot .pc-carousel-arrow--next::after { transform: rotate(135deg); margin-right: 3px; }
}


/* -----------------------------------------------------------------------------
   【SP環境：767px以下】#hot-spotの カルーセル化（CSSのみ）
----------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  #hot-spot ul.area-osusume-place {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: 0;
    gap: 5px;
  }

  #hot-spot ul.area-osusume-place > li.osusume__listitem {
    float: none;
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    margin: 10px 0 0 0;
  }
}

.area-spotlist-inner-place-osusume figure a:hover {
    opacity: .8;
}

/* ============================================
   発地による出し分け（共通ルール）
============================================ */

/* 【セクション全体】どの発地クラスも持つ要素は初期状態は非表示にしない（後述で制御） */

/* 【カセット】dept_kokunai_XXX が付いているカセットは初期非表示 */
/* 詳細度を上げて display:flex を打ち消す */
#hot-spot .area-osusume-place > li[class*="dept_kokunai_"],
#osusume-spot .area-osusume-place > li[class*="dept_kokunai_"] {
  display: none;
}

/* ============================================
   現在の発地に応じて表示
   body[data-dept="XXX"] に応じて切替
============================================ */

/* セクション全体 */
body[data-dept="SPK"] .dept_kokunai_SPK,
body[data-dept="SDJ"] .dept_kokunai_SDJ,
body[data-dept="KIJ"] .dept_kokunai_KIJ,
body[data-dept="TYO"] .dept_kokunai_TYO,
body[data-dept="NGO"] .dept_kokunai_NGO,
body[data-dept="HKJ"] .dept_kokunai_HKJ,
body[data-dept="OSA"] .dept_kokunai_OSA,
body[data-dept="HIJ"] .dept_kokunai_HIJ,
body[data-dept="FUK"] .dept_kokunai_FUK {
  display: block; /* divの場合 */
}

/* カセット（liはflexで表示したい） */
body[data-dept="SPK"] #hot-spot .area-osusume-place > li.dept_kokunai_SPK,
body[data-dept="SPK"] #osusume-spot .area-osusume-place > li.dept_kokunai_SPK,
body[data-dept="SDJ"] #hot-spot .area-osusume-place > li.dept_kokunai_SDJ,
body[data-dept="SDJ"] #osusume-spot .area-osusume-place > li.dept_kokunai_SDJ,
body[data-dept="KIJ"] #hot-spot .area-osusume-place > li.dept_kokunai_KIJ,
body[data-dept="KIJ"] #osusume-spot .area-osusume-place > li.dept_kokunai_KIJ,
body[data-dept="TYO"] #hot-spot .area-osusume-place > li.dept_kokunai_TYO,
body[data-dept="TYO"] #osusume-spot .area-osusume-place > li.dept_kokunai_TYO,
body[data-dept="NGO"] #hot-spot .area-osusume-place > li.dept_kokunai_NGO,
body[data-dept="NGO"] #osusume-spot .area-osusume-place > li.dept_kokunai_NGO,
body[data-dept="HKJ"] #hot-spot .area-osusume-place > li.dept_kokunai_HKJ,
body[data-dept="HKJ"] #osusume-spot .area-osusume-place > li.dept_kokunai_HKJ,
body[data-dept="OSA"] #hot-spot .area-osusume-place > li.dept_kokunai_OSA,
body[data-dept="OSA"] #osusume-spot .area-osusume-place > li.dept_kokunai_OSA,
body[data-dept="HIJ"] #hot-spot .area-osusume-place > li.dept_kokunai_HIJ,
body[data-dept="HIJ"] #osusume-spot .area-osusume-place > li.dept_kokunai_HIJ,
body[data-dept="FUK"] #hot-spot .area-osusume-place > li.dept_kokunai_FUK,
body[data-dept="FUK"] #osusume-spot .area-osusume-place > li.dept_kokunai_FUK {
  display: flex;
}
