@charset "UTF-8";
/* =====================================================================
   SLYSTYLE.NET 専用デザイン「C コックピット」(FXスキャルピング向け・暗色)
   - 子テーマ cocoon-child-master に置き、slystyle.net のときだけ読み込む
   - 色は下の :root の変数で一括調整できる
   ===================================================================== */

:root {
  --sl-bg: #050c17;            /* ページ背景 */
  --sl-panel: #0c1828;      /* 記事・サイドバーの面 */
  --sl-tint: #122238;        /* 表の縞・目次・引用の地 */
  --sl-rule: #223756;        /* 罫線 */
  --sl-text: #d9e3f0;        /* 本文 */
  --sl-head: #f2f6fb;        /* 見出し・強調 */
  --sl-muted: #8aa0bd;      /* 日付・補足 */
  --sl-accent: #ffb000;    /* 主アクセント(上昇・強調) */
  --sl-accent-ink: #1b1200; /* アクセント色の上に載せる文字色 */
  --sl-down: #ff6b57;        /* 下落・損失 */
  --sl-link: #7cc4ff;        /* リンク */
  --sl-hd: #030813;            /* ヘッダー・フッターの地 */
  --sl-th: #14253d;            /* 表の見出し行の地 */
  --sl-th-ink: #ffb000;    /* 表の見出し行の文字 */

  --sl-font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic",
    "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  --sl-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "BIZ UDGothic",
    "Courier New", monospace;
  --sl-fz-body: 15px;
  --sl-lh-body: 1.85;
}

/* ---------- 全体 ---------- */
body.body {
  font-family: var(--sl-font-body);
  font-size: var(--sl-fz-body);
  line-height: var(--sl-lh-body);
  color: var(--sl-text);
  background-color: var(--sl-bg);
  -webkit-font-smoothing: antialiased;
}
.body .container,
.body #container,
.body .content,
.body .content-in,
.body .wrap {
  background-color: transparent;
}
.body a {
  color: var(--sl-link);
  text-underline-offset: 0.18em;
}
.body a:hover {
  color: var(--sl-head);
}
.body .main,
.body .sidebar {
  background-color: var(--sl-panel);
  color: var(--sl-text);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
}
.body img {
  box-shadow: none;
}
.body .entry-content img,
.body .eye-catch img {
  border: 1px solid var(--sl-rule);
  box-shadow: none;
}
.body .eye-catch img { border-radius: 4px; }
.body figcaption,
.body .wp-element-caption {
  color: var(--sl-muted);
  font-size: 12.5px;
}

