:root {
  --ink: #20364a;
  --muted: #5c7183;
  --line: #d8e7ee;
  --sky: #eaf8ff;
  --blue: #2c9de6;
  --deep-blue: #1578bd;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f8fcff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
}

a { color: inherit; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(22px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: rgba(25, 125, 192, .96);
  backdrop-filter: blur(10px);
}

header a { text-decoration: none; font-size: 13px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 18px !important; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; padding: 2px; border-radius: 50%; background: #fff; object-fit: cover; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language-link { padding: 3px 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; }
.language-link:hover { background: rgba(255,255,255,.15); }

main { max-width: 1120px; margin: 0 auto; padding: 52px 28px 78px; }

.app-heading { display: flex; align-items: center; gap: 20px; }
.app-heading img { width: 82px; height: 82px; border-radius: 21px; box-shadow: 0 12px 26px #1b668022; }
.eyebrow { margin: 0 0 4px; color: var(--deep-blue); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
h1, h2, h3 { margin: 0; line-height: 1.35; }
h1 { font-size: 43px; letter-spacing: .03em; }
h1 small { margin-left: 10px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .05em; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }

.lead { max-width: 750px; margin: 28px auto 34px; text-align: center; }
.lead h2 { font-size: 32px; }
.lead p { margin: 12px 0 0; color: var(--muted); }

.hero-graphic { overflow: hidden; border-radius: 24px; box-shadow: 0 18px 44px #1b66802a; }
.hero-graphic img { display: block; width: 100%; height: auto; }

.section { margin-top: 82px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 25px; }
.number { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid #9bcfeb; border-radius: 50%; color: var(--deep-blue); font-size: 12px; font-weight: 700; }
.section-heading h2 { font-size: 25px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.feature-card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.feature-mark { display: grid; width: 37px; height: 37px; margin-bottom: 18px; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg, #4fb6ee, #3979dc); font-size: 16px; font-weight: 800; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 55px; align-items: center; }
.story.reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.story-copy p { color: var(--muted); font-size: 15px; }
.story-copy ul { padding: 0; margin: 20px 0 0; list-style: none; }
.story-copy li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.story-copy li::before { padding-right: 10px; color: var(--blue); content: "•"; font-weight: 900; }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 470px; margin: auto; }
.phone { overflow: hidden; border-radius: 19px; box-shadow: 0 17px 38px #1c536128; background: #5aa8da; }
.phone img { display: block; width: 100%; height: auto; }
.single-phone { max-width: 330px; margin: auto; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 12px 28px #1c536120; }
.gallery figcaption { padding: 12px 3px 0; font-size: 14px; font-weight: 700; }
.gallery figcaption span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }

.note { margin-top: 14px; color: var(--muted); font-size: 12px; }
.faq { padding: 8px 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-size: 14px; font-weight: 700; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.advertisement { margin-top: 40px; text-align: center; }
.ad-label { margin: 0; color: var(--muted); font-size: 12px; }
.advertisement .ad-pc { display: block; margin: 16px auto; }
.advertisement .ad-sp { display: none; }

.cta { margin-top: 72px; padding: 46px 25px; border-radius: 26px; text-align: center; background: linear-gradient(135deg, #dff5ff, #e9eeff); }
.cta h2 { margin: 4px 0 13px; font-size: 27px; }
.google-play-link { display: inline-block; width: 190px; max-width: 100%; margin-top: 7px; border-radius: 6px; line-height: 0; }
.google-play-link img { display: block; width: 100%; height: auto; }

footer { padding: 30px 24px; color: var(--muted); background: #edf6fa; text-align: center; font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 16px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #127bbb; outline-offset: 4px; }

@media (max-width: 768px) {
  .advertisement .ad-pc { display: none; }
  .advertisement .ad-sp { display: block; margin: 16px auto; }
}

@media (max-width: 740px) {
  header { padding: 13px 18px; }
  .brand { font-size: 15px !important; }
  .header-actions { gap: 11px; }
  header a { font-size: 11px; }
  main { padding: 34px 20px 55px; }
  .app-heading { gap: 15px; }
  .app-heading img { width: 68px; height: 68px; border-radius: 17px; }
  h1 { font-size: 31px; }
  h1 small { display: block; margin: 4px 0 0; font-size: 11px; }
  .lead h2 { font-size: 23px; }
  .lead p { font-size: 13px; }
  .hero-graphic { border-radius: 16px; }
  .section { margin-top: 56px; }
  .section-heading h2 { font-size: 20px; }
  .feature-grid, .story, .story.reverse { grid-template-columns: 1fr; gap: 15px; }
  .feature-card { padding: 23px; }
  .story { gap: 30px; }
  .story.reverse .story-copy { order: -1; }
  .gallery { grid-template-columns: 1fr; gap: 28px; max-width: 360px; margin: auto; }
  .faq { padding: 7px 20px; }
  .advertisement { margin-inline: -20px; }
  .cta { margin-top: 56px; padding: 37px 18px; }
  .cta h2 { font-size: 22px; }
}

@media (max-width: 430px) {
  .brand span { display: none; }
}
