/* ============ Design tokens (Figma仕様表の値) ============ */
:root {
  --c-text: #3c3c3c;
  --c-white: #ffffff;
  --c-line-green: #06c755;
  --c-card-border: #57beb4;
  --grad-main: linear-gradient(86.34deg, #57beb4 0%, #259fdb 100%);
  --grad-text: linear-gradient(68deg, #57beb4 0%, #259fdb 100%);
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --font-oswald: "Oswald", sans-serif;
  --font-zen: "Zen Kaku Gothic New", sans-serif;
  --col-w: 390px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  min-width: 1440px;
  font-family: var(--font-ja);
  color: var(--c-text);
  position: relative;
}
img { display: block; }
a { text-decoration: none; color: inherit; }
p { margin: 0; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ FV固定エリア（背景） ============ */
.fixed-bg {
  position: fixed;
  inset: 0;
  background: var(--grad-main);
  z-index: 0;
}
.fixed-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/fv-bg.jpg") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.2;
  pointer-events: none;
}

.fixed-ui {
  position: fixed;
  left: 83px;
  top: 60px;
  z-index: 5;
}
.theone-btn { display: block; width: 90px; height: 100px; }
.theone-btn img { width: 100%; height: 100%; }
.past-event {
  margin-top: 18px; /* 60+100=160 -> badge top 178 */
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 170px;
  height: 70px;
  padding: 16px 2px;
  background: rgba(60, 60, 60, 0.5);
  border: 1px solid #fff;
  backdrop-filter: blur(2px);
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: normal;
}
.past-event__en { font-family: var(--font-en); font-weight: 300; letter-spacing: 1.4px; }
.past-event__ja { font-family: var(--font-ja); font-weight: 400; letter-spacing: 2.8px; }

/* ENTRY固定バナー（右下） */
.entry-banner {
  position: fixed;
  right: 102px;   /* 1440-948-390 */
  bottom: 86px;   /* 900-744-70 */
  width: 390px;
  height: 70px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  z-index: 5;
}
.entry-banner__line { width: 390px; height: 1px; background: var(--grad-text); }
.entry-banner__inner {
  display: flex;
  align-items: center;
  gap: 120px;
  width: 341.11px;
}
.entry-banner__texts { display: flex; flex-direction: column; width: 207px; }
.entry-banner__title {
  font-family: var(--font-oswald);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 2.4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: normal;
}
.entry-banner__sub {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 12px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: normal;
}
.entry-banner__arrow { width: 9.11px; height: 15.47px; }

/* ============ 中央カラム ============ */
.lp {
  position: relative;
  margin: 0 auto;
  width: var(--col-w);
  min-height: 7612px;
  background: #fff;
  z-index: 1;
}

/* ファーストビュー */
.fv { position: relative; height: 776px; }
.fv__copy {
  position: absolute;
  top: 214px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 3.2px;
  white-space: nowrap;
  text-align: center;
}
.fv__logo {
  position: absolute;
  left: 38px;
  top: 305px;
  width: 311.88px;
  height: 101.34px;
}

/* コンテンツ */
.content { position: relative; height: 6836px; }
.content section { position: absolute; left: 0; width: 100%; }

/* セクション見出し共通 */
.sec-head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: normal;
  line-height: normal;
}
.sec-head__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 3.2px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head__ja {
  display: block;
  margin-top: 1px; /* en(top0,~44px) -> ja top45 */
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2.8px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 下線付き小見出し共通 */
.label {
  font-size: 18px;
  letter-spacing: 3.6px;
  text-decoration: underline;
  text-underline-position: from-font;
  font-weight: 400;
  line-height: normal;
}

/* ============ ABOUT ============ */
.about { top: 0; height: 504px; }
.about__title {
  position: absolute;
  left: 28px;
  top: 102px;
  width: 335px;
  font-weight: 300;
  font-size: 32px;
  line-height: 50px;
  letter-spacing: 6.4px;
}
.about__body {
  position: absolute;
  left: 28px;
  top: 232px;
  width: 335px;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1.6px;
}

/* ============ ENTRY ============ */
.entry { top: 584px; height: 1715px; }
.entry .label { position: absolute; left: 28px; }
.entry__label-shikaku { top: 102px; }
.entry__shikaku {
  position: absolute;
  left: 28px;
  top: 136px;
  width: 335px;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1.6px;
}
.entry__shikaku .big { font-size: 20px; }
.entry__label-naiyou { top: 260px; }
.entry__naiyou {
  position: absolute;
  left: 25px;
  top: 294px;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1.6px;
  white-space: nowrap;
}
.entry__strip { position: absolute; left: 0; top: 344px; width: 390px; height: 22px; }

.entry__box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 386px;
  width: 335px;
  height: 210px;
  border: 1px solid var(--c-text);
}
.entry__box-line1 {
  position: absolute;
  top: 24px; /* box内 18 + inner 6 */
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 32px;
  line-height: 30px;
  letter-spacing: 2px;
}
.entry__box-line1 .s { font-size: 20px; }
.entry__box-lineicon {
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -2px;
}
.entry__box-line2 {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 2px;
}
.entry__box-divider {
  position: absolute;
  top: 102px;
  left: 50%;
  transform: translateX(-50%);
  width: 308px;
  height: 1px;
  background: var(--c-text);
}
.entry__box-fee1 {
  position: absolute;
  top: 131px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: normal;
}
.entry__box-fee2 {
  position: absolute;
  top: 161px;
  left: calc(50% - 67.5px);
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1.6px;
}

.entry__flow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 636px;
  width: 335px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.entry__flow .label { position: static; }
.flow-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 19px 11px; /* Figmaはstroke内側描画のため枠線1px分を吸収 */
  border: 1px solid var(--c-card-border);
  border-radius: 8px;
}
.flow-card__num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: linear-gradient(87.7deg, #57beb4 0%, #259fdb 100%);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-card__texts { display: flex; flex-direction: column; gap: 4px; flex: 1 0 0; min-width: 1px; }
.flow-card__title { font-weight: 500; font-size: 16px; line-height: 22px; letter-spacing: 1.6px; }
.flow-card__desc { font-weight: 400; font-size: 13px; line-height: 19px; letter-spacing: 1.3px; }

.line-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 59px;
  padding: 18px 20px;
  background: var(--c-line-green);
  border: 1px solid #fff;
  border-radius: 6px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  white-space: nowrap;
}
.line-cta img { width: 6px; height: 12px; }

