:root {
  --accent: #145a4a;
  --accent-soft: #eaf2ef;
  --ink: #262626;
  --muted: #595959;
  --line: #d9d9d9;
  --soft: #f3f3f3;
  --paper: #fff;
  --body: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.8 var(--body); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.5; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: 56px; line-height: 1.35; }
h2 { font-size: 44px; }
h3 { font-size: 30px; }
a { color: inherit; }
main { width: 100%; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; padding: 6px 16px; margin-bottom: 24px; background: var(--accent-soft); border-radius: 40px; color: var(--accent); font-size: 16px; font-weight: 800; letter-spacing: .035em; line-height: 1.7; }
.lead { margin-top: 22px; color: var(--muted); font-size: 18px; }

/* 大きな見出しと、実例のチャット・成果物を組み合わせた冒頭。 */
.hero { background: linear-gradient(120deg, #fafafa, #ededed); }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: center; gap: 36px; min-height: 84vh; padding-block: 96px; }
.hero-copy { min-width: 0; }
.hero h1 span { display: block; }
.hero h1 .accent { margin-top: 18px; font-size: 1.035em; font-weight: 900; color: var(--ink); }
.hero .lead { font-size: 20px; line-height: 1.8; margin-top: 28px; }
.cta { display: inline-flex; justify-content: center; align-items: center; gap: 56px; min-height: 68px; margin-top: 32px; padding: 16px 32px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: var(--paper); font-size: 20px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px #145a4a1a; transition: transform .2s ease; }
.cta::after { content: ""; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.cta:hover, .cta:focus-visible { transform: translateY(-2px); }
.cta:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.hero .cta:focus-visible { outline-color: var(--accent); }
.hero-preview { display: grid; grid-template-columns: minmax(0, 1fr); align-self: center; padding-top: 10px; }
.hero-preview .phone { grid-area: 1 / 1; align-self: start; justify-self: start; width: 276px; min-height: 360px; margin-left: 0; }
.hero-preview .output { grid-area: 1 / 1; width: calc(100% - 54px); justify-self: end; margin-top: 308px; position: relative; box-shadow: 0 18px 40px #26262618; }
.hero-preview .output-body { padding: 20px 18px; }
.hero-preview .output > h4 { padding: 14px 18px; }
/* 冒頭では成果物の最初のまとまりを見せる。実例本編はすべて表示する。 */
.hero-preview .output-group + .output-group { display: none; }

/* 黒い帯と大きな番号で、伴走の順序を見せる。 */
.steps-band { padding-block: 48px; background: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; list-style: none; padding: 0; }
.step { padding: 26px 22px; border: 1px solid #666; color: var(--paper); }
.step-number { display: block; font: 800 44px/1.1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.04em; margin-bottom: 18px; }
.step h2 { font-size: 22px; text-align: left; letter-spacing: -.03em; }
.step p { font-size: 16px; line-height: 1.8; color: #e1e1e1; margin-top: 14px; }
.section { padding-block: 108px; }
.section:nth-of-type(odd) { background: var(--soft); }
.section > .wrap { text-align: center; }
.section > .wrap > .lead { max-width: 820px; margin-inline: auto; }
.concerns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; gap: 20px; margin: 44px 0 32px; text-align: left; }
.concerns li { display: flex; align-items: flex-start; gap: 18px; padding: 30px 24px; background: var(--soft); border: 1px solid var(--line); font-size: 20px; font-weight: 800; }
.concerns li::before { content: ""; flex: 0 0 21px; height: 12px; margin-top: 10px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.closing { font-size: 18px; max-width: 850px; margin-inline: auto; }
.cases { display: grid; gap: 40px; margin-top: 52px; text-align: left; }
.case { padding: 42px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 0 0 12px 12px; background: var(--paper); }
.case-title { display: flex; align-items: baseline; gap: 24px; }
.case-number { color: var(--ink); font-size: 24px; font-weight: 800; flex-shrink: 0; letter-spacing: -.02em; }
.case-title h3 { font-size: 30px; }
.case > .lead { max-width: none; margin-top: 16px; }
.demo { display: grid; grid-template-columns: 300px 40px minmax(0, 1fr); align-items: center; gap: 28px; margin: 40px 0 32px; }
.phone { width: 300px; min-height: 408px; border: 6px solid var(--ink); border-radius: 32px; background: var(--soft); padding: 12px 14px 20px; box-shadow: 0 12px 28px #2626260d; }
.speaker { height: 5px; width: 48px; border-radius: 4px; background: var(--ink); margin: 0 auto 13px; }
.chat-title { display: flex; align-items: center; justify-content: center; position: relative; min-height: 46px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 800; padding-bottom: 10px; margin-bottom: 24px; }
.chat-title::before { content: ""; position: absolute; left: 8px; width: 8px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.bubble { position: relative; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; background: var(--paper); font-size: 16px; line-height: 1.8; margin: 0 17px 22px 0; overflow-wrap: anywhere; }
.bubble.out { margin-left: 24px; margin-right: 0; border-radius: 12px 12px 2px 12px; background: #e3e3e3; }
.bubble p + p { margin-top: 12px; }
.home-line { width: 60px; height: 4px; border-radius: 3px; background: #bbb; margin: 32px auto 0; }
.flow-arrow { width: 34px; height: 2px; background: var(--muted); position: relative; justify-self: center; }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); }
.output { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 24px #26262608; }
.output > h4 { padding: 18px 24px; background: var(--accent); color: var(--paper); border-radius: 7px 7px 0 0; font-size: 20px; text-wrap: initial; }
.output-body { padding: 24px; font-size: 16px; line-height: 1.8; }
.output-group + .output-group { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.output-label { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.output ul { padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.mini-table { font-size: 16px; text-align: left; }
.mini-table th { padding: 9px 8px; font-weight: 800; background: var(--soft); font-size: 15px; }
.mini-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.task-table th:first-child { width: 18%; }
.task-table th:last-child { width: 23%; }
.mail-table th:nth-child(1) { width: 38%; }
.mail-table th:nth-child(2) { width: 24%; }
.result { border-top: 2px solid var(--ink); padding-top: 24px; font-size: 22px; font-weight: 800; }
.image-note { color: var(--muted); font-size: 16px; margin-top: 12px; }
.industry-wrap { margin-top: 44px; }
.industry-table { font-size: 16px; line-height: 1.8; text-align: left; }
.industry-table th { padding: 22px 16px; background: var(--ink); color: var(--paper); font-size: 18px; font-weight: 800; text-align: left; border-right: 1px solid #666; }
.industry-table td { padding: 22px 16px; vertical-align: top; border: 1px solid var(--line); }
.industry-table tbody tr:nth-child(even) td { background: var(--soft); }
.table-note { margin-top: 24px; color: var(--muted); font-size: 16px; text-align: left; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; text-align: left; }
.plan { position: relative; padding: 40px; border: 1px solid var(--line); border-top: 5px solid var(--ink); border-radius: 0 0 12px 12px; background: var(--paper); }
.plan.recommended { border: 2px solid var(--accent); border-top-width: 5px; padding: 40px 39px 39px; }
.plan h3 { font-size: 32px; }
.plan-intro { color: var(--muted); margin-top: 16px; min-height: 65px; font-size: 18px; }
.plan ul { padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line); margin-top: 24px; }
.plan li { position: relative; padding-left: 28px; font-size: 18px; }
.plan li + li { margin-top: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 13px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.badge { position: absolute; top: -23px; right: 24px; padding: 6px 24px; border-radius: 30px; background: var(--accent); color: var(--paper); font-size: 18px; font-weight: 800; }
.faq-list { max-width: 960px; margin: 44px auto 0; text-align: left; border-top: 2px solid var(--ink); }
.faq { padding: 32px 0; border-bottom: 1px solid var(--line); }
.faq h3 { display: flex; gap: 24px; font-size: 20px; letter-spacing: 0; text-wrap: initial; }
.faq h3::before { content: "Q."; color: var(--ink); font-size: 24px; flex: 0 0 36px; line-height: 1.25; }
.faq p { padding-left: 60px; color: var(--muted); margin-top: 14px; font-size: 18px; }
.contact { text-align: center; padding-block: 112px; background: var(--ink); color: var(--paper); scroll-margin-top: 0; }
.contact h2 { max-width: 880px; margin-inline: auto; }
.contact .lead { margin-inline: auto; max-width: 720px; color: #e1e1e1; }
.contact .cta { min-height: 72px; padding-inline: 44px; background: var(--paper); color: var(--accent); border-color: var(--paper); box-shadow: 0 8px 20px #0002; }
.contact-note { margin-top: 22px; color: #e1e1e1; font-size: 16px; }

@media (max-width: 1100px) {
  .hero-stage { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
  h1 { font-size: 50px; }
  .hero-preview .output { width: calc(100% - 20px); }
  .step { padding-inline: 18px; }
  .step h2 { font-size: 20px; }
  .demo { grid-template-columns: 300px 26px minmax(0, 1fr); gap: 22px; }
  .case { padding: 32px; }
  .output-body { padding: 20px 16px; }
  .flow-arrow { width: 24px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero-stage { grid-template-columns: 1fr; gap: 48px; padding-block: 72px; }
  .hero-preview { width: min(620px, 100%); margin-inline: auto; }
  .hero-preview .output { width: 66%; margin-top: 160px; }
  .hero-preview .phone { width: 300px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .step { padding: 26px; }
  .step h2 { font-size: 22px; }
  .concerns { grid-template-columns: 1fr; gap: 16px; }
  .demo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .phone { justify-self: center; }
  .flow-arrow { transform: rotate(90deg); }
  .industry-table th { padding: 18px 10px; font-size: 17px; }
  .industry-table td { padding: 18px 12px; }
  .plans { gap: 24px; }
  .plan { padding: 32px 26px; }
  .plan.recommended { padding: 32px 25px 31px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: 34px; line-height: 1.4; letter-spacing: -.045em; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  .hero-stage { padding-block: 48px 56px; gap: 44px; min-height: 80vh; }
  .hero h1 .accent { margin-top: 16px; }
  .hero .lead { font-size: 17px; margin-top: 24px; }
  .eyebrow { padding: 6px 12px; font-size: 15px; letter-spacing: 0; margin-bottom: 22px; }
  .cta { display: flex; width: 100%; font-size: 20px; min-height: 68px; padding-inline: 24px; margin-top: 28px; }
  .hero-preview .phone { width: min(300px, 100% - 24px); min-height: 408px; }
  .hero-preview .output { width: calc(100% - 20px); margin-top: 350px; }
  .steps-band { padding-block: 40px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 0 16px; padding: 24px 18px; }
  .step-number { grid-row: 1 / 3; font-size: 40px; margin-bottom: 0; }
  .step h2 { padding-top: 2px; font-size: 22px; }
  .step p { grid-column: 2; margin-top: 10px; font-size: 16px; }
  .section { padding-block: 72px; }
  .section > .wrap > .lead { font-size: 17px; text-align: left; }
  .concerns { margin-block: 30px 24px; }
  .concerns li { padding: 24px 20px; gap: 16px; font-size: 20px; }
  .closing { font-size: 17px; text-align: left; }
  .cases { margin-top: 32px; gap: 28px; }
  .case { padding: 28px 16px; }
  .case-title { display: block; }
  .case-number { display: block; font-size: 22px; margin-bottom: 12px; }
  .case-title h3 { font-size: 24px; }
  .case > .lead { font-size: 17px; }
  .demo { gap: 26px; margin-block: 28px; }
  .phone { width: min(300px, 100%); }
  .output > h4 { font-size: 20px; padding: 16px; }
  .output-body { padding: 20px 12px; }
  .mini-table { font-size: 16px; }
  .mini-table th, .mini-table td { padding: 10px 5px; }
  .mini-table th { font-size: 15px; }
  .task-table th:first-child { width: 20%; }
  .task-table th:last-child { width: 25%; }
  .result { font-size: 20px; padding-top: 22px; }
  .image-note { font-size: 14px; }
  .industry-wrap { margin-top: 32px; }
  /* 同じ表を業種ごとに縦に並べ、内容と見出しの対応を保つ。 */
  .industry-table { display: grid; grid-template-columns: minmax(0, 1fr); border-collapse: separate; }
  .industry-table thead, .industry-table tbody, .industry-table tr { display: contents; }
  .industry-table th, .industry-table td { display: block; grid-column: 1; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
  .industry-table th { padding: 18px 20px; border: 0; margin-top: 26px; font-size: 18px; }
  .industry-table th:first-child { margin-top: 0; }
  .industry-table td { padding: 15px 20px; border-top: 0; font-size: 16px; }
  .industry-table :is(th, td):nth-child(1) { --column: 0; }
  .industry-table :is(th, td):nth-child(2) { --column: 1; }
  .industry-table :is(th, td):nth-child(3) { --column: 2; }
  .industry-table :is(th, td):nth-child(4) { --column: 3; }
  .industry-table :is(th, td):nth-child(5) { --column: 4; }
  .industry-table th { grid-row: calc(var(--column) * 7 + 1); }
  .industry-table tbody tr:nth-child(1) { --row: 2; }
  .industry-table tbody tr:nth-child(2) { --row: 3; }
  .industry-table tbody tr:nth-child(3) { --row: 4; }
  .industry-table tbody tr:nth-child(4) { --row: 5; }
  .industry-table tbody tr:nth-child(5) { --row: 6; }
  .industry-table tbody tr:nth-child(6) { --row: 7; }
  .industry-table td { grid-row: calc(var(--column) * 7 + var(--row)); }
  .table-note { font-size: 16px; }
  .plans { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .plan { padding: 32px 24px; }
  .plan.recommended { padding: 32px 23px 31px; }
  .plan h3 { font-size: 32px; }
  .plan-intro { min-height: 0; font-size: 17px; }
  .plan li { font-size: 17px; }
  .badge { right: 18px; }
  .faq-list { margin-top: 32px; }
  .faq { padding-block: 26px; }
  .faq h3 { font-size: 20px; gap: 12px; }
  .faq h3::before { flex-basis: 28px; }
  .faq p { padding-left: 40px; font-size: 17px; }
  .contact { padding-block: 76px; }
  .contact h2 { font-size: 28px; }
  .contact .lead { font-size: 17px; text-align: left; }
  .contact .cta { padding-inline: 24px; }
  .contact-note { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cta:hover, .cta:focus-visible { transform: none; }
}
