:root {
  --ink: #23272e;
  --muted: #606b76;
  --blue: #2aa6dc;
  --blue-dark: #1686be;
  --blue-soft: #e9f7fd;
  --paper: #ffffff;
  --wash: #f7fafc;
  --line: #b9e2f5;
  --max: 430px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eef3f6;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  line-height: 1.58;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
  letter-spacing: 0;
}

.lp-page {
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 42px 14px 18px;
  text-align: center;
}

.lang-switch {
  position: absolute;
  z-index: 5;
  top: 4px;
  right: 12px;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #d7edf8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.lang-switch a {
  padding: 7px 6px;
}

.lang-switch a + a {
  border-left: 1px solid #d7edf8;
}

.lang-switch .is-active {
  background: var(--blue);
  color: #fff;
}

.hero-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.hero h1 {
  /* 上の小さい説明文との間隔。大きくするとタイトルが下がる */
  margin-top: 6px;
  font-size: clamp(19px, 5vw, 22px);
  font-weight: 900;
  line-height: 1.22;
  word-break: keep-all;
}

.hero-logo {
  width: min(226px, 58vw);
  margin-top: 13px;
  margin-bottom: 32px;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: clamp(292px, 101vw, 405px);
  margin-top: 0;
}

.hero-art {
  position: absolute;
  /* z-index: 1 はスマホ画像より背面。前面に出したい場合は .hero-phone より大きくする */
  z-index: 1;
  width: 118px;
  opacity: 0.9;
  pointer-events: none;
}

.hero-art-left {
  /* 左下イラスト。left は横位置、top は縦位置、width は大きさ */
  left: -6%;
  top: 43%;
  width: 39%;
  /* 左右反転。反転を戻す場合はこの行を削除 */
  transform: scaleX(-1);
}

.hero-art-right {
  /* 右下イラスト。right は横位置、top は縦位置、width は大きさ */
  right: -10%;
  top: 59%;
  width: 42%;
}

.hero-art-top-right {
  /* 右上イラスト。right は横位置、top は縦位置、width は大きさ */
  right: -3%;
  top: -3%;
  width: 40%;
}

.phone-frame {
  overflow: hidden;
  border: 5px solid #111317;
  border-radius: 18px;
  background: #f5f7f9;
  box-shadow: 0 10px 22px rgba(29, 60, 82, 0.14);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
}

.hero-phone {
  position: relative;
  /* z-index: 2 はイラストより前面。背面にしたい場合は .hero-art より小さくする */
  z-index: 2;
  /* メインのスマホ画像の大きさ */
  width: min(188px, 48vw);
  margin: 0 auto;
}

.js .hero-intro .hero-kicker,
.js .hero-intro h1,
.js .hero-intro .hero-logo,
.js .hero-intro .hero-stage,
.js .hero-intro .download-link,
.js .hero-intro > .app-store-link,
.js .hero-intro > .localization-note,
.js .hero-intro > .note {
  opacity: 0;
  transform: translateY(14px);
}

.js .hero-intro.is-loaded .hero-kicker,
.js .hero-intro.is-loaded h1,
.js .hero-intro.is-loaded .hero-logo,
.js .hero-intro.is-loaded .hero-stage,
.js .hero-intro.is-loaded .download-link,
.js .hero-intro.is-loaded > .app-store-link,
.js .hero-intro.is-loaded > .localization-note,
.js .hero-intro.is-loaded > .note {
  animation: heroIntroFade 680ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.js .hero-intro.is-loaded .hero-kicker {
  animation-delay: 80ms;
}

.js .hero-intro.is-loaded h1 {
  animation-delay: 190ms;
}

.js .hero-intro.is-loaded .hero-logo {
  animation: heroLogoIn 760ms cubic-bezier(0.18, 0.78, 0.2, 1) 340ms both;
}

.js .hero-intro.is-loaded .hero-stage {
  animation-delay: 520ms;
}

.js .hero-intro.is-loaded .hero-phone {
  animation: heroPhoneIn 860ms cubic-bezier(0.18, 0.82, 0.2, 1) 620ms both;
}

.js .hero-intro.is-loaded .hero-art-left {
  animation:
    heroArtLeftIn 760ms cubic-bezier(0.18, 0.82, 0.2, 1) 760ms both,
    heroArtLeftFloat 6.6s ease-in-out 1.7s infinite;
}

.js .hero-intro.is-loaded .hero-art-top-right {
  animation:
    heroArtRightIn 760ms cubic-bezier(0.18, 0.82, 0.2, 1) 900ms both,
    heroArtFloat 7.2s ease-in-out 1.85s infinite;
}

.js .hero-intro.is-loaded .hero-art-right {
  animation:
    heroArtRightIn 760ms cubic-bezier(0.18, 0.82, 0.2, 1) 980ms both,
    heroArtFloat 7.8s ease-in-out 1.95s infinite;
}

.js .hero-intro.is-loaded .download-link {
  animation-delay: 900ms;
}

.js .hero-intro.is-loaded > .app-store-link {
  animation-delay: 1030ms;
}

.js .hero-intro.is-loaded > .localization-note {
  animation-delay: 1150ms;
}

.js .hero-intro.is-loaded > .note {
  animation-delay: 1230ms;
}

@keyframes heroIntroFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroPhoneIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroArtLeftIn {
  from {
    opacity: 0;
    transform: translateX(-22px) translateY(10px) scaleX(-1) scale(0.96);
  }

  to {
    opacity: 0.9;
    transform: translateX(0) translateY(0) scaleX(-1) scale(1);
  }
}

@keyframes heroArtRightIn {
  from {
    opacity: 0;
    transform: translateX(22px) translateY(10px) scale(0.96);
  }

  to {
    opacity: 0.9;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes heroArtLeftFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scaleX(-1);
  }

  50% {
    transform: translate3d(-3px, -5px, 0) scaleX(-1);
  }
}

@keyframes heroArtFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(3px, -5px, 0);
  }
}

