@charset "UTF-8";
/* =========================================================
   ユニプロ・プログラミングコンテスト LP
   毎年の差し替えポイント:
   - カラー/フォント = 下記 tokens
   - 年号・日付・賞品・コピー = HTML本文（<!-- 差し替え --> コメント参照）
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  line-height: 1.28;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #222222;
  background-color: #f0f4f7;
  background-image: linear-gradient(#ffffff 1px, transparent 1px), linear-gradient(90deg, #ffffff 1px, transparent 1px);
  background-size: 39px 39px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

.num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* =========================================================
   余白の基準: 中央寄せコンテナ（左右ガター）
   各セクションの内側幅・左右余白の起点。
   ========================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 1024px) {
  .container {
    padding-inline: 18px;
  }
}

@media (max-width: 1024px) {
  .u-pc-only {
    display: none !important;
  }
}

.u-sp-only {
  display: none !important;
}
@media (max-width: 1024px) {
  .u-sp-only {
    display: inline !important;
  }
}

/* =========================================================
   ヘッダー / グローバルナビ
   正本: Figma node 1-11185（PC=1440px）
   - PC : ロゴ（202×40）＋ 横並びナビ5項目（gap 30px / Noto Sans JP Medium 14px）
   - SP : Figma node 83-3518 / 83-3524（ヘッダー56px、メニュー全画面）
   ========================================================= */
html {
  scroll-padding-top: 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid #e7e8ee;
  transition: box-shadow 0.25s ease;
  /* ロゴ（Figma: 202×40） */
}
.site-header__inner {
  max-width: 1280px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  flex: none;
}
.site-header__logo img {
  width: 202px;
  height: 40px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .site-header {
    height: 56px;
  }
  .site-header__inner {
    max-width: none;
    margin-inline: 0;
    justify-content: center;
    position: relative;
    padding-inline: 0;
  }
  .site-header__logo img {
    width: 120px;
    height: 23.762px;
  }
}

.site-header.scrolled {
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.5);
}

/* PC グローバルナビ */
.gnav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.gnav a {
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: #222222;
  transition: color 0.15s ease;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #e60028;
  transition: width 0.2s ease;
}
.gnav a:hover::after {
  width: 100%;
}
@media (max-width: 1024px) {
  .gnav {
    display: none;
  }
}

/* ハンバーガー（SP のみ表示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #222222;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* モバイルメニュー（SP） */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 56px 0 0;
  z-index: 99;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100dvh - 56px);
    padding-top: 68px;
  }
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  margin-bottom: 48px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  color: #222222;
  white-space: nowrap;
}
.mobile-menu a:nth-of-type(5) {
  margin-bottom: 0;
}
.mobile-menu__copy {
  width: 100%;
  margin-top: auto;
  padding: 54px 40px 40px;
  background: #f8f8f8;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: #222222;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1024px) {
  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* =========================================================
   フッター
   正本: Figma node 1-11111（PC=1440px） / 83-3505（SP=390px）
   - section: 1440 x 200.306px / bg #F8F8F8 / padding 54px 0 40px
   - container: 1280px / padding 0 24px / gap 24px
   - top: border-bottom #808080 / padding-bottom 33px
   - logo: 160 x 34.306px
   - nav: Noto Sans JP Regular 14px / gap 28px
   - copy: Montserrat Regular 12px
   ========================================================= */
.site-footer {
  width: 100%;
  background: #f8f8f8;
  padding: 54px 0 40px;
}
@media (max-width: 1024px) {
  .site-footer {
    padding: 54px 0 40px;
  }
}
.site-footer__container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 104px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1024px) {
  .site-footer__container {
    width: 100%;
    padding-inline: 40px;
    gap: 24px;
  }
}
.site-footer__top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 33px;
  border-bottom: 1px solid #808080;
}
@media (max-width: 1024px) {
  .site-footer__top {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 25px;
  }
}
.site-footer__logo {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}
.site-footer__logo img {
  width: 160px;
  height: 34.306px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .site-footer__logo img {
    width: 160px;
    height: 34.306px;
  }
}
.site-footer__nav {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 28px;
  max-width: 659px;
}
@media (max-width: 1024px) {
  .site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }
}
.site-footer__nav a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  color: #222222;
  transition: color 0.15s ease;
}
@media (max-width: 1024px) {
  .site-footer__nav a {
    line-height: normal;
  }
}
.site-footer__nav a:hover {
  color: #e60028;
}
.site-footer__copy {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.25;
  color: #222222;
}
@media (max-width: 1024px) {
  .site-footer__copy {
    font-size: 12px;
    line-height: normal;
  }
}

