/*
 * Dance Dream Port（現行サイト：Gamma の「Dance Dream Port | TOP」）を、見た目を変えずに静的なページにしたもの。
 *
 * 文字の大きさ・色・余白は、現行サイトを 1440px・1009px・390px の幅で測った値をそのまま使う（2026-11-30）。
 *   ・768px 以上（PC）：本文の枠 1161px、左右の余白 63px（中身 1035px）。本文 12.6px、ボタン 15.75px
 *   ・767px 以下（スマートフォン）：左右の余白 24px。本文 11.2px（現行のまま。README の確認事項に書いた）
 * 書体：見出し Mona Sans 600、本文 Funnel Sans（どちらも Google Fonts。日本語は端末のゴシック体）
 * 色：本文 #d6d6d6、見出しは白→灰のグラデーション（135deg #fff 0% / #aaa 62% / #cdcdcd 96%）、LINE の緑 #00c84b
 * 区切りの上下の余白（.b-*）は、現行の空の段落・見出しで作られていた間隔を、要素の上の余白として写した。
 */

:root {
  --text: #d6d6d6;
  --text-strong: #e2e2e2;
  --line-green: #00c84b;
  --card-border: #595959;
  /* 日本語は現行と同じく端末の標準のゴシック（全角の字幅）。字幅の狭い Yu Gothic UI を指定すると折り返しが変わる */
  --font-body: "Funnel Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --font-heading: "Mona Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --fs-base: 15.75px;
  --fs-sm: 12.6px;
  --fs-h4: 19.6875px;
  --fs-h3: 23.625px;
  --fs-h2: 31.5px;
  --pad-x: 63px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 767px) {
  :root {
    --fs-base: 14px;
    --fs-sm: 11.2px;
    --fs-h4: 15.4px;
    --fs-h3: 17.5px;
    --fs-h2: 21px;
    --pad-x: 24px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  /* 現行のページの地（Gamma のテーマの灰色のグラデーション写真）。ヘッダーの後ろに見える */
  background: #161616 radial-gradient(140% 90% at 50% 0%, #3b3b3b 0%, #242424 38%, #141414 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── 文字 ── */

.sm {
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.h2,
.h3,
.h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: normal;
  /* 現行と同じく、見出しは行の長さをそろえて折り返す */
  text-wrap: balance;
  overflow-wrap: break-word;
}

.h2 {
  font-size: var(--fs-h2);
}

.h3 {
  font-size: var(--fs-h3);
}

.h4 {
  font-size: var(--fs-h4);
}

/* 見出しのグラデーションの文字（現行の themed-heading） */
.gtext {
  color: transparent;
  background-image: linear-gradient(135deg, #ffffff 0%, #aaaaaa 62%, #cdcdcd 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (forced-colors: active) {
  .gtext {
    color: CanvasText;
    background: none;
  }
}

.center {
  text-align: center;
}

/* ── 本文へ移動・動きを止める（キーボードで移ったときだけ見える） ── */

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  color: #000000;
  background: #ffffff;
  font: 600 14px/1.4 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.motion-toggle {
  left: auto;
  right: 8px;
}

/* ── ヘッダー（スクロールすると一緒に流れる） ── */

.site-header {
  position: relative;
  z-index: 20;
  height: 75px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1161px;
  height: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 7px 14px;
  border-radius: 5.25px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.nav-btn:hover {
  filter: brightness(1.12);
}

.nav-btn--outline {
  color: var(--text-strong);
  background: #181616;
  box-shadow: inset 0 0 0 1px var(--text-strong);
}

.nav-btn--line {
  color: #ffffff;
  background: var(--line-green);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--text-strong);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.menu-toggle .icon:last-child {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon:first-child {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon:last-child {
  display: block;
}

@media (max-width: 767px) {
  .site-header__inner {
    padding: 0 16px;
  }

  /* JS が動くときだけ、メニューを折りたたむ（動かないときは並べたまま） */
  .js .menu-toggle {
    display: grid;
  }

  .js .site-nav {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 7px;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    background: rgba(32, 32, 32, 0.97);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
  }

  .js .site-nav .nav-btn {
    width: 100%;
    min-height: 44px;
  }

  html:not(.js) .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* ── 区切り（Gamma のカード）と背景の動画 ── */

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #000000;
}

.section__bg--smoke {
  background: #424242;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ② の区切りの地：現行の「すりガラス」（動画の上に rgba(24,22,22,.75) と backdrop-filter: blur(20px) saturate(1.7)）。
   動画そのものをぼかして同じ見た目にする（再生中の動画に backdrop-filter を重ねるより軽い）。端がぼけて透けないよう少し拡大する */
.section__bg--smoke .bg-video {
  filter: blur(20px) saturate(1.7);
  transform: scale(1.08);
}

.section__bg--smoke::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 22, 0.75);
}

.container {
  max-width: 1161px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section--hero .container {
  padding-bottom: 75px;
}

.section--life .container {
  padding-bottom: 75px;
}

@media (max-width: 767px) {
  .section--hero .container {
    padding-bottom: 34px;
  }

  .section--life .container {
    padding-bottom: 36px;
  }
}

/* ── 見出しの画像・画像のブロック ── */

.title-img img,
.img-block img,
.logo img {
  width: 100%;
}

.img-block img {
  border-radius: 5.5px;
}

/* ── ボタン（公式 LINE） ── */

.cta {
  text-align: center;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 7.875px 15.75px;
  border-radius: 5.9px;
  color: #ffffff;
  background: var(--line-green);
  font-family: var(--font-body);
  font-size: 15.75px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-line:hover {
  filter: brightness(1.08);
}

.btn-line:active {
  transform: scale(0.98);
}

@media (max-width: 767px) {
  .btn-line {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }
}

/* ── 6つのメリット（アイコンと文） ── */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 31px 19.6875px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 19.6875px;
}

.benefit__icon {
  flex: none;
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit .sm {
  margin-top: 9px;
}

@media (max-width: 767px) {
  .benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .benefit {
    gap: 14px;
  }

  .benefit .sm {
    margin-top: 8px;
  }
}

/* ── TO THE FUTURE の3枚（上に白い丸のアイコン） ── */

.visions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15.75px;
}

.vision {
  position: relative;
  padding: 33.4px 15.75px 15.75px;
  border: 1.6px solid var(--card-border);
  border-top: 6px solid #ffffff;
  border-radius: 8px 8px 5.5px 5.5px;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 23.625px rgba(255, 255, 255, 0.25);
  text-align: center;
}

.vision__circle {
  position: absolute;
  top: -26px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border-radius: 50%;
  color: #000000;
  background: #ffffff;
  font-size: 19px;
}

.vision .sm {
  margin-top: 9px;
}

@media (max-width: 767px) {
  .visions {
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
  }

  .vision {
    padding: 35px 14px 14px;
  }
}

/* ── HARD REALITY（左に写真、右に文） ── */

.reality {
  display: grid;
  grid-template-columns: 37.5% minmax(0, 1fr);
  max-width: 1161px;
  margin: 0 auto;
}

.reality__photo {
  position: relative;
}

/* 現行：写真は列の幅の 110% で文の側へはみ出し、右の 4 割を地に溶かす（Gamma の gradient-left のマスク）。
   写真の縦の長さで区切りが伸びないよう、文の高さに合わせて切り抜く */
.reality__photo img {
  position: absolute;
  top: 15px;
  left: 0;
  width: 110%;
  height: calc(100% - 31px);
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 5.5px;
  -webkit-mask-image: linear-gradient(to right, #000 60%, rgba(0, 0, 0, 0.94) 67%, rgba(0, 0, 0, 0.74) 74%, rgba(0, 0, 0, 0.45) 81%, rgba(0, 0, 0, 0.18) 88%, rgba(0, 0, 0, 0.03) 95%, transparent 100%);
  mask-image: linear-gradient(to right, #000 60%, rgba(0, 0, 0, 0.94) 67%, rgba(0, 0, 0, 0.74) 74%, rgba(0, 0, 0, 0.45) 81%, rgba(0, 0, 0, 0.18) 88%, rgba(0, 0, 0, 0.03) 95%, transparent 100%);
}

.reality__body {
  position: relative;
  align-self: center;
  padding: 75px var(--pad-x) 70px;
}

@media (max-width: 767px) {
  .reality {
    grid-template-columns: minmax(0, 1fr);
  }

  /* スマートフォン：写真は上に 338px。高さの 110% まで下へはみ出し、下の 4 割を溶かす（gradient-top） */
  .reality__photo {
    height: 338px;
  }

  .reality__photo img {
    top: 0;
    width: 100%;
    height: 357px;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, rgba(0, 0, 0, 0.94) 67%, rgba(0, 0, 0, 0.74) 74%, rgba(0, 0, 0, 0.45) 81%, rgba(0, 0, 0, 0.18) 88%, rgba(0, 0, 0, 0.03) 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, rgba(0, 0, 0, 0.94) 67%, rgba(0, 0, 0, 0.74) 74%, rgba(0, 0, 0, 0.45) 81%, rgba(0, 0, 0, 0.18) 88%, rgba(0, 0, 0, 0.03) 95%, transparent 100%);
  }

  .reality__body {
    padding: 22px var(--pad-x) 36px;
  }
}

.title-img--narrow {
  max-width: 600px;
  margin: 0 auto;
}

.quote {
  margin-top: 23px;
  padding: 18px 0 18px 23.625px;
  border-left: 2px solid var(--text);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .quote {
    margin-top: 10px;
    padding: 12px 0 12px 21px;
  }
}

/* ── GET DREAM LIFE（左にダンサーの動き、右に番号つきの3枚） ── */

.life {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
}

.life__visual .sm {
  margin-top: 17px;
}

.points {
  display: grid;
  gap: 16px;
}

.point {
  display: flex;
  gap: 15.75px;
  overflow: hidden;
  border: 1.6px solid var(--card-border);
  border-radius: 5.5px;
  background: rgba(24, 22, 22, 0.75);
  box-shadow: 0 0 23.625px rgba(255, 255, 255, 0.25);
}

.point__label {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 19px;
}

.point__body {
  padding: 15.75px 15.75px 15.75px 0;
}

.point .sm {
  margin-top: 15px;
}

@media (max-width: 767px) {
  .life {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }

  .life__visual .sm {
    margin-top: 10px;
  }

  .points {
    gap: 14px;
  }

  .point {
    gap: 16px;
  }

  .point__label {
    width: 56px;
  }

  .point__body {
    padding: 14px 14px 14px 0;
  }

  .point .sm {
    margin-top: 11px;
  }
}

/* ── 実行委員会の紹介（3枚） ── */

.members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 39px;
}

.members img {
  width: 100%;
}

@media (max-width: 767px) {
  .members {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* ── 囲み（無料セミナーのお知らせ） ── */

.callout {
  position: relative;
  padding: 19px 15.75px 19px 47px;
  border-radius: 5.5px;
  color: #ffffff;
  background: #404040;
}

.callout .icon {
  position: absolute;
  top: 21px;
  left: 17px;
  font-size: 15px;
}

@media (max-width: 767px) {
  .callout {
    padding: 15px 14px 15px 42px;
  }

  .callout .icon {
    top: 17px;
    left: 15px;
  }
}

/* ── 区切りの中の間隔（PC / スマートフォン。現行を測った値） ── */

.b-logo { margin-top: 75px; }
.b-subtitle { margin-top: 23px; }
.b-title-benefits { margin-top: 224px; }
.b-benefits { margin-top: 17px; }
.b-benefits-lead { margin-top: 99px; }
.b-cta-after-lead { margin-top: 58px; }
.b-title-dreams { margin-top: 134px; }
.b-after-title { margin-top: 23px; }
.b-h2-lead { margin-top: 24px; }
.b-p { margin-top: 18px; }
.b-cta-after-p { margin-top: 38px; }
.b-title-future { margin-top: 140px; }
.b-visions { margin-top: 85px; }
.b-visions-lead { margin-top: 16px; }
.b-after-quote { margin-top: 18px; }
.b-title-life { margin-top: 132px; }
.b-life-heading { margin-top: 66px; }
.b-life { margin-top: 127px; }
.b-cta-after-life { margin-top: 41px; }
.b-title-backup { margin-top: 146px; }
.b-members-heading { margin-top: 67px; }
.b-members { margin-top: 127px; }
.b-backup-heading { margin-top: 128px; }
.b-support { margin-top: 90px; }
.b-support-lead { margin-top: 61px; }
.b-cta-tight { margin-top: 18px; }
.b-title-join { margin-top: 146px; }
.b-callout { margin-top: 104px; }
.b-line-add { margin-top: 17px; }
.b-cta-after-line { margin-top: 60px; }
.b-ready { margin-top: 105px; }
.b-ready-lead { margin-top: 64px; }
.b-stage { margin-top: 93px; }
.b-footer { margin-top: 18px; }

@media (max-width: 767px) {
  .b-logo { margin-top: 35px; }
  .b-subtitle { margin-top: 14px; }
  .b-title-benefits { margin-top: 160px; }
  .b-benefits { margin-top: 10px; }
  .b-benefits-lead { margin-top: 65px; }
  .b-cta-after-lead { margin-top: 46px; }
  .b-visions { margin-top: 58px; }
  .b-after-quote { margin-top: 9px; }
  .b-title-dreams { margin-top: 98px; }
  .b-after-title { margin-top: 14px; }
  .b-h2-lead { margin-top: 14px; }
  .b-p { margin-top: 10px; }
  .b-cta-after-p { margin-top: 28px; }
  .b-title-future { margin-top: 90px; }
  .b-visions-lead { margin-top: 11px; }
  .b-title-life { margin-top: 79px; }
  .b-life-heading { margin-top: 47px; }
  .b-life { margin-top: 90px; }
  .b-cta-after-life { margin-top: 21px; }
  .b-title-backup { margin-top: 104px; }
  .b-members-heading { margin-top: 47px; }
  .b-members { margin-top: 90px; }
  .b-backup-heading { margin-top: 91px; }
  .b-support { margin-top: 66px; }
  .b-support-lead { margin-top: 43px; }
  .b-cta-tight { margin-top: 10px; }
  .b-title-join { margin-top: 104px; }
  .b-callout { margin-top: 76px; }
  .b-line-add { margin-top: 11px; }
  .b-cta-after-line { margin-top: 43px; }
  .b-ready { margin-top: 70px; }
  .b-ready-lead { margin-top: 41px; }
  .b-stage { margin-top: 67px; }
  .b-footer { margin-top: 10px; }
}

/* ── 404 ── */

.not-found {
  min-height: 100vh;
  padding-bottom: 80px;
}

/* ── 現れる動き（現行の Gamma のアニメーション：下から少し上がりながら現れる） ── */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-btn,
  .btn-line,
  .js .site-nav {
    transition: none;
  }
}
