/* Shared article CSS for /column/* */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #5A4F7F; --primary-light: #8C83AB; --primary-dark: #3D3560;
  --accent-gold: #D4A843; --accent-gold-light: #E8C96A; --accent-coral: #F28C6D;
  --text-dark: #333; --text-gray: #666;
  --bg-white: #fff; --bg-cream: #FDF8F3;
  --cta-orange: #E8762B; --cta-orange-hover: #D0651E;
}
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text-dark); background: #fff; line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

header { position: fixed; top: 0; left: 0; width: 100%; background: #fff; z-index: 100; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 6px rgba(0,0,0,.04); }
header .header-logo { height: 72px; width: auto; }
header nav { display: flex; gap: 28px; align-items: center; }
header nav a { color: var(--primary); text-decoration: none; font-size: 13px; font-weight: 600; transition: opacity .3s; }
header nav a:hover { opacity: .7; }
header .recruit-link { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff !important; font-size: 12px; font-weight: 700; padding: 9px 18px; border-radius: 30px; transition: background .3s, transform .2s; margin-left: 8px; }
header .recruit-link:hover { background: var(--primary-dark); transform: translateY(-1px); opacity: 1; }

.breadcrumbs-nav { max-width: 880px; margin: 96px auto 0; padding: 18px 20px 0; font-size: 12px; color: #999; }
.breadcrumbs-nav ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs-nav li::after { content: '›'; margin-left: 6px; color: #bbb; }
.breadcrumbs-nav li:last-child::after { content: ''; }
.breadcrumbs-nav a { color: #999; text-decoration: none; }

.article-hero { max-width: 880px; margin: 20px auto 0; padding: 30px 20px 10px; }
.article-hero .cat { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 4px; letter-spacing: .04em; margin-bottom: 14px; }
.article-hero h1 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 900; color: var(--text-dark); line-height: 1.5; margin-bottom: 14px; }
.article-hero .meta { font-size: 12px; color: #888; }

.article-feature-image { max-width: 1000px; margin: 24px auto 0; padding: 0 20px; }
.article-feature-image img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 6px 24px rgba(90,79,127,.12); }

.article-body { max-width: 800px; margin: 0 auto; padding: 30px 20px 60px; }
.article-body p { font-size: 15px; line-height: 2; margin-bottom: 22px; color: var(--text-dark); }
.article-body h2 { font-size: 22px; font-weight: 800; color: var(--primary); border-left: 5px solid var(--accent-gold); padding-left: 14px; margin: 50px 0 24px; line-height: 1.5; }
.article-body h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin: 32px 0 14px; padding-bottom: 6px; border-bottom: 1px dashed #ddd; }
.article-body ul, .article-body ol { margin: 0 0 22px 1.4em; }
.article-body li { font-size: 15px; line-height: 2; margin-bottom: 8px; }
.article-body strong { color: var(--primary-dark); font-weight: 700; }
.article-body .note { background: var(--bg-cream); border-left: 4px solid var(--accent-gold); padding: 18px 22px; font-size: 13px; color: var(--text-gray); border-radius: 0 8px 8px 0; margin: 24px 0; line-height: 1.9; }
.article-body .source-list { font-size: 12px; color: #888; background: #FAFAFA; padding: 18px 22px; border-radius: 8px; margin: 30px 0; }
.article-body .source-list h4 { font-size: 12px; color: var(--primary); margin-bottom: 8px; }
.article-body .source-list ul { margin-left: 1.2em; }
.article-body .source-list li { font-size: 12px; line-height: 1.8; margin-bottom: 4px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid #e3e3e3; text-align: left; vertical-align: top; }
.article-body th { background: var(--bg-cream); color: var(--primary); font-weight: 700; }

.toc { background: var(--bg-cream); border-radius: 10px; padding: 22px 28px; margin: 0 auto 30px; max-width: 800px; }
.toc-title { font-size: 13px; color: var(--primary); font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; }
.toc ol { margin-left: 1.4em; }
.toc li { font-size: 13px; line-height: 1.9; }
.toc a { color: var(--text-dark); text-decoration: none; }

.faq-section { background: var(--bg-cream); padding: 60px 20px; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-inner h2 { font-size: 22px; color: var(--primary); border-left: 5px solid var(--accent-gold); padding-left: 14px; margin-bottom: 24px; }
.faq-inner details { background: #fff; border-radius: 10px; margin-bottom: 12px; border: 1px solid rgba(212,168,67,.15); }
.faq-inner summary { cursor: pointer; padding: 18px 24px; font-weight: 700; color: var(--primary); font-size: 15px; list-style: none; position: relative; padding-right: 50px; }
.faq-inner summary::-webkit-details-marker { display: none; }
.faq-inner summary::before { content: 'Q.'; color: var(--accent-gold); font-weight: 800; margin-right: 8px; font-family: 'Poppins', sans-serif; }
.faq-inner summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--accent-gold); }
.faq-inner details[open] summary::after { content: '−'; }
.faq-inner .a { padding: 0 24px 20px 48px; color: var(--text-gray); font-size: 14px; line-height: 1.9; }

.related { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.related h2 { font-size: 20px; color: var(--primary); border-left: 5px solid var(--accent-gold); padding-left: 14px; margin-bottom: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: var(--bg-cream); padding: 18px; border-radius: 10px; text-decoration: none; color: inherit; transition: transform .3s; display: block; font-size: 13px; }
.related-card:hover { transform: translateY(-3px); }
.related-card .ct { font-size: 10px; background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 3px; display: inline-block; margin-bottom: 8px; }
.related-card h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.6; }

.article-cta { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; text-align: center; padding: 70px 20px; }
.article-cta h2 { color: #fff; border: none; padding: 0; font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.article-cta p { font-size: 14px; opacity: .9; margin-bottom: 26px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--cta-orange); color: #fff; padding: 16px 36px; border-radius: 50px; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(232,118,43,.3); transition: all .3s; }
.btn-primary:hover { background: var(--cta-orange-hover); transform: translateY(-2px); }

footer { background: #2A2543; color: #ddd; padding: 40px 20px 16px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 0.95fr 0.85fr 0.85fr auto; column-gap: 22px; row-gap: 22px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #3D3560; align-items: start; }
.footer-brand { padding-left: 24px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 8px; }
.footer-brand-name { font-size: 13px; font-weight: 700; margin-bottom: 1px; color: #fff; line-height: 1.3; }
.footer-brand-sub { font-size: 11px; color: #999; margin-bottom: 10px; line-height: 1.3; }
.footer-brand-sub a { color: #bbb; text-decoration: none; }
.footer-brand-sub a:hover { color: #fff; text-decoration: underline; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--accent-gold-light); letter-spacing: .12em; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #3D3560; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 3px; line-height: 1.45; }
.footer-col li.footer-li-sub { padding-left: 12px; font-size: 11.5px; }
.footer-col li.footer-li-sub a { color: #aaa; }
.footer-col li.footer-li-sub a::before { content: "− "; color: #5A4F7F; margin-right: 2px; }
.footer-col a { color: #bbb; font-size: 12px; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-meta { display: grid; grid-template-columns: 1fr; gap: 3px; font-size: 11px; color: #999; line-height: 1.45; }
.footer-meta a { color: #bbb; text-decoration: none; }
.footer-license { display: block; color: #999; font-size: 10.5px; margin-top: 6px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.footer-policy a { color: #999; font-size: 11px; text-decoration: none; }
.footer-policy a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: #888; }
.footer-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 14px 28px; background: #06C755; color: #fff !important; border-radius: 50px; font-size: 14px; font-weight: 700; text-decoration: none; transition: opacity .3s, transform .2s; box-shadow: 0 6px 20px rgba(6,199,85,.35); }
.footer-line:hover { opacity: .92; transform: translateY(-2px); }
.footer-line svg { width: 18px; height: 18px; }
.footer-ctas { display: flex; flex-direction: column; gap: 12px; }
.footer-cta-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 50px; font-size: 14px; font-weight: 700; text-decoration: none; color: #fff !important; transition: transform .2s, opacity .3s; white-space: nowrap; line-height: 1.3; }
.footer-cta-btn:hover { transform: translateY(-2px); }
.footer-cta--orange { background: #E8762B; box-shadow: 0 6px 20px rgba(232,118,43,.4); }
.footer-cta--purple { background: #5A4F7F; box-shadow: 0 6px 20px rgba(90,79,127,.4); }
.footer-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-ctas { align-items: stretch; }
  .footer-brand { padding-left: 0; }
}

@media (max-width: 768px) {
  header nav { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}
