:root {
  color-scheme: light;
  --line-ink: #111b2d;
  --line-blue: #165dff;
  --line-muted: #6f7b8d;
  --line-border: #e2e8f0;
  --line-green: #06c755;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--line-ink);
  background: #f4f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--line-blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: #fff;
  background: var(--line-ink);
}

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

.line-header {
  min-height: 78px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgb(17 27 45 / 8%);
  background: rgb(255 255 255 / 92%);
}

.line-wordmark {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 11px;
}

.line-wordmark__name {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.04em;
}

.line-wordmark__label {
  color: #6c7788;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .18em;
}

.line-header__back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #40516b;
  font-size: 12px;
  font-weight: 650;
}

.line-header__back svg {
  width: 17px;
  height: 17px;
}

.line-main {
  width: min(1120px, calc(100% - 48px));
  margin: clamp(32px, 6vw, 72px) auto 60px;
}

.line-kicker {
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
  color: #6e7b8f;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .18em;
}

.line-kicker span:first-child {
  color: var(--line-blue);
}

.line-card {
  min-height: 550px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  overflow: hidden;
  border: 1px solid rgb(17 27 45 / 5%);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(22 47 86 / 10%);
}

.line-card__copy {
  padding: clamp(36px, 6.5vw, 84px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at 92% 12%, rgb(62 112 214 / 28%), transparent 30%), #10213c;
}

.line-eyebrow {
  margin: 0 0 20px;
  color: #91b3ff;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: .2em;
}

.line-card h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 620;
  letter-spacing: -.07em;
  line-height: 1.28;
}

.line-card__description {
  max-width: 430px;
  margin: 22px 0 28px;
  color: rgb(255 255 255 / 76%);
  font-size: 14px;
  line-height: 1.95;
}

.line-button {
  width: min(100%, 340px);
  min-height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: #10213c;
  background: var(--line-green);
  font-size: 14px;
  font-weight: 740;
  transition: transform 180ms ease, background-color 180ms ease;
}

.line-button:hover {
  transform: translateY(-2px);
  background: #05b94e;
}

.line-button > svg:first-child {
  width: 20px;
  height: 20px;
}

.line-button__arrow {
  width: 16px;
  height: 16px;
}

.line-card__note {
  margin: 13px 0 0;
  color: rgb(255 255 255 / 60%);
  font-size: 11px;
  line-height: 1.7;
}

.line-card__qr {
  margin: 0;
  padding: 42px 28px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.line-qr__frame {
  width: min(100%, 360px);
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid var(--line-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(17 27 45 / 7%);
}

.line-qr__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.line-card__qr figcaption {
  margin-top: 17px;
  color: var(--line-muted);
  font-size: 12px;
  text-align: center;
}

.line-footer {
  min-height: 86px;
  padding: 18px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line-border);
  background: #fff;
}

.line-footer a {
  color: #354b70;
  font-size: 12px;
  font-weight: 650;
}

.line-footer small {
  color: #7a8494;
  font-size: 10px;
}

@media (max-width: 720px) {
  .line-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .line-wordmark {
    gap: 7px;
  }

  .line-wordmark__name {
    font-size: 15px;
  }

  .line-wordmark__label {
    font-size: 9px;
  }

  .line-header__back {
    font-size: 11px;
  }

  .line-main {
    width: calc(100% - 32px);
    margin: 28px auto 40px;
  }

  .line-kicker {
    margin-bottom: 10px;
  }

  .line-card {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .line-card__copy {
    padding: 34px 24px 30px;
  }

  .line-eyebrow {
    margin-bottom: 14px;
  }

  .line-card h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .line-card__description {
    margin: 18px 0 22px;
    font-size: 13px;
  }

  .line-button {
    width: 100%;
    min-height: 54px;
  }

  .line-card__qr {
    padding: 27px 22px 30px;
  }

  .line-qr__frame {
    width: min(100%, 300px);
    padding: 9px;
    border-radius: 16px;
  }

  .line-card__qr figcaption {
    margin-top: 13px;
    font-size: 11px;
  }

  .line-footer {
    min-height: 74px;
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
