/* Extra CSS for 10万円から億り人への道（AI×FX）*/

/* カスタムフォント調整 */
:root {
  --md-text-font: "Noto Sans JP", sans-serif;
  --md-code-font: "Roboto Mono", monospace;
}

/* ヒーローセクション風のトップページ */
.md-content h1:first-of-type {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3f51b5, #2196f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

/* テーブルのスタイル改善 */
.md-typeset table:not([class]) {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.md-typeset table:not([class]) th {
  background-color: var(--md-primary-fg-color);
  color: white;
}

/* コードブロックの見やすさ向上 */
.md-typeset pre > code {
  border-radius: 8px;
}

/* Admonitionのカスタマイズ */
.md-typeset .admonition {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* タブのスタイル */
.md-typeset .tabbed-labels > label {
  border-radius: 8px 8px 0 0;
}

/* フッターのスタイル */
.md-footer {
  margin-top: 2rem;
}

/* レスポンシブ調整 */
@media screen and (max-width: 76.1875em) {
  .md-content h1:first-of-type {
    font-size: 2rem;
  }
}

/* ダークモード時の調整 */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #1a1a2e;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
