/* =========================================================
   column.css - コラムページ専用スタイル
   リニューアル後デザインシステム(ネイビー×ゴールド)準拠
   ========================================================= */

:root {
  /* Core Colors */
  --navy-dark: #0f1419;
  --navy: #1a2332;
  --navy-medium: #2d3e50;
  --navy-light: #3d4f63;
  --navy-soft: #4a5f7a;
  
  --gold: #c9a961;
  --gold-dark: #a68948;
  --gold-light: #d4b876;
  --gold-pale: #f5ead8;
  
  --slate: #64748b;
  --slate-light: #94a3b8;
  --slate-pale: #cbd5e1;
  
  --bg: #fafbfc;
  --bg-warm: #fdfcfa;
  --surface: #ffffff;
  --border: #e8ecef;
  --border-strong: #d4dce3;
  
  --text: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 20, 25, 0.06);
  --shadow: 0 6px 16px rgba(15, 20, 25, 0.10);
  --shadow-lg: 0 10px 28px rgba(15, 20, 25, 0.12);
  
  /* Radius */
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  --max-width: 1200px;
  --content-width: 800px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* =========================================================
   Container
   ========================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand img {
  height: 36px;
  width: auto;
}

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

.nav a {
  padding: 10px 16px;
  color: var(--text-medium);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--navy);
  background: var(--gold-pale);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tel-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.tel-hours {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-color: rgba(201,169,97,.35);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,169,97,.35);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 99px;
}

/* =========================================================
   Breadcrumb
   ========================================================= */
.breadcrumb {
  padding: 16px 0;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.breadcrumb-list a {
  color: var(--text-medium);
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: var(--gold-dark);
}

.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: var(--slate-light);
}

/* =========================================================
   Article Header
   ========================================================= */
.article-header {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

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

.article-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--gold-pale);
  border: 1px solid rgba(201,169,97,.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}

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

.article-title {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.35;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.article-eyecatch {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}

.article-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Article Body
   ========================================================= */
.article-body {
  padding: 56px 0 80px;
}

.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
  line-height: 1.4;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.4;
}

.article-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 16px;
  line-height: 1.4;
}

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

.article-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--navy);
}

/* Lead text */
.article-lead {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.95;
  margin-bottom: 40px;
}

/* =========================================================
   Table of Contents
   ========================================================= */
.toc {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0 48px;
}

.toc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title::before {
  content: "📑";
  font-size: 18px;
}

.toc-list {
  list-style: none;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 10px;
}

.toc-list li:last-child {
  margin-bottom: 0;
}

.toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
  transition: color 0.2s ease;
}

.toc-list a::before {
  content: counter(toc-counter) ".";
  font-weight: 700;
  color: var(--gold-dark);
  min-width: 24px;
}

.toc-list a:hover {
  color: var(--navy);
}

/* =========================================================
   Concern Box
   ========================================================= */
.concern-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 2px solid var(--gold-pale);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin: 24px 0;
}

.concern-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.concern-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concern-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* =========================================================
   Highlight List
   ========================================================= */
.highlight-list {
  background: var(--gold-pale);
  border: 2px solid rgba(201,169,97,.35);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin: 32px 0;
}

.highlight-list-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-list-title::before {
  content: "⭐";
  font-size: 18px;
}

.highlight-list ul {
  margin: 0;
  padding-left: 24px;
}

.highlight-list li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 10px;
}

.highlight-list li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Standard Lists
   ========================================================= */
.article-content ul,
.article-content ol {
  margin: 24px 0;
  padding-left: 28px;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.85;
}

.article-content li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Tables
   ========================================================= */
.article-table {
  width: 100%;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.article-table th {
  background: var(--navy);
  color: var(--gold-pale);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

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

.article-table tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   Check Points Box
   ========================================================= */
.check-box {
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin: 32px 0;
}

.check-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-box-title::before {
  content: "✓";
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-box ul {
  margin: 0;
}

/* =========================================================
   Author Box
   ========================================================= */
.author-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 56px;
  box-shadow: var(--shadow-sm);
}

.author-box-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.author-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.author-logo img {
  width: 100%;
  height: auto;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.author-company {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.author-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-medium);
}

/* =========================================================
   CTA Section
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 64px 0;
  margin-top: 64px;
}

.cta-inner {
  text-align: center;
}

.cta-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   Related Articles
   ========================================================= */
.related-section {
  padding: 64px 0;
  background: var(--bg-warm);
}

.related-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  padding: 16px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  max-width: 400px;
  margin: 0 auto;
}

.related-link:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy-dark);
  color: var(--slate-pale);
  padding: 64px 0 32px;
}

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

.footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.footer p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  text-align: center;
  font-size: 13px;
  color: var(--slate);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 20px;
  }
  
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .tel {
    display: none;
  }
  
  .article-header {
    padding: 32px 0;
  }
  
  .article-title {
    font-size: 26px;
  }
  
  .article-body {
    padding: 40px 0 60px;
  }
  
  .article-content h2 {
    font-size: 22px;
    margin: 48px 0 20px;
  }
  
  .article-content h3 {
    font-size: 18px;
    margin: 32px 0 16px;
  }
  
  .concern-box {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .concern-icon {
    margin: 0 auto;
  }
  
  .toc {
    padding: 24px;
  }
  
  .highlight-list,
  .check-box {
    padding: 24px;
  }
  
  .author-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .author-logo {
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================================
   Series Navigation
   ========================================================= */
.series-nav {
  background: var(--gold-pale);
  border: 1px solid rgba(201,169,97,.35);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.series-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.series-label::before {
  content: "📚";
}

.series-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.series-link:hover {
  color: var(--gold-dark);
}

/* =========================================================
   Mobile Menu
   ========================================================= */
.mobile-nav {
  display: none;
  padding: 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text-medium);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--gold-dark);
}
