/* =========================================================
   6FTMethod Members — Shared Styles
   本体サイト (index.html) の配色にトーンを合わせる
   ========================================================= */

:root {
  --bg: #050508;
  --bg-card: #0e0e18;
  --bg-elevated: #161624;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8f0;
  --text-muted: #9a9ab8;
  --text-dim: #6b6b85;
  --purple: #9b59b6;
  --purple-strong: #b36bd6;
  --blue: #6366f1;
  --gold: #d4ac0d;
  --gold-soft: #e6c34d;
  --danger: #ff5b6b;
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Meiryo", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple-strong); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.container.wide { max-width: 1080px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }

h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 48px 0 16px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
}
p { margin: 0 0 16px; }

/* Cards + sections */
.card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(212, 172, 13, 0.1);
  border: 1px solid rgba(212, 172, 13, 0.3);
  border-radius: 999px;
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 14px;
}
.price-big {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price-big small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: wait; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: white;
  box-shadow: 0 4px 24px rgba(155, 89, 182, 0.35);
}
.btn-primary:hover { color: white; box-shadow: 0 6px 32px rgba(155, 89, 182, 0.5); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 24px rgba(212, 172, 13, 0.35);
}
.btn-gold:hover { color: #1a1a1a; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--purple-strong); color: var(--text); }

.btn-block { width: 100%; }

/* Form inputs */
.input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus {
  outline: none;
  border-color: var(--purple-strong);
  box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Lists / feature bullets */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.feature-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-weight: 700;
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-active { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge-canceled { background: rgba(255, 91, 107, 0.15); color: var(--danger); }

/* Article body */
.article-body h2 { margin-top: 48px; }
.article-body h3 { margin-top: 32px; }
.article-body p { color: #d0d0e0; }
.article-body blockquote {
  border-left: 3px solid var(--purple-strong);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: normal;
}
.article-body code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-body th, .article-body td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--bg-elevated);
  color: var(--text);
}

/* Article list */
.article-list { list-style: none; padding: 0; }
.article-list li {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.article-list li:hover { border-color: var(--purple-strong); transform: translateY(-2px); }
.article-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.article-list .meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 14px;
}
.alert-error { background: rgba(255, 91, 107, 0.1); border: 1px solid rgba(255, 91, 107, 0.3); color: #ffc8cf; }
.alert-info { background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3); color: #c7d2fe; }
.alert-success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #a7f3d0; }

/* Loader */
.loader {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--purple-strong);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive tweaks */
@media (max-width: 600px) {
  .container { padding: 24px 16px; }
  .card { padding: 20px; }
  .price-big { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
