/* ===== ベース ===== */
* { 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-95   { width: 95%;  max-width: 95%;  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; }
.img-60   { width: 60%;  max-width: 60%;  margin: 0 auto; display: block; }
.img-55   { width: 55%;  max-width: 55%;  margin: 0 auto; display: block; }
.img-50   { width: 50%;  max-width: 50%;  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; }
}

/* ===== セクション背景 ===== */
.kv {
  max-width: 1200px;
  margin: 0 auto;
  background-image: url('../img/kv_bg.png');
  background-size: 100% auto; /* container 幅いっぱい */
  background-position: top center;
  background-repeat: no-repeat;
}

.contents1 {
  max-width: 1200px;
  margin: 0 auto;
  background: #CCD3C8;
  padding: 0px 0px 10px;
}

.button-row {
  display: flex;
  justify-content: center; /* 横方向中央揃え */
  gap: 2px;
}

.btn-shine {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.btn-shine a {
  display: inline-block;
  width: auto;
}

.btn-shine a img {
  display: block;
  width: auto; /* 画像の自然幅 */
  max-width: 100%;
}

.btn-shine::after {
  display: none;
/*
  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%; }
}

/* ===== 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%; } }
*/

/* アコーディオン用 */
.zankure-con2 {
  margin-bottom: 0%; /* 下にスペース追加 */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* 表示時 */
.zankure-con2.show {
  opacity: 1;
  max-height: 4000px; /* 必要に応じて大きめに設定 */
}

/* PC/SP 両対応 */
@media (max-width: 768px) {
  .zankure-con2.show {
    max-height: 1000px;
  }
}

.zankure-off-img {
  display: block;
  margin: 0px auto 0; /* 上下の余白 */
  width: 90%;          /* img-90 と同じ幅 */
  cursor: pointer;     /* クリックできることを示す */
}

/* ===== con3用ラップ ===== */
.con3-wrap {
  position: relative;  /* 親を基準に絶対配置 */
  overflow: visible;   /* ボタンがはみ出しても表示 */
}

/* ===== con3ボタン ===== */
.con3-wrap .con3-btn {
  position: absolute;
  top: 80%;       /* ボタンの縦位置調整 */
  left: 62%;      /* ボタンの横位置調整 */
  transform: translate(-50%, -50%);
  display: inline-block;
  width: auto;    /* 画像の比率を維持して拡大可能 */
  height: auto;
}

.con3-wrap .con3-btn img {
  display: block;
  width: 133%;    /* 必要に応じて拡大 */
  max-width: none; /* 親幅で制限しない */
  height: auto;
}

.black-block {
  position: sticky;
  bottom: 0;              /* 親要素の下端に張り付く */
  background: #000;
  padding: 10px;
  z-index: 10;
  box-sizing: border-box;
}

/* ===== 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: 90%;
  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;
  }
}
