/* ===================================================================
  Hotel Section - /dog/
=================================================================== */

/* --- 共通セクション --- */
.hotel {
  background: #E2F4E7;
}

.hotel-section__header {
  display: grid;
  place-items: center;
}

.hotel-section__title {
  display: inline-flex;
  align-items: center;
  color: #01A640;
  font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
}

.hotel-section__title::before,
.hotel-section__title::after {
  content: "";
  display: inline-block;
  background: url("../images/hotel/icon-ashiato.svg") no-repeat center / contain;
  flex-shrink: 0;
}

.hotel-section__lead {
  font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
}

.hotel-section__body {
  display: grid;
}

/* --- バナー --- */
.hotel-bnr {
  margin-bottom: 0;
}

.hotel-bnr figure {
  margin: 0;
}

.hotel-bnr img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- メディアブロック共通 --- */

.hotel-media__figure {
  margin: 0;
  overflow: hidden;
}

.hotel-media__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.hotel-media__caption {
  font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.hotel-media__caption-sub {
  text-align: center;
  font-family: font-YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
  font-style: normal;
  font-weight: 500;

  &:has(span) {
    display: flex;
    justify-content: center;
    column-gap: 20px;
  }
}

/* --- ボタン --- */
.hotel-btn-wrap {
  display: flex;
  justify-content: center;
}

.hotel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #01A640;
  color: #fff !important;
  font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  position: relative;

  .arrow {
    position: absolute;
    display: inline-block;
  }

  .arrow::before,
  .arrow::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    background-color: #ffffff;
  }

  .arrow::before {
    transform: rotate(45deg);
  }

  .arrow::after {
    transform: rotate(-45deg);
  }
}

.hotel-btn:hover,
.benefit-card__desc a:hover {
  opacity: 0.7;
}

/* ===================================================================
  PC (min-width: 768px)
=================================================================== */
@media screen and (min-width: 768px),
print {
  .only-sp {
    display: none !important;
  }

  .hotel {
    background: #E2F4E7;
    padding: 48px 32px 8px 32px;
    margin-bottom: 40px;
  }

  .hotel-section {
    margin-top: 55px;
  }

  .hotel-section__header {
    row-gap: 18px;
    margin-bottom: 18px;
  }

  .hotel-section__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
  }

  .hotel-section__title::before,
  .hotel-section__title::after {
    width: 22px;
    height: 22px;
    margin-inline: 16px;
  }

  .hotel-section__lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
  }

  .hotel-section__body {
    row-gap: 25px;
  }

  .hotel-media__caption {
    margin-top: 18px;
    font-size: 20px;
    line-height: 36px;
  }

  .hotel-media__caption-sub {
    font-size: 16px;
    line-height: 160%;
    margin-top: 10px;
  }

  /* --- ボタン --- */
  .hotel-btn-wrap {
    column-gap: 20px;
  }

  .hotel-btn {
    gap: 8px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 14px;
    padding: 15px 16px;
    min-width: 260px;
    text-decoration: none !important;
    transition: opacity 0.3s ease;

    .arrow {
      width: 6.9px;
      height: 11.9px;
      right: 16px;
    }

    .arrow::before,
    .arrow::after {
      top: calc(50% - 1px);
      right: 0;
      width: 9px;
      height: 2px;
      transform-origin: calc(100% - 1px) 50%;
    }
  }

  .hotel-btn:hover {
    opacity: 0.7;
  }

  /* 2カラム */
  .hotel-media--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
  }

  /* 3カラム（PCではシンプルに横3つ並び） */
  .hotel-media--3col .hotel-media__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
  }

  /* PCではスライダー非表示 */
  .hotel-media--3col .hotel-media__slider {
    display: none;
  }

  .hotel-section--meal--block02 {
    margin-top: 20px;
  }

  /* --- 嬉しい宿泊特典 (benefit) --- */
  .hotel-section--benefit .hotel-section__body {
    row-gap: 40px;
  }

  .benefit-card {
    display: grid;
    grid-template-columns: 390px auto;
    gap: 36px;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #fff;

    &:nth-child(2) {
      align-items: start;
    }

    &:last-child {
      border-bottom: none;
    }
  }

  .benefit-card__img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .benefit-card__title {
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    margin-bottom: 5px;
  }

  .benefit-card__point {
    display: flex;
    padding: 1px 8px;
    justify-content: center;
    align-items: center;
    color: #01A640;
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 18px;
    width: fit-content;
    background-color: #fff;
  }

  .benefit-card__desc {
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
  }

  .benefit-card__desc a {
    color: #01A640;
    text-decoration: underline !important;
    transition: opacity 0.3s ease;
  }

  /* --- 料金表 --- */
  .benefit-price__row {
    display: grid;
    grid-template-columns: 55px 68px 30px auto;
    align-items: center;
    width: fit-content;
  }

  .benefit-price__label,
  .benefit-price__num {
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
  }

  .benefit-price__label {
    min-width: 3.5em;
  }

  .benefit-price__yen {
    display: inline-block;
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    padding-inline: 3px;
  }

  .benefit-price__arrow {
    display: inline-block;
    width: 18px;
    height: 14px;
    background: url("../images/hotel/icon-arrow-green.svg") no-repeat center / contain;
    flex-shrink: 0;
    margin-inline: 3px;
  }

  .benefit-price__free {
    color: #01A640;
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
  }

  .benefit-price__before,
  .benefit-price__after {
    display: inline-flex;
    align-items: baseline;
    justify-content: end;
  }

  .benefit-price__after {
    .benefit-price__yen {
      color: #01A640;
    }
  }
}