/* =========================================================
   ヒーロー / FV
   正本: Figma node 155-810（PC=1440px）
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 668px;
  overflow-x: clip;
  background: #ffffff;
}
@media (max-width: 1024px) {
  .hero {
    min-height: 619px;
    padding: 0;
    overflow: hidden;
  }
}
.hero__ribbon {
  position: absolute;
  z-index: 0;
  left: -516px;
  top: -350px;
  width: 1054px;
  height: 1124px;
  transform: rotate(-13deg);
  background: #fff2f4;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .hero__ribbon {
    left: -377px;
    top: 187px;
    width: 527.593px;
    height: 562.912px;
    transform: rotate(-13deg);
  }
}
.hero__inner {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1440px;
  height: 692px;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .hero__inner {
    width: 100%;
    max-width: 375px;
    height: 619px;
    display: block;
    flex-direction: column;
    gap: 28px;
  }
}
.hero__copy {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 7.43vw, 107px);
  top: 81px;
  width: 577px;
}
@media (max-width: 1024px) {
  .hero__copy {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 619px;
    min-height: 0;
    padding: 0;
  }
}
.hero__badge {
  position: relative;
  z-index: 0;
  width: 142px;
  height: 75px;
  margin: 0 0 -28px 9px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 36.167px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.32px;
  white-space: nowrap;
  transform: translateY(-10px);
}
.hero__badge::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 60px;
  clip-path: polygon(8.5% 0, 100% 0, 91.5% 100%, 0 100%);
  background: #e60028;
}
.hero__badge::after {
  content: "";
  position: absolute;
  left: 68px;
  top: 60px;
  z-index: -1;
  width: 16px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: #e60028;
}
.hero__badge span {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  transform: translateY(4px);
}
@media (max-width: 1024px) {
  .hero__badge {
    position: absolute;
    left: 176px;
    top: 356px;
    width: 79px;
    height: 42px;
    margin: 0;
    padding-top: 1px;
    font-size: 18px;
    letter-spacing: 0.36px;
    transform: none;
  }
  .hero__badge::before {
    height: 33.38px;
  }
  .hero__badge::after {
    left: 31.83px;
    top: 33.38px;
    width: 8.901px;
    height: 8.345px;
  }
  .hero__badge span {
    transform: translateY(2px);
  }
}
.hero__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 85px;
  font-weight: 900;
  line-height: 1;
  color: #222222;
  letter-spacing: -4.25px;
}
.hero__title span {
  display: block;
}
.hero__title span:nth-child(2) {
  color: #e60028;
}
.hero__title span:last-child {
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .hero__title {
    position: absolute;
    left: 24px;
    top: 349px;
    font-size: 38px;
    line-height: normal;
    letter-spacing: -1.9px;
  }
  .hero__title span {
    margin-bottom: -12px;
  }
}
.hero__tagline {
  margin: 11px 0 0 9px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  color: #222222;
  letter-spacing: 0.64px;
}
@media (max-width: 1024px) {
  .hero__tagline {
    position: absolute;
    left: 26px;
    top: 491px;
    margin: 0;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0.28px;
  }
}

.hero-period {
  position: relative;
  width: 430px;
  height: 122px;
  margin-left: 0;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .hero-period {
    position: absolute;
    left: 24px;
    top: 514px;
    width: 190.325px;
    height: 54px;
    margin: 0;
    padding-top: 0;
  }
}
.hero-period__label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 172px;
  height: 43px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  background: #e60028;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.48px;
}
@media (max-width: 1024px) {
  .hero-period__label {
    width: 76.131px;
    height: 19.033px;
    font-size: 12px;
    letter-spacing: 0.24px;
  }
}
.hero-period__date {
  position: absolute;
  left: 9px;
  top: 29px;
  width: 421px;
  height: 93px;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 2px 24px 0 31px;
  color: #e60028;
  font-family: "Montserrat", sans-serif;
  font-size: 58px;
  font-weight: 800;
  font-style: italic;
  line-height: normal;
  letter-spacing: 1.16px;
  white-space: nowrap;
}
.hero-period__date::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  background: #e60028;
  z-index: -2;
}
.hero-period__date::after {
  content: "";
  position: absolute;
  inset: 4px;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  background: #fff;
  z-index: -1;
}
.hero-period__date span {
  display: inline-block;
  font-size: 32px;
  letter-spacing: 0.64px;
}
@media (max-width: 1024px) {
  .hero-period__date {
    position: absolute;
    left: 3.98px;
    top: 12.84px;
    width: 186.345px;
    min-width: 0;
    min-height: 0;
    height: 41.164px;
    padding: 7px 13px 0 18px;
    gap: 3px;
    font-size: 24px;
    letter-spacing: 0.48px;
  }
  .hero-period__date::after {
    inset: 2px;
  }
  .hero-period__date span {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
  }
}

.hero__visual {
  position: absolute;
  right: clamp(-320px, 80vw - 1152px, 0px);
  top: -17px;
  width: 982px;
  height: 723px;
}
@media (max-width: 1024px) {
  .hero__visual {
    position: absolute;
    right: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 619px;
    margin: 0;
  }
}
.hero__union {
  position: absolute;
  display: block;
  left: 119px;
  top: 0;
  width: 724px;
  height: 723px;
  aspect-ratio: 724.094/723.369;
}
@media (max-width: 1024px) {
  .hero__union {
    left: -15px;
    top: -30px;
    width: 724.094px;
    height: 723.369px;
    transform: scale(0.4982);
    transform-origin: top left;
  }
}
.hero__union-block {
  position: absolute;
  display: block;
  background: #e60028;
}
.hero__union-block--top-left {
  left: 84px;
  top: 0;
  width: 86px;
  height: 86px;
}
@media (max-width: 1024px) {
  .hero__union-block--top-left {
    left: 84px;
    top: 0;
    width: 86px;
    height: 86px;
  }
}
.hero__union-block--top-bridge {
  left: 170px;
  top: 74px;
  width: 468px;
  height: 12px;
}
@media (max-width: 1024px) {
  .hero__union-block--top-bridge {
    left: 170px;
    top: 74px;
    width: 468px;
    height: 12px;
  }
}
.hero__union-block--top-right {
  left: 638px;
  top: 0;
  width: 86px;
  height: 86px;
}
@media (max-width: 1024px) {
  .hero__union-block--top-right {
    left: 638px;
    top: 0;
    width: 86px;
    height: 86px;
  }
}
.hero__union-block--body {
  left: 160px;
  top: 86px;
  width: 488px;
  height: 477px;
}
@media (max-width: 1024px) {
  .hero__union-block--body {
    left: 160px;
    top: 86px;
    width: 488px;
    height: 477px;
  }
}
.hero__union-block--bottom-left {
  left: 0;
  top: 518px;
  width: 170px;
  height: 170px;
}
@media (max-width: 1024px) {
  .hero__union-block--bottom-left {
    left: 0;
    top: 518px;
    width: 170px;
    height: 170px;
  }
}
.hero__square {
  position: absolute;
  display: block;
  background: #e60028;
}
.hero__square--top {
  left: 203px;
  top: 0;
  width: 87px;
  height: 87px;
}
@media (max-width: 1024px) {
  .hero__square--top {
    left: 26.85px;
    top: -30px;
    width: 43.344px;
    height: 43.344px;
  }
}
.hero__square--right-small {
  right: 26px;
  bottom: 8px;
  width: 80px;
  height: 80px;
}
@media (max-width: 1024px) {
  .hero__square--right-small {
    left: 302.86px;
    right: auto;
    top: 242.52px;
    width: 33.38px;
    height: 33.38px;
  }
}
.hero__square--right-large {
  left: 750px;
  top: 696px;
  width: 139px;
  height: 139px;
}
@media (max-width: 1024px) {
  .hero__square--right-large {
    left: 285.37px;
    right: auto;
    top: 307.75px;
    width: 69.25px;
    height: 69.25px;
  }
}
.hero__character {
  position: absolute;
  left: 320px;
  top: 93px;
  width: 555px;
  height: 555px;
  overflow: hidden;
  background: #e60028;
  box-shadow: 0 18px 50px -20px rgba(76, 0, 0, 0.32);
}
@media (max-width: 1024px) {
  .hero__character {
    left: 80.66px;
    top: 20.82px;
    width: 276.503px;
    height: 276.503px;
    transform: none;
    box-shadow: 0 14px 34px -18px rgba(76, 0, 0, 0.36);
  }
}
.hero__character-bg, .hero__character-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__character-bg {
  opacity: 0.45;
}
.hero__character-main {
  object-position: 49% 42%;
}
@media (max-width: 1024px) {
  .hero__character-main {
    object-position: 48% 42%;
  }
}

.hero-game {
  position: absolute;
  margin: 0;
  border: 3px solid #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px -20px rgba(76, 0, 0, 0.32);
}
@media (max-width: 1024px) {
  .hero-game {
    border-width: 2px;
    border-radius: 4px;
    box-shadow: 0 12px 30px -18px rgba(76, 0, 0, 0.38);
  }
}
.hero-game img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-game--01 {
  left: 217px;
  top: 504px;
  width: 192px;
  height: 188px;
  transform: rotate(-4.28deg);
}
@media (max-width: 1024px) {
  .hero-game--01 {
    left: 30.22px;
    top: 234.9px;
    width: 95.57px;
    height: 93.579px;
  }
}
.hero-game--02 {
  left: 264px;
  top: 52px;
  width: 180px;
  height: 180px;
  transform: rotate(1.94deg);
}
@media (max-width: 1024px) {
  .hero-game--02 {
    left: 52.76px;
    top: -4.09px;
    width: 89.677px;
    height: 89.677px;
  }
}
.hero-game--03 {
  left: 132px;
  top: 34px;
  width: 148px;
  height: 148px;
  transform: rotate(-6.15deg);
}
@media (max-width: 1024px) {
  .hero-game--03 {
    left: -13.73px;
    top: -15.03px;
    width: 73.734px;
    height: 73.734px;
  }
}
.hero-game--04 {
  left: 724px;
  top: 565px;
  width: 202px;
  height: 202px;
  transform: rotate(3.56deg);
  box-shadow: none;
}
@media (max-width: 1024px) {
  .hero-game--04 {
    left: 270.57px;
    right: auto;
    top: 237.15px;
    width: 100.637px;
    height: 100.637px;
  }
}

.hero__notes {
  position: absolute;
  left: clamp(132px, 80vw - 748px, 399px);
  top: clamp(438px, 1180px - 60vw, 500px);
  z-index: 6;
  transform: rotate(-4.07deg);
  transform-origin: left top;
}
.hero__notes p {
  width: max-content;
  margin: 0 0 2px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.89);
  color: #e60028;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}
.hero__notes p:nth-child(2) {
  margin-left: 43px;
}
@media (max-width: 1024px) {
  .hero__notes {
    left: 12px;
    top: 145px;
    transform: rotate(-4.07deg);
  }
  .hero__notes p {
    margin-bottom: 2px;
    padding: 5px 8px;
    font-size: 12px;
    line-height: normal;
  }
  .hero__notes p:nth-child(2) {
    margin-left: 29px;
  }
}

/* =========================================================
   開催目的
   正本: Figma node 83-1651（PC=1440px）
   - セクション内側: 220px 120px / gap 43px
   - カード: border 2px #E60028 / padding 60px 72px / gap 32px
   ========================================================= */
