@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap");

/* ============================================
   記事共通スタイルシート
   - 既存LPのデザイントーン（ゴールド、フォント、余白感）を踏襲
   - このCSSファイル1つで記事ページのスタイルが完結
   ============================================ */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.8;
}

/* ============================================
   Header
   ============================================ */
.article-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 15px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.article-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-logo span {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  color: #333;
  letter-spacing: 1px;
}
.header-cta {
  background: #2c2c2c;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.header-cta:hover {
  background: #b8860b;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

/* ============================================
   Article Hero
   ============================================ */
.article-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding: 160px 40px 80px;
  text-align: center;
  color: #fff;
  position: relative;
}
.article-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #b8860b;
}
.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.article-hero .article-date {
  font-size: 14px;
  letter-spacing: 2px;
  color: #b8860b;
  margin-bottom: 24px;
}
.article-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.article-hero .article-author {
  font-size: 14px;
  opacity: 0.7;
  letter-spacing: 1px;
}

/* ============================================
   Article TOC (目次)
   ============================================ */
.article-toc {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 32px 40px;
  background: #fafaf7;
  border: 1px solid rgba(184, 134, 11, 0.15);
}
.article-toc-title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
  color: #9a7209;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.article-toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
}
.article-toc ol li {
  counter-increment: toc-counter;
  margin-bottom: 10px;
}
.article-toc ol li::before {
  content: counter(toc-counter) ".";
  color: #b8860b;
  font-weight: 600;
  margin-right: 8px;
}
.article-toc ol li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}
.article-toc ol li a:hover {
  color: #b8860b;
}

/* ============================================
   Article Body
   ============================================ */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px 80px;
}

/* Lead paragraph */
.article-body .lead {
  font-size: 17px;
  line-height: 2;
  color: #555;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #eee;
}

/* Headings */
.article-body h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a1a;
  margin-top: 72px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #b8860b;
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a1a;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid #b8860b;
}

/* Paragraphs */
.article-body p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
  color: #333;
}

/* Strong */
.article-body strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Lists */
.article-body ul,
.article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-body ul li,
.article-body ol li {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 8px;
}
.article-body ul li::marker {
  color: #b8860b;
}
.article-body ol li::marker {
  color: #b8860b;
  font-weight: 600;
}

/* Blockquote */
.article-body blockquote {
  border-left: 4px solid #b8860b;
  padding: 24px 32px;
  margin: 32px 0;
  background: #fafaf7;
  font-style: italic;
}
.article-body blockquote p {
  margin-bottom: 0;
  color: #555;
  font-size: 17px;
}

/* Figures & Images */
.article-body figure {
  margin: 40px 0;
  text-align: center;
}
.article-body figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
}
.article-body figure figcaption {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* Highlight box */
.article-body .highlight-box {
  background: #fafaf7;
  border: 1px solid rgba(184, 134, 11, 0.15);
  padding: 32px;
  margin: 32px 0;
}
.article-body .highlight-box h4 {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  color: #9a7209;
  margin-bottom: 12px;
}
.article-body .highlight-box p {
  margin-bottom: 12px;
}
.article-body .highlight-box p:last-child {
  margin-bottom: 0;
}

/* PR Section */
.article-body .pr-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 40px;
  margin: 48px 0;
  position: relative;
}
.article-body .pr-section::before {
  content: "PR";
  position: absolute;
  top: 0;
  left: 0;
  background: #b8860b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 16px;
}
.article-body .pr-section h2 {
  color: #fff;
  border-bottom-color: #b8860b;
  margin-top: 8px;
}
.article-body .pr-section p {
  color: rgba(255, 255, 255, 0.85);
}
.article-body .pr-section .pr-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8860b;
  text-decoration: none;
  font-size: 15px;
  margin-top: 16px;
  transition: opacity 0.3s;
}
.article-body .pr-section .pr-link:hover {
  opacity: 0.8;
}
.article-body .pr-section .pr-link::after {
  content: "→";
}

/* ============================================
   Article CTA Banner
   ============================================ */
.article-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
}
.article-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.article-cta .cta-label {
  font-size: 13px;
  letter-spacing: 4px;
  color: #b8860b;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.article-cta h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.article-cta p {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 40px;
  line-height: 1.9;
}
.article-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #b8860b;
  background: #b8860b;
  color: white;
  padding: 20px 56px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 3px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}
.article-cta .cta-button:hover {
  background: #9a7209;
  border-color: #9a7209;
  box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4);
}
.article-cta .cta-button::after {
  content: "→";
}
.article-cta .cta-microcopy {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.6;
}

/* ============================================
   Footer
   ============================================ */
.article-footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 0 30px;
}
/* ============================================
   Article Nav (prev / next)
   ============================================ */
.footer-nav {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 0 40px;
}
.footer-nav-title {
  display: none;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.footer-nav-list li {
  padding: 28px 24px;
}
.footer-nav-list li + li {
  border-left: 1px solid #e0e0e0;
}
/* 1件のみの場合 */
.footer-nav-list li:only-child.nav-prev {
  grid-column: 2;
  border-left: 1px solid #e0e0e0;
}
.footer-nav-list li:only-child.nav-next {
  grid-column: 1;
}
.footer-nav-list .nav-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #b8860b;
  margin-bottom: 10px;
}
.footer-nav-list .nav-prev {
  text-align: right;
}
.footer-nav-list a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  display: block;
  transition: color 0.2s;
}
.footer-nav-list a:hover {
  color: #b8860b;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto 24px;
  max-width: 760px;
}
.article-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  font-size: 13px;
  opacity: 0.4;
  letter-spacing: 1px;
}

/* ============================================
   Responsive - Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .article-hero h1 {
    font-size: 30px;
  }
  .article-body h2 {
    font-size: 23px;
  }
  .article-cta h2 {
    font-size: 24px;
  }
}

/* ============================================
   Responsive - Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .article-header .header-inner {
    padding: 0 20px;
  }
  .header-logo span {
    display: none;
  }
  .header-cta {
    padding: 10px 20px;
    font-size: 12px;
  }

  .article-hero {
    padding: 120px 20px 60px;
  }
  .article-hero h1 {
    font-size: 24px;
  }
  .article-hero .article-date {
    font-size: 12px;
  }

  .article-toc {
    padding: 24px 20px;
    margin: 32px 20px 0;
  }

  .article-body {
    padding: 48px 20px 60px;
  }
  .article-body h2 {
    font-size: 21px;
    margin-top: 56px;
    margin-bottom: 24px;
  }
  .article-body h3 {
    font-size: 18px;
  }
  .article-body p {
    font-size: 15px;
  }
  .article-body blockquote {
    padding: 20px 24px;
  }
  .article-body .pr-section {
    padding: 32px 24px;
  }

  .article-cta {
    padding: 60px 20px;
  }
  .article-cta h2 {
    font-size: 22px;
  }
  .article-cta .cta-button {
    padding: 18px 40px;
    font-size: 14px;
  }

  .footer-nav {
    padding: 0 20px;
    margin-top: 48px;
  }
  .footer-nav-list {
    grid-template-columns: 1fr;
  }
  .footer-nav-list li + li {
    border-left: none;
    border-top: 1px solid #e0e0e0;
  }
  .footer-nav-list li:only-child.nav-prev {
    grid-column: 1;
    border-left: none;
  }
  .footer-nav-list .nav-prev {
    text-align: left;
  }
  .footer-nav-list li {
    padding: 20px 16px;
  }
  .footer-nav-list a {
    font-size: 13px;
  }
}

/* ============================================
   Lightbox (image zoom)
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: none;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}
.article-body figure img {
  cursor: zoom-in;
}
