/* ==================================================
   ヒーローセクション
================================================== */
.hero {
  min-height: 600px;
  background: linear-gradient(135deg, #0a2e5c, #1a5fb4, #2980b9);
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-badge {
  position: absolute;
  top: 16px;  
  right: 16px;
  display: inline-block;
  padding: 4px 8px;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
}

.hero-title-br{
  display: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/letter58/wp-content/themes/swell_child/images/top/hero/hero.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
      radial-gradient(circle at 20% 30%, rgba(41, 128, 185, 0.4) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(26, 95, 180, 0.4) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes pulse {
  0% {
      opacity: 0.5;
      transform: scale(1);
  }

  100% {
      opacity: 0.8;
      transform: scale(1.1);
  }
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: slideDown 1s ease-out;
  position: relative;
}

.char {
  position: relative;
  display: inline-block;
}

.char::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 7.5px;
  height: 7.5px;
  background-color: white;
  border-radius: 50%;
}

.hero-subtitle {
  font-size: 2.4rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  animation: slideUp 1s ease-out 0.3s both;
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, transparent, #ffcc00, transparent);
}

.accent {
  color: #ffcc00;
  font-weight: 900;
}

/* モダンなフラットデザイン（修正版） */
.countdown-container-v2 {
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.7), rgba(26, 95, 180, 0.7));
  border-radius: 15px;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-header-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-icon-v2 {
  color: #ffcc00;
}

Ï.countdown-body-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.time-prefix-v2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-right: 10px;
}

.time-unit-v2 {
  display: inline-flex;
  align-items: center;
  margin: 0 5px;
}

.time-block-v2 {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 15px;
}

.time-value-v2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffcc00;
}

.time-label-v2 {
  font-size: 0.9rem;
  margin-left: 5px;
  white-space: nowrap;
}

.feature-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

.feature-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px 40px;
  border-radius: 20px;
  font-size: 1.6rem;
  font-weight: bold;
  flex: 1;
  min-width: 300px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeIn 0.5s ease-out both;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-badge:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
}

.feature-badge i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-badge:nth-child(1) {
  animation-delay: 0.5s;
}

.feature-badge:nth-child(2) {
  animation-delay: 0.7s;
}

.feature-badge:nth-child(3) {
  animation-delay: 0.9s;
}

.feature-badge-title {
  font-size: 1.6rem;
  font-weight: 900;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s linear infinite;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 150px;
  height: 150px;
  right: 15%;
  top: 40%;
  animation-delay: -5s;
}

.shape:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 20%;
  bottom: 20%;
  animation-delay: -10s;
}

.shape:nth-child(4) {
  width: 120px;
  height: 120px;
  right: 25%;
  bottom: 15%;
  animation-delay: -7s;
}

.shape:nth-child(5) {
  width: 60px;
  height: 60px;
  left: 40%;
  top: 15%;
  animation-delay: -3s;
}

@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg);
  }

  100% {
      transform: translateY(-100vh) rotate(360deg);
  }
}

@media (max-width: 768px) {

  .hero-title-br{
    display: inline;
  }

  /* カウントダウンコンテナの余白調整 */
  .countdown-container-v2 {
      padding: 0;
      width: 100%;
  }

  /* カウントダウンヘッダーの余白調整 */
  .countdown-header-v2 {
      padding: 8px;
      text-align: center;
  }

  /* カウントダウンボディの余白調整 */
  .countdown-body-v2 {
      padding: 8px 2px;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
  }

  /* 時間ユニットのスタイル調整 */
  .time-unit-v2 {
      display: flex;
      align-items: center;
      margin: 0 2px;
  }

  /* 「あと」テキスト専用のユニット */
  .time-prefix-unit {
      margin-right: 0;
      padding-right: 0;
      margin-left: 2px;
  }

  /* 「あと」テキストのスタイル調整 */
  .time-prefix-v2 {
      font-size: 0.85rem;
      font-weight: bold;
      color: white;
      padding: 0;
      display: flex;
      align-items: center;
  }

  /* 時間値のサイズ調整 */
  .time-value-v2 {
      font-size: 1.5rem;
      line-height: 1.2;
  }

  /* 時間ラベルの余白調整 */
  .time-label-v2 {
      margin-left: 2px;
      font-size: 0.7rem;
  }
}