.purpose {
  width: 100%;
  min-height: 739px;
  position: relative;
  overflow-x: clip;
}
.purpose::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ffffff;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .purpose::before {
    z-index: -1;
    background: #ffffff;
  }
}
@media (max-width: 1024px) {
  .purpose {
    min-height: 535px;
    position: relative;
    z-index: 1;
    overflow-x: clip;
    overflow-y: visible;
  }
}
.purpose__square {
  position: absolute;
  background: #e60028;
}
.purpose__square--right {
  left: 526px;
  top: -57px;
  width: 96px;
  height: 96px;
}
@media (max-width: 1024px) {
  .purpose__square--right {
    z-index: 2;
    left: 248px;
    top: -92px;
    width: 96px;
    height: 96px;
  }
}
.purpose__square--left {
  left: 93px;
  top: -57px;
  width: 63px;
  height: 63px;
}
@media (max-width: 1024px) {
  .purpose__square--left {
    display: none;
  }
}
.purpose__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  min-height: 739px;
  padding: 112px 72px 0 220px;
}
.purpose__inner::before {
  content: "";
  position: absolute;
  left: 148px;
  top: 0;
  width: 414px;
  height: 414px;
  background: #e60028;
}
@media (max-width: 1024px) {
  .purpose__inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -15px;
    top: -5px;
    width: 274px;
    height: 274px;
    background: #e60028;
  }
}
@media (max-width: 1024px) {
  .purpose__inner {
    min-height: 535px;
    padding: 32px 24px 64px;
  }
}
.purpose__head {
  position: relative;
  z-index: 1;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}
@media (max-width: 1024px) {
  .purpose__head {
    gap: 6px;
    width: 160px;
  }
}
.purpose__eyebrow {
  font-family: "Press Start 2P", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .purpose__eyebrow {
    font-size: 12px;
  }
}
.purpose__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .purpose__title {
    font-size: 24px;
  }
}

