@charset "UTF-8";
@font-face {
  font-family: "A-OTF Shin Maru Go Pro Bold";
  src: url("/wp-content/themes/kidsup/fonts/A-OTF-ShinMGoPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "A-OTF Shin Maru Go Pro Ultra";
  src: url("/wp-content/themes/kidsup/fonts/A-OTF Shin Maru Go Pro U.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("/wp-content/themes/kidsup/fonts/NotoSansJP-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #b063a7;
}

body {
  margin: 0;
  color: #fff;
  background: #b063a7;
  font-family: "Noto Sans JP", sans-serif;
  font-synthesis: none;
  line-height: 1.75;
  overflow-x: hidden;
}

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

p,
li,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3,
.button,
.time-pill,
.prefecture-title {
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: clamp(18px, 8vw, 150px);
  padding-right: clamp(18px, 8vw, 150px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border: 0.2rem solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #5e2d85;
  box-shadow: 0 5px 0 rgba(50, 16, 71, 0.75);
  font-size: clamp(14px, 1.7vw, 18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-weight: 700;
}
.button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(94, 45, 133, 0.45);
}

.button-secondary {
  border-color: #fff;
  background: linear-gradient(90deg, #d75354 0%, #f58932 100%);
  box-shadow: 0 5px 0 rgba(116, 29, 19, 0.45);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #5e2d85;
}

.nav-inner {
  position: relative;
  width: 100%;
  min-height: 88px;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 42px);
}
.nav-inner .navbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav-inner .navbar-brand img {
  width: clamp(220px, 18vw, 300px);
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  margin: 4px auto;
  border-radius: 3px;
  background: #fff;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.2vw, 22px);
}
.nav-links .button {
  min-height: 48px;
  padding: 10px clamp(22px, 2vw, 34px);
  border: 0.2rem solid #fff;
  background: #e66daa;
  color: #fff;
  font-size: clamp(14px, 1.15vw, 17px);
  white-space: nowrap;
  box-shadow: 0 5px 0 rgba(94, 45, 133, 0.45);
}
.nav-links .button:hover {
  opacity: 1;
  background: #fff;
  color: #5e2d85;
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(94, 45, 133, 0.45);
}
.nav-links .button:active {
  opacity: 0.6;
}
.nav-links .button-1 {
  background: #e66daa;
}
.nav-links .button-2 {
  background: #e66daa;
}
.nav-links .button-3 {
  background: #e66daa;
}

.sticky-cta {
  display: none;
}

.hero-intro-bg {
  position: relative;
  background: #b063a7 url("../images/repating background.svg") center top/1100px auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.hero::before {
  top: -70px;
  left: -75px;
  width: clamp(300px, 18vw, 300px);
  height: clamp(370px, 30vw, 450px);
  background-image: url("../images/left shape.svg");
  background-position: left top;
}
.hero::after {
  top: -52px;
  right: -42px;
  width: clamp(165px, 10vw, 330px);
  height: clamp(420px, 40vw, 740px);
  background-image: url("../images/right shape.svg");
  background-position: right top;
}

.hero-shell {
  position: relative;
  width: 100%;
  min-height: 1200px;
  margin: 0 auto;
  padding: 60px clamp(18px, 8vw, 150px) 80px;
}

.hero-art {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(300px, 1fr);
  align-items: center;
  gap: 34px;
}

.hero-logo {
  width: min(520px, 100%);
  filter: drop-shadow(0 18px 0 rgba(94, 45, 133, 0.18));
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 520px;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-family: "A-OTF Shin Maru Go Pro Bold", "A-OTF Shin Maru Go Pro Ultra", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.35;
  -webkit-text-stroke: 2px #5e2d85;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #5e2d85, 3px 4px 0 rgba(94, 45, 133, 0.32);
}
.hero-copy p {
  margin: 0 0 2px;
  font-weight: 700;
}
.hero-copy small {
  display: block;
  margin: 0 0 28px;
}

.hero-labs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 150px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  filter: drop-shadow(0 -1px 0 rgba(176, 99, 167, 0.25));
  overflow: visible;
}
.hero-labs::before, .hero-labs::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  width: 156%;
  height: 560px;
  transform: translateX(-50%);
  background: #b063a7 url("../images/repating background.svg") center top/1100px auto;
  border-radius: 50%;
  pointer-events: none;
}
.hero-labs::before {
  top: -430px;
  clip-path: inset(365px 0 0 0);
}
.hero-labs::after {
  bottom: -448px;
}

.lab-panel {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px 38px 110px;
  overflow: hidden;
}
.lab-panel img {
  position: relative;
  z-index: 4;
  width: min(560px, 80%);
  filter: drop-shadow(8px 8px 0 rgba(50, 81, 162, 0.35));
}

.lab-panel.water {
  background: #3251a2;
}
.lab-panel.water::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #4971b6;
  -webkit-mask: url("../images/bg drip 1.svg") center 60px/110% auto no-repeat;
  mask: url("../images/bg drip 1.svg") center 60px/110% auto no-repeat;
}

