/*
Theme Name: ChainTrack Child (Cocoon)
Template:   cocoon-master
Description: ChainTrack (trackingbb.net) 用 Cocoon 子テーマ。ネイビー×ティールのテック／信頼デザイン。
Author:      BitTo
Version:     1.0.0
*/

/* =====================================================================
 * ChainTrack — Custom Style
 * 配色: ネイビー #0a1628 × ティール #00b4d8
 * 方針: プロフェッショナル／テクノロジー感／信頼・誠実
 * ※ このファイルは子テーマ style.css、または Cocoon設定>カスタムCSS に貼り付け可。
 * ===================================================================== */

:root {
	--ct-navy:    #0a1628;
	--ct-navy-2:  #0e2240;
	--ct-navy-3:  #16304f;
	--ct-teal:    #00b4d8;
	--ct-teal-2:  #0090b8;
	--ct-teal-ink:#007fa3;
	--ct-ink:     #1f2a37;
	--ct-muted:   #5b6b7d;
	--ct-line:    #e2e8f0;
	--ct-bg:      #f4f7fb;
	--ct-white:   #ffffff;

	--ct-radius:  16px;
	--ct-radius-sm: 12px;
	--ct-shadow:        0 10px 30px rgba(10,22,40,.10);
	--ct-shadow-hover:  0 20px 46px rgba(10,22,40,.20);
	--ct-shadow-teal:   0 14px 34px rgba(0,180,216,.30);
	--ct-maxw: 1120px;
	--ct-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- 共通レイアウト ---------- */
.ct-container { max-width: var(--ct-maxw); margin: 0 auto; padding: 0 20px; }
.ct-section { padding: clamp(48px, 7vw, 88px) 0; }
.ct-section--soft { background: linear-gradient(180deg, var(--ct-bg), #eef3f9); }

.ct-section__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.ct-section__title {
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 800;
	color: var(--ct-navy);
	letter-spacing: .02em;
	margin: 0 0 .5em;
	position: relative; display: inline-block;
}
.ct-section__title::after {
	content: ""; position: absolute; left: 50%; bottom: -.45em; transform: translateX(-50%);
	width: 56px; height: 4px; border-radius: 999px;
	background: linear-gradient(90deg, var(--ct-teal), var(--ct-teal-2));
}
.ct-section__sub { color: var(--ct-muted); font-size: 15px; margin: .9em 0 0; }

/* ---------- ボタン ---------- */
.ct-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9em 1.7em; border-radius: 999px;
	font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none;
	transition: transform .22s var(--ct-ease), box-shadow .22s var(--ct-ease), background .22s ease, color .22s ease;
	cursor: pointer; border: 0;
}
.ct-btn--lg { padding: 1.05em 2.1em; font-size: 16px; }
.ct-btn--primary {
	color: #fff;
	background: linear-gradient(135deg, var(--ct-teal), var(--ct-teal-2));
	box-shadow: var(--ct-shadow-teal);
}
.ct-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0,180,216,.42); color:#fff; }
.ct-btn--ghost { color: #fff; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.45); }
.ct-btn--ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); color:#fff; }
.ct-btn--line { color: #fff; background: #06C755; box-shadow: 0 12px 28px rgba(6,199,85,.32); }
.ct-btn--line:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(6,199,85,.42); color:#fff; }

/* ---------- ヘッダーの動くブロックチェーンライン ---------- */
.ct-chain-line {
	position: relative; height: 3px; width: 100%;
	background: var(--ct-navy); overflow: hidden; z-index: 30;
}
.ct-chain-line::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg,
		transparent 0, transparent 24px,
		rgba(0,180,216,.55) 24px, rgba(0,180,216,.55) 29px);
	background-size: 220px 100%;
	animation: ctChainFlow 7s linear infinite;
}
.ct-chain-line::after {
	content: ""; position: absolute; top: -1.5px; left: -12%;
	width: 110px; height: 6px; border-radius: 999px;
	background: radial-gradient(closest-side, rgba(0,180,216,.95), rgba(0,180,216,0));
	filter: blur(.3px);
	animation: ctChainNode 4.6s linear infinite;
}
@keyframes ctChainFlow { to { background-position: 220px 0; } }
@keyframes ctChainNode { 0% { left: -12%; } 100% { left: 112%; } }

