:root {
  --red: #D42B2B;
  --red-dark: #A81E1E;
  --blue: #1A4B9E;
  --blue-light: #2563C8;
  --yellow: #F5C800;
  --white: #FAFAF5;
  --black: #1A1A1A;
  --cream: #FFF8EC;
  --nav-h: 56px;
  --bottom-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--black);
  overflow-x: hidden;
}

/* ========== TOP NAV ========== */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--red);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.top-nav .logo {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 18px;
  color: var(--red);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.top-nav .logo span {
  display: block;
  font-size: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.1em;
}

.top-nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.top-nav-links a {
  color: var(--red);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s;
  white-space: nowrap;
}
.top-nav-links a:hover { background: rgba(255,255,255,0.2); }

.lang-btn {
  color: var(--red) !important;
  border: 1.5px solid rgba(255,255,255,0.6) !important;
  font-size: 11px !important;
  padding: 4px 8px !important;
}

@media (max-width: 767px) {
  .top-nav-links .hide-sp { display: none; }
  .top-nav .logo { font-size: 15px; }
}

/* ========== HERO ========== */
video {
    /*width: 100%;*/
    height: auto;
    display: block;
}
.hero {
  margin-top: var(--nav-h);
  background: var(--red);
  position: relative;
  overflow: hidden;
  min-height: 88vw;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 波模様 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}

/* 和柄ドット */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 20px 32px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--red-dark);
  font-weight: 900;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 2px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  transform: rotate(-1deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.hero-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(36px, 10vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.25);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(13px, 3.5vw, 18px);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero-date {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: clamp(15px, 4vw, 22px);
  font-weight: 900;
  padding: 8px 24px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

/* キャラクター（アニメーション） */
.char {
  position: absolute;
  font-size: 40px;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.char-1 {
  top: 10%; left: 4%;
  font-size: clamp(28px, 7vw, 52px);
  animation: bounce1 2.2s ease-in-out infinite;
}
.char-2 {
  top: 8%; right: 5%;
  font-size: clamp(24px, 6vw, 44px);
  animation: spin1 3s linear infinite;
}
.char-3 {
  bottom: 12%; left: 3%;
  font-size: clamp(22px, 5.5vw, 40px);
  animation: wobble1 1.8s ease-in-out infinite;
}
.char-4 {
  bottom: 10%; right: 4%;
  font-size: clamp(26px, 6.5vw, 48px);
  animation: bounce2 2.5s ease-in-out infinite;
}
.char-5 {
  top: 45%; left: 12%;
  font-size: clamp(20px, 5vw, 36px);
  animation: float1 3.5s ease-in-out infinite;
}
.char-6 {
  top: 42%; right: 12%;
  font-size: clamp(20px, 5vw, 36px);
  animation: spin2 4s linear infinite;
}

@keyframes bounce1 {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}
@keyframes bounce2 {
  0%,100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-22px) scale(1.1); }
  60% { transform: translateY(-16px) scale(1.05); }
}
@keyframes spin1 {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.15); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes spin2 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@keyframes wobble1 {
  0%,100% { transform: skewX(0deg) scale(1); }
  25% { transform: skewX(-8deg) scale(1.05); }
  75% { transform: skewX(8deg) scale(0.95); }
}
@keyframes float1 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(-10deg); }
  66% { transform: translateY(6px) rotate(8deg); }
}

/* ========== SECTION共通 ========== */
section { padding: 32px 16px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-tag {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.section-title {
  font-family: 'myFont', serif;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* ========== 新着情報 ========== */
.news-section {
  background: var(--white);
  border-top: 4px solid var(--red);
}

.news-list { list-style: none; }

.news-item:first-child { padding-top: 0; }
.news-date {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  font-weight: 500;
  min-width: 72px;
}
.news-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--black);
}
.news-text a { color: var(--blue); text-decoration: none; }
.news-text a:hover { text-decoration: underline; }


/* ========== 開催情報 ========== */
.info-section {
  background: var(--cream);
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .info-cards { grid-template-columns: 1fr 1fr; }
}

.info-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 4px solid var(--blue);
}

.info-card-head {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-card-body {
  padding: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--black);
}

.info-card-body strong {
  font-weight: 700;
  color: var(--red);
}

/* ========== 募集状況 ========== */
.recruit-section {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.recruit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
}

.recruit-section .section-title { color: var(--white); }
.recruit-section .section-tag { background: var(--yellow); color: var(--red-dark); }

.recruit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

@media (min-width: 600px) {
  .recruit-cards { grid-template-columns: repeat(4, 1fr); }
}

