/* ==========================================================
   YOGABOND 2027 申し込みLP（test.html）
   デザイン基準幅 1400px / SP 基準 390px
   ========================================================== */

:root {
  --olive: #baa900;
  --olive-deep: #a19200;
  --olive-light: #e6dc7a;
  --ink: #2b2929;
  --ink-logo: #231815;
  --gray: #f9f9f9;
  --dark: #292929;
  --white: #fff;
  --cream: #f5f2e6;

  --f-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --f-display: Impact, "Anton", "Haettenschweiler", "Arial Narrow Bold", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* 初期表示のアンカー移動は即時、ページ内リンクだけスムーズに */
html.is-loaded { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, ol, figure { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
button { font: inherit; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.js.is-loading body { overflow: hidden; }

/* ==========================================================
   オープニング（B マークが組み上がって幕が上がる）
   ========================================================== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  transition: transform 1s var(--ease-in-out) .15s, visibility 0s linear 1.2s;
}
.loader__logo { width: 180px; }
.loader__logo svg { width: 100%; height: auto; overflow: visible; }
/* B の上下が左右から組み上がり、文字がその後に浮かぶ */
.loader__top    { animation: ld-top .8s var(--ease-out) both; }
.loader__bottom { animation: ld-bottom .8s var(--ease-out) .12s both; }
.loader__name   { animation: ld-text .8s var(--ease-out) .35s both; }
.loader__by     { animation: ld-text .8s var(--ease-out) .5s both; }
@keyframes ld-top    { from { transform: translateX(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ld-bottom { from { transform: translateX(60px);  opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ld-text   { from { transform: translateY(14px);  opacity: 0; } to { transform: none; opacity: 1; } }

.is-loaded .loader { transform: translateY(-100%); visibility: hidden; }
.is-loaded .loader__logo { transition: opacity .4s ease; opacity: 0; }

/* スクロール進捗バー */
.progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  aspect-ratio: 1400 / 900;
  background: var(--cream);
}
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.js .hero__img { transform: scale(1.14); opacity: 0; filter: blur(8px); }
.is-loaded .hero__img {
  transform: none; opacity: 1; filter: none;
  transition: transform 2.8s var(--ease-out) .5s, opacity 1.2s ease .5s, filter 1.4s ease .5s;
}

/* 光が横切る演出 */
.hero__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 252, 235, .55) 50%, transparent 62%);
  mix-blend-mode: soft-light;
  transform: translateX(-100%);
}
.is-loaded .hero__sheen { animation: sheen 2.4s var(--ease-in-out) 1.6s both; }
@keyframes sheen { to { transform: translateX(100%); } }

/* ==========================================================
   セクション共通
   ========================================================== */
.sec { position: relative; padding: 130px 20px 140px; }
.sec--gray { background: var(--gray); }
.sec--white { background: var(--white); }
.sec__inner { position: relative; max-width: 700px; margin: 0 auto; text-align: center; }
.sec__inner--wide { max-width: 1220px; }

/* 見出し（Impact・頭文字オリーブ） */
.sec-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: 82px; line-height: 1.2; letter-spacing: 0;
  color: var(--ink);
  overflow: hidden;
  padding-top: .04em;
}
.sec-title::first-letter { color: var(--olive); }
.sec-title .ch { display: inline-block; }
.sec-title .ch--accent { color: var(--olive); }
.js .sec-title .ch { transform: translateY(110%) rotate(6deg); }
.js .sec-title.is-in .ch {
  transform: none;
  transition: transform 1s var(--ease-out) calc(var(--i) * .045s);
}

.sec-sub { margin-top: 36px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.sec-heading { margin-top: 40px; font-size: 42px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }

/* スクロールで出現 */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 36px, 0);
  transition: opacity 1s ease var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="img"] { transform: none; opacity: 1; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out) var(--d, 0s); }
.js [data-reveal="img"] img { transform: scale(1.12); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="img"].is-in img { transform: none; }

.js [data-reveal="pop"] { transform: scale(.6) rotate(-8deg); transition: opacity .6s ease var(--d, 0s), transform 1s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s); }

/* ==========================================================
   EVENT
   ========================================================== */
.event { margin-top: 44px; }
.event__name { font-size: 48px; font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
.event__kind { margin-top: 10px; font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.event__date { margin-top: 26px; font-size: 28px; font-weight: 400; letter-spacing: .03em; }
.lead { margin-top: 50px; font-size: 18px; line-height: 2; }
.stats {
  display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 0 22px;
  margin-top: 30px; font-size: 20px; font-weight: 700;
}
.stats__num {
  display: inline-block; min-width: 1.2em;
  margin: 0 2px; font-size: 40px; line-height: 1; color: var(--olive); font-variant-numeric: tabular-nums;
}
.stats + .lead { margin-top: 36px; }

.banner {
  width: min(655px, 100%); margin: 48px auto 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(43, 41, 41, .25);
}
.banner img { width: 100%; }

/* ==========================================================
   CTA（価格＋申込フォーム）
   ========================================================== */
.cta { margin-top: 56px; }
.cta__date { font-size: 28px; line-height: 1.5; letter-spacing: .03em; margin-bottom: 18px; }
.price { font-weight: 700; font-size: 28px; line-height: 1.3; letter-spacing: .02em; }
.price__slash { margin: 0 6px; }
.price__num { font-size: 48px; letter-spacing: 0; }
.price__tax { letter-spacing: 0; }
.cta__form { margin-top: 36px; }
.cta__note { margin-top: 40px; font-size: 16px; letter-spacing: .06em; }

.btn-entry {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  width: min(458px, 100%); height: 112px; margin: 0 auto;
  border: 0; border-radius: 0; cursor: pointer;
  background: var(--olive); color: var(--white);
  font-size: 28px; font-weight: 700; letter-spacing: .1em;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .4s ease;
  box-shadow: 0 16px 34px -18px rgba(150, 136, 0, .8);
  -webkit-tap-highlight-color: transparent;
}
/* 内側の白ライン */
.btn-entry::before {
  content: ""; position: absolute; inset: 11px 12px; z-index: 1;
  border: 1px solid rgba(255, 255, 255, .9);
  transition: inset .5s var(--ease-out);
  pointer-events: none;
}
/* 光のスイープ（定期的に走る＋ホバーで走る） */
.btn-entry::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; z-index: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 4.5s ease-in-out 2s infinite;
  pointer-events: none;
}
.btn-entry__label {
  position: relative; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 16px;
  padding-left: 30px;
}
.btn-entry__label::after {
  content: ""; width: 14px; height: 14px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .5s var(--ease-out);
}
@keyframes btn-shine {
  0%   { left: -60%; }
  30%  { left: 130%; }
  100% { left: 130%; }
}
@media (hover: hover) {
  .btn-entry:hover { background: var(--olive-deep); transform: translateY(-3px); box-shadow: 0 26px 44px -20px rgba(150, 136, 0, .9); }
  .btn-entry:hover::before { inset: 6px 7px; }
  .btn-entry:hover .btn-entry__label::after { transform: translateX(6px) rotate(45deg); }
}
.btn-entry:active { transform: translateY(0) scale(.985); }
.btn-entry:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* クリック時の波紋 */
.btn-entry .ripple {
  position: absolute; z-index: 1; border-radius: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  background: rgba(255, 255, 255, .45);
  animation: ripple .7s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(40); opacity: 0; } }

/* ==========================================================
   PICK UP
   ========================================================== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 104px;
  text-align: left;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 72px 27px 24px;
  background: var(--white);
  border: 1px solid var(--olive); border-radius: 8px;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card__num {
  position: absolute; top: -44px; left: 50%;
  display: grid; place-items: center;
  width: 88px; height: 88px; margin-left: -44px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  font-size: 40px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 0 rgba(186, 169, 0, .35);
}
.card__kicker { text-align: center; font-size: 20px; font-weight: 700; line-height: 1.5; }
.card__title {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 94px; margin-top: 14px;
  text-align: center; color: var(--olive);
  font-size: 38px; font-weight: 700; line-height: 1.2; letter-spacing: .02em;
}
.card__title--stats { font-size: 28px; line-height: 1.6; }
.card__title--stats b { font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.card__img { margin-top: 18px; overflow: hidden; aspect-ratio: 320 / 205; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card__text { margin-top: 22px; font-size: 18px; line-height: 1.45; }

.js [data-reveal="card"] .card__num { transform: scale(0) rotate(-90deg); }
.js [data-reveal="card"].is-in .card__num {
  transform: none;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0s) + .35s);
  animation: num-pulse 2.8s ease-out calc(var(--d, 0s) + 1.3s) 2;
}
@keyframes num-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(186, 169, 0, .45); }
  70%  { box-shadow: 0 0 0 22px rgba(186, 169, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(186, 169, 0, 0); }
}
@media (hover: hover) {
  .card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(120, 110, 0, .45); }
  .card:hover .card__img img { transform: scale(1.06); }
}

#pickup .cta { margin-top: 70px; }

/* ==========================================================
   ABOUT
   ========================================================== */
.sec--about { overflow: hidden; }
/* 背景に大きな B マークをうっすら（スクロールでゆっくり動く） */
.about__ghost {
  position: absolute; top: 14%; left: -300px;
  width: 520px; height: 660px;
  opacity: .045; pointer-events: none;
  transform: translate3d(0, var(--ghost, 0px), 0);
}
.about__ghost::before, .about__ghost::after {
  content: ""; position: absolute; left: 0; border-radius: 0 999px 999px 0;
}
.about__ghost::before { top: 0; width: 80%; height: 46%; background: var(--ink); }
.about__ghost::after { bottom: 0; width: 100%; height: 50%; background: var(--olive); }

.about__logo { width: 198px; margin: 58px auto 0; }
.about__logo svg { width: 100%; overflow: visible; }
.js .about__logo[data-reveal] { opacity: 1; transform: none; }
.js .about__logo .lg-top    { transform: translateX(-36px); opacity: 0; }
.js .about__logo .lg-bottom { transform: translateX(36px);  opacity: 0; }
.js .about__logo .lg-text   { opacity: 0; transform: translateY(10px); }
.js .about__logo .lg-top, .js .about__logo .lg-bottom, .js .about__logo .lg-text {
  transition: transform 1.1s var(--ease-out), opacity .8s ease;
}
.js .about__logo.is-in .lg-top    { transform: none; opacity: 1; }
.js .about__logo.is-in .lg-bottom { transform: none; opacity: 1; transition-delay: .15s; }
.js .about__logo.is-in .lg-text   { transform: none; opacity: 1; transition-delay: .5s; }

.about__text { margin-top: 50px; font-size: 20px; line-height: 1.6; letter-spacing: .08em; }
.about__text p + p { margin-top: 32px; }
/* SP で句の途中で折り返さないためのまとまり */
.about__text .ib { display: inline-block; }
.about__em {
  background: linear-gradient(transparent 62%, rgba(186, 169, 0, .3) 62%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.2s var(--ease-out) .5s;
}
.is-in .about__em { background-size: 100% 100%; }

.sec--about .cta { margin-top: 90px; }

/* ==========================================================
   HOW TO JOIN
   ========================================================== */
.join {
  display: flex; align-items: center; gap: 76px;
  max-width: 676px; margin: 50px auto 0;
  text-align: left;
}
.join__zoom { width: 158px; flex-shrink: 0; }
.join__text { font-size: 18px; line-height: 1.78; }

.notes {
  max-width: 676px; margin: 44px auto 0; padding: 42px 40px 36px;
  background: var(--gray);
  text-align: left; font-size: 18px; line-height: 1.78;
}
.notes__title { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.notes__list li + li { margin-top: 32px; }
.notes__head { display: flex; gap: 6px; }
.notes__head span { color: var(--olive); font-weight: 700; }

/* ==========================================================
   FOOTER（ダークの最終CTA）
   ========================================================== */
.footer {
  position: relative; overflow: hidden;
  padding: 100px 20px 30px;
  background: var(--dark); color: var(--white);
  text-align: center;
}
.footer__glow {
  position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: radial-gradient(circle, rgba(186, 169, 0, .2) 0%, rgba(186, 169, 0, 0) 60%);
  animation: glow 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow {
  0%   { transform: translate(-18%, -6%) scale(.9); }
  100% { transform: translate(18%, 8%) scale(1.15); }
}
.footer__cta { position: relative; }
.footer__name {
  font-size: 48px; font-weight: 700; line-height: 1.3; letter-spacing: .01em;
  background: linear-gradient(100deg, var(--olive) 0%, var(--olive) 40%, #f3ea9c 50%, var(--olive) 60%, var(--olive) 100%) 100% 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 5s ease-in-out 1s infinite;
}
@keyframes text-shine {
  0%, 40% { background-position: 100% 0; }
  80%, 100% { background-position: 0 0; }
}
.footer__kind { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.cta--dark { margin-top: 36px; }
.cta--dark .cta__date { margin-bottom: 44px; }
.cta--dark .btn-entry { box-shadow: 0 0 0 0 rgba(186, 169, 0, .5); animation: btn-glow 3s ease-out infinite; }
@keyframes btn-glow {
  0%   { box-shadow: 0 0 0 0 rgba(186, 169, 0, .5); }
  70%  { box-shadow: 0 0 0 18px rgba(186, 169, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(186, 169, 0, 0); }
}
.footer__bottom {
  position: relative;
  margin: 86px -3px 0; padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, .55);
}
.footer__logo { display: inline-block; color: var(--white); transition: opacity .3s; }
.footer__logo:hover { opacity: .7; }
.footer__logo img { width: 257px; }
.footer__copy { margin-top: 18px; font-size: 16px; letter-spacing: .02em; }
.footer__copy small { font-size: inherit; }

/* ==========================================================
   タブレット
   ========================================================== */
@media (max-width: 1100px) {
  .cards { gap: 24px; }
  .card { padding: 68px 18px 22px; }
  .card__title { font-size: 30px; }
  .card__title--stats { font-size: 22px; }
  .card__title--stats b { font-size: 30px; }
  .card__text { font-size: 16px; }
}

/* ==========================================================
   SP
   ========================================================== */
@media (max-width: 767px) {
  body { font-size: 15px; }

  .loader__logo { width: 140px; }

  /* ヒーローは SP 専用の縦長画像（yogabond2027_sp_01.jpg）に切り替え */
  .hero { aspect-ratio: 1080 / 1500; }

  .sec { padding: 80px 16px 90px; }
  .sec-title { font-size: 54px; }
  .sec-sub { margin-top: 20px; font-size: 18px; }
  .sec-heading { margin-top: 20px; font-size: 26px; }

  .event { margin-top: 28px; }
  .event__name { font-size: 34px; }
  .event__kind { font-size: 16px; }
  .event__date { margin-top: 16px; font-size: 19px; }
  .lead { margin-top: 32px; font-size: 15px; }
  .stats { margin-top: 20px; font-size: 16px; gap: 0 16px; }
  .stats__num { font-size: 34px; }
  .stats + .lead { margin-top: 22px; }
  .banner { margin-top: 36px; }

  .cta { margin-top: 44px; }
  .cta__date { font-size: 19px; margin-bottom: 10px; }
  .price { font-size: 20px; }
  .price__num { font-size: 38px; }
  .cta__form { margin-top: 24px; }
  .cta__note { margin-top: 22px; font-size: 12px; }
  .btn-entry { height: 80px; font-size: 20px; }
  .btn-entry::before { inset: 8px 9px; }
  .btn-entry__label { gap: 12px; padding-left: 22px; }
  .btn-entry__label::after { width: 10px; height: 10px; }

  .cards { grid-template-columns: 1fr; gap: 72px; margin-top: 76px; }
  .card { padding: 58px 20px 22px; }
  .card__num { top: -34px; width: 68px; height: 68px; margin-left: -34px; font-size: 30px; }
  .card__kicker { font-size: 16px; }
  .card__title { min-height: 0; margin-top: 8px; font-size: 30px; }
  .card__title--stats { font-size: 22px; }
  .card__title--stats b { font-size: 30px; }
  .card__img { margin-top: 16px; }
  .card__text { margin-top: 16px; font-size: 15px; line-height: 1.7; }
  #pickup .cta { margin-top: 60px; }

  .about__ghost { width: 260px; height: 330px; left: -190px; top: 22%; }
  .about__logo { width: 140px; margin-top: 36px; }
  .about__text { margin-top: 36px; font-size: 14px; line-height: 1.9; letter-spacing: .04em; }
  .about__text p + p { margin-top: 22px; }
  .sec--about .cta { margin-top: 60px; }

  .join { flex-direction: column; gap: 24px; margin-top: 36px; }
  .join__zoom { width: 110px; }
  .join__text { font-size: 15px; }
  .notes { margin-top: 36px; padding: 30px 20px 26px; font-size: 14px; }
  .notes__title { font-size: 17px; margin-bottom: 14px; }
  .notes__list li + li { margin-top: 20px; }

  .footer { padding: 72px 16px 26px; }
  .footer__name { font-size: 34px; }
  .footer__kind { font-size: 16px; }
  .cta--dark .cta__date { margin-bottom: 24px; }
  .footer__bottom { margin-top: 60px; padding-top: 36px; }
  .footer__logo img { width: 190px; }
  .footer__copy { font-size: 12px; }
}

/* 小さい端末 */
@media (max-width: 374px) {
  .sec-title { font-size: 46px; }
  .price__num { font-size: 32px; }
  .btn-entry { font-size: 18px; }
}

/* ==========================================================
   モーション軽減
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .loader { display: none; }
  .js .hero__img { transform: none; opacity: 1; filter: none; }
  .js [data-reveal], .js [data-reveal] img, .js .sec-title .ch,
  .js .about__logo .lg-top, .js .about__logo .lg-bottom, .js .about__logo .lg-text,
  .js [data-reveal="card"] .card__num { opacity: 1; transform: none; clip-path: none; }
  .about__ghost { transform: none; }
}
