/* AI Worker's Pass — LP v2 shared styles
   モバイルファースト / 30〜60代向け（本文17px・行間1.8・広めの余白）
   トーン: やさしい・清潔 / アクセント=落ち着いたグリーン（かかりつけ医＝安心感）
   LINE CTAのみ LINEグリーン(#06C755) */

:root {
  --bg:        #FBFAF7;
  --surface:   #FFFFFF;
  --surface-2: #F3F6F2;
  --ink:       #262B27;
  --ink-soft:  #4C564E;
  --muted:     #6E7A71;
  --line:      #E4E9E3;
  --green:     #2F8F6B;   /* 落ち着いたアクセント */
  --green-ink: #226b50;
  --green-bg:  #EAF3EE;
  --line-green:#06C755;   /* LINE公式カラー（CTA専用） */
  --line-green-d:#05A648;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20,40,30,.04), 0 8px 28px rgba(20,50,35,.06);
  --maxw: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
               "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }

/* ---- レイアウト ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

section { padding: 56px 0; }
@media (min-width: 640px){ section { padding: 76px 0; } }

.section-alt { background: var(--surface-2); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--green);
  background: var(--green-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1, h2, h3 { line-height: 1.5; letter-spacing: .01em; }
h2.section-title {
  font-size: clamp(22px, 5.4vw, 30px);
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ink);
}
h2.section-title .soft { color: var(--ink-soft); font-weight: 700; }

.lead { font-size: clamp(16.5px, 4.2vw, 18px); color: var(--ink-soft); }
.note { font-size: 14px; color: var(--muted); }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,250,247,.86);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 15px; }
.header-cta { display: none; }
@media (min-width: 640px){ .header-cta { display: inline-flex; } }

/* ---- HERO ---- */
.hero {
  background:
    radial-gradient(120% 90% at 50% -10%, #F0F7F2 0%, rgba(240,247,242,0) 60%),
    var(--bg);
  padding: 44px 0 52px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(27px, 7.6vw, 44px);
  font-weight: 900;
  letter-spacing: .005em;
  margin: 10px 0 20px;
}
.hero .sub { max-width: 34em; margin: 0 auto 12px; color: var(--ink-soft); font-size: clamp(16px, 4.2vw, 18px); }
.hero .kakaritsuke { font-weight: 700; color: var(--green-ink); }
.hero .cta-row { margin-top: 26px; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 17px; line-height: 1;
  padding: 17px 30px; border-radius: 999px; text-decoration: none;
  border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-line {
  background: var(--line-green); color: #fff;
  box-shadow: 0 6px 18px rgba(6,199,85,.28);
}
.btn-line:hover { background: var(--line-green-d); transform: translateY(-1px); }
.btn-line .li { width: 22px; height: 22px; display: grid; place-items: center; background: #fff; color: var(--line-green); border-radius: 6px; font-weight: 900; font-size: 12px; }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-note { display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ---- §2 声カード ---- */
.voices { display: grid; gap: 16px; margin-top: 8px; }
.voice {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: var(--shadow); position: relative;
}
.voice::before { content: "\201C"; position: absolute; top: 2px; left: 16px; font-size: 46px; color: var(--green-bg); font-weight: 800; }
.voice p { margin: 6px 0 12px; position: relative; }
.voice .who { font-size: 14px; color: var(--muted); font-weight: 700; }
.voices-after { margin-top: 22px; font-weight: 700; color: var(--ink); }

/* ---- 汎用テキストブロック ---- */
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.big-line { font-size: clamp(19px, 5vw, 24px); font-weight: 800; line-height: 1.6; }
.accent-ink { color: var(--green-ink); }

/* ---- §5 変容の旅ステップ ---- */
.journey { display: grid; gap: 14px; margin-top: 8px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-bg); color: var(--green-ink);
  display: grid; place-items: center; font-weight: 900; font-size: 20px;
}
.step .st-title { font-weight: 800; margin: 2px 0 4px; }
.step .st-title .tag { font-size: 12.5px; font-weight: 700; color: var(--green); margin-left: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.step.entry .num { background: #FDECEC; color: #C0564E; }
.step.exit .num  { background: var(--green); color: #fff; }
.journey-after { margin-top: 20px; color: var(--ink-soft); }

/* ---- §6 3つの価値 ---- */
.values { display: grid; gap: 18px; margin-top: 8px; }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.value .vhead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.value .vico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-bg); display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.value h3 { margin: 0; font-size: 18.5px; font-weight: 800; }
.value p { margin: 0 0 10px; }
.value p:last-child { margin-bottom: 0; }

/* ---- §7 チャットバブル ---- */
.chat {
  margin-top: 8px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 22px; padding: 20px 16px; display: grid; gap: 14px;
}
.bubble-row { display: flex; gap: 10px; align-items: flex-end; }
.bubble-row.me { flex-direction: row-reverse; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; flex: 0 0 auto; background: #fff; border: 1px solid var(--line); }
.bubble-row.op .avatar { background: var(--green-bg); }
.bubble {
  max-width: 78%; padding: 13px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.7;
  box-shadow: 0 1px 1px rgba(20,40,30,.05);
}
.bubble-row.me .bubble { background: var(--line-green); color: #fff; border-bottom-right-radius: 6px; }
.bubble-row.op .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble .prompt-ex { display: block; margin: 8px 0; padding: 11px 13px; background: var(--surface-2); border-left: 3px solid var(--green); border-radius: 8px; font-size: 14.5px; color: var(--ink); }
.chat-note { margin-top: 16px; }

/* ---- §8 memory ---- */
.memory-quote {
  margin-top: 20px; background: var(--green-bg); border-radius: var(--radius);
  padding: 20px 22px; font-weight: 700; color: var(--green-ink); line-height: 1.7;
}

/* ---- §9 向き/不向き ---- */
.fit { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 700px){ .fit { grid-template-columns: 1fr 1fr; } }
.fit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.fit-card h3 { margin: 0 0 14px; font-size: 17px; display: flex; align-items: center; gap: 9px; }
.fit-card.yes h3 { color: var(--green-ink); }
.fit-card.no h3 { color: #9a6a2f; }
.fit-card ul { margin: 0; padding: 0; list-style: none; }
.fit-card li { position: relative; padding: 7px 0 7px 30px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.fit-card li:first-child { border-top: 0; }
.fit-card li::before { position: absolute; left: 2px; top: 7px; font-weight: 900; }
.fit-card.yes li::before { content: "✓"; color: var(--green); }
.fit-card.no li::before { content: "—"; color: #C9A15E; }

/* ---- §10 料金 ---- */
.price-card {
  margin-top: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 30px 24px; box-shadow: var(--shadow); text-align: center;
}
.price-card .amount { font-size: clamp(34px, 9vw, 48px); font-weight: 900; color: var(--ink); line-height: 1.1; }
.price-card .amount small { font-size: 17px; font-weight: 700; color: var(--muted); }
.price-card .free {
  display: inline-block; margin-top: 8px; font-weight: 800; color: var(--green-ink);
  background: var(--green-bg); padding: 8px 18px; border-radius: 999px;
}
.price-card ul { text-align: left; max-width: 30em; margin: 22px auto 0; padding: 0; list-style: none; }
.price-card li { padding: 9px 0 9px 30px; position: relative; border-top: 1px dashed var(--line); font-size: 15.5px; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 900; }

/* ---- §11 ゴール ---- */
.goal { text-align: center; }
.goal .big-line { max-width: 20em; margin: 0 auto 18px; }

/* ---- §12 最終CTA ---- */
.final-cta { text-align: center; background: linear-gradient(180deg, var(--green-bg), var(--bg)); }
.final-cta .btn-line { font-size: 18px; padding: 19px 36px; }

/* ---- フッター ---- */
.site-footer { background: #20261F; color: #C9D2C7; padding: 40px 0 48px; font-size: 14.5px; }
.site-footer .wrap { text-align: center; }
.site-footer .foot-brand { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 20px; }
.site-footer nav a { color: #BFD8C8; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .copy { color: #8A968A; font-size: 13px; }

/* ---- 追従CTA（モバイル） ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,250,247,.92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(120%); transition: transform .25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 760px){ .sticky-cta { display: none; } }
body.has-sticky { padding-bottom: 84px; }
@media (min-width: 760px){ body.has-sticky { padding-bottom: 0; } }

/* ---- 法務ページ ---- */
.legal { padding: 40px 0 60px; }
.legal .doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(22px, 5.5vw, 28px); font-weight: 800; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 16px; font-weight: 800; margin: 20px 0 8px; color: var(--green-ink); }
.legal p, .legal li { font-size: 15.5px; line-height: 1.85; color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 1.3em; margin: 8px 0 14px; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--ink); }
/* 長いURL・メール等がモバイル幅で横溢れしないよう折り返す */
.legal a, .legal p, .legal li, .legal td { overflow-wrap: anywhere; word-break: break-word; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); font-weight: 700; color: var(--ink); }
.legal .callout { background: var(--green-bg); border-radius: 12px; padding: 14px 16px; margin: 14px 0; font-size: 14.5px; color: var(--green-ink); }
.legal .back { display: inline-block; margin-top: 26px; font-weight: 700; text-decoration: none; }
.legal .toc { display:flex; flex-wrap:wrap; gap:8px 18px; margin: 0 0 22px; font-size: 14px; }

/* 到達性 */
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
