@charset "UTF-8";

/* ===== CRITICAL OVERRIDES (nav + quick-nav) ===== */
.nav-arrow { font-size:.65rem; opacity:.7; margin-left:2px; transition:transform .2s; display:inline-block; }
.has-dropdown:hover .nav-arrow { transform:rotate(180deg); }
.header-nav .has-dropdown .nav-dropdown { display:none; position:absolute; top:calc(100% + 4px); left:0; background:#0d1a2e; color:rgba(255,255,255,0.9); border:1px solid rgba(212,168,67,.2); border-top:2px solid #d4a843; border-radius:0 0 6px 6px; min-width:220px; z-index:200; box-shadow:0 12px 32px rgba(0,0,0,.4); padding:6px 0; list-style:none; }
.header-nav .has-dropdown:hover .nav-dropdown, .header-nav .has-dropdown.dropdown-open .nav-dropdown { display:block; }
.nav-dropdown li a { display:flex; align-items:center; gap:8px; padding:10px 18px; font-size:.82rem; color:rgba(255,255,255,.82); transition:background .2s,color .2s; white-space:nowrap; }
.nav-dropdown li a:hover { background:rgba(212,168,67,.1); color:#f0cc6e; }
.quick-nav-grid { display:grid; grid-template-columns:repeat(11,1fr); gap:0; }
@media (max-width:900px) { .quick-nav-grid { grid-template-columns:repeat(4,1fr); } }
@media (max-width:600px) { .quick-nav-grid { grid-template-columns:repeat(4,1fr); } }

/* ===== QUICK NAV ACTIVE STATE ===== */
.qn-item--active { background: rgba(212,168,67,0.12) !important; border-top: 2px solid #d4a843 !important; }
.qn-item--active .qn-icon { transform: scale(1.15); }
.qn-item--active .qn-label { color: #d4a843 !important; font-weight: 700; }

/* ===== VISUAL PATCH (desktop-force) ===== */
.cat-bg { opacity: 0.11 !important; }
.category-card:hover .cat-bg { opacity: 0.2 !important; }
.cat-icon { display: inline-block; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.category-card:hover .cat-icon { transform: scale(1.18) translateY(-2px); }
.category-card { position: relative; overflow: hidden; }
.category-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #b8892e, #d4a843); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.category-card:hover::after { transform: scaleX(1); }
.section-title::after { content: ''; display: block; width: 48px; height: 3px; background: #d4a843; border-radius: 2px; margin-top: 10px; }
.trust-bar { border-top: 3px solid transparent; border-image: linear-gradient(90deg, #b8892e 0%, #e8c06a 50%, #b8892e 100%) 1; }
.featured-project { box-shadow: 0 0 0 1px rgba(212,168,67,0.12), 0 8px 40px rgba(26,46,68,0.16) !important; }
.qn-icon { display: inline-block; transition: transform 0.2s ease; }
.qn-item:hover .qn-icon { transform: scale(1.2); }
.download-card { box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important; }
.hub-phase-section .phase-num-big, .hub-header .hub-sum-num { text-shadow: 0 0 40px rgba(212,168,67,0.2); }
.article-thumb-placeholder { background: linear-gradient(135deg, #111e2e 0%, #1e3a5f 50%, #243547 100%); }

/* hub CTA ボタン強化 */
.hub-cta-btn.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(212,168,67,0.5) !important; }

/* hub-card ホバー改善 */
.hub-card { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important; }
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important; }

/* featured-project 左ボーダーアクセント */
.featured-project { border-left: 4px solid var(--amber, #d4a843) !important; }

/* scroll-top ボタン強化 */
.scroll-top { background: var(--amber, #d4a843) !important; color: var(--navy-dark, #111e2e) !important; font-weight: 900 !important; box-shadow: 0 4px 16px rgba(212,168,67,0.4) !important; }
.scroll-top:hover { transform: translateY(-3px) scale(1.08) !important; box-shadow: 0 8px 24px rgba(212,168,67,0.6) !important; }

/* hub-phase-section 左アクセントライン */
.hub-phase-section { border-left: 3px solid rgba(212,168,67,0.15); padding-left: 20px; }
.hub-phase-section:hover { border-left-color: rgba(212,168,67,0.4); }

/* about-tag アンバーバッジ */
.about-tag { border: 1px solid rgba(212,168,67,0.25) !important; transition: background 0.2s, color 0.2s; }
.about-tag:hover { background: rgba(212,168,67,0.15) !important; color: var(--amber, #d4a843) !important; }

/* footer-nav-group リンクホバー */
.footer-nav-group ul li a:hover { color: var(--amber, #d4a843) !important; padding-left: 4px; }

/* ===== MYSTERY-ZONE RULES (desktop-force) ===== */
/* cat-meta-row */
.cat-meta-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 8px; }
.cat-count--active { background: rgba(45,122,79,0.12); border: 1px solid rgba(45,122,79,0.3); color: #2d7a4f; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-family: monospace; }
.cat-count--soon   { background: rgba(212,168,67,0.1); border: 1px solid rgba(212,168,67,0.25); color: #b8892e; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-family: monospace; }
.cat-count--new    { background: rgba(79,195,247,0.1); border: 1px solid rgba(79,195,247,0.3); color: #4fc3f7; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-family: monospace; }
.cat-hub { font-size: 0.72rem; color: #d4a843; font-weight: 700; }
/* cat-appeal-box */
.cat-appeal-box { display: flex; align-items: flex-start; gap: 16px; background: rgba(212,168,67,0.06); border: 1px dashed rgba(212,168,67,0.35); border-radius: 12px; padding: 20px 24px; grid-column: 1 / -1; }
.appeal-icon { font-size: 1.6rem; flex-shrink: 0; }
.appeal-text { font-size: 0.85rem; color: #555; line-height: 1.7; }
.appeal-text strong { color: #1a2e44; font-weight: 800; }
.appeal-text em { color: #b8892e; font-style: normal; font-weight: 700; }
/* filter-btn */
.article-filter { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn { padding: 7px 16px; font-size: 0.8rem; font-weight: 700; color: #555; background: #fff; border: 1.5px solid #e0d8cc; border-radius: 100px; cursor: pointer; transition: 0.25s ease; }
.filter-btn:hover { border-color: #d4a843; color: #b8892e; }
.filter-btn.active { background: #1a2e44; color: #d4a843; border-color: #1a2e44; }
/* migration badges */
.article-badge-new { position: absolute; top: 10px; right: 10px; background: #2d7a4f; color: #fff; font-size: 0.62rem; font-weight: 900; padding: 3px 7px; border-radius: 4px; }
.article-badge-mig { position: absolute; top: 10px; right: 10px; background: rgba(212,168,67,0.85); color: #111e2e; font-size: 0.62rem; font-weight: 900; padding: 3px 7px; border-radius: 4px; }

/* ===== CAT-BG 不足色 (desktop-force) ===== */
.cat-bg--kitchen { background: linear-gradient(135deg, #8B3A0F, #4a1e08) !important; }
.cat-bg--bath    { background: linear-gradient(135deg, #1a5a7a, #0d3347) !important; }
.cat-bg--living  { background: linear-gradient(135deg, #4a3d6b, #2a2040) !important; }

/* ===== CAT-TAB 強化 (desktop-force) ===== */
.cat-tab-wrap { display: flex; gap: 6px; margin-bottom: 28px; border-bottom: 2px solid #e0d8cc; flex-wrap: wrap; padding-bottom: 0; }
.cat-tab {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.02em;
}
.cat-tab:hover { color: #d4a843; background: rgba(212,168,67,0.06); }
.cat-tab.active {
  color: #1a2e44;
  border-bottom-color: #d4a843;
  background: rgba(212,168,67,0.08);
  position: relative;
}
.cat-tab.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8892e, #d4a843);
  border-radius: 6px 6px 0 0;
}

/* =========================================
   DIY父さんブログ - 完全デザインシステム
   戦略: 技術特化型 × 資産型 × 論理データ型
   ========================================= */

/* --- CSS変数 --- */
:root {
  --navy:      #1a2e44;
  --navy-dark: #111e2e;
  --navy-mid:  #243547;
  --amber:     #d4a843;
  --amber-light: #e8c06a;
  --amber-dark:  #b8892e;
  --green:     #2d7a4f;
  --green-light: #3a9a63;
  --bg:        #f8f5f0;
  --bg-card:   #ffffff;
  --bg-dark:   #f0ece5;
  --text:      #2c2c2c;
  --text-mid:  #555555;
  --text-light:#888888;
  --border:    #e0d8cc;
  --blue-tech: #4fc3f7;
  --red-warn:  #e74c3c;
  --shadow-sm: 0 2px 8px rgba(26,46,68,0.08);
  --shadow-md: 0 4px 20px rgba(26,46,68,0.12);
  --shadow-lg: 0 8px 40px rgba(26,46,68,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-mono: 'Courier New', 'Courier', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- リセット & ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   READING PROGRESS BAR
   ========================================= */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light));
  z-index: 1100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 46, 68, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--amber);
  line-height: 1;
  display: inline-block;
  animation: spin-slow 12s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--amber);
  letter-spacing: 0.05em;
  line-height: 1;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav ul li a {
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.header-nav ul li a:hover {
  color: var(--amber);
  background: rgba(212,168,67,0.1);
}

.btn-nav {
  background: var(--amber) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm) !important;
}

.btn-nav:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,168,67,0.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   HERO
   ========================================= */
.hero-section {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 24px 60px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  gap: 40px;
}

.hero-section > * { position: relative; z-index: 1; }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* エンジニアリンググリッド背景 */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,80,120,0.3) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 20%, rgba(212,168,67,0.08) 0%, transparent 50%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  margin: 0 auto 0 calc((100vw - 1120px) / 2 + 24px);
}

@media (max-width: 1200px) {
  .hero-content { margin-left: 0; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.35);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: var(--amber);
  position: relative;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(212,168,67,0.35);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(212,168,67,0.08);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Hero image / blueprint mockup */
.hero-image-area {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: calc((100vw - 1120px) / 2 + 24px);
}

@media (max-width: 1200px) {
  .hero-image-area { padding-right: 0; }
}

.hero-mockup {
  position: relative;
}

.blueprint-card {
  background: rgba(26, 46, 68, 0.8);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 300px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(212,168,67,0.1);
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bp-label {
  font-size: 0.75rem;
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bp-status {
  background: rgba(45,122,79,0.3);
  border: 1px solid var(--green);
  color: var(--green-light);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 700;
}

.blueprint-drawing {
  background: rgba(10,20,35,0.6);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
}

.bp-svg { width: 100%; height: auto; }

.blueprint-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bp-tag {
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--amber);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--navy);
  border-top: 3px solid var(--amber);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  white-space: nowrap;
}

.trust-icon { font-size: 1rem; }

.trust-divider {
  color: rgba(255,255,255,0.2);
  font-size: 1.2rem;
}

/* =========================================
   AD SLOTS
   ========================================= */
.ad-slot {
  background: var(--bg-dark);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  margin: 24px auto;
  position: relative;
}

.ad-label {
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.ad-placeholder {
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 20px;
  font-family: var(--font-mono);
}

.ad-horizontal {
  max-width: 740px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slim { min-height: 70px; }

/* =========================================
   SECTION COMMONS
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(212,168,67,0.1);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-mid);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto;
}

/* =========================================
   FEATURED PROJECT
   ========================================= */
.featured-section {
  padding: 80px 0;
  background: var(--bg);
}

.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.featured-image-wrap {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.featured-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.image-dummy { width: 100%; height: 100%; }
.image-dummy svg { width: 100%; height: 100%; }

.image-overlay-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 40px 24px 20px;
  z-index: 2;
}

.overlay-tag {
  display: inline-block;
  background: var(--amber);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.overlay-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.featured-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.badge-complete {
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-plan {
  background: var(--blue-tech);
  color: var(--navy-dark);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.featured-content {
  padding: 40px 40px 40px 8px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.meta-category {
  background: rgba(26,46,68,0.1);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.meta-date, .meta-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

.featured-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

.featured-subtitle {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
}

.featured-desc {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.featured-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--amber);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hl-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.hl-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1px;
}

.hl-value {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.btn-featured {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 2px solid var(--navy);
}

.btn-featured:hover {
  background: transparent;
  color: var(--navy);
}

/* =========================================
   CATEGORY SECTION
   ========================================= */
.category-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.category-card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.category-card--featured {
  min-height: 380px;
}

.cat-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  transition: var(--transition);
}

.category-card:hover .cat-bg { opacity: 0.14; }

.cat-bg--deck    { background: linear-gradient(135deg, #8B6914, #4a3008); }
.cat-bg--furniture { background: linear-gradient(135deg, #2d7a4f, #1a4a30); }
.cat-bg--design  { background: linear-gradient(135deg, #1a2e44, #4fc3f7); }
.cat-bg--tools   { background: linear-gradient(135deg, #c0392b, #7b241c); }
.cat-bg--fail    { background: linear-gradient(135deg, #e67e22, #935116); }
.cat-bg--cost    { background: linear-gradient(135deg, #8e44ad, #5b2c6f); }

.cat-content {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1;
}

.category-card--featured .cat-icon { font-size: 3.2rem; }

.cat-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.category-card--featured .cat-name { font-size: 1.4rem; }

.cat-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.cat-count {
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  font-family: var(--font-mono);
  padding: 3px 8px;
  background: rgba(212,168,67,0.1);
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
}

/* =========================================
   FREE DOWNLOAD SECTION
   ========================================= */
.download-section {
  padding: 80px 0;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.dl-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(212,168,67,0.12);
  border-radius: 100px;
  margin-bottom: 16px;
}

.dl-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
}

.dl-accent {
  color: var(--amber);
}

.dl-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 20px;
}

.dl-value {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.dl-value del { color: rgba(255,255,255,0.35); }
.dl-value strong { color: var(--amber); font-size: 1.05rem; }

.dl-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dl-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
}

.dl-input::placeholder { color: rgba(255,255,255,0.4); }

.dl-input:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.2);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-download:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,168,67,0.4);
}

.dl-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

/* Download visual mockup */
.download-visual { flex-shrink: 0; }

.dl-mockup {
  position: relative;
  width: 240px;
}

.dl-doc {
  background: rgba(26,46,68,0.9);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.dl-doc--1 { margin-bottom: -30px; position: relative; z-index: 2; }
.dl-doc--2 {
  margin-top: 0;
  margin-left: 24px;
  position: relative;
  z-index: 1;
  opacity: 0.85;
  transform: rotate(3deg);
}

.doc-header {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  font-family: var(--font-mono);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.doc-svg { width: 100%; height: auto; }

.doc-list { display: flex; flex-direction: column; gap: 6px; }

.doc-list-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.doc-list-more {
  color: var(--amber);
  font-style: italic;
}

.dl-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--red-warn);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(231,76,60,0.4);
}

/* =========================================
   ARTICLE LIST
   ========================================= */
.articles-section {
  padding: 80px 0;
  background: var(--bg);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}

.article-card--coming {
  opacity: 0.65;
  pointer-events: none;
}

.article-card--wide .article-link {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.article-card:not(.article-card--wide):not(.article-card--coming) .article-link {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.article-card--coming {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.article-thumb {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}

.article-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
}

.thumb-icon { font-size: 2.5rem; opacity: 0.6; }

.article-num {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--amber);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
}

.article-body { padding: 24px 28px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.article-cat {
  background: rgba(26,46,68,0.08);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.article-date { font-size: 0.72rem; color: var(--text-light); }

.article-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.article-status.coming {
  background: rgba(231,76,60,0.1);
  color: var(--red-warn);
}

.article-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-card--wide .article-title { font-size: 1.15rem; }

.article-excerpt {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 12px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.68rem;
  color: var(--amber-dark);
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.25);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.about-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.about-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border: 3px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 8px 24px rgba(26,46,68,0.3);
}

.avatar-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.about-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-text strong { color: var(--navy); font-weight: 700; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.about-tag {
  background: rgba(26,46,68,0.07);
  border: 1px solid rgba(26,46,68,0.12);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}

/* =========================================
   RECOMMEND (AFFILIATE) SECTION
   ========================================= */
.recommend-section {
  padding: 80px 0;
  background: var(--bg);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rec-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rec-image {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-img-placeholder { font-size: 3.5rem; opacity: 0.7; }

.rec-body { padding: 20px 24px; }

.rec-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber-dark);
  background: rgba(212,168,67,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.rec-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.rec-reason {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}

.rec-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars { color: var(--amber); font-size: 0.9rem; }
.rec-score { font-size: 0.78rem; color: var(--text-mid); font-family: var(--font-mono); }

.btn-affiliate {
  display: block;
  text-align: center;
  background: #FF9900;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-affiliate:hover {
  background: #e88800;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,153,0,0.35);
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  padding: 48px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.cta-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(212,168,67,0.35);
  flex-shrink: 0;
}

.btn-cta-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.5);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(212,168,67,0.15);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo .logo-icon { font-size: 1.5rem; color: var(--amber); }
.footer-logo .logo-main { font-size: 1.1rem; font-weight: 900; color: #fff; }

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(212,168,67,0.2);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.footer-nav-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-group ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-nav-group ul li a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy, .footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--amber);
  color: var(--navy-dark);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(212,168,67,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.5);
}

/* =========================================
   ARTICLE PAGE STYLES
   ========================================= */
.article-page-header {
  background: var(--navy-dark);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .article-page-header { padding: 80px 0 40px; }
}

.article-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.article-breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  position: relative;
}

.article-breadcrumb a { color: var(--amber); }
.article-breadcrumb span { margin: 0 8px; }

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  flex-wrap: wrap;
}

.article-header-cat {
  background: var(--amber);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
}

.article-header-date, .article-header-updated {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.article-header-title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
  position: relative;
}

.article-header-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  position: relative;
  max-width: 680px;
}

.article-summary-box {
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
  position: relative;
}

.summary-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding-left: 20px;
  position: relative;
}

.summary-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

/* Article body layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px;
  align-items: start;
}

.article-main { min-width: 0; }

.article-sidebar { position: sticky; top: 88px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px; }
  .article-sidebar { position: static; }
}

/* TOC */
.toc-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.toc-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list li a {
  font-size: 0.8rem;
  color: var(--text-mid);
  padding: 3px 0 3px 12px;
  border-left: 2px solid transparent;
  display: block;
  transition: var(--transition);
}

.toc-list li a:hover,
.toc-list li a.active {
  color: var(--amber);
  border-left-color: var(--amber);
}

/* Sidebar widgets */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
}

/* Article content typography */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin: 48px 0 16px;
  padding: 12px 16px;
  background: rgba(26,46,68,0.04);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.article-content p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0 20px 20px;
}

.article-content ul li,
.article-content ol li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 6px;
  list-style: disc;
}

.article-content ol li { list-style: decimal; }

.article-content strong { font-weight: 700; color: var(--navy); }

.article-content .warn-box {
  background: rgba(231,76,60,0.05);
  border: 1px solid rgba(231,76,60,0.2);
  border-left: 4px solid var(--red-warn);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.88rem;
}

.article-content .info-box {
  background: rgba(79,195,247,0.05);
  border: 1px solid rgba(79,195,247,0.2);
  border-left: 4px solid var(--blue-tech);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.88rem;
}

.article-content .cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.85rem;
}

.article-content .cost-table th {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.article-content .cost-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.article-content .cost-table tr:nth-child(even) td {
  background: var(--bg-dark);
}

.article-content .cost-table .total td {
  font-weight: 800;
  color: var(--navy);
  background: rgba(212,168,67,0.1) !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-image-wrap { min-height: 300px; }
  .featured-content { padding: 32px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card--featured { grid-column: 1 / -1; grid-row: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .recommend-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; }
  .download-visual { display: none; }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 100px 24px 60px;
    text-align: center;
  }

  .hero-content { max-width: 100%; }

  .hero-buttons { justify-content: center; }

  .hero-stats { justify-content: center; }

  .hero-image-area { display: none; }

  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy-dark);
    border-bottom: 2px solid var(--amber);
    padding: 24px;
    flex-direction: column;
  }
  .header-nav.open ul { flex-direction: column; gap: 0; }
  .header-nav.open ul li a { padding: 12px 16px; border-radius: var(--radius-sm); display: block; }

  /* モバイルドロップダウン：static配置でインデント表示 */
  .header-nav.open .nav-dropdown {
    display: none;
    position: static;
    background: rgba(255,255,255,0.05);
    border: none;
    border-left: 3px solid var(--amber);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
    margin: 0 0 4px 16px;
    min-width: 0;
  }
  .header-nav.open .has-dropdown.dropdown-open .nav-dropdown { display: block; }
  .header-nav.open .nav-dropdown li a {
    padding: 9px 14px;
    font-size: 0.82rem;
    white-space: normal;
    color: rgba(255,255,255,0.75);
  }
  .header-nav.open .has-dropdown > a { position: relative; }

  .hamburger { display: flex; }

  .trust-inner { gap: 6px 14px; }
  .trust-divider { display: none; }

  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card--featured { grid-column: 1 / -1; }

  .about-card { grid-template-columns: 1fr; text-align: center; }
  .about-tags { justify-content: center; }

  .recommend-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }

  .cta-content { flex-direction: column; text-align: center; }

  .article-card--wide .article-link {
    grid-template-columns: 1fr;
  }
  .article-card--wide .article-thumb { min-height: 200px; }

  .article-card:not(.article-card--wide):not(.article-card--coming) .article-link,
  .article-card--coming {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .dl-form { flex-direction: column; }
  .btn-download { width: 100%; justify-content: center; }
}

/* =========================================
   AMAZON AFFILIATE - 愛用工具カード
   ========================================= */

/* インライン商品カード（記事内挿入用） */
.tool-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid #FF9900;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  transition: var(--transition);
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: #e88800;
}

.tool-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.tool-card-body {
  min-width: 0;
}

.tool-card-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: #FF9900;
  background: rgba(255,153,0,0.1);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.tool-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
}

.tool-card-desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.tool-card-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red-warn);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.tool-card-action {
  flex-shrink: 0;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF9900;
  color: #111;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-amazon:hover {
  background: #e88800;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,153,0,0.35);
  color: #111;
}

/* 愛用工具グリッド（tools-hub / まとめページ用） */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.tool-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.tool-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #FF9900;
}

.tool-grid-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tool-grid-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.tool-grid-header-text {
  min-width: 0;
}

.tool-grid-category {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-grid-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.tool-grid-body {
  padding: 16px 20px;
}

.tool-grid-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 12px;
}

.tool-grid-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tool-grid-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--red-warn);
  font-family: var(--font-mono);
}

.tool-grid-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(45,122,79,0.1);
  border: 1px solid rgba(45,122,79,0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

/* 記事内ダーク背景用の上書き */
.article-content .tool-card,
.article-wrapper .tool-card {
  background: var(--navy-mid, #243547);
  border-color: rgba(255,153,0,0.3);
}

.article-content .tool-card-name,
.article-wrapper .tool-card-name {
  color: #fff;
}

.article-content .tool-card-desc,
.article-wrapper .tool-card-desc {
  color: rgba(255,255,255,0.65);
}

.article-content .tool-card-price,
.article-wrapper .tool-card-price {
  color: #FF9900;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .tool-card {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }
  .tool-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
  .tool-card-action {
    grid-column: 1 / -1;
  }
  .btn-amazon {
    width: 100%;
    justify-content: center;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   MATERIALS SUMMARY BLOCK (記事末尾 材料一覧)
   ========================================= */

.materials-summary {
  background: var(--bg-card);
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0;
}

.materials-summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.materials-summary-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.materials-summary-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
}

.materials-summary-subtitle {
  font-size: 0.78rem;
  color: var(--text-mid);
}

.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.material-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.material-item:hover {
  border-color: #FF9900;
  background: rgba(255,153,0,0.04);
}

.material-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.material-info {
  flex: 1;
  min-width: 0;
}

.material-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.material-note {
  font-size: 0.72rem;
  color: var(--text-light);
}

.material-link {
  flex-shrink: 0;
}

.btn-amazon-sm {
  display: inline-flex;
  align-items: center;
  background: #FF9900;
  color: #111;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-amazon-sm:hover {
  background: #e88800;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255,153,0,0.3);
  color: #111;
}

/* ダーク背景対応 */
.article-wrapper .materials-summary,
.article-content .materials-summary {
  background: var(--navy-mid, #243547);
  border-color: rgba(212,168,67,0.5);
}

.article-wrapper .materials-summary-title,
.article-content .materials-summary-title {
  color: #fff;
}

.article-wrapper .materials-summary-subtitle,
.article-content .materials-summary-subtitle {
  color: rgba(255,255,255,0.5);
}

.article-wrapper .material-item,
.article-content .material-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.article-wrapper .material-item:hover,
.article-content .material-item:hover {
  border-color: #FF9900;
  background: rgba(255,153,0,0.06);
}

.article-wrapper .material-name,
.article-content .material-name {
  color: #fff;
}

.article-wrapper .material-note,
.article-content .material-note {
  color: rgba(255,255,255,0.45);
}

.article-wrapper .materials-summary-header,
.article-content .materials-summary-header {
  border-bottom-color: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .materials-list {
    grid-template-columns: 1fr;
  }
  .materials-summary {
    padding: 20px 16px;
  }
}

/* =========================================
   SEESAA移行対応 追加スタイル
   ========================================= */

/* 移行ステータスバー */
.migration-status {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.mig-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mig-icon { font-size: 1rem; }
.mig-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--amber-dark);
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(212,168,67,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}
.mig-bar-wrap { display: flex; flex-direction: column; gap: 8px; }
.mig-project {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: 12px;
}
.mig-name { font-size: 0.78rem; color: var(--text); font-weight: 500; }
.mig-bar { height: 6px; background: var(--bg-dark); border-radius: 3px; overflow: hidden; }
.mig-fill { height: 100%; background: var(--amber); border-radius: 3px; transition: width 1s ease; }
.mig-fill--soon { background: var(--border); }
.mig-pct { font-size: 0.7rem; font-weight: 700; color: var(--amber-dark); font-family: var(--font-mono); text-align: right; }
.mig-pct--soon { color: var(--text-light); }

/* カテゴリタブ */
.cat-tab-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}
.cat-tab {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--text-mid);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.cat-tab:hover { color: var(--amber); }
.cat-tab.active {
  color: var(--navy);
  border-bottom-color: var(--amber);
  background: rgba(212,168,67,0.06);
}

/* カテゴリカード追加要素 */
.cat-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 8px;
}
.cat-count--active {
  background: rgba(45,122,79,0.12); border: 1px solid rgba(45,122,79,0.3);
  color: var(--green); font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; font-family: var(--font-mono);
}
.cat-count--soon {
  background: rgba(212,168,67,0.1); border: 1px solid rgba(212,168,67,0.25);
  color: var(--amber-dark); font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; font-family: var(--font-mono);
}
.cat-count--new {
  background: rgba(79,195,247,0.1); border: 1px solid rgba(79,195,247,0.3);
  color: var(--blue-tech); font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; font-family: var(--font-mono);
}
.cat-hub { font-size: 0.72rem; color: var(--amber); font-weight: 700; }
.cat-bg--kitchen { background: linear-gradient(135deg, #8B3A0F, #4a1e08); }
.cat-bg--bath    { background: linear-gradient(135deg, #1a5a7a, #0d3347); }
.cat-bg--living  { background: linear-gradient(135deg, #4a3d6b, #2a2040); }

/* 賃貸アピールボックス */
.cat-appeal-box {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(212,168,67,0.06);
  border: 1px dashed rgba(212,168,67,0.35);
  border-radius: var(--radius-md); padding: 20px 24px;
  grid-column: 1 / -1;
}
.appeal-icon { font-size: 1.6rem; flex-shrink: 0; }
.appeal-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }
.appeal-text strong { color: var(--navy); font-weight: 800; }
.appeal-text em { color: var(--amber-dark); font-style: normal; font-weight: 700; }

/* 記事フィルター */
.article-filter { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 16px; font-size: 0.8rem; font-weight: 700;
  font-family: var(--font-sans); color: var(--text-mid);
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 100px; cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--amber); color: var(--amber-dark); }
.filter-btn.active { background: var(--navy); color: var(--amber); border-color: var(--navy); }

/* 記事カード 移行バリアント */
.article-card--migration { opacity: 0.8; border-style: dashed; }
.article-card--migration:hover { opacity: 1; }
.article-badge-new {
  position: absolute; top: 10px; right: 10px;
  background: var(--green); color: #fff;
  font-size: 0.62rem; font-weight: 900; padding: 3px 7px; border-radius: 4px;
}
.article-badge-mig {
  position: absolute; top: 10px; right: 10px;
  background: rgba(212,168,67,0.85); color: var(--navy-dark);
  font-size: 0.62rem; font-weight: 900; padding: 3px 7px; border-radius: 4px;
}
.article-origin {
  font-size: 0.65rem; background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.3); color: var(--blue-tech);
  padding: 2px 6px; border-radius: 3px; font-weight: 600;
}
.article-status.migration { background: rgba(212,168,67,0.1); color: var(--amber-dark); }

/* 旧ブログリンクボックス */
.seesaa-link-box {
  margin-top: 32px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.seesaa-link-inner {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px; flex-wrap: wrap;
}
.seesaa-icon { font-size: 2rem; flex-shrink: 0; }
.seesaa-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.seesaa-text strong { font-size: 0.9rem; font-weight: 800; color: var(--navy); }
.seesaa-text span { font-size: 0.8rem; color: var(--text-mid); }
.btn-seesaa {
  display: inline-flex; align-items: center;
  background: var(--bg-dark); border: 1.5px solid var(--border);
  color: var(--text-mid); font-weight: 700; font-size: 0.82rem;
  padding: 9px 18px; border-radius: var(--radius-sm); transition: var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.btn-seesaa:hover { border-color: var(--amber); color: var(--amber-dark); }

/* Aboutタイムライン */
.about-timeline {
  display: flex; flex-direction: column; gap: 0;
  margin: 24px 0; border-left: 2px solid var(--amber); padding-left: 20px;
}
.timeline-item {
  display: flex; gap: 16px; align-items: baseline;
  padding: 8px 0; position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: -25px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}
.tl-year {
  font-size: 0.78rem; font-weight: 900; color: var(--amber-dark);
  font-family: var(--font-mono); min-width: 72px; flex-shrink: 0;
}
.tl-event { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; }
.about-history-badge {
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px;
}
.about-history-badge span { font-size: 0.8rem; font-weight: 800; color: var(--amber); font-family: var(--font-mono); }
.about-history-badge small {
  font-size: 0.65rem; color: var(--green); font-weight: 700;
  background: rgba(45,122,79,0.12); padding: 1px 6px; border-radius: 3px;
}

/* ハブページ */
.hub-header { background: var(--navy-dark); padding: 100px 0 64px; position: relative; overflow: hidden; }
.hub-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,168,67,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212,168,67,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hub-progress-bar {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-md); padding: 16px 20px; margin-top: 28px;
}
.hub-progress-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 8px;
  display: flex; justify-content: space-between;
}
.hub-progress-track { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.hub-progress-fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-light)); border-radius: 4px; transition: width 1.2s ease; }
.hub-phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.hub-phase-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px; transition: var(--transition);
}
.hub-phase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.hub-phase-card.phase--active { border-color: var(--amber); background: rgba(212,168,67,0.03); }
.hub-phase-num { font-size: 0.68rem; font-weight: 900; color: var(--amber); font-family: var(--font-mono); letter-spacing: 0.1em; margin-bottom: 8px; }
.hub-phase-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.hub-phase-desc { font-size: 0.82rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; }
.hub-phase-articles { display: flex; flex-direction: column; gap: 6px; }
.hub-article-link {
  display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text);
  padding: 6px 8px; border-radius: var(--radius-sm); transition: var(--transition);
  border: 1px solid transparent;
}
.hub-article-link:hover { background: rgba(212,168,67,0.06); border-color: rgba(212,168,67,0.2); color: var(--amber-dark); }
.hub-article-num { font-size: 0.65rem; font-weight: 900; color: var(--amber); font-family: var(--font-mono); min-width: 32px; }
.hub-article-status {
  margin-left: auto; font-size: 0.62rem; padding: 2px 6px; border-radius: 3px; font-weight: 700; flex-shrink: 0;
}
.status--done { background: rgba(45,122,79,0.12); color: var(--green); }
.status--wip  { background: rgba(212,168,67,0.12); color: var(--amber-dark); }
.status--soon { background: rgba(136,136,136,0.1); color: var(--text-light); }

/* 追加レスポンシブ */
@media (max-width: 768px) {
  .cat-tab { padding: 8px 12px; font-size: 0.78rem; }
  .hub-phase-grid { grid-template-columns: 1fr; }
  .about-timeline { padding-left: 16px; }
  .timeline-item { flex-direction: column; gap: 2px; }
  .filter-btn { padding: 6px 12px; font-size: 0.75rem; }
  .article-card--migration { grid-template-columns: 1fr; }
  .article-card--migration .article-thumb { min-height: 100px; }
}

/* =========================================
   ドロップダウンナビゲーション
   ========================================= */
.header-nav .has-dropdown { position: relative; }

.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-left: 2px;
  transition: transform var(--transition);
  display: inline-block;
}

.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(212,168,67,0.2);
  border-top: 2px solid var(--amber);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  min-width: 220px;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  padding: 6px 0;
  list-style: none;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.dropdown-open .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-dropdown li a:hover {
  background: rgba(212,168,67,0.1);
  color: var(--amber-light);
}

/* =========================================
   クイックナビゲーション（ヒーロー直下）
   ========================================= */
.quick-nav {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(212,168,67,0.15);
  padding: 0;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 0;
}

.qn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), color var(--transition);
  text-align: center;
}

.qn-item:last-child { border-right: none; }

.qn-item:hover {
  background: rgba(212,168,67,0.1);
  color: var(--amber-light);
}

.qn-icon { font-size: 1.3rem; line-height: 1; }

.qn-label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.qn-count {
  font-size: 0.62rem;
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 700;
  opacity: 0.8;
}

/* =========================================
   カテゴリカード ホバー強化
   ========================================= */
.category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.category-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4) !important;
}

/* =========================================
   セクション区切り強化
   ========================================= */
.featured-section,
.articles-section,
.about-section,
.recommend-section {
  position: relative;
}

.featured-section::before,
.category-section::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  margin-bottom: 0;
}

/* セクションタイトル装飾 */
.section-eyebrow {
  letter-spacing: 0.12em;
}

/* =========================================
   フィーチャード記事 強化
   ========================================= */
.featured-project {
  border: 1px solid rgba(212,168,67,0.15);
  transition: border-color 0.25s ease !important;
}

.featured-project:hover {
  border-color: rgba(212,168,67,0.35) !important;
}

/* =========================================
   記事カード ホバー強化
   ========================================= */
.article-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.article-card--wide:hover {
  transform: translateX(4px) !important;
  box-shadow: -4px 0 0 var(--amber), 0 4px 20px rgba(0,0,0,0.15) !important;
}

/* =========================================
   シリーズナビゲーションバー（記事ページ）
   ========================================= */
.series-nav-bar {
  background: var(--navy-mid);
  border-bottom: 2px solid rgba(212,168,67,0.2);
  padding: 0;
}

.series-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.series-nav-hub {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-nav-hub:hover {
  background: rgba(212,168,67,0.15);
  border-color: rgba(212,168,67,0.4);
  color: var(--amber-light);
}

.series-nav-hub-icon { font-size: 1rem; flex-shrink: 0; }

.series-nav-hub-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--amber);
  background: rgba(212,168,67,0.12);
  padding: 2px 7px;
  border-radius: 20px;
}

.series-nav-pos {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.series-nav-current {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--amber);
}

.series-nav-of {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
}

.series-nav-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.series-nav-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  background: rgba(212,168,67,0.15) !important;
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--amber-light) !important;
  cursor: pointer;
}

.series-nav-btn:hover {
  background: var(--amber) !important;
  color: var(--navy-dark) !important;
}

.series-nav-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .series-nav-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .series-nav-hub {
    flex: 1 1 100%;
    min-width: 0;
  }
  .series-nav-pos { margin-left: auto; }
  .quick-nav-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .qn-item { padding: 10px 4px; }
  .qn-label { font-size: 0.65rem; }
}

/* ハブヘッダー モバイル対応 */
@media (max-width: 768px) {
  .hub-header { padding: 80px 0 40px; }
  .hub-main-title { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  .hub-summary-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* =========================================
   ハブページ CTA ボタン行
   ========================================= */
.hub-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hub-cta-row { flex-direction: column; align-items: stretch; }
  .hub-cta-btn, .hub-cta-btn-ghost { text-align: center; justify-content: center; }
}

.hub-cta-btn {
  font-size: 1rem;
  padding: 14px 28px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hub-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), border-color var(--transition);
}

.hub-cta-btn-ghost:hover {
  color: var(--amber-light);
  border-color: rgba(212,168,67,0.4);
}

/* =========================================
   記事フッターナビゲーション
   ========================================= */
.article-footer-nav {
  background: var(--navy-dark);
  border-top: 2px solid rgba(212,168,67,0.2);
  padding: 36px 0 40px;
}

.afn-series-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.afn-back-hub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  transition: background var(--transition), border-color var(--transition);
}

.afn-back-hub:hover {
  background: rgba(212,168,67,0.18);
  border-color: rgba(212,168,67,0.5);
}

.afn-back-icon { font-size: 1rem; color: var(--amber); }

.afn-back-series {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.afn-back-label {
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 600;
  margin-left: 2px;
}

.afn-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.afn-progress-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}

.afn-progress-bar {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.afn-progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
}

.afn-progress-count {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--amber);
  font-weight: 700;
}

.afn-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.afn-pager-prev,
.afn-pager-next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
}

.afn-pager-next {
  text-align: right;
  align-items: flex-end;
}

.afn-pager-prev:not(.afn-pager--empty):hover,
.afn-pager-next:hover {
  background: rgba(212,168,67,0.07);
  border-color: rgba(212,168,67,0.3);
}

.afn-pager--empty {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.afn-pager-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.afn-pager-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.afn-pager-arrow {
  font-size: 1.1rem;
  color: var(--amber);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .afn-pager { grid-template-columns: 1fr; }
  .afn-pager-next { text-align: left; align-items: flex-start; }
  .afn-progress { display: none; }
}

/* =========================================
   推奨工具カード ホバー
   ========================================= */
.rec-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.rec-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important;
}

/* =========================================
   スマホ対応（クイックナビ）
   ========================================= */
@media (max-width: 900px) {
  .quick-nav-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .qn-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 600px) {
  .quick-nav-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .qn-label { font-size: 0.65rem; }
  .qn-icon { font-size: 1.1rem; }
}

/* =========================================
   ビジュアル強化パッチ
   ========================================= */

/* カテゴリカード — 背景をやや濃く、アイコンアニメーション */
.cat-bg { opacity: 0.11 !important; }
.category-card:hover .cat-bg { opacity: 0.2 !important; }

.cat-icon {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.category-card:hover .cat-icon { transform: scale(1.18) translateY(-2px); }

/* ホバー時のアンバー下線アクセント */
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.category-card:hover::after { transform: scaleX(1); }

/* セクションタイトル — アンバーアクセントライン */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin-top: 10px;
}
.section-header .section-title::after { margin-left: auto; margin-right: auto; }

/* トラストバー — アンバーライン shimmer */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.trust-bar {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--amber-dark) 0%, var(--amber-light) 50%, var(--amber-dark) 100%) 1;
  background-clip: padding-box;
}

/* フィーチャードプロジェクト — より目立つ枠 */
.featured-project {
  box-shadow: 0 0 0 1px rgba(212,168,67,0.12), var(--shadow-lg) !important;
}
.featured-project:hover {
  box-shadow: 0 0 0 2px rgba(212,168,67,0.3), 0 20px 60px rgba(26,46,68,0.2) !important;
}

/* クイックナビ — アクティブ感を強調 */
.qn-item:hover .qn-icon { transform: scale(1.2); }
.qn-icon { display: inline-block; transition: transform 0.2s ease; }

/* ダウンロードカード — シャドウ強化 */
.download-card {
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

/* ハブカード — ナビグリッドの見出し数字をグロウに */
.hub-phase-section .phase-num-big,
.hub-header .hub-sum-num {
  text-shadow: 0 0 40px rgba(212,168,67,0.2);
}

/* 記事カード — サムネイルグラデーション強化 */
.article-thumb-placeholder {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1e3a5f 50%, var(--navy-mid) 100%);
}
.article-thumb-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.06) 0%, transparent 60%);
}

/* スクロールトップボタン — パルスアニメーション追加 */
@keyframes bounce-up {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.scroll-top.visible:hover { animation: bounce-up 0.6s ease infinite; }

/* フォームインプット focus グロウ */
.dl-input:focus {
  outline: none;
  border-color: var(--amber) !important;
  box-shadow: 0 0 0 3px rgba(212,168,67,0.15) !important;
}

/* タブのアクティブインジケーター強化 */
.cat-tab.active {
  position: relative;
}
.cat-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: auto;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

/* フッターナビグループリンク ホバー */
.footer-nav-group ul li a {
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-nav-group ul li a:hover {
  color: var(--amber-light) !important;
  padding-left: 6px;
}

/* =========================================
   ハブカード グローバルスタイル強化
   ========================================= */

/* アクティブカードに左アンバーボーダー */
.hub-card.card--active {
  border-left: 3px solid var(--amber) !important;
}

/* ホバー時に「→ 読む」インジケーター */
.hub-card {
  position: relative;
  overflow: hidden;
}
.hub-card::after {
  content: '→';
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hub-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.hub-card.card--pending::after { display: none; }

/* フェーズ交互背景 */
.hub-phase-section:nth-child(even) {
  background: var(--bg-dark);
}

/* アーティクルハブグリッドのカード間の隙間改善 */
.articles-hub-grid {
  gap: 12px;
}

/* ハブフェーズヘッダー区切り線 */
.phase-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px !important;
}

/* フェーズ番号 透明度調整 */
.phase-num-big {
  line-height: 1 !important;
  opacity: 0.35;
}

/* ハブサマリーアイテム ホバー */
.hub-summary-item {
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hub-summary-item:hover {
  border-color: rgba(212,168,67,0.4) !important;
  transform: translateY(-2px);
}

/* =========================================
   ハブカード 内部スタイル（グローバル共通）
   ========================================= */
.hub-card-num { font-size: 0.65rem; font-weight: 900; color: var(--amber); font-family: var(--font-mono); }
.hub-card-title { font-size: 0.85rem; font-weight: 700; color: var(--navy); line-height: 1.45; flex: 1; }
.hub-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.hub-card-tag { font-size: 0.62rem; padding: 2px 7px; border-radius: 3px; font-weight: 700; }

/* タグカラーバリアント */
.tag--done   { background: rgba(45,122,79,0.1);   color: var(--green);      border: 1px solid rgba(45,122,79,0.25); }
.tag--active { background: rgba(45,122,79,0.12);  color: var(--green);      border: 1px solid rgba(45,122,79,0.3); }
.tag--plan   { background: rgba(79,195,247,0.1);  color: var(--blue-tech);  border: 1px solid rgba(79,195,247,0.2); }
.tag--soon   { background: rgba(212,168,67,0.1);  color: var(--amber-dark); border: 1px solid rgba(212,168,67,0.2); }
.tag--fail   { background: rgba(231,76,60,0.08);  color: var(--red-warn);   border: 1px solid rgba(231,76,60,0.2); }
.tag--star   { background: rgba(212,168,67,0.15); color: var(--amber);      border: 1px solid rgba(212,168,67,0.3); }
.tag--cost   { background: rgba(212,168,67,0.1);  color: var(--amber-dark); }
.tag--eng    { background: rgba(79,195,247,0.1);  color: var(--blue-tech);  }
.tag--calc   { background: rgba(80,140,220,0.15); color: #7ab0e8; }
.tag--water  { background: rgba(79,195,247,0.12); color: var(--blue-tech); }
.tag--wood   { background: rgba(139,105,20,0.12); color: var(--amber-dark); }
.tag--int    { background: rgba(45,122,79,0.1);   color: var(--green); }
.tag--ext    { background: rgba(108,117,125,0.1); color: #6c757d; }
.tag--cat    { background: rgba(212,168,67,0.08); color: var(--amber-dark); }
.tag--cause  { background: rgba(231,76,60,0.08);  color: var(--red-warn); }
.tag--fix    { background: rgba(45,122,79,0.1);   color: var(--green); }
.tag--fan    { background: rgba(79,195,247,0.1);  color: var(--blue-tech); }

/* htag バリアント（一部ページで使用）*/
.htag--done  { background: rgba(100,200,120,0.2); color: #64c878; }
.htag--plan  { background: rgba(108,117,125,0.2); color: #adb5bd; }
.htag--fail  { background: rgba(240,90,90,0.15);  color: #e07070; }
.htag--cost  { background: rgba(212,168,67,0.15); color: var(--amber); }
.htag--eng   { background: rgba(212,168,67,0.15); color: var(--amber); }
.htag--calc  { background: rgba(80,140,220,0.2);  color: #7ab0e8; }

/* =========================================
   MIGRATION ROADMAP (関連ハブページ ナビゲーション)
   ========================================= */
.migration-roadmap { background: var(--navy-dark, #111e2e); padding: 64px 0; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.roadmap-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.roadmap-card:hover {
  border-color: rgba(212,168,67,0.4);
  background: rgba(212,168,67,0.04);
}
.roadmap-card.active { border-color: rgba(212,168,67,0.35); background: rgba(212,168,67,0.05); }
.roadmap-phase-label { font-size: 0.75rem; font-weight: 800; color: var(--amber, #d4a843); letter-spacing: 0.08em; margin-bottom: 8px; }
.roadmap-title { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.roadmap-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 14px; }
.roadmap-cats { display: flex; flex-direction: column; gap: 6px; }
.roadmap-cat { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.roadmap-cat:hover { color: var(--amber, #d4a843); }
.roadmap-cat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber, #d4a843); flex-shrink: 0; }
.roadmap-cat-dot.dot--done { background: var(--green, #2d7a4f); }
.roadmap-cat-dot.dot--plan { background: rgba(255,255,255,0.2); }
@media (max-width: 768px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* =========================================
   印刷時の最適化
   ========================================= */
@media print {
  .site-header, .quick-nav, .scroll-top, .download-section,
  .migration-roadmap, .ad-slot, .article-sidebar { display: none !important; }
  .article-layout { grid-template-columns: 1fr; }
  .article-content { max-width: 100%; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
