:root {
  color-scheme: dark;
  --bg: #020713;
  --panel: #071226;
  --ink: #f7fbff;
  --muted: #bad3e6;
  --line: #08a84d;
  --line-soft: #13b85a;
  --cyan: #18aee7;
  --gold: #e3b64a;
  --stroke: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  padding-bottom: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(24, 174, 231, 0.22), transparent 28rem),
    linear-gradient(180deg, #020713 0%, #061428 48%, #020713 100%);
  color: var(--ink);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui,
    sans-serif;
  letter-spacing: 0;
}

main {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.hero {
  padding: 32px 0 22px;
}

.hero__frame,
.facts,
.line-start,
.contest-summary,
.prize-section,
.visual-info,
.info,
.official {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.hero__frame {
  display: grid;
  gap: 24px;
}

.hero__copy {
  min-width: 0;
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding: 2px 0 0;
  text-align: center;
}

.hero__visual {
  display: block;
  min-width: 0;
}

.hero__visual img,
.line-start__image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.deadline-bar {
  display: grid;
  justify-items: center;
  gap: 3px;
  width: min(720px, 100%);
  margin: -8px auto -2px;
  padding: 0 20px;
  text-align: center;
}

.deadline-bar span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.deadline-bar strong {
  color: #fff8dc;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.2;
}

.deadline-bar strong span {
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(24, 174, 231, 0.45);
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

.lead {
  margin-bottom: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 0;
  align-items: center;
  margin-top: 10px;
}

.hero__points span {
  display: inline-flex;
  min-height: 32px;
  min-width: 0;
  align-items: center;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid rgba(227, 182, 74, 0.5);
  border-radius: 0;
  background: transparent;
  color: #fff8dc;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hero__points span:first-child {
  padding-left: 0;
}

.hero__points span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero__note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: rgba(247, 251, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.hero__subnote {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(186, 211, 230, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.button--line {
  min-width: min(100%, 315px);
  background: linear-gradient(180deg, var(--line-soft), var(--line));
  color: #fff;
  box-shadow: 0 0 22px rgba(8, 168, 77, 0.32);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--stroke);
}

.fact {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(227, 182, 74, 0.52);
  border-radius: 8px;
  background: rgba(227, 182, 74, 0.08);
}

.fact strong {
  display: block;
  margin-bottom: 10px;
  color: #fff8dc;
  font-size: 21px;
  line-height: 1.28;
}

.fact span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.line-start {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  padding: 48px 0 56px;
  border-top: 1px solid var(--stroke);
}

.line-start__copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.line-start__actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.contest-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 38px 0 56px;
}

.contest-summary__head p,
.contest-summary__body p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.contest-summary__head,
.contest-summary__body {
  max-width: 920px;
  margin: 0 auto;
}

.contest-summary__body .concept {
  margin-bottom: 16px;
  color: rgba(247, 251, 255, 0.95);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
}

.contest-points {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.contest-points li {
  padding: 9px 0 9px 16px;
  border-left: 3px solid var(--gold);
  color: #fff8dc;
  font-size: clamp(19px, 2.3vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

.contest-ad,
.prize-visual {
  margin: 22px 0;
}

.contest-ad picture,
.contest-ad img,
.prize-visual img {
  display: block;
  width: 100%;
}

.contest-ad img,
.prize-visual img {
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.prize-section {
  padding: 0 0 56px;
  width: min(980px, calc(100% - 48px));
}

.prize-section__head {
  margin-bottom: 18px;
}

.prize-visual {
  margin: 0;
}

.quiet-link {
  display: inline-flex;
  color: rgba(186, 211, 230, 0.78);
  font-size: 13px;
  font-weight: 500;
  text-underline-offset: 3px;
}

.quiet-link-wrap {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 4px;
  margin-top: 14px;
}

.quiet-link-wrap span {
  color: rgba(227, 182, 74, 0.72);
  font-size: 11px;
  font-weight: 600;
}

.line-preview {
  width: min(260px, 54vw);
  margin: 18px auto 0;
  opacity: 0.82;
}

.line-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.line-preview figcaption {
  margin-top: 6px;
  color: rgba(186, 211, 230, 0.72);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.entry-flow {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--stroke);
}

.entry-flow__head {
  margin-bottom: 2px;
}

.entry-flow__head .eyebrow,
.entry-flow__head h2 {
  margin-bottom: 10px;
}

.visual-info {
  padding: 48px 0 56px;
  border-top: 1px solid var(--stroke);
}

.visual-info__head {
  margin-bottom: 22px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.visual-card {
  margin: 0;
  min-width: 0;
}

.visual-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(24, 174, 231, 0.34);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.visual-card figcaption {
  display: none;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.16;
}

.info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 48px 0 62px;
  border-top: 1px solid var(--stroke);
}

.official {
  padding: 48px 0 62px;
  border-top: 1px solid var(--stroke);
}

.official__head {
  margin-bottom: 22px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-block {
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.partner-block > span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.partner-logos {
  display: grid;
  gap: 10px;
}

.partner-logos img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: contain;
  padding: 12px;
  border-radius: 6px;
  background: #fff;
}

.partner-logos img.partner-logo--committee {
  height: 76px;
  object-fit: contain;
  padding: 8px 10px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.flow li {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(24, 174, 231, 0.36);
  border-radius: 8px;
  background: rgba(7, 18, 38, 0.72);
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

.flow__link-card {
  border-color: rgba(24, 174, 231, 0.58);
}

.flow__link-card a {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.flow__title {
  display: block;
}

.flow__hint {
  display: inline-flex;
  width: fit-content;
  color: rgba(186, 211, 230, 0.86);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.flow__hint::after {
  content: "→";
  margin-left: 6px;
  color: var(--cyan);
}

.flow li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
}

.flow-cta {
  display: grid;
  grid-column: auto;
  justify-items: center;
  gap: 12px;
  width: min(720px, 100%);
  margin: 34px auto 0;
  padding-top: 8px;
}

.flow-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

.flow-cta__note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(227, 182, 74, 0.42);
  border-radius: 999px;
  background: rgba(227, 182, 74, 0.1);
  color: #fff1ad !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.flow-cta .line-preview {
  margin-top: 4px;
}

.flow-cta .line-start__actions {
  justify-content: center;
  margin-top: 4px;
}

.contest-summary .line-start__actions {
  justify-content: center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 28px;
  border-top: 1px solid var(--stroke);
  color: rgba(247, 251, 255, 0.72);
  font-size: 12px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: rgba(247, 251, 255, 0.86);
  text-decoration-color: rgba(247, 251, 255, 0.36);
  text-underline-offset: 3px;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 20;
  display: none;
  width: min(430px, calc(100% - 48px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(6, 199, 85, 0.26);
  border-radius: 8px;
  background: rgba(4, 13, 28, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.46);
  color: var(--ink);
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.sticky-cta__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-cta__copy strong {
  color: #fff8dc;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.sticky-cta__copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.sticky-cta__button {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(6, 199, 85, 0.62);
  background: rgba(8, 168, 77, 0.16);
  color: #dfffea;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 92px;
  }

  .hero {
    min-height: auto;
    padding: 0 0 30px;
  }

  .hero__frame {
    width: 100%;
    max-width: 100vw;
    gap: 0;
    overflow: hidden;
  }

  .hero__copy {
    width: min(calc(100% - 28px), 560px);
    margin: 28px auto 20px;
    display: block;
    padding: 0;
    order: 1;
  }

  .hero__visual {
    order: 2;
    width: 100%;
    overflow: hidden;
  }

  .hero__visual img {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .deadline-bar {
    width: min(calc(100% - 28px), 560px);
    margin-top: 14px;
    margin-bottom: -2px;
    padding: 0 14px;
    order: 3;
  }

  .deadline-bar strong {
    font-size: 18px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .lead,
  .line-start__copy p {
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .actions {
    display: grid;
    grid-column: auto;
    grid-row: auto;
    justify-content: stretch;
    margin-top: 18px;
  }

  .button {
    width: 100%;
  }

  .facts,
  .line-start,
  .contest-summary,
  .prize-section,
  .visual-info,
  .info,
  .official {
    width: min(calc(100% - 28px), 560px);
  }

  .facts,
  .line-start,
  .contest-summary,
  .visual-info,
  .info,
  .flow,
  .visual-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .facts {
    padding: 26px 0 36px;
  }

  .hero__points {
    margin-top: 16px;
  }

  .hero__points span {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 30px;
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(227, 182, 74, 0.28);
    text-align: center;
    font-size: 18px;
    line-height: 1.25;
  }

  .hero__points span:first-child {
    padding-left: 0;
  }

  .hero__points span:last-child {
    border-bottom: 0;
  }

  .visual-card,
  .visual-card img,
  .line-start__image,
  .line-start__image img {
    max-width: 100%;
  }

  .line-start {
    gap: 22px;
    padding: 38px 0 48px;
  }

  .contest-summary {
    gap: 18px;
    padding: 8px 0 44px;
  }

  .contest-summary__head p,
  .contest-summary__body p {
    font-size: 16px;
    line-height: 1.75;
  }

  .contest-summary__body .concept {
    font-size: 17px;
    line-height: 1.65;
  }

  .contest-points li {
    font-size: 20px;
  }

  .contest-ad {
    margin: 18px 0;
  }

  .contest-ad img {
    border-radius: 6px;
  }

  .prize-section {
    padding: 0 0 48px;
  }

  .prize-section__head {
    margin-bottom: 14px;
  }

  .prize-visual img {
    border-radius: 6px;
  }

  .visual-info {
    padding: 38px 0 48px;
  }

  .visual-card:nth-child(3) {
    grid-column: auto;
  }

  .info {
    padding: 38px 0 48px;
  }

  .flow li {
    min-height: 94px;
  }

  .flow-cta {
    grid-column: auto;
    margin-top: 24px;
  }

  .official {
    padding: 38px 0 48px;
  }

  .partner-block {
    min-height: auto;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-cta {
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: flex;
    width: calc(100% - 16px);
    min-height: 62px;
    padding: 9px 10px 9px 12px;
    gap: 10px;
  }

  .sticky-cta__copy strong {
    font-size: 14px;
  }

  .sticky-cta__copy span {
    font-size: 11px;
  }

  .sticky-cta__button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 28px;
  }
}
