/* ── Shared styles for column pages ──
   Note: Noto Sans JP is loaded via <link> in each page's <head>. */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.8;
  font-weight: 300;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .nav-logo img {
  height: 20px;
  display: block;
}

nav .nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav .nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: opacity 0.3s;
  white-space: nowrap;
}

nav .nav-links a:hover {
  opacity: 0.5;
}

nav .nav-links a.nav-cta {
  color: #C51B1E;
  font-weight: 500;
}

/* ── Page hero ── */
.page-hero {
  padding: 150px 40px 70px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.page-hero .inner {
  max-width: 820px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 12.5px;
  color: #888;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #C51B1E;
}

.page-hero .service-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C51B1E;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: 15px;
  color: #444;
  max-width: 680px;
}

/* ── Sections ── */
section {
  padding: 80px 40px;
}

.section-inner {
  max-width: 820px;
  margin: 0 auto;
}

.cta-button {
  display: inline-block;
  background: #C51B1E;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 16px 56px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: opacity 0.3s, transform 0.2s;
}

.cta-button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ── Mobile sticky CTA bar (injected by site.js) ── */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    align-items: center;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(120%);
    transition: transform 0.3s ease;
  }

  .sticky-cta.show {
    transform: none;
  }

  .sticky-cta .sticky-label {
    flex-shrink: 0;
    font-size: 11.5px;
    color: #888;
    line-height: 1.3;
  }

  .sticky-cta .sticky-label strong {
    display: block;
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 500;
  }

  .sticky-cta a {
    flex: 1;
    text-align: center;
    background: #C51B1E;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
  }
}

/* ── Footer ── */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 40px 40px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 60px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.footer-text-logo {
  height: 16px;
  margin-bottom: 32px;
  filter: invert(1);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ── Column (article list) ── */
.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 28px 30px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
}

.post-card .post-meta {
  font-size: 12.5px;
  color: #999;
  margin-bottom: 8px;
}

.post-card .post-meta .post-tag {
  color: #C51B1E;
  font-weight: 500;
  margin-left: 12px;
}

.post-card h2 {
  font-size: 17.5px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}

.post-card p {
  font-size: 13.5px;
  color: #666;
}

/* ── Column (article body) ── */
.article-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

.article-meta .post-tag {
  color: #C51B1E;
  font-weight: 500;
  margin-left: 12px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  color: #333;
}

.article-body h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #C51B1E;
  line-height: 1.5;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 1.2em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em 1.4em;
}

.article-body li {
  margin-bottom: 0.4em;
}

.article-body a {
  color: #C51B1E;
}

.article-body .article-note {
  background: #fafafa;
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 14px;
  color: #555;
  margin: 1.6em 0;
}

.article-cta {
  margin-top: 56px;
  background: #fafafa;
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}

.article-cta p {
  font-size: 14.5px;
  color: #444;
  margin-bottom: 20px;
}

.article-body .cta-button,
.article-body .cta-button:hover {
  color: #fff;
}

/* ── Scroll reveal ── */
.pre-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.pre-reveal.revealed {
  opacity: 1;
  transform: none;
}

nav {
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .pre-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  nav .nav-links {
    gap: 16px;
  }

  nav .nav-links li.hide-mobile {
    display: none;
  }

  .page-hero {
    padding: 120px 20px 50px;
  }

  .page-hero h1 {
    font-size: 23px;
  }

  section {
    padding: 56px 20px;
  }

  footer {
    padding: 48px 24px 32px;
  }

  .footer-logo {
    height: 48px;
  }
}