.lab-panel.food {
  background: #d75354;
}
.lab-panel.food::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 34px;
  left: 5%;
  width: min(700px, 55vw);
  aspect-ratio: 1;
  background: url("../images/star.svg") center/contain no-repeat;
  opacity: 0.9;
  filter: drop-shadow(0 12px 0 rgba(94, 45, 133, 0.14));
}

.intro {
  position: relative;
  z-index: 4;
  padding: 0 0 72px;
  background: transparent;
}

.intro-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin-top: -180px;
}

.intro-text h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.05;
}
.intro-text p {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 700;
}
.intro-text .button {
  margin-top: 22px;
  min-height: 48px;
  padding: 10px 20px 10px 24px;
  border-color: #321047;
  background: #f28abd;
  box-shadow: 0 5px 0 #321047;
  font-size: 16px;
}
.intro-text .button::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  font-size: 26px;
  line-height: 1;
}

.intro-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.intro-photo img {
  width: min(560px, 100%);
  max-height: none;
  margin-top: -90px;
  filter: drop-shadow(0 18px 0 rgba(94, 45, 133, 0.12));
}

.feature-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  min-height: 255px;
  padding: 34px 28px;
  border: 3px solid #fff;
  border-radius: 14px;
  text-align: center;
}
.feature .feature-icon {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.feature h3 {
  margin: 0 0 16px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
}
.feature p {
  margin: 0;
  font-weight: 700;
  text-align: left;
}
.feature.red {
  background: #d75354;
}
.feature.blue {
  background: #4971b6;
}
.feature.green {
  background: #4bb563;
}

.schools {
  position: relative;
  overflow: visible;
  z-index: 3;
  padding: 40px 0 40px;
  background: #b063a7;
}
.schools h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 52px);
}

