:root {
    --primary: #2C5E7E;
    --primary-dark: #1F4356;
    --primary-light: #D9E7F0;
    --accent: #BE6E48;
    --success: #4F8377;
    --warning: #C2904E;
    --danger: #B5563C;
    --paper: #FFFDF9;
    --paper-warm: #F7F2EA;
    --ink: #23201C;
    --ink-soft: #57534C;
    --line: #E7DFD3;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(35,32,28,0.04), 0 12px 32px -12px rgba(44,94,126,0.18);
    --maxw: 1180px;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: Inter, "Noto Sans SC", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
  section { padding: 96px 0; }
  @media (max-width: 720px) { section { padding: 64px 0; } .wrap { padding: 0 20px; } }

  /* ---------- Header ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,253,249,0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  header .inner {
    max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--ink); }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  nav.mainnav { display: flex; align-items: center; gap: 28px; }
  nav.mainnav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 15px; }
  nav.mainnav a:hover { color: var(--primary); }
  .header-right { display: flex; align-items: center; gap: 16px; }
  .langsel { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); text-decoration: none; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
    text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
  }
  .btn-primary { background: var(--primary); color: #fff; }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
  .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
  @media (max-width: 860px) { nav.mainnav { display: none; } }

  /* ---------- Hero ---------- */
  .hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
  .badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-light); color: var(--primary-dark);
    padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
    margin-bottom: 22px;
  }
  .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  h1 {
    font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; font-weight: 800;
    margin: 0 0 20px; letter-spacing: -0.01em;
  }
  h1 .accent-text { color: var(--primary); }
  .hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 32px; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
  .store-badge { display: flex; align-items: center; gap: 10px; padding: 11px 20px 11px 16px; }
  .store-badge svg { width: 22px; height: 22px; }
  .trust-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--ink-soft); font-size: 13.5px; }
  .trust-row .item { display: flex; align-items: center; gap: 6px; }

  .hero-visual { position: relative; display: flex; justify-content: center; }
  .phone-frame {
    width: min(320px, 78vw); border-radius: 42px; overflow: hidden;
    box-shadow: var(--shadow); border: 8px solid #1a1a1a; background: #1a1a1a;
  }
  .phone-frame img { border-radius: 34px; }
  .float-card {
    position: absolute; background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow); padding: 14px 16px; font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  }
  .float-card .ico { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
  .float-1 { top: 6%; left: -6%; }
  .float-1 .ico { background: var(--primary-light); }
  .float-2 { bottom: 10%; right: -8%; }
  .float-2 .ico { background: #FBEDE3; }
  @media (max-width: 640px) { .float-card { display: none; } }

  /* ---------- Stats ---------- */
  .stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-warm); }
  .stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 44px 28px; }
  @media (max-width: 700px) { .stats .wrap { grid-template-columns: repeat(2,1fr); } }
  .stat { text-align: center; }
  .stat .num { font-size: 30px; font-weight: 800; color: var(--primary); }
  .stat .label { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }

  /* ---------- Section headers ---------- */
  .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.5px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
  .section-head { max-width: 640px; margin: 0 0 52px; }
  .section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
  .section-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }
  .center { text-align: center; margin-left: auto; margin-right: auto; }

  /* ---------- Features ---------- */
  .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
  .feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px 26px; transition: transform .15s ease, box-shadow .15s ease;
  }
  .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .feature-icon {
    width: 46px; height: 46px; border-radius: 13px; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
  }
  .feature-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
  .feature-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

  /* ---------- How it works ---------- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  @media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
  .step .num-circle {
    width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 16px;
  }
  .step h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
  .step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

  .showcase { background: var(--paper-warm); border-radius: var(--radius-lg); padding: 48px; margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  @media (max-width: 860px) { .showcase { grid-template-columns: 1fr; padding: 28px; } }
  .showcase img { border-radius: var(--radius-md); border: 1px solid var(--line); }
  .showcase-text h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
  .showcase-text p { color: var(--ink-soft); font-size: 15.5px; }
  .check-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .check-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
  .check-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--success); }

  /* ---------- Pricing ---------- */
  .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 760px; margin: 0 auto; }
  @media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
  .price-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; position: relative; }
  .price-card.featured { border-color: var(--primary); box-shadow: var(--shadow); }
  .price-card .tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; }
  .price-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
  .price-card .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
  .price-card .amount { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
  .price-card .amount span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
  .price-card .note { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
  .price-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
  .price-list li { display: flex; gap: 10px; font-size: 14.5px; }
  .price-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--success); }
  .price-card .btn { width: 100%; }
  .pricing-fineprint { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-top: 26px; }

  /* ---------- FAQ ---------- */
  .faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
  details.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 4px 22px; }
  details.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  details.faq-item summary::-webkit-details-marker { display: none; }
  details.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--primary); flex-shrink: 0; transition: transform .15s; }
  details.faq-item[open] summary::after { transform: rotate(45deg); }
  details.faq-item p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 20px; padding-top: 0; }

  /* ---------- CTA banner ---------- */
  .cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg); padding: 60px 48px; text-align: center; color: #fff;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
  }
  .cta-banner h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; font-weight: 800; }
  .cta-banner p { margin: 0; opacity: 0.88; max-width: 46ch; }
  .cta-banner .btn-primary { background: #fff; color: var(--primary-dark); }
  .cta-banner .btn-primary:hover { background: #F0EAE0; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
  .footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
  .footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
  .footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
  .footer-links .col { display: flex; flex-direction: column; gap: 10px; }
  .footer-links .col-title { font-weight: 700; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .footer-links a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; }
  .footer-links a:hover { color: var(--primary); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
  .footer-lang { display: flex; gap: 14px; }

  .disclaimer-strip { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .disclaimer-strip .wrap { padding: 18px 28px; font-size: 13px; color: var(--ink-soft); text-align: center; }
