/* =========================================================
   1. Reset
========================================================= */

/* Box sizing */
*,
*::before,
*::after { box-sizing: border-box; }

/* Default margins/paddings */
html, body { margin: 0; padding: 0; }

/* Links */
a { color: inherit; text-decoration: none; }

/* Lists */
ul, ol { margin: 0; padding: 0; list-style: none; }
li { margin: 0; padding: 0; }

/* Text */
h1, h2, h3, p { margin: 0; }

/* Media */
img, video, svg { display: block; max-width: 100%; }

/* Form controls */
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* Tables */
table { border-collapse: collapse; border-spacing: 0; }


/* =========================================================
   2. Base
========================================================= */

:root{
  /* Color */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray-900: #111111;
  --color-gray-600: #666666;
  --color-gray-300: #dddddd;

  /* Typography */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont,
              "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --font-size-base: 1rem;
  --line-height-base: 1.6;

  --font-size-h1: 2.25rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.375rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;

  /* Z-index */
  --z-header: 100000;   /* FIX適用：前面固定 */
  --z-modal: 1000;

  /* Header / Hero */
  --header-h: 68px;
  --header-h-sp: 56px;
  --hero-top-gap: 14px;
}

body{
  padding-top: var(--header-h);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-white);
  background-color: var(--color-black);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-weight: 600;
  line-height: 1.3;
}
h1{ font-size: var(--font-size-h1); }
h2{ font-size: var(--font-size-h2); }
h3{ font-size: var(--font-size-h3); }

p{
  font-size: var(--font-size-base);
  color: var(--color-white);
}


/* =========================================================
   3. Motion
========================================================= */

@keyframes fadeUp{
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown{
  to { opacity: 1; transform: translateY(0); }
}

@keyframes linePulse{
  0%,100%{ height: 16px; opacity: 0.4; }
  50%    { height: 28px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  .hero-title,
  .hero-cta,
  .hero-video-embed,
  .page-home .site-header{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
   4. Layout
========================================================= */

.container{
  width: min(1100px, 100% - (var(--space-md) * 2));
  margin-inline: auto;
}

main{
  min-height: 70vh;
  /* padding-top: var(--header-h); */
  padding-top: 0;
}

@media (max-width: 900px){
  main{ 
    /* padding-top: var(--header-h-sp);  */
    padding-top: 0;
  }
}

/* Generic sections */
.section{ padding: var(--space-xl) 0; }
.section + .section{ padding-top: 0; }

/* Grids */
.genre-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.schedule-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.chart-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.contest-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.steps{
  display: grid;
  gap: var(--space-md);
}


/* =========================================================
   5. Header / Navigation
========================================================= */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);

  display: flex;
  align-items: center;
  padding: 0 20px;

  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);

  /* FIX適用：合成レイヤー負け・クリック不可を防ぐ */
  isolation: isolate;
  z-index: var(--z-header);
  pointer-events: auto;

  /* Default visible */
  opacity: 1;
  transform: none;
  animation: none;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--space-sm) 0;
  width: 100%;
}

.logo{
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.logo img{
  width: 90px;
  height: 44px;
}

.nav{
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.nav a{
  color: rgba(255,255,255,0.92);
  margin-left: 12px;
  font-size: 14px;
}

.nav a:hover{ text-decoration: underline; }

/* Optional: use .nav-link instead of plain .nav a if you want pill UI */
.nav-link{
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-white);
}

.nav-link:hover{ background: rgba(0, 0, 0, 0.05); }

.nav-link.is-active{
  background: rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

/* Header SNS icon */
.nav-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--color-gray-900);
}

.nav-icon svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-icon:hover{
  background: rgba(0, 0, 0, 0.08);
}

.hamburger{ display: none; }

/* Home page header behavior */
.page-home{ padding-top: 0; }                 /* header overlays hero */
.page-home .hero{ padding-top: var(--header-h); } /* prevent text from hiding */

.page-home .site-header.is-scrolled{
  background: rgba(0,0,0,0.80);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}


/* =========================================================
   6. Hero
========================================================= */

.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  color: #fff;
}