.school-groups {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.prefecture {
  padding: 18px;
  border: 3px solid #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}
.prefecture.tokyo {
  grid-column: 1/-1;
  background: linear-gradient(160deg, #ee72ad, #ea7bb7);
}
.prefecture.kanagawa {
  background: #d75354;
}
.prefecture.chiba {
  background: #4971b6;
}
.prefecture.saitama {
  background: #0fb95b;
}

.prefecture-title {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: clamp(22px, 3vw, 34px);
  cursor: pointer;
}
.prefecture-title .pin {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: #fff;
  -webkit-mask: url("../images/map-marker.svg") center/contain no-repeat;
  mask: url("../images/map-marker.svg") center/contain no-repeat;
  vertical-align: -0.2em;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.tokyo .area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prefecture.collapsed .area-grid {
  display: none;
}

.area-card {
  min-height: 160px;
  padding: 18px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--area-color, #e867a3);
}
.area-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.1;
}
.area-card ul {
  margin: 0;
  padding: 0 0 0 16px;
}
.area-card li {
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.35;
}
.area-card small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
}

.kanagawa .area-card {
  --area-color: #d75354;
}

.chiba .area-card {
  --area-color: #3251a2;
}

.saitama .area-card {
  --area-color: #0da750;
}

@media (max-width: 1400px) {
  .school-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.lab-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
}

.section-divider {
  display: none;
}

.section-logo {
  position: relative;
  z-index: 3;
  margin: 0 auto 28px;
  width: min(520px, 86%);
  filter: drop-shadow(8px 0 0 rgba(50, 81, 162, 0.35)) drop-shadow(-8px 0 0 rgba(50, 81, 162, 0.35)) drop-shadow(0 8px 0 rgba(50, 81, 162, 0.35)) drop-shadow(0 -8px 0 rgba(50, 81, 162, 0.35));
}

.water-logo {
  width: min(860px, 100%);
}

.time-pill {
  position: relative;
  z-index: 3;
  width: min(820px, 100%);
  margin: 0 auto 56px;
  padding: 25px 30px;
  border-radius: 999px;
  background: #fff;
  color: #3251a2;
  text-align: center;
  font-size: clamp(30px, 3.5vw, 40px);
  line-height: 1.2;
}
.time-pill span {
  margin: 0 20px;
  font-weight: 900;
}
.time-pill small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.water-lab {
  z-index: 1;
  padding-top: 220px;
  padding-bottom: 190px;
  background: url("../images/bg drip 2.svg") center -400px/100% auto no-repeat, #4971b6;
}
.water-lab::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 730px;
  transform: translateX(-50%) scaleY(0.72);
  transform-origin: top center;
  background: #b063a7;
  -webkit-mask: url("../images/bg drip 1.svg") top center/100% auto no-repeat;
  mask: url("../images/bg drip 1.svg") top center/100% auto no-repeat;
  pointer-events: none;
}
.water-lab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  z-index: 2;
  width: 100%;
  height: 175px;
  transform: translateX(-50%);
  background: url("../images/divider top.svg") bottom center/100% auto no-repeat;
  pointer-events: none;
}
.water-lab .container {
  position: relative;
  z-index: 3;
}

@media (max-width: 1400px) {
  .water-lab {
    background: url("../images/bg drip 2.svg") center -200px/100% auto no-repeat, #4971b6;
  }
}
@media (max-width: 767.98px) {
  .water-lab {
    background: url("../images/bg drip 2.svg") center -1px/100% auto no-repeat, #4971b6;
  }
  .water-experiment .exp-title {
    width: min(240px, 80%);
  }
  .water-experiment .exp-wheel {
    max-width: 550px;
  }
  .water-experiment .exp-description {
    width: 60%;
    font-size: 13px;
  }
}
@media (max-width: 575px) {
  .water-lab {
    background: url("../images/bg drip 2.svg") center -1px/100% auto no-repeat, #4971b6;
  }
}
.water-experiment {
  position: relative;
  width: 100%;
  margin: 0 auto 48px;
  text-align: center;
  font-weight: 800;
  padding: 0 20px;
}
.water-experiment .exp-title {
  z-index: 3;
  position: relative;
  transform: translate(-1rem, 8rem);
  width: min(280px, 70%);
  margin: 0 auto 24px;
}
.water-experiment .exp-title img {
  width: 100%;
  display: block;
}
.water-experiment .exp-title h2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #3251a2;
  line-height: 1;
  z-index: 2;
  transform: rotate(-3deg);
}
.water-experiment .exp-wheel {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1;
  margin: 0 auto 32px;
}
.water-experiment .wheel-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #3251a2;
  -webkit-mask: url("../images/water bg 1.svg") center/contain no-repeat;
  mask: url("../images/water bg 1.svg") center/contain no-repeat;
  transform: translate(-5rem, -2rem) scale(1.3);
}
.water-experiment .wheel-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
.water-experiment .exp-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -90%) rotate(-10deg);
  z-index: 3;
  width: 55%;
  margin: 0;
  padding: 0;
  font-size: clamp(13px, 2vw, 16px);
  line-height: 1.5;
  color: #fff;
}
.water-experiment .stamp-card {
  position: relative;
  width: 170px;
  margin: 0 auto;
  transform: rotate(8deg);
}

.activity {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 30px;
  margin: 34px auto;
  max-width: 980px;
}
.activity h3 {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 18px;
  color: #fff;
  background: #52bb80;
  transform: rotate(3deg);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.1;
}
.activity p {
  margin: 0;
  padding: 24px;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  font-weight: 800;
}
.activity img {
  justify-self: center;
  max-height: 380px;
  object-fit: contain;
}

