@font-face {
  font-family: "Pilat";
  src: url("../fonts/Pilat-Book.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F;
}

@font-face {
  font-family: "Pilat";
  src: url("../fonts/Pilat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F;
}

@font-face {
  font-family: "Pilat";
  src: url("../fonts/Pilat-Bold.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("../fonts/SourceHanSansSC-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("../fonts/SourceHanSansSC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("../fonts/SourceHanSansSC-Medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("../fonts/SourceHanSansSC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

/* ─── Screens ──────────────────────────────────────────────────── */
.screen {
  display: none;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.screen.active { display: block; }
/* ─── Screens ──────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

:root {
  --page-red: #e10600;
  --text-white: #fff;
  --button-blue: #6bb1ef;
  --button-pink: #fc9ed9;
  --copy-bg: url("./assets/text-bg-placeholder.svg");
  --content-padding: 16px;
  --max-page-width: 768px;
  --font-ja-cn: "Source Han Sans SC", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: "Pilat", var(--font-ja-cn);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-red);
  color: var(--text-white);
  font-family: var(--font-en);
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: var(--max-page-width);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  background: var(--page-red);
  color: var(--text-white);
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul{
  list-style-type: none;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 56px var(--content-padding);
}

.activity-detail-trigger {
  position: fixed;
  top: 20%;
  right: max(0px, calc((100vw - var(--max-page-width)) / 2));
  z-index: 30;
  width: 30px;
  min-height: 100px;
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: var(--page-red);
  font-size: 12px;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.activity-detail-trigger:active {
  transform:scale(0.96);
}

.campus-contest-trigger {
  top: calc(20% + 118px);
  min-height: 176px;
}

.activity-detail-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.activity-detail-popup.is-visible {
  display: flex;
}

.activity-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.activity-detail-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: min(78vh, 680px);
  overflow-y: auto;
  border-radius: 8px;
  padding: 28px 22px 24px;
  background: #fff;
  color: #111;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.activity-detail-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.activity-detail-panel h2 {
  margin: 0 28px 16px 0;
  color: #111;
  font-size: 20px;
  line-height: 1.35;
}

.activity-detail-copy {
  color: #111;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.activity-detail-copy p {
  margin: 0 0 10px;
}

.activity-detail-copy strong {
  color: #111;
  font-weight: 600;
}

.hero-section,
.intro-section,
.photo-one-section,
.locked-content,
.gallery-heading,
.loop-section,
.cta-section {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  margin: 0;
  width: 63.5vw;
  max-width: 480px;
}

.tagline {
  margin: 50px 0 0;
  width: 76.9vw;
  max-width: 600px;
  font-size: 18px;
}

.intro-section {
  margin-top: 20px;
}

.section-title {
  margin: 0 0 48px;
  font-weight: 400;
  color: #e10600;
  padding: 2px 24px;
  font-size: 24px;
  background: linear-gradient(135deg, #FF9ADA, #5EB6F4);
  border-radius: 20px;
}

.tittle-circle1{
  max-width: 68vw;
}
.tittle-circle2{
  max-width: 68vw;
  margin: 0 auto -20px;
  position: relative;
  z-index: 1;
}

.tittle-circle2 img{
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.18));
}

.tittle-circle3 {
    margin: 20px auto 0;
    max-width: 72vw;
}

.copy-panel {
  width: 100%;
  min-height: 100px;
  display: grid;
  place-items: center;
  background-image: url(../img/bk-arrow.png);
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.copy-panel p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.text-en {
  font-family: var(--font-en);
}

.photo-one-section {
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.photo-trigger {
  position: relative;
  width: 71.79vw;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.photo-placeholder {
  display: block;
  width: 100%;
  background-position: center;
  background-size: cover;
}

.photo-one {
  display: flex;
  justify-content: center;
}

.photo-one img {
  margin-right: auto;
  margin-left: auto;
}

.tap-hint {
  position: absolute;
  right: 18px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.tap-hint.is-visible {
  animation: hint-pop .55s ease forwards, hint-float 1.5s ease-in-out .55s infinite;
}

.hint-text {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--page-red);
  color: var(--text-white);
  font-size: 16px;
  line-height: 1.2;
}

.hint-img{
  max-width: 32px;
}

.locked-content {
  display: none;
  position: relative;
  z-index: 1;
  margin-top: -20px;
}


.locked-content.is-unlocked {
  display: flex;
}

.gated-content {
  display: none;
}

body.is-unlocked-page .gated-content {
  display: flex;
}

.photo-reveal {
  width: 100%;
}

.photo-slide,
.photo-fade {
  width: calc(100% + (var(--content-padding) * 2));
  margin-right: calc(var(--content-padding) * -1);
  margin-left: calc(var(--content-padding) * -1);
}

.photo-slide img {
  width: 100%;
  max-width: none;
}

.photo-fade {
  display: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.photo-fade::-webkit-scrollbar {
  display: none;
}

.photo-fade .photo-three {
  width: max(100%, 720px);
}

.photo-fade .photo-three img {
  width: 100%;
  max-width: none;
}

.photo-fade.is-looping {
  display: flex;
  animation: fade-in .38s ease both;
  will-change: scroll-position;
}

.photo-fade.is-looping .photo-three {
  flex: 0 0 auto;
}

.locked-content.is-unlocked .line-red {
  animation: reveal-down 0.55s cubic-bezier(.22, 1, .36, 1) both;
}

.gallery-heading {
  margin-top: 70px;
  min-height: 80px;
  background-image: url(../img/bk-arrow.png);
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.image-title {
  width: 54.6vw;
  max-width: 426px;
  margin: 0;
  display: grid;
  place-items: center;
}

.image-title img {
  width: 100%;
}

.loop-section {
  margin-top: 48px;
  margin-bottom: 72px;
}

.loop-scroll {
  width: 100%;
  overflow: visible;
}

.photo-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.grid-photo {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.grid-image {
  height: 100%;
}

.corner-label {
  position: absolute;
  left: 8px;
  padding: 4px;
  background: var(--page-red);
  color: var(--text-white);
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
}

.corner-top {
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.corner-top::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background-image: url("../img/before-arrow.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.corner-bottom {
  bottom: calc(8px + 1.2em + 10px + 2px);
}

.corner-bottom + .corner-bottom {
  bottom: 8px;
}

.cta-section {
  margin-top: 36px;
}

.cta-button {
  position: relative;
  display: flex;
  width: min(100%, 430px);
  min-height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 60px;
  padding: 16px 80px 16px 32px;
  background: #fff;
  color: #F70101;
  text-decoration: none;
}

.cta-text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.15;
}

.cta-text::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: currentColor;
}

.cta-text-small {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.2;
}

.cta-image {
  position: absolute;
  top: 28%;
  right: 8px;
  width: 92px;
  transform: translateY(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hint-pop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hint-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes reveal-down {
  from {
    clip-path: inset(0 0 100% 0);
    opacity: .7;
  }

  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (min-width: 481px) {
  .page-shell {
    padding-top: 36px;
  }

  .logo {
    font-size: 54px;
  }

  .tagline {
    font-size: 21px;
  }

  .section-title {
    font-size: 38px;
  }

  .copy-panel {
    min-height: 220px;
    padding: 34px 28px;
  }

  .photo-one,
  .photo-two,
  .photo-three {
    min-height: 460px;
  }

  .photo-fade .photo-three {
    width: max(100%, 900px);
  }

  .photo-grid {
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .page-shell {
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .logo {
    font-size: 64px;
  }

  .copy-panel {
    min-height: 260px;
  }

  .photo-one,
  .photo-two,
  .photo-three {
    min-height: 560px;
  }

  .photo-fade .photo-three {
    width: 1080px;
  }
}

@media (min-width: 769px) {
  html {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
