:root {
  color-scheme: light;
  --navy: #1e2c52;
  --muted: #606881;
  --blue: #7dd3ec;
  --blue-dark: #247799;
  --pink: #ffa6c8;
  --pink-bg: #fff4f7;
  --width: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--navy);
  background: var(--pink-bg);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--navy);
  background: #bce9f5;
}

:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 6px;
}

.container {
  width: min(var(--width), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 20;
  padding: 12px 20px;
  color: white;
  background: var(--navy);
  border-radius: 12px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

main {
  display: flex;
  flex: 1;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--pink-bg);
}

.hero__inner {
  display: grid;
  flex: 1 0 auto;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(32px, 4vw, 56px);
  align-content: center;
  align-items: center;
  padding-block: clamp(48px, 8svh, 104px);
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 25px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.6;
}

.bubble-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 3px solid var(--blue-dark);
  border-radius: 50%;
}

.hero h1 {
  margin: 0;
  font-size: clamp(33px, 3.5vw, 47px);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: -2px;
}

.hero__accent {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hero__accent::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: -3px;
  z-index: -1;
  height: 13px;
  border-radius: 6px;
  background: var(--blue);
  content: "";
  transform: rotate(-1deg);
}

.hero__lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 2.15;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 54px;
  padding: 16px 24px;
  border: 1px solid var(--navy);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  transition: background 180ms, color 180ms, transform 180ms;
}

.button > span[aria-hidden] {
  font-size: 18px;
  line-height: 1;
}

.button--navy {
  background: var(--navy);
  color: white;
}

.hero__visual {
  position: relative;
  min-width: 0;
  padding-block: 24px;
}

.logo-board {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 20px 18px;
  background: var(--pink-bg);
  border: 2px solid var(--navy);
  border-radius: 36px;
  box-shadow: 9px 9px 0 #bceaf6;
  transform: rotate(-3deg);
}

.hero__logo {
  width: 100%;
}

.logo-board__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 0;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.logo-board__bottom > span:last-child {
  color: var(--blue-dark);
  font-size: 15px;
  letter-spacing: 4px;
}

.hero__sticker {
  position: absolute;
  right: -18px;
  bottom: -13px;
  z-index: 2;
  width: 146px;
  padding: 21px 18px;
  border: 2px solid var(--navy);
  border-radius: 15px;
  background: #7dd3ec;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  transform: rotate(8deg);
}

.hero__sticker > b {
  font-size: 17px;
}

.hero__sticker > span {
  position: absolute;
  top: -20px;
  right: 10px;
  color: var(--navy);
  font-size: 44px;
}

.hero-bubble {
  position: absolute;
  border: 2px solid var(--blue-dark);
  border-radius: 50%;
}

.hero-bubble--one {
  top: -32px;
  right: 44px;
  width: 46px;
  height: 46px;
  animation: bubble-float 6s ease-in-out infinite;
}

.hero-bubble--two {
  top: -8px;
  right: 105px;
  width: 19px;
  height: 19px;
  border-color: #d86192;
  animation: bubble-float 7s ease-in-out -2s infinite;
}

.hero-bubble--three {
  bottom: 9px;
  left: -25px;
  width: 30px;
  height: 30px;
  border: 7px solid var(--pink);
}

.site-footer {
  flex-shrink: 0;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: var(--pink-bg);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 10px;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.site-footer__bottom small {
  font-size: inherit;
}

@media (hover: hover) {
  .button:hover {
    color: var(--navy);
    background: var(--blue);
    transform: translateY(-2px);
  }
}

@keyframes bubble-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1060px) {
  .hero__inner {
    gap: 32px;
  }
  .hero h1 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }
  .hero__actions {
    gap: 18px;
  }
  .button {
    padding-inline: 20px;
    gap: 20px;
  }
  .hero__sticker {
    width: 131px;
    padding: 17px 15px;
    right: -10px;
  }
  .hero__sticker > b {
    font-size: 15px;
  }
  .logo-board {
    padding-inline: 13px;
  }
  .logo-board__bottom {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 800px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 56px;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__copy .eyebrow {
    justify-content: center;
  }
  .hero h1 {
    font-size: 42px;
    line-height: 1.55;
  }
  .hero h1 > br:last-of-type {
    display: none;
  }
  .hero__lead {
    margin-top: 22px;
  }
  .hero__actions {
    justify-content: center;
    margin-top: 25px;
  }
  .hero__visual {
    width: min(520px, calc(100% - 24px));
    margin-inline: auto;
  }
  .logo-board {
    width: 100%;
    padding: 22px 20px 17px;
  }
  .logo-board__bottom {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .hero-bubble--one {
    top: -28px;
    right: 35px;
  }
  .hero__sticker {
    bottom: -8px;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 24px;
  }

  .hero__inner {
    gap: 44px;
    padding-block: 48px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.1px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(28px, 7.3vw, 40px);
    letter-spacing: -1px;
    line-height: 1.75;
  }
  .hero__lead {
    font-size: 12px;
    line-height: 2.1;
  }
  .hero__actions {
    gap: 22px;
  }
  .button {
    min-height: 51px;
    padding: 14px 20px;
    font-size: 12px;
  }

  .hero__visual {
    width: calc(100% - 12px);
    padding-block: 14px;
  }
  .logo-board {
    border-radius: 24px;
    padding: 17px 13px 14px;
    box-shadow: 6px 6px 0 #bceaf6;
  }

  .logo-board__bottom {
    padding-inline: 3px;
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .logo-board__bottom > span:last-child {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .hero__sticker {
    right: -8px;
    bottom: -20px;
    width: 111px;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 11px;
  }
  .hero__sticker > b {
    font-size: 13px;
  }
  .hero__sticker > span {
    font-size: 32px;
    top: -18px;
  }
  .hero-bubble--one {
    top: -21px;
    right: 20px;
    width: 32px;
    height: 32px;
  }
  .hero-bubble--two {
    top: -3px;
    right: 65px;
    width: 13px;
    height: 13px;
  }
  .hero-bubble--three {
    bottom: -16px;
    left: -11px;
    width: 22px;
    height: 22px;
    border-width: 5px;
  }

  .site-footer__bottom {
    font-size: 9px;
    gap: 15px;
  }
}

@media (max-width: 370px) {
  :root {
    --gutter: 18px;
  }

  .hero__actions {
    gap: 17px;
  }

  .site-footer__bottom {
    font-size: 8px;
  }
}

@media (max-width: 340px) {
  .hero h1 > br:last-of-type {
    display: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