/* ---------- ヒーローセクション（Runway ML風・背景動画） ---------- */
.ct-hero {
	position: relative; overflow: hidden; color: #fff;
	display: flex; align-items: center; justify-content: center;
	min-height: clamp(480px, 86vh, 880px);
	padding: clamp(64px, 9vw, 132px) 20px;
	text-align: center;
	/* 読み込み前・動画非表示時のフォールバック＝ネイビー背景 */
	background:
		radial-gradient(1200px 540px at 80% -16%, rgba(0,180,216,.32), transparent 60%),
		radial-gradient(960px 480px at 6% 118%, rgba(0,180,216,.18), transparent 55%),
		radial-gradient(700px 360px at 50% 50%, rgba(16,42,72,.55), transparent 70%),
		linear-gradient(160deg, #0a1628 0%, #0c1d36 52%, #102a48 100%);
	background-color: #0a1628;
	border-radius: 0 0 28px 28px;
}
/* 背景動画（自動再生・ループ・ミュート / 全画面カバー） */
.ct-hero__video {
	position: absolute; inset: 0; z-index: 0;
	width: 100%; height: 100%; min-width: 100vw; min-height: 100%;
	object-fit: cover; object-position: center;
	pointer-events: none; border: 0; background: #0a1628;
}
/* 動画の上の暗めオーバーレイ（透明度0.5） */
.ct-hero__overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: rgba(10,22,40,.5);
}
.ct-hero::before { /* 微細なテックグリッド */
	content: ""; position: absolute; inset: 0; z-index: 1; opacity: .35; pointer-events: none;
	background-image:
		linear-gradient(rgba(0,180,216,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,180,216,.08) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 80%);
}
.ct-hero::after { /* 揺れる光のオーバーレイ（パーティクルの背面） */
	content: ""; position: absolute; z-index: 1; pointer-events: none;
	top: -140px; right: -70px; width: clamp(280px, 42vw, 460px); height: clamp(280px, 42vw, 460px);
	border-radius: 50%; filter: blur(10px);
	background: radial-gradient(closest-side, rgba(0,180,216,.30), transparent 72%);
	animation: ctHeroGlow 9s ease-in-out infinite alternate;
}
@keyframes ctHeroGlow {
	from { transform: translate(0, 0) scale(.92); opacity: .7; }
	to   { transform: translate(-34px, 26px) scale(1.14); opacity: 1; }
}
.ct-hero__canvas { /* ヒーロー背景パーティクル（文字/ボタンの下層・クリック透過） */
	position: absolute; inset: 0; width: 100%; height: 100%;
	z-index: 2; pointer-events: none;
}
.ct-hero__inner { position: relative; z-index: 3; max-width: 920px; margin: 0 auto; }
.ct-hero__eyebrow {
	display: inline-flex; align-items: center; gap: .7em;
	color: var(--ct-teal); font-weight: 700; font-size: clamp(11px, 1.2vw, 13px);
	letter-spacing: .28em; margin: 0 0 1.2em;
}
.ct-hero__eyebrow::before,
.ct-hero__eyebrow::after {
	content: ""; width: 26px; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0,180,216,.8));
}
.ct-hero__eyebrow::after { background: linear-gradient(90deg, rgba(0,180,216,.8), transparent); }
.ct-hero__title {
	font-size: clamp(30px, 5.8vw, 60px); font-weight: 800; line-height: 1.28;
	margin: 0 0 .5em; letter-spacing: .005em;
	text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.ct-hero__title b {
	background: linear-gradient(120deg, #7ee8ff 0%, #5fe0ff 35%, var(--ct-teal) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-weight: 800;
}
.ct-hero__lead { color: #c5d3e2; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.95; margin: 0 auto 2em; max-width: 680px; }
.ct-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.ct-hero__note { color: #8aa0b6; font-size: 12px; margin: 1.8em 0 0; }

/* ---------- ヒーロー内CTAボタン（動画・テキストの上／キャッチコピーの下・中央） ---------- */
.ct-hero__cta { margin-top: 1.7em; } /* キャッチコピーの下に配置（.ct-hero__cta は中央寄せ済み） */
.ct-hero-cta__btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 16px 48px; border-radius: 999px;
	font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none;
	color: #fff; background: #06C755;
	box-shadow: 0 12px 28px rgba(6,199,85,.32);
	transition: background .2s ease, filter .2s ease, transform .2s var(--ct-ease), box-shadow .2s var(--ct-ease);
}
.ct-hero-cta__btn:hover {
	filter: brightness(1.12); /* ホバーで少し明るく */
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(6,199,85,.45);
	color: #fff;
}
/* スマホ：同じ位置に表示しつつ、ボタンは少し小さめに */
@media (max-width: 768px) {
	.ct-hero-cta__btn { padding: 13px 34px; font-size: 15px; }
}

/* ---------- キーワード検索バー（ヒーロー下・コンパクト1行） ---------- */
.ct-search-section { padding: 16px 0; }            /* ヒーロー/カテゴリーとの区切り（バー自体はコンパクト） */
.ct-search {
	background: #0a1628;                            /* ネイビー・角丸 */
	border-radius: 14px;
	padding: 8px 10px;                              /* 上下8px以内 */
	box-shadow: var(--ct-shadow);
}
.ct-search__bar { display: flex; align-items: center; gap: 10px; }
/* PC：左=入力欄(約60%)＋ボタン / 右=カテゴリータブ（同じ行） */
.ct-search__form { display: flex; align-items: center; gap: 8px; flex: 0 1 58%; min-width: 0; }
.ct-search__field {
	flex: 1 1 auto; min-width: 0;
	height: 40px; border: 0; border-radius: 999px;
	background: #fff; color: var(--ct-ink);
	padding: 0 14px; font-size: 13px; line-height: 40px; outline: none;
}
.ct-search__field::placeholder { color: #9aa7b5; }
.ct-search__field:focus { box-shadow: 0 0 0 3px rgba(0,180,216,.4); }
.ct-search__btn {
	flex: 0 0 40px; width: 40px; height: 40px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; cursor: pointer;
	background: var(--ct-teal); color: #fff;       /* ティール */
	transition: filter .2s ease, transform .15s var(--ct-ease);
}
.ct-search__btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ct-search__btn svg { width: 18px; height: 18px; }
.ct-search__tabs {
	display: flex; align-items: center; gap: 6px;
	flex: 1 1 auto; min-width: 0;
	overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.ct-search__tabs::-webkit-scrollbar { height: 4px; }
.ct-search__tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 999px; }
.ct-search__tab {
	flex: 0 0 auto; cursor: pointer; white-space: nowrap;
	height: 28px; padding: 0 12px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.22);
	background: transparent; color: #c5d3e2;
	font-size: 13px; font-weight: 700; line-height: 1;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ct-search__tab:hover { color: #fff; border-color: rgba(0,180,216,.6); }
.ct-search__tab.is-active { background: var(--ct-teal); color: #fff; border-color: var(--ct-teal); } /* 選択時ティール */

/* 検索結果（同ページ内） */
.ct-search__results { margin-top: 12px; }
.ct-search__msg {
	margin: 0; padding: 18px; text-align: center;
	color: #c5d3e2; font-size: 14px;
	background: rgba(255,255,255,.05); border-radius: 12px;
}

/* スマホ：検索欄を全幅・カテゴリータブは横スクロール */
@media (max-width: 768px) {
	.ct-search__bar { flex-direction: column; align-items: stretch; gap: 8px; }
	.ct-search__form { flex: 1 1 auto; }
	.ct-search__tabs { flex: 1 1 auto; }
}

/* ---------- カテゴリーカード（背景動画・Runway ML風・ダーク×ティール） ---------- */
.ct-cat-grid {
	display: grid; gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
}
.ct-cat-card {
	position: relative; display: flex; overflow: hidden;
	min-height: 264px;
	/* 読み込み前・動画非表示時のフォールバック＝ネイビー背景 */
	background: linear-gradient(165deg, var(--ct-navy-2) 0%, var(--ct-navy) 100%);
	background-color: #0a1628;
	border: 1px solid rgba(0,180,216,.18);
	border-radius: var(--ct-radius);
	text-decoration: none; color: #fff;
	box-shadow: 0 8px 24px rgba(10,22,40,.22);
	transition: transform .3s var(--ct-ease), box-shadow .3s var(--ct-ease), border-color .3s ease;
}
.ct-cat-card::before { /* 上部アクセントライン（ホバーで伸びる・最前面） */
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 4;
	background: linear-gradient(90deg, var(--ct-teal), var(--ct-teal-2));
	transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ct-ease);
}
.ct-cat-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 26px 54px rgba(0,180,216,.26), 0 12px 32px rgba(10,22,40,.45);
	border-color: rgba(0,180,216,.6);
}
.ct-cat-card:hover::before { transform: scaleX(1); }

/* カード背景の動画／画像（全面表示） */
.ct-cat-card__video, .ct-cat-card__img {
	position: absolute; inset: 0; z-index: 0;
	width: 100%; height: 100%; object-fit: cover; object-position: center;
	display: block; border: 0; background: #0a1628;
	transition: transform .3s var(--ct-ease);
}
/* ホバー時に動画を少し拡大 */
.ct-cat-card:hover .ct-cat-card__video,
.ct-cat-card:hover .ct-cat-card__img { transform: scale(1.06); }

/* ネイビーのオーバーレイ（透明度0.4 → ホバーで薄く＝動画を強調） */
.ct-cat-card__overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: rgba(10,22,40,.4);
	transition: background .3s var(--ct-ease);
}
.ct-cat-card:hover .ct-cat-card__overlay { background: rgba(10,22,40,.18); }

/* テキストエリア（動画の上に重ねて表示） */
.ct-cat-card__body {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
	width: 100%; padding: 20px 22px 22px;
}
.ct-cat-card__icon {
	align-self: flex-start;
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 14px;
	background: rgba(0,180,216,.18); color: var(--ct-teal);
	border: 1px solid rgba(0,180,216,.35);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	box-shadow: 0 8px 20px rgba(10,22,40,.45);
	transition: transform .3s var(--ct-ease), box-shadow .3s ease, background .3s ease;
}
.ct-cat-card__icon svg { width: 24px; height: 24px; }
.ct-cat-card:hover .ct-cat-card__icon {
	transform: translateY(-2px) scale(1.06);
	background: rgba(0,180,216,.28);
	box-shadow: 0 0 0 4px rgba(0,180,216,.14), var(--ct-shadow-teal);
}
.ct-cat-card__text { display: flex; flex-direction: column; }
.ct-cat-card__title { display: block; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: .45em; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.ct-cat-card__desc { display: block; font-size: 13.5px; color: #e2ecf6; line-height: 1.7; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.ct-cat-card__more {
	display: inline-flex; align-items: center; gap: .35em; margin-top: 14px;
	font-size: 13px; font-weight: 700; color: var(--ct-teal); text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.ct-cat-card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ct-ease); }
.ct-cat-card:hover .ct-cat-card__more svg { transform: translateX(4px); }

/* ---------- 新着記事（CoinPost風リスト：左サムネ＋右テキスト・区切り線） ---------- */
.ct-news-list {
	background: var(--ct-white); border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius); overflow: hidden;
	box-shadow: 0 4px 14px rgba(10,22,40,.05);
}
.ct-news-item { border-bottom: 1px solid var(--ct-line); }
.ct-news-item:last-child { border-bottom: 0; }
.ct-news-item__link {
	display: grid; grid-template-columns: 168px 1fr; gap: 18px; align-items: start;
	padding: 16px 20px; text-decoration: none; color: inherit;
	transition: background .25s ease;
}
.ct-news-item__link:hover { background: rgba(0,180,216,.06); }
.ct-news-item__thumb {
	position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
	border-radius: var(--ct-radius-sm);
	background: linear-gradient(135deg, var(--ct-navy), var(--ct-navy-3));
}
.ct-news-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ct-ease); }
.ct-news-item__link:hover .ct-news-item__thumb img { transform: scale(1.06); }
.ct-news-item__noimg {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: rgba(0,180,216,.6); font-weight: 800; letter-spacing: .12em; font-size: 13px;
}
.ct-news-item__body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-news-item__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-news-item__cat {
	font-size: 11.5px; font-weight: 700; color: #fff; line-height: 1;
	background: linear-gradient(135deg, var(--ct-teal), var(--ct-teal-2));
	padding: .4em .8em; border-radius: 999px;
}
.ct-news-item__date { font-size: 12px; color: #93a3b4; }
.ct-news-item__title {
	font-size: 16px; font-weight: 800; color: var(--ct-navy); line-height: 1.55; margin: 0;
	transition: color .2s ease;
}
.ct-news-item__link:hover .ct-news-item__title { color: var(--ct-teal-ink); }
.ct-news-item__excerpt {
	font-size: 13px; color: var(--ct-muted); line-height: 1.7; margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- BitToバナー ---------- */
.ct-bitto {
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 22px; color: #fff;
	background:
		radial-gradient(600px 300px at 90% 0%, rgba(0,180,216,.30), transparent 60%),
		linear-gradient(135deg, #0a1628, #0e2240 70%);
	box-shadow: var(--ct-shadow);
}
.ct-bitto__eyebrow { color: var(--ct-teal); font-weight: 700; font-size: 12px; letter-spacing: .2em; margin: 0 0 .8em; }
.ct-bitto__title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; line-height: 1.45; margin: 0 0 .6em; }
.ct-bitto__text { color: #ffffff; font-size: 14px; line-height: 1.9; margin: 0 0 .8em; max-width: 620px; }
.ct-bitto__note { color: rgba(255,255,255,.85); font-size: 11.5px; margin: 0; }
.ct-bitto__action { flex-shrink: 0; }
.ct-bitto__glow {
	position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0,180,216,.35), transparent 70%);
	pointer-events: none; animation: ctGlow 6s ease-in-out infinite alternate;
}
@keyframes ctGlow { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }

/* ---------- スクロール・フェードイン ---------- */
.ct-js .ct-fade {
	opacity: 0; transform: translateY(26px);
	transition: opacity .7s ease, transform .7s var(--ct-ease);
	transition-delay: var(--ct-d, 0s);
	will-change: opacity, transform;
}
.ct-fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ct-js .ct-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
	.ct-chain-line::before, .ct-chain-line::after, .ct-bitto__glow { animation: none !important; }
}

