/* ============================================================
   Atasino Voice — voice.atasino.com
   ビルドステップなし・外部依存なしの単一スタイルシート
   ブランド: インディゴ #585CEE → バイオレット #7A2FC8
   ============================================================ */

:root {
  --indigo: #585CEE;
  --violet: #7A2FC8;
  --grad: linear-gradient(160deg, #585CEE 0%, #6A46DB 55%, #7A2FC8 100%);
  --ink: #1d1e30;
  --muted: #5d6072;
  --faint: #8a8d9e;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --line: #e6e7f2;
  --card-shadow: 0 1px 2px rgba(29, 30, 48, 0.04), 0 8px 24px rgba(88, 92, 238, 0.07);
  --radius: 16px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* モバイルのみ改行 */
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  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: 700;
  font-size: 17px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .nav-cta {
  color: #fff;
  background: var(--grad);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { opacity: 0.9; }

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; opacity: 0.92; transform: translateY(-1px); }

.btn-primary { background: #fff; color: var(--indigo); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-grad { background: var(--grad); color: #fff; }
.btn-outline { background: #fff; color: var(--indigo); border-color: var(--indigo); }

.btn.is-disabled,
.btn.is-disabled:hover {
  cursor: default;
  opacity: 0.55;
  transform: none;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  text-align: center;
  padding: 88px 0 120px;
}

.hero .container { position: relative; z-index: 2; }

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: clamp(15px, 2.2vw, 19px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-env {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* 波形あしらい（ヒーロー下部） */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  width: 100%;
  height: 110px;
  z-index: 1;
  display: block;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 52px;
  font-size: 15px;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(88, 92, 238, 0.12), rgba(122, 47, 200, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--indigo); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 28px;
}
@media (max-width: 1020px) { .pricing { grid-template-columns: minmax(0, 420px); } }

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.price-card.featured {
  border: 2px solid var(--indigo);
  box-shadow: 0 4px 8px rgba(88, 92, 238, 0.08), 0 16px 40px rgba(88, 92, 238, 0.16);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-plan { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }

.price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.price-amount .yen { font-size: 24px; font-weight: 700; margin-right: 2px; }
/* NOTE: 二重価格 (打ち消し線) 表示のスタイルは意図的に置かない。
   販売未開始の段階で「定価に打ち消し線を引いて割引に見せる」形の表示は
   景表法上の有利誤認 (不当な二重価格表示) に当たるため、打ち消し線用の
   class 定義そのものを削除している (使用箇所は 0 件だった)。
   将来追加する場合は、比較対照価格が実際に販売された実績価格であることを
   確認したうえで PO 承認を取ること。 */
.price-note { font-size: 13px; color: var(--muted); margin: 6px 0 22px; }

.price-list {
  list-style: none;
  text-align: left;
  font-size: 14px;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 280px;
}
.price-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--indigo);
  border-bottom: 2.5px solid var(--indigo);
  transform: rotate(-45deg);
}

.pricing-notes {
  max-width: 720px;
  margin: 36px auto 0;
  font-size: 13px;
  color: var(--muted);
}
.pricing-notes li { margin-bottom: 4px; margin-left: 1.2em; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 22px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--indigo);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }

.faq .faq-a {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 30px; font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #16172a;
  color: #a5a8bd;
  padding: 48px 0 40px;
  font-size: 13px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #a5a8bd; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { width: 100%; margin-top: 8px; color: #6d7086; }

/* ---------- サブページ（法務・決済結果） ---------- */

.page-hero {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.page-hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 14px; margin-top: 8px; }

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.doc h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; }
.doc p { margin-bottom: 14px; font-size: 15px; }
.doc ul { margin: 0 0 14px 1.4em; font-size: 15px; }
.doc li { margin-bottom: 6px; }
.doc .doc-date { color: var(--faint); font-size: 13px; margin-bottom: 28px; }

.doc-table-wrap { overflow-x: auto; margin-bottom: 14px; }
.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }

/* 本文末尾のボタン列。inline style 属性を使わない（CSP style-src 'self' を保つため）。 */
.doc-actions { margin-top: 32px; }

/* 購入ボタン直下に置く取引条件リンク（特商法の表示の明瞭性 / D-25）。
   `.doc p` と詳細度を揃えるため p.price-legal で指定し、`.doc p` より後方に置く。 */
p.price-legal {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
p.price-legal a { color: var(--muted); text-decoration: underline; }
p.price-legal a:hover { color: var(--indigo); }

.todo-po { color: var(--faint); }

/* ---------- 販売準備中の告知 ----------
   販売・配布・ライセンス認証がいずれも稼働していない期間、
   全ページのヘッダー直下に表示する帯。JS に依存しない静的 HTML。 */

.prelaunch {
  background: #fff8e6;
  border-bottom: 1px solid #f0dfae;
  color: #6b5310;
}
.prelaunch .container {
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.75;
}
.prelaunch strong { color: #4d3b06; font-weight: 700; }
.prelaunch a { color: #6b5310; text-decoration: underline; }
.prelaunch a:hover { color: #4d3b06; }

/* 本文中に置く同趣旨のボックス（購入結果ページ・/buy 等） */
.prelaunch-note {
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #6b5310;
  margin: 0 0 24px;
  text-align: left;
}
.prelaunch-note strong { color: #4d3b06; font-weight: 700; }
.prelaunch-note a { color: #6b5310; text-decoration: underline; }
.prelaunch-note p { margin-bottom: 10px; }
.prelaunch-note p:last-child { margin-bottom: 0; }

/* ---------- 決済結果ページ ---------- */

.result-wrap {
  min-height: calc(100vh - 64px - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background: var(--bg-soft);
}

.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  max-width: 560px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
}

.result-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.result-mark.ok { background: linear-gradient(160deg, rgba(88, 92, 238, 0.14), rgba(122, 47, 200, 0.14)); }
.result-mark.ng { background: #f1f1f6; }
.result-mark svg { width: 34px; height: 34px; }

.result-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.result-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.result-steps {
  text-align: left;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px 24px 20px 40px;
  font-size: 14px;
  color: var(--muted);
  margin: 22px 0 26px;
}
.result-steps li { margin-bottom: 8px; }
.result-steps li:last-child { margin-bottom: 0; }
.result-steps strong { color: var(--ink); }

@media (max-width: 480px) {
  .hero { padding: 64px 0 100px; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .result-card { padding: 36px 24px; }
}
