@charset "UTF-8";

/* ==========================================================================
   トップページ
   ========================================================================== */

/* --- メインビジュアル -----------------------------------------------------
   5枚を横に流すスライド。最後の1枚は先頭の複製で、つなぎ目を目立たなくする
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__track {
  display: flex;
  width: 600%;
  animation: hero-slide 25s infinite;
}

.hero__track picture {
  flex: 0 0 calc(100% / 6);
}

.hero__track img {
  width: 100%;
}

@keyframes hero-slide {
  0%, 16% { translate: 0; }
  20%, 36% { translate: calc(-100% / 6); }
  40%, 56% { translate: calc(-200% / 6); }
  60%, 76% { translate: calc(-300% / 6); }
  80%, 96% { translate: calc(-400% / 6); }
  100% { translate: calc(-500% / 6); }
}

.hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 498px;
  margin-top: -15px;
  padding: 0 30px;
  translate: -50% -50%;
}

.hero__catch {
  position: absolute;
  right: 20px;
  bottom: 25px;
  left: 20px;
  text-align: center;
}

.hero__catch span {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-brand);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
}

.hero__catch strong {
  font-size: 140%;
  font-weight: inherit;
  vertical-align: -2px;
}

@media (max-width: 800px) {
  .hero__logo {
    margin-top: -8px;
  }

  .hero__catch span {
    padding: 10px 15px;
    font-size: 0.9375rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__track {
    animation: none;
  }
}

/* --- 宿泊予約の帯（PC） ---------------------------------------------------- */

.reserve-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--color-reserve);
  color: #fff;
}

.reserve-bar__title {
  padding-right: 60px;
  border-right: 1px solid rgb(255 255 255 / 0.2);
  font-size: 1.25rem;
  text-align: center;
}

.reserve-bar__title img {
  width: 25px;
  margin: 0 auto 10px;
}

.reserve-bar__links {
  display: grid;
  gap: 10px;
  padding-left: 60px;
}

.reserve-bar__links a {
  min-width: 14em;
  padding: 12px 5px;
  background-color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background-color 0.5s;
}

.reserve-bar__links a:hover {
  background-color: rgb(255 255 255 / 0.6);
  opacity: 1;
}

/* --- スマホの3つのボタン --------------------------------------------------- */

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
  background-color: var(--color-reserve);
}

.quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  border-radius: 5px;
  background-color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
}

/* --- 4つの特長 --------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: feature;
}

.features li > * {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 35px 30px 25px;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #fff;
  counter-increment: feature;
}

.features li > *::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: -10px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-brand);
  color: #fff;
  font-weight: 600;
}

.features img {
  width: 100%;
  max-width: 200px;
}

.features p {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 70px;
  color: #000;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.group-banner {
  display: block;
  margin-top: 40px;
}

.group-banner img {
  margin-inline: auto;
}

@media (max-width: 1040px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .features {
    gap: 20px;
    padding: 0 10px;
  }

  .features li > * {
    padding: 20px 15px 10px;
  }

  .features p {
    font-size: 0.875rem;
  }

  .group-banner {
    margin-top: 20px;
  }

  .group-banner img {
    width: 95%;
  }
}

/* --- お部屋タイプのカルーセル ---------------------------------------------- */

.rooms {
  padding: 30px 0 35px;
}

.carousel__track {
  position: relative;
  display: flex;
  padding-inline: calc((100% - var(--carousel-slide, 60%)) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track > li {
  flex: 0 0 100%;
  padding: 0 25px;
  scroll-snap-align: center;
}

.room-card img {
  width: 100%;
}

.room-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.room-card h3 {
  margin: 10px 0 15px;
  color: var(--color-brand);
  font-size: 1.5rem;
  line-height: 1.3;
}

.room-card h3 span {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1;
}

.room-card__more {
  padding: 8px 14px;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 17px;
  padding: 4px 0;
}

.carousel__dots button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel__dots button::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: auto;
  border-radius: 50%;
  background-color: #000;
  opacity: 0.25;
}

.carousel__dots button[aria-current="true"]::before {
  opacity: 0.75;
}

@media (max-width: 800px) {
  .carousel__track {
    --carousel-slide: 60%;
  }

  .carousel__track > li {
    padding: 0 10px;
  }

  .room-card h3 {
    font-size: 1.0625rem;
    letter-spacing: 0;
  }

  .room-card h3 span {
    margin-top: 5px;
    font-size: 0.8125rem;
  }

  .room-card__more {
    padding: 8px 10px;
  }
}

/* --- おすすめプラン ---------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.plans img {
  width: 100%;
  margin-bottom: 10px;
}

.plans h3 {
  color: var(--color-navy);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .plans {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- お知らせ ------------------------------------------------------------------ */

.news-list {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding: 20px 0;
  border-block: 1px dotted var(--color-line);
}

.news-list li + li {
  margin-top: 10px;
}

.news-list a {
  text-decoration: underline;
}

.news-list time {
  display: block;
}

/* --- アクセス ------------------------------------------------------------------ */

.access-overview {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 10px;
  margin-bottom: 30px;
}

.access-overview img {
  width: 100%;
}

.access-overview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access-detail h3 {
  margin-bottom: 10px;
  color: var(--color-brand);
  font-size: 1.5rem;
  line-height: 1;
}

.access-detail__body {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 20px;
}

.access-detail__note {
  margin-bottom: 15px;
}

.access-detail .button {
  width: 100%;
  font-size: 0.875rem;
}


@media (max-width: 1040px) {
  .access-detail__body {
    grid-template-columns: 55fr 45fr;
  }
}

@media (max-width: 800px) {
  .access-overview,
  .access-detail__body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .access-overview {
    margin-bottom: 30px;
  }

  .access-overview iframe {
    aspect-ratio: 4 / 3;
  }

  .access-detail h3 {
    font-size: 1.125rem;
  }
}
