/* サービスの紹介のページ（docs/design-site.md）。白い地＋青〜紫のグラデーション（依頼者の判断、2026-10-01）。
   お店のサイトの多くは白地なので、置いたときの見え方に近づける。TECH らしさは、最初の画面の淡い光と格子・
   グラデーションの見出しとボタンで出す。HTML と CSS だけで、運営者が一人で直せる形にする（外部の書体は使わない） */
:root {
  --bg: #ffffff; --bg-2: #f6f8fc; --fg: #0f172a; --body: #334155; --muted: #64748b; --line: #e2e8f0;
  /* 差し色は藍色1色（冒頭の案 A に合わせる）。--grad は以前のグラデーションの名残で、今は同じ色の面 */
  --accent: #3730a3; --accent-dark: #272080;
  /* ボタンと札だけは青紫のグラデーション（依頼者の判断、2026-10-06）。ほかの差し色は藍色1色 */
  --grad-pop: linear-gradient(120deg, #2563eb, #7c3aed); --grad-pop-dark: linear-gradient(120deg, #1d4ed8, #6d28d9);
  --a1: var(--accent); --a2: var(--accent); --grad: linear-gradient(var(--accent), var(--accent));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--fg);
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  line-height: 1.85; font-size: 16px; -webkit-font-smoothing: antialiased;
}
a { color: var(--a1); }
/* 文は文節で折り返す（「商品／提案」「す／ぐに」のように言葉の途中で切らない。対応しないブラウザでは今までどおり）。
   チャットの窓の見本は、実物（frame.css）に合わせて普通の折り返しのまま */
body { word-break: auto-phrase; }
.widget { word-break: normal; }
.top, main, footer { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
main.doc { max-width: 760px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 16px;
       border-bottom: 1px solid var(--line); }
.top a { color: var(--fg); font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
.top a::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px;
                 background: var(--grad); vertical-align: 1px; }
.top span, .muted { color: var(--muted); font-size: 14px; }

/* 最初の画面：言葉と、実物と同じ見た目のチャットの窓を並べる */
.hero { display: grid; gap: 48px; grid-template-columns: 1fr 380px; align-items: center; padding: 64px 0 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 4px 12px; border-radius: 999px;
           border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); color: var(--muted); font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 0 3px rgba(55, 48, 163, 0.15); }
h1 { font-size: 38px; line-height: 1.35; margin: 0 0 18px; letter-spacing: -0.01em; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; margin: 0; color: var(--body); }
/* 本文は言葉の切れ目で折り返す（対応しないブラウザは今までどおり）。広い画面では、決めた所で改行する */
body { word-break: auto-phrase; }
br.wide { display: none; }
@media (min-width: 861px) { br.wide { display: inline; } }
.cta { margin: 28px 0 0; }
.button { display: inline-block; background: var(--grad-pop); color: #fff; text-decoration: none; font-weight: 700;
          padding: 12px 26px; border-radius: 999px; box-shadow: none;
          transition: background-color 0.15s ease; }
.button:hover { background: var(--grad-pop-dark); }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } html { scroll-behavior: auto; } }

/* チャットの窓の見本。実物（app/widget/static/frame.css・loader.js の .panel）と同じ寸法・色・文言にする。
   実物を変えたら、ここも合わせる */