.entry__label-kikan { top: 1443px; }
.entry__kikan { position: absolute; left: 30px; top: 1477px; font-size: 16px; line-height: 30px; letter-spacing: 1.6px; white-space: nowrap; }
.entry__label-nominate { top: 1547px; }
.entry__nominate { position: absolute; left: 30px; top: 1581px; font-size: 16px; line-height: 30px; letter-spacing: 1.6px; white-space: nowrap; }
.entry__label-jushou { top: 1651px; }
.entry__jushou { position: absolute; left: 30px; top: 1685px; font-size: 16px; line-height: 30px; letter-spacing: 1.6px; white-space: nowrap; }

/* ============ PRIZE ============ */
.prize { top: 2379px; height: 350px; }
.prize__cat1, .prize__cat2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: normal;
  white-space: nowrap;
}
.prize__cat1 { top: 102px; }
.prize__amount1, .prize__amount2 {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 36px;
  line-height: normal;
  white-space: nowrap;
}
.prize__amount1 { left: calc(50% - 80.5px); top: 135px; }
.prize__cat2 { top: 229px; }
.prize__amount2 { left: calc(50% - 71.5px); top: 262px; }
.prize__note {
  position: absolute;
  left: calc(50% - 82.5px);
  top: 320px;
  font-size: 13px;
  line-height: 30px;
  letter-spacing: 1.3px;
  white-space: nowrap;
}

/* ============ JUDGES ============ */
.judges { top: 2809px; height: 772px; }
.judge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.judge--1 { top: 102px; }
.judge--2 { top: 457px; }
.judge__img { width: 240px; height: 240px; overflow: hidden; position: relative; }
.judge__img img { position: absolute; width: 100%; left: 0; }
.judge__img--eika img { height: 125.05%; top: -8.34%; }
.judge__img--sawai img { height: 149.95%; top: -15.85%; }
.judge__role { font-size: 12px; line-height: 1.5; letter-spacing: 1.2px; text-align: center; }
.judge__name { font-size: 16px; letter-spacing: 1.6px; text-align: center; line-height: normal; }

