@charset "utf-8";

/* =========================================================
   青葉行政書士事務所 — 共通スタイル
   Design tokens は「意図のある」余白・サイズで統一
   ========================================================= */

:root {
  /* Color */
  --navy: #10233f;
  --navy-deep: #091426;
  --navy-hover: #0f2748;
  --link: #1c3a63;
  --ink: #22262c;
  --ink-soft: #454b54;
  --ink-mute: #6c7480;
  --line: #e1e4e9;
  --line-soft: #e6e8eb;
  --field: #d6dae0;
  --paper: #ffffff;
  --paper-gray: #f4f5f7;
  --paper-warm: #f7f6f2;
  --accent: #b98a3e;      /* 上品な差し色（金茶） */

  /* Type */
  --serif: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --lh-body: 1.7;
  --lh-tight: 1.5;

  /* Rhythm — セクション間 80px を基準にした余白スケール */
  --sp-section: 80px;
  --gutter: 64px;
  --radius: 4px;
  --shadow-card: 0 1px 2px rgba(16, 35, 63, .04);
  --shadow-lift: 0 18px 40px -22px rgba(16, 35, 63, .35);
  --maxw: 1140px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-hover); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.sec--gray { background: var(--paper-gray); }
.sec--warm { background: var(--paper-warm); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--ink-mute);
  font-weight: 500;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.h2 {
  font-size: 31px;
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--navy);
  margin: 0 0 14px;
}
.lead {
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--ink-soft);
  max-width: 40em;
}
.body16 { font-size: 16px; line-height: var(--lh-body); color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.75; }

/* Section head — 見出しに軽い装飾ラインで意図を持たせる */
.sec-head { margin-bottom: 44px; }
.sec-head .h2 { position: relative; padding-bottom: 18px; }
.sec-head .h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 2px;
  background: var(--accent);
}
.sec-head--center { text-align: center; }
.sec-head--center .h2::after { left: 50%; transform: translateX(-50%); }
.sec-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; padding: 15px 34px;
  border-radius: var(--radius); cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; border: 1.5px solid var(--navy); }