.purpose-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 988px;
  margin-top: 43px;
  padding: 60px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: #fff;
  border: 2px solid #e60028;
}
@media (max-width: 1024px) {
  .purpose-card {
    margin-top: 24px;
    min-height: 0;
    padding: 32px;
    gap: 24px;
  }
}
.purpose-card__lead {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  color: #222222;
  text-align: center;
}
.purpose-card__lead span {
  font-weight: 900;
  color: #e60028;
}
@media (max-width: 1024px) {
  .purpose-card__lead {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
  }
}
.purpose-card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #222222;
}
@media (max-width: 1024px) {
  .purpose-card__body {
    gap: 16px;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
  }
  .purpose-card__body br {
    display: block;
  }
}
.purpose-card__body-emphasis {
  font-weight: 700;
  color: #e60028;
}
.purpose-card__mascot {
  position: absolute;
  z-index: 1;
  object-fit: cover;
  pointer-events: none;
  image-rendering: pixelated;
}
@media (max-width: 1024px) {
  .purpose-card__mascot {
    display: block;
  }
}
.purpose-card__mascot--bunny {
  right: -32px;
  bottom: -100px;
  width: 80px;
  height: 104px;
}
@media (max-width: 1024px) {
  .purpose-card__mascot--bunny {
    right: -39px;
    bottom: -27px;
    width: 58.322px;
    height: 75.476px;
  }
}
.purpose-card__mascot--bluejump {
  right: 56px;
  bottom: -78px;
  width: 50px;
  height: 57px;
}
@media (max-width: 1024px) {
  .purpose-card__mascot--bluejump {
    right: 22px;
    bottom: -9px;
    width: 36.223px;
    height: 41.367px;
  }
}
.purpose-card__mascot--bee {
  left: -34px;
  bottom: -93px;
  width: 80px;
  height: 73px;
}
@media (max-width: 1024px) {
  .purpose-card__mascot--bee {
    left: -21px;
    bottom: -11px;
    width: 57.795px;
    height: 52.978px;
  }
}

/* =========================================================
   コンテスト概要
   正本: Figma node 1-9784（PC=1440px） / 83-2117（SP=375px）
   - セクション内側: 120px 320px / width 800px / gap 48px
   - 概要カード: border 2px #E60028 / radius 12px / padding 32px / gap 32px
   - 応募の流れ: illustration 140px + text block 220px
   ========================================================= */
.overview {
  width: 100vw;
  margin-inline: 0;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  scroll-margin-top: 72px;
  color: #222222;
}
@media (max-width: 1024px) {
  .overview {
    padding: 56px 24px;
    gap: 48px;
    align-items: center;
  }
}
.overview__head {
  width: 800px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (max-width: 1024px) {
  .overview__head {
    width: min(327px, 100%);
    max-width: none;
    gap: 24px;
  }
}
.overview__label {
  font-family: "Press Start 2P", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #e60028;
}
@media (max-width: 1024px) {
  .overview__label {
    font-size: 12px;
  }
}
.overview__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  color: #222222;
}
@media (max-width: 1024px) {
  .overview__title {
    margin-top: 8px;
    font-size: 24px;
    line-height: 29px;
  }
}
.overview__lead {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .overview__lead {
    font-size: 14px;
    line-height: 22px;
  }
}

.overview-list {
  width: 800px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  gap: 29px;
}
@media (max-width: 1024px) {
  .overview-list {
    width: 100%;
    max-width: none;
    gap: 16px;
  }
}

.overview-card {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border: 2px solid #e60028;
  border-radius: 12px;
}
@media (max-width: 1024px) {
  .overview-card {
    padding: 32px 24px;
    gap: 16px;
    border-radius: 12px;
  }
}
.overview-card--works {
  gap: 24px;
}
@media (max-width: 1024px) {
  .overview-card--works {
    gap: 16px;
  }
}
.overview-card--works .overview-card__text {
  line-height: 20px;
}
@media (max-width: 1024px) {
  .overview-card--works .overview-card__text {
    line-height: 16px;
  }
}
.overview-card--result {
  display: none;
}
@media (max-width: 1024px) {
  .overview-card--result {
    display: flex;
  }
}
.overview-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  border-radius: 14px;
  background: #e60028;
  color: #fff;
  font-family: "Material Symbols Rounded";
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}
@media (max-width: 1024px) {
  .overview-card__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 10px;
    font-size: 26px;
  }
}
.overview-card__body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 1024px) {
  .overview-card__body {
    gap: 12px;
  }
}
.overview-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: #222222;
}
@media (max-width: 1024px) {
  .overview-card__title {
    font-size: 18px;
    line-height: 22px;
  }
}
.overview-card__text, .overview-card__link, .overview-card__note {
  font-size: 14px;
  line-height: 1.214;
}
@media (max-width: 1024px) {
  .overview-card__text, .overview-card__link, .overview-card__note {
    font-size: 14px;
    line-height: 16px;
  }
}
.overview-card__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 1024px) {
  .overview-card__stack {
    gap: 8px;
  }
}
.overview-card__link {
  color: #e60028;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.overview-card__date {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: #e60028;
}
@media (max-width: 1024px) {
  .overview-card__date {
    font-size: 16px;
    line-height: 20px;
  }
}
.overview-card__note {
  color: #808080;
}

.overview-tags,
.overview-prizes {
  display: flex;
  gap: 16px;
}

.overview-tags {
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .overview-tags {
    gap: 8px;
  }
}

.overview-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e60028;
  border-radius: 8px;
  background: #fafafa;
  color: #e60028;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.214;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .overview-tag {
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 14px;
  }
}

.overview-tag {
  padding: 8px 12px;
}

