/* SPCMS ランディングページ */
:root {
  --primary: #1D9E75;
  --primary-light: #5DCAA5;
  --primary-dark: #0F6E56;
  --primary-bg: #E8F6F1;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --line: #e3e7e5;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 110, 86, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-dark); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── ヘッダー ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--text); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 5px; }
.brand-mark i { background: #fff; border-radius: 2px; opacity: .9; }
.brand small { font-weight: 500; font-size: 0.75rem; color: var(--text-light); margin-left: 4px; }
.gnav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.gnav a { color: var(--text); }
.gnav a:hover { color: var(--primary); }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; transition: .2s; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary-dark); background: #fff; }
.btn-outline:hover { background: var(--primary-bg); }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.gnav a.btn-primary { color: #fff; }

/* ── ヒーロー ── */
.hero { padding: 84px 0 72px; background: linear-gradient(180deg, var(--primary-bg) 0%, #fff 100%); }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--primary-dark); background: #fff; border: 1px solid var(--primary-light); border-radius: 999px; padding: 4px 14px; letter-spacing: 0.08em; }
.hero h1 { font-size: 2.6rem; line-height: 1.35; margin: 18px 0 16px; font-weight: 900; letter-spacing: 0.01em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: 1.1rem; color: var(--text-light); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ヒーロー図解 */
.flow-visual { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mock { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { height: 28px; background: #f1f3f4; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 0.7rem; color: var(--text-light); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5d9dc; display: inline-block; }
.mock-sheet table { width: 100%; border-collapse: collapse; font-size: 0.72rem; table-layout: fixed; }
.mock-sheet th, .mock-sheet td { border: 1px solid #e6e9eb; padding: 5px 8px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-sheet th { background: #f8f9fa; color: var(--text-light); font-weight: 500; }
.mock-sheet td.op { color: var(--primary-dark); font-weight: 700; }
.mock-site { padding: 12px 14px; }
.mock-site .h { height: 10px; width: 50%; background: var(--primary); border-radius: 4px; margin-bottom: 10px; }
.mock-site .l { height: 7px; background: #e8ebed; border-radius: 4px; margin: 6px 0; }
.mock-site .l.s { width: 70%; }
.mock-site .news { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; font-size: 0.72rem; }
.mock-site .news span { color: var(--text-light); margin-right: 8px; }
.arrow-down { color: var(--primary); font-size: 1.4rem; line-height: 1; text-align: center; }
.arrow-down small { display: block; font-size: 0.72rem; color: var(--text-light); }

/* ── セクション共通 ── */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .tag { color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }
.sec-head h2 { font-size: 1.9rem; margin: 6px 0 10px; font-weight: 900; }
.sec-head p { color: var(--text-light); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-bg); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-light); font-size: 0.95rem; }

/* ── 仕組み ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; position: relative; }
.step .no { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.step h3 { font-size: 1.02rem; margin: 0 0 6px; }
.step p { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.step + .step::before { content: "›"; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); color: var(--primary-light); font-size: 1.8rem; font-weight: 900; }
.note { margin-top: 26px; text-align: center; background: var(--primary-bg); border-radius: 10px; padding: 14px 18px; color: var(--primary-dark); font-weight: 700; }

/* ── できること ── */
.can-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.can-table th, .can-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.can-table th { width: 26%; background: var(--primary-bg); color: var(--primary-dark); font-weight: 700; }
.can-table tr:last-child th, .can-table tr:last-child td { border-bottom: none; }
.can-table td { color: var(--text-light); font-size: 0.95rem; }

/* ── 事例・料金 ── */
.case { display: flex; gap: 18px; align-items: center; }
.case .thumb { flex: 0 0 120px; height: 80px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.9rem; }
.price-box { background: #fff; border: 2px solid var(--primary); border-radius: var(--radius); padding: 36px; text-align: center; max-width: 720px; margin: 0 auto; }
.price-box h3 { font-size: 1.5rem; margin: 0 0 8px; }
.price-box ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; text-align: left; font-size: 0.95rem; }
.price-box li::before { content: "✓"; color: var(--primary); font-weight: 900; margin-right: 8px; }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; color: var(--primary); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--text-light); font-size: 0.95rem; }

/* ── CTA ── */
.cta { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { font-size: 1.9rem; margin: 0 0 10px; }
.cta p { margin: 0 0 26px; opacity: .9; }
.cta .btn-primary { background: #fff; color: var(--primary-dark); }
.cta .btn-primary:hover { background: var(--primary-bg); }

/* ── フッター ── */
.site-footer { padding: 34px 0; font-size: 0.85rem; color: var(--text-light); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.site-footer nav a { margin-left: 18px; color: var(--text-light); }
.site-footer nav a:hover { color: var(--primary); }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step + .step::before { display: none; }
  .gnav a:not(.btn) { display: none; }
  .price-box ul { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.7rem; }
  .can-table th { width: 34%; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .site-footer nav a { margin: 0 8px; }
}
