/* Cutline Studio 外部販売ページ用スタイル
   noteには貼り付けられません（note本文はMarkdown系エディタのみ）。
   自前のWebサイト・BOOTH等の外部LPで index.html と一緒に使ってください。 */

:root {
  --canvas: #f5f7f9;
  --surface: #ffffff;
  --ink: #14232e;
  --muted: #5b6d7a;
  --subtle: #8ba0ad;
  --line: #dce5ea;
  --line-strong: #c3d1d9;
  --accent: #1c86c7;
  --accent-strong: #10659b;
  --accent-soft: #e3f2fb;
  --navy: #0b1b26;
  --navy-2: #10293a;
  --green: #1e9e6a;
  --amber: #b97324;
  --radius: 6px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

/* --- ヒーロー ----------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 58%, #14405c 100%);
  color: #e8f3fa;
  padding: 88px 0 72px;
}
.hero .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #7cc4ea;
  border: 1px solid rgba(124, 196, 234, .4);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.4;
  letter-spacing: -.01em;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: #6ec1f0; }
.hero .lead {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #b9d2e2;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-block;
  border-radius: var(--radius);
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(28, 134, 199, .35); }
.button-primary:hover { background: var(--accent-strong); }
.button-ghost { border: 1px solid rgba(232, 243, 250, .35); color: #e8f3fa; }
.hero .cta-note { width: 100%; font-size: 12.5px; color: #8fb0c4; margin-top: 6px; }
.hero .shot { margin-top: 48px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(124,196,234,.25); box-shadow: 0 30px 80px rgba(0,0,0,.45); }

/* --- セクション共通 ------------------------------------------------------ */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--accent-strong);
  text-transform: uppercase;
  margin-bottom: 10px;
}
h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.45; letter-spacing: -.01em; margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 720px; margin-bottom: 40px; }

/* --- 課題（Before） ------------------------------------------------------ */
.pain-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 26px; }
.pain-list li {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--muted);
}
.pain-list li strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* --- Before / After ------------------------------------------------------ */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; }
.ba-card.after { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 42%); }
.ba-card h3 { font-size: 13px; letter-spacing: .12em; margin-bottom: 14px; }
.ba-card.before h3 { color: var(--amber); }
.ba-card.after h3 { color: var(--accent-strong); }
.ba-card ul { padding-left: 19px; }
.ba-card li { font-size: 14.5px; color: var(--muted); margin-bottom: 9px; }
.ba-card li strong { color: var(--ink); }

/* --- 特徴 ---------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 28px;
}
.feature .num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* --- スクリーンショット -------------------------------------------------- */
.shot-block { margin-bottom: 44px; }
.shot-block:last-child { margin-bottom: 0; }
.shot-block figure {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 35, 46, .12);
}
.shot-block figcaption {
  font-size: 13.5px;
  color: var(--muted);
  padding: 12px 4px 0;
}

/* --- 比較表 -------------------------------------------------------------- */
.compare-scroll { overflow-x: auto; }
table.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14.5px;
}
table.compare th, table.compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
table.compare thead th { background: var(--navy); color: #dbeaf4; font-size: 13px; letter-spacing: .04em; }
table.compare td.yes { color: var(--green); font-weight: 700; text-align: center; }
table.compare td.no { color: var(--subtle); text-align: center; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare .highlight td { background: var(--accent-soft); }

/* --- 手順 ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 28px;
  position: relative;
}
.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* --- スペック表 ---------------------------------------------------------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 220px; background: var(--canvas); color: var(--muted); font-weight: 700; white-space: nowrap; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* --- 注意 ---------------------------------------------------------------- */
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.notice h3 { font-size: 15px; margin-bottom: 6px; }
.notice p { font-size: 14px; color: var(--muted); }

/* --- FAQ ----------------------------------------------------------------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 20px 18px; font-size: 14.5px; color: var(--muted); }

/* --- 最終CTA ------------------------------------------------------------- */
.final-cta { background: var(--navy); color: #e8f3fa; text-align: center; padding: 80px 0; }
.final-cta h2 { color: #fff; margin-bottom: 12px; }
.final-cta p { color: #b9d2e2; margin-bottom: 30px; }
.final-cta .cta-note { font-size: 12.5px; color: #8fb0c4; margin-bottom: 0; }
.final-cta .cta-note a { color: #cfe6f5; text-decoration: underline; }
.final-cta .cta-note a:hover { color: #fff; }

/* --- フッター ------------------------------------------------------------ */
footer { padding: 36px 0 48px; font-size: 12.5px; color: var(--subtle); }
footer p { max-width: 780px; }

/* --- レスポンシブ -------------------------------------------------------- */
@media (max-width: 760px) {
  section { padding: 52px 0; }
  .hero { padding: 64px 0 52px; }
  .ba-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 130px; white-space: normal; }
}

/* --- インストール時の警告 -------------------------------------------------
   購入前に必ず目に入る位置に置く帯。故障と誤解されて返金・低評価につながる
   唯一の場所なので、他のsectionより強く出す。 */
.install-warning {
  padding: 34px 0;
  background: #fff8ec;
  border-top: 1px solid #e8d3ac;
  border-bottom: 1px solid #e8d3ac;
}
.install-warning-title {
  margin: 0 0 8px;
  color: #7a4a12;
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 800;
  line-height: 1.45;
}
.install-warning-lead { margin: 0 0 18px; color: #7d6547; font-size: 14px; line-height: 1.8; }
.install-warning-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.install-warning-grid > div {
  padding: 16px 20px;
  border: 1px solid #e8d3ac;
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface);
}
.install-warning-grid h3 { margin: 0 0 6px; color: var(--ink); font-size: 14px; font-weight: 800; }
.install-warning-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.install-warning-grid strong { color: var(--ink); }
.install-warning-note { margin: 16px 0 0; color: #7d6547; font-size: 13px; line-height: 1.8; }
.install-warning-note a { color: var(--accent-strong); }