.overview-work-samples {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
@media (max-width: 1024px) {
  .overview-work-samples {
    width: calc(100% + 56px);
    margin-left: -56px;
    margin-top: 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.overview-work-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
@media (max-width: 1024px) {
  .overview-work-group {
    gap: 4px;
  }
}
.overview-work-group__label {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.214;
  color: #808080;
}
@media (max-width: 1024px) {
  .overview-work-group__label {
    font-size: 14px;
    line-height: 17px;
  }
}
.overview-work-group__images {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 1024px) {
  .overview-work-group__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
.overview-work-group__image {
  width: 150px;
  height: 84px;
  display: block;
  object-fit: cover;
  border: 1px solid #e60028;
  border-radius: 8px;
}
@media (max-width: 1024px) {
  .overview-work-group__image {
    width: 100%;
    height: auto;
    aspect-ratio: 131.5/74;
    border-radius: 8px;
  }
}

.overview-criterion {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 1024px) {
  .overview-criterion {
    padding-block: 4px;
    gap: 8px;
  }
}
.overview-criterion__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  color: #e60028;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .overview-criterion__title {
    gap: 4px;
    font-size: 14px;
    line-height: 17px;
  }
}
.overview-criterion__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #e60028;
}
.overview-criterion__icon img {
  width: 14px;
  height: 14px;
  display: block;
}
.overview-criterion__list {
  margin: 0;
  padding-left: 16.5px;
  font-size: 11px;
  line-height: 16px;
  color: #222222;
  white-space: normal;
}
.overview-criterion__list li {
  margin: 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .overview-criterion__list {
    font-size: 12px;
    line-height: 16px;
  }
}

.overview-criteria {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 768px) {
  .overview-criteria {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.overview-criteria .overview-criterion {
  padding-inline: 8px;
  border-left: 1px solid #e7e8ee;
}
.overview-criteria .overview-criterion:first-child {
  padding-left: 0;
  border-left: 0;
}
.overview-criteria .overview-criterion:last-child {
  padding-right: 0;
}
@media (max-width: 1024px) {
  .overview-criteria .overview-criterion {
    padding: 0;
    border: 0;
  }
}

.overview-prizes {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 16px;
}
@media (max-width: 1024px) {
  .overview-prizes {
    flex-direction: column;
    gap: 16px;
  }
}

.overview-prize {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 1024px) {
  .overview-prize {
    width: 100%;
    gap: 10px;
  }
}
.overview-prize__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}
.overview-prize__rank span {
  font-size: 20px;
}
.overview-prize__rank small {
  font-size: 12px;
}
.overview-prize__rank--gold {
  color: #d4af37;
}
.overview-prize__rank--silver {
  color: #a6b1b9;
}
.overview-prize__rank--bronze {
  color: #cd7f32;
}
@media (max-width: 1024px) {
  .overview-prize__rank {
    gap: 4px;
  }
  .overview-prize__rank span {
    font-size: 20px;
    line-height: 24px;
  }
  .overview-prize__rank small {
    font-size: 12px;
    line-height: 14px;
  }
}
.overview-prize__image {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.overview-prize__image--tablet {
  width: 104px;
}
.overview-prize__item {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222222;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
}
@media (max-width: 1024px) {
  .overview-prize__item {
    min-height: 0;
    font-size: 14px;
    line-height: 17px;
  }
}
.overview-prize__divider {
  width: 1px;
  align-self: stretch;
  background: #d9d9d9;
}
@media (max-width: 1024px) {
  .overview-prize__divider {
    width: 100%;
    height: 1px;
  }
}

.overview-flow {
  width: 800px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (max-width: 768px) {
  .overview-flow {
    gap: 8px;
  }
}
.overview-flow__title {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  color: #222222;
}
@media (max-width: 1024px) {
  .overview-flow__title {
    font-size: 18px;
    line-height: 22px;
  }
}
.overview-flow__list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 70px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .overview-flow__list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}

.overview-step {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (max-width: 1024px) {
  .overview-step {
    width: 220px;
    gap: 24px;
  }
}
.overview-step__art {
  position: relative;
  width: 140px;
  height: 140px;
  overflow: hidden;
}
.overview-step__art img {
  position: absolute;
  max-width: none;
}
@media (max-width: 1024px) {
  .overview-step__art {
    width: 120px;
    height: 120px;
  }
}
.overview-step__window {
  left: 20px;
  top: 50px;
  width: 80px;
  height: 64px;
}
@media (max-width: 1024px) {
  .overview-step__window {
    left: 8.57px;
    top: 42.86px;
    width: 68.57px;
    height: 54.86px;
  }
}
.overview-step__folder {
  left: 79px;
  top: 87px;
  width: 51px;
  height: 40px;
}
@media (max-width: 1024px) {
  .overview-step__folder {
    left: 67.71px;
    top: 74.57px;
    width: 43.71px;
    height: 34.35px;
  }
}
.overview-step__letter {
  left: 26px;
  top: 70px;
  width: 80px;
  height: 55px;
}
@media (max-width: 1024px) {
  .overview-step__letter {
    left: 22.29px;
    top: 60px;
    width: 68.1px;
    height: 47.14px;
  }
}
.overview-step__ok {
  left: 38px;
  top: 10px;
  width: 52px;
  height: 52px;
}
@media (max-width: 1024px) {
  .overview-step__ok {
    left: 32.57px;
    top: 8.57px;
    width: 44.57px;
    height: 44.57px;
  }
}
.overview-step__arrow {
  left: 91px;
  top: 93px;
  width: 37px;
  height: 37px;
}
@media (max-width: 1024px) {
  .overview-step__arrow {
    left: 78px;
    top: 79.71px;
    width: 31.71px;
    height: 31.71px;
  }
}
.overview-step__hanabi-red {
  left: 65px;
  top: 11px;
  width: 68px;
  height: 68px;
}
@media (max-width: 1024px) {
  .overview-step__hanabi-red {
    left: 55.71px;
    top: 9.43px;
    width: 58.29px;
    height: 58.29px;
  }
}
.overview-step__hanabi-yellow {
  left: 27px;
  top: 21px;
  width: 43px;
  height: 43px;
}
@media (max-width: 1024px) {
  .overview-step__hanabi-yellow {
    left: 23.14px;
    top: 18px;
    width: 36.86px;
    height: 36.86px;
  }
}
.overview-step__shojo {
  left: 28px;
  top: 69px;
  width: 80px;
  height: 61px;
}
@media (max-width: 1024px) {
  .overview-step__shojo {
    left: 24px;
    top: 59.14px;
    width: 68.37px;
    height: 52.29px;
  }
}
.overview-step__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 1024px) {
  .overview-step__body {
    gap: 12px;
  }
}
.overview-step__heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .overview-step__heading {
    gap: 8px;
  }
}
.overview-step__num {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #e60028;
}
@media (max-width: 1024px) {
  .overview-step__num {
    font-size: 24px;
    line-height: 29px;
  }
}
.overview-step__label {
  font-size: 16px;
  line-height: 1.2;
  color: #222222;
}
@media (max-width: 1024px) {
  .overview-step__label {
    font-size: 16px;
    line-height: 19px;
  }
}
.overview-step__text {
  font-size: 14px;
  line-height: 1.214;
  color: #222222;
  text-align: start;
}
@media (max-width: 1024px) {
  .overview-step__text {
    font-size: 14px;
    line-height: 17px;
  }
}

/* =========================================================
   生徒作品ページ紹介
   正本: Figma node 1-10982（PC=1440px）
   SP正本: Figma node 83-3379（375px）
   - セクション: padding 160px 220px / gap 48px
   - ギャラリー: 240x135px * 6 / gap 12px / radius 8px
   - テキスト: width 460px / heading gap 8px / lead gap 24px
   ========================================================= */
.works {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 160px 40px;
  scroll-margin-top: 72px;
  color: #222222;
}
@media (max-width: 1024px) {
  .works {
    padding: 56px 24px;
  }
}

.works-layout {
  width: 1000px;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
@media (max-width: 1024px) {
  .works-layout {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }
}

.works-gallery {
  width: 492px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1 1 492px;
  gap: 12px;
  min-width: 0;
  max-width: 492px;
}
@media (max-width: 1024px) {
  .works-gallery {
    flex-basis: auto;
    order: 2;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
.works-gallery__image {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .works-gallery__image {
    aspect-ratio: 156/88;
  }
}

.works-content {
  width: 460px;
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  min-width: 0;
  max-width: 460px;
}
@media (max-width: 1024px) {
  .works-content {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
    order: 1;
  }
}
.works-content__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.works-content__title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.works-content__eyebrow {
  font-family: "Press Start 2P", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #e60028;
}
@media (max-width: 1024px) {
  .works-content__eyebrow {
    font-size: 12px;
  }
}
.works-content__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  color: #222222;
}
@media (max-width: 1024px) {
  .works-content__title {
    font-size: 24px;
  }
}
.works-content__lead {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .works-content__lead {
    font-size: 14px;
    line-height: 22px;
  }
}

.works-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
@media (max-width: 1024px) {
  .works-action {
    width: 100%;
  }
}

.works-points {
  width: 397px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
@media (max-width: 1024px) {
  .works-points {
    width: 100%;
  }
}
.works-points__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: #222222;
}
.works-points__item span:last-child {
  min-width: 0;
}
@media (max-width: 1024px) {
  .works-points__item {
    align-items: center;
    font-size: 12px;
    line-height: 16px;
  }
}
.works-points__check {
  width: 24px;
  height: 24px;
  position: relative;
  flex: 0 0 24px;
  color: #e60028;
}
@media (max-width: 1024px) {
  .works-points__check {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}
.works-points__check::before {
  content: "";
  width: 21px;
  height: 17px;
  position: absolute;
  left: 1.5px;
  top: 3.5px;
  background: currentColor;
  clip-path: polygon(13.98% 28.82%, 39.53% 64%, 86.02% 0, 100% 16.75%, 39.53% 100%, 0 45.57%);
}
@media (max-width: 1024px) {
  .works-points__check::before {
    width: 17.5px;
    height: 14px;
    left: 1.25px;
    top: 3px;
  }
}

.works-button {
  width: 240px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e60028;
  border-radius: 999px;
  background: #ffffff;
  color: #222222;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.works-button:hover, .works-button:focus-visible {
  background: #e60028;
  color: #ffffff;
  outline: none;
}
.works-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(230, 0, 40, 0.22);
}
.works-button__arrow {
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 14px;
}
.works-button__arrow::before {
  content: "";
  width: 9px;
  height: 14px;
  position: absolute;
  inset: 0 2.5px;
  background: currentColor;
  clip-path: polygon(21.91% 0, 100% 50%, 21.91% 100%, 0 85.97%, 56.18% 50%, 0 14.03%);
}
@media (max-width: 1024px) {
  .works-button {
    width: 100%;
    height: 48px;
    font-size: 14px;
  }
  .works-button__arrow {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }
  .works-button__arrow::before {
    width: 7.75px;
    height: 12px;
    inset: 0 2.125px;
  }
}

/* =========================================================
   ユニプロとは
   正本: Figma node 1-10930（PC=1440px） / 83-3319（SP）
   - セクション: 右90pxを余白として残し、白背景本文を配置
   - 本文: padding 96px 130px 96px 220px / gap 100px
   - 導入: padding-x 100px / gap 64px
   - 特徴カード: 280px幅 / gap 64px 80px / 5件
   ========================================================= */
.about {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-right: 90px;
  overflow: visible;
  scroll-margin-top: 72px;
  color: #222222;
}
@media (max-width: 1024px) {
  .about {
    padding-right: 0;
  }
}
.about__body {
  position: relative;
  width: 100%;
  padding: 96px 130px 96px 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  background: #ffffff;
}
.about__body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: max(0px, (100vw - 1440px) / 2);
  background: #ffffff;
}
@media (max-width: 1024px) {
  .about__body {
    padding: 56px 0;
    gap: 64px;
  }
  .about__body::before {
    content: none;
  }
}
.about__intro {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
@media (max-width: 1024px) {
  .about__intro {
    max-width: none;
    padding-inline: 24px;
    gap: 32px;
  }
}
.about__copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
@media (max-width: 1024px) {
  .about__copy {
    gap: 32px;
  }
}
.about__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.about__label {
  font-family: "Press Start 2P", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #e60028;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .about__label {
    font-size: 12px;
  }
}
.about__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  color: #222222;
  text-align: center;
}
@media (max-width: 1024px) {
  .about__title {
    font-size: 24px;
    line-height: normal;
  }
}
.about__lead {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .about__lead {
    font-size: 14px;
    line-height: 22px;
  }
}

.about-badge {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-radius: 16px;
  background: #fae6e9;
}
@media (max-width: 1024px) {
  .about-badge {
    padding: 24px;
  }
}
.about-badge__headline {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  text-align: center;
}
.about-badge__headline::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 10px;
  background: #ffee58;
  z-index: 0;
}
.about-badge__headline span,
.about-badge__headline strong {
  position: relative;
  z-index: 1;
}
.about-badge__headline strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 64px;
  color: #e60028;
}
@media (max-width: 1024px) {
  .about-badge__headline {
    flex-wrap: nowrap;
    font-size: 20px;
    white-space: nowrap;
  }
  .about-badge__headline strong {
    font-size: 32px;
  }
  .about-badge__headline::after {
    left: 0;
    right: 0;
    bottom: 2px;
    height: 6px;
  }
  .about-badge__headline span:first-child {
    letter-spacing: 0.03em;
  }
}
.about-badge__text {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 1024px) {
  .about-badge__text {
    font-size: 12px;
    line-height: 16px;
  }
}

