body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.nav1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 40px;
  margin-bottom: 0;
  list-style: none;
  height: 50px;
}

.nav-img{
    max-width: 100px;
}
.flex-container {
    display: flex; /* フレックスコンテナとして指定 */
    justify-content: space-between; /* 子要素の間にスペースを均等に配置 */
    align-items: stretch; /* 子要素の高さを揃える */
    width: 100%;
    margin: 0 auto; /* コンテナを中央に配置 */
    height: 100vh;
}

/* main-column を基準に */
.main-column {
  position: relative;
  overflow: hidden;
  background: #00D4FF;
}

/* 上段：放射線つき */
.bg-top {
  background:
    repeating-linear-gradient(
      135deg,
      transparent                0px,
      transparent                40px,
      rgba(255, 255, 255, 0.15)  40px,
      rgba(255, 255, 255, 0.15)  80px
    ),
    #40c6e7;
  /* headerを波に少しかぶせるためマイナスマージン */
  padding-bottom: 0;
}

.header-wrap {
  display: flex;
  justify-content: center;
  /* 波に画像をかぶせる：波の高さの半分くらい */
  margin-bottom: -30px;
  position: relative;
  z-index: 3; /* 波より前面に */
}

.header-wrap img {
  width: 80%;
}

.wave-separator {
  position: relative;
  line-height: 0;
  height: 70px; /* 2枚分の高さ */
}

/* 黄色い波：下に配置 */
.wave-yellow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

/* 青い波：黄色より上・少し小さく */
.wave-blue {
  position: absolute;
  bottom: -20px; /* 黄色より少し下にずらす */
  left: 0;
  width: 100%;
  height: 60px;
}

@media (max-width: 480px) {
  .wave-separator {
    height: 50px;
  }

  .wave-yellow {
    height: 70px;
  }

  .wave-blue {
    height: 60px;
    bottom: -20px;
  }
}

.wave-separator svg {
  display: block;
  width: 100%;
}

.bg-bottom {
  background: #00D4FF;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* 既存の絶対配置波は無効化 */
.main-column::before { display: none; }
.wave-mid, .wave-bot  { display: none; }

.content-wrap {
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
  z-index: 3;
  background: transparent;
}

.content-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 0;
}
/* コンテンツが隠れないよう前面に */
.content-wrap > * {
  position: relative;
  z-index: 1;
}

.header-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-wrap img {
  width: 80%;
}

  #nb1 {
    animation-name: coming;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  
  @keyframes script1 {
    0% {
      opacity: 0;
    }
    18% {
      opacity: 0;
    }
    19% {
      opacity: 1;
    }
    33% {
      opacity: 1;
    }
    34% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  #script1 {
    animation-name: script1;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  
  @keyframes script2 {
    0% {
      opacity: 0;
    }
    36% {
      opacity: 0;
    }
    37% {
      opacity: 1;
    }
    51% {
      opacity: 1;
    }
    52% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  #script2 {
    animation-name: script2;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

.fukidasi{
    margin-bottom: 40px;


}
/* =====================================================
   タイトル文字
======================================================== */
.content-wrap h1 {
  color: #FFE03A;
  font-weight: 900;
  -webkit-text-stroke: 3px #7A3F00;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #8B6914,
    0 4px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  margin-bottom: 12px;
}

.content-wrap h3 {
  color: #003366;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 6px;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.content-wrap h4 {
  color: #004080;
  font-weight: 700;
  font-size: 1.0rem;
  line-height: 1.6;
  margin-bottom: 10px;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

 
.c-bnr.scale:hover {
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
  transform: scale(0.98);  
}
  
 /* バナー本体 */
.news-banner {
  display: block;
  height: 40px;
  width: 100%;
  background-color: rgb(255, 17, 0);
  overflow: hidden;
}

/* バナー内コンテンツ */
.news-banner__content {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 100%;
  white-space: nowrap;
  animation: animate-banner 25s linear infinite;
}

/* バナー内の要素をすべて選択 */
.news-banner__content > * {
  display: inline-block;
}

/* 横にスクロールさせるアニメーション */
@keyframes animate-banner {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* =====================================================
   イベントカウントダウン
======================================================== */
.countdown {
  font-family: 'Noto Sans JP', sans-serif;
  padding: 16px 12px 20px;
  text-align: center;
}

/* ラベル（開始前） */
.count_name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

/* 外枠ボックス */
.countdown-box {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 16px 12px 18px;
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '🦀';
  position: absolute;
  font-size: 80px;
  opacity: 0.08;
  top: -10px;
  right: -10px;
}

/* 数字＋単位のまとまり */
.countdown-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.count-unit-label {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

/* コロン区切り */
.count-sep {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  align-self: flex-end;
  padding-bottom: 2px;
}

/* 数字ボックス共通 */
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 62px;
  font-size: 36px;
  font-weight: 900;
  border-radius: 10px;
  line-height: 1;
}

/* ===== 開始前（金色） ===== */
.gold-text {
  color: #FFE03A;
  text-shadow:
    0 0 8px rgba(255, 200, 0, 0.6),
    1px 1px 0 #B8860B,
    -1px -1px 0 #B8860B;
}

.num.gold-text {
  background: linear-gradient(180deg, #fff8e1 0%, #ffe57a 40%, #ffcc00 100%);
  color: #7A4F00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 0 #B8860B,
    0 6px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 2px solid #CC9900;
}

/* ===== 開催中（水色） ===== */
#countdown_end .count_name {
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

#countdown_end .count-unit-label {
  color: #e0f7ff;
}

#countdown_end .num {
  background: linear-gradient(180deg, #ffffff 0%, #e0f7ff 60%, #b3ecff 100%);
  color: #005580;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 0 #0099CC,
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid #00AADD;
}