.hero-inner{
  position: relative;
  z-index: 2;
  transform: translateY(-8vh);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero-media{ width: 100%; }
.hero-video{ width: 100%; max-width: 520px; }

.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  z-index: 0;
}

/* indexのheroを必ずheaderより下に固定 */
.page-home .hero{ position: relative; z-index: 0; }

/* hero側（背景・オーバーレイ）はクリックを持たない（FIX適用） */
.page-home .hero-bg,
.page-home .hero-overlay{
  pointer-events: none;
  z-index: 0;
}

.hero-text{
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title{
  width: 100%;
  margin: 0;
  line-height: 1.05;

  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 700ms ease-out forwards;
  animation-delay: 500ms;
}

.hero-title__sub{
  display: block;
  width: 100%;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: 0.22em;
  padding-right: 0.2em;
  opacity: 0.85;
}

.hero-title__main{
  display: block;
  width: 100%;
  font-family: "Oswald", sans-serif;
  font-size: clamp(64px, 12vw, 140px);
  letter-spacing: 0.02em;
  line-height: 0.9;
  padding-right: 0.05em;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.hero-lead{
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta{
  width: fit-content;
  max-width: 100%;
  text-align: center;

  opacity: 0;
  transform: translateY(10px);

  padding: 16px 0;
  height: 52px;
  letter-spacing: 0.12em;

  animation: fadeUp 600ms ease-out forwards;
  animation-delay: 800ms;
}

.hero-video-embed{
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  animation: fadeUp 700ms ease-out forwards;
  animation-delay: 1100ms;
}

/* Scroll hint */
.scroll-text{
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.scroll-text__inner{
  display: inline-block;

  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.3em;
  color: rgba(0,0,0,0.75);

  opacity: 0;
  transform: translateY(8px);

  animation: fadeUp 600ms ease-out forwards;
  animation-delay: 1900ms;
}

.scroll-text__inner::after{
  content: "";
  display: block;
  width: 1px;
  height: 24px;
  margin: 6px auto 0;
  background: rgba(0,0,0,0.75);

  animation: linePulse 1200ms ease-in-out infinite;
  animation-delay: 2600ms;
}


/* =========================================================
   7. Components
========================================================= */

/* Buttons */
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-black);

  background: var(--color-black);
  color: var(--color-white);
  font-weight: 600;
}

.button:hover{ opacity: 0.9; }

.button--outline{
  background: transparent;
  color: var(--color-black);
}

/* Section Heading (COMMON) */
.sectionHead{ margin-bottom: 28px; }

.sectionHead__title{
  font-family: "Oswald", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: .08em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.sectionHead__sub{
  font-size: 14px;
  letter-spacing: .12em;
  opacity: .6;
  color: rgba(255,255,255,0.75);
}

.sectionHead--center{ text-align: center; }

/* Backward-compat */
.activitiesTitle,
.joinTitle{
  font-family: "Oswald", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: .08em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.joinSub{
  font-size: 14px;
  letter-spacing: .12em;
  opacity: .6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

/* Cards (base) */
.card,
.chart-card,
.contest-item,
.step{
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  background: var(--color-white);
}

/* Chart */
.chart-title{
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-md);
}

.chart-card canvas{
  width: 100%;
  height: 320px;
}

/* Contest */
.contest-item .meta{
  color: var(--color-gray-600);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Steps */
.step{ display: grid; gap: var(--space-sm); }

.step-num{
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.step-title{ font-size: var(--font-size-h3); }
.step-text{ color: var(--color-gray-600); }

/* Genre card */
.genre-card{
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}

.genre-card > img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.genre-card > .genre-title,
.genre-card > .genre-text{
  padding-inline: var(--space-md);
}

.genre-title{
  font-size: var(--font-size-h3);
  margin-top: var(--space-md);
  margin-bottom: 0.4rem;
}

.genre-text{
  color: var(--color-gray-600);
  margin-bottom: var(--space-md);
}

/* Embeds (single source of truth) */
.embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 0px;
}

.embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tables */
.table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-gray-300);
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td{
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-gray-300);
  text-align: left;
}

.table th{
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

/* FAQ */
.faq{
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 16px;
}

.faq__list{
  display: grid;
  gap: 14px;
}

.faq__item{
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  overflow: hidden;
}

.faq__q{
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;

  padding: 18px;
  background: transparent;
  border: 0;
  text-align: left;
}

.faq__q:focus-visible{
  outline: 3px solid rgba(255, 200, 0, .35);
  outline-offset: 2px;
}

.faq__badge{
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  font-weight: 800;
  letter-spacing: .04em;

  background: #008cff;
  color: var(--color-white);
}

.faq__badge--a{
  background: var(--color-white);
  color: #008cff;
}

.faq__qtext{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a;
}

.faq__chev{
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--color-gray-600);
  transition: transform .2s ease;
}

.faq__chevSvg{ width: 100%; height: 100%; }

.faq__a{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 0 18px 18px;
}

.faq__aInner{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding-top: 14px;
  align-items: start;
}

.faq__atext{
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.faq__item.is-open .faq__chev{ transform: rotate(180deg); }


/* =========================================================
   Footer
========================================================= */

.site-footer{
  padding: 20px 0 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(6px);
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 100%;
}

.footer-logo{
  display: inline-flex;
  align-items: center;
}

.footer-logo img{
  width: 90px;
  height: auto;
  opacity: 0.95;
}

.footer-sns{
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.footer-sns__link{
  width: 45px;
  height: 45px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);

  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.footer-sns__link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

.footer-sns__icon{
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.footer-copy{
  display: block;
  margin-top: 10px;
  text-align: center;

  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 700px){
  .footer-inner{ padding: 0 14px; }

  .footer-sns__link{
    width: 34px;
    height: 34px;
  }
}


/* =========================================================
   Genre list (new)
========================================================= */

.genreList{
  border-top: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
}

.genreRow{
  border-top: 2px solid rgba(255,255,255,0.85);
}
.genreRow:first-child{ border-top: 0; }

.genreRow__head{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 26px 0;
  background: transparent;
  border: 0;
  color: var(--color-white);

  cursor: pointer;
  text-align: left;

  transition: background 160ms ease, color 160ms ease;
}

.genreRow__title{
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(30px, 2.2vw, 56px);
  line-height: 0.8;
}

.genreRow__icon{
  margin-right: 12px;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
  transform: rotate(-45deg);
  transition: transform 180ms ease, border-color 160ms ease;
}

@media (hover: hover){
  .genreRow:hover .genreRow__head{
    background: var(--color-white);
    color: var(--color-black);
  }
  .genreRow:hover .genreRow__icon{
    border-color: rgba(0,0,0,0.85);
  }
}

.genreRow.is-open .genreRow__icon{
  transform: rotate(45deg);
}

.genreRow__panel{ padding: 0 0 30px; }

.genreDetail{
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.genreDetail__desc p{
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
  font-size: 15px;
}

.genreDetail__blockTitle{
  margin-top: 14px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.12em;
  font-size: 22px;
}

/* PHOTO row */
.photoRow{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photoRow img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.12);
}

.genreRow__head:focus-visible{
  outline: 3px solid rgba(255, 200, 0, .35);
  outline-offset: 6px;
}


/* =========================================================
   MOSAIC (TOP)
========================================================= */

.genreMosaic{
  padding: 56px 0 28px;
  position: relative;
}

.genreMosaic__label{
  position: absolute;
  z-index: 0;
  pointer-events: none;

  font-family: "Oswald", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;

  color: transparent;
  -webkit-text-stroke: 2px #ffffff;
  text-stroke: 2px #ffffff;

  top: 14px;
  right: 16px;
  font-size: clamp(56px, 15vw, 400px);
}

.genreMosaic__rows{
  padding: 0 0px;
  display: grid;
  row-gap: 100px;
}

.genreMosaic__row{
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.genreMosaic__row--left{ justify-content: flex-start; }
.genreMosaic__row--right{ justify-content: flex-end; }

.genreTile{
  display: flex;
  flex-direction: column;
  gap: 0px;
  text-decoration: none;
  transform: translateY(var(--y, 0px));
}

.genreTile__title{
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
}
.genreTile__title b{ font-size: 18px; }

.genreTile__img{
  width: clamp(120px, 15vw, 250px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.genreTile__img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.genreTile--1{ --y: 0px; }
.genreTile--2{ --y: 70px; }
.genreTile--3{ --y: 20px; }
.genreTile--4{ --y: 90px; }

.genreTile--5{ --y: 10px; }
.genreTile--6{ --y: 0px; }
.genreTile--7{ --y: 40px; }

/* Mobile mosaic => 4 columns, no offsets */
@media (max-width: 700px){
  .genreMosaic__label{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 10px;
    font-size: clamp(44px, 10vw, 84px);
    -webkit-text-stroke: 1.6px #ffffff;
  }

  .genreMosaic__rows{ padding-top: 54px; }
  .genreMosaic__row{ display: contents; }

  .genreMosaic__rows{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
    padding: 0 12px;
    align-items: start;
    row-gap: 14px;
  }

  .genreTile{
    width: 100%;
    transform: none !important;
    gap: 6px;
  }

  .genreTile__img{
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  .genreTile__title{
    font-size: 11px;
    gap: 6px;
    letter-spacing: .06em;
  }
  .genreTile__title b{ font-size: 14px; }
}


/* =========================================================
   DETAILS (BOTTOM)
========================================================= */

.genreDetails{ padding: 16px 24px 80px; }

.genreSection{
  padding: 70px 0;
  scroll-margin-top: 90px;
}

.genreSection__inner{
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
  position: relative;
  z-index: 0;
}

.genreSection__hero{
  position: relative;
  overflow: visible;
  z-index: 2;
}

.genreSection__hero img{
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

.genreSection__bigName{
  position: absolute;
  top: -14%;
  right: -4%;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(64px, 8vw, 140px);
  font-weight: 800;
  letter-spacing: .08em;
  color: transparent;
  -webkit-text-stroke: 2px rgb(255, 255, 255);
  text-stroke: 2px rgb(255, 255, 255);
  pointer-events: none;
  mix-blend-mode: normal;
  z-index: 20;
}

.genreSection__content{
  padding-top: 0;
  position: relative;
}

.genreSection__blockTitle{
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  font-size: 18px;
  opacity: .9;
  margin-bottom: 12px;
}

.genreSection__desc p{
  line-height: 1.9;
  opacity: .92;
}

.genreSection__mediaRow{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.genreSection__mediaBlock{ min-width: 0; }

.mediaBox{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mediaBox .embed{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-top: 0;
}

.mediaBox .embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photoGrid{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.photoGrid img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.genreSection--even .genreSection__inner{
  grid-template-columns: 1.08fr 0.92fr;
}

.genreSection--even .genreSection__hero{ order: 2; }
.genreSection--even .genreSection__content{ order: 1; }

.genreSection--even .genreSection__bigName{
  left: -4%;
  right: auto;
}

@media (max-width: 700px){
  .genreDetails{ padding: 10px 16px 70px; }
  .genreSection{ padding: 54px 0; }

  .genreSection__inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .genreSection--even .genreSection__inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .genreSection__hero{ order: 1; }
  .genreSection--even .genreSection__hero{ order: 1; }

  .genreSection__content{
    order: 2;
    padding-top: 0;
  }
  .genreSection--even .genreSection__content{
    order: 2;
    padding-top: 0;
  }

  .genreSection__bigName{
    top: -15%;
    left: -1%;
    font-size: clamp(48px, 20vw, 150px);
    -webkit-text-stroke: 1.6px #ffffff;
  }

  .genreSection--even .genreSection__bigName{
    top: -15%;
    right: -1%;
    left: auto;
    font-size: clamp(48px, 20vw, 150px);
    -webkit-text-stroke: 1.6px #ffffff;
  }

  .genreSection__mediaRow{ grid-template-columns: 1fr; }

  .photoRow{ grid-template-columns: repeat(2, 1fr); }
  .photoRow img{ height: 120px; }
}


/* =========================================================
   Activities
========================================================= */

.activitiesBlock{ margin-bottom: 80px; }

.activitiesLead{
  max-width: 60ch;
  line-height: 1.9;
  opacity: .9;
  margin-bottom: 28px;
}

.activitiesList{
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.activitiesList li{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.activitiesLabel{
  font-family: "Oswald", sans-serif;
  letter-spacing: .12em;
  font-size: 14px;
  opacity: .7;
}

.activitiesValue{ font-size: 15px; }

.scheduleList{
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.scheduleList li{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
}

.scheduleList b{
  font-family: "Oswald", sans-serif;
  letter-spacing: .08em;
}

.activitiesNote{
  margin-top: 16px;
  font-size: 13px;
  opacity: .6;
}

@media (max-width: 700px){
  .activitiesBlock{ margin-bottom: 64px; }
  .activitiesList li{ grid-template-columns: 90px 1fr; }
}


/* =========================================================
   Past Events
========================================================= */

.pastEventsGrid{
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 28px;
}

.pastEvent__title{
  font-family: "Oswald", sans-serif;
  letter-spacing: .08em;
  font-size: 20px;
  margin-bottom: 12px;
}

.pastEvent__video{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pastEvent__video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 700px){
  .pastEventsGrid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pastEvent__title{ font-size: 18px; }
}

.activitiesLink{
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: opacity .2s ease;
}
.activitiesLink:hover{ opacity: .7; }


/* =========================================================
   Join / How to Join
========================================================= */

.joinSteps{
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 36px;
  max-width: 720px;
}

.joinSteps li{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.joinStepNum{
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  letter-spacing: .08em;
  opacity: .5;
  line-height: 1;
}

.joinStepBody h3{
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.joinStepBody p{
  font-size: 15px;
  line-height: 1.9;
  opacity: .9;
}

.joinNote{
  margin-top: 8px;
  font-size: 13px;
  opacity: .6;
}

.joinLink,
.joinInlineLink,
.joinInstagram{
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.joinLink:hover,
.joinInlineLink:hover,
.joinInstagram:hover{ opacity: .7; }

.joinFee{
  margin-top: 56px;
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.joinFeeLabel{
  font-family: "Oswald", sans-serif;
  letter-spacing: .12em;
  font-size: 14px;
  opacity: .6;
}

.joinFeeValue{
  font-family: "Oswald", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: .06em;
}

.joinAttention{
  margin-top: 36px;
  max-width: 520px;
}

.joinAttention p{
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.joinClosing{
  margin-top: 36px;
  font-size: 15px;
  line-height: 1.9;
  opacity: .9;
  max-width: 60ch;
}

@media (max-width: 700px){
  .joinSteps li{
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .joinStepNum{ font-size: 22px; }
  .joinStepBody h3{ font-size: 18px; }
}


/* =========================================================
   Achievements
========================================================= */

.achGrid{
  margin-top: 34px;
  display: grid;
  gap: 34px;
  max-width: 900px;
}

.achYear{
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.achYear:first-child{
  border-top: 0;
  padding-top: 0;
}

.achYear__title{
  font-family: "Oswald", sans-serif;
  letter-spacing: .10em;
  font-size: 24px;
  margin-bottom: 14px;
}

.achList{
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.achList li{
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.9;
  opacity: .92;
}

.achList li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
}

.achNote{
  margin-top: 26px;
  max-width: 70ch;
}

.achNote p{
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 700px){
  .achYear__title{ font-size: 22px; }
  .achList li{ font-size: 14px; }
}

.achEmbed{
  list-style: none;
  padding-left: 0;
  margin: 14px 0 26px;
}

.embedCard{
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.embedCard--ig{
  padding: 10px;
}

.embedCard--ig .instagram-media{
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  background: transparent !important;
}

.embedCard--ig iframe{
  max-width: 100% !important;
}

.embedCard .embed{
  border-radius: 0;
}

@media (max-width: 700px){
  .achEmbed{ margin: 12px 0 22px; }
  .embedCard{ border-radius: 0px; }
  .embedCard--ig{ padding: 8px; }
}

/* 埋め込み行は箇条書きマーカーを消す */
.achList > li.achEmbed{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* もし擬似要素で「・」を作っている場合にも確実に消す */
.achList > li.achEmbed::before{
  content: none !important;
}



/* =========================================================
   8. Utilities
========================================================= */

.hidden{ display: none !important; }
.text-center{ text-align: center !important; }

.mt-xs { margin-top: var(--space-xs) !important; }
.mt-sm { margin-top: var(--space-sm) !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }

.mb-xs { margin-bottom: var(--space-xs) !important; }
.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.mb-xl { margin-bottom: var(--space-xl) !important; }

.flex{ display: flex !important; }
.justify-between{ justify-content: space-between !important; }
.items-center{ align-items: center !important; }

.gap-sm { gap: var(--space-sm) !important; }
.gap-md { gap: var(--space-md) !important; }
.gap-lg { gap: var(--space-lg) !important; }

.w-full{ width: 100% !important; }


/* =========================================================
   9. Responsive (まとめ) — deduped & consolidated
   ※同一ブレイクポイントは「最後の指定が勝つ」原則に合わせて、
     1つの @media に統合しています。
========================================================= */

/* --- <= 900px ------------------------------------------------ */
@media (max-width: 900px){
  /* Layout grids */
  .schedule-grid{ grid-template-columns: 1fr; }
  .contest-grid{ grid-template-columns: 1fr; }
  .genre-grid{ grid-template-columns: repeat(2, 1fr); }

  /* Base padding (header height) */
  body{ padding-top: var(--header-h-sp); }

  /* Header layering */
  .site-header{ z-index: 1000; }

  /* Hamburger */
  .hamburger{
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    background: transparent;
    border: 0;
    color: inherit;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
  }

  .hamburger span{
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  /* Nav (mobile overlay menu) */
  .nav{
    position: fixed;
    inset: 0;
    padding: calc(var(--header-h-sp) + 14px) 16px 18px;
    background: transparent;

    opacity: 0;
    pointer-events: none;

    z-index: 1001;
  }
  
  .nav a{
    margin: 0;
    padding: 10px 8px;
    color: rgba(255,255,255,0.92);
    border-radius: 10px;
  }

  .nav a:active{ background: rgba(255,255,255,0.10); }

  body.is-menu-open::before{
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;              /* ヘッダー(1000)と同等か少し下に */
  }

  /* Open state */
  body.is-menu-open{ overflow: hidden; }

  body.is-menu-open .nav{
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: grid;
  }

  body.is-menu-open .hamburger span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  body.is-menu-open .hamburger span:nth-child(2){ opacity: 0; }
  body.is-menu-open .hamburger span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Home hero */
  .page-home .hero{ padding-top: var(--header-h-sp); }

  .page-home .hero-inner{
    padding-top: var(--hero-top-gap);
    align-items: end;
    padding-bottom: 12px;
  }

  .hero{
    min-height: 100svh;
    position: relative;
  }

  .hero-bg{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .page-home .hero-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
  }

  .page-home .hero-video{
    padding: 10% 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-text{
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .page-home .hero-text{ margin-top: 20px; }

  .hero-title{
    width: 100%;
    max-width: none;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .page-home .hero-title__sub,
  .page-home .hero-title__main,
  .page-home .hero-cta{
    width: 80vw;
    max-width: 80vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .page-home .hero-title__sub{
    padding: 0 16px;
    text-align: center;
  }

  .page-home .hero-title__main{
    text-align: center;
    font-size: clamp(40px, 30vw, 140px);
  }

  .page-home .hero-cta{
    align-self: center;
    text-align: center;
  }

  /* Scroll hint */
  .scroll-text{ bottom: 16px; }
  .scroll-text__inner{
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  /* Home hamburger placement */
  .page-home .hamburger{
    position: fixed;
    top: 6px;
    right: 10px;
    z-index: 100002;
  }

  /* Genre list row */
  .genreRow__head{ padding: 22px 0; }
  .genreRow__title{ font-size: clamp(26px, 6vw, 44px); }

}

/* --- <= 600px ------------------------------------------------ */
@media (max-width: 600px){
  .genre-grid{ grid-template-columns: 1fr; }
  .chart-grid{ grid-template-columns: 1fr; }

  .photoRow{ grid-template-columns: 1fr; }
  .genreDetail__desc p{ font-size: 14px; }
}

/* --- <= 520px ------------------------------------------------ */
@media (max-width: 520px){
  .faq__q{ padding: 16px; }
  .faq__qtext{ font-size: 15px; }
  .faq__atext{ font-size: 14px; }
}