/* ============ GUIDELINE ============ */
.guideline { top: 3661px; height: 2229px; }
.gl-block, .gl-rules {
  position: absolute;
  left: 26px;
  width: 342px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.gl-shikaku { top: 102px; }
.gl-kitei { top: 207px; }
.gl-rules { top: 592px; gap: 12px; }
.gl-kijun { top: 1883px; left: 25px; }
.gl-kinshi { top: 2004px; left: 25px; }
.gl-block__title, .gl-rule__title {
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  white-space: nowrap;
}
.gl-block__body { font-size: 13px; line-height: 1.85; width: 100%; }
.gl-rule { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.gl-rule__title { font-size: 13px; }
.gl-rule__body { font-size: 13px; line-height: 1.85; width: 100%; }

/* ============ AWARD ============ */
.award { top: 5948px; height: 339px; }
.award__date {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 102px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 30px;
  line-height: normal;
  white-space: nowrap;
  text-align: center;
}
.award__place {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 158px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 1.4px;
  text-align: center;
  white-space: nowrap;
}
.award__pin { position: absolute; left: 178px; top: 248px; width: 38px; height: 48px; }
.award__map {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 310px;
  font-size: 16px;
  text-align: center;
  line-height: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Footer ============ */
.footer {
  position: absolute;
  left: 0;
  top: 6359px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  background: linear-gradient(88.12deg, #57beb4 0%, #259fdb 100%);
  color: #fff;
}
.footer__copy {
  font-weight: 400;
  font-size: 24px;
  line-height: 40px;
  letter-spacing: 4.8px;
  text-align: center;
}
.footer__cta { width: 335px; }
.footer__ig { width: 30px; height: 30px; }
.footer__ig img { width: 100%; height: 100%; }
.footer__links, .footer__copyright {
  font-family: var(--font-zen);
  font-weight: 500;
  font-size: 11px;
  text-align: center;
  white-space: pre-wrap;
}
.footer__links { line-height: 1.6; }
.footer__links a { color: inherit; }
.footer__links a:hover { text-decoration: underline; }

/* ============ SPヘッダー・ハンバーガー（デザイン: 210:1638 / 210:1715） ============ */
.sp-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(75.43deg, #57beb4 0%, #259fdb 100%);
  backdrop-filter: blur(2px);
  border-bottom: 1px solid #fff;
  z-index: 20;
}
.sp-header__toggle {
  position: absolute;
  left: 23px; top: 18px;
  width: 22px; height: 22px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.sp-header__bars { position: absolute; inset: 0; display: block; }
.sp-header__bars span {
  position: absolute; left: 0;
  width: 22px; height: 2px;
  background: #fff; border-radius: 1px;
}
.sp-header__bars span:nth-child(1) { top: 3px; }
.sp-header__bars span:nth-child(2) { top: 10px; }
.sp-header__bars span:nth-child(3) { top: 17px; }
.sp-header__close { position: absolute; inset: 0; width: 22px; height: 22px; display: none; }
body.menu-open .sp-header__bars { display: none; }
body.menu-open .sp-header__close { display: block; }
.sp-header__logo {
  position: absolute;
  left: calc(50% - 66px);  /* 390px時 x=129（デザイン準拠） */
  top: 16px;
  width: 120px; height: 28.6px;
}
.sp-header__theone {
  position: absolute;
  right: 0; top: 0;
  width: 60px; height: 60px;
  background: #e0e0e0;
  display: flex; align-items: center; justify-content: center;
}
.sp-header__theone img { width: 40px; height: 44px; }

.sp-menu {
  display: none;
  position: fixed;
  left: -8px; top: 60px;
  width: 178px; height: 497px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  border: 1px solid #fff;
  z-index: 19;
}
body.menu-open .sp-menu { display: block; }
.sp-menu__list {
  position: absolute;
  left: 28px; top: 26px;
  width: 130px;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.sp-menu__list li {
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}
.sp-menu__list a { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.sp-menu__list .en { font-family: var(--font-en); font-size: 12px; letter-spacing: 1.2px; line-height: 21px; }
.sp-menu__list .ja { font-family: var(--font-ja); font-size: 14px; letter-spacing: 1.4px; line-height: 21px; }
.sp-menu__ig { position: absolute; left: 29px; top: 351px; width: 24px; height: 24px; }
.sp-menu__ig img { width: 100%; height: 100%; }
.sp-menu__vsds {
  position: absolute;
  left: 0; top: 428px;
  width: 176px; height: 69px;
  background: #fff;
}
.sp-menu__vsds img { position: absolute; left: 26px; top: 23px; width: 126px; height: 24px; }

/* ============ SP（〜767px）: 中央カラム＋ヘッダー＋下部固定バナー ============ */
@media (max-width: 767px) {
  html { scroll-behavior: smooth; }
  .content section { scroll-margin-top: 60px; } /* 固定ヘッダー分 */
  body { min-width: 0; overflow-x: hidden; }
  .fixed-ui { display: none; }
  .lp { margin: 0 auto; }
  .sp-header { display: block; }
  .entry-banner {
    left: 0; right: 0; bottom: 0;
    width: 100%;
    z-index: 18;
  }
  .entry-banner__line { width: 100%; }
}
/* PCではハンバーガーメニューを常に非表示 */
@media (min-width: 768px) {
  .sp-menu { display: none !important; }
}