.water-activity-card {
  position: relative;
  display: block;
  width: min(760px, 100%);
  min-height: 650px;
  margin: 20px auto 64px;
  text-align: center;
}
.water-activity-card .activity-jot {
  position: absolute;
  left: -140px;
  top: -120px;
  z-index: 1;
  width: min(360px, 44vw);
  max-height: none;
  transform: rotate(-2deg);
  pointer-events: none;
}
.water-activity-card .activity-title {
  position: relative;
  z-index: 3;
  width: min(560px, 82%);
  margin: 0 auto -150px;
  transform: translateX(70px) rotate(3deg);
  container-type: inline-size;
}
.water-activity-card .activity-title img {
  display: block;
  width: 100%;
  max-height: none;
}
.water-activity-card .activity-title h3 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 20px 8px;
  color: #52bb80;
  background: transparent;
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(22px, 8.4cqw, 48px);
  line-height: 1;
  transform: rotate(4deg);
  white-space: nowrap;
}
.water-activity-card .activity-body {
  position: relative;
  z-index: 2;
  min-height: 610px;
  transform: rotate(2deg);
}
.water-activity-card .activity-body p {
  transform: rotate(4deg);
}
.water-activity-card .activity-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.water-activity-card p {
  position: relative;
  z-index: 2;
  width: min(560px, 82%);
  margin: 0 auto;
  padding: 138px 0 0;
  color: #fff;
  background: transparent;
  border-radius: 0;
  font-size: clamp(18px, 2.5vw, 25px);
  line-height: 1.45;
  transform: rotate(-2deg);
}
.water-activity-card .activity-photo {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 2;
  width: min(500px, 68%);
  max-height: none;
  transform: translateX(-43%) rotate(-2deg);
}

.mobile-break {
  display: none;
}

.oobleck {
  margin-top: -30px;
  transform: translateX(-20%);
}
.oobleck .activity-body {
  min-height: 760px;
}
.oobleck .activity-photo {
  bottom: -20px;
}

.lava {
  width: min(720px, 100%);
  margin-top: -20px;
  transform: translateX(20%);
}
.lava .activity-title {
  transform: translateX(28px) rotate(4deg);
}
.lava .activity-title h3 {
  color: #4971b6;
  font-size: clamp(22px, 8.4cqw, 48px);
}
.lava .activity-body {
  min-height: 580px;
  transform: rotate(2deg);
}
.lava .activity-body p {
  transform: rotate(4deg);
}
.lava p {
  padding-top: 140px;
  color: #000;
  font-size: clamp(17px, 2.2vw, 23px);
  transform: rotate(-2deg);
}
.lava .activity-photo {
  width: min(310px, 42%);
  bottom: -80px;
  left: -15%;
  transform: translateX(-120px) rotate(-4deg);
}

.party-times {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 74px 0 130px;
  color: #fff;
  text-align: center;
  background: #b063a7;
}
.party-times .button {
  margin-top: 22px;
  min-height: 48px;
  padding: 10px 20px 10px 24px;
  border-color: #321047;
  background: #f28abd;
  box-shadow: 0 5px 0 #321047;
  font-size: 16px;
}
.party-times .button::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  font-size: 26px;
  line-height: 1;
}
.party-times h2 {
  margin: 0 0 34px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.25;
}
.party-times p {
  width: min(860px, 100%);
  margin: 28px auto;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.timeline {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.timeline-bar {
  display: grid;
  grid-template-columns: 1.18fr 0.78fr 1.18fr 0.34fr 1.18fr 0.78fr 1.18fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 86px;
  border: 4px solid #fff;
  border-radius: 36px;
}

.time-block {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 14px 12px;
  text-align: left;
}
.time-block b,
.time-block span {
  display: block;
  line-height: 1.2;
}
.time-block span {
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(18px, 1.8vw, 26px);
}
.time-block.blue {
  background: #3251a2;
}
.time-block.red {
  background: #d75354;
}

.interlude {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 8px;
  background: #5e2d85;
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(10px, 1vw, 14px);
  line-height: 1.25;
}

.lunch-break {
  min-height: 86px;
  border-left: 3px dashed rgba(119, 119, 119, 0.65);
  border-right: 3px dashed rgba(119, 119, 119, 0.65);
  background: repeating-linear-gradient(90deg, #ececec 0, #ececec 12px, #dddddd 12px, #dddddd 24px);
}

.timeline-arrows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18%;
  width: 78%;
  margin: 18px auto 0;
}

.timeline-arrow {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px 52px;
  color: #fff;
  background: #5e2d85;
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.15;
  white-space: nowrap;
  clip-path: polygon(0 50%, 16% 0, 16% 22%, 84% 22%, 84% 0, 100% 50%, 84% 100%, 84% 78%, 16% 78%, 16% 100%);
}
.timeline-arrow::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  background: #fff;
  clip-path: inherit;
}
.timeline-arrow::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  background: #5e2d85;
  clip-path: inherit;
}

