/* CCN CO., LTD. — Warm Editorial / Shared Stylesheet */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #FDFCFA;
  --bg-2: #F6F3EC;
  --bg-3: #EFEAE0;
  --fg: #0A0A0A;
  --fg-mid: #5A5A5A;
  --fg-dim: #8A8A8A;
  --line: #E5E2DC;
  --line-strong: #C8C2B5;
  --accent: #B91C1C;
  --max: 1180px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 16px; line-height: 1.8;
  font-feature-settings: "palt"; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0;
  background: rgba(253,252,250,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo span {
  color: var(--fg-dim); font-weight: 400; font-size: 11px;
  letter-spacing: 0.18em;
}
.nav-links {
  display: flex; gap: 28px; list-style: none; font-size: 13px; color: var(--fg-mid);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active { font-weight: 600; }

/* ============ COMMON ============ */
.section {
  max-width: var(--max);
  margin: 0 auto; padding: 100px 40px;
}
.section-narrow {
  max-width: 880px; margin: 0 auto; padding: 100px 40px;
}
.section-bleed {
  max-width: 100%; padding: 0;
}
.kicker, .section-label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 24px;
}
.h1-serif {
  font-family: 'Noto Serif JP', 'Inter', serif;
  font-size: 48px; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.01em; margin-bottom: 32px;
}
.h1-serif em { font-style: normal; color: var(--accent); font-weight: 600; }
.h2-serif {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px; font-weight: 500; line-height: 1.55;
  letter-spacing: 0.01em; margin-bottom: 28px;
}
.h2-serif em { font-style: normal; color: var(--accent); font-weight: 600; }
.lead {
  font-size: 16px; line-height: 2; color: var(--fg-mid);
  max-width: 720px; margin-bottom: 16px;
}
.body-p {
  font-size: 15px; line-height: 2; color: var(--fg-mid); margin-bottom: 16px;
  max-width: 720px;
}

/* Page hero (sub pages) */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 40px 24px;
}
.page-hero + .section { padding-top: 16px; }
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.01em; margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); font-weight: 600; }
.page-hero .lead { max-width: 720px; }

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto; padding: 24px 40px 0;
  font-size: 12px; color: var(--fg-dim); letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--fg-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--line-strong); }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 28px;
  border: 1px solid var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  transition: all 0.15s;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.btn.outline-accent { border-color: var(--accent); color: var(--accent); }
.btn.outline-accent:hover { background: var(--accent); color: var(--bg); }

.text-link {
  display: inline-block; color: var(--accent);
  font-size: 13px; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--fg); color: var(--fg-dim);
  padding: 60px 40px 40px;
  font-size: 12px; line-height: 1.8;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-inner h4 {
  color: var(--bg); font-size: 13px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.04em;
}
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 6px; }
.footer-inner a:hover { color: var(--bg); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  border-top: 1px solid #2A2A2A; padding-top: 24px;
  display: flex; justify-content: space-between; color: #5A5A5A; flex-wrap: wrap; gap: 12px;
}

/* ============ MOBILE TOGGLE ============ */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .section, .section-narrow { padding: 56px 20px; }
  .page-hero { padding: 56px 20px 16px; }
  .breadcrumb { padding: 18px 20px 0; }
  .nav-inner { padding: 14px 20px; position: relative; }
  .nav-logo { font-size: 14px; gap: 8px; }
  .nav-logo span { font-size: 10px; }

  /* Hamburger button (label) */
  .nav-toggle-label {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; position: relative;
    cursor: pointer; user-select: none;
    color: var(--fg);
  }
  .nav-toggle-label::before {
    content: "≡";
    font-size: 28px; line-height: 1; font-weight: 400;
  }
  .nav-toggle:checked ~ .nav-toggle-label::before {
    content: "×";
    font-size: 32px; line-height: 1;
  }

  /* Mobile menu drawer */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0;
    padding: 12px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
    z-index: 99;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links li {
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block; padding: 14px 20px;
    font-size: 14px; color: var(--fg-mid);
  }
  .nav-links a.active { color: var(--accent); font-weight: 600; }

  .h1-serif, .page-hero h1 { font-size: 23px; line-height: 1.6; letter-spacing: 0; }
  .h2-serif { font-size: 20px; line-height: 1.6; letter-spacing: 0; }
  .h1-serif br.pc-only, .h2-serif br.pc-only, .page-hero h1 br.pc-only { display: none; }
  .lead { font-size: 15px; line-height: 1.85; }
  .body-p { font-size: 14px; line-height: 1.85; }
  .btn { padding: 14px 22px; font-size: 13px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 20px 24px; }
}
