
:root { --ink: #2c2c2c; --sub: #4b5563; --line: #e5e7eb; --soft: #f8f9fa; --dark: #176b8a; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
       -webkit-font-smoothing: antialiased; line-height: 1.8; }
a { color: inherit; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); border-bottom: 1px solid #eee; }
.top-in { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: Lato, sans-serif; font-weight: 700; font-size: 18px; text-decoration: none; display: block; line-height: 0; }
.logo img { display: block; height: 26px; width: auto; }  /* 屋号のロゴ（2026-11-11） */
.top nav { display: flex; gap: 24px; align-items: center; font-family: 'Noto Sans JP', Lato, sans-serif; font-weight: 700; font-size: 14px; }
.top nav a { text-decoration: none; }
.top .btn { background: var(--dark); color: #fff; border-radius: 10px; padding: 9px 18px; font-family: 'Noto Sans JP', sans-serif; }
main { max-width: 848px; margin: 0 auto; padding: 48px 24px 96px; }
.crumb { background: var(--soft); border-bottom: 1px solid #eee; font-size: 13px; color: #5f5f5f; }
.crumb ol { list-style: none; max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumb li { display: flex; align-items: center; min-width: 0; }
.crumb li + li::before { content: '＞'; margin: 0 10px; font-size: 11px; color: #aaa; }
.crumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.crumb a:hover { text-decoration-thickness: 2px; }
.crumb [aria-current] { overflow-wrap: anywhere; }
.tags { display: flex; gap: 8px; margin: 0 0 16px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 12px; border: 1px solid var(--line); }
.tag:first-child { background: var(--dark); color: #fff; border-color: var(--dark); }
h1 { font-size: 32px; line-height: 1.5; margin: 0 0 20px; }
.lead { color: #555; margin: 0 0 28px; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        padding: 20px 0; font-size: 14px; margin: 0 0 56px; }
.meta div { display: flex; gap: 24px; }
.meta dt { color: var(--sub); min-width: 3.5em; }
.meta dd { margin: 0; font-weight: 700; }
h2 { font-size: 22px; margin: 56px 0 20px; }
ul.dots { list-style: none; padding: 0; margin: 0; }
ul.dots li { position: relative; padding-left: 18px; margin: 10px 0; font-size: 15px; }
ul.dots li::before { content: ''; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; background: var(--dark); }
.flow { border: 1px solid var(--line); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.flow h3 { text-align: center; font-size: 15px; margin: 0 0 12px; }
.flow ol { list-style: none; padding: 0; margin: 0; }
.flow li { border: 1px solid var(--ink); padding: 8px 12px; text-align: center; font-size: 14px; }
.flow li + li { margin-top: 22px; position: relative; }
.flow li + li::before { content: '↓'; position: absolute; top: -21px; left: 50%; transform: translateX(-50%); font-size: 13px; }
.flow .after li:last-child { background: var(--dark); color: #fff; }
.flow .time { text-align: center; color: var(--sub); font-size: 13px; margin-top: 12px; }
.cap { font-size: 12px; color: var(--sub); margin-top: 10px; }
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
ol.steps li { counter-increment: s; border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 12px; display: flex; gap: 16px; align-items: center; font-size: 15px; }
ol.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; display: grid; place-items: center; background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); background: var(--soft); }
.results > div { padding: 20px; border-right: 1px solid var(--line); }
.results > div:last-child { border-right: none; }
.results .k { font-size: 12px; letter-spacing: .1em; color: var(--sub); font-weight: 700; }
.results .name { font-size: 13px; color: var(--sub); margin: 4px 0 14px; }
.results .after { font-size: 18px; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); margin-top: 56px; }
.two h2 { font-size: 18px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); padding: 4px 12px; font-size: 13px; font-weight: 700; }
.cta { background: var(--soft); text-align: center; padding: 36px 24px; margin-top: 56px; }
.cta p { margin: 0 0 20px; font-weight: 700; font-size: 18px; }
.cta a { display: inline-block; background: var(--dark); color: #fff; text-decoration: none; padding: 12px 32px; border-radius: 10px; font-weight: 700; }
.back { display: inline-block; margin-top: 40px; font-size: 14px; }
.foot { border-top: 1px solid #eee; padding: 28px 24px 40px; text-align: center; font-size: 13px; color: var(--sub); }
.foot a { text-decoration: none; }
.foot p { margin: 8px 0 0; font-family: Lato, sans-serif; }
.shot.w440 { max-width: 440px; }
.shot { margin: 0 0 28px; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); display: block; }
.shot figcaption { font-size: 12px; color: var(--sub); margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--dark); color: #fff; margin: 0 0 32px; }
.stats > div { padding: 22px 20px; border-right: 1px solid rgba(255,255,255,.25); }
.stats > div:last-child { border-right: none; }
.stats .n { font-family: Lato, 'Noto Sans JP', sans-serif; font-size: 24px; font-weight: 700; line-height: 1.4; }
.stats .l { font-size: 12px; color: #d2d2d2; margin-top: 6px; line-height: 1.6; }
.flow li.m { background: #eef3f8; border-color: #1f5f8b; color: #17466a; font-weight: 700; }
.flow .after li.m:last-child { background: #eef3f8; color: #17466a; }
.legend { font-size: 12px; color: var(--sub); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; background: #eef3f8; border: 1px solid #1f5f8b; vertical-align: -1px; margin-right: 6px; }
.tw { overflow-x: auto; }
table.roles { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
table.roles th, table.roles td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
table.roles th { background: var(--soft); font-size: 12px; color: var(--sub); }
table.roles td:first-child { font-weight: 700; }
.who { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 10px; border: 1px solid var(--ink); white-space: nowrap; }
.who.m { background: #eef3f8; border-color: #1f5f8b; color: #17466a; }
ol.tl { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--dark); }
ol.tl li { position: relative; padding: 0 0 22px 24px; font-size: 15px; }
ol.tl li:last-child { padding-bottom: 0; }
ol.tl li::before { content: ''; position: absolute; left: -7px; top: .5em; width: 12px; height: 12px; background: var(--dark); border-radius: 50%; }
ol.tl .when { display: block; font-weight: 700; font-size: 13px; }
.points { display: grid; gap: 12px; }
.points > div { border: 1px solid var(--line); padding: 18px 20px; }
.points h3 { font-size: 15px; margin: 0 0 6px; }
.points p { margin: 0; font-size: 14px; color: #555; }
.voice { border-left: 4px solid var(--dark); background: var(--soft); margin: 0; padding: 20px 24px; font-size: 15px; }
.voice + .cap { margin-bottom: 0; }
.calc { font-size: 13px; background: var(--soft); border: 1px solid var(--line); border-top: none; padding: 12px 20px; margin: 0; }
.part { border-top: 2px solid var(--dark); margin-top: 56px; padding-top: 8px; }
.part > h2 { margin-top: 24px; }
.part > h2 small { display: block; font-size: 13px; color: var(--sub); font-weight: 400; }
.part h3.sub { font-size: 16px; margin: 32px 0 12px; }
.part .about { color: #555; font-size: 15px; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; font-size: 15px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '＋'; position: absolute; right: 4px; top: 16px; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 18px; font-size: 14px; color: #555; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel a { text-decoration: none; display: block; border: 1px solid var(--line); }
.rel a:hover { border-color: var(--ink); }
.rel img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.rel .t { display: block; font-size: 12px; color: var(--sub); padding: 12px 14px 0; }
.rel .h { display: block; font-size: 14px; font-weight: 700; padding: 2px 14px 14px; line-height: 1.6; }
.cta .sub { font-weight: 400; font-size: 14px; color: #555; margin: -8px 0 20px; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta a.ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
@media (max-width: 640px) {
  h1 { font-size: 24px; }
  .meta, .flow, .two { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
  .results > div { border-right: none; border-bottom: 1px solid var(--line); }
  .stats, .rel { grid-template-columns: 1fr; }
  .stats > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,.25); padding: 16px 20px; }
  .stats > div:last-child { border-bottom: none; }
  .rel a { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
  .cta .btns a { width: 100%; }
  /* 分担の表は、スマホでは1段ずつ縦に積む（横にはみ出させない） */
  table.roles { min-width: 0; }
  table.roles thead { display: none; }
  table.roles tr { display: block; border: 1px solid var(--line); margin-bottom: 8px; padding: 10px 12px; }
  table.roles td { display: block; border: none; padding: 2px 0; }
  table.roles td:nth-child(2) { margin: 4px 0; }
}

.again-wrap { margin-top: 14px; }
.demo { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.phone { background: #202124; border-radius: 36px; padding: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.screen { background: #f0ebf8; border-radius: 26px; overflow: hidden; height: 620px; overflow-y: auto; font-family: Roboto, 'Noto Sans JP', sans-serif; }
.gf-bar { background: #673ab7; color: #fff; font-size: 13px; padding: 10px 16px; display: flex; justify-content: space-between; }
.gf-card { background: #fff; border-radius: 8px; margin: 10px; padding: 16px 18px; border: 1px solid #dadce0; }
.gf-head { border-top: 10px solid #673ab7; }
.gf-head h3 { font-size: 26px; font-weight: 400; margin: 0 0 6px; }
.gf-head p, .gf-q small { font-size: 12px; color: #5f6368; margin: 0; }
.gf-req { color: #d93025; font-size: 12px; margin-top: 10px !important; }
.gf-q .t { display: block; font-size: 15px; margin-bottom: 4px; }
.gf-q .t b { color: #d93025; font-weight: 400; }
.gf-q select { margin-top: 12px; font-size: 14px; padding: 10px 12px; border: 1px solid #dadce0; border-radius: 4px; background: #fff; width: 100%; }
.gf-q .r { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.gf-q .r input { accent-color: #673ab7; width: 18px; height: 18px; margin: 0; }
.gf-q input[type=text] { margin-top: 12px; width: 100%; border: none; border-bottom: 1px solid #dadce0; font-size: 14px; padding: 6px 0; }
.gf-q input[type=text]:focus-visible { outline: 2px solid #673ab7; outline-offset: 2px; }
.gf-q.err { border-color: #d93025; }
.gf-actions { display: flex; justify-content: space-between; align-items: center; margin: 4px 10px 20px; }
.gf-send { background: #673ab7; color: #fff; border: none; border-radius: 4px; padding: 9px 22px; font-size: 14px; cursor: pointer; }
.gf-clear { color: #673ab7; font-size: 13px; background: none; border: none; cursor: pointer; }
.gf-done { display: none; }
.gf-done.on { display: block; }
.demo-note { font-size: 14px; }
.demo-note .badge { display: inline-block; background: #fbbc05; color: #202124; font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.rows { border: 1px solid var(--line); font-size: 13px; width: 100%; border-collapse: collapse; margin-top: 12px; }
.rows th, .rows td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.rows th { background: #e6f4ea; }
.rows tr.new td { background: #fff8e1; }
.files a.dl { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 16px 20px; text-decoration: none; }
.files a.dl:hover { background: var(--soft); }
.files .ic { flex: none; width: 44px; height: 52px; background: #1e7145; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; border-radius: 4px; }
.files .nm { font-weight: 700; }
.files .sz { font-size: 12px; color: var(--sub); }
.files p { font-size: 13px; color: var(--sub); margin: 8px 0 0; }
@media (max-width: 640px) { .demo { grid-template-columns: 1fr; } .phone { max-width: 340px; margin: 0 auto; } }
