@charset "UTF-8";
/*
Theme Name: 仮想通貨FXプレミアム
Theme URI: https://coin-prem.com/
Description: 仮想通貨FX情報サイト向けWordPressテーマ。30～40代の仮想通貨取引経験者向けにデザイン。
Author: CryptoPrem Team
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crypto-fx-premium
*/

/*
============================================
SMACSS形式のクラス命名規則
- l-* : レイアウト
- m-* : モジュール
- c-* : コンポーネント
- is-* : 状態
- u-* : ユーティリティ
============================================
*/

/* ==========================================================================
   Base - リセットと基本スタイル
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #1a1a2e;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #10b981;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #059669;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 明るいロゴ（Binance, OKXなど）は暗い背景で表示 */
.logo-img[data-logo-type="light"] {
  background-color: #1a1a1a;
  background-clip: content-box;
  border-radius: 6px;
  box-sizing: border-box;
}

/* 暗いロゴ（SBI, 楽天など）は白い背景で表示・画像部分のみ・他アイコンと同じサイズ感 */
.logo-img[data-logo-type="dark"] {
  background-color: #ffffff;
  background-clip: content-box;
  border: 1px solid #eee;
  border-radius: 6px;
  box-sizing: border-box;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout - 全体構造
   ========================================================================== */

.l-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.l-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.l-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* デフォルト: 下層ページ用2カラムレイアウト */
.l-content {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  flex: 1;
}

.l-main {
  order: 2;
  min-width: 0; /* グリッドのオーバーフロー防止 */
}

.l-sidebar {
  order: 1;
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* トップページ用: フル幅1カラムレイアウト */
.home .l-content {
  display: block;
  max-width: 1600px;
  padding: 0 4rem 4rem;
}

.home .l-main {
  width: 100%;
}

.l-footer {
  background: #1a1a2e;
  color: #94a3b8;
  padding: 5rem 4rem 3rem;
  margin-top: auto;
}

.l-footer-inner {
  max-width: 1600px;
  margin: 0 auto;
}

/* ==========================================================================
   Components - ヘッダー
   ========================================================================== */

.c-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.c-brand__logo {
  height: 4rem;
  width: auto;
}

.c-brand__name {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ナビゲーション - 下部横並び */
.c-gnav {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.c-gnav__list {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.c-gnav__item {
  position: relative;
}

.c-gnav__link {
  display: block;
  color: #e2e8f0;
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.c-gnav__link:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.c-gnav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 220px;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  padding: 1rem 0;
  margin-top: 1rem;
}

.c-gnav__item:hover .c-gnav__dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 0.5rem;
}

.c-gnav__dropdown-link {
  display: block;
  padding: 1rem 2rem;
  color: #334155;
  font-size: 1.3rem;
}

.c-gnav__dropdown-link:hover {
  background: #f1f5f9;
  color: #10b981;
}

/* メガメニュー */
.c-gnav__dropdown--mega {
  min-width: 700px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.c-gnav__dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.c-gnav__dropdown-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid #10b981;
  margin-bottom: 0.5rem;
}

.c-gnav__dropdown-link--more {
  font-weight: 600;
  color: #10b981;
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid #e2e8f0;
}

.c-gnav__dropdown-link--more:hover {
  background: #ecfdf5;
}

/* ==========================================================================
   Components - ヒーローセクション（トップページ）
   ========================================================================== */

.c-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 5rem 4rem;
  margin: 0 0 4rem 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.c-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(16,185,129,0.1)" stroke-width="0.5"/></svg>');
  background-size: 200px;
  opacity: 0.5;
}

.c-hero__slider {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.c-hero__item {
  display: block;
  background: rgba(255,255,255,0.05);
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  margin: 0 1rem;
}

.c-hero__slider .slick-dots {
  position: absolute;
  left: 50%;
  bottom: -2.6rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.c-hero__slider .slick-dots li {
  margin: 0;
}

.c-hero__slider .slick-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}

.c-hero__slider .slick-dots .slick-active button {
  background: #10b981;
}

.c-hero__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.c-hero__meta {
  padding: 2rem;
}

.c-hero__category {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.c-hero__title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ==========================================================================
   Components - 取引所カード（横スクロール）
   ========================================================================== */

.c-exchanges {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-exchanges__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.c-exchanges__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-exchanges__title::before {
  content: '';
  width: 4px;
  height: 2.4rem;
  background: linear-gradient(180deg, #10b981, #059669);
  border-radius: 2px;
}

.c-exchanges__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2rem;
}

.c-exchange-card {
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.c-exchange-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 10px 30px rgba(16,185,129,0.15);
}

.c-exchange-card.is-rank-1 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}

.c-exchange-card.is-rank-2 {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-color: #9ca3af;
}

.c-exchange-card.is-rank-3 {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  border-color: #f97316;
}

.c-exchange-card__rank {
  font-size: 1.2rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.c-exchange-card__logo {
  height: 50px;
  width: auto;
  margin: 1rem 0;
}

.c-exchange-card__name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
}

.c-exchange-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.c-exchange-card__btn {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.c-exchange-card__btn--primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.c-exchange-card__btn--secondary {
  background: #1a1a2e;
  color: #fff;
}

/* セクション下部リンク */
.c-section-link {
  text-align: center;
  margin-top: 2rem;
}

.c-section-link__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f1f5f9;
  color: #475569;
  padding: 1.1rem 3rem;
  border-radius: 3rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.c-section-link__btn:hover {
  background: #10b981;
  color: #fff;
}

/* ==========================================================================
   Components - スペック比較表
   ========================================================================== */

.c-spec-table {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

.c-spec-table__header {
  margin-bottom: 2rem;
}

.c-spec-table__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-spec-table__title::before {
  content: '';
  width: 4px;
  height: 2.4rem;
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
  border-radius: 2px;
}

.c-spec-table__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.c-spec-table__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1200px;
}

.c-spec-table__table th,
.c-spec-table__table td {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 1.3rem;
  border-bottom: 1px solid #e2e8f0;
}

.c-spec-table__table thead th {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.c-spec-table__table thead th a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.c-spec-table__table thead th:first-child {
  border-radius: 1rem 0 0 0;
}

.c-spec-table__table thead th:last-child {
  border-radius: 0 1rem 0 0;
}

.c-spec-table__table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.c-spec-table__table tbody tr:hover {
  background: #ecfdf5;
}

.c-spec-table__table .u-label-col {
  background: #f1f5f9;
  font-weight: 600;
  color: #475569;
  text-align: left;
  padding-left: 2rem;
  position: sticky;
  left: 0;
  min-width: 120px;
}

.c-spec-table__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 120px;
  margin: 0 auto;
}

.c-spec-table__name {
  font-size: 1.2rem;
  color: #64748b;
  display: block;
  line-height: 1.4;
}

.c-spec-table__table thead th .ico_rank01,
.c-spec-table__table thead th .ico_rank02,
.c-spec-table__table thead th .ico_rank03,
.c-spec-table__table thead th .ico_rank04,
.c-spec-table__table thead th .ico_rank05 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.4;
  color: #1a1a2e;
}

.c-spec-table__table thead th .ico_rank01::before,
.c-spec-table__table thead th .ico_rank02::before,
.c-spec-table__table thead th .ico_rank03::before,
.c-spec-table__table thead th .ico_rank04::before,
.c-spec-table__table thead th .ico_rank05::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.c-spec-table__table thead th .ico_rank01::before { content: "1"; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.c-spec-table__table thead th .ico_rank02::before { content: "2"; background: linear-gradient(135deg, #9ca3af, #6b7280); }
.c-spec-table__table thead th .ico_rank03::before { content: "3"; background: linear-gradient(135deg, #fb923c, #ea580c); }
.c-spec-table__table thead th .ico_rank04::before { content: "4"; background: #e2e8f0; color: #475569; }
.c-spec-table__table thead th .ico_rank05::before { content: "5"; background: #cbd5e1; color: #475569; }

.c-spec-table__note {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #64748b;
  text-align: right;
}

/* 評価アイコン */
.u-rating--excellent::before { content: '◎'; color: #10b981; font-size: 2rem; }
.u-rating--good::before { content: '○'; color: #3b82f6; font-size: 2rem; }
.u-rating--average::before { content: '△'; color: #f59e0b; font-size: 2rem; }
.u-rating--poor::before { content: '×'; color: #ef4444; font-size: 2rem; }

/* ==========================================================================
   Components - 最新コンテンツ
   ========================================================================== */

.c-latest {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-latest__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.c-latest__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-latest__title::before {
  content: '';
  width: 4px;
  height: 2.4rem;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  border-radius: 2px;
}

.c-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.c-latest__item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.c-latest__item:hover {
  background: #f8fafc;
}

.c-latest__thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 0.8rem;
  overflow: hidden;
}

.c-latest__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-latest__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-latest__item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: auto;
}

.c-latest__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  color: #64748b;
  margin-top: 1rem;
}

.c-latest__category {
  background: #e0f2fe;
  color: #0284c7;
  padding: 0.2rem 0.8rem;
  border-radius: 0.4rem;
  font-weight: 500;
}

.c-latest__more {
  text-align: center;
  margin-top: 2rem;
}

.c-latest__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  color: #475569;
  padding: 1.2rem 3rem;
  border-radius: 3rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.c-latest__more-btn:hover {
  background: #10b981;
  color: #fff;
}

/* ==========================================================================
   Components - トピック（カテゴリ・タグ）
   ========================================================================== */

.c-topics {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-topics__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.c-topics__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-topics__title::before {
  content: '';
  width: 4px;
  height: 2.4rem;
  background: linear-gradient(180deg, #ec4899, #db2777);
  border-radius: 2px;
}

.c-topics__section {
  margin-bottom: 2rem;
}

.c-topics__section:last-child {
  margin-bottom: 0;
}

.c-topics__label {
  font-size: 1.3rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1rem;
}

.c-topics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.c-topics__tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.c-topics__tag:hover {
  background: #10b981;
  color: #fff;
}

/* ==========================================================================
   Components - サイドバー
   ========================================================================== */

.c-sidebar-widget {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-sidebar-widget__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #10b981;
}

.c-sidebar-ranking {
  counter-reset: rank;
}

.c-sidebar-ranking__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  border-bottom: 1px solid #f1f5f9;
  counter-increment: rank;
}

.c-sidebar-ranking__item:last-child {
  border-bottom: none;
}

.c-sidebar-ranking__item::before {
  content: counter(rank);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: #e2e8f0;
  color: #475569;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.c-sidebar-ranking__item:nth-child(1)::before {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
}

.c-sidebar-ranking__item:nth-child(2)::before {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  color: #fff;
}

.c-sidebar-ranking__item:nth-child(3)::before {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
}

.c-sidebar-ranking__logos {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 88px;
  flex-shrink: 0;
}

.c-sidebar-ranking__logo {
  display: block;
  width: 88px;
  height: 32px;
  padding: 2px;
  box-sizing: border-box;
  object-fit: contain;
  background-color: transparent;
  border-radius: 4px;
  flex-shrink: 0;
}

.c-sidebar-ranking__logos .c-sidebar-ranking__logo {
  width: 42px;
}

.c-sidebar-ranking__name {
  flex: 1;
  min-width: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
  padding: 0 0.5rem;
}

.c-sidebar-ranking__actions {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}

.c-sidebar-ranking__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 28px;
  padding: 0 0.8rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.c-sidebar-ranking__btn--review {
  background: #10b981;
  color: #fff;
}

.c-sidebar-ranking__btn--official {
  background: #1a1a2e;
  color: #fff;
}

.c-sidebar-ranking__more {
  margin-top: 1rem;
  text-align: center;
}

.c-sidebar-ranking__more a {
  color: inherit;
  text-decoration: underline;
}

/* ==========================================================================
   Components - 記事ページ
   ========================================================================== */

.m-article {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: visible;
}

.m-article__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.m-article__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.m-article__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.3rem;
  color: #64748b;
  width: 100%;
}

.m-article__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}

.m-article__cat-link {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 0.5rem;
  font-weight: 600;
  color: #fff;
  padding: 0.4rem 1.2rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.m-article__cat-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.m-article__dates {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}

.m-article__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.m-article__date time {
  white-space: nowrap;
}

.m-article__eyecatch {
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

.m-article__eyecatch img {
  width: 100%;
  height: auto;
}

/* リード文（吹き出しが入る場合のアイコン切れ防止） */
.m-article__lead {
  overflow: visible;
}

/* 記事本文 */
.m-article__content {
  font-size: 1.6rem;
  line-height: 2;
  color: #334155;
  overflow: visible;
}

.m-article__content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 5rem 0 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, #ecfdf5 0%, transparent 100%);
  border-left: 4px solid #10b981;
  border-radius: 0 1rem 1rem 0;
}

.m-article__content h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 4rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.m-article__content h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: #10b981;
}

.m-article__content h4 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 3rem 0 1rem;
  padding-left: 1.5rem;
  border-left: 3px solid #8b5cf6;
}

.m-article__content p {
  margin-bottom: 2rem;
}

.m-article__content ul,
.m-article__content ol {
  margin: 2rem 0;
  padding-left: 2rem;
}

.m-article__content li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.m-article__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 1.4rem;
  height: 1.4rem;
  background: none;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  box-sizing: border-box;
}

/* 404ページ（PC・SPともボタン/カードで統一、リストマークは出さない） */
.c-404-links {
  text-align: center;
}
.c-404-links h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.c-404-links h3 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}
.c-404-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}
.c-404-links__list a {
  display: inline-block;
  padding: 1rem 2rem;
  background: #10b981;
  color: #fff;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.c-404-links__list a:hover {
  opacity: 0.9;
}
.c-404-links__list--exchange a {
  background: #f1f5f9;
  color: #475569;
}
.c-404-links__list--exchange a:hover {
  opacity: 0.9;
}
.c-404-links__list li {
  padding-left: 0;
}
.c-404-links__list li::before {
  content: none;
  display: none;
}

.m-article__content ul.list_maru li,
.m-article__content ul.list_batsu li {
  padding-left: 4rem;
}

.m-article__content ul.list_maru li::before {
  width: 2.6rem;
  height: 2.6rem;
  top: 0.2em;
  background: none;
  border: 2px solid #10b981;
  border-radius: 50%;
  box-sizing: border-box;
}

.m-article__content ul.list_batsu li::before {
  width: 2.6rem;
  height: 2.6rem;
  top: 0.2em;
  background:
    linear-gradient(45deg, transparent 46%, #ef4444 46%, #ef4444 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #ef4444 46%, #ef4444 54%, transparent 54%);
  border: none;
  border-radius: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
}

.m-article__content ol {
  counter-reset: ol-counter;
}

.m-article__content ol li {
  counter-increment: ol-counter;
}

.m-article__content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: -0.5rem;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: #10b981;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-article__content table,
.m-article__lead table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1.4rem;
}

.m-article__content table th,
.m-article__content table td,
.m-article__lead table th,
.m-article__lead table td {
  padding: 1.2rem;
  border: 1px solid #e2e8f0;
}

.m-article__content table th a,
.m-article__lead table th a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.m-article__content table th img,
.m-article__lead table th img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 120px;
  margin: 0 auto;
}

.m-article__content table th .ico_rank01,
.m-article__content table th .ico_rank02,
.m-article__content table th .ico_rank03,
.m-article__content table th .ico_rank04,
.m-article__content table th .ico_rank05,
.m-article__lead table th .ico_rank01,
.m-article__lead table th .ico_rank02,
.m-article__lead table th .ico_rank03,
.m-article__lead table th .ico_rank04,
.m-article__lead table th .ico_rank05 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.4;
  color: #1a1a2e;
  justify-content: center;
}

.m-article__content table th .ico_rank01::before,
.m-article__content table th .ico_rank02::before,
.m-article__content table th .ico_rank03::before,
.m-article__content table th .ico_rank04::before,
.m-article__content table th .ico_rank05::before,
.m-article__lead table th .ico_rank01::before,
.m-article__lead table th .ico_rank02::before,
.m-article__lead table th .ico_rank03::before,
.m-article__lead table th .ico_rank04::before,
.m-article__lead table th .ico_rank05::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.m-article__content table th .ico_rank01::before { content: "1"; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.m-article__content table th .ico_rank02::before { content: "2"; background: linear-gradient(135deg, #9ca3af, #6b7280); }
.m-article__content table th .ico_rank03::before { content: "3"; background: linear-gradient(135deg, #fb923c, #ea580c); }
.m-article__content table th .ico_rank04::before { content: "4"; background: #e2e8f0; color: #475569; }
.m-article__content table th .ico_rank05::before { content: "5"; background: #cbd5e1; color: #475569; }
.m-article__lead table th .ico_rank01::before { content: "1"; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.m-article__lead table th .ico_rank02::before { content: "2"; background: linear-gradient(135deg, #9ca3af, #6b7280); }
.m-article__lead table th .ico_rank03::before { content: "3"; background: linear-gradient(135deg, #fb923c, #ea580c); }
.m-article__lead table th .ico_rank04::before { content: "4"; background: #e2e8f0; color: #475569; }
.m-article__lead table th .ico_rank05::before { content: "5"; background: #cbd5e1; color: #475569; }

.m-article__content table th,
.m-article__lead table th {
  background: #f8fafc;
  font-weight: 600;
  color: #1a1a2e;
}

.m-article__content table td.bg_nijumaru,
.m-article__lead table td.bg_nijumaru {
  background: url('images/common/ico_nijumaru.svg') #fff no-repeat center;
  background-size: auto 70%;
}

.m-article__content table td.bg_maru,
.m-article__lead table td.bg_maru {
  background: url('images/common/ico_maru.svg') #fff no-repeat center;
  background-size: auto 70%;
}

.m-article__content table td.bg_sankaku,
.m-article__lead table td.bg_sankaku {
  background: url('images/common/ico_sankaku.svg') #fff no-repeat center;
  background-size: auto 70%;
}

.m-article__content table td.bg_batsu,
.m-article__lead table td.bg_batsu {
  background: url('images/common/ico_batsu.svg') #fff no-repeat center;
  background-size: auto 70%;
}

.m-article__content blockquote {
  margin: 2rem 0;
  padding: 2rem 2rem 2rem 5.2rem;
  background: #f8fafc;
  border-left: 4px solid #94a3b8;
  border-radius: 0 1rem 1rem 0;
  font-style: normal;
  color: #475569;
  position: relative;
}

.m-article__content blockquote::before {
  content: "“";
  position: absolute;
  left: 2rem;
  top: 1.2rem;
  font-size: 2.4rem;
  line-height: 1;
  color: #94a3b8;
  font-weight: 700;
}

/* ==========================================================================
   Components - SNSシェア・URLコピー
   ========================================================================== */

.m-share {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 1.5rem;
  text-align: center;
}

.m-share__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.m-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-share__list li {
  margin: 0;
  padding: 0;
}

.m-share__list li::before {
  display: none;
}

.m-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.m-share__link img {
  width: 28px;
  height: 28px;
}

.m-share__link--twitter {
  background: #fff;
}

.m-share__link--twitter:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.m-share__link--facebook {
  background: #fff;
}

.m-share__link--facebook:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.m-share__link--line {
  background: #fff;
}

.m-share__link--line:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.m-share__link--hatena {
  background: #fff;
}

.m-share__link--hatena:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* URLコピーボタン */
.m-copy-url {
  display: block;
  width: fit-content;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto 3rem;
  text-align: center;
}

.m-copy-url:hover {
  border-color: #10b981;
  color: #10b981;
  background: #ecfdf5;
}

.m-copy-url.is-copied {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
}

/* 前後の記事ナビ */
.m-post-nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.m-post-nav__item {
  flex: 1;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.m-post-nav__item:hover {
  background: #ecfdf5;
}

.m-post-nav__label {
  display: block;
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.m-post-nav__title {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

/* カテゴリリンク */
.m-category-link {
  margin-bottom: 3rem;
  text-align: center;
}

.m-category-link__btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #1a1a2e;
  color: #fff;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.m-category-link__btn:hover {
  background: #10b981;
  color: #fff;
}

/* 関連タグ */
.m-related-tags {
  margin-bottom: 3rem;
  font-size: 1.3rem;
  color: #64748b;
}

.m-related-tags__label {
  font-weight: 600;
}

.m-related-tags__list a {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.4rem 1rem;
  background: #f1f5f9;
  border-radius: 0.4rem;
  color: #475569;
  transition: all 0.3s ease;
}

.m-related-tags__list a:hover {
  background: #10b981;
  color: #fff;
}

/* 関連記事 */
.m-related {
  margin-bottom: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.m-related__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #10b981;
}

.m-related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.m-related__item {
  padding: 0;
  margin: 0;
}

.m-related__item::before {
  display: none;
}

.m-related__item a {
  display: block;
  background: #f8fafc;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.m-related__item a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-color: #10b981;
}

.m-related__item img {
  width: 100%;
  height: auto;
  display: block;
}

.m-related__item-title {
  display: block;
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

/* 人気記事 */
.m-popular {
  padding-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.m-popular__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2rem;
  border-bottom: 2px solid #f59e0b;
  padding-bottom: 1rem;
}

.m-popular__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  counter-reset: popular;
}

.m-popular__item {
  padding: 0;
  margin: 0;
  counter-increment: popular;
  position: relative;
}

.m-popular__item::before {
  content: counter(popular);
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: #f59e0b;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.m-popular__item a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  background: #fffbeb;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.m-popular__item a:hover {
  background: #fef3c7;
}

.m-popular__item img {
  width: 140px;
  height: auto;
  border-radius: 0.5rem;
  flex-shrink: 0;
  align-self: flex-start;
  object-fit: contain;
}

.m-popular__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.m-popular__category {
  display: inline-block;
  font-size: 1.1rem;
  color: #10b981;
  margin-bottom: 0.3rem;
}

.m-popular__item-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

/* 目次（開閉ボタン・下矢印・閉時は高さ制限＋下透過） */
.m-toc-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.toc_toggle_input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.toc_toggle_label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  align-self: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f766e;
  cursor: pointer;
  user-select: none;
}

.toc_toggle_label:hover {
  color: #0d9488;
}

.toc_toggle_close {
  display: none;
}

#toc_toggle:checked ~ .m-toc-frame .toc_toggle_label .toc_toggle_open {
  display: none;
}

#toc_toggle:checked ~ .m-toc-frame .toc_toggle_label .toc_toggle_close {
  display: inline;
}

.toc_toggle_arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.5rem solid currentColor;
  margin-left: 0.2rem;
  transition: transform 0.25s ease;
  vertical-align: middle;
}

#toc_toggle:checked ~ .m-toc-frame .toc_toggle_label .toc_toggle_arrow {
  transform: rotate(180deg);
}

/* 目次ひとまとめ枠（見出し・リスト・開くボタンを枠内に） */
.m-toc-frame {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 3rem 0 3rem;
  display: flex;
  flex-direction: column;
}

.m-toc-frame .toc_toggle_label {
  align-self: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.m-toc__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.m-toc__title::before {
  content: '📋';
}

.m-toc-frame #toc.m-toc {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  border: 0;
  position: relative;
  max-height: 120px;
  overflow: hidden;
}

.m-toc-frame #toc.m-toc::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #f8fafc);
  pointer-events: none;
}

#toc_toggle:checked ~ .m-toc-frame #toc {
  max-height: none;
  overflow: visible;
}

#toc_toggle:checked ~ .m-toc-frame #toc::after {
  display: none;
}

/* 目次リスト: 番号表示・階層はインデント */
.m-toc__list {
  padding-left: 1.8rem;
  list-style-type: decimal;
  list-style-position: outside;
}

.m-toc__list li {
  margin-bottom: 0.6rem;
  padding-left: 0.3rem;
}

.m-toc__list li::before {
  display: none;
}

.m-toc__list ol {
  margin: 0.4rem 0 0.6rem 0;
  padding-left: 1.8rem;
  list-style-type: decimal;
  list-style-position: outside;
}

.m-toc__list ol li {
  margin-bottom: 0.4rem;
}

.m-toc__list a {
  color: #475569;
  font-size: 1.4rem;
}

.m-toc__list a:hover {
  color: #10b981;
}

/* ==========================================================================
   Components - フッター
   ========================================================================== */

.c-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

/* 4カラムバージョン */
.c-footer-nav--four-column {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
}

/* 1024px～1400px未満：ギャップとフォントサイズを調整 */
@media screen and (min-width: 1024px) and (max-width: 1399px) {
  .c-footer-nav--four-column {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
  }
  
  .c-footer-nav--four-column .c-footer-nav__section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .c-footer-nav--four-column .c-footer-nav__list--compact a {
    font-size: 1.1rem;
  }
  
  .c-footer-nav--four-column .c-footer-nav__list--compact li {
    margin-bottom: 0.4rem;
  }
}

.c-footer-nav__section h4 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.c-footer-nav__list li {
  margin-bottom: 0.8rem;
}

.c-footer-nav__list a {
  color: #94a3b8;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.c-footer-nav__list a:hover {
  color: #10b981;
}

/* コンパクトリスト（多数表示用） */
.c-footer-nav__list--compact li {
  margin-bottom: 0.5rem;
}

.c-footer-nav__list--compact a {
  font-size: 1.2rem;
}

.c-footer-legal {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.c-footer-legal__disclaimer {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.2);
  border-radius: 0.8rem;
}

.c-footer-legal__disclaimer p {
  margin: 0 0 0.75em 0;
}

.c-footer-legal__disclaimer p:last-child {
  margin-bottom: 0;
}

.c-footer-legal__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.c-footer-legal__links a {
  color: #94a3b8;
  font-size: 1.2rem;
}

.c-footer-legal__links a:hover {
  color: #10b981;
}

.c-footer-legal__copyright {
  text-align: center;
  font-size: 1.2rem;
  color: #64748b;
}

/* ==========================================================================
   Components - パンくずリスト
   ========================================================================== */

.c-breadcrumb {
  background: #f1f5f9;
  padding: 1rem 2rem;
}

.c-breadcrumb__list {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  color: #64748b;
  overflow-x: auto;
  white-space: nowrap;
}

.c-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.c-breadcrumb__item::after {
  content: '›';
  color: #94a3b8;
}

.c-breadcrumb__item:last-child::after {
  display: none;
}

.c-breadcrumb__link {
  color: #64748b;
}

.c-breadcrumb__link:hover {
  color: #10b981;
}

/* ==========================================================================
   Components - ページトップボタン
   ========================================================================== */

.c-pagetop {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16,185,129,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

.c-pagetop:hover {
  transform: translateY(-5px);
}

.c-pagetop img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.u-sp-only { display: none; }
.u-pc-only { display: block; }

.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-mt-0 { margin-top: 0; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-2 { margin-top: 2rem; }
.u-mt-3 { margin-top: 3rem; }
.u-mt-4 { margin-top: 4rem; }

.u-mb-0 { margin-bottom: 0; }
.u-mb-1 { margin-bottom: 1rem; }
.u-mb-2 { margin-bottom: 2rem; }
.u-mb-3 { margin-bottom: 3rem; }
.u-mb-4 { margin-bottom: 4rem; }

/* ==========================================================================
   CSS_RULE.md - テキスト装飾
   ========================================================================== */

/* 赤い太字テキスト */
.txt_red {
  color: #ef4444;
  font-weight: 700;
}

/* 黒い太字テキスト */
.txt_b {
  color: #1a1a2e;
  font-weight: 700;
}

/* 小さい文字 */
.txt_small {
  font-size: 0.85em;
  color: #64748b;
}

/* 黄色マーカー（strong） */
.m-article__content strong {
  background: linear-gradient(transparent 60%, #fef08a 60%);
  font-weight: 700;
  padding: 0 0.2em;
}

/* 赤マーカー（mark） */
.m-article__content mark {
  background: linear-gradient(transparent 60%, #fecaca 60%);
  color: #dc2626;
  font-weight: 700;
  padding: 0 0.2em;
}

/* ==========================================================================
   CSS_RULE.md - 重要度（星）
   ========================================================================== */

.st_star {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.5rem;
}

.st_star span {
  color: #f59e0b;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   CSS_RULE.md - この記事を先読み（summary）
   ========================================================================== */

.summary {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #10b981;
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin: 3rem 0;
  position: relative;
}

.summary::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 0 0 4px 4px;
}

.summary h2 {
  font-size: 1.8rem !important;
  font-weight: 700;
  color: #059669;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.summary h2::before {
  content: '📌';
  font-size: 1.6rem;
}

.summary ul {
  margin: 0;
  padding: 0;
}

.summary ul li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #334155;
}

.summary ul li:last-child {
  margin-bottom: 0;
}

.summary ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: #10b981;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   CSS_RULE.md - CTAテキスト装飾
   ========================================================================== */

.m-article__content .cta_text,
.m-article__lead .cta_text {
  position: relative;
  width: fit-content;
  margin: 3rem auto 0;
  padding: 0 3rem;
  font-size: 1.6rem;
  line-height: 2rem;
  font-weight: 700;
}

.m-article__content .cta_text::before,
.m-article__content .cta_text::after,
.m-article__lead .cta_text::before,
.m-article__lead .cta_text::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  background-size: cover;
  background-repeat: no-repeat;
}

.m-article__content .cta_text::before,
.m-article__lead .cta_text::before {
  left: 0;
  background-image: url('images/common/ico_fukiline_l.svg');
}

.m-article__content .cta_text::after,
.m-article__lead .cta_text::after {
  right: 0;
  background-image: url('images/common/ico_fukiline_r.svg');
}

/* ==========================================================================
   CSS_RULE.md - リンクボタン
   ========================================================================== */

/* サイト内リンクボタン */
.bt_link {
  margin: 2rem 0;
}

.bt_link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
  padding: 1.2rem 2.5rem 1.2rem 4.7rem;
  background-color: #10b981;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 3rem;
  background-image: linear-gradient(135deg, #10b981, #059669), url('images/common/arrow_link.svg');
  background-repeat: no-repeat;
  background-position: 2rem 50%;
  background-size: auto, 1.4rem auto;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.bt_link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: #fff;
}

/* ページ内リンク（下矢印） */
.bt_link_bottom {
  margin: 2rem 0;
  text-align: center;
}

.bt_link_bottom a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 280px;
  padding: 1.2rem 2.5rem 1.2rem 4.7rem;
  background: #1a1a2e;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 3rem;
  background-image: url('images/common/arrow_down_wh.svg');
  background-repeat: no-repeat;
  background-position: 2rem 50%;
  background-size: 1.4rem auto;
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
  transition: all 0.3s ease;
}

.bt_link_bottom a:hover {
  background: #16213e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.4);
  color: #fff;
}

/* CVボタン（sample互換） */
.m-article__content .bt_site,
.m-article__content [class^="bt_site_"],
.m-article__lead .bt_site,
.m-article__lead [class^="bt_site_"] {
  display: block;
  width: fit-content;
  min-width: 220px;
  margin: 2rem auto 0;
  border-radius: 3rem;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 6px 0 rgba(5, 150, 105, 0.35);
}

.m-article__content .bt_site a,
.m-article__content [class^="bt_site_"] a,
.m-article__lead .bt_site a,
.m-article__lead [class^="bt_site_"] a {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  padding: 1.2rem 2.5rem 1.2rem 4.7rem;
  background: url('images/common/arrow_blank_wh.svg') no-repeat;
  background-size: 1.4rem auto;
  background-position: 2rem 50%;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   CSS_RULE.md - 関連記事リンク（あわせて読みたい）
   ========================================================================== */

.link_box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 0 1rem 1rem 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  position: relative;
}

.link_box::before {
  content: 'あわせて読みたい';
  position: absolute;
  top: -0.8rem;
  left: 1rem;
  background: #3b82f6;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 0.4rem;
}

.link_box p {
  margin: 0;
}

.link_box p a,
.link_box ul li a {
  color: #1a1a2e;
  font-weight: 600;
  display: block;
  padding-left: 2rem;
  background: url('images/common/arrow_next.svg') no-repeat;
  background-position: left 50%;
  background-size: 1.2rem auto;
}

.link_box p a:hover,
.link_box ul li a:hover {
  color: #3b82f6;
}

.link_box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.link_box ul li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.link_box ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.link_box ul li::before {
  display: none;
}

/* ==========================================================================
   CSS_RULE.md - キャプション
   ========================================================================== */

.caption {
  font-size: 1.3rem;
  color: #64748b;
  display: inline-block;
  margin-top: 0.5rem;
}

.caption a {
  color: #64748b;
  text-decoration: underline;
}

.caption a:hover {
  color: #10b981;
}

/* ==========================================================================
   CSS_RULE.md - テーブル（スクロール対応）
   ========================================================================== */

/* デフォルト＝スマホ：table をブロック化して自要素で横スクロール */
.tbl_scroll {
  display: block;
  width: 100%;
  min-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  margin: 2rem 0;
}

.m-article__content .tbl_scroll,
.m-article__lead .tbl_scroll {
  width: 100%;
  min-width: 100%;
}

.tbl_scroll table {
  width: 100%;
  min-width: 100%;
}

/* PC・タブレット：幅いっぱい表示（table-layout を効かせるため display: table に戻す） */
@media only screen and (min-width: 768px) {
  .tbl_scroll {
    display: table;
    table-layout: fixed;
    overflow: visible;
    white-space: normal;
  }
}

.th_fixed {
  position: sticky;
  left: 0;
  background: #f1f5f9 !important;
  z-index: 1;
  box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

/* ==========================================================================
   CSS_RULE.md - 枠（waku）
   ========================================================================== */

/* 通常枠 */
.waku {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
}

/* 枠内の小見出し */
.waku_st {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed #e2e8f0;
}

/* 枠内のp要素 */
.waku p:not(.waku_st) {
  margin-bottom: 1rem;
}

.waku p:last-child {
  margin-bottom: 0;
}

/* 枠内のリスト */
.waku ul,
.waku ol {
  margin: 1rem 0;
}

.waku ul:last-child,
.waku ol:last-child {
  margin-bottom: 0;
}

/* メリット枠 */
.waku_merit {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #22c55e;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  position: relative;
}

.waku_merit::before {
  content: '○';
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #22c55e;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waku_merit .waku_st {
  color: #15803d;
  border-color: #86efac;
}

/* デメリット枠 */
.waku_demerit {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #ef4444;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  position: relative;
}

.waku_demerit::before {
  content: '×';
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #ef4444;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waku_demerit .waku_st {
  color: #dc2626;
  border-color: #fca5a5;
}

/* 必要情報枠 */
.waku_info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #3b82f6;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  position: relative;
}

.waku_info::before {
  content: 'i';
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #3b82f6;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waku_info .waku_st {
  color: #1d4ed8;
  border-color: #93c5fd;
}

/* ピックアップ枠 */
.waku_pickup {
  background: #fff7ed;
  border: 2px solid #f59e0b;
  border-radius: 1.5rem;
  padding: 0.5rem 0 3rem 0;
  margin: 2rem 0;
}

.waku_pickup .waku_st {
  color: #b45309;
  font-weight: 700;
  padding: 2rem 1rem 1rem 1rem;
  margin: 0 2rem 0 2rem;
  border-bottom: 1px solid #f59e0b;
  font-size: 1.8rem;
}

.waku_pickup p {
  margin: 2rem 3rem 0 3rem;
}

.waku_pickup ul {
  margin: 2rem 3rem 0 3rem;
}

.waku_pickup ul li {
  position: relative;
  padding-left: 2.4rem;
  line-height: 2.5rem;
  margin: 0.5rem 0 0 0;
}

.waku_pickup ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.6rem;
  height: 1.6rem;
  background: none;
  border: 2px solid #f59e0b;
  border-radius: 50%;
  box-sizing: border-box;
}

.waku_pickup ol {
  margin: 2rem 3rem 0 3rem;
  counter-reset: custom-ol-counter;
  padding-left: 0;
}

.waku_pickup ol li {
  line-height: 2.5rem;
  margin: 0.5rem 0 0 0;
  padding: 0 0 0 3rem;
  counter-increment: custom-ol-counter;
  position: relative;
}

.waku_pickup ol li::before {
  content: counter(custom-ol-counter);
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: #f59e0b;
  border-radius: 50%;
  position: absolute;
  top: 0.2rem;
  left: 0;
}

/* アナウンス枠 */
.waku_speaker {
  background-color: #feedeb;
  background-image: linear-gradient(#f69292, #f69292);
  background-repeat: no-repeat;
  background-position: 8rem 2rem;
  background-size: 1px calc(100% - 4rem);
  border: 2px solid #f69292;
  border-radius: 1.5rem;
  margin: 2rem 0;
  padding: 2rem 2rem 2rem 8rem;
  position: relative;
}

.waku_speaker::before {
  content: "";
  position: absolute;
  left: 2.5rem;
  top: 50%;
  width: 2.8rem;
  height: 2.8rem;
  transform: translateY(-50%);
  background:
    linear-gradient(#f69292, #f69292) 0.2rem 0.8rem / 0.6rem 1.2rem no-repeat,
    linear-gradient(135deg, transparent 55%, #f69292 55%) 0.8rem 0.4rem / 1.6rem 2rem no-repeat,
    radial-gradient(circle at 2.2rem 1.4rem, transparent 0.7rem, #f69292 0.7rem 0.8rem, transparent 0.8rem) 0 0 / 2.8rem 2.8rem no-repeat;
}

.waku_speaker p {
  margin: 0 0 1rem 2rem;
}

.waku_speaker p:last-child {
  margin: 0 0 0 2rem;
}

/* 注意枠 */
.waku_attention {
  background-color: #fffbe1;
  background-image: linear-gradient(#f6d126, #f6d126);
  background-repeat: no-repeat;
  background-position: 8rem 2rem;
  background-size: 1px calc(100% - 4rem);
  border: 2px solid #f6d126;
  border-radius: 1.5rem;
  margin: 2rem 0;
  padding: 2rem 2rem 2rem 8rem;
  position: relative;
}

.waku_attention::before {
  content: "";
  position: absolute;
  left: 2.5rem;
  top: 50%;
  width: 2.8rem;
  height: 2.6rem;
  transform: translateY(-50%);
  background: #f6d126;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.waku_attention::after {
  content: "";
  position: absolute;
  left: 2.5rem;
  top: 50%;
  width: 2.8rem;
  height: 2.6rem;
  transform: translateY(-50%);
  background:
    linear-gradient(#fff, #fff) 50% 45% / 0.3rem 1rem no-repeat,
    radial-gradient(circle, #fff 0.2rem, transparent 0.21rem) 50% 75% / 0.4rem 0.4rem no-repeat;
}

.waku_attention p {
  margin: 0 0 1rem 2rem;
}

.waku_attention p:last-child {
  margin: 0 0 0 2rem;
}

/* 枠内共通のリストスタイル */
.waku_merit ul,
.waku_merit ol,
.waku_demerit ul,
.waku_demerit ol,
.waku_info ul,
.waku_info ol {
  margin: 1rem 0;
}

.m-article__content .waku ul li,
.m-article__content .waku_merit ul li,
.m-article__content .waku_demerit ul li,
.m-article__content .waku_info ul li {
  padding-left: 3.2rem;
}

.m-article__content .waku ul li::before {
  background: none;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  box-sizing: border-box;
}

.m-article__content .waku_merit ul li::before {
  background: none;
  border: 2px solid #22c55e;
  border-radius: 50%;
  box-sizing: border-box;
}

.m-article__content .waku_demerit ul li::before {
  background: none;
  border: 2px solid #ef4444;
  border-radius: 50%;
  box-sizing: border-box;
}

.m-article__content .waku_info ul li::before {
  background: none;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  box-sizing: border-box;
}

.m-article__content .waku ol,
.m-article__content .waku_merit ol,
.m-article__content .waku_demerit ol,
.m-article__content .waku_info ol,
.m-article__content .waku_speaker ol,
.m-article__content .waku_attention ol {
  counter-reset: waku-ol-counter;
  padding-left: 0;
}

.m-article__content .waku ol li,
.m-article__content .waku_merit ol li,
.m-article__content .waku_demerit ol li,
.m-article__content .waku_info ol li,
.m-article__content .waku_speaker ol li,
.m-article__content .waku_attention ol li {
  counter-increment: waku-ol-counter;
  position: relative;
  padding-left: 3rem;
}

.m-article__content .waku ol li::before,
.m-article__content .waku_merit ol li::before,
.m-article__content .waku_demerit ol li::before,
.m-article__content .waku_info ol li::before,
.m-article__content .waku_speaker ol li::before,
.m-article__content .waku_attention ol li::before {
  content: counter(waku-ol-counter);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
}

.m-article__content .waku ol li::before {
  background: #94a3b8;
}

.m-article__content .waku_merit ol li::before {
  background: #22c55e;
}

.m-article__content .waku_demerit ol li::before {
  background: #ef4444;
}

.m-article__content .waku_info ol li::before {
  background: #3b82f6;
}

.m-article__content .waku_speaker ol li::before {
  background: #f69292;
}

.m-article__content .waku_attention ol li::before {
  background: #f6d126;
  color: #1f2937;
}

.m-article__content .waku_merit ul.list_maru li::before,
.m-article__content .waku ul.list_maru li::before {
  background: none;
  border: 2px solid #10b981;
  border-radius: 50%;
  box-sizing: border-box;
  width: 2.6rem;
  height: 2.6rem;
  top: 0.2em;
}

.m-article__content .waku_demerit ul.list_batsu li::before,
.m-article__content .waku ul.list_batsu li::before {
  background:
    linear-gradient(45deg, transparent 46%, #ef4444 46%, #ef4444 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #ef4444 46%, #ef4444 54%, transparent 54%);
  border: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
  border-radius: 0;
  width: 2.6rem;
  height: 2.6rem;
  top: 0.2em;
}

.m-article__content .waku_merit ul.list_maru li,
.m-article__content .waku_demerit ul.list_batsu li,
.m-article__content .waku ul.list_maru li,
.m-article__content .waku ul.list_batsu li {
  padding-left: 4rem;
}

.waku_merit p:not(.waku_st),
.waku_demerit p:not(.waku_st),
.waku_info p:not(.waku_st) {
  margin-bottom: 1rem;
}

/* ==========================================================================
   CSS_RULE.md - リストマーク
   ========================================================================== */

/* 丸リストマーク（メリット用） */
.list_maru {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.list_maru li {
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.list_maru li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 2.2rem;
  height: 2.2rem;
  background: none;
  border: 2px solid #10b981;
  border-radius: 50%;
  box-sizing: border-box;
}

/* バツリストマーク（デメリット用） */
.list_batsu {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.list_batsu li {
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.list_batsu li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 2.2rem;
  height: 2.2rem;
  background:
    linear-gradient(45deg, transparent 46%, #ef4444 46%, #ef4444 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #ef4444 46%, #ef4444 54%, transparent 54%);
  border: none;
  border-radius: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
}

/* ==========================================================================
   CSS_RULE.md - 引用
   ========================================================================== */

.m-article__content blockquote {
  margin: 2rem 0;
  padding: 2rem 2rem 2rem 5.2rem;
  background: #f8fafc;
  border-left: 4px solid #94a3b8;
  border-radius: 0 1rem 1rem 0;
  font-style: normal;
  color: #475569;
  position: relative;
}

.m-article__content blockquote .waku_st {
  font-size: 1.5rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed #cbd5e1;
}

.m-article__content blockquote .caption {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #cbd5e1;
  display: block;
}

/* ==========================================================================
   CSS_RULE.md - 吹き出し（キャラクター対話）
   ========================================================================== */

/* 吹き出し共通 */
[class^="fuki_"] {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 2rem 0;
}

[class^="fuki_"]::before {
  content: '';
  flex-shrink: 0;
  width: 80px;
  height: 110px;
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
}

[class^="fuki_"] p {
  position: relative;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  margin: 0;
  flex: 1;
  font-size: 1.5rem;
  line-height: 1.7;
}

[class^="fuki_"] p::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20px;
  border: 6px solid transparent;
  border-right-color: #e2e8f0;
}

[class^="fuki_"] p::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 22px;
  border: 4px solid transparent;
  border-right-color: #fff;
}

/* Aさん（通常） */
.fuki_a01::before {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  background-image: url('images/common/mc_a01.png');
}

/* Aさん（考え中・悩む） */
.fuki_a02::before {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  background-image: url('images/common/mc_a02.png');
}

/* Aさん（驚き） */
.fuki_a03::before {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  background-image: url('images/common/mc_a03.png');
}

/* Bさん（通常） - 右配置 */
.fuki_b01,
.fuki_b02,
.fuki_b03,
.fuki_b04 {
  flex-direction: row-reverse;
}

.fuki_b01::before,
.fuki_b02::before,
.fuki_b03::before,
.fuki_b04::before {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  background-image: url('images/common/mc_b01.png');
}

.fuki_b01 p::before,
.fuki_b02 p::before,
.fuki_b03 p::before,
.fuki_b04 p::before {
  left: auto;
  right: -12px;
  border-right-color: transparent;
  border-left-color: #e2e8f0;
}

.fuki_b01 p::after,
.fuki_b02 p::after,
.fuki_b03 p::after,
.fuki_b04 p::after {
  left: auto;
  right: -8px;
  border-right-color: transparent;
  border-left-color: #fff;
}

/* Bさん（ポイント） */
.fuki_b02::before {
  background-image: url('images/common/mc_b02.png');
}

.fuki_b03::before {
  background-image: url('images/common/mc_b03.png');
}

.fuki_b04::before {
  background-image: url('images/common/mc_b04.png');
}

/* sample互換の吹き出しレイアウト（PC） */
.m-article__content .fuki_a01,
.m-article__content .fuki_a02,
.m-article__content .fuki_a03 {
  position: relative;
  display: block;
  width: calc(80% - 11rem);
  max-width: calc(100% - 20rem);
  background-color: transparent;
  border-radius: 10px;
  padding: 2rem;
  margin: 3rem 10rem 0 10rem;
  overflow: visible;
}

.m-article__content .fuki_b01,
.m-article__content .fuki_b02,
.m-article__content .fuki_b03,
.m-article__content .fuki_b04 {
  position: relative;
  display: block;
  width: calc(80% - 11rem);
  max-width: calc(100% - 20rem);
  background-color: transparent;
  border-radius: 10px;
  padding: 2rem;
  margin: 3rem 10rem 0 10rem;
  overflow: visible;
}

.m-article__content .fuki_a01 p,
.m-article__content .fuki_a02 p,
.m-article__content .fuki_a03 p,
.m-article__content .fuki_b01 p,
.m-article__content .fuki_b02 p,
.m-article__content .fuki_b03 p,
.m-article__content .fuki_b04 p {
  margin: 0;
}

.m-article__content .fuki_a01::after,
.m-article__content .fuki_a02::after,
.m-article__content .fuki_a03::after {
  content: "";
  position: absolute;
  top: 5rem;
  left: -1rem;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  border-right-color: #fff;
  border-left: 0;
  margin-top: -1rem;
  transform: translateY(-10%);
}

.m-article__content .fuki_b01::after,
.m-article__content .fuki_b02::after,
.m-article__content .fuki_b03::after,
.m-article__content .fuki_b04::after {
  content: "";
  position: absolute;
  top: 5rem;
  right: -1rem;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  border-left-color: #fff;
  border-right: 0;
  margin-top: -1rem;
  transform: translateY(-10%);
}

.m-article__content .fuki_a01::before,
.m-article__content .fuki_a02::before,
.m-article__content .fuki_a03::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10rem;
  width: 8.5rem;
  height: 10rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}

.m-article__content .fuki_b01::before,
.m-article__content .fuki_b02::before,
.m-article__content .fuki_b03::before,
.m-article__content .fuki_b04::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10rem;
  width: 8.5rem;
  height: 10rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}

.m-article__content .fuki_a01::before { background-image: url('images/common/mc_a01.png'); }
.m-article__content .fuki_a02::before { background-image: url('images/common/mc_a02.png'); }
.m-article__content .fuki_a03::before { background-image: url('images/common/mc_a03.png'); }

.m-article__content .fuki_b01::before { background-image: url('images/common/mc_b01.png'); }
.m-article__content .fuki_b02::before { background-image: url('images/common/mc_b02.png'); }
.m-article__content .fuki_b03::before { background-image: url('images/common/mc_b03.png'); }
.m-article__content .fuki_b04::before { background-image: url('images/common/mc_b04.png'); }

/* リード文内の吹き出し（PC） - 本文と同じレイアウトでアイコン切れ防止 */
.m-article__lead .fuki_a01,
.m-article__lead .fuki_a02,
.m-article__lead .fuki_a03 {
  position: relative;
  display: block;
  width: calc(80% - 11rem);
  max-width: calc(100% - 20rem);
  background-color: transparent;
  border-radius: 10px;
  padding: 2rem;
  margin: 3rem 10rem 0 10rem;
  overflow: visible;
}

.m-article__lead .fuki_b01,
.m-article__lead .fuki_b02,
.m-article__lead .fuki_b03,
.m-article__lead .fuki_b04 {
  position: relative;
  display: block;
  width: calc(80% - 11rem);
  max-width: calc(100% - 20rem);
  background-color: transparent;
  border-radius: 10px;
  padding: 2rem;
  margin: 3rem 10rem 0 10rem;
  overflow: visible;
}

.m-article__lead .fuki_a01 p,
.m-article__lead .fuki_a02 p,
.m-article__lead .fuki_a03 p,
.m-article__lead .fuki_b01 p,
.m-article__lead .fuki_b02 p,
.m-article__lead .fuki_b03 p,
.m-article__lead .fuki_b04 p {
  margin: 0;
}

.m-article__lead .fuki_a01::after,
.m-article__lead .fuki_a02::after,
.m-article__lead .fuki_a03::after {
  content: "";
  position: absolute;
  top: 5rem;
  left: -1rem;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  border-right-color: #fff;
  border-left: 0;
  margin-top: -1rem;
  transform: translateY(-10%);
}

.m-article__lead .fuki_b01::after,
.m-article__lead .fuki_b02::after,
.m-article__lead .fuki_b03::after,
.m-article__lead .fuki_b04::after {
  content: "";
  position: absolute;
  top: 5rem;
  right: -1rem;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  border-left-color: #fff;
  border-right: 0;
  margin-top: -1rem;
  transform: translateY(-10%);
}

.m-article__lead .fuki_a01::before,
.m-article__lead .fuki_a02::before,
.m-article__lead .fuki_a03::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10rem;
  width: 8.5rem;
  height: 10rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}

.m-article__lead .fuki_b01::before,
.m-article__lead .fuki_b02::before,
.m-article__lead .fuki_b03::before,
.m-article__lead .fuki_b04::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10rem;
  width: 8.5rem;
  height: 10rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}

.m-article__lead .fuki_a01::before { background-image: url('images/common/mc_a01.png'); }
.m-article__lead .fuki_a02::before { background-image: url('images/common/mc_a02.png'); }
.m-article__lead .fuki_a03::before { background-image: url('images/common/mc_a03.png'); }

.m-article__lead .fuki_b01::before { background-image: url('images/common/mc_b01.png'); }
.m-article__lead .fuki_b02::before { background-image: url('images/common/mc_b02.png'); }
.m-article__lead .fuki_b03::before { background-image: url('images/common/mc_b03.png'); }
.m-article__lead .fuki_b04::before { background-image: url('images/common/mc_b04.png'); }

/* ==========================================================================
   CSS_RULE.md - よくある質問（FAQ）
   ========================================================================== */

.faq {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  margin: 1.5rem 0;
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  background: #f8fafc;
  transition: all 0.3s ease;
}

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

.faq summary::before {
  content: 'Q';
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq summary::after {
  content: '';
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  background-image: url('images/common/arrow_summary.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.faq[open] summary::after {
  transform: rotate(180deg);
}

.faq summary:hover {
  background: #f1f5f9;
}

.faq > div {
  padding: 0 2rem 2rem;
  position: relative;
}

.faq > div::before {
  content: 'A';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 2.8rem;
  height: 2.8rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq > div p {
  margin-left: 4rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.faq > div p:first-of-type {
  margin-top: 0.5rem;
}

.faq > div p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive - タブレット（1024px〜1400px）
   ========================================================================== */

@media screen and (min-width: 1024px) and (max-width: 1400px) {
  .l-header-inner {
    padding: 1.5rem 3rem;
  }

  .l-content {
    padding: 3rem;
    gap: 3rem;
  }

  .home .l-content {
    padding: 0 3rem 3rem;
  }

  .c-hero {
    margin: 0 -3rem 3rem;
    padding: 4rem 3rem;
  }

  .c-exchanges__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .c-latest__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .l-footer {
    padding: 4rem 3rem 2rem;
  }
}

/* ==========================================================================
   Responsive - スマートフォン・タブレット（〜1023px）
   ========================================================================== */

@media screen and (max-width: 1023px) {
  .u-sp-only { display: block; }
  .u-pc-only { display: none; }

  .l-header-inner {
    padding: 1rem 1.5rem;
  }

  .l-content {
    display: block;
    padding: 2rem 1.5rem;
  }

  .home .l-content {
    padding: 0 1.5rem 2rem;
  }

  .l-main {
    order: 1;
    width: 100%;
  }

  .l-sidebar {
    order: 2;
    position: static;
    margin-top: 3rem;
  }

  .c-gnav {
    display: none;
  }

  .c-hero {
    margin: 0 -1.5rem 2rem;
    padding: 2rem 1.5rem;
  }

  .c-exchanges,
  .c-spec-table,
  .c-latest,
  .c-topics {
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
  }

  .c-exchanges__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .c-latest__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .m-article {
    padding: 2rem;
    border-radius: 1.5rem;
  }

  .m-article__title {
    font-size: 2.2rem;
  }

  .m-article__content h2 {
    font-size: 1.9rem;
    margin: 4rem 0 1.5rem;
  }

  .m-article__content h3 {
    font-size: 1.7rem;
  }

  .c-footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .l-footer {
    padding: 3rem 1.5rem 2rem;
  }

  /* -- 吹き出し: スマホでは flex レイアウトに戻す -- */
  .m-article__content .fuki_a01,
  .m-article__content .fuki_a02,
  .m-article__content .fuki_a03,
  .m-article__lead .fuki_a01,
  .m-article__lead .fuki_a02,
  .m-article__lead .fuki_a03 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    width: auto;
    max-width: 100%;
    margin: 2rem 0;
    padding: 0;
    overflow: visible;
  }

  .m-article__content .fuki_b01,
  .m-article__content .fuki_b02,
  .m-article__content .fuki_b03,
  .m-article__content .fuki_b04,
  .m-article__lead .fuki_b01,
  .m-article__lead .fuki_b02,
  .m-article__lead .fuki_b03,
  .m-article__lead .fuki_b04 {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0.8rem;
    width: auto;
    max-width: 100%;
    margin: 2rem 0;
    padding: 0;
    overflow: visible;
  }

  /* キャラクターを flex 内フローに戻す（background/background-image は変更しない） */
  .m-article__content .fuki_a01::before,
  .m-article__content .fuki_a02::before,
  .m-article__content .fuki_a03::before,
  .m-article__content .fuki_b01::before,
  .m-article__content .fuki_b02::before,
  .m-article__content .fuki_b03::before,
  .m-article__content .fuki_b04::before,
  .m-article__lead .fuki_a01::before,
  .m-article__lead .fuki_a02::before,
  .m-article__lead .fuki_a03::before,
  .m-article__lead .fuki_b01::before,
  .m-article__lead .fuki_b02::before,
  .m-article__lead .fuki_b03::before,
  .m-article__lead .fuki_b04::before {
    position: static;
    width: 72px;
    height: 88px;
    flex-shrink: 0;
  }

  /* PC 用の絶対配置しっぽ (::after) をスマホでは非表示にする
     （p::before / p::after の汎用しっぽがそのまま機能する） */
  .m-article__content .fuki_a01::after,
  .m-article__content .fuki_a02::after,
  .m-article__content .fuki_a03::after,
  .m-article__content .fuki_b01::after,
  .m-article__content .fuki_b02::after,
  .m-article__content .fuki_b03::after,
  .m-article__content .fuki_b04::after,
  .m-article__lead .fuki_a01::after,
  .m-article__lead .fuki_a02::after,
  .m-article__lead .fuki_a03::after,
  .m-article__lead .fuki_b01::after,
  .m-article__lead .fuki_b02::after,
  .m-article__lead .fuki_b03::after,
  .m-article__lead .fuki_b04::after {
    display: none;
  }
}

/* ==========================================================================
   Responsive - PC（1024px〜）
   ========================================================================== */

@media screen and (min-width: 1024px) {
  .u-sp-only { display: none; }
  .u-pc-only { display: block; }

  .l-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    padding: 4rem;
  }

  .home .l-content {
    display: block;
    padding: 0 4rem 4rem;
  }

  .l-main {
    order: 2;
    width: auto;
  }

  .l-sidebar {
    order: 1;
    position: sticky;
    top: 100px;
    margin-top: 0;
  }

  .c-gnav {
    display: block;
  }

  .c-exchanges__grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 2rem;
  }

  .c-latest__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .c-footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .c-footer-nav--four-column {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
  }

  .l-footer {
    padding: 5rem 4rem 3rem;
  }
}

/* ==========================================================================
   Components - アーカイブページ（カテゴリ・タグ）PC用
   ========================================================================== */

.c-archive-header {
  background: #fff;
  border-radius: 2rem;
  padding: 2.5rem 3.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-left: 4px solid #10b981;
}

.c-archive-header__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1a2e;
}

.c-archive-header__desc {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.7;
}

/* 取引所一覧 */
.c-exchange-list {
  background: #fff;
  border-radius: 2rem;
  padding: 2.5rem 3.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-exchange-list__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.c-exchange-list__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 2rem;
  background: #10b981;
  border-radius: 2px;
  flex-shrink: 0;
}

.c-exchange-list__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.2rem;
}

.c-exchange-list__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border-radius: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a2e;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.c-exchange-list__link:hover {
  background: #ecfdf5;
  color: #10b981;
  border-color: #10b981;
}

.c-exchange-list__link small {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 0.3rem;
}

/* 子カテゴリナビゲーション */
.c-subcategory {
  background: #fff;
  border-radius: 2rem;
  padding: 2.5rem 3.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-subcategory__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.c-subcategory__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1.6rem;
  background: #10b981;
  border-radius: 2px;
  flex-shrink: 0;
}

.c-subcategory__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-subcategory__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  color: #475569;
  padding: 0.8rem 1.8rem;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.c-subcategory__link small {
  font-size: 1.1rem;
  color: #94a3b8;
}

.c-subcategory__link:hover {
  background: #ecfdf5;
  color: #10b981;
  border-color: #10b981;
}

.c-subcategory__link:hover small {
  color: #6ee7b7;
}

/* 記事グリッド */
.c-post-grid {
  background: #fff;
  border-radius: 2rem;
  padding: 3rem 3.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.c-post-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-post-grid__item {
  background: #f8fafc;
  border-radius: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.c-post-grid__item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: #10b981;
}

.c-post-grid__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.c-post-grid__item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.c-post-grid__meta {
  padding: 1.2rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-post-grid__date {
  font-size: 1.1rem;
  color: #64748b;
}

.c-post-grid__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a2e;
  margin-top: 0.5rem;
}

/* もっとみるボタン */
.c-pagination {
  text-align: center;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid #f1f5f9;
  background: #fff;
  border-radius: 0 0 2rem 2rem;
  margin-top: -1rem;
}

.c-pagination a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #10b981;
  color: #fff;
  padding: 1.4rem 4rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16,185,129,0.25);
}

.c-pagination a:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16,185,129,0.35);
}

/* 記事なし */
.c-no-posts {
  padding: 5rem;
  background: #fff;
  border-radius: 2rem;
  text-align: center;
  font-size: 1.6rem;
  color: #64748b;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* アフィリエイト広告表記: ヒーローオーバーレイ（TOP） */
.c-hero .c-affiliate-notice {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  z-index: 10;
  pointer-events: none;
}

/* アフィリエイト広告表記: パンくず直下（記事・カテゴリ等） */
.c-affiliate-notice {
  font-size: 1.1rem;
  color: #94a3b8;
  background: none;
  border: none;
  padding: 0.3rem 1.6rem;
  margin: 0;
}