.feat-grid {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 64px 74px;
}
@media (max-width: 1024px) {
  .feat-grid {
    flex-direction: column;
    align-items: center;
    gap: 64px;
  }
}

.feat-card {
  position: relative;
  width: 284px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
@media (max-width: 1024px) {
  .feat-card {
    width: 280px;
  }
}
.feat-card__media {
  width: 100%;
  aspect-ratio: 280/124;
  display: grid;
  overflow: hidden;
  border-radius: 8px;
  background: #d9d9d9;
}
.feat-card__media > img {
  width: 100%;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .feat-card__media {
    position: relative;
  }
}
.feat-card__num {
  position: absolute;
  left: -26px;
  top: -31px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 64px;
  line-height: normal;
  color: #e60028;
  text-align: center;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .feat-card__num {
    left: -22px;
    top: -31px;
  }
}
.feat-card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat-card__title {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
  color: #e60028;
}
@media (max-width: 1024px) {
  .feat-card__title {
    font-size: 18px;
  }
}
.feat-card__text {
  width: 100%;
  font-size: 14px;
  line-height: 1.428;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .feat-card__text {
    font-size: 12px;
    line-height: 16px;
  }
}

.about-decor {
  position: absolute;
  z-index: 2;
  display: block;
  background: #ffffff;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .about-decor {
    display: none;
  }
}
.about-decor--feature {
  right: 0;
  bottom: -214px;
  width: 114px;
  height: 114px;
}
.about-decor--body {
  right: 90px;
  bottom: -109px;
  width: 157px;
  height: 157px;
}

