@font-face {
  font-family: "Higure Gothic";
  src: url("./assets/fonts/HigureGothic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #09244a;
  --blue: #0096fc;
  --blue-deep: #006ed1;
  --pink: #f259a4;
  --yellow: #ffd84d;
  --orange: #ff8b1a;
  --paper: #ffffff;
  --cream: #fff7da;
  --surface: #fffdf3;
  --muted: #56647b;
  --line: rgba(9, 36, 74, 0.14);
  --shadow: 0 28px 80px rgba(31, 54, 92, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100svh;
  overflow-x: hidden;
}

.campaign-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 15%, rgba(0, 150, 252, 0.16), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(242, 89, 164, 0.22), transparent 24%),
    linear-gradient(135deg, #fff8d6 0%, #fffdf4 43%, #e8f6ff 100%);
}

.campaign-hero::before {
  position: absolute;
  inset: auto -12vw -18vw auto;
  width: 48vw;
  min-width: 520px;
  aspect-ratio: 1;
  content: "";
  background: repeating-linear-gradient(-18deg,
      rgba(0, 150, 252, 0.08) 0 16px,
      transparent 16px 34px);
  border-radius: 50%;
}

.campaign-hero::after {
  position: absolute;
  top: 132px;
  left: -58px;
  width: 168px;
  height: 168px;
  content: "";
  background: var(--yellow);
  border-radius: 38px;
  transform: rotate(18deg);
  opacity: 0.72;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 70px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.brand img {
  display: block;
  width: 128px;
  height: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 150, 252, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  max-width: 1180px;
  min-height: calc(100svh - 64px);
  margin: 0 auto;
  padding: 42px clamp(20px, 4vw, 42px) 72px;
}

.hero-copy {
  max-width: 590px;
}

.campaign-label {
  width: fit-content;
  margin: 0 0 24px;
  padding: 11px 18px;
  color: #5b3500;
  background: var(--yellow);
  border: 2px solid #1d2d4c;
  border-radius: 999px;
  box-shadow: 6px 6px 0 #1d2d4c;
  font-family: "Higure Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Higure Gothic", "Noto Sans JP", sans-serif;
  font-size: clamp(42px, 5.2vw, 50px);
  font-weight: 900;
  line-height: 1.08;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: #31415c;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 700;
  line-height: 2;
}

.campaign-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 610px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: 0 14px 36px rgba(9, 36, 74, 0.08);
}

.campaign-facts div {
  padding: 18px 16px 17px;
  background: rgba(255, 255, 255, 0.82);
}

.campaign-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.campaign-facts strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: "Higure Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 16px 34px rgba(242, 89, 164, 0.28);
}

.primary-button--dark {
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(0, 150, 252, 0.24);
}

.primary-button:hover {
  transform: translateY(-2px);
}

.campaign-board {
  position: relative;
  min-height: 580px;
}

.board-card {
  position: absolute;
  background: var(--paper);
  border: 2px solid #172747;
  box-shadow: var(--shadow);
}

.board-card--main {
  top: 50%;
  left: 50%;
  width: min(410px, 74vw);
  min-height: 500px;
  padding: 42px;
  border-radius: 34px;
  transform: translate(-50%, -50%) rotate(4deg);
}

.board-card--main::before {
  position: absolute;
  inset: 22px auto auto 22px;
  width: 82px;
  height: 82px;
  content: "";
  background: #e8f6ff;
  border-radius: 50%;
}

.card-label {
  position: relative;
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.board-card--main strong {
  position: relative;
  display: block;
  color: var(--ink);
  font-family: "Higure Gothic", "Noto Sans JP", sans-serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.14;
}

.board-card--main p {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  margin: 0;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.board-card--score {
  right: 4%;
  bottom: 78px;
  width: 260px;
  padding: 22px;
  border-radius: 24px;
  transform: rotate(-5deg);
}

.board-card--score span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.board-card--score strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--pink);
  font-size: 30px;
}

.score-bar {
  height: 12px;
  overflow: hidden;
  background: #f0f4fa;
  border-radius: 999px;
}

.score-bar i {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: inherit;
}

.board-character {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.board-character--girl {
  left: 0;
  bottom: 50px;
  width: 185px;
}

.board-character--robot {
  top: 20px;
  right: 22px;
  width: 138px;
}

.campaign-detail {
  padding: 96px clamp(20px, 7vw, 96px) 102px;
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.65fr);
  gap: 44px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto 44px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Higure Gothic", "Noto Sans JP", sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.18;
}

.section-heading p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-list article {
  min-height: 240px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.detail-list article:last-child {
  border-right: 0;
}

.detail-list span {
  color: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.detail-list h3 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.detail-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 86px clamp(20px, 7vw, 44px) 104px;
}

.final-cta p {
  max-width: 670px;
  margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 920px) {
  .campaign-hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 72px;
  }

  .campaign-board {
    min-height: 500px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .detail-list article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-list article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand img {
    width: 116px;
  }

  .header-link {
    min-height: 36px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero-grid {
    padding: 54px 18px 54px;
  }

  .campaign-label {
    margin-bottom: 20px;
    font-size: 13px;
    box-shadow: 4px 4px 0 #1d2d4c;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .campaign-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .primary-button {
    width: 100%;
  }

  .campaign-board {
    min-height: 420px;
  }

  .board-card--main {
    width: min(310px, 88vw);
    min-height: 390px;
    padding: 30px;
    border-radius: 28px;
  }

  .board-card--main strong {
    font-size: 38px;
  }

  .board-card--score {
    right: 0;
    bottom: 46px;
    width: 210px;
  }

  .board-character--girl {
    left: -18px;
    bottom: 35px;
    width: 132px;
  }

  .board-character--robot {
    right: -8px;
    width: 104px;
  }

  .campaign-detail {
    padding: 72px 20px 74px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .detail-list article {
    padding: 30px 4px;
  }

  .final-cta {
    padding: 70px 20px 82px;
  }
}