.btn-primary:hover { background: var(--navy-hover); color: #fff; box-shadow: var(--shadow-lift); }
.btn-light { background: #fff; color: var(--navy); border: 1.5px solid #fff; }
.btn-light:hover { color: var(--navy); box-shadow: var(--shadow-lift); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.arrow-link { font-size: 14px; font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.arrow-link .a { transition: transform .2s ease; }
.arrow-link:hover .a { transform: translateX(4px); }

/* ---------- Card ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.brand .en { font-size: 10px; letter-spacing: .18em; color: var(--ink-mute); margin-top: 3px; text-transform: uppercase; }

.gnav { display: flex; align-items: center; gap: 32px; }
.gnav a { font-size: 15px; font-weight: 500; color: #33383f; position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { width: 100%; }
.gnav a[aria-current="page"] { color: var(--navy); }
.gnav .btn { padding: 11px 22px; font-size: 14px; }

/* Hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero (下層ページ共通の小ヒーロー)
   ========================================================= */
.page-hero {
  position: relative; background: var(--navy);
  padding: 78px var(--gutter) 66px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--phbg); background-size: cover; background-position: center;
  opacity: .22;
}
.page-hero .inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.page-hero .eyebrow { color: rgba(255,255,255,.6); }
.page-hero h1 { color: #fff; font-size: 34px; line-height: 1.4; }
.page-hero .crumbs { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.62); }
.page-hero .crumbs a { color: rgba(255,255,255,.62); }
.page-hero .crumbs a:hover { color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #c7ccd4; padding: 66px var(--gutter) 30px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-brand { flex: 1.5; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.footer-brand .addr { font-size: 14px; line-height: 1.9; color: #aeb5c0; }
.footer-col { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.footer-col .ttl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #929aa8; margin-bottom: 2px; }
.footer-col a { color: #c7ccd4; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.sns { display: flex; gap: 12px; }
.sns a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #c7ccd4; }
.sns a:hover { border-color: var(--accent); color: var(--accent); }
.copyright { max-width: var(--maxw); margin: 0 auto; padding-top: 24px; font-size: 12px; letter-spacing: .04em; color: #929aa8; }

/* =========================================================
   Grid helpers
   ========================================================= */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Reason cards */
.reason { padding: 34px 30px; display: flex; flex-direction: column; gap: 15px; }
.reason .num { width: 46px; height: 46px; border: 1.5px solid var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); color: var(--navy); font-weight: 700; font-size: 17px; }
.reason h3 { font-size: 18px; color: var(--navy); }

/* Service card */
.svc { overflow: hidden; display: flex; flex-direction: column; }
.svc img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s ease; }
.svc:hover img { transform: scale(1.05); }
.svc .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc h3 { font-size: 19px; color: var(--navy); }
.svc .arrow-link { margin-top: auto; }

/* Flow */
.flow { display: flex; align-items: flex-start; position: relative; margin-top: 8px; }
.flow::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px; background: #cfd4dc; }
.flow .step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 15px; position: relative; text-align: center; }
.flow .dot { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; font-family: var(--serif); }
.flow .step h3 { font-size: 16px; color: var(--navy); }

/* Stats */
.stats { display: flex; gap: 28px; text-align: center; margin-bottom: 46px; }
.stats .stat { flex: 1; }
.stats .num { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stats .num small { font-size: 16px; }
.stats .lbl { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* Testimonial */
.voice { padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.voice::before { content: "“"; position: absolute; top: 12px; right: 24px; font-family: var(--serif); font-size: 66px; line-height: 1; color: var(--paper-gray); }
.voice p { position: relative; }
.voice .who { font-size: 13px; color: var(--ink-mute); font-weight: 500; }

/* Blog card */
.post { overflow: hidden; }
.post img { width: 100%; height: 172px; object-fit: cover; transition: transform .6s ease; }
.post:hover img { transform: scale(1.05); }
.post .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.tag { font-size: 12px; color: var(--navy); border: 1px solid var(--navy); border-radius: var(--radius); padding: 2px 11px; width: fit-content; font-weight: 500; }
.post h3 { font-size: 16px; line-height: 1.55; }
.date { font-size: 13px; color: var(--ink-mute); letter-spacing: .02em; }

/* =========================================================
   Home hero
   ========================================================= */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; padding: 0 var(--gutter); background: var(--navy); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,20,38,.94) 18%, rgba(9,20,38,.5) 78%); }
.hero .inner { position: relative; max-width: 660px; display: flex; flex-direction: column; gap: 22px; padding: 96px 0; margin: 0 auto 0 max(0px, calc((100% - var(--maxw)) / 2)); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 12.5px; letter-spacing: .04em; padding: 7px 15px; border-radius: var(--radius); }
.hero h1 { color: #fff; font-size: 40px; line-height: 1.5; letter-spacing: .01em; }
.hero p { color: #dfe3e9; font-size: 16px; line-height: var(--lh-body); max-width: 34em; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 68px var(--gutter); }
.cta-band h2 { color: #fff; font-size: 26px; line-height: 1.5; margin-bottom: 14px; }
.cta-band p { color: #c7ccd4; margin-bottom: 28px; }
.cta-band .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: flex; gap: 56px; align-items: flex-start; }
.form { flex: 1.25; display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--accent); font-size: 11px; margin-left: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--field); border-radius: var(--radius); padding: 13px 16px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,35,63,.08); }
.field textarea { min-height: 128px; resize: vertical; }
.contact-side { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.contact-tel { display: flex; align-items: center; gap: 16px; padding: 20px; }
.contact-tel img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); }
.contact-tel .num { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--navy); }
.contact-line { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-line h3 { font-size: 16px; color: var(--navy); }

/* =========================================================
   解決事例ギャラリー — フィルター付き
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; margin-bottom: 34px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filter { display: flex; flex-direction: column; gap: 7px; }
.filter .flabel { font-size: 12px; letter-spacing: .1em; color: var(--ink-mute); font-weight: 500; }
.filter select { appearance: none; border: 1px solid var(--field); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2310233f' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 11px 40px 11px 15px; font-size: 15px; font-family: inherit; color: var(--ink); min-width: 168px; cursor: pointer; }
.filter select:focus { outline: none; border-color: var(--navy); }
.filter-reset { margin-left: auto; align-self: center; background: none; border: none; color: var(--link); font-size: 13px; font-weight: 500; cursor: pointer; padding: 8px 0; }
.filter-reset:hover { color: var(--navy-hover); }
.filter-count { font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }

.case { overflow: hidden; display: flex; flex-direction: column; }
.case .thumb { position: relative; }
.case img { width: 100%; height: 200px; object-fit: cover; transition: transform .6s ease; }
.case:hover img { transform: scale(1.05); }
.case .field-tag { position: absolute; top: 14px; left: 14px; background: rgba(16,35,63,.92); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: var(--radius); letter-spacing: .03em; }
.case .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case h3 { font-size: 17px; line-height: 1.5; color: var(--navy); }
.case .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.case .meta span { font-size: 12px; color: var(--ink-soft); background: var(--paper-gray); border-radius: var(--radius); padding: 4px 10px; }
.no-result { grid-column: 1 / -1; text-align: center; color: var(--ink-mute); padding: 60px 0; font-size: 15px; }

/* =========================================================
   About / profile
   ========================================================= */
.about-split { display: flex; gap: 56px; align-items: center; }
.about-split img { width: 420px; height: 420px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.about-split .body { display: flex; flex-direction: column; gap: 16px; }
.about-split .sign { font-size: 16px; font-weight: 700; color: var(--navy); margin-top: 6px; }

.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.profile-table th { width: 168px; color: var(--navy); font-weight: 700; font-family: var(--serif); }
.profile-table td { color: var(--ink-soft); }

/* Service detail block */
.svc-detail { display: flex; gap: 48px; align-items: center; }
.svc-detail:nth-child(even) { flex-direction: row-reverse; }
.svc-detail img { width: 46%; height: 320px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.svc-detail .body { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.svc-detail h2 { font-size: 26px; color: var(--navy); }
.svc-detail .price { font-size: 14px; color: var(--ink-soft); }
.svc-detail .price b { font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 700; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Blog list */
.post-list { display: flex; flex-direction: column; }
.post-row { display: flex; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-row img { width: 200px; height: 128px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.post-row .body { display: flex; flex-direction: column; gap: 9px; }
.post-row h3 { font-size: 18px; line-height: 1.5; }

/* =========================================================
   Scroll animation — fade-in-up
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .svc:hover img, .post:hover img, .case:hover img { transform: none; }
}

/* =========================================================
   Responsive — 768px breakpoint
   ========================================================= */
.mobile-drawer { display: none; }

@media (max-width: 960px) {
  :root { --gutter: 40px; --sp-section: 68px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-split img { width: 360px; height: 360px; }
}

@media (max-width: 768px) {
  :root { --gutter: 22px; --sp-section: 56px; --header-h: 64px; }

  .nav-toggle { display: block; z-index: 60; }
  .gnav { display: none; }

  /* Drawer */
  .mobile-drawer {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
    background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
    padding: 12px var(--gutter) 40px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    overflow-y: auto;
  }
  body.nav-open .mobile-drawer { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .mobile-drawer nav { display: flex; flex-direction: column; }
  .mobile-drawer nav a {
    font-size: 17px; font-weight: 500; color: var(--ink);
    padding: 18px 4px; border-bottom: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    opacity: 0; transform: translateY(10px);
  }
  .mobile-drawer nav a::after { content: "›"; color: var(--ink-mute); font-size: 20px; }
  body.nav-open .mobile-drawer nav a { animation: drawerIn .4s ease forwards; }
  body.nav-open .mobile-drawer nav a:nth-child(1) { animation-delay: .06s; }
  body.nav-open .mobile-drawer nav a:nth-child(2) { animation-delay: .12s; }
  body.nav-open .mobile-drawer nav a:nth-child(3) { animation-delay: .18s; }
  body.nav-open .mobile-drawer nav a:nth-child(4) { animation-delay: .24s; }
  body.nav-open .mobile-drawer nav a:nth-child(5) { animation-delay: .30s; }
  body.nav-open .mobile-drawer nav a:nth-child(6) { animation-delay: .36s; }
  .mobile-drawer .drawer-cta { margin-top: 24px; }
  .mobile-drawer .drawer-cta .btn { width: 100%; }
  @keyframes drawerIn { to { opacity: 1; transform: none; } }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .hero { min-height: 0; }
  .hero .inner { padding: 64px 0; gap: 18px; }
  .hero h1 { font-size: 28px; line-height: 1.55; }
  .hero .cta .btn { width: 100%; }

  .h2 { font-size: 25px; }
  .page-hero { padding: 52px var(--gutter) 44px; }
  .page-hero h1 { font-size: 26px; }

  .flow { flex-wrap: wrap; gap: 30px 0; }
  .flow::before { display: none; }
  .flow .step { flex: 0 0 50%; }

  .stats { flex-wrap: wrap; gap: 30px 0; margin-bottom: 36px; }
  .stats .stat { flex: 0 0 50%; }
  .stats .num { font-size: 34px; }

  .about-split, .contact-grid, .svc-detail, .svc-detail:nth-child(even) { flex-direction: column; align-items: stretch; gap: 30px; }
  .about-split img { width: 100%; height: 300px; }
  .svc-detail img { width: 100%; height: 240px; }

  .footer-grid { flex-wrap: wrap; gap: 32px; }
  .footer-brand { flex: 0 0 100%; }
  .footer-col { flex: 0 0 40%; }

  .filters { flex-direction: column; align-items: stretch; gap: 16px; }
  .filter select { width: 100%; }
  .filter-reset { margin-left: 0; text-align: left; }

  .cta-band .cta .btn { width: 100%; }

  .post-row { flex-direction: column; align-items: stretch; }
  .post-row img { width: 100%; height: 190px; }
}

@media (max-width: 420px) {
  .stats .stat, .flow .step { flex: 0 0 100%; }
}

/* =========================================================
   ブログ記事本文（WordPress由来のHTMLをそのまま流し込む）
   ========================================================= */
.wp-content { display: flex; flex-direction: column; gap: 22px; }
.wp-content p { font-size: 16px; line-height: var(--lh-body); color: var(--ink-soft); margin: 0; }
.wp-content h2 { font-size: 24px; line-height: 1.5; color: var(--navy); margin-top: 10px; }
.wp-content h3 { font-size: 19px; line-height: 1.6; color: var(--navy); }
.wp-content ul, .wp-content ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.wp-content li { font-size: 16px; line-height: var(--lh-body); color: var(--ink-soft); }
.wp-content img { width: 100%; height: auto; border-radius: var(--radius); }
.wp-content a { text-decoration: underline; text-underline-offset: 2px; }
.wp-content blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--ink-mute); font-size: 15px; line-height: var(--lh-body); }
.wp-content figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wp-content figcaption { font-size: 13px; color: var(--ink-mute); text-align: center; }

/* =========================================================
   FAQ アコーディオン
   ========================================================= */
.faq-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--navy); text-align: left; font-family: inherit;
}
.faq-icon { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--navy); border-radius: 1px; transition: transform .25s ease, opacity .25s ease; }
.faq-icon::before { top: 8px; left: 0; right: 0; height: 2px; }
.faq-icon::after { left: 8px; top: 0; bottom: 0; width: 2px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 26px 24px; margin: 0; }

@media (max-width: 768px) {
  .faq-q { padding: 18px 20px; font-size: 15px; }
  .faq-a p { padding: 0 20px 20px; }
}