.recruit-card {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.recruit-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.recruit-card-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.recruit-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.recruit-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ========== 実績カウンター ========== */
.stats-section {
  background: var(--red);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 40px 16px;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}

.stats-tagline {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(18px, 5vw, 28px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(32px, 9vw, 56px);
  color: var(--yellow);
  line-height: 1;
  display: block;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.stat-unit {
  font-size: clamp(14px, 3.5vw, 20px);
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  display: block;
  letter-spacing: 0.06em;
}

/* ========== スライドショー ========== */
.slideshow-section {
  background: var(--black);
  padding: 0;
  overflow: hidden;
}

.slideshow-stage {
  transform: rotate(-4deg);
  transform-origin: center center;
  width: 116%;
  margin-left: -8%;
  overflow: hidden;
  padding: 10px 0;
  line-height: 0;
}

.slideshow-row { overflow: hidden; width: 100%; }

.slideshow-track {
  display: flex;
  will-change: transform;
}

.ss-slide {
  flex: 0 0 200px;
  height: 130px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-slide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.ss-placeholder {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.slideshow-row--2 { display: none; }

@media (max-width: 767px) {
  .slideshow-row--2 { display: block; }
  .ss-slide { flex: 0 0 150px; height: 100px; }
}

@media (min-width: 768px) {
  .ss-slide { flex: 0 0 240px; height: 155px; }
}

/* ========== CTA ========== */
.cta-section {
  text-align: center;
	padding: 40px 20px;
	position:relative;
	top:900px;
}

.cta-lead {
  font-size: clamp(13px, 3.5vw, 16px);
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-headline {
  font-size: clamp(22px, 6vw, 36px);
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cta-sub {
  font-size: 18px;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(212,43,43,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,43,43,0.5);
}
.cta-btn-icon { font-size: 20px; animation: bounce1 1.8s ease-in-out infinite; }

.scallop-btn{margin:0 auto;}




/* ========== DIVIDERS ========== */
.wave-div {
  height: 32px;
  background: var(--red);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.wave-div--blue {
  background: var(--blue);
}

      /* ========== SCROLL REVEAL ========== */
      
      /* 基本: 下からふわっ */
      [data-reveal] {
        opacity: 0;
        transform: translateY(36px);
        transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
          transform 0.7s cubic-bezier(0.22,1,0.36,1);
      }
      [data-reveal="left"] {
        transform: translateX(-40px);
      }
      [data-reveal="right"] {
        transform: translateX(40px);
      }
      [data-reveal="scale"] {
        transform: translateY(20px) scale(0.94);
      }
      [data-reveal="fade"] {
        transform: none;
      }
      [data-reveal].revealed {
        opacity: 1;
        transform: none !important;
      }
      
      /* delay ユーティリティ */
      [data-delay="1"] { transition-delay: 0.08s; }
      [data-delay="2"] { transition-delay: 0.16s; }
      [data-delay="3"] { transition-delay: 0.24s; }
      [data-delay="4"] { transition-delay: 0.32s; }
      [data-delay="5"] { transition-delay: 0.40s; }
      [data-delay="6"] { transition-delay: 0.48s; }
      
      /* 後方互換 */
      .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }
      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }
      

/* PC調整 */
@media (min-width: 768px) {
  .hero { min-height: 420px; max-height: 800px; }
  section { padding: 48px 32px; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .recruit-cards { grid-template-columns: repeat(4, 1fr); }
}
/* 見出し */
.pop-title {
  font-size: 40px;
  text-align: center;
  margin: 0px 0;
}

/* 各文字 */
.pop-title span {
  display: inline-block;
  opacity: 0;
  transform: scale(0);
}

/* 順番ポップ */
.pop-title.show span {
  animation: pop 1s ease-out forwards;
}

/* ドーン＋揺れ */
.pop-title.boom {
  animation: boomShake 1s ease-out forwards;
}

/* 文字ポップ */
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ドーン＋上下左右揺れ */
@keyframes boomShake {
  0% { transform: scale(1); }
  30% { transform: scale(1.7); }
  50% { transform: scale(0.95); }

  60% { transform: scale(1.05) translate(-6px, 4px); }
  65% { transform: scale(1.05) translate(6px, -4px); }
  70% { transform: scale(1.04) translate(-4px, 3px); }
  75% { transform: scale(1.04) translate(4px, -3px); }
  80% { transform: scale(1.03) translate(-2px, 2px); }
  85% { transform: scale(1.02) translate(2px, -2px); }

  100% { transform: scale(1); }
}