/* =====================================================================
 * Cocoon 既存パーツの上書き（配色をネイビー×ティールに統一）
 * ※ お使いのスキン/ヘッダーレイアウトにより微調整が必要な場合あり
 * ===================================================================== */

/* ヘッダー（左寄せ・2行サイト名・右CTA／縦幅コンパクト） */
#header, .header-container {
	background: var(--ct-navy); position: relative;
	min-height: 0 !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}
.logo, #site-title, .logo-header, #header .logo-header,
.header-container .logo, #header-container .logo {
	text-align: left !important; margin-left: 0 !important; padding-left: 0 !important; margin-right: auto;
}
#site-title a, #header .site-name-text, .logo-header a {
	color: #fff !important; font-weight: 800; letter-spacing: .04em; line-height: 1.15;
}
/* スマホ：ヘッダータイトルを1行に収める（途中改行を防止）
   旧 word-break:break-all / max-width が原因で「…メ／ディア」と折れていたため修正。 */
@media (max-width: 767px) {
	#site-title a, #header .site-name-text, .logo-header a {
		font-size: clamp(10px, 3.4vw, 12px) !important; /* 最小10px・読みやすさ維持 */
		letter-spacing: -0.03em !important;
		white-space: nowrap !important;                 /* 途中で改行させない＝1行 */
		line-height: 1.35;
	}
}
/* サイト名2行目サブタイトル＝ヘッダーは #site-title a::after の1つだけ表示 */
#site-title a::after {
	content: "仮想通貨詐欺被害の調査メディア";
	display: block;
	margin-top: 4px;
	font-size: 1em;
	font-weight: 600;
	letter-spacing: .04em;
	color: #00b4d8;
}
#header .site-name-text::after { display: none !important; content: none !important; }
/* Cocoon標準のキャッチフレーズ／サイト説明を完全非表示 */
.tagline, .site-description, .site-description-text, .catch, #catchphrase, #tagline { display: none !important; }
#navi, .navi-in { background: var(--ct-navy); }
#navi .navi-in > ul > li > a { color: #e6eef6; transition: color .2s ease; }
#navi .navi-in > ul > li > a:hover { color: var(--ct-teal); background: rgba(0,180,216,.08); }
.navi-in > ul > li.current-menu-item > a { color: var(--ct-teal); }