.phone-slideshow {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1179 / 2556;
}

.phone-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(100%) scale(1.015);
  transition: transform 800ms cubic-bezier(0.77, 0.2, 0.22, 1), opacity 220ms ease;
}

.phone-slideshow .slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.phone-slideshow .slide.slide-in-left {
  animation: slideInLeft 100ms cubic-bezier(0.77, 0.2, 0.22, 1) both;
}

.phone-slideshow .slide.slide-out-right {
  z-index: 3;
  opacity: 1;
  animation: slideOutRight 800ms cubic-bezier(0.77, 0.2, 0.22, 1) both;
}

@keyframes slideInLeft {
  from {
    opacity: 1;
    transform: translateX(100%) scale(1.015);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  to {
    opacity: 1;
    transform: translateX(-100%) scale(0.985);
  }
}

.download-link {
  margin-top: 16px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 900;
}

.app-store-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.app-store-link img {
  width: 120px;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.localization-note {
  max-width: 320px;
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.55;
}

.news {
  border-top: 1px solid #eef2f5;
  background: #f1f1f1;
  padding: 16px 14px 18px;
  text-align: center;
}

.news h2 {
  font-size: 18px;
  font-weight: 900;
}

.news a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.features-heading {
  padding: 24px 14px 12px;
  text-align: center;
}

.features-heading h2,
.download-section h2 {
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.features-heading p,
.download-section > p:not(.note) {
  margin-top: 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.features-heading .seo-lead {
  max-width: 360px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.65;
}

.feature-section {
  padding: 0 14px 28px;
}

.section-head {
  border-bottom: 2px solid var(--line);
  padding: 10px 0 12px;
  text-align: center;
}

.section-head h2 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.36;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  align-items: start;
  padding-top: 18px;
}

.feature-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.line-art {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.line-art.wide {
  max-height: 110px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.83;
  overflow-wrap: anywhere;
}

.screen-card {
  display: grid;
  justify-items: center;
}

.screen-card .phone-frame {
  width: min(158px, 100%);
}

.download-section {
  display: grid;
  justify-items: center;
  padding: 20px 14px 26px;
  text-align: center;
}

.plan-section {
  padding: 10px 14px 28px;
  text-align: center;
}

.plan-section h2 {
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.plan-lead {
  margin: 8px auto 14px;
  max-width: 320px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.plan-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  text-align: left;
}

.plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 0.72fr 0.98fr;
  min-height: 42px;
  border-top: 1px solid #e6f3fa;
}

.plan-row:first-child {
  border-top: 0;
}

.plan-row > div {
  display: grid;
  align-items: center;
  border-left: 1px solid #e6f3fa;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.plan-row > div:first-child {
  border-left: 0;
}

.plan-head {
  background: var(--blue-soft);
}

.plan-head > div,
.plan-row > div:nth-child(2),
.plan-row > div:nth-child(3) {
  text-align: center;
  justify-content: center;
}

.plan-head > div,
.plan-row > div:nth-child(3) {
  color: var(--blue-dark);
}

.plan-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.55;
}

.qa-section {
  padding: 0 14px 30px;
  text-align: center;
}

.qa-section h2 {
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.qa-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
}

.qa-item {
  border: 1px solid #e6f3fa;
  border-radius: 10px;
  background: var(--paper);
  padding: 13px 14px;
}

.qa-item h3 {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.qa-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.7;
}

.updates-section {
  padding: 0 14px 30px;
  text-align: center;
}

.updates-section h2 {
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.updates-lead {
  margin-top: 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.updates-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
}

.update-item {
  border: 1px solid #e6f3fa;
  border-radius: 10px;
  background: var(--paper);
  padding: 13px 14px;
}

.update-item h3 {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.update-item ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.7;
}

.download-section .app-store-link img {
  width: 118px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-top: 1px solid #e8edf1;
  background: var(--paper);
  padding: 18px 14px 26px;
  text-align: center;
}

.copyright {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}

.site-footer a {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.js .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 431px) {
  .lp-page,
  .site-footer {
    box-shadow: 0 18px 60px rgba(27, 50, 66, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .hero-intro .hero-kicker,
  .js .hero-intro h1,
  .js .hero-intro .hero-logo,
  .js .hero-intro .hero-stage,
  .js .hero-intro .hero-phone,
  .js .hero-intro .hero-art,
  .js .hero-intro .download-link,
  .js .hero-intro > .app-store-link,
  .js .hero-intro > .localization-note,
  .js .hero-intro > .note {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .phone-slideshow .slide {
    transition: none;
  }
}
