/* レスポンシブ非表示用 */
@media (max-width: 767px) {
    .pc { display: none; }
}
@media (min-width: 768px) {
    .sp { display: none; }
}

/* ページ背景 */
body { background: black; }

/* 動画コンテナ */
.video-container { 
    width: 100%; 
    background: black; 
}
.video-container video { 
    width: 100%; 
    height: auto; 
    display: block; 
    max-height: 90vh; 
}

/* メインエリア */
.ampkg_main-area { 
    width: 100%; 
    margin: 0; 
}
.ampkg_main-area img { 
    width: 100%; 
    display: block; 
}

/* コンテンツエリア */
.ampkg_contents_area{
  width: 100%;
  max-width: 1200px; /* 必要に応じて調整 */
  margin: 0 auto; /* 横方向中央寄せ */
  text-align: center; /* テキストやインライン要素を中央寄せ */
  margin-top: 5em;
}
@media (max-width: 767px) {
    .ampkg_contents_area{
       max-width: 90vw;
    } 
}
.ampkg_title img{
    margin: 0 auto;
    width: auto;
    height: 224px;
}
@media (max-width: 767px) {
    .ampkg_title img{
        width:65vw;
        height: auto;
    }
}
.ampkg_img{
    width: 100%;
    margin: 2em auto;
}

/* カルーセル全体 */
.carousel {
  position: relative;
  max-width: 70.46875vw; /* 画像と同じ幅 */
  margin: 0 auto;
  overflow: hidden;       /* 画像はみ出さない */
}
@media (max-width: 767px) {
    .carousel {
        max-width: 80vw;
    }
}

/* スライドトラック */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* 各スライド */
.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 矢印ボタン */
.carousel-button {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 3rem;        /* 通常サイズ */
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1); /* scale(1)で通常サイズ */
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  padding: 0.2rem;
}

/* 左右位置 */
.carousel-button.prev {
  left: 0.5rem;
}
.carousel-button.next {
  right: 0.5rem;
}

/* ホバー時：表示＋少し拡大 */
.carousel:hover .carousel-button {
  opacity: 1;
  transform: translateY(-50%) scale(1.2); /* 20%拡大 */
}


/* ドットナビ */
.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}

.carousel-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: #333;
}

  /* 購入ボタン */
.ampkg_mall-area {
  width: 1000px;
  margin: 0 auto 5em;
  position: relative;
}
@media (max-width: 767px) {
    .ampkg_mall-area {
  width: 90%;
  margin: 0 auto 1em;
}
}

.background-image {
  width: 100%;
  height: auto;
  display: block;
}

.btn-container {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全に中央揃え */
  display: flex;
  gap: 10px; /* ボタン間の余白 */
}
@media (max-width: 767px) {
    .btn-container {
        bottom: -5%;
    }
}

.btn-light {
    font-size: 30px;
  display: block;
  background-image: url("../img/konyu-btn.png");
  background-color: transparent;
  border: 0;
  color: #fff;
  font-weight: bold;
  width: 350px;
  height: 75px;
  background-size: cover;
  background-position: center;
  text-align: center;
  line-height: 70px;
}
@media (max-width: 767px) {
    .btn-light {
        font-size: 20px;
        width: 250px;
        height: 53px;
        line-height: 50px;
    }
}

.btn-light:hover {
  opacity: 0.8; /* ホバー時のエフェクト */
    color: #fff;
}