.food-lab {
  z-index: 2;
  margin-top: -105px;
  padding-top: 230px;
  padding-bottom: 190px;
  background: url("../images/food bg 1.svg") top center/80% auto repeat-y, #d75354;
}
.food-lab::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  z-index: 2;
  width: 100%;
  height: 210px;
  transform: translateX(-50%);
  background: url("../images/divider bot.svg") top center/100% auto no-repeat;
  pointer-events: none;
}
.food-lab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  z-index: 2;
  width: 100%;
  height: 165px;
  transform: translateX(-50%);
  background: url("../images/round divider top.svg") bottom center/100% auto no-repeat;
  pointer-events: none;
}
.food-lab .container {
  position: relative;
  z-index: 1;
}

.food-lab .time-pill {
  color: #d75354;
}

.food-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  align-items: center;
  max-width: 980px;
  margin: 48px auto;
}
.food-card h3 {
  display: inline-block;
  margin: 0 0 18px;
  padding: 10px 18px;
  background: #f58932;
  color: #fff;
  transform: rotate(-3deg);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
}
.food-card p {
  margin: 0;
  padding: 22px;
  background: rgba(255, 195, 19, 0.95);
  color: #741d13;
  font-weight: 900;
  transform: rotate(-2deg);
}
.food-card small {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
}
.food-card img {
  max-height: 380px;
  object-fit: contain;
}

.candy {
  grid-template-columns: 1fr 0.75fr;
}
.candy p {
  background: #fff;
  color: #d75354;
}

.soda {
  grid-template-columns: 0.95fr 1fr 0.6fr;
  margin-bottom: 0;
}
.soda h3 {
  background: #741d13;
}
.soda p {
  background: rgba(116, 29, 19, 0.94);
  color: #fff;
}
.soda .soda-girl {
  align-self: end;
  max-height: 310px;
}

.common {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 92px 0 120px;
  color: #b063a7;
  background: #fff;
}
.common h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(28px, 4vw, 48px);
}
.common .lead {
  margin: 0 auto 38px;
  max-width: 780px;
  text-align: center;
  font-weight: 800;
}

.common-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.common-grid article {
  color: #fff;
  background: #b063a7;
  border-radius: 8px;
  padding: 18px;
  font-weight: 700;
}
.common-grid img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  margin-bottom: 14px;
}
.common-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.common-grid p {
  margin: 0;
  font-weight: 800;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin: -1px calc(50% - 50vw) 0;
  padding: clamp(118px, 10vw, 162px) 0 clamp(176px, 14vw, 250px);
  background: #b063a7;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 140px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 1;
}
.final-cta::before {
  top: 0;
  background-image: url("../images/round divider bot.svg");
  background-position: top center;
}
.final-cta::after {
  bottom: 0;
  background: #e66daa;
  -webkit-mask: url("../images/round divider top.svg") bottom center/100% auto no-repeat;
  mask: url("../images/round divider top.svg") bottom center/100% auto no-repeat;
}
.final-cta .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
}
.final-cta .button {
  margin-top: 22px;
  min-height: 48px;
  padding: 10px 20px 10px 24px;
  border-color: #321047;
  background: #f28abd;
  box-shadow: 0 5px 0 #321047;
  font-size: 16px;
}
.final-cta .button::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  font-size: 26px;
  line-height: 1;
}
.final-cta img {
  max-height: 250px;
  justify-self: center;
}
.final-cta h2 {
  margin: 0 0 22px;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.25;
}

