/* kaizen.zone-web.jp 簡易LP（段階0）— スマホ優先・画像なし・アニメーションなし */

:root {
  --navy: #14294a;
  --navy-2: #1f3a63;
  --ink: #1b2430;
  --ink-2: #47515e;
  --line: #d6dce4;
  --line-2: #e7ebf0;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --paper: #fbfaf6;
  --accent: #1d6b52;
  --accent-dark: #155540;
  --accent-soft: #e6f2ec;
  --warn: #9a5b00;
  --warn-soft: #fff4dc;
  --radius: 6px;
  --gutter: 16px;
  --max: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-2);
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f0a800;
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 10;
}

/* ヘッダー */
.site-header {
  border-bottom: 1px solid var(--line-2);
  background: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 12px;
}

.brand {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.3;
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.header-link {
  font-size: 14px;
  color: var(--navy-2);
  white-space: nowrap;
}

/* ファーストビュー */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 36px 0 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 .line {
  display: block;
}

/* 語の途中で改行させない区切り（スマホの見出し用） */
.nb {
  display: inline-block;
}

.hero .lead {
  font-size: 17px;
  color: #dfe6f0;
  margin-bottom: 24px;
}

.hero .note {
  font-size: 14px;
  color: #c9d3e1;
  margin-top: 14px;
  line-height: 1.7;
}

/* ボタン */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  line-height: 1.4;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero .btn {
  border-color: #fff;
}

.btn .arrow {
  font-weight: 400;
}

.btn-sub {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 10px;
}

/* セクション */
.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line-2);
}

.section.soft {
  background: var(--bg-soft);
}

.section-title {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid var(--navy);
}

.section-title .kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.subhead {
  font-size: 18px;
  color: var(--navy);
  margin: 28px 0 12px;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 15px;
  line-height: 1.75;
}

