/* Base - body as scroll container so content can expand */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Slider */
.lp-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em 0;
  box-sizing: border-box;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  touch-action: pan-y pinch-zoom;
}

.slider-track {
  position: relative;
  width: 100%;
  min-height: 85vh;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 0.5em;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.slider-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slider-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  vertical-align: top;
}

/* Slide Counter (top fixed) */
.slide-counter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  padding: 6px 0;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* Arrows */
.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-arrow:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.slider-arrow--prev {
  left: 4px;
}

.slider-arrow--next {
  right: 4px;
}

.slider-arrow__icon {
  font-size: 1.2em;
  line-height: 1;
  font-weight: bold;
}

/* CTA Bar (bottom fixed) */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  gap: 0;
  background: #1a1a1a;
  padding: 8px 10px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.cta-btn:active {
  opacity: 0.8;
}

.cta-btn--hp {
  background: #1565c0;
  color: #fff;
  margin-right: 5px;
}

.cta-btn--contact {
  background: #e65100;
  color: #fff;
  margin-left: 5px;
}

/* img18 overlay links */
.img18-container {
  position: relative;
  display: block;
  width: 100%;
}

.img18-container img {
  display: block;
  width: 100%;
  height: auto;
}

.img18-area {
  position: absolute;
  display: block;
}

/* mobox「詳しくはこちら」ボタン */
.img18-area--1 {
  top: 41.4%;
  left: 46.6%;
  right: 0;
  height: 10.3%;
}

/* オンラインストア「詳しくはこちら」ボタン */
.img18-area--2 {
  top: 90.4%;
  left: 46.6%;
  right: 0;
  height: 6.9%;
}

/* Tablet and below: full-width, allow vertical scroll */
@media (max-width: 768px) {
  .lp-slider {
    /*padding: 30px 0 50px;*/
      padding: 30px 0 0;
    margin: 0;
    width: 100%;
    min-height: 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .slider-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .slider-track {
    min-height: 0;
    width: 100%;
    overflow: visible;
  }

  .slider-item {
    padding: 0;
    margin: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .slider-item.is-active {
    position: relative;
  }

  .slider-item img {
    width: 100%;
    max-width: 100%;
    max-height: none !important;
    height: auto !important;
    object-fit: contain;
    object-position: top;
    display: block;
    vertical-align: top;
  }
}

/* Small viewport height: show full image (e.g. landscape phone) */
@media (max-height: 600px) {
  .slider-item img {
    max-height: none !important;
  }
}

/* Desktop: arrows overlay on image, wider container */
@media (min-width: 769px) {
  .lp-slider {
    /*padding: 40px 0 60px;*/
    padding: 40px 0 0px;
  }

  .slider-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .slider-item {
    padding: 0 1em;
  }

  .slider-arrow {
    width: 48px;
    height: 48px;
  }

  .slider-arrow--prev {
    left: 10px;
  }

  .slider-arrow--next {
    right: 10px;
  }

  .slider-arrow__icon {
    font-size: 1.5em;
  }
}



/* 予約するボタン（下部固定） */
.yoyaku-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: #1a1a1a;
}
.yoyaku-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 8px;
  border-radius: 6px;
  letter-spacing: 0.1em;
  background: #e8001c;
  color: #fff;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.yoyaku-btn:active {
  opacity: 0.8;
}

/* img04 overlay links */
.img04-container {
  position: relative;
  display: block;
  width: 100%;
}
.img04-container img {
  display: block;
  width: 100%;
  height: auto;
}
.img04-area {
  position: absolute;
  display: block;
}
/* APP STOREからダウンロード */
.img04-area--1 {
  top: 72.5%;
  left: 40%;
  right: 0;
  height: 7.5%;
}
/* GooglePLAYからダウンロード */
.img04-area--2 {
  top: 82%;
  left: 40%;
  right: 0;
  height: 8%;
}

/* img13 overlay links */
.img13-container {
  position: relative;
  display: block;
  width: 100%;
}
.img13-container img {
  display: block;
  width: 100%;
  height: auto;
}
.img13-area {
  position: absolute;
  display: block;
}
/* アウトレットシークレットサイトへ */
.img13-area--1 {
  top: 91%;
  left: 0;
  right: 0;
  height: 7%;
}
