/*
 * 公開LP（日本語・英語・繁体字）の共有スタイル。
 * 3言語のHTMLは同じ構造で、言語ごとの違いはフォントだけをここで切り替える。
 */
:root {
  color-scheme: light;
  --ink: #102421;
  --ink-2: #2e4541;
  --muted: #5d706e;
  --line: rgba(18, 49, 45, 0.12);
  --paper: #fbfdfb;
  --mint: #eaf6f0;
  --teal: #007d70;
  --teal-dark: #00594f;
  --sun: #f0bd64;
  --coral: #ec7f5e;
  --card: #ffffff;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: 0.01em; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.nb { display: inline-block; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 253, 251, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--teal); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.btn.small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.badge img { display: block; width: 180px; height: auto; }
.closing .badge { display: inline-block; margin-top: 28px; }

/* hero */
.hero { padding: 56px 0 40px; background: linear-gradient(160deg, var(--mint) 0%, var(--paper) 55%, #fff7ea 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.kicker { color: var(--teal); font-weight: 800; font-size: 0.95rem; }
.hero h1 { margin-top: 12px; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.25; }
.hero .sub { margin-top: 18px; font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 700; color: var(--teal-dark); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.cta-note { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.kinds { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.kinds li { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; color: var(--teal-dark); font-size: 0.78rem; font-weight: 700; line-height: 1.3; text-align: center; }
.kinds svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.phone-img { display: block; width: min(360px, 82vw); height: auto; margin: 0 auto; border-radius: 28px; box-shadow: 0 30px 60px rgba(15, 45, 40, 0.18); }

/* sections */
section.block { padding: 72px 0; }
.label { color: var(--teal); font-weight: 800; font-size: 0.9rem; }
.block h2 { margin-top: 8px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.block .intro { margin-top: 14px; color: var(--muted); max-width: 40em; font-size: 1.05rem; }

/* pain */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.pain { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pain .where { font-size: 0.85rem; font-weight: 800; color: var(--coral); }
.pain p.q { margin-top: 8px; font-weight: 800; font-size: 1.1rem; }
.pain p.a { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; counter-reset: s; }
.step { counter-increment: s; }
.shot {
  aspect-ratio: 9 / 16; max-height: 360px; width: 100%; border-radius: 26px;
  border: 2px dashed rgba(0, 125, 112, 0.35); background: repeating-linear-gradient(45deg, #f2f8f5, #f2f8f5 12px, #eaf4ef 12px, #eaf4ef 24px);
  display: grid; place-items: center; text-align: center; padding: 16px; color: var(--teal-dark); font-size: 0.85rem; font-weight: 700;
}
.shot.img { position: relative; display: block; padding: 0; border: 0; background: #eef5f1; overflow: hidden; }
.shot.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.step h3 { margin-top: 16px; font-size: 1.15rem; }
.step h3::before { content: counter(s) ". "; color: var(--teal); }
.step p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.foot { margin-top: 18px; color: var(--muted); font-size: 0.85rem; }

/* surfaces */
.surfaces { background: var(--mint); }
.surface-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.surface { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.surface .pic { aspect-ratio: 5 / 3; border-radius: 12px; overflow: hidden; background: #e3ece8; }
.surface .pic svg { display: block; width: 100%; height: 100%; }
.surface .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.surface .pic.fit { background: #0b1a4a; }
.surface .pic.fit img { object-fit: contain; }
.surface .pic.wait { display: grid; place-items: center; text-align: center; border: 2px dashed rgba(0, 125, 112, 0.35); background: repeating-linear-gradient(45deg, #f2f8f5, #f2f8f5 12px, #eaf4ef 12px, #eaf4ef 24px); color: var(--teal-dark); font-size: 0.85rem; font-weight: 700; }
.surface h3 { margin-top: 14px; font-size: 1.02rem; }
.surface p { margin-top: 4px; color: var(--muted); font-size: 0.9rem; }

/* trust */
.trust { background: var(--ink); color: #f1f8f5; }
.trust .label { color: #9fdcc9; }
.trust .intro { color: rgba(241, 248, 245, 0.75); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 32px; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.12); }
.trust-grid div { padding: 22px; background: #15302c; }
.trust-grid b { display: block; font-size: 1.1rem; }
.trust-grid span { display: block; margin-top: 6px; color: rgba(241, 248, 245, 0.72); font-size: 0.92rem; }


/* features + spec */
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; margin-top: 32px; align-items: start; }
.feat { margin: 0; padding: 0; list-style: none; }
.feat li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.feat b { display: block; }
.feat span { color: var(--muted); font-size: 0.93rem; }
dl.spec { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
dl.spec div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
dl.spec div:last-child { border-bottom: 0; }
dl.spec dt { font-weight: 800; }
dl.spec dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
h3.col { font-size: 1.1rem; margin-bottom: 8px; }

/* faq */
.faq { background: #f5faf7; }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
details { border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
summary { cursor: pointer; padding: 18px 20px; font-weight: 800; }
details p { padding: 0 20px 18px; color: var(--muted); }
details ul.cannot { margin: -8px 0 0; padding: 0 20px 18px 2.4em; color: var(--muted); }

/* closing */
.closing { padding: 80px 0; text-align: center; background: linear-gradient(135deg, var(--teal), var(--ink)); color: #fff; }
.closing h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.closing p { margin-top: 12px; color: rgba(255,255,255,0.8); }
.closing .btn { margin-top: 28px; background: #fff; color: var(--ink); }

footer { padding: 28px 0 40px; color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }


@media (max-width: 860px) {
  .top nav a.sec { display: none; }
  .hero { padding-top: 32px; }
  .hero .wrap, .two { grid-template-columns: 1fr; }
  .pains, .steps { grid-template-columns: 1fr; }
  .surface-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  /* 1列表示では縦長の画面を横長の帯に切らないよう、画像を左・説明を右に並べる */
  .step { display: grid; grid-template-columns: clamp(110px, 30vw, 170px) 1fr; grid-template-rows: auto 1fr; gap: 0 18px; align-items: start; }
  .step .shot { grid-row: 1 / span 2; max-height: none; border-radius: 18px; font-size: 0.72rem; }
  .step h3 { margin-top: 4px; }
  section.block { padding: 56px 0; }
}
@media (max-width: 480px) {
  .kinds { justify-content: space-between; gap: 0; padding: 0 16px; }
  .block h2 .nb { display: inline; }
  .surface-grid, .trust-grid { grid-template-columns: 1fr; }
  .top nav { gap: 12px; }
  .top nav .lang { font-size: 0.82rem; white-space: nowrap; }
  .top .long { display: none; }
  .brand { gap: 8px; }
  dl.spec div { grid-template-columns: 1fr; gap: 2px; }
}

html[lang="en"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
html[lang="zh-Hant"] body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

/* iPhone SE（第1世代）など幅320px前後では、ブランド名・言語リンク・App Storeボタンが
   ヘッダーに収まらないため、ブランド名は見た目だけ隠してアイコンで示す（読み上げは残す）。 */
@media (max-width: 360px) {
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