/* 対応例 01〜03 */
.tasks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.task {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.task .num {
  grid-row: span 2;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
  border-right: 1px solid var(--line);
}

.task h3 {
  font-size: 17px;
  color: var(--navy);
}

.task p {
  color: var(--ink-2);
}

.callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* 導入前→後の流れ */
.flows {
  display: grid;
  gap: 16px;
}

.flow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.flow-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 1px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.flow.before .flow-label {
  background: var(--line-2);
  color: var(--ink-2);
}

.flow.after {
  border-color: var(--accent);
}

.flow.after .flow-label {
  background: var(--accent);
  color: #fff;
}

.steps {
  list-style: none;
  display: grid;
  gap: 0;
}

.steps li {
  position: relative;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  margin-bottom: 26px;
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #9aa6b5;
  transform: translateX(-50%);
}

.steps li:last-child::after {
  display: none;
}

.steps li.manual {
  background: var(--warn-soft);
  border-color: #ecd29b;
}

.steps li.auto {
  background: var(--accent-soft);
  border-color: #b5d6c6;
}

.steps li.human {
  background: #fff;
  border: 2px solid var(--navy);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: 1px;
  line-height: 1.8;
}

.tag.t-manual {
  background: var(--warn);
  color: #fff;
}

.tag.t-auto {
  background: var(--accent);
  color: #fff;
}

.tag.t-human {
  background: var(--navy);
  color: #fff;
}

/* 架空の注文書 → 表 */
.sample {
  margin: 24px 0 0;
  border: 1px dashed #9aa6b5;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.sample-caption {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.sample-grid {
  display: grid;
  gap: 14px;
  align-items: center;
}

.order {
  background: var(--paper);
  border: 1px solid #cfc9b8;
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 3px 3px 0 #e5e1d4;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid #4a4a4a;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.order-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.order-meta {
  font-size: 12px;
  color: #555;
}

.order-to {
  font-size: 13px;
  margin-bottom: 8px;
}

.order table,
.sheet table {
  width: 100%;
  border-collapse: collapse;
}

.order th,
.order td {
  border: 1px solid #8f8a7b;
  padding: 3px 6px;
  text-align: left;
  font-weight: 400;
}

.order th {
  background: #efebdf;
  font-size: 12px;
}

.order td.hand {
  font-family: "Klee One", "YuKyokasho", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  color: #1f3f8a;
}

.order td.qty {
  text-align: right;
}

.order th,
.order td.qty,
.order td.nw,
.sheet th,
.sheet td.qty,
.sheet td.nw {
  white-space: nowrap;
}

.convert {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
}

.convert .chev {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.sheet {
  border: 1px solid #9fb3a8;
  background: #fff;
  font-size: 13px;
  overflow-x: auto;
  border-radius: 3px;
}

.sheet-bar {
  background: #1d6b52;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}

.sheet th,
.sheet td {
  border: 1px solid #d3ddd7;
  padding: 3px 5px;
  text-align: left;
}

.sheet th {
  background: #eef3f0;
  font-weight: 700;
  font-size: 12px;
}

.sheet td.qty {
  text-align: right;
}

.sheet td.check {
  background: var(--warn-soft);
  outline: 2px solid var(--warn);
  outline-offset: -2px;
}

.sheet-note {
  font-size: 12px;
  color: var(--warn);
  padding: 4px 8px;
  border-top: 1px solid #d3ddd7;
  background: #fffaf0;
}

.disclaimer {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
}

.disclaimer strong {
  color: var(--ink);
}

/* 費用 */
.price-card {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.price-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 17px;
}

.price-body {
  padding: 18px 16px;
}

.price {
  font-size: 15px;
  margin-bottom: 14px;
}

.price .yen {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.price .yen small {
  font-size: 18px;
}

.includes {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 14px;
}

.includes h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 4px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.notes {
  list-style: none;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.notes li {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 4px;
}

.notes li::before {
  content: "※";
}

.others {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.others h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--ink);
}

.others ul {
  list-style: none;
}

/* ご相談から導入まで */
.process {
  list-style: none;
  counter-reset: p;
  display: grid;
  gap: 10px;
}

.process li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.process li::before {
  content: counter(p);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process strong {
  display: block;
  color: var(--navy);
}

/* 無料チェック */
.io {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}

.io-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.io-box h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}

.io-box .ex {
  font-size: 15px;
  color: var(--ink-2);
  border-left: 3px solid var(--line);
  padding-left: 10px;
  margin-top: 8px;
}

.scope {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.scope th,
.scope td {
  border: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
  text-align: left;
  width: 50%;
}

.scope thead th {
  font-size: 14px;
}

.scope thead th.free {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.scope thead th.paid {
  background: var(--bg-soft);
  color: var(--ink-2);
}

/* 送る前に */
.caution-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.caution-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.caution-list strong {
  color: var(--navy);
}

.ai-note {
  border: 1px solid var(--navy-2);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.ai-note h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

/* 事業者紹介 */
.profile {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.profile th,
.profile td {
  border-bottom: 1px solid var(--line);
  padding: 12px 6px;
  text-align: left;
  vertical-align: top;
}

.profile th {
  width: 7.5em;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q";
  color: var(--accent);
  margin-right: 8px;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-2);
}

.faq details[open] summary::after {
  content: "−";
}

.faq .answer {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line-2);
  padding-top: 12px;
}

/* 最後の呼びかけ */
.closing {
  background: var(--navy);
  color: #fff;
  padding: 44px 0;
}

.closing h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.closing p {
  color: #dfe6f0;
}

.closing .btn {
  margin-top: 20px;
  border-color: #fff;
}

.closing .btn-sub {
  color: #c9d3e1;
}

/* フッター */
.site-footer {
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
}

.site-footer a {
  color: var(--ink-2);
}

.site-footer .links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 8px;
}

/* 案内ページ（/ と /404） */
.plain {
  padding: 40px 0 48px;
}

.plain h1 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 14px;
}

.card-link {
  display: block;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
  margin: 20px 0;
}

.card-link:hover {
  background: var(--bg-soft);
}

.card-link .card-title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.card-link .card-go {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
}

/* 幅が広いとき */
@media (min-width: 720px) {
  .hero {
    padding: 64px 0 68px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .btn {
    width: auto;
    display: inline-flex;
    padding-left: 36px;
    padding-right: 36px;
  }

  .hero .note {
    max-width: 34em;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .tasks {
    grid-template-columns: repeat(3, 1fr);
  }

  .task {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .task .num {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .flows {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .sample-grid {
    grid-template-columns: 1fr 72px 1.25fr;
  }

  .convert .chev {
    transform: rotate(-90deg);
  }

  .io {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
  }

  .closing h2 {
    font-size: 26px;
  }

  .closing .btn-sub {
    text-align: left;
  }
}

/* 手紙1枚目と揃える（10-20） */
.hero .hl { color: #f6b04a; }
.hero .lead strong { font-weight: 700; text-decoration: underline; text-decoration-color: #f6b04a; text-underline-offset: 4px; }
.hero .lead-sub { font-size: .92em; opacity: .85; margin-top: 4px; }