/* ---------- ヘッダー ---------- */
.body .header-container,
.body .header-container-in,
.body #header,
.body .header {
  background-color: var(--sl-hd);
  background-image: none;
}
.body .header-container {
  border-bottom: 2px solid #ffb000;
}
.body .tagline {
  color: var(--sl-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 12px;
  margin-bottom: 0;
}
.body .logo-header {
  padding-top: 6px;
  padding-bottom: 14px;
}
.body #header .site-name-text,
.body #header .site-name-text-link,
.body .logo-text .site-name-text {
  color: var(--sl-accent);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.16em;
}

/* グローバルメニュー */
.body #navi,
.body .navi,
.body .navi-in > ul,
.body .navi-in > ul .sub-menu {
  background-color: var(--sl-hd);
}
.body .navi {
  border-top: 1px solid var(--sl-rule);
}
.body .navi-in a {
  color: var(--sl-text);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 0.15s, background-color 0.15s;
}
.body .navi-in a:hover {
  color: var(--sl-accent);
  background-color: var(--sl-tint);
}

/* ---------- 記事一覧(カード) ---------- */
.body.blog .main,
.body.archive .main,
.body.search .main {
  padding-top: 14px;
}
.body .entry-card-wrap,
.body .related-entry-card-wrap {
  color: var(--sl-text);
  padding: 18px 8px;
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--sl-rule);
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: background-color 0.15s, border-color 0.15s;
}
.body .entry-card-wrap:hover,
.body .related-entry-card-wrap:hover {
  background-color: var(--sl-tint);
  border-left-color: var(--sl-accent);
}
.body .entry-card-thumb img,
.body .related-entry-card-thumb img {
  border-radius: 4px;
  border: 1px solid var(--sl-rule);
}
.body .entry-card-title,
.body .related-entry-card-title {
  color: var(--sl-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}
.body .entry-card-wrap:hover .entry-card-title,
.body .related-entry-card-wrap:hover .related-entry-card-title {
  color: var(--sl-accent);
}
.body .entry-card-snippet,
.body .related-entry-card-snippet {
  color: var(--sl-muted);
  font-size: 13px;
  line-height: 1.7;
}
.body .entry-card-meta,
.body .e-card-info,
.body .post-date,
.body .post-update {
  color: var(--sl-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.body .cat-label {
  background-color: var(--sl-accent);
  color: var(--sl-accent-ink);
  border: 0;
  border-radius: 0 0 4px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  top: 0;
  left: 0;
}

/* ページ送り */
.body .pagination-next-link,
.body .comment-btn {
  background-color: transparent;
  color: var(--sl-accent);
  border: 1px solid var(--sl-accent);
  border-radius: 4px;
  font-size: 15px;
}
.body .pagination-next-link:hover,
.body .comment-btn:hover {
  background-color: var(--sl-accent);
  color: var(--sl-accent-ink);
}
.body .page-numbers {
  color: var(--sl-text);
  background-color: transparent;
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.body .page-numbers.current,
.body a.page-numbers:hover {
  background-color: var(--sl-accent);
  border-color: var(--sl-accent);
  color: var(--sl-accent-ink);
}

/* ---------- 記事ページ ---------- */
.body .entry-title,
.body .archive-title {
  color: var(--sl-head);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  margin: 8px 0 20px;
}
.body .date-tags {
  color: var(--sl-muted);
  font-size: 13px;
}
.body .entry-content {
  font-size: var(--sl-fz-body);
  line-height: var(--sl-lh-body);
}
.body .entry-content p {
  margin-bottom: 1.7em;
}
.body .entry-content strong {
  color: var(--sl-head);
}
.body .entry-content mark,
.body .entry-content .marker {
  background: none;
  color: var(--sl-accent);
}

.body .article h2 {
  color: var(--sl-head);
  font-size: 20px;
  line-height: 1.5;
  margin: 2.6em 0 1.3em;
  padding: 13px 16px; background-color: var(--sl-tint); border: 0; border-top: 2px solid var(--sl-accent); border-radius: 0;
}
.body .article h3 {
  color: var(--sl-head);
  font-size: 17px;
  line-height: 1.55;
  margin: 2.2em 0 1.1em;
  padding: 2px 0 2px 14px; border: 0; border-left: 3px solid var(--sl-accent);
}
.body .article h4 {
  color: var(--sl-head);
  font-size: 16px;
  line-height: 1.6;
  padding: 0 0 8px;
  margin: 2em 0 1em;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--sl-rule);
}
.body .article h5,
.body .article h6 {
  color: var(--sl-head);
  font-size: 15px;
  background: none;
  border: 0;
  padding: 0;
}

/* 表:見出し行だけ色を付け、数字は桁がそろう等幅 */
.body .entry-content table {
  border-collapse: collapse;
  border: 0;
  border-top: 2px solid var(--sl-accent);
  border-bottom: 1px solid var(--sl-rule);
  font-size: 14px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  margin-bottom: 2em;
  color: var(--sl-text);
}
.body .entry-content table th,
.body .entry-content table td {
  border: 0;
  border-bottom: 1px solid var(--sl-rule);
  padding: 11px 14px;
  vertical-align: top;
  text-align: left;
}
.body .entry-content table thead th,
.body .entry-content table tr:first-child > th {
  background-color: var(--sl-th);
  color: var(--sl-th-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.body .entry-content table tbody th {
  background-color: var(--sl-tint);
  color: var(--sl-head);
}
.body .entry-content table td:first-child {
  color: var(--sl-head);
  font-weight: 600;
}
.body .entry-content table tbody tr:nth-child(even) > td {
  background-color: var(--sl-tint);
}
.body .entry-content table tbody tr:nth-child(odd) > td {
  background-color: var(--sl-panel);
}
.body .entry-content table tr:last-child > td {
  border-bottom: 0;
}

/* 目次・引用・コード・区切り */
.body .toc {
  background-color: var(--sl-tint);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
  color: var(--sl-text);
  font-size: 14px;
  line-height: 1.8;
  padding: 16px 26px 18px;
}
.body .toc-title {
  color: var(--sl-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.body .toc a {
  color: var(--sl-text);
  text-decoration: none;
}
.body .toc a:hover {
  color: var(--sl-accent);
  text-decoration: underline;
}
.body .entry-content hr {
  border: 0;
  border-top: 1px solid var(--sl-rule);
  margin: 2.4em 0;
}
.body .entry-content blockquote {
  background-color: var(--sl-tint);
  border: 0;
  border-left: 3px solid var(--sl-accent);
  color: var(--sl-text);
  padding: 18px 22px;
}
.body .entry-content blockquote::before,
.body .entry-content blockquote::after {
  display: none;
}
.body .entry-content pre,
.body .entry-content code {
  background-color: var(--sl-bg);
  color: var(--sl-accent);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
  font-family: var(--sl-font-mono);
}
.body .entry-content ul,
.body .entry-content ol {
  padding-left: 1.6em;
}
.body .entry-content li {
  margin-bottom: 0.35em;
}
.body .entry-content li::marker {
  color: var(--sl-accent);
}

/* カテゴリ・タグ */
.body .entry-categories-tags .cat-link,
.body .entry-categories-tags .tag-link,
.body .tagcloud a {
  background-color: transparent;
  color: var(--sl-text);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
  font-size: 12.5px;
  text-decoration: none;
}
.body .entry-categories-tags .cat-link {
  background-color: var(--sl-accent);
  border-color: var(--sl-accent);
  color: var(--sl-accent-ink);
}
.body .entry-categories-tags .tag-link:hover,
.body .tagcloud a:hover {
  border-color: var(--sl-accent);
  color: var(--sl-accent);
}

/* シェア・フォロー */
.body .sns-share-buttons a,
.body .sns-follow-buttons a {
  background-color: transparent;
  color: var(--sl-text);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
}
.body .sns-share-buttons a:hover,
.body .sns-follow-buttons a:hover {
  background-color: var(--sl-accent);
  border-color: var(--sl-accent);
  color: var(--sl-accent-ink);
  opacity: 1;
}
.body .sns-share-message,
.body .sns-follow-message {
  color: var(--sl-muted);
  font-size: 13px;
}

/* 関連記事・前後の記事・パンくず・コメント */
.body .related-entry-heading,
.body .comment-title {
  color: var(--sl-head);
  font-size: 17px;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--sl-accent);
}
.body .pager-post-navi a {
  color: var(--sl-text);
  background-color: transparent;
  border: 1px solid var(--sl-rule);
  font-size: 14px;
  line-height: 1.6;
}
.body .pager-post-navi a:hover {
  background-color: var(--sl-tint);
}
.body .breadcrumb,
.body .breadcrumb a {
  color: var(--sl-muted);
  font-size: 12.5px;
}
.body .comment-area,
.body .comment-list,
.body .comment-body {
  color: var(--sl-text);
  background-color: transparent;
}

/* ---------- サイドバー ---------- */
.body .sidebar {
  font-size: 14px;
  line-height: 1.75;
}
.body .sidebar h2,
.body .sidebar h3,
.body .sidebar .widget-title,
.body .sidebar .wp-block-search__label {
  display: block;
  background: none;
  color: var(--sl-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 0 8px;
  margin: 0 0 14px;
  border: 0;
  border-bottom: 2px solid var(--sl-accent);
  border-radius: 0;
}
.body .sidebar a {
  color: var(--sl-text);
  text-decoration: none;
}
.body .sidebar a:hover {
  color: var(--sl-accent);
}
.body .author-box {
  background-color: transparent;
  border: 0;
  color: var(--sl-text);
}
.body .author-box .author-name a {
  color: var(--sl-head);
  font-weight: 700;
}
.body .widget_categories li a,
.body .widget_archive li a,
.body .widget_pages li a,
.body .widget_nav_menu li a,
.body .widget_recent_entries li a,
.body .widget_recent_comments li a,
.body .widget_meta li a {
  background-color: var(--sl-tint);
  color: var(--sl-text);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
}
.body .widget_categories li a:hover,
.body .widget_archive li a:hover,
.body .widget_pages li a:hover,
.body .widget_nav_menu li a:hover,
.body .widget_recent_entries li a:hover {
  background-color: var(--sl-panel);
  border-color: var(--sl-accent);
  color: var(--sl-accent);
}
.body .widget_categories .post-count,
.body .widget_archive .post-count {
  color: var(--sl-muted);
}
.body .widget_recent_entries li,
.body .widget_categories li,
.body .widget_archive li,
.body .widget_nav_menu li {
  border-color: var(--sl-rule);
}
.body .wp-block-search__input,
.body .search-edit,
.body input[type="text"],
.body input[type="email"],
.body textarea,
.body select {
  background-color: var(--sl-bg);
  color: var(--sl-text);
  border: 1px solid var(--sl-rule);
  border-radius: 4px;
  font-size: 15px;
}
.body .wp-block-search__input:focus,
.body .search-edit:focus,
.body input[type="text"]:focus,
.body textarea:focus {
  border-color: var(--sl-accent);
  outline: 2px solid var(--sl-rule);
}
.body .wp-block-search__button,
.body input[type="submit"] {
  background-color: var(--sl-accent);
  color: var(--sl-accent-ink);
  border: 1px solid var(--sl-accent);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- フッター ---------- */
.body .footer {
  background-color: var(--sl-hd);
  color: var(--sl-muted);
  border-top: 2px solid #ffb000;
  font-size: 13px;
}
.body .footer a,
.body .footer .site-name-text {
  color: var(--sl-text);
}
.body .footer .source-org,
.body .footer .copyright {
  color: var(--sl-muted);
}

/* 上へ戻る・スマホ下部メニュー */
.body .go-to-top-button {
  background-color: var(--sl-accent);
  color: var(--sl-accent-ink);
  border-radius: 4px;
}
.body .mobile-menu-buttons {
  background-color: var(--sl-hd);
  border-top: 1px solid var(--sl-rule);
  box-shadow: none;
}
.body .mobile-menu-buttons .menu-button,
.body .mobile-menu-buttons .menu-button > a {
  color: var(--sl-text);
}

.body a:focus-visible,
.body button:focus-visible {
  outline: 2px solid var(--sl-accent);
  outline-offset: 2px;
}


/* 時間帯の時計(clock.js が .sly-clock を作る) */
.body .header-container-in {
  position: relative;
}
.body .sly-clock {
  position: absolute;
  bottom: 16px;
  right: 18px;
  display: flex;
  gap: 16px;
  font-family: var(--sl-font-mono);
  font-size: 12px;
  line-height: 1.3;
  color: var(--sl-muted);
}
.body .sly-clock .sc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.body .sly-clock .sc b {
  color: var(--sl-head);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.body .sly-clock .sc.open b {
  color: var(--sl-accent);
}
.body .sly-clock .sc .st::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
  background: var(--sl-rule);
}
.body .sly-clock .sc.open .st::before {
  background: var(--sl-accent);
}
@media screen and (max-width: 1023px) {
  .body .sly-clock { display: none; }
}


/* ---------- タブレット以下 ---------- */
@media screen and (max-width: 1023px) {
  .body .main,
  .body .sidebar {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .body #header .site-name-text {
    font-size: 24px;
  }
  .body .logo-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 480px) {
  body.body,
  .body .entry-content {
    font-size: 16px;
    line-height: 1.85;
  }
  .body .entry-title,
  .body .archive-title {
    font-size: 21px;
    line-height: 1.5;
  }
  .body .article h2 {
    font-size: 19px;
    margin: 2.2em 0 1.1em;
  }
  .body .article h3 {
    font-size: 17.5px;
  }
  .body .article h4 {
    font-size: 16.5px;
  }
  .body .entry-card-wrap,
  .body .related-entry-card-wrap {
    padding: 14px 2px;
  }
  .body .entry-card-title,
  .body .related-entry-card-title {
    font-size: 15px;
    line-height: 1.5;
  }
  .body .entry-content table,
  .body .entry-content table th,
  .body .entry-content table td {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .body .entry-content table th,
  .body .entry-content table td {
    padding: 9px 10px;
  }
  .body .toc {
    padding: 14px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .body * {
    transition: none !important;
  }
}