/* ヘッダーの「被害について相談」CTAは廃止 → PC・スマホ両方で完全非表示
   （ボタンはヒーロー下のCTAセクション .ct-hero-cta に集約） */
.ct-header-cta { display: none !important; }

/* スマホ：ヘッダーは縦幅コンパクト（旧CTA用の下余白38pxは撤去） */
@media (max-width: 1023px) {
	#header { padding-top: 6px !important; padding-bottom: 6px !important; }
}

/* =====================================================================
 * スマホ：ヘッダーは常時ネイビー（#0a1628）・通常配置
 *  ※ 以前の「透明で固定して重ねる」設定が、スクロール後も透明のまま続き
 *    画面全体が暗く見える不具合の原因だったため、確実にネイビー背景・
 *    通常フロー（fixedにしない）へ修正。
 *  ※ 暗めオーバーレイは .ct-hero__overlay（ヒーロー内）のみに限定し、
 *    記事一覧・カテゴリー・フッターのコンテンツには一切かけない。
 *  ※ PC（769px以上）のヘッダーは従来どおり。
 * ===================================================================== */
@media (max-width: 768px) {
	/* ヘッダーは通常配置（fixed・transparent を解除）＋ネイビー背景を確実に適用 */
	#header, .header-container, #header-container {
		position: static !important;
		top: auto; left: auto; right: auto; z-index: auto;
		background: #0a1628 !important;
		box-shadow: none !important;
	}
	/* ロゴ・サイト名・ナビ・メニューアイコンは白で視認性を確保（ネイビー背景上） */
	#site-title a, #header .site-name-text, .logo-header a,
	#navi .navi-in > ul > li > a,
	.menu-button, .navi-menu-button, .menu-icon, #header .fa, #header svg {
		color: #fff !important;
	}
	/* ハンバーガー（3本線）アイコンも白に */
	.menu-icon span, .menu-icon span::before, .menu-icon span::after,
	.navi-menu-button .fa { background-color: #fff !important; color: #fff !important; }
}

