/* CREFTY owned media — shared styles for /column/ and /service/ pages.
   Colors and fonts match the homepage (index.html). */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F6F3;
  --bg-dark: #1A1A1A;
  --text: #1A1A1A;
  --text-2: #4A4A4A;
  --text-3: #8A8A8A;
  --line: #E5E3DE;
  --accent: #B8935A;
  --accent-dim: rgba(184, 147, 90, 0.12);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 40px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500; letter-spacing: 0.18em; line-height: 1.2;
}
.logo .sub {
  display: block; font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px; letter-spacing: 0.4em; color: var(--text-3); margin-top: 2px;
}
.site-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
.site-nav a { font-size: 13px; color: var(--text-2); letter-spacing: 0.08em; transition: color .2s; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta { padding: 9px 20px; border: 1px solid var(--text); font-size: 12px !important; color: var(--text) !important; }
.nav-cta:hover { background: var(--text); color: #fff !important; }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 12px; color: var(--text-3); padding: 20px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a:hover { color: var(--text); }

/* ===== Page hero (service / column index) ===== */
.page-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  color: #fff; padding: 88px 0 80px;
}
.page-hero .eyebrow, .eyebrow {
  font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: 0.4em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif; font-weight: 600;
  font-size: clamp(28px, 4vw, 46px); line-height: 1.45; letter-spacing: 0.03em; margin-bottom: 24px;
}
.page-hero .lead { font-size: 15px; color: rgba(255,255,255,0.78); line-height: 2.1; max-width: 720px; }
.page-hero .hero-cta { margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px; background: var(--text); color: #fff;
  font-size: 14px; letter-spacing: 0.12em; transition: all .3s;
}
.btn::after { content: '→'; }
.btn:hover { background: var(--accent); transform: translateY(-2px); }
.btn.light { background: #fff; color: var(--text); }
.btn.light:hover { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid currentColor; color: inherit; }

/* ===== Article ===== */
.article-head { padding: 36px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-cat {
  display: inline-block; font-size: 11px; letter-spacing: 0.15em; color: var(--accent);
  border: 1px solid rgba(184,147,90,0.4); padding: 3px 12px; margin-bottom: 18px;
}
.article-head h1 {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.55; letter-spacing: 0.02em; margin-bottom: 20px;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12.5px; color: var(--text-3); }
.article-meta a { color: var(--text-2); border-bottom: 1px solid var(--line); }

.prose { font-size: 16px; color: var(--text); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 {
  font-family: 'Noto Serif JP', serif; font-size: clamp(21px, 2.4vw, 25px); font-weight: 700;
  line-height: 1.6; margin-top: 2.6em; padding: 0 0 12px 18px;
  border-left: 4px solid var(--accent); border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.prose h3 {
  font-family: 'Noto Serif JP', serif; font-size: 18.5px; font-weight: 600;
  margin-top: 2em; scroll-margin-top: 90px;
}
.prose p { line-height: 2; }
.prose strong { background: linear-gradient(transparent 62%, var(--accent-dim) 62%); font-weight: 700; }
.prose a { color: #8A6A35; border-bottom: 1px solid rgba(184,147,90,0.5); }
.prose a:hover { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: .45em; }
.prose blockquote {
  border-left: 3px solid var(--line); padding: 4px 0 4px 20px; color: var(--text-2);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); font-weight: 600; white-space: nowrap; }
.prose .formula {
  background: var(--bg-alt); padding: 18px 22px; font-family: 'Noto Serif JP', serif; text-align: center;
  font-size: 15.5px; border: 1px solid var(--line);
}

.box { border: 1px solid var(--line); background: var(--bg-alt); padding: 26px 28px; }
.box > * + * { margin-top: .8em; }
.box-title {
  font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.06em; color: var(--text); display: flex; align-items: center; gap: 10px;
}
.box-title::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.box.summary { background: #fff; border: 1px solid var(--accent); }
.box.note { background: #FBF8F2; border-color: rgba(184,147,90,0.35); font-size: 14.5px; }
.box.point { background: var(--bg-dark); color: #fff; border: none; }
.box.point .box-title { color: var(--accent); }
.box.point strong { background: none; color: var(--accent); }

.toc { border: 1px solid var(--line); padding: 22px 26px; font-size: 14px; }
.toc .toc-title { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.3em; color: var(--accent); font-size: 13px; margin-bottom: 8px; }
.toc ol { padding-left: 1.4em; }
.toc li + li { margin-top: 4px; }
.toc a { color: var(--text-2); border: none; }
.toc a:hover { color: var(--text); }

/* FAQ */
.faq { margin-top: 3em; }
.faq h2 { margin-bottom: 1em; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none; position: relative; padding: 0 32px 0 34px;
  font-size: 15.5px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 0; top: -2px; font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--accent); }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 0; color: var(--text-3); font-size: 18px; }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 12px 0 0 34px; color: var(--text-2); font-size: 15px; line-height: 2; }

/* Author box */
.author-box {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; margin-top: 64px;
}
.author-box img { width: 120px; height: 120px; object-fit: cover; object-position: top; filter: grayscale(15%); }
.author-box .label { font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.35em; color: var(--accent); }
.author-box .name { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 600; margin: 4px 0 2px; }
.author-box .role { font-size: 12.5px; color: var(--text-3); margin-bottom: 12px; }
.author-box p { font-size: 14px; color: var(--text-2); line-height: 1.95; }
.author-box .links { margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.author-box .links a { border-bottom: 1px solid var(--accent); }

/* CTA band */
.cta-band { background: var(--bg-dark); color: #fff; padding: 72px 0; margin-top: 80px; text-align: center; }
.cta-band h2 { font-family: 'Noto Serif JP', serif; font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; line-height: 1.6; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.72); font-size: 14.5px; margin-bottom: 32px; }
.cta-band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-inline { border: 1px solid var(--accent); padding: 28px 30px; background: #fff; }
.cta-inline .ttl { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.cta-inline p { font-size: 14px; color: var(--text-2); margin-bottom: 18px; }

/* Cards (column index / related) */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-family: 'Noto Serif JP', serif; font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.55; margin-bottom: 20px; }
.section-lead { color: var(--text-2); font-size: 15px; max-width: 760px; margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column;
  transition: all .3s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 40px -20px rgba(0,0,0,0.2); }
.card .cat { font-size: 11px; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 10px; }
.card h3 { font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 600; line-height: 1.65; margin-bottom: 12px; }
.card p { font-size: 13.5px; color: var(--text-2); line-height: 1.85; flex: 1; }
.card .date { font-size: 12px; color: var(--text-3); margin-top: 16px; }
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter a { font-size: 13px; padding: 7px 16px; border: 1px solid var(--line); background: #fff; }
.filter a:hover { border-color: var(--accent); }

/* Service blocks */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.problems li { background: #fff; border: 1px solid var(--line); padding: 20px 22px 20px 52px; position: relative; font-size: 15px; line-height: 1.8; }
.problems li::before { content: '✓'; position: absolute; left: 22px; top: 19px; color: var(--accent); font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(3n) { border-right: none; }
.feature .num { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.feature h3 { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 600; margin-bottom: 12px; line-height: 1.6; }
.feature p { font-size: 14px; color: var(--text-2); line-height: 1.95; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .n { font-family: 'Cormorant Garamond', serif; font-size: 52px; line-height: 1; }
.stat .n small { font-family: 'Noto Serif JP', serif; font-size: 18px; margin-left: 4px; }
.stat .l { font-size: 12.5px; color: var(--text-3); margin-top: 10px; letter-spacing: 0.08em; }
.steps { counter-reset: step; list-style: none; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); padding: 22px 24px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--accent); line-height: 1.2; }
.steps h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.steps p { font-size: 14px; color: var(--text-2); line-height: 1.85; }
.voice { background: #fff; border-left: 3px solid var(--accent); padding: 24px 28px; }
.voice .meta { font-size: 12px; color: var(--text-3); margin-bottom: 8px; letter-spacing: .05em; }
.voice .result { font-weight: 700; margin-bottom: 8px; }
.voice p { font-size: 14.5px; color: var(--text-2); line-height: 1.95; }
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Footer */
.site-footer { background: #0E0E0E; color: rgba(255,255,255,0.7); padding: 64px 0 36px; font-size: 13px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .logo { color: #fff; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 6px; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 11px; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .site-header .inner { padding: 12px 20px; }
  .site-nav ul { gap: 14px; }
  .site-nav li:not(.keep) { display: none; }
  .container, .container-narrow { padding: 0 16px; }
  .cards, .features, .voices { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .problems { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 12px; }
  .author-box { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 56px; }
  .section { padding: 64px 0; }
  .prose { font-size: 15.5px; }
  .box { padding: 22px 18px; }
}