.signup {
  padding: 92px 0 72px;
  background: #e66daa;
  text-align: center;
}
.signup h2 {
  margin: 0 0 34px;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.22;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
  text-align: center;
}
.steps article {
  position: relative;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}
.steps span {
  display: inline-block;
  position: relative;
  z-index: 2;
  min-width: 128px;
  margin: 0 auto -16px clamp(24px, 2.5vw, 34px);
  padding: 2px 18px 5px;
  border-radius: 999px;
  background: #b063a7;
  color: #fff;
  font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(16px, 1.7vw, 21px);
}
.steps h3 {
  margin: 22px 0 10px;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.26;
}
.steps p {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.55;
}

.step-image {
  position: relative;
  aspect-ratio: 1.14/1;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.step-image svg {
  width: 100%;
  height: 100%;
  display: block;
}
.step-image .sign-up-bg {
  fill: #fff;
}
.step-image .sign-up-stroke,
.step-image .sign-up-check {
  fill: none;
  stroke: #e66daa;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-image .sign-up-check {
  stroke: #fff;
}
.step-image .sign-up-fill,
.step-image .sign-up-dot {
  fill: #e66daa;
}

.button-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.signup .button-row {
  margin-top: 38px;
}

.signup .button {
  position: relative;
  min-width: min(100%, 230px);
  min-height: 48px;
  padding: 9px 48px 10px 28px;
  border-color: #5e2d85;
  box-shadow: 0 5px 0 rgba(50, 16, 71, 0.85);
  font-size: clamp(15px, 1.6vw, 18px);
}
.signup .button::after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-53%);
  font-size: 1.5em;
  line-height: 1;
}

.signup-button-blue {
  background: #4971b6;
}

.signup-button-red {
  background: #d75354;
}

.signup .button:hover {
  box-shadow: 0 3px 0 rgba(50, 16, 71, 0.65);
}

