.test-section {
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #f1f3f5;
  text-align: center;
}

.celebrate-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 80px;
  color: #212529;
}

.shape-row {
  margin-bottom: 60px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #dee2e6;
  padding-bottom: 40px;
}

.shape-name-label {
  font-size: 14px;
  text-transform: uppercase;
  color: #adb5bd;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.icon-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.icon-btn {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition-property: transform, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.1);
}

.icon-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0px 15px 25px 0px rgba(0, 0, 0, 0.15);
}

/* ブランドカラー */
.x-brand {
  background-color: #000000;
}
.ig-brand {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.fb-brand {
  background-color: #1877f2;
}
.bs-brand {
  background-color: #004098;
}
.ln-brand {
  background-color: #06c755;
}

.logo-text {
  color: #ffffff;
  font-weight: 900;
  font-size: 28px;
}
.sns-name {
  font-size: 12px;
  font-weight: 700;
  color: #495057;
}

/* Blob 10パターン形状（略さず詳細指定） */
.blob-1 {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.blob-2 {
  border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
}
.blob-3 {
  border-radius: 67% 33% 47% 53% / 37% 20% 80% 63%;
}
.blob-4 {
  border-radius: 39% 61% 24% 76% / 37% 40% 60% 63%;
}
.blob-5 {
  border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}
.blob-6 {
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
}
.blob-7 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.blob-8 {
  border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
}
.blob-9 {
  border-radius: 40% 60% 40% 60% / 70% 30% 70% 30%;
}
.blob-10 {
  border-radius: 80% 20% 50% 50% / 50% 50% 50% 20%;
}

/* --- 共通ベース設定 --- */
.video-container {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #eeeeee;
}

.video-frame {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  position: relative;
}

.video-frame iframe {
  width: 100%;
  height: 450px;
  display: block;
}

.video-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #333333;
}

/* --- 01. シンプルパターン (何もしない) --- */
.style-simple .video-frame iframe {
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  box-shadow: none;
  border-radius: 0px;
}

/* --- 02. PC風 (Macbook風) --- */
.style-pc .video-frame {
  border-top-width: 30px;
  border-top-style: solid;
  border-top-color: #222222;
  border-left-width: 15px;
  border-left-style: solid;
  border-left-color: #222222;
  border-right-width: 15px;
  border-right-style: solid;
  border-right-color: #222222;
  border-bottom-width: 30px;
  border-bottom-style: solid;
  border-bottom-color: #222222;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* --- 03. Mobile風 (スマホ横持ち) --- */
.style-mobile .video-frame {
  max-width: 640px;
  border-top-width: 12px;
  border-top-style: solid;
  border-top-color: #000000;
  border-bottom-width: 12px;
  border-bottom-style: solid;
  border-bottom-color: #000000;
  border-left-width: 50px;
  border-left-style: solid;
  border-left-color: #000000;
  border-right-width: 50px;
  border-right-style: solid;
  border-right-color: #000000;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

/* --- 04. ネオンライト (修正版) --- */
.style-neon {
  background-color: #0f172a;
  border-bottom-color: #1e293b;
}

.style-neon .video-title {
  color: #ff00d4;
  text-shadow:
    0px 0px 10px rgba(255, 0, 212, 0.8),
    0px 0px 20px rgba(255, 0, 212, 0.4);
}

.style-neon .video-frame {
  border-top-width: 4px;
  border-top-style: solid;
  border-top-color: #ff00d4;
  border-right-width: 4px;
  border-right-style: solid;
  border-right-color: #ff00d4;
  border-bottom-width: 4px;
  border-bottom-style: solid;
  border-bottom-color: #ff00d4;
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: #ff00d4;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow:
    0px 0px 15px 2px rgba(255, 0, 212, 0.8),
    0px 0px 30px 5px rgba(255, 0, 212, 0.5),
    0px 0px 60px 10px rgba(255, 0, 212, 0.3);
  background-color: #000000;
  overflow: hidden;
}

.style-neon .video-frame iframe {
  border-width: 0px;
  box-shadow: none;
}

/* --- 05. ミニマル・フローティング --- */
.style-minimal .video-frame iframe {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.1);
  transition-property: transform, box-shadow;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.style-minimal .video-frame:hover iframe {
  transform: scale(1.03) translateY(-15px);
  box-shadow: 0px 40px 80px 0px rgba(0, 0, 0, 0.15);
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: #868e96;
  text-decoration: underline;
}

/* モーダル全体の重なり */
.video-modal {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition-property: opacity, visibility;
  transition-duration: 0.4s;
}

/* 背景の暗転 */
.modal-background {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

/* コンテンツの器 */
.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  z-index: 10000;
}

/* 16:9を維持するラッパー */
.modal-video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9比率 */
  height: 0px;
}

.modal-video-wrapper iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

/* 閉じるボタン */
.modal-close-button {
  position: absolute;
  top: -50px;
  right: 0px;
  background-color: transparent;
  border-width: 0px;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
}

/* モーダル表示中のクラス */
.video-modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* サムネイルとクリック誘導のデザイン */
.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.3s;
  z-index: 10;
}

.video-frame:hover .play-overlay {
  opacity: 1;
}

.play-overlay span {
  color: #ffffff;
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 900;
}
