/* =====================================================
   西長住行政書士事務所｜INCIPIT DEMO 共通スタイル
   街の頼れる行政書士：ウォルナット + Fraunces
   ===================================================== */

:root {
  --accent: #6b4a35;
  --accent-dark: #3e2a1d;
  --accent-soft: #a08570;
  --accent-pale: #d8c5b0;
  --gold: #b8945a;
  --text: #2a2018;
  --text-muted: #5a4a3a;
  --line: #d8cdbd;
  --line-soft: #ece4d5;
  --bg: #fbf8f3;
  --bg-cream: #f4ecdc;
  --bg-paper: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.95;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ===== Header ===== */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.brand {
  display: flex; align-items: baseline; gap: 14px;
}
.brand-mark {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
}
.brand-name small {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-top: 3px;
  font-style: italic;
}
nav.main-nav {
  display: flex; gap: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  justify-self: end;
}
nav.main-nav a {
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--accent); }
nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.header-tel {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.header-tel small {
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 500;
}

/* ===== Section common ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Fraunces', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 26px;
}
.section-tag::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}
.section-tag.center { display: flex; justify-content: center; }
.section-tag.center::before { display: none; }

h1.page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
h2.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}
h2.section-title em { font-style: normal; color: var(--accent); }
h2.section-title.center { text-align: center; }

/* ===== Page header ===== */
.page-header {
  padding: 90px 0 70px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--line-soft);
}
.page-header .breadcrumb {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .breadcrumb span { color: var(--accent); }
.page-header .page-sub {
  margin-top: 22px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 2.05;
  max-width: 720px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn.outline:hover { background: var(--accent); color: #fff; }
.btn-arrow::after {
  content: '→';
  font-family: serif;
  font-size: 16px;
}

/* ===== CTA block ===== */
.cta-block {
  padding: 100px 40px;
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
}
.cta-block, .cta-block h2, .cta-block h2 em, .cta-block p { color: #fff; }
.cta-block .section-tag {
  color: rgba(255,255,255,0.7);
  justify-content: center;
}
.cta-block .section-tag::before { background: rgba(255,255,255,0.5); }
.cta-block p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 2;
}
.cta-block .btn {
  background: #fff;
  color: var(--accent-dark);
}
.cta-block .btn:hover {
  background: rgba(255,255,255,0.85);
  color: var(--accent-dark);
}

/* ===== Footer ===== */
footer.site-footer {
  background: var(--accent-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 40px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: var(--accent-pale); }
.footer-brand p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.95;
}
.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
  font-style: italic;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-col ul { list-style: none; }
.footer-col li {
  padding: 6px 0;
  font-size: 13px;
}
.footer-col a:hover { color: #fff; }
.footer-info { font-size: 13px; line-height: 1.95; }
.footer-info .label {
  font-family: 'Fraunces', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  display: block;
  margin-top: 14px;
  font-style: italic;
}
.footer-info .label:first-child { margin-top: 0; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 14px 24px;
    gap: 16px;
  }
  nav.main-nav { display: none; }
  .container { padding: 0 24px; }
  .page-header { padding: 60px 0 50px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