.bottom {
  padding: 54px 0 60px;
  text-align: center;
  background: #e66daa;
}
.bottom img {
  width: min(460px, 100%);
  margin: 0 auto 18px;
}
.bottom h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.bottom p {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 767.98px) {
  .nav-inner {
    min-height: 72px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-toggle {
    display: block;
    width: 48px;
    height: 48px;
    background: #e66daa;
    border: solid 1px #fff;
  }
  .nav-toggle.opened {
    background: #4bb563;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 16px 18px;
    background: #5e2d85;
  }
  .nav-links.show {
    display: grid;
  }
  .nav-links .button {
    justify-content: center;
    min-height: 48px;
    margin: 6px 0;
  }
  .sticky-cta {
    position: fixed;
    z-index: 19;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    min-height: 68px;
    border-radius: 0;
    background: #e66daa;
    border-top: 0.25rem solid #fff;
    box-shadow: 0 -4px 16px rgba(94, 45, 133, 0.25);
    transition: transform 0.2s ease;
  }
  .sticky-cta .button-4 {
    width: min(360px, 100% - 36px);
    min-height: 44px;
    background: #5e2d85;
    box-shadow: 0 4px 0 rgba(50, 16, 71, 0.65);
    font-size: 1.15rem;
  }
  .sticky-cta .button-4:hover {
    background: #fff;
    color: #5e2d85;
  }
  .sticky-cta.hidden {
    transform: translateY(90px);
  }
  .hero-shell {
    min-height: 920px;
    width: 100%;
    padding: 36px clamp(18px, 5vw, 48px) 430px;
  }
  .hero-art,
  .intro-grid,
  .activity,
  .lava,
  .food-card,
  .candy,
  .soda,
  .final-cta .container {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    width: min(300px, 80vw);
    margin: 0 auto;
  }
  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 52px);
    text-align: left;
  }
  .hero-copy h1,
  .hero-copy p,
  .hero-copy small {
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }
  .hero-copy .button {
    max-width: 340px;
  }
  .hero-labs {
    bottom: 126px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-labs::before, .hero-labs::after {
    width: 170%;
    height: 310px;
  }
  .hero-labs::before {
    display: block;
    top: -238px;
    clip-path: inset(198px 0 0 0);
  }
  .hero-labs::after {
    bottom: -248px;
  }
  .lab-panel {
    height: 300px;
    align-items: center;
    padding: 92px 12px 76px;
  }
  .lab-panel img {
    width: min(350px, 82%);
  }
  .intro-photo img {
    width: min(390px, 88vw);
    margin-top: -36px;
  }
  .school-groups {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .common-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .area-grid,
  .tokyo .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .feature {
    min-height: unset;
  }
  .timeline {
    max-width: 430px;
    margin: 0 auto;
  }
  .party-times h2 {
    font-size: 27px;
  }
  .timeline-bar {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }
  .time-block,
  .interlude,
  .lunch-break {
    min-height: 64px;
    text-align: center;
  }
  .lunch-break {
    min-height: 34px;
    border-top: 3px dashed rgba(119, 119, 119, 0.65);
    border-bottom: 3px dashed rgba(119, 119, 119, 0.65);
    border-left: 0;
    border-right: 0;
  }
  .timeline-arrows {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(300px, 82%);
  }
  .timeline-arrow {
    min-height: 54px;
    padding-inline: 34px;
    font-size: 16px;
    white-space: normal;
  }
  .party-times p {
    font-size: 14px;
    line-height: 1.7;
  }
  .soda .soda-girl {
    justify-self: center;
  }
  .common-grid img {
    height: 190px;
  }
}
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .nav-inner .navbar-brand img {
    width: 180px;
  }
  .hero::before, .hero::after {
    top: 0;
  }
  .hero::before {
    left: -72px;
    width: 210px;
    height: 260px;
  }
  .hero::after {
    right: -54px;
    width: 128px;
    height: 324px;
  }
  .hero-copy h1 {
    font-size: 21px;
  }
  .intro {
    padding-top: 54px;
  }
  .intro-photo img {
    max-height: 230px;
  }
  .prefecture {
    padding: 12px;
  }
  .area-card {
    min-height: auto;
    padding: 14px 10px;
  }
  .area-card h3 {
    font-size: 18px;
  }
  .area-card ul {
    padding-left: 13px;
  }
  .area-card li {
    font-size: 13px;
    line-height: 1.3;
  }
  .area-card small {
    font-size: 10px;
  }
  .section-logo {
    width: 92%;
  }
  .time-pill {
    border-radius: 18px;
    font-size: 22px;
  }
  .time-pill span {
    display: block;
    margin: 2px 0;
  }
  .water-experiment .experiment-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .water-experiment .experiment-title {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  .water-experiment .floating-title {
    width: 180px;
    height: 180px;
  }
  .water-experiment .image-wheel {
    max-width: 350px;
  }
  .water-experiment .experiment-text {
    font-size: 14px;
    transform: none;
  }
  .water-experiment .exp-title {
    position: relative;
    width: min(140px, 40%);
    margin: 0 auto 24px;
  }
  .water-experiment .exp-title img {
    width: 100%;
    display: block;
  }
  .water-experiment .exp-title h2 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: "A-OTF Shin Maru Go Pro Ultra", "A-OTF Shin Maru Go Pro Bold", "Noto Sans JP", sans-serif;
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    color: #3251a2;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(50, 81, 162, 0.15);
    z-index: 2;
  }
  .activity p,
  .food-card p {
    padding: 18px;
  }
  .common,
  .lab-section,
  .party-times,
  .signup {
    padding-block: 58px;
  }
  .bottom {
    padding-bottom: 96px;
  }
}
@media (max-width: 575px) {
  .water-experiment .exp-title {
    width: 140px;
    transform: translate(-2px, 20px);
  }
}
.water-experiment {
  transform: translateX(25%);
}

