  :root {
    color-scheme: light;
    --bg: #ffffff; --panel: #ffffff; --line: #dce4ee; --text: #101c2e; --sub: #526174; --soft: #f5f7fa; --cta: #f57c00; --cta-hover: #dd6800;
    --ai: #0b4da2; --ai-bg: #eaf1fa; --on-ai: #ffffff; --ok: #1f9d55; --warn-bg: #fdf2dc; --warn-bd: #e3b05b; --warn-fg: #7a4a06;
  }
  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html { scroll-behavior: smooth; }
  body { margin: 0; font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; font-size: 16px; }
  a { color: var(--ai); }
  .wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
  header.top { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
  header.top .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .plate { display: inline-flex; align-items: center; background: #0b4da2; color: #fff; border-radius: 8px; padding: 5px 12px; gap: 10px; text-decoration: none; }
  .plate b { font-size: 20px; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
  .plate small { font-size: 9px; line-height: 1.15; border-left: 1px solid #ffffff88; padding-left: 9px; letter-spacing: .08em; font-weight: 700; }
  header.top .sp { flex: 1; }
  .btn { display: inline-block; border-radius: 12px; padding: 12px 22px; font-weight: 800; text-decoration: none; border: 2px solid var(--ai); color: var(--ai); background: transparent; font-size: 16px; text-align: center; }
  .btn.pri { background: var(--ai); color: var(--on-ai); box-shadow: 0 3px 0 rgba(0,0,0,.18); }
  .btn.sm { padding: 7px 14px; font-size: 14px; border-radius: 10px; white-space: nowrap; }
  .btn.big { padding: 16px 30px; font-size: 19px; }
  .btn.reg { background: #e8801a; border-color: #e8801a; color: #fff; font-size: clamp(22px, 6vw, 30px); padding: 18px 34px; border-radius: 16px; box-shadow: 0 6px 0 #b35f0d, 0 12px 26px rgba(0,0,0,.25); display: inline-flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.3; }
  .btn.reg small { font-size: .52em; font-weight: 800; opacity: .96; }
  @media (prefers-reduced-motion: no-preference) { .btn.reg { animation: regpulse 2.4s ease-in-out infinite; } }
  @keyframes regpulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
  .regbar { display: none; }
  .price-hero .tax2 { flex-basis: 100%; font-size: clamp(14px, 3.8vw, 17px); font-weight: 900; }
  .cta { display: flex; gap: 12px; flex-wrap: wrap; }
  .badge { display: inline-block; background: var(--ai-bg); color: var(--ai); border-radius: 99px; padding: 3px 14px; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
  .badge.free { background: #d9822b; color: #fff; font-size: clamp(16px, 4.4vw, 22px); padding: 6px 20px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
  section { padding: 38px 0; }
  h2 { font-size: clamp(24px, 5.4vw, 36px); line-height: 1.35; margin: 0 0 10px; font-weight: 900; text-align: center; }
  h2 em, .hero h1 em { font-style: normal; color: var(--ai); }
  .lead { text-align: center; color: var(--sub); margin: 0 auto 24px; max-width: 640px; }

  /* 最初の画面 */
  .hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 40px 0 28px; }
  .hero h1 { font-size: clamp(34px, 7.6vw, 56px); line-height: 1.25; margin: 10px 0 12px; font-weight: 900; text-wrap: balance; }
  .hero p.sub { color: var(--sub); font-size: clamp(16px, 4vw, 20px); margin: 0 0 20px; font-weight: 700; }
  .price-hero { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; background: var(--ai); color: var(--on-ai); border-radius: 18px; padding: 10px 24px 12px; margin: 0 0 22px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
  .price-hero .lbl { font-weight: 900; font-size: clamp(15px, 3.8vw, 18px); }
  .price-hero .num { font-weight: 900; font-size: clamp(44px, 12vw, 70px); line-height: 1.05; letter-spacing: -.01em; }
  .price-hero .num small { font-size: .42em; margin-left: 2px; }
  .price-hero .from { font-weight: 900; font-size: clamp(18px, 5vw, 26px); }
  .price-hero .tax { flex-basis: 100%; font-size: 13px; opacity: .92; font-weight: 700; }
  .phone { width: min(290px, 74vw); margin: 0 auto; border: 9px solid #1d2226; border-radius: 38px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
  .phone img { display: block; width: 100%; height: auto; }

  /* 建設ならではの機能 */
  .fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
  .fcard { background: var(--panel); border: 2px solid var(--line); border-radius: 18px; padding: 16px 16px 14px; }
  .fcard .ic { font-size: 34px; line-height: 1; }
  .fcard h3 { margin: 8px 0 4px; font-size: clamp(18px, 4.6vw, 22px); line-height: 1.35; }
  .fcard p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.65; }
  .fcard.key { border-color: var(--ai); }

  .feat-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .feat-ai { background: linear-gradient(180deg, var(--ai-bg), var(--bg)); }
  .feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
  .feat-row.rev { grid-template-columns: 1.5fr 1fr; }
  .feat-img img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0,0,0,.16); background: #fff; }
  .feat-txt h2 { text-align: left; margin: 8px 0 16px; }
  .tag { display: inline-block; background: #d9822b; color: #fff; font-weight: 900; font-size: 14px; border-radius: 99px; padding: 4px 16px; }
  .tag.blue { background: var(--ai); color: var(--on-ai); }
  .big3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .big3 li { background: var(--panel); border: 2px solid var(--ai); border-radius: 16px; padding: 12px 18px; }
  .big3 li b { display: block; font-size: clamp(17px, 4.4vw, 21px); line-height: 1.4; }
  .big3 li span { display: block; color: var(--sub); font-size: 14.5px; margin-top: 2px; }
  .big3.small li { border-width: 1px; border-color: var(--line); padding: 11px 16px; }
  .big3.small li b { font-size: 17px; }
  .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 0 auto 8px; }
  .tcard { background: var(--panel); border: 2px solid var(--ai); border-radius: 20px; padding: 14px 8px 18px; text-align: center; position: relative; }
  .tcard .n { position: absolute; left: 10px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--ai); color: var(--on-ai); font-weight: 900; line-height: 30px; }
  .tcard .ic { font-size: clamp(38px, 10vw, 56px); line-height: 1.3; margin-top: 8px; }
  .tcard h3 { margin: 4px 0 0; font-size: clamp(15px, 4.2vw, 24px); word-break: keep-all; }      /* 「押す」が、途中で折れないように */

  /* 料金・登録 */
  .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto 14px; }
  .plan { background: var(--panel); border: 2px solid var(--line); border-radius: 20px; padding: 22px 20px; text-align: center; }
  .plan.main { border-color: var(--ai); }
  .plan h3 { margin: 0 0 6px; font-size: 20px; }
  .plan .pr { font-size: clamp(36px, 9vw, 48px); font-weight: 900; color: var(--ai); line-height: 1.1; }
  .plan .pr small { font-size: 15px; color: var(--sub); font-weight: 700; }
  .plan p { margin: 8px 0 0; color: var(--sub); font-size: 15px; }
  .plan-note { text-align: center; color: var(--sub); font-size: 14.5px; max-width: 760px; margin: 0 auto; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
  .step { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; counter-increment: s; }
  .step::before { content: counter(s); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--ai); color: var(--on-ai); align-items: center; justify-content: center; font-weight: 900; margin-bottom: 6px; }
  .step h3 { margin: 0 0 4px; font-size: 18px; }
  .step p { margin: 0; color: var(--sub); font-size: 15px; }
  .qr { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; max-width: 720px; margin: 0 auto; }
  .qr img { width: 168px; height: 168px; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
  .qr .txt { max-width: 380px; }
  .qr .txt h3 { margin: 0 0 6px; font-size: 20px; }
  .qr .txt p { margin: 0 0 12px; color: var(--sub); font-size: 15px; }
  .notice { background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--warn-fg); border-radius: 14px; padding: 16px 18px; max-width: 700px; margin: 0 auto; font-size: 14.5px; }
  .notice ul { margin: 6px 0 0; padding-left: 1.3em; }
  details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 0 auto 8px; max-width: 700px; }
  details.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary::after { content: '＋'; color: var(--sub); }
  details.faq[open] summary::after { content: '－'; }
  details.faq div { padding: 0 16px 14px; color: var(--sub); font-size: 15px; }
  .form { max-width: 520px; margin: 0 auto; text-align: left; position: relative; }
  .form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
  .form input[type=text], .form input[type=email], .form textarea { display: block; width: 100%; margin-top: 5px; padding: 12px; font: inherit; font-weight: 400; color: var(--text); background: var(--panel); border: 2px solid var(--line); border-radius: 10px; }
  .form .msg { padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14.5px; }
  .form .msg.ok { background: #e1f5e8; color: #17663a; border: 1px solid #8fd2a8; }
  .form .msg.err { background: #fde7e3; color: #a02f1a; border: 1px solid #e49a8a; }
  footer { padding: 30px 0 50px; text-align: center; color: var(--sub); font-size: 13.5px; border-top: 1px solid var(--line); margin-top: 20px; }
  footer a { color: var(--sub); }
  @media (max-width: 760px) {
    .plans { grid-template-columns: 1fr; }
    .hero, .feat-row, .feat-row.rev { grid-template-columns: 1fr; }
    .hero { text-align: center; padding-top: 26px; }
    .hero .cta { justify-content: center; }
    .hero-img { order: 2; }
    .feat-txt, .feat-txt h2 { text-align: center; }
    .big3 li { text-align: left; }
  }
  @media (max-width: 760px) {
    .regbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.12); }
    .regbar a { display: block; background: #e8801a; color: #fff; text-align: center; font-weight: 900; font-size: 20px; border-radius: 14px; padding: 13px 10px; text-decoration: none; box-shadow: 0 4px 0 #b35f0d; }
    body { padding-bottom: 84px; }
  }
  @media (max-width: 520px) {
    .plate small { display: none; } .plate b { font-size: 18px; }
    .fgrid { grid-template-columns: 1fr; }
    .qr { padding: 18px; }
    header.top .btn.sm { padding: 6px 10px; font-size: 13px; }
  }

  /* 詳細ページ・トップの入り口カード(2026-10-17) */
  a.fcard { display: block; text-decoration: none; color: inherit; }
  a.fcard:hover { border-color: var(--ai); }
  .fcard .more { display: block; margin-top: 8px; color: var(--ai); font-weight: 800; font-size: 14.5px; }
  .crumb { padding: 14px 0 0; font-size: 14px; }
  .crumb a { text-decoration: none; font-weight: 700; }
  .page-h { padding: 14px 0 4px; text-align: center; }
  .page-h h1 { font-size: clamp(28px, 6.4vw, 44px); line-height: 1.3; margin: 8px 0 8px; font-weight: 900; text-wrap: balance; }
  .page-h h1 em { font-style: normal; color: var(--ai); }
  .page-h .lead { margin-bottom: 8px; }
  .dsec { padding: 26px 0; border-top: 1px solid var(--line); }
  .dsec:first-of-type { border-top: 0; }
  .dsec h2 { text-align: left; font-size: clamp(21px, 4.8vw, 28px); margin: 0 0 10px; }
  .dsec p { color: var(--sub); margin: 0 0 12px; max-width: 760px; }
  .dsec .tag { margin-bottom: 8px; }
  .dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 8px; }
  .dcard { background: var(--panel); border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; }
  .dcard h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.4; }
  .dcard p { margin: 0; font-size: 15px; line-height: 1.65; }
  .dlist { margin: 8px 0 0; padding-left: 1.3em; color: var(--sub); max-width: 760px; }
  .dlist li { margin-bottom: 6px; }
  .dimg { max-width: 560px; margin: 14px auto 4px; }
  .dimg img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.14); background: #fff; }
  .dimg.phone-s { max-width: 260px; }
  .dimg.phone-s img { aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
  .cta-box { background: var(--panel); border: 2px solid var(--ai); border-radius: 20px; padding: 22px 18px; text-align: center; margin: 26px 0 8px; }
  .cta-box h2 { text-align: center; margin-bottom: 6px; }
  .cta-box p { color: var(--sub); margin: 0 0 14px; }
  .nextlinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 30px; }
  .nextlinks a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; font-weight: 800; }
  .nextlinks a small { display: block; color: var(--sub); font-weight: 400; font-size: 13.5px; }
  .fgrid.six { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
  @media (max-width: 760px) { .fgrid.six { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .fgrid.six { grid-template-columns: 1fr; } }
  @media (max-width: 380px) { header.top .wrap { gap: 6px; padding-left: 12px; padding-right: 12px; } .plate { padding: 5px 9px; } .plate b { font-size: 16px; } header.top .btn.sm { padding: 6px 8px; } }

/* 2026-11-06 無料条件・料金表・手順(トップと料金ページで共通) */
.trialbox { margin: 18px 0 0; padding: 16px 18px; background: var(--ai-bg); border: 2px solid var(--ai); border-radius: 16px; text-align: left; max-width: 34em; color: var(--text); }
.trialbox h3 { margin: 0 0 8px; font-size: 18px; color: var(--ai); }
.trialbox ul { list-style: none; margin: 0; padding: 0; }
.trialbox li { position: relative; padding: 4px 0 4px 26px; font-size: 16px; line-height: 1.6; }
.trialbox li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.ptable { width: 100%; max-width: 560px; margin: 0 auto 14px; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 17px; }
.ptable th, .ptable td { padding: 13px 16px; text-align: left; border-top: 1px solid var(--line); line-height: 1.5; }
.ptable thead th { background: var(--ai); color: var(--on-ai); border-top: 0; font-size: 15px; }
.ptable tbody th { font-weight: 700; }
.ptable td { font-weight: 800; color: var(--ai); }
.pnotes { max-width: 560px; margin: 0 auto 14px; padding-left: 1.3em; color: var(--sub); font-size: 15px; line-height: 1.7; }
.steps-note { max-width: 40em; margin: 14px auto 0; text-align: center; font-size: 16px; line-height: 1.7; }
.start-steps { padding-top: 32px; }
@media (max-width: 640px) {
  .trialbox { padding: 14px 14px; }
  .trialbox li { font-size: 16px; }
  .ptable { font-size: 16px; } .ptable th, .ptable td { padding: 12px 12px; }
  .steps-note { text-align: left; }
}

/* 2026-11-06 配色: 白地・濃紺の文字・青の罫線・オレンジの登録ボタン(影とグラデーションは控えめに) */
header.top .btn.pri, .btn.reg, .regbar a, .cta-box .btn.reg { background: var(--cta); border-color: var(--cta); color: #fff; box-shadow: none; }
header.top .btn.pri:hover, .btn.reg:hover, .regbar a:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn.reg, .regbar a { text-shadow: none; }
.regbar { box-shadow: 0 -1px 0 var(--line); }
.badge.free, .tag { background: var(--ai-bg); color: var(--ai); box-shadow: none; }
.price-hero { box-shadow: none; }
.feat-ai { background: var(--soft); }
.phone, .feat-img img, .dimg img { box-shadow: 0 2px 8px #101c2e14; }
.trialbox { background: var(--soft); border: 2px solid var(--ai); }
.cta-box { border: 2px solid var(--ai); }