/* ヘッダーとファーストビューの間隔を詰める＋トップを“スマート”に（トップページのみ） */
.home #content, .home #main, .home .main, .home .content { padding-top: 0 !important; margin-top: 0 !important; }
.home .entry-content { margin-top: 0 !important; }
.home .entry-title, .home .article-title, .home #breadcrumb, .home .breadcrumb, .home .breadcrumbs { display: none !important; }
.ct-hero { margin-top: 0; }

/* 本文リンク・見出し */
.entry-content a { color: var(--ct-teal-ink); }
.entry-content a:hover { color: var(--ct-teal); }
.article h2, .entry-content h2 {
	color: var(--ct-navy); background: none;
	border-left: 5px solid var(--ct-teal); border-bottom: 1px solid var(--ct-line);
	padding: .4em .7em; border-radius: 0 6px 6px 0;
}
.article h3, .entry-content h3 { color: var(--ct-navy); border-left: 3px solid var(--ct-teal); padding-left: .6em; }

/* Cocoon 記事カードのホバー浮き上がり */
.entry-card-wrap, .a-wrap { transition: transform .28s var(--ct-ease), box-shadow .28s var(--ct-ease); border-radius: var(--ct-radius-sm); }
.entry-card-wrap:hover, .a-wrap:hover { transform: translateY(-6px); box-shadow: var(--ct-shadow-hover); }
.entry-card { border-radius: var(--ct-radius-sm); }
.cat-label { background: var(--ct-teal) !important; }

