:root{
  /* ===== App palette (from Android colors.xml) ===== */
  --brand-primary:#2B7A78;        /* brand_primary */
  --brand-primary-light:#3AAFA9;  /* brand_primary_light */
  --brand-secondary:#DEF2F1;      /* brand_secondary */
  --brand-accent:#FEA82F;         /* brand_accent */

  --bg:#FAFAFA;                   /* bg_surface */
  --surface:#FFFFFF;              /* bg_surface_light */
  --surface-variant:#F4F6F6;      /* bg_surface_variant */

  --text:#1A1A1A;                 /* text_primary */
  --muted:#616161;                /* text_secondary */
  --disabled:#BDBDBD;             /* text_disabled */

  --line:#E0E0E0;                 /* divider */
  --shadow: 0 10px 24px rgba(26,26,26,.10);
  --radius: 16px;
  --max: 920px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height:1.75;
}

a{ color:var(--brand-primary); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--max), calc(100% - 32px));
  margin: 28px auto 56px;
}

/* ===== Header ===== */
.header{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.86));
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.brand{ display:flex; flex-direction:column; gap:2px; }
.brand .app{
  font-size: 18px;
  font-weight: 780;
  letter-spacing:.2px;
}
.brand .sub{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: rgba(222,242,241,.55); /* brand_secondary */
  color: var(--brand-primary);
}
.nav a:hover{
  background: rgba(222,242,241,.85);
  border-color: rgba(43,122,120,.35);
  transform: translateY(-1px);
}
.nav a .dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(254,168,47,.20);
}

/* ===== Main card ===== */
.main{
  margin-top: 18px;
  padding: 22px 18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

h1{
  margin: 2px 0 6px;
  font-size: 24px;
  letter-spacing:.2px;
}
.meta{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.section{
  margin: 22px 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.section:first-of-type{ border-top:none; padding-top:0; }

h2{
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--brand-primary);
}
h3{
  margin: 16px 0 8px;
  font-size: 15px;
  color: var(--text);
}

p{ margin: 10px 0; color: var(--text); }
ul,ol{ margin: 10px 0 10px 22px; color: var(--text); }
li{ margin: 6px 0; }

/* ===== Note / callout ===== */
.note{
  border-left: 4px solid var(--brand-primary-light);
  background: rgba(222,242,241,.55); /* brand_secondary */
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--text);
}

/* ===== Key-Value box ===== */
.kv{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:10px 14px;
  padding: 12px 12px;
  border:1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(244,246,246,.75), rgba(244,246,246,.55)); /* surface_variant */
}
.kv div:nth-child(odd){ color: var(--muted); }

/* ===== Table ===== */
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 12px;
  border:1px solid var(--line);
  background: rgba(244,246,246,.55);
}
.table th,.table td{
  padding: 10px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align:top;
}
.table th{
  width: 30%;
  text-align:left;
  color: var(--muted);
  font-weight: 700;
}
.table tr:last-child th,.table tr:last-child td{ border-bottom:none; }

/* ===== Footer ===== */
.footer{
  margin-top: 16px;
  padding: 14px 18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  color: var(--muted);
  font-size: 12px;
  box-shadow: 0 6px 18px rgba(26,26,26,.06);
}
.footer .links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 8px;
}

.badge{
  display:inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(43,122,120,.22);
  border-radius: 999px;
  background: rgba(222,242,241,.70);
  color: var(--brand-primary);
  font-size: 12px;
}

.code{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  background: rgba(244,246,246,.70);
  border:1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  overflow:auto;
}

.gp-badge-link{
  display:inline-flex;
  align-items:center;
  line-height:0;
  text-decoration:none;
}
.gp-badge-link img{
  display:block;
  width:min(150px,100%);
  height:auto;
}
.legal-note{
  margin:0;
  font-size:12px;
  color:var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 640px){
  .header{ flex-direction:column; align-items:flex-start; }
  .nav{ justify-content:flex-start; }
  .kv{ grid-template-columns: 1fr; }
  .table th{ width:auto; }
}

/* ===== Top Landing Page ===== */
body.lp-home{
  --brand:#2B7A78;
  --brand2:#3AAFA9;
  --mint:#DEF2F1;
  --accent:#FEA82F;
  --bg:#FAFAFA;
  --card:#FFFFFF;
  --ink:#1A1A1A;
  --line:#E0E0E0;
  --shadow: 0 10px 24px rgba(26,26,26,0.10);
  --radius: 18px;

  margin:0;
  padding:0;
  color:var(--ink);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,
    "Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic UI",sans-serif;
  line-height:1.5;
}