@media (max-width: 1200px) {
  .water-experiment,
  .oobleck,
  .lava {
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 767px) {
  .water-experiment .wheel-bg {
    transform: translate(-1rem, -1rem) scale(1.1);
  }
}
@media (max-width: 767px) {
  .water-activity-card {
    width: min(560px, 96%);
    min-height: 560px;
    margin-bottom: 44px;
  }
  .water-activity-card .activity-jot {
    left: -104px;
    top: -168px;
    width: 260px;
  }
  .water-activity-card .activity-title {
    width: min(420px, 92%);
    margin-bottom: -42px;
  }
  .water-activity-card .activity-title h3 {
    padding-inline: 22px;
  }
  .water-activity-card .activity-body {
    min-height: 520px;
  }
  .water-activity-card p {
    width: 80%;
    padding-top: 112px;
    font-size: clamp(15px, 4vw, 21px);
    line-height: 1.45;
  }
  .water-activity-card .activity-photo {
    width: min(330px, 48%);
    bottom: -10px;
  }
  .oobleck {
    transform: translateX(2%);
  }
  .lava {
    min-height: 540px;
    transform: translateX(-5%);
  }
  .lava .activity-body {
    min-height: 500px;
  }
  .lava p {
    padding-top: 104px;
  }
  .lava .activity-photo {
    width: min(140px, 28%);
    bottom: -24px;
    transform: translateX(20%) rotate(-2deg);
  }
}
@media (max-width: 575px) {
  .mobile-break {
    display: block;
  }
  .water-activity-card {
    width: 100%;
    min-height: 500px;
  }
  .water-activity-card .activity-title {
    width: 82%;
    transform: translateX(-70px) rotate(3deg);
  }
  .water-activity-card .activity-title h3 {
    padding-inline: 10px;
    font-size: clamp(20px, 7.2cqw, 34px);
  }
  .water-activity-card .activity-body {
    min-height: 470px;
  }
  .water-activity-card p {
    width: 64%;
    padding: 92px 0 0;
    font-size: 14px;
    line-height: 1.42;
  }
  .water-activity-card .activity-photo {
    width: 72%;
    bottom: -24px;
  }
  .oobleck {
    margin-top: -4px;
    transform: translateX(1.5%);
  }
  .lava {
    min-height: 470px;
    margin-top: -38px;
    transform: translateX(-4%);
  }
  .lava .activity-body {
    min-height: 450px;
  }
  .lava p {
    padding-top: 86px;
    font-size: 12.5px;
  }
  .lava .activity-photo {
    width: 44%;
    bottom: 26px;
  }
}
@media (max-width: 360px) {
  .water-activity-card .activity-title {
    width: 82%;
    transform: translateX(-54px) rotate(3deg);
  }
  .water-activity-card .activity-title h3 {
    padding-inline: 10px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .lab-panel.water::before {
    -webkit-mask-position: center 20px;
    mask-position: center 20px;
  }
}
@media (max-width: 767px) {
  .intro-photo {
    order: -1;
  }
  .intro-text {
    order: 1;
  }
}
@media (max-width: 575px) {
  .intro-photo img {
    max-height: none;
    width: min(390px, 88vw);
    height: auto;
  }
}
@media (max-width: 575px) {
  .oobleck .activity-photo {
    width: 46%;
    bottom: -12px;
    transform: translateX(4%) rotate(-2deg);
  }
  .lava .activity-photo {
    width: 25%;
    bottom: 28px;
    transform: translateX(100%) rotate(-4deg);
  }
}
@media (max-width: 575px) {
  .oobleck .activity-title,
  .lava .activity-title {
    transform: translate(10px, 46px) rotate(3deg);
  }
  .oobleck p,
  .lava p {
    padding-top: 120px;
    transform: translate(10px, 34px) rotate(2deg);
  }
}
@media (max-width: 575px) {
  .final-cta {
    text-align: center;
  }
  .final-cta .container {
    justify-items: center;
  }
  .final-cta h2,
  .final-cta p {
    text-align: center;
  }
  .final-cta .button {
    margin-left: auto;
    margin-right: auto;
  }
}
.science-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: #5e2d85;
}

body {
  padding-top: 88px;
}

@media (max-width: 767px) {
  body {
    padding-top: 72px;
  }
}

/*# sourceMappingURL=science-fair.css.map */
