/* ===== SHARED STYLES (column.php / column_detail.php) =====
   index.htmlのデザイントークン・ナビ・フッターと共通化するための抜粋。
   index.html側のインラインCSSを変更した場合は、こちらも合わせて見直すこと。 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:    #1F4E3D;
  --green-lt: #2D6B54;
  --green-bg: #F0F7F4;
  --orange:   #E8820C;
  --orange-bg:#FEF3E2;
  --dark:     #1A1918;
  --gray:     #6A6864;
  --gray-lt:  #F5F4F2;
  --border:   #E2E0DC;
  --white:    #FFFFFF;
  --radius:   8px;
  --radius-lg:14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITY ===== */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section { padding: 64px 0; }
.section--gray { background: var(--gray-lt); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 640px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  flex: 1;
  justify-content: center;
}
.nav-links a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(232,130,12,0.3);
}
.nav-cta:hover {
  background: #c96f08;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,130,12,0.4);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #c96f08; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--green);
  text-align: center;
  transition: opacity 0.2s;
}
.btn-outline:hover { opacity: 0.7; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: #A8A6A2;
  padding: 40px 0;
  font-size: 13px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo img { height: 24px; opacity: 0.7; }
.footer-link { color: #A8A6A2; transition: color 0.2s; }
.footer-link:hover { color: var(--white); }

/* ===== BREADCRUMB ===== */
.crumb { font-size: 13px; color: var(--gray); padding: 20px 0 0; }
.crumb a { color: var(--gray); }
.crumb a:hover { color: var(--green); }

/* ===== COLUMN LIST ===== */
.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.column-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.column-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.column-card-cat { font-size: 12px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.column-card-title { font-size: 18px; font-weight: 900; color: var(--dark); margin-bottom: 10px; line-height: 1.5; }
.column-card-desc { font-size: 14px; color: var(--gray); line-height: 1.7; }
.column-card-meta { margin-top: 14px; font-size: 13px; color: var(--gray); }

/* ===== COLUMN ARTICLE BODY ===== */
.article-header { padding: 48px 0 0; }
.article-cat { font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: 0.08em; margin-bottom: 12px; }
.article-title { font-size: clamp(24px, 4vw, 34px); font-weight: 900; line-height: 1.45; margin-bottom: 16px; }
.article-meta { font-size: 13px; color: var(--gray); }
.article-body { max-width: 720px; margin: 40px auto 0; font-size: 16px; line-height: 2; }
.article-body h2 { font-size: 22px; font-weight: 900; margin: 44px 0 16px; line-height: 1.5; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.article-body p { margin-bottom: 20px; color: var(--dark); }
.article-body ul, .article-body ol { margin: 0 0 20px 1.4em; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--green); }
.article-cta {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--green-bg);
  border: 1.5px dashed #9FD4B8;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.article-cta-title { font-size: 18px; font-weight: 900; color: var(--green); margin-bottom: 10px; }
.article-cta-body { font-size: 14px; color: #5A8070; line-height: 1.8; margin-bottom: 20px; }
.related-grid {
  max-width: 720px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-inner { height: 60px; }
  .nav-links { display: none; }
  .section { padding: 48px 0; }
}