body.lp-home a{ color:var(--brand); text-decoration:none; }
body.lp-home a:hover{ opacity:.9; text-decoration:underline; }
body.lp-home img{ max-width:100%; height:auto; }
body.lp-home .container{
  width:auto;
  max-width:1100px;
  margin:0 auto;
  padding:28px;
}

body.lp-home header[role="banner"]{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(250,250,250,.72);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
body.lp-home .topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  max-width:1100px;
  margin:0 auto;
  padding:14px 28px;
}
body.lp-home .brandbox{ display:flex; align-items:center; gap:12px; }
body.lp-home .brand-logo{ border-radius:10px; }
body.lp-home nav[aria-label="主要"] a{ color:var(--ink); font-weight:700; }
body.lp-home nav[aria-label="主要"] a:hover{ color:var(--brand); }
body.lp-home .sep{ opacity:.35; margin:0 8px; }

body.lp-home .hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center;
  padding:18px 0 8px;
}
body.lp-home .badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(43,122,120,.10);
  color:var(--brand);
  border:1px solid rgba(43,122,120,.25);
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
body.lp-home .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(254,168,47,.20);
}
body.lp-home .title{
  font-size:clamp(28px,4.5vw,46px);
  line-height:1.12;
  margin:14px 0 8px;
}
body.lp-home .subtitle{
  font-size:clamp(15px,2.6vw,18px);
  color:var(--muted);
  margin:0 0 18px;
}

body.lp-home .cta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin:18px 0;
}
body.lp-home .btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:14px;
  border:1px solid transparent;
  background:var(--brand);
  color:white;
  font-weight:800;
  box-shadow:var(--shadow);
  transition:.18s;
}
body.lp-home .btn:hover{
  transform:translateY(-1px);
  text-decoration:none;
}
body.lp-home .btn.secondary{
  background:transparent;
  border-color:rgba(43,122,120,.25);
  color:var(--brand);
  box-shadow:none;
}
body.lp-home .btn.small{ padding:10px 14px; font-weight:700; }

body.lp-home .kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:28px 0;
}
body.lp-home .kpi{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:16px;
  text-align:center;
  box-shadow:0 6px 18px rgba(26,26,26,.06);
}
body.lp-home .kpi .n{ font-weight:900; font-size:18px; color:var(--brand); }
body.lp-home .kpi .note{
  color:var(--muted);
  font-size:13px;
  margin-top:6px;
  border:0;
  background:transparent;
  padding:0;
}

body.lp-home .hero-card{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  text-align:center;
}
body.lp-home .hero-card img{
  border-radius:20px;
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
  max-width:100%;
  height:auto;
}
body.lp-home .mock{
  aspect-ratio:9/19;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(43,122,120,.18), rgba(58,175,169,.10));
  border:1px solid rgba(43,122,120,.18);
  position:relative;
  overflow:hidden;
}
body.lp-home .mock::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(180deg,rgba(43,122,120,.10) 0 2px, transparent 2px 8px);
  opacity:.35;
}
body.lp-home .mock .bar{
  position:absolute;
  inset:14px;
  border-radius:18px;
  overflow:hidden;
  padding:12px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(0,0,0,.06);
}
body.lp-home .mini{ display:grid; gap:10px; }
body.lp-home .tile{
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:12px;
  background:linear-gradient(180deg, rgba(244,246,246,.85), rgba(244,246,246,.55));
}
body.lp-home .tile .t{ font-weight:800; }
body.lp-home .tile .s{ color:var(--muted); font-size:12px; margin-top:2px; }
body.lp-home .barline{ display:flex; gap:10px; align-items:center; margin-top:10px; }
body.lp-home .pill{
  height:10px;
  border-radius:999px;
  flex:1;
  background:rgba(43,122,120,.14);
  overflow:hidden;
  border:1px solid rgba(43,122,120,.18);
}
body.lp-home .pill > span{
  display:block;
  height:100%;
  width:66%;
  background:linear-gradient(90deg, var(--brand), var(--brand2));
}

body.lp-home .grid{ display:grid; gap:18px; }
body.lp-home .section{
  margin:0;
  padding:40px 0;
  border-top:0;
}
body.lp-home .section h2{
  font-size:26px;
  margin:0 0 10px;
  color:var(--brand);
}
body.lp-home .note{
  color:var(--muted);
  font-size:13px;
  border:0;
  background:transparent;
  padding:0;
  border-radius:0;
}

