/* ==========================================================================
 * SNS + Gallery セクション専用スタイル
 * 元ファイル: tdp_reve-lumieres/css/base.css から該当セレクタのみ抽出
 * （atelier-lumieres の既存スタイルとの衝突を避けるためファイル分離）
 * ========================================================================== */

/* --- SNS+Gallery セクション全体（黒背景パネル） --- */
.snsGallerySection {
  background-color: #000;
  color: #fff;
  padding: 100px 0 100px;
  width: 100%;
  position: relative;
  font-family: 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  letter-spacing: 1px;
  z-index: 5; /* 固定 KV (.videoSection z-index:0) より前面に */
}
.snsGallerySection a:link,
.snsGallerySection a:visited {
  color: #fff;
  text-decoration: none;
  transition: 0.2s linear;
  border-style: none;
}
.snsGallerySection a:hover {
  color: #fff;
  text-decoration: underline;
}
.snsGallerySection img {
  max-width: 100%;
  height: auto;
}

.snsGallerySection .container1080 {
  width: 92%;
  max-width: 1080px;
  margin: 0 auto;
}

/* --- Official SNS タイトル --- */
.snsGallerySection .sns_title {
  text-align: center;
}

.snsGallerySection .sns_h2 {
  color: #C2BECA;
  font-size: 4.5rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 400;
  font-family: "Bebas Neue", sans-serif;
  margin: 0;
  padding: 0;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* --- SNS アイコン群 --- */
.snsGallerySection .sns_link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 0;
  padding: 0 1px 0 0;
}

.snsGallerySection .sns_link .icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #6503D3;
  margin-right: 15px;
  margin-left: 15px;
  border-radius: 4px;
}

.snsGallerySection .sns_link img {
  width: 24px;
  height: auto;
}

.snsGallerySection .sns_link a:hover {
  animation: dora-swing 0.6s ease;
}

.snsGallerySection .sns_link a:hover img {
  opacity: 1;
}

@keyframes dora-swing {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-12deg); }
  50%  { transform: rotate(10deg); }
  75%  { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

/* --- Gallery（Instagram） --- */
.snsGallerySection .insta-box {
  border-top: 1px solid #666;
  position: relative;
  padding: 40px 0;
  margin: 80px 0 0;
  text-align: center;
}

/* 短い縦線を左右に描く */
.snsGallerySection .insta-box::before,
.snsGallerySection .insta-box::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100px;
  background: #666;
}
.snsGallerySection .insta-box::before { left: 0; }
.snsGallerySection .insta-box::after  { right: 0; }

.snsGallerySection .insta-title {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 4px;
  background-color: #000;
  color: #fff;
  width: auto;
  white-space: nowrap;
  font-family: 'Bebas Neue', sans-serif;
}

.snsGallerySection .insta-images {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.snsGallerySection .insta-item {
  width: 30%;
  margin-right: 5%;
}

.snsGallerySection .insta-item:nth-child(3n) {
  margin-right: 0;
}

.snsGallerySection .insta-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 1024px) {
  .snsGallerySection .insta-images { width: 95%; }
}

@media screen and (max-width: 640px) {
  .snsGallerySection { padding: 70px 0 70px; }
  .snsGallerySection .container1080 { width: 90%; }
  .snsGallerySection .sns_h2 {
    font-size: 3.5rem;
    line-height: 1.2;
  }
  .snsGallerySection .sns_link {
    margin: 30px 0 0;
  }
  .snsGallerySection .insta-images {
    flex-direction: column;
    align-items: center;
  }
  .snsGallerySection .insta-item {
    width: 80%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .snsGallerySection .insta-item:last-child {
    margin-bottom: 0;
  }
}

.snsGallerySection .insta_anime {
  width: 100%;
}