/* ===================================================================
  SP (max-width: 767px)
=================================================================== */
@media screen and (max-width: 767px) {
  .hotel {
    background: #E2F4E7;
    padding: 5.12vw 5.12vw 2vw 5.12vw;
    margin-bottom: 10.24vw;
  }

  .hotel-section {
    margin-top: 11vw;
  }

  .hotel-section__header {
    row-gap: 1vw;
    margin-bottom: 3.5vw;
  }

  .hotel-section__title {
    font-size: 5.12vw;
    font-weight: 700;
    line-height: 9.22vw;
  }

  .hotel-section__title::before,
  .hotel-section__title::after {
    width: 4.86vw;
    height: 4.86vw;
    margin-inline: 3.07vw;
  }

  .hotel-section__lead {
    font-size: 3.58vw;
    font-weight: 500;
    line-height: 6.14vw;
    text-align: center;
  }

  .hotel-section__body {
    row-gap: 3.5vw;
  }

  .hotel-media__caption {
    margin-top: 3vw;
    font-size: 4.1vw;
    line-height: 7vw;
  }

  .hotel-media__caption-sub {
    font-size: 3.4vw;
    line-height: 6.14vw;
    margin-top: 3vw;

    &:has(span) {
      display: flex;
      flex-direction: column;
      justify-content: center;
      column-gap: 20px;
    }
  }

  /* --- ボタン --- */
  .hotel-btn-wrap {
    flex-direction: column;
    row-gap: 4.1vw;
    align-items: center;
  }

  .hotel-btn {
    gap: 2.05vw;
    border-radius: 1.02vw;
    font-size: 3.58vw;
    line-height: 3.58vw;
    padding: 3.33vw 4.1vw;
    width: 55vw;
    text-decoration: none !important;
    transition: opacity 0.3s ease;

    .arrow {
      width: 1.02vw;
      height: 2.05vw;
      right: 4.1vw;
    }

    .arrow::before,
    .arrow::after {
      top: calc(50% - 0.26vw);
      right: 0;
      width: 1.8vw;
      height: 0.3vw;
      transform-origin: calc(100% - 0.26vw) 50%;
    }
  }

  /* 2カラム */
  .hotel-media--2col {
    display: grid;
    row-gap: 2.5vw;
  }

  /* SPではPC用grid非表示 */
  .hotel-media--3col .hotel-media__grid {
    display: none;
  }

  /* SP: Splide スライダー表示 */
  .hotel-media--3col .hotel-media__slider {
    display: block;
  }

  /* Splide ページネーション */
  .hotel-media--3col .splide__pagination {
    margin-top: 3.07vw;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 4vw;
    position: absolute;
    bottom: 3vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .hotel-media--3col .splide__pagination__page {
    display: inline-block;
    width: 2.05vw;
    height: 2.05vw;
    border-radius: 50%;
    background: #FFF;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
  }

  .hotel-media--3col .splide__pagination__page.is-active {
    background: #01A640;
  }

  .hotel-section--meal--block02 {
    margin-top: 3.3vw;
  }

  /* --- 嬉しい宿泊特典 (benefit) --- */
  .hotel-section--benefit .hotel-section__body {
    row-gap: 8.19vw;
  }

  .benefit-card {
    display: grid;
    row-gap: 3vw;
    padding-bottom: 5.5vw;
    border-bottom: 2px solid #fff;

    &:last-child {
      border-bottom: none;
    }
  }

  .benefit-card__img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .benefit-card__title {
    font-family: font-YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 3.84vw;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 2vw;
  }

  .benefit-card__point {
    display: flex;
    padding: 0.2vw 2.05vw;
    justify-content: center;
    align-items: center;
    color: #01A640;
    font-family: font-YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 4.61vw;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 3.5vw;
    width: fit-content;
    background-color: #fff;
  }

  .benefit-card__desc {
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 3.58vw;
    line-height: 160%;
  }

  .benefit-card__desc a {
    color: #01A640;
    text-decoration: underline !important;
  }

  /* --- 料金表 --- */
  .benefit-price__row {
    display: grid;
    grid-template-columns: 15vw 14.08vw 6vw auto;
    align-items: center;
    width: fit-content;
  }

  .benefit-price__label,
  .benefit-price__num {
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 4.1vw;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
  }

  .benefit-price__label {
    min-width: 12.29vw;
  }

  .benefit-price__yen {
    display: inline-block;
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 3.33vw;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    padding-inline: 0.6vw;
  }

  .benefit-price__arrow {
    display: inline-block;
    width: 4.61vw;
    height: 3.58vw;
    background: url("../images/hotel/icon-arrow-green.svg") no-repeat center / contain;
    flex-shrink: 0;
    margin-inline: 0.4vw;
  }

  .benefit-price__free {
    color: #01A640;
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
    font-size: 4.1vw;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
  }

  .benefit-price__before,
  .benefit-price__after {
    display: inline-flex;
    align-items: baseline;
    justify-content: end;
  }

  .benefit-price__after {
    .benefit-price__yen {
      color: #01A640;
    }
  }
}