/* Cocoon 記事カード画像：ホバーでズームイン（スムーズな0.3sトランジション） */
.entry-card-thumb, .card-thumb, .list-thumb, .ect-entry-card .eye-catch-wrap,
.widget-entry-card-thumb { overflow: hidden; }
.entry-card-thumb img, .card-thumb img, .list-thumb img,
.entry-card-thumb-image, .card-thumb-image, .list-thumb-image,
.widget-entry-card-thumb img {
	transition: transform .3s var(--ct-ease);
	will-change: transform;
}
.entry-card-wrap:hover .entry-card-thumb img,
.entry-card-wrap:hover .entry-card-thumb-image,
.entry-card-wrap:hover .widget-entry-card-thumb img,
.a-wrap:hover .card-thumb img,
.a-wrap:hover .card-thumb-image,
.a-wrap:hover .list-thumb img,
.a-wrap:hover .list-thumb-image,
.a-wrap:hover .entry-card-thumb img,
.a-wrap:hover .entry-card-thumb-image {
	transform: scale(1.08);
}

/* ---------- ピン止め「ピックアップ」バッジ（カテゴリーページの記事カード左上） ---------- */
/* バッジの基準点：サムネを relative に（zoom用の overflow:hidden と併用可） */
.entry-card-thumb, .card-thumb, .list-thumb, .widget-entry-card-thumb { position: relative; }
.ct-pin-badge {
	position: absolute; top: 8px; left: 8px; z-index: 5;
	display: inline-flex; align-items: center; gap: .3em;
	padding: 5px 10px; border-radius: 8px;
	background: var(--ct-teal); color: #fff;          /* ティール #00b4d8 */
	font-size: 11.5px; font-weight: 800; line-height: 1; letter-spacing: .02em;
	box-shadow: 0 4px 12px rgba(0,180,216,.45), 0 0 0 1px rgba(255,255,255,.18) inset;
	pointer-events: none; white-space: nowrap;
}
.ct-pin-badge::before { content: "★"; font-size: 11px; line-height: 1; }
/* スマホでも表示（少し小さめに） */
@media (max-width: 768px) {
	.ct-pin-badge { top: 6px; left: 6px; padding: 4px 8px; font-size: 10.5px; }
}

/* ウィジェットタイトル */
.widget-sidebar .widget-title, .sidebar-title, .widget_title {
	color: var(--ct-navy); border-bottom: 2px solid var(--ct-teal);
}

/* ページネーション・ボタン類 */
.pagination .page-numbers.current, .page-numbers.current { background: var(--ct-teal) !important; border-color: var(--ct-teal) !important; }
.btn, .wp-block-button__link { background: linear-gradient(135deg, var(--ct-teal), var(--ct-teal-2)); }

/* フッター */
.footer, #footer { background: var(--ct-navy); color: #c5d3e2; }
.footer a, #footer a { color: #c5d3e2; }
.footer a:hover, #footer a:hover { color: var(--ct-teal); }
.copyright { color: #8aa0b6; }

/* フッターのサイト名（白色のみ・サブテキストなし） */
#footer .site-name-text, .footer .site-name-text,
#footer .logo a, .footer .logo a, .footer-logo a, #footer .logo-text {
	color: #ffffff !important; font-weight: 800; line-height: 1.2; display: inline-block;
}
/* フッターのサイト名2行目サブテキスト＝.footer .site-name-text::after の1つだけ表示 */
.footer .site-name-text::after {
	content: "仮想通貨詐欺被害の調査メディア";
	display: block;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #00b4d8;
}
/* 重複防止：ロゴ系の::afterは非表示（#footer .site-name-text::after は表示と競合するため除外） */
#footer .logo a::after,
.footer .logo a::after,
.footer-logo a::after,
#footer .logo-text::after { display: none !important; content: none !important; }

/* BitToバナー見出しは白で固定（.entry-content h2 等の色上書きを防止） */
.ct-bitto .ct-bitto__title { color: #ffffff !important; border: 0; background: none; padding: 0; }

/* 「○○をフォローする」のSNSフォロー枠を丸ごと非表示 */
.sns-follow, .sns-follow-buttons, .author-box .sns-follow, .footer .sns-follow { display: none !important; }

/* スクロールトップ */
#go-to-top-button, .go-to-top { background: var(--ct-teal); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
	.ct-bitto { flex-direction: column; align-items: flex-start; text-align: left; }
	.ct-bitto__action { align-self: stretch; }
	.ct-bitto__action .ct-btn { width: 100%; }
	.ct-hero__cta { flex-direction: column; }
	.ct-hero__cta .ct-btn { width: 100%; }

	/* スマホ：背景動画も表示する（高さを画面に合わせて調整。重い場合はposter画像で代替） */
	.ct-hero { min-height: clamp(440px, 78vh, 680px); }
	.ct-hero__video { display: block; width: 100%; height: 100%; min-width: 100%; object-fit: cover; }
	/* 念のため：オーバーレイはヒーロー内に限定（コンテンツへ波及させない） */
	.ct-hero__overlay { position: absolute; inset: 0; }

	/* NEWSリスト：サムネを少し小さく・余白を圧縮 */
	.ct-news-item__link { grid-template-columns: 124px 1fr; gap: 14px; padding: 14px 16px; }
}

@media (max-width: 480px) {
	/* NEWSリスト：スマホはコンパクトに（サムネ縮小・本文2行クランプ） */
	.ct-news-item__link { grid-template-columns: 98px 1fr; gap: 12px; padding: 12px 14px; }
	.ct-news-item__body { gap: 6px; }
	.ct-news-item__title { font-size: 14px; line-height: 1.5; }
	.ct-news-item__excerpt { -webkit-line-clamp: 2; font-size: 12px; }
	.ct-news-item__cat { font-size: 10.5px; padding: .35em .7em; }
	.ct-news-item__date { font-size: 11px; }
}
