/* ===== ベース ===== */
* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: sans-serif; background-color: #fff; color: #333; }

/* ===== ヘッダー ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}
.header-inner {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
  height: 70px;
  background: #000;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.header-inner a { display: inline-block; }
.header-inner img { height: 50px; width: auto; display: block; }

/* ===== メイン ===== */
main { padding-top: 70px; padding-bottom: 0px; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0; /* 左右パディングなし */
  background: #fff;
}

/* ===== コンテンツ画像 ===== */
.content-img {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  overflow: hidden;
  display: block;
  text-align: center;
}
.content-img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 幅指定クラス */
.img-full { width: 100%; max-width: 100%; margin: 0 auto; display: block; }
.img-90   { width: 90%;  max-width: 90%;  margin: 0 auto; display: block; }
.img-80   { width: 80%;  max-width: 80%;  margin: 0 auto; display: block; }
.img-70   { width: 70%;  max-width: 70%;  margin: 0 auto; display: block; }

/* 下マージンクラス */
.mb-2  { margin-bottom: 2%; }
.mb-5  { margin-bottom: 5%; }
.mb-10 { margin-bottom: 10%; }

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

/* PC/SP 切替 */
.img-pc { display: block; }
.img-sp { display: none; }
@media (max-width: 768px) {
  .img-pc { display: none; }
  .img-sp { display: block; }
}

/* ===== shine（キラッと） ===== */
.shine::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: shineLoop 2s linear infinite;
}
@keyframes shineLoop { 0% { left: -75%; } 100% { left: 125%; } }

/* ===== Swiper ===== */
.swiper {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  padding-bottom: 110px;
  position: relative;
}

/* スライダーをコンテンツ幅100%に収める */
.content-img .swiper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.swiper .swiper-wrapper { display:flex; }
.swiper .swiper-slide img { display:block; width:100%; height:auto; }

.swiper-button-prev, .swiper-button-next {
  width: 40px; height: 40px; background-size: contain; background-repeat: no-repeat; background-position: center;
}
.swiper-button-prev { background-image: url('../img/prev.png'); }
.swiper-button-next { background-image: url('../img/next.png'); }
.swiper-button-prev::after, .swiper-button-next::after { display: none; }

/* ===== ページネーション調整 ===== */
.swiper-pagination {
  bottom: 85px !important; /* 下からの位置 */
  text-align: center;
}
.swiper-pagination-bullet {
  width: 14px;  /* ドット横幅 */
  height: 14px; /* ドット高さ */
  background: #595957;
  opacity: 0.7;
  margin: 0 6px !important; /* ドット間隔 */
}
.swiper-pagination-bullet-active {
  background: #009299; /* アクティブ色 */
  opacity: 1;
}

/* ===== フッター ===== */
footer {
  height: 85px; /* PC時に少し高く */
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer img { height: 35px; width: auto; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 12px; height: 50px; } 
  .header-inner img { height: 35px; } 
  main { padding-top: 50px; }
  footer {
    height: 45px;
  }
  footer img { height: 20px; }
  .swiper { margin: 2rem 0; padding-bottom: 40px; }
  .swiper-slide { padding: 0 5px; }
  .swiper-button-prev, .swiper-button-next { width: 25px; height: 25px; }

  /* ページネーションも小さめに */
  .swiper-pagination {
    bottom: 15px !important;
  }
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px !important;
  }
}
