/* AUTOCLIPTOOL for Store — Microsoft Store 専用サイト 共通スタイル */

:root {
  --bg: #ffffff;
  --bg-dark: #0f172a;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-soft: #fee2e2;
  --max: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Helvetica, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}
.site-brand:hover {
  text-decoration: none;
}
.site-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  display: inline-block;
}
.site-brand-text {
  font-size: 15px;
}
.site-brand-text small {
  display: block;
  color: var(--text-faint);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ===== Main ===== */
.site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-eyebrow {
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 32px;
}

/* ===== Hero (top page) ===== */
.hero {
  padding: 64px 0 32px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0 12px;
}
.hero-lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 17px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 15px;
  transition: background 0.15s;
}
.hero-cta:hover {
  background: var(--accent);
  text-decoration: none;
}
.hero-note {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Spec table ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 48px;
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  background: var(--bg-soft);
  font-weight: 700;
  width: 32%;
  color: var(--text-muted);
}

/* ===== Legal document layout ===== */
.legal-doc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 36px;
}
.legal-doc section + section {
  margin-top: 28px;
}
.legal-doc h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--text);
}
.legal-doc h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 20px 0 8px;
}
.legal-doc p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.85;
}
.legal-doc ul,
.legal-doc ol {
  margin: 0 0 12px;
  padding-left: 24px;
}
.legal-doc li {
  margin-bottom: 4px;
  font-size: 14.5px;
  line-height: 1.8;
}
.legal-doc .doc-meta {
  color: var(--text-faint);
  font-size: 13px;
  text-align: right;
  margin: -4px 0 24px;
}
.legal-doc .doc-foot {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12px;
  color: var(--text-faint);
  text-align: right;
}

/* ===== Support / FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
}
.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}
.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-card {
  margin-top: 32px;
  background: var(--text);
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
}
.contact-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}
.contact-card p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.contact-card a {
  color: #fff;
  text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 24px;
  margin-top: 64px;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-faint);
  font-size: 12px;
}
.site-footer a {
  color: var(--text-muted);
}

/* ===== Utility ===== */
.muted {
  color: var(--text-muted);
}
.tiny {
  font-size: 12px;
}
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