.widget { margin: 0; width: 380px; max-width: 100%; height: 600px; display: flex; flex-direction: column;
          border-radius: 14px; overflow: hidden; background: #fff;
          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 30px 80px rgba(55, 48, 163, 0.12);
          font: 15px/1.6 system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; color: #1c2530; }
.w-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #1f5f99; color: #fff; }
.w-title { margin: 0; font-size: 16px; font-weight: 600; }
.w-note { margin: 2px 0 0; font-size: 12px; line-height: 1.4; opacity: 0.92; }
.w-close { font-size: 22px; line-height: 1; width: 32px; text-align: center; }
/* 実物と同じく、窓の高さは 600px で、会話の欄だけが上下に動く */
.w-list { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.w-msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; overflow-wrap: anywhere; }
.w-msg.user { align-self: flex-end; background: #1f5f99; color: #fff; border-bottom-right-radius: 4px; }
.w-msg.assistant { align-self: flex-start; background: #eef2f6; border-bottom-left-radius: 4px; }
.w-msg .para { margin: 0 0 0.5em; }
.w-msg .para:last-child { margin-bottom: 0; }
.w-msg .items { margin: 0.2em 0 0.5em; padding-left: 1.2em; }
.w-msg .product-item { list-style: none; margin: 0.5em 0 0.5em -1.2em; padding: 8px 10px; background: #fff;
                       border-left: 3px solid #1f5f99; border-radius: 6px; }
.w-msg .product-item .para { margin-bottom: 0; }
.product-figure { margin: 6px 0 0; }
.product-image img { display: block; max-width: 100%; height: auto; border-radius: 6px; border: 1px solid #e3e8ee; }
.product-page { display: inline-block; margin-top: 4px; font-size: 13px; color: #1f5f99; text-decoration: underline; }
.w-form { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid #e3e8ee; }
.w-input { flex: 1; border: 1px solid #b9c6d3; border-radius: 10px; padding: 8px 10px; font-size: 15px; color: #8a96a3; min-height: 60px; }
.w-send { flex: none; align-self: stretch; display: flex; align-items: center; border-radius: 10px; padding: 0 16px;
          background: #1f5f99; color: #fff; font-weight: 600; }
.demo { margin: 0; }
.demo figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

/* 背景（探し方の変化）：読ませる節なので幅を絞り、最後の一文を強める */
.why > :not(.flow):not(.phones), .narrow { max-width: 760px; }   /* 文を読ませる節は一行を40字前後にする */
.why p { color: var(--body); font-size: 17px; }
.why strong { color: var(--fg); }
h2 { font-size: 26px; margin: 96px 0 22px; letter-spacing: -0.005em; }
h3 { font-size: 17px; margin: 0 0 8px; }

/* カード：縁を青紫で細く光らせる（外側にグラデーション、内側を白にして 1px の縁に見せる） */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards li { border-radius: 14px; padding: 20px; color: var(--body); font-size: 15px;
            background: linear-gradient(#fff, #fff) padding-box,
                        linear-gradient(140deg, rgba(55, 48, 163, 0.55), rgba(55, 48, 163, 0.25) 45%, var(--line)) border-box;
            border: 1px solid transparent; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05); }
.cards strong { display: block; margin: 6px 0 8px; font-size: 16px; color: var(--fg); line-height: 1.6; text-wrap: balance; }
/* 「売上を伸ばす」「少ない人数でも、行き届いた接客を」の2つの柱 */
.pillar + .pillar { margin-top: 36px; }
.pillar h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 14px; }
.tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-pop); border-radius: 999px; padding: 2px 10px; }
.pillar .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar.four .cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.num { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
       background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ほかにも、こんなことができます（アイコンと説明の一覧） */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: 1fr; }
.feature-group { margin: 32px 0 12px; font-size: 18px; }
.feature-group:first-of-type { margin-top: 8px; }
@media (min-width: 761px) { .features li { flex-direction: column; gap: 12px; } }   /* 4列で狭いので、アイコンを上に置く */
.features li { display: flex; gap: 14px; align-items: flex-start; color: var(--body); font-size: 15px;
               background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.features b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 4px; }
.icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--body); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px;
                     background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; text-align: center; line-height: 22px; }
.checks b { display: block; color: var(--fg); }

.split { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.split > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.split p { margin: 0; color: var(--body); }

.sub { color: var(--body); margin: -4px 0 20px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: var(--bg); }
.plan h3 { margin: 0 0 6px; font-size: 17px; }
.plan .price { margin: 0 0 12px; font-size: 30px; font-weight: 700; letter-spacing: -0.01em;
               background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .price span { font-size: 14px; font-weight: 500; }
.plan .price small { font-size: inherit; white-space: nowrap; }
@media (max-width: 560px) { .plan .price small { display: block; margin-top: -2px; font-size: 13px; } }   /* 2列で狭いときは、（税込）を金額の下に置く */
.plan ul { margin: 0; padding: 0; list-style: none; color: var(--body); font-size: 15px; }
.plan li { padding: 5px 0; border-top: 1px solid var(--line); }
.notes { margin: 18px 0 20px; padding-left: 1.2em; color: var(--body); font-size: 15px; }
.notes li { margin: 2px 0; }

.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; padding-left: 52px; position: relative; color: var(--body); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
                    border-radius: 10px; background: var(--grad); color: #fff;
                    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; font-weight: 700;
                    text-align: center; line-height: 36px; }
.steps b { display: block; color: var(--fg); }

.faq { margin: 0; border-top: 1px solid var(--line); }
/* よくある質問のまとまり：小見出しは大きくして左に藍色の縦線、質問の行は字下げして普通の太さにし、見分けを付ける */
.faq-group { margin: 40px 0 10px; padding-left: 12px; border-left: 4px solid var(--accent); font-size: 20px; line-height: 1.4; }
.faq-group:first-of-type { margin-top: 8px; }
.faq-group + .faq { margin-left: 16px; }
.faq-group + .faq summary { font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; padding: 16px 32px 16px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--a2); }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-weight: 400; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--body); }
.faq details ol { margin: -8px 0 14px; padding-left: 1.6em; color: var(--body); }
.faq details ol + p { margin-top: 0; }
.tm { max-width: 1080px; margin: 64px auto 0; padding: 0 20px; font-size: 12px; color: var(--muted); text-align: center; }

.contact { margin-top: 96px; padding: 12px 28px 26px; border-radius: 18px; border: 1px solid rgba(55, 48, 163, 0.25);
           background: radial-gradient(520px 220px at 100% 0%, rgba(55, 48, 163, 0.10), transparent 70%),
                       radial-gradient(420px 200px at 0% 100%, rgba(55, 48, 163, 0.08), transparent 70%), var(--bg-2); }
.contact h2 { margin-top: 24px; }

/* 利用規約・プライバシーポリシー：本文は飾らず読みやすく */
.doc h1 { margin-top: 48px; font-size: 28px; }
.doc h2 { font-size: 18px; margin: 36px 0 10px; padding-left: 12px; border-left: 3px solid var(--a2); }
.doc p, .doc li, .doc td { color: var(--body); }
.doc li { margin: 4px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--bg-2); }
code { font-size: 14px; }

/* メールアドレスの画像（透明の地に濃い文字。devtools/make_contact_image.py） */
.mail { vertical-align: middle; }
footer { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 96px; padding-top: 20px; padding-bottom: 44px;
         border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
footer .mail { width: auto; height: 21px; }   /* 下の欄では、周りの文字の大きさに合わせる */

/* 狭い画面：1列にし、窓は幅いっぱいにする */
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 40px; gap: 32px; }   /* 窓の見本の幅（380px）に列が引っぱられて、画面からはみ出さないように */
  .widget { margin: 0 auto; }
}
@media (max-width: 760px) {
  h1 { font-size: 28px; }
  h2 { margin-top: 64px; font-size: 22px; }
  .contact { padding: 8px 18px 20px; }
}

