/* ============================================================
   FX実証ブログ 共通スタイル
   Tailwind Play CDN を廃止し、必要な分だけを静的に定義したもの。
   ①リセット（Tailwind Preflight 相当） ②共通クラス ③記事用
   ============================================================ */

/* ─── ① リセット ───────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
  background: #070e1a;
  color: #e2e8f0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}

/* 見出し・段落のブラウザ既定サイズと余白を打ち消す */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

p, blockquote, figure, pre, hr, dl, dd {
  margin: 0;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}

th {
  text-align: inherit;
  font-weight: inherit;
}

img, svg, video, canvas, iframe {
  display: block;
  vertical-align: middle;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

summary {
  display: list-item;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

/* スクロールバー */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #070e1a; }
::-webkit-scrollbar-thumb { background: #1a3260; border-radius: 3px; }

/* ─── ② 共通クラス ─────────────────────────────────────── */

/* 方眼の背景 */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 金色グラデーションの文字 */
.gold-text {
  background: linear-gradient(135deg, #f4c430, #e6a800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 半透明パネル */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* スクロール時のフェードイン */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定の利用者には出さない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* FAQ の開閉アイコン */
.faq-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

/* ボタン */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f4c430, #e6b800);
  color: #0a1628;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 8px 32px rgba(244, 196, 48, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(244, 196, 48, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* グラフの枠（実績ページ） */
.chart-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 28px;
}

/* 見出し左の金色バー */
.accent-bar {
  width: 4px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f4c430, #e6b800);
  flex-shrink: 0;
}

/* ─── ③ 本文まわり（運営者情報・ポリシー・記事） ─────────── */

/* 運営者情報の本文 */
.prose p { color: #94a3b8; font-size: 15px; line-height: 2; margin: 0 0 20px; }
.prose strong { color: #e2e8f0; }
.prose a { color: #f4c430; }

/* 規約系ページの節 */
.sec { margin-bottom: 44px; }
.sec h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec h2::before {
  content: '';
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f4c430, #e6b800);
  flex-shrink: 0;
}
.sec p { color: #94a3b8; font-size: 14px; line-height: 2; margin: 0 0 16px; }
.sec strong { color: #e2e8f0; }
.sec a { color: #f4c430; }
.sec ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.sec li { display: flex; gap: 10px; color: #94a3b8; font-size: 14px; line-height: 1.9; }
.sec li::before { content: '・'; color: #f4c430; font-weight: 900; flex-shrink: 0; }

/* 記事本文（今後の記事ページ用） */
.article { max-width: 760px; margin: 0 auto; }
.article h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.article h3 {
  color: #f4c430;
  font-size: 18px;
  font-weight: 900;
  margin: 36px 0 14px;
}
.article p { color: #94a3b8; font-size: 16px; line-height: 2; margin: 0 0 22px; }
.article strong { color: #e2e8f0; }
.article a { color: #f4c430; text-decoration: underline; }
.article ul, .article ol { margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.article li { display: flex; gap: 10px; color: #94a3b8; font-size: 16px; line-height: 1.9; }
.article li::before { content: '・'; color: #f4c430; font-weight: 900; flex-shrink: 0; }
.article ol { counter-reset: n; }
.article ol li::before { counter-increment: n; content: counter(n) '.'; }
.article blockquote {
  border-left: 3px solid #f4c430;
  background: rgba(244, 196, 48, 0.05);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 22px;
}
.article blockquote p { margin: 0; font-size: 15px; }
.article table { width: 100%; font-size: 14px; margin: 0 0 22px; }
.article th, .article td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}
.article th { color: #cbd5e1; font-weight: 700; background: rgba(255, 255, 255, 0.03); }
.article td { color: #94a3b8; }
.article img { border-radius: 12px; margin: 0 0 22px; }
.article figcaption { color: #475569; font-size: 12px; text-align: center; margin: -14px 0 22px; }