/* =========================================================
   FAQ
   正本: Figma node 39:790（PC=1440px）
   SP正本: Figma node 83-3416（375px）
   - 外側: padding 0 90px 64px 90px
   - 白背景パネル: padding 120px 220px 120px 130px / gap 65px
   - Q/A: px 48px / row gap 12px / item gap 16px / divider #e5e5e5
   ========================================================= */
.faq-section {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 90px 64px;
  scroll-margin-top: 72px;
  color: #222222;
}
@media (max-width: 1024px) {
  .faq-section {
    padding: 0 40px 56px;
  }
}
@media (max-width: 680px) {
  .faq-section {
    padding: 0;
  }
}
.faq-section__inner {
  position: relative;
  width: 100%;
  padding: 120px 130px 120px 130px;
  display: flex;
  flex-direction: column;
  gap: 65px;
  background: #ffffff;
}
.faq-section__inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: calc(90px + max(0px, (100vw - 1440px) / 2));
  background: #ffffff;
}
@media (max-width: 1024px) {
  .faq-section__inner {
    padding: 88px 56px;
    gap: 48px;
  }
  .faq-section__inner::after {
    width: 0;
  }
}
@media (max-width: 680px) {
  .faq-section__inner {
    padding: 64px 24px;
    gap: 65px;
  }
}
.faq-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.faq-section__eyebrow, .faq-section__title {
  margin: 0;
}
.faq-section__eyebrow {
  font-family: "Press Start 2P", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #e60028;
}
@media (max-width: 680px) {
  .faq-section__eyebrow {
    font-size: 12px;
  }
}
.faq-section__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
}
@media (max-width: 1024px) {
  .faq-section__title {
    font-size: 32px;
  }
}
@media (max-width: 680px) {
  .faq-section__title {
    font-size: 24px;
  }
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.faq-item {
  padding: 0 48px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid #e5e5e5;
}
.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
@media (max-width: 1024px) {
  .faq-item {
    padding-inline: 0;
  }
}
@media (max-width: 680px) {
  .faq-item {
    padding: 0 8px 34px;
  }
}
@media (min-width: 681px) and (max-width: 1024px) {
  .faq-item {
    padding-bottom: 28px;
  }
}

.faq-question,
.faq-answer {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
}
.faq-mark--q {
  background: #e60028;
  color: #ffffff;
}
.faq-mark--a {
  background: #fae6e9;
  color: #e60028;
}

.faq-question__text {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
@media (max-width: 1024px) {
  .faq-question__text {
    font-size: 19px;
    line-height: 1.35;
  }
}
@media (max-width: 680px) {
  .faq-question__text {
    font-size: 16px;
    line-height: 20px;
  }
}

.faq-answer {
  align-items: flex-start;
}
.faq-answer p, .faq-answer__body {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 680px) {
  .faq-answer p, .faq-answer__body {
    font-size: 12px;
    line-height: 18px;
  }
}
.faq-answer__body {
  display: flex;
  flex-direction: column;
}
.faq-answer a {
  color: inherit;
  text-decoration: underline;
  text-underline-position: from-font;
}

/* =========================================================
   最終CTA
   正本: Figma node 1:11102（PC=1440px）
   SP正本: Figma node 83:3471（375px）
   - セクション: 1440x423px / padding 90px 320px
   - コピー: width 800px / gap 24px / heading 56px Black
   - 応募期間: 468x79px / radius 90px / gap 25px
   - SP: 375x326px / inner 327x206px / period 327x54px
   ========================================================= */
.final-cta {
  width: 100%;
  height: 423px;
  padding: 90px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(106.371deg, #e60028 0.863%, #800016 100%);
  color: #ffffff;
}
@media (max-width: 1024px) {
  .final-cta {
    height: auto;
    min-height: 423px;
    padding: 90px 40px;
  }
}
@media (max-width: 1024px) {
  .final-cta {
    min-height: 360px;
    padding: 72px 20px;
  }
}
@media (max-width: 680px) {
  .final-cta {
    height: 326px;
    min-height: 326px;
    padding: 60px 24px;
  }
}
.final-cta__inner {
  width: 800px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 49px;
  position: relative;
  z-index: 0;
  word-break: break-word;
}
@media (max-width: 680px) {
  .final-cta__inner {
    width: 327px;
    gap: 24px;
  }
}
.final-cta__copy {
  width: 100%;
  min-height: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}
@media (max-width: 1024px) {
  .final-cta__copy {
    min-height: 104px;
    gap: 16px;
  }
}
@media (max-width: 680px) {
  .final-cta__copy {
    min-height: 128px;
    gap: 8px;
  }
}
.final-cta__background {
  width: 1446px;
  height: 90px;
  position: absolute;
  left: 50%;
  top: -60px;
  z-index: 0;
  transform: translateX(-50%);
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .final-cta__background {
    width: 1446px;
    height: 90px;
  }
}
@media (max-width: 1024px) {
  .final-cta__background {
    top: -36px;
    width: 100vw;
    height: 52px;
  }
}
@media (max-width: 680px) {
  .final-cta__background {
    left: 50%;
    top: -36px;
    width: 560px;
    height: 128px;
    transform: translateX(-50%);
  }
}
.final-cta__background-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.final-cta__title {
  margin: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: normal;
  text-align: center;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .final-cta__title {
    font-size: 48px;
  }
}
@media (max-width: 1024px) {
  .final-cta__title {
    font-size: 34px;
  }
}
@media (max-width: 680px) {
  .final-cta__title {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0;
  }
}
.final-cta__lead {
  margin: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 680px) {
  .final-cta__lead {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0;
  }
}
.final-cta__period {
  width: 468px;
  height: 79px;
  padding: 20px 40px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 25px;
  border-radius: 90px;
  background: #f0f4f7;
  color: #222222;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .final-cta__period {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 96px;
    padding: 16px 24px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}
@media (max-width: 680px) {
  .final-cta__period {
    width: 327px;
    max-width: 100%;
    height: 54px;
    min-height: 54px;
    padding: 16px 40px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 25px;
  }
}
.final-cta__period-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: normal;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .final-cta__period-label {
    font-size: 24px;
  }
}
@media (max-width: 680px) {
  .final-cta__period-label {
    width: 74px;
    flex: 0 0 74px;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0;
  }
}
.final-cta__period-date {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 32px;
  line-height: normal;
  letter-spacing: 0.02em;
  color: #e60028;
}
@media (max-width: 1024px) {
  .final-cta__period-date {
    font-size: 26px;
  }
}
@media (max-width: 680px) {
  .final-cta__period-date {
    width: 131px;
    flex: 0 0 131px;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0;
  }
}

/* =========================================================
   導入導線
   正本: Figma node 1:11076（PC=1440px）
   - section: width 1440px / padding 80px 220px / gap 52px
   - head: width 1000px / gap 24px
   - points: 280px * 3 / gap 80px
   SP正本: Figma node 83:3480（375px）
   ========================================================= */
.lead-section {
  width: 100%;
  padding: 80px 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  background: #ffffff;
  color: #222222;
}
@media (max-width: 1024px) {
  .lead-section {
    padding: 48px 24px;
    gap: 24px;
  }
}
.lead-section__head {
  width: 1000px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.lead-section__title-block {
  width: 1120px;
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
@media (max-width: 1024px) {
  .lead-section__title-block {
    width: 100%;
    gap: 8px;
  }
}
.lead-section__eyebrow, .lead-section__title, .lead-section__lead {
  margin: 0;
}
.lead-section__eyebrow {
  font-family: "Press Start 2P", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #e60028;
}
@media (max-width: 1024px) {
  .lead-section__eyebrow {
    font-size: 12px;
  }
}
.lead-section__title {
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  text-align: center;
}
@media (max-width: 1024px) {
  .lead-section__title {
    font-size: 24px;
    line-height: normal;
  }
}
.lead-section__lead {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .lead-section__lead {
    font-size: 14px;
    line-height: 22px;
  }
}
.lead-section__button {
  height: 56px;
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e60028;
  border-radius: 999px;
  background: #ffffff;
  color: #222222;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lead-section__button:hover {
  background: #e60028;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .lead-section__button {
    width: 100%;
    max-width: none;
    height: 48px;
    padding-inline: 40px;
    background: #ffffff;
    font-size: 14px;
    line-height: 24px;
  }
}
.lead-section__button-arrow {
  width: 9px;
  height: 14px;
  flex: 0 0 9px;
  background: currentColor;
  clip-path: polygon(0 14%, 14% 0, 100% 50%, 14% 100%, 0 86%, 71% 50%);
}

.lead-points {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
@media (max-width: 1024px) {
  .lead-points {
    width: 100%;
    flex-direction: column;
    gap: 32px;
    padding-inline: 32px;
  }
}

.lead-point {
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
@media (max-width: 1024px) {
  .lead-point {
    width: 100%;
    min-width: 0;
  }
}
.lead-point__num, .lead-point__title, .lead-point__text {
  margin: 0;
}
.lead-point__num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 48px;
  line-height: normal;
  color: rgba(230, 0, 40, 0.2);
  text-align: center;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.4);
}
.lead-point__title {
  width: 100%;
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
  color: #e60028;
}
@media (max-width: 1024px) {
  .lead-point__title {
    font-size: 20px;
    line-height: normal;
  }
}
.lead-point__text {
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
}

/* design-page = 未移行セクション（1440px固定インラインカンプ）の暫定ラッパー。
   各セクションタスクで順次クラスベース・レスポンシブ実装へ置換していく。
   ヘッダー(UNIPRO-TASK-002)は本ラッパー外に出し、レスポンシブ本番実装済み。 */
.design-page {
  min-height: 100vh;
}
.design-page--wide-sections {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: visible !important;
}
.design-page--wide-sections > section:not(.overview),
.design-page--wide-sections > footer {
  margin-inline: auto;
}

.msr,
.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

.steps-design strong {
  font-weight: 700;
}