body.lp-home .features{ grid-template-columns:repeat(2,1fr); }
body.lp-home .features-grid{ margin-top:12px; }
body.lp-home .feature{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 6px 18px rgba(26,26,26,.06);
}
body.lp-home .feature h3{ margin:.2rem 0 .6rem; font-size:18px; }
body.lp-home .feature-offset{ margin-top:12px; }
body.lp-home .tag{
  display:inline-block;
  background:rgba(222,242,241,.70);
  border:1px solid rgba(43,122,120,.20);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  margin:6px 6px 0 0;
  color:var(--brand);
  font-weight:700;
}
/* Smartphone frame component for article.feature */
body.lp-home article.feature .feature-phone{
  margin:12px 0 14px;
  display:flex;
  justify-content:center;
}
body.lp-home article.feature .feature-phone-frame{
  width:min(230px, 100%);
  aspect-ratio:9 / 19;
  border-radius:32px;
  padding:10px;
  position:relative;
  background:linear-gradient(160deg, #2f2f2f 0%, #101010 55%, #2a2a2a 100%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:
    0 20px 34px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.35);
}
body.lp-home article.feature .feature-phone-frame::before{
  content:"";
  position:absolute;
  left:50%;
  top:8px;
  transform:translateX(-50%);
  width:34%;
  height:10px;
  border-radius:999px;
  background:#070707;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
body.lp-home article.feature .feature-phone-screen{
  width:100%;
  height:100%;
  border-radius:24px;
  overflow:hidden;
  background:#f3f5f6;
  border:1px solid rgba(255,255,255,.28);
}
body.lp-home article.feature .feature-phone-screen img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
body.lp-home article.feature .feature-phone-caption{
  margin:8px 0 0;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
body.lp-home .insight-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

body.lp-home .stepper{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:10px;
}
body.lp-home .step{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 6px 18px rgba(26,26,26,.06);
}
body.lp-home .num{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(254,168,47,.16);
  color:#8a5200;
  border:1px solid rgba(254,168,47,.35);
  padding:4px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
}

body.lp-home .pricing{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
body.lp-home .plan{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  padding:22px;
  position:relative;
  box-shadow:0 6px 18px rgba(26,26,26,.06);
}
body.lp-home .plan.featured{
  outline:2px solid rgba(43,122,120,.35);
  box-shadow:0 12px 26px rgba(43,122,120,.10);
}
body.lp-home .price{ font-size:34px; font-weight:900; margin:.4rem 0; }
body.lp-home .list{ list-style:none; padding:0; margin:10px 0; }
body.lp-home .list li{ display:flex; gap:10px; margin:8px 0; color:var(--ink); }
body.lp-home .check{
  width:18px;
  height:18px;
  border:2px solid #43A047;
  border-radius:5px;
  display:inline-grid;
  place-items:center;
  font-weight:900;
  color:#43A047;
  flex:0 0 auto;
}

body.lp-home .faq details{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  margin:8px 0;
  padding:12px;
  box-shadow:0 6px 18px rgba(26,26,26,.05);
}
body.lp-home .faq summary{ cursor:pointer; font-weight:900; color:var(--brand); }
body.lp-home .faq details > div{ margin-top:10px; color:var(--muted); }

body.lp-home .store-badge{
  display:grid;
  gap:18px;
  justify-items:start;
  border:1px solid rgba(43,122,120,.18);
  background:rgba(255,255,255,.86);
  padding:12px 16px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(26,26,26,.06);
}
body.lp-home .store-badge .gp-badge-link img{ width:min(150px,100%); }
body.lp-home .store-title{ font-weight:900; color:var(--brand); }

body.lp-home .footer{
  border:none;
  border-top:1px solid rgba(0,0,0,.08);
  color:var(--muted);
  padding:24px 0;
  margin-top:20px;
  background:transparent;
  box-shadow:none;
  border-radius:0;
}
body.lp-home .footer-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
body.lp-home .footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

@media (max-width: 960px){
  body.lp-home .hero{ grid-template-columns:1fr; }
  body.lp-home .features{ grid-template-columns:1fr 1fr; }
  body.lp-home .kpis{ grid-template-columns:1fr 1fr; }
  body.lp-home .pricing{ grid-template-columns:1fr; }
  body.lp-home .stepper{ grid-template-columns:1fr; }
}

@media (max-width: 520px){
  body.lp-home .features{ grid-template-columns:1fr; }
  body.lp-home .topbar{ padding:12px 18px; }
  body.lp-home .container{ padding:18px; }
}