/* 問い合わせのフォーム（docs/design-site.md） */
.form { display: grid; gap: 14px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--fg); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid rgba(55, 48, 163, 0.35); border-color: var(--a1); }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 7px; }
.form .req { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--a2); }
.form-note { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.form-result { margin: 0; min-height: 1.5em; }
.form-result.ok { color: #166534; }
.form-result.error { color: #b42318; }
.form-result.error:not(:empty) { padding: 10px 14px; border: 1px solid #fecaca; border-radius: 10px; background: #fef2f2; font-weight: 600; }
/* 送れたとき：フォームの代わりに出す知らせ（.form の display: grid が hidden を上書きしないように） */
.form[hidden], .form-done[hidden] { display: none; }
.form-done { margin: 8px 0 20px; padding: 32px 24px; border: 1px solid #bbf7d0; border-radius: 16px; background: #f0fdf4; text-align: center; }
.form-done:focus { outline: none; }
.form-done svg { width: 56px; height: 56px; fill: none; stroke: #16a34a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { margin: 10px 0 8px; font-size: 22px; color: #14532d; }
.form-done p { margin: 0; color: #166534; }
.form-done .form-done-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-done .link { margin-top: 16px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px;
  text-decoration: underline; cursor: pointer; }
.form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: 0.6; cursor: wait; }
.form button.button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.tm + footer { margin-top: 0; padding-top: 16px; }

/* 取り込める商品データの帯（ロゴは使わず文字で書く。docs/logo-permission.md） */
.carts { margin: 8px auto 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); text-align: center; }
.carts-lead { margin: 0 0 12px; font-weight: 700; font-size: 18px; }
.cart-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cart-names li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 15px; }
.carts-note { margin: 12px 0 0; color: var(--body); font-size: 15px; }

/* 上の帯：いつでも押せる「導入を相談する」（紹介のページ） */
.top.sticky { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92);
              -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding-top: 12px; padding-bottom: 12px; }
.top-right { display: flex; align-items: center; gap: 14px; }
.button.small { padding: 7px 16px; font-size: 14px; box-shadow: none; }
.top-right .button.small::before { content: none; }
/* 上の帯のページの中のリンク（狭い画面では隠し、相談のボタンだけ残す）と、濃い色の相談のボタン */
.top .nav { color: #4b5563; font-weight: 400; font-size: 14px; letter-spacing: 0; }
.top .nav::before { content: none; }
.top .nav:hover { color: var(--fg); }
.top-right { gap: 24px; }
.top .button.small { background: #111827; padding: 9px 18px; }
@media (max-width: 760px) { .top .nav { display: none; } }
.top .button.small { color: #fff; letter-spacing: 0; }
.top.sticky { box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.92); clip-path: inset(0 -100vmax); }

/* シナリオ型との比べ（2つの窓を並べる） */
.compare h2 { margin-bottom: 18px; }
.cmp { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cmp-card { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.cmp-card.ours { border-color: var(--a1); box-shadow: 0 6px 24px rgba(55, 48, 163, 0.10); }
.cmp-label { font-weight: 700; margin-bottom: 10px; }
.cmp-card.ours .cmp-label { color: var(--a1); }
.cmp-win { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex;
  flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.6; }
.cmp-msg { max-width: 92%; padding: 7px 10px; border-radius: 10px; }
.cmp-msg.bot { align-self: flex-start; background: #eef2f6; }
.cmp-msg.user { align-self: flex-end; background: #1f5f99; color: #fff; }
.cmp-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-btns span { border: 1px solid #94a3b8; color: var(--body); border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.cmp-item { display: block; margin-top: 6px; padding: 5px 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.cmp-card p { margin: 12px 0 0; color: var(--body); font-size: 15px; }
#models-table { width: fit-content; max-width: 100%; }   /* 「◯年◯月◯日現在」を、表の右の端にそろえる */
.models-asof { margin: 0 0 6px; text-align: right; color: var(--muted); font-size: 14px; }
.split + h3 { margin-top: 40px; }
/* 実際の画面の写し（devtools/shoot_site.py で撮る） */
.phones { display: flex; justify-content: center; gap: 40px; margin: 40px 0 0; }
.phones figure { margin: 0; text-align: center; }
.phones img { display: block; width: 250px; height: auto; border: 9px solid #0f172a; border-radius: 36px; background: #0f172a;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18); }
.phones figcaption { margin-top: 14px; color: var(--body); font-size: 15px; }
.screen-note { margin-top: 14px !important; text-align: center; color: var(--muted) !important; font-size: 13px !important; }
/* 管理画面の写しは、ボタンで1枚ずつ切り替えて大きく見せる（スクリプトを使わず、ラジオボタンと CSS で切り替える） */
.screens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.screens input { position: absolute; opacity: 0; pointer-events: none; }
.screens label { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--body); }
.screens input:checked + label { background: var(--grad-pop); border-color: transparent; color: #fff; }
.screens input:focus-visible + label { outline: 2px solid var(--a1); outline-offset: 2px; }
.screens figure { display: none; order: 1; width: 100%; margin: 12px 0 0; }
#screen-1:checked ~ .screen-1, #screen-2:checked ~ .screen-2, #screen-3:checked ~ .screen-3 { display: block; }
.screens figcaption { margin: 0 0 16px; color: var(--body); }
.shot { margin: 48px 0 0; }
.shot figcaption { margin: 0 0 16px; color: var(--body); }
.shot img, .screens img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 32px rgba(15, 23, 42, 0.10); }
@media (max-width: 760px) {
  .phones { gap: 16px; }
  .phones img { width: 100%; max-width: 200px; border-width: 6px; border-radius: 26px; }
  .phones figcaption { font-size: 14px; }
}
/* こんなお悩みはありませんか：悩み（灰色の四角の印）と、その答え（青い矢印） */
.pains { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pains li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.05); }
.pains p { margin: 0; }
.pain { position: relative; padding-left: 30px; font-size: 17px; font-weight: 600; color: var(--fg); }
.pain::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 4px;
  border: 2px solid #94a3b8; background: #fff; }
.pain::after { content: ""; position: absolute; left: 6px; top: calc(0.32em + 2px); width: 6px; height: 11px;
  border-right: 2px solid var(--a1); border-bottom: 2px solid var(--a1); transform: rotate(45deg); }
.answer { position: relative; margin-top: 10px !important; padding-left: 30px; color: var(--a1); font-size: 15px; font-weight: 600; }
.answer::before { content: "→"; position: absolute; left: 2px; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }
/* 月の費用の例（models.js が中身を入れる） */
.cost-example { margin: 24px 0 0; max-width: 560px; padding: 20px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.cost-example h4 { margin: 0 0 6px; font-size: 16px; }
.cost-example p { margin: 0; font-size: 14px; color: var(--body); }
.cost-example dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 14px 0 10px; font-size: 15px; }
.cost-example dt { color: var(--body); }
.cost-example dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 600; }
.cost-example dt:nth-last-of-type(1), .cost-example dd:last-of-type { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; color: var(--fg); }
.cost-example .muted { color: var(--muted); font-size: 13px; }
.step-help { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 14px; }
/* 冒頭（案 A）：藍色1色。見出しは決めた所で改行し、広い画面では行の途中で折らない */
.hero .eyebrow { display: block; margin: 0 0 22px; padding: 0; border: 0; border-radius: 0; background: none;
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; }
.hero h1 { margin: 0; font-size: 38px; line-height: 1.5; letter-spacing: 0; font-weight: 700; }
.hero h1 .l { display: block; }
.hero h1 .accent { color: var(--accent); }
@media (min-width: 561px) { .hero h1 .l { white-space: nowrap; } .hero h1 { font-size: clamp(24px, calc((100vw - 40px) / 16.6), 38px); } }
@media (min-width: 861px) { .hero h1 { font-size: clamp(24px, calc((100vw - 470px) / 16.6), 38px); } }
@media (max-width: 560px) { .hero h1 { font-size: 26px; } }
.hero-rule { width: 48px; height: 2px; margin: 26px 0; background: var(--fg); }
.hero .lead { font-size: 16px; line-height: 2; color: #374151; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.button.solid { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; background: var(--grad-pop); box-shadow: none; }

.button.solid svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cta-note { font-size: 14px; color: #4b5563; }
/* 中身のある中央の列（幅 1080px）は白くし、格子は左右の余白にだけ見せる。列の間に格子の隙間が出ないよう、
   列どうしの間は外側の余白（margin）でなく内側の余白（padding）で空ける */
main, .tm, footer { background: var(--bg); }
main { padding-bottom: 64px; }
.tm { margin-top: 0; }
/* スマートフォン：料金はカードをやめて比べる表にし、モデルの表はモデルごとのカードにする */
.plans-table, .plans-table-note { display: none; }
@media (max-width: 560px) {
  .plans { display: none; }
  .plans-table { display: table; width: 100%; margin: 16px 0 6px; font-size: 13px; table-layout: fixed; }
  .plans-table th, .plans-table td { padding: 8px 4px; text-align: center; vertical-align: middle; overflow-wrap: anywhere; }
  .plans-table thead td { border: 0; background: none; }
  .plans-table thead th { font-size: 12px; }
  .plans-table tbody th { width: 24%; text-align: left; font-size: 12px; font-weight: 600; }
  .plans-table tbody tr:first-child td { color: var(--accent); font-weight: 700; font-size: 14px; }
  .plans-table-note { display: block; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
  #models-table { width: auto; }
  #models-table table, #models-table tbody, #models-table tr, #models-table td { display: block; }
  #models-table thead { display: none; }
  #models-table tr { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  #models-table td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; }
  #models-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; }
  #models-table td:first-child { display: block; padding-bottom: 6px; font-weight: 700; }
  #models-table td:first-child::before { content: none; }
}
/* 運営者の氏名・所在地・電話番号の画像（make_operator_images.py） */
img.op { max-width: 100%; height: auto; vertical-align: middle; }
/* スマートフォンの冒頭：一番上の淡い色の面に、吹き出しと商品の絵（依頼者が選んだ案 D、2026-10-06）。PC では出さない */
.hero-band { display: none; }
@media (max-width: 560px) {
  .hero { padding-top: 0; }
  .hero-band { display: block; margin: 0 -20px; padding: 22px 20px 20px; background: linear-gradient(160deg, #eef2ff, #f5f3ff); }
  .hb-q { margin: 0 0 8px auto; width: fit-content; max-width: 88%; padding: 8px 13px; border-radius: 14px 14px 4px 14px;
    background: #1f4e79; color: #fff; font-size: 14px; }
  .hb-a { margin: 0 0 10px; width: fit-content; padding: 8px 13px; border-radius: 14px 14px 14px 4px; background: #fff;
    color: var(--body); font-size: 14px; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06); }
  .hb-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hb-items span { display: block; padding: 6px; border-radius: 12px; background: #fff; text-align: center; font-size: 12px;
    color: var(--body); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08); }
  .hb-items img { display: block; width: 100%; height: auto; margin-bottom: 4px; border-radius: 8px; background: #f3f4f6; }
}
/* 相談から購入までの流れ */
.flow { list-style: none; padding: 0; margin: 28px 0 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.flow li { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 104px;
  padding: 16px; background: var(--bg-2); border: 1px solid var(--a1); border-radius: 12px; font-size: 18px; line-height: 1.6;
  color: var(--a1); font-weight: 600; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -38px; top: 50%; width: 32px; height: 32px; border-radius: 50%;
  transform: translateY(-50%); border: 1.5px solid var(--a1); box-sizing: border-box;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233730a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat, #fff; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 44px; }
  .flow li { min-height: 0; padding: 14px 16px; font-size: 17px; }
  .flow li:not(:last-child)::after { right: auto; top: auto; left: 50%; bottom: -38px; transform: translateX(-50%) rotate(90deg); }
}
/* AI から担当者への引き継ぎ */
.handoff { display: flex; flex-direction: column; gap: 6px; align-items: stretch; margin-top: 28px; }
.ho-step { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; text-align: center; font-size: 18px; }
.ho-branches { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.ho-branch { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  border: 1px solid var(--a1); border-radius: 14px; padding: 22px 20px 20px; color: var(--body); font-size: 16px; }
.ho-branch b { display: block; color: var(--a1); font-size: 18px; }
.ho-art { width: 160px; height: 96px; margin-bottom: 10px; }
.ho-goal { border-color: var(--a1); color: var(--a1); font-weight: 600; }
.ho-arrow { display: flex; justify-content: center; }
.ho-arrow svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: #fff; border: 1.5px solid var(--a1); box-sizing: border-box;
  fill: none; stroke: var(--a1); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* 分かれる線（┬）と合わさる線（┴）。上下の枠はカード1枚分の幅にして中央に置く。スマートフォンでは線をやめて ↓ にする。
   カードの枠（2px）と見分けられるよう、線の先は塗りつぶした三角にする */
.handoff .ho-step { align-self: center; width: calc(50% - 10px); }
.handoff .ho-step, .handoff .ho-branch { background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.07); }
.handoff .ho-goal { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(55, 48, 163, 0.25); }
.handoff > .ho-arrow { display: none; }
.ho-split, .ho-join { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 66px; margin: -6px 0; }
.ho-split::before, .ho-join::before { content: ""; position: absolute; left: 50%; border-left: 2px solid var(--a1); transform: translateX(-1px); }
.ho-split::before { top: 0; height: 50%; }
.ho-join::before { top: 50%; bottom: 10px; }
.ho-split::after, .ho-join::after { content: ""; position: absolute; top: calc(50% - 1px); left: calc(25% - 6px); right: calc(25% - 6px);
  border-top: 2px solid var(--a1); }
.ho-split i, .ho-join i { position: relative; }
.ho-split i::before, .ho-join i::before { content: ""; position: absolute; left: 50%; border-left: 2px solid var(--a1); transform: translateX(-1px); }
.ho-split i::before { top: 50%; bottom: 10px; }
.ho-join i::before { top: 0; height: 50%; }
.ho-split i::after, .ho-join b { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--a1); transform: translateX(-50%); }
@media (max-width: 760px) {
  .ho-branches { grid-template-columns: 1fr; }
  .handoff .ho-step { width: auto; align-self: stretch; }
  .handoff > .ho-arrow { display: flex; }
  .ho-split, .ho-join { display: none; }
}
