  :root {
    /* 名刺の色に合わせる：ブランド青 #1375bb ／ 墨 #221f1f ／ グレー #d1d2d4 */
    --paper: #ffffff;      /* 地 */
    --sheet: #ffffff;      /* 表・フォームの地 */
    --ink: #221f1f;        /* 本文（名刺の文字色） */
    --ink-sub: #55585d;    /* 補足 */
    --frame: #3d4146;      /* 太罫（墨より少し軽く） */
    --rule: #a9adb2;       /* 罫線（中） */
    --rule-thin: #d1d2d4;  /* 罫線（細）＝名刺のグレー */
    --accent: #1375bb;     /* ブランド青。面積は小さく使う */
    --accent-dark: #0f5f98;
    --accent-pale: #eef4fa; /* 表の見出し地。青をごく薄く */
    --mark: #fff6d6;       /* プレースホルダー用 */
    --alert: #8a2b1d;      /* 入力エラー文言のみ */
    --w: 1080px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 18px;
    line-height: 1.85;
    letter-spacing: .02em;
    -webkit-text-size-adjust: 100%;
  }
  h1, h2, h3 {
    font-family: "BIZ UDPMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .04em;
    margin: 0;
  }
  p { margin: 0 0 1em; }
  a { color: var(--accent); text-underline-offset: 3px; }
  a:hover { text-decoration-thickness: 2px; }
  .wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .todo {
    background: var(--mark);
    border: 1px dashed #b39b4a;
    color: var(--ink);
    padding: 0 .3em;
    font-size: .92em;
    font-weight: 400;
  }
  .tax { font-size: 14px; font-weight: 400; color: var(--ink-sub); white-space: nowrap; }

  /* ---------- ヘッダー ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 10;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-thin);
  }
  .site-header .wrap {
    max-width: 1200px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 68px;
  }
  .logo {
    text-decoration: none; color: var(--ink);
    display: flex; align-items: center; gap: .9em;
  }
  .logo-mark { height: 22px; width: auto; display: block; }
  .logo span { font-size: 14px; color: var(--ink-sub); letter-spacing: .08em; font-weight: 700; }
  .gnav { display: flex; align-items: center; gap: 4px; }
  .gnav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 9px; }
  .gnav a:hover { text-decoration: underline; }
  .logo, .gnav a { white-space: nowrap; }
  .header-right { display: flex; align-items: center; gap: 8px; }
  .gnav .to-contact { background: var(--accent); color: #fff; font-weight: 700; padding: 10px 16px; margin-left: 6px; }
  .gnav .to-contact:hover { background: var(--accent-dark); text-decoration: none; }
  .menu-toggle { display: none; }

  /* ---------- 共通セクション ---------- */
  section { padding: 72px 0; border-bottom: 1px solid var(--rule-thin); }
  .sec-head {
    display: grid; grid-template-columns: 3.2em 1fr; align-items: baseline;
    border-bottom: 2px solid var(--frame); padding-bottom: 12px; margin-bottom: 32px;
  }
  .sec-head .no { font-size: 20px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
  .sec-head h2 { font-size: 30px; }
  .lead { max-width: 40em; }
  .note { font-size: 15px; color: var(--ink-sub); margin: 10px 0 0; }

  /* ---------- ファーストビュー ---------- */
  /* ---------- ヒーロー（画面いっぱいのイメージ＋1メッセージ） ---------- */
  .hero { position: relative; min-height: calc(86vh - 69px); min-height: calc(86svh - 69px); display: flex; align-items: center; overflow: hidden; padding: 0; border-bottom: 0; background: #eef7fc; }
  .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
  .hero-inner { position: relative; width: 100%; padding-bottom: 8vh; }
  .hero-msg { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.5; letter-spacing: .06em; color: var(--ink); max-width: 14em; }
  @media (prefers-reduced-motion: no-preference) {
    .hero-msg { animation: hero-in 1.4s cubic-bezier(.22,.61,.36,1) both .15s; }
    @keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  }
  .fv { padding: 40px 0 72px; border-top: 1px solid var(--rule-thin); }
  .fv .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
  .fv .sub { font-size: 19px; max-width: 30em; }
  .fv .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
  .btn {
    display: inline-block; background: var(--accent); color: #fff;
    text-decoration: none; font-weight: 700; font-size: 18px;
    padding: 14px 28px; border: 2px solid var(--accent);
  }
  .btn:hover { background: var(--accent-dark); }
  .textlink { font-weight: 700; }

  /* ---------- 困りごと対応表 ---------- */
  .match { background: var(--sheet); }
  .match-table { width: 100%; border-collapse: collapse; border: 2px solid var(--frame); background: var(--sheet); }
  .match-table th, .match-table td { border: 1px solid var(--rule-thin); padding: 16px 18px; text-align: left; vertical-align: middle; }
  .match-table thead th { background: var(--accent-pale); color: var(--ink); font-size: 15px; border-bottom: 1px solid var(--rule); }
  .match-table .arrow { width: 3em; text-align: center; color: var(--accent); font-weight: 700; padding: 0; }
  .match-table .to { font-weight: 700; }
  .match-table .to a { color: var(--ink); }
  .match-table .to .n { color: var(--accent); margin-right: .5em; }

  /* ---------- サービス ---------- */
  .scope { border: 1px solid var(--rule); background: var(--sheet); padding: 10px 16px; font-weight: 700; margin: 0 0 20px; display: inline-block; }
  .price-table { width: 100%; border-collapse: collapse; background: var(--sheet); border: 2px solid var(--frame); }
  .price-table th, .price-table td { border: 1px solid var(--rule-thin); padding: 16px 18px; text-align: left; vertical-align: top; }
  .price-table thead th { background: var(--accent-pale); color: var(--ink); font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--rule); }
  .price-table .svc { font-weight: 700; font-size: 19px; }
  .price-table .svc a { color: var(--ink); }
  .price-table .svc .n { color: var(--accent); margin-right: .4em; }
  .price { font-size: 20px; font-weight: 700; white-space: nowrap; }
  .price-table thead th:first-child { width: 17em; }
  .price-table .svc a { white-space: nowrap; }
  .price .unit { font-size: 15px; font-weight: 400; }
  .price .tax { display: block; }
  .conditions { margin-top: 14px; border: 1px solid var(--rule); background: var(--sheet); padding: 14px 18px; font-size: 16px; }
  .conditions p { margin: 0; }
  .conditions p + p { margin-top: 6px; }

  .diff {
    margin: 56px 0 0; padding: 18px 20px; border-top: 2px solid var(--frame); border-bottom: 2px solid var(--frame);
    font-size: 19px; font-weight: 700;
  }
  .diff span { color: var(--accent); }
  .svc-detail { margin-top: 24px; }
  .svc-item { display: grid; grid-template-columns: 15em 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--rule); }
  .svc-item:first-child { border-top: 0; }
  .svc-item:last-child { border-bottom: 1px solid var(--rule); }
  .svc-item h3 { font-size: 23px; }
  .svc-item .num { display: block; font-size: 15px; color: var(--accent); margin-bottom: 4px; font-family: "BIZ UDPGothic", sans-serif; font-weight: 700; }
  .svc-item .price { margin-top: 10px; }
  .svc-item ul { margin: 0 0 1em; padding-left: 1.2em; }
  .svc-item li { margin-bottom: .3em; }
  .svc-item dl { margin: 0; display: grid; grid-template-columns: 11.5em 1fr; border-top: 1px solid var(--rule-thin); }
  .svc-item dt, .svc-item dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule-thin); }
  .svc-item dt { font-weight: 700; padding-right: 1em; }
  .tag-beta { display: inline-block; font-size: 14px; border: 1px solid var(--rule); padding: 0 .5em; margin-left: .4em; vertical-align: 3px; font-family: "BIZ UDPGothic", sans-serif; font-weight: 700; }
  .box-notice { background: var(--sheet); border: 1px solid var(--rule); padding: 14px 18px; font-size: 16px; margin-top: 12px; }
  .box-notice strong { display: block; margin-bottom: 4px; }
  .box-notice p { margin: 0; }
  .box-notice p + p { margin-top: 6px; }
  .dev-products { margin-top: 56px; }
  .dev-title { font-size: 23px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
  .dev-products > .note { margin: 10px 0 0; }
  .dev-product { margin-top: 24px; border: 1px solid var(--rule); background: #fff; padding: 24px 24px 20px; }
  .dev-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; font-size: 18px; }
  .dev-logo .shiwake-logo { height: 44px; width: auto; display: block; }
  .dev-logo .achat-logo { height: 38px; width: auto; display: block; }
  .dev-logo .dev-name { font-size: 16px; color: var(--ink-sub); font-family: "BIZ UDPGothic", sans-serif; }
  .dev-logo .tag-beta { margin-left: 0; }
  /* AMIMI：公式サイトのロゴ表記（マーク＋AMIMI）をそのまま再現 */
  .amimi-brand { display: flex; align-items: center; gap: 10px; font-family: system-ui, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .04em; color: rgb(23, 32, 31); }
  .amimi-brand img { width: 34px; height: 34px; display: block; }
  .dev-product .sep { color: var(--rule); margin: 0 .3em; }
  .dev-product dl { margin: 0; display: grid; grid-template-columns: 7em 1fr; border-top: 1px solid var(--rule-thin); }
  .dev-product dt, .dev-product dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule-thin); }
  .dev-product dt { font-weight: 700; }
  .dev-product .dev-link { margin: 14px 0 0; font-weight: 700; }
  .svc-tag { display: inline-block; margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); padding: 0 .6em; }
  .ai-examples { margin: 8px 0 8px; padding-left: 1.2em; }
  .ai-examples li { margin-bottom: .2em; }
  .dev-lead { margin: 12px 0 0; }
  .dev-more { margin-top: 4px; border-top: 1px solid var(--rule-thin); }
  .dev-more summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--accent); }
  .dev-more summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .dev-more[open] summary { margin-bottom: 4px; }
  .precedence { margin-top: 24px; font-weight: 700; font-size: 16px; }

  /* ---------- 進め方 ---------- */
  .flow-figure { margin: 0 0 32px; }
  .flow-figure svg { display: block; width: 100%; height: auto; }
  .flow-figure .v { display: none; max-width: 360px; }
  .flow-figure text { font-family: "BIZ UDPGothic", sans-serif; fill: var(--ink); }
  .flow-figure .fig-no { font-family: "BIZ UDPMincho", serif; font-weight: 700; fill: var(--accent); }
  .flow-figure .fig-title { font-weight: 700; }
  .flow-figure .fig-sub { fill: var(--ink-sub); }
  .flow-figure .box { fill: var(--sheet); stroke: var(--frame); stroke-width: 2; }
  .flow-figure .line { stroke: var(--frame); stroke-width: 2; fill: none; }
  .flow-figure .head { fill: var(--frame); }
  .flow-list { margin: 0; display: grid; grid-template-columns: 12em 1fr; border-top: 2px solid var(--frame); }
  .flow-list dt, .flow-list dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--rule-thin); }
  .flow-list dt { font-weight: 700; }
  .flow-list dt .n { color: var(--accent); margin-right: .5em; }

  /* ---------- FAQ ---------- */
  .faq { border-top: 2px solid var(--frame); }
  .faq details { border-bottom: 1px solid var(--rule-thin); }
  .faq summary { cursor: pointer; list-style: none; padding: 20px 2.5em 20px 0; position: relative; font-weight: 700; display: grid; grid-template-columns: 2em 1fr; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "＋"; position: absolute; right: 4px; top: 20px; color: var(--accent); font-weight: 700; }
  .faq details[open] summary::after { content: "－"; }
  .faq .q, .faq .a { font-family: "BIZ UDPMincho", serif; color: var(--accent); font-weight: 700; }
  .faq .ans { display: grid; grid-template-columns: 2em 1fr; padding: 0 0 22px; }
  .faq .ans p { margin: 0; }

  /* ---------- 代表・理念 ---------- */
  /* 代表あいさつと企業理念は横に並べず、上下に配置 */
  .about-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
  .greeting p { max-width: 36em; }
  .philosophy { max-width: 34em; }
  .about-grid h3 { font-size: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
  .greeting { display: grid; grid-template-columns: 11em 1fr; gap: 28px; align-items: start; }
  .photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--rule-thin); background: var(--accent-pale); }
  .philosophy { font-family: "BIZ UDPMincho", serif; font-size: 20px; line-height: 2; border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 0; }
  .sign { margin: 16px 0 0 calc(11em + 28px); }
  .sign b { font-family: "BIZ UDPMincho", serif; font-size: 20px; margin-left: .5em; }

  /* ---------- 会社概要 ---------- */
  .company { width: 100%; border-collapse: collapse; background: var(--sheet); border: 2px solid var(--frame); }
  .company th, .company td { border-bottom: 1px solid var(--rule-thin); padding: 16px 18px; text-align: left; vertical-align: top; }
  .company th { width: 11em; background: var(--accent-pale); border-right: 1px solid var(--rule-thin); }
  .company small { display: block; font-size: 14px; color: var(--ink-sub); }

  /* ---------- お問い合わせ ---------- */
  .contact { background: var(--sheet); }
  /* 問い合わせ：案内を上、フォームを下に配置 */
  .contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .contact-side > p { max-width: 40em; }
  .contact-side dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-thin); }
  .contact-side dl > div { padding: 16px 24px 18px 0; }
  .contact-side dl > div + div { padding-left: 24px; border-left: 1px solid var(--rule-thin); }
  /* LINE：ご返信・初回相談の下の行に、全幅のパネルとして置く */
  .contact-side dl > .line-row { grid-column: 1 / -1; padding: 20px 0 22px; border-left: 0; border-top: 1px solid var(--rule-thin); }
  .line-panel { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--accent-pale); border: 1px solid var(--rule-thin); padding: 22px 28px; margin-top: 4px; }
  .line-text p { margin: 0 0 14px; }
  .line-sent { display: block; }
  .line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
  .line-actions .line-add { padding: 0; }
  .line-id { font-weight: 700; letter-spacing: .04em; }
  .line-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 10px 8px; background: #fff; border: 1px solid var(--rule-thin); }
  .line-qr img { width: 112px; height: 112px; display: block; }
  .line-qr figcaption { font-size: 12px; color: var(--ink-sub); line-height: 1.4; }
  .contact-side dt { font-weight: 700; margin-bottom: 6px; }
  .contact-side dd { margin: 0; }
  form { border: 2px solid var(--frame); }
  .field { display: grid; grid-template-columns: 11em 1fr; border-bottom: 1px solid var(--rule-thin); }
  .field > label, .field > .label { background: var(--accent-pale); padding: 16px; font-weight: 700; border-right: 1px solid var(--rule-thin); }
  .req { display: inline-block; font-size: 13px; background: var(--ink); color: #fff; padding: 0 .4em; margin-left: .4em; vertical-align: 2px; font-weight: 700; white-space: nowrap; flex: none; align-self: center; }
  .field .input { padding: 12px 16px; }
  input[type=text], input[type=email], input[type=tel], textarea {
    width: 100%; font: inherit; font-size: 18px; color: var(--ink);
    border: 1px solid var(--rule); background: #fff; padding: 10px 12px; border-radius: 0;
  }
  input:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
  textarea { min-height: 9em; resize: vertical; }
  .radio-row { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 4px; }
  .radio-row label { display: flex; align-items: center; gap: 6px; }
  input[type=radio], input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; flex: none; }
  .consent { padding: 20px 16px; border-bottom: 1px solid var(--rule-thin); }
  .consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
  .consent label input { margin-top: 5px; }
  .consent .req-first { margin: 4px 0 0; }
  .nowrap-text { white-space: nowrap; }
  .consent p { font-size: 15px; color: var(--ink-sub); margin: 8px 0 0 32px; }
  .consent.is-error { background: #fbf1ee; }
  .field.is-error { background: #fbf1ee; }
  .field.is-error input, .field.is-error textarea { border-color: var(--alert); }
  .field-err { margin: 6px 0 0; color: var(--alert); font-weight: 700; font-size: 15px; }
  .field-err:empty { display: none; }
  .field-note { margin: 6px 0 0; font-size: 14px; color: var(--ink-sub); }
  .field[hidden], .req[hidden] { display: none; }
  .consent-msg { display: none; margin: 12px 0 0 32px; color: var(--alert); font-weight: 700; font-size: 16px; }
  .consent.is-error .consent-msg { display: block; }
  .submit-row { padding: 20px 16px; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form-result { margin: 0; padding: 20px 16px; font-weight: 700; border-top: 1px solid var(--rule-thin); }
  .form-result.is-ok { background: var(--accent-pale); color: var(--ink); }
  .form-result.is-ng { background: #fbf1ee; color: var(--alert); }
  .field[hidden], .consent[hidden], .submit-row[hidden] { display: none; }
  .submit-row button { font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; background: var(--accent); color: #fff; border: 0; padding: 14px 40px; }
  .submit-row button:hover { background: var(--accent-dark); }

  /* ---------- フッター ---------- */
  .site-footer { background: var(--accent); color: #fff; padding: 40px 0 28px; font-size: 16px; }
  .site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
  .site-footer a { color: #fff; }
  .site-footer .logo-mark { height: 24px; color: #fff; margin-bottom: 12px; }
  .site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .site-footer .name { font-family: "BIZ UDPMincho", serif; font-size: 20px; font-weight: 700; margin-bottom: .4em; }
  .site-footer .copy { width: 100%; border-top: 1px solid rgba(255,255,255,.35); padding-top: 16px; font-size: 14px; color: #ffffff; margin: 0; }

  /* LINE公式「友だち追加」ボタン：LINE配信の画像をそのまま使用（色・形の加工なし、周囲に余白を確保） */
  .line-add { display: inline-block; padding: 8px 0; line-height: 0; }
  .line-add img { height: 36px; width: auto; display: block; }


  /* ---------- スクロールでのフェードイン（JSが動く環境のみ。動きを減らす設定では無効） ---------- */
  .js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease-out, transform .9s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* ---------- スマホ用 固定相談バー ---------- */
  .cta-bar { display: none; }

  /* ---------- レスポンシブ ---------- */
  @media (max-width: 1220px) {
    .gnav a:not(.to-contact) { display: none; }
    .gnav.open { position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 2px solid var(--frame); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
    .gnav.open a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--rule-thin); }
    .gnav.open .to-contact { margin: 12px 0 0; text-align: center; border: 0; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
    .menu-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .menu-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  }
  @media (max-width: 960px) {
    .fv .wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-side dl { grid-template-columns: 1fr; border-bottom: 0; }
    .contact-side dl > div, .contact-side dl > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--rule-thin); }
    .contact-side dl > .line-row { border-top: 0; padding: 14px 0; }
    .line-panel { padding: 18px 20px; }
    .svc-item { grid-template-columns: 1fr; gap: 12px; }
    .flow-figure .h { display: none; }
    .flow-figure .v { display: block; }
  }
  @media (max-width: 640px) {
    body { font-size: 17px; padding-bottom: 60px; }
    .wrap { padding: 0 16px; }
    section { padding: 52px 0; }
    .logo { gap: .6em; }
    .logo span { font-size: 12px; letter-spacing: .04em; }
    .gnav:not(.open) .to-contact { display: none; }
    .fv { padding: 32px 0 52px; }
    .hero { min-height: calc(80svh - 69px); padding: 0; }
    .hero-inner { padding-bottom: 10vh; }
    .hero-msg { font-size: 26px; letter-spacing: .04em; }
    .fv .sub { font-size: 17px; }
    .sec-head { grid-template-columns: 2.4em 1fr; }
    .sec-head .no { font-size: 17px; }
    .sec-head h2 { font-size: 24px; }
    .diff { font-size: 17px; padding: 14px 0; }

    /* 対応表・料金表は縦積みに */
    .match-table thead, .price-table thead { display: none; }
    .match-table, .match-table tbody, .match-table tr, .match-table td,
    .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
    .match-table tr, .price-table tr { border-bottom: 2px solid var(--frame); }
    .match-table tr:last-child, .price-table tr:last-child { border-bottom: 0; }
    .match-table td, .price-table td { border: 0; border-bottom: 1px solid var(--rule-thin); padding: 12px 14px; }
    .match-table td:last-child, .price-table td:last-child { border-bottom: 0; }
    .match-table .arrow { display: none; }
    .match-table .to::before { content: "→ "; color: var(--accent); }
    td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; color: var(--ink-sub); font-weight: 700; }

    .svc-item dl, .flow-list, .dev-product dl { grid-template-columns: 1fr; }
    .dev-product { padding: 18px 16px 14px; }
    .dev-product dt { padding-bottom: 0; border-bottom: 0; }
    .svc-item dt, .flow-list dt { padding-bottom: 0; border-bottom: 0; }
    .greeting { grid-template-columns: 1fr; gap: 16px; }
    .greeting .photo { width: 50%; }
    .sign { margin-left: 0; }
    .company th, .company td { display: block; width: 100%; border-right: 0; }
    .company th { padding-bottom: 6px; }
    .company td { padding-top: 8px; }
    .field { grid-template-columns: 1fr; }
    .field > label, .field > .label { border-right: 0; padding: 12px 14px 10px; }
    .field .input { padding: 12px 14px 16px; }
    .consent p, .consent-msg { margin-left: 0; }
    .submit-row button { width: 100%; }
    .philosophy { font-size: 18px; }

    .cta-bar {
      display: grid; grid-template-columns: 1fr 1fr;
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
      border-top: 1px solid var(--rule); background: var(--paper);
      padding-bottom: env(safe-area-inset-bottom);
    }
    .cta-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
    .cta-bar .c-main { background: var(--accent); color: #fff; }
    .cta-bar .c-line { gap: 6px; }
    .cta-bar .c-line-text { font-size: 13px; color: var(--ink); white-space: nowrap; }
    .cta-bar .c-line img { height: 28px; width: auto; display: block; }
    .cta-bar .c-line { color: var(--accent); border-left: 1px solid var(--rule-thin); background: #fff; }
    .line-panel { grid-template-columns: 1fr; }
    .line-qr { display: none; }
  }
  /* 導入：文節で改行し、言葉の途中で行が変わらないようにする */
  .fv p, .fv li, .fv td { word-break: auto-phrase; text-wrap: pretty; }
  .fv .wrap.intro-one { display: block; }
  .intro-lead { font-size: 20px; line-height: 1.9; max-width: 40em; margin: 0 0 28px; }
  .intro-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .intro-facts li { padding: 16px 20px 18px; }
  .intro-facts li + li { border-left: 1px solid var(--rule-thin); }
  .intro-facts b { display: block; font-size: 18px; }
  .intro-facts span { display: block; font-size: 15px; color: var(--ink-sub); margin-top: 2px; }
  @media (max-width: 760px) {
    .intro-lead { font-size: 17px; }
    .intro-lead br { display: none; }
    .intro-facts { grid-template-columns: 1fr; }
    .intro-facts li { padding: 12px 0 14px; }
    .intro-facts li + li { border-left: 0; border-top: 1px solid var(--rule-thin); }
  }

  .company-address { margin: 0; }
