/* ============================================================
   style.css — 弁護士法人平井総合法律事務所
   Design: freee Vibes Design System ベース
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ── 1. Design Tokens ── */
:root {
  --c-primary:         #2864f0;
  --c-primary-hover:   #285ac8;
  --c-primary-dark:    #1e46aa;
  --c-primary-darkest: #143278;
  --c-primary-bg:      #ebf3ff;
  --c-primary-bg2:     #dce8ff;

  --c-danger:  #dc1e32;
  --c-warning: #ffb91e;
  --c-success: #00963c;
  --c-orange:  #fa6414;

  --c-text-h:    #323232;
  --c-text-body: #595959;
  --c-text-muted:#8c8989;
  --c-h-blue:    #1e46aa;

  --c-white:   #ffffff;
  --c-bg-l:    #f7f5f5;
  --c-bg-ll:   #f0eded;
  --c-border:  #e9e7e7;
  --c-input-b: #cccccc;

  --font: "Noto Sans JP", sans-serif;

  --r-input: 4px;
  --r-btn:   8px;
  --r-card:  12px;
  --r-lg:    24px;

  --shadow-card:  0 0 1rem rgba(0,0,0,.1), 0 .125rem .25rem rgba(0,0,0,.2);
  --shadow-float: 0 0 1.5rem rgba(0,0,0,.1), 0 .25rem .5rem rgba(0,0,0,.2);

  --max-w: 1120px;
  --t: .2s ease;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-text-body);
  background: var(--c-white);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-primary-hover); }
ul, ol { list-style: none; }

/* ── 3. Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--c-text-h);
  font-weight: 500;
  line-height: 1.35;
}
h2 { font-size: 2.125rem; letter-spacing: 0.04em; }
h3 { font-size: 1.5rem; color: var(--c-h-blue); }
h4 { font-size: 1.125rem; }
p { line-height: 1.8; margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── 4. Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--light { background: var(--c-bg-l); }
.section--navy  { background: var(--c-primary-darkest); }
.section--primary-bg { background: var(--c-primary-bg); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.125rem;
  font-weight: 500;
  color: var(--c-text-h);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.section-lead {
  font-size: 1rem;
  color: var(--c-text-body);
  max-width: 640px;
  line-height: 1.8;
}
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center .section-lead { margin: 0 auto; }
.section--navy .section-title { color: var(--c-white); }
.section--navy .section-lead  { color: rgba(255,255,255,.75); }
.section--navy .section-label { color: #73a5ff; }

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

/* ── 5. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-hover);
  border-color: var(--c-primary-hover);
  color: var(--c-white);
}
.btn-secondary {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-secondary:hover {
  background: var(--c-primary-bg);
  color: var(--c-primary-hover);
}
.btn-white {
  background: var(--c-white);
  color: var(--c-primary-darkest);
  border-color: var(--c-white);
}
.btn-white:hover {
  background: var(--c-primary-bg);
  color: var(--c-primary);
}
.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  color: var(--c-white);
}
.btn-lg   { font-size: 1.125rem; padding: 18px 40px; }
.btn-sm   { font-size: 0.875rem; padding: 10px 20px; }
.btn-full { width: 100%; }

/* ── 6. Cards ── */
.card { background: var(--c-white); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.card-body { padding: 32px; }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-primary { background: var(--c-primary-bg); color: var(--c-primary-dark); }
.badge-success { background: #e6f7ee; color: var(--c-success); }
.badge-warning { background: #fff8e6; color: #be8c14; }
.badge-danger  { background: #fde8ea; color: var(--c-danger); }
.badge-orange  { background: #fef0e6; color: #c04a00; }

/* ── 7. Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo .logo-prefix { font-size: 0.6875rem; color: var(--c-text-muted); letter-spacing: 0.05em; }
.site-logo .logo-main   { font-size: 1.0625rem; font-weight: 700; color: var(--c-primary-darkest); letter-spacing: 0.02em; white-space: nowrap; }

.global-nav { flex: 1; }
.global-nav ul { display: flex; justify-content: center; gap: 0; }
.global-nav a {
  display: block;
  padding: 0 12px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-text-body);
  line-height: 72px;
  white-space: nowrap;
  transition: color var(--t);
}
.global-nav a:hover, .global-nav a.current { color: var(--c-primary); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-tel { display: flex; flex-direction: column; align-items: flex-end; }
.header-tel .tel-label  { font-size: 0.625rem; color: var(--c-text-muted); }
.header-tel .tel-number {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--c-primary-darkest);
  letter-spacing: 0.06em;
  text-decoration: none;
}
.header-tel .tel-number:hover { color: var(--c-primary); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-text-h); border-radius: 2px; transition: all var(--t); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 60px 0 0;
  background: var(--c-white);
  z-index: 99;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-h);
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav .btn { margin-top: 20px; text-align: center; }
.mobile-nav-tel { margin-top: 20px; text-align: center; font-size: 1.375rem; font-weight: 700; color: var(--c-primary-darkest); letter-spacing: 0.06em; }
.mobile-nav-tel-label { font-size: 0.75rem; color: var(--c-text-muted); text-align: center; margin-top: 4px; }

/* ── 8. Announce Bar ── */
.announce-bar {
  background: var(--c-danger);
  color: var(--c-white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 700;
}
.announce-bar a { color: var(--c-white); text-decoration: underline; }

/* ── 9. Hero ── */
.hero {
  background: linear-gradient(135deg, var(--c-primary-darkest) 0%, #1e3a6e 55%, #1e46aa 100%);
  color: var(--c-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(40,100,240,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99rem;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero h1 em { color: #73a5ff; font-style: normal; }
.hero-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.hero-tel-label { font-size: 0.8125rem; color: rgba(255,255,255,.7); }
.hero-tel a {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.1em;
}
.hero-tel a:hover { color: #aac8ff; }
.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  min-width: 240px;
  text-align: center;
}
.hero-card-icon { margin-bottom: 12px; color: var(--c-white); }
.hero-card-title { font-size: 1rem; font-weight: 700; color: var(--c-white); margin-bottom: 16px; }
.hero-card-list { display: flex; flex-direction: column; gap: 8px; }
.hero-card-item {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-btn);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── 10. Stats Bar ── */
.stats-bar { background: var(--c-white); box-shadow: var(--shadow-float); padding: 40px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item { padding: 0 24px; border-right: 1px solid var(--c-border); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--c-primary); line-height: 1; letter-spacing: 0.03em; margin-bottom: 4px; }
.stat-number sup { font-size: 1.5rem; }
.stat-number span { font-size: 1.25rem; }
.stat-label { font-size: 0.875rem; color: var(--c-text-body); font-weight: 500; }
.stat-note  { font-size: 0.6875rem; color: var(--c-text-muted); margin-top: 4px; }

/* ── 11. Service Cards ── */
.service-card {
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-card);
  background: var(--c-primary-bg);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-title { font-size: 1.0625rem; font-weight: 700; color: var(--c-text-h); }
.service-card-text  { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.7; flex: 1; }
.service-card-link  { font-size: 0.875rem; font-weight: 700; color: var(--c-primary); display: flex; align-items: center; gap: 4px; }
.service-card-link::after { content: '→'; }

/* ── 12. Feature Items ── */
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700;
}
.feature-body h4 { font-size: 1.0625rem; font-weight: 700; color: var(--c-text-h); margin-bottom: 8px; }
.feature-body p  { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.7; margin-bottom: 0; }

/* ── 13. Case Cards ── */
.case-card { background: var(--c-white); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.case-card-head { background: var(--c-primary-bg); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-card-body { padding: 24px; }
.case-amount-label { font-size: 0.75rem; color: var(--c-text-muted); font-weight: 500; margin-bottom: 2px; }
.case-amount { font-size: 1.625rem; font-weight: 700; color: var(--c-success); letter-spacing: 0.02em; }
.case-desc { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.7; }

/* ── 14. Flow Steps ── */
.flow-list { display: flex; flex-direction: column; }
.flow-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 44px;
  position: relative;
}
.flow-item::after {
  content: '';
  position: absolute;
  left: 23px; top: 48px; bottom: 0;
  width: 2px;
  background: var(--c-border);
}
.flow-item:last-child::after { display: none; }
.flow-item:last-child { padding-bottom: 0; }
.flow-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  position: relative; z-index: 1;
}
.flow-body { padding-top: 8px; }
.flow-badge {
  display: inline-block;
  background: var(--c-primary-bg);
  color: var(--c-primary-dark);
  font-size: 0.75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99rem;
  margin-bottom: 8px;
}
.flow-body h3 { font-size: 1.1875rem; font-weight: 700; color: var(--c-text-h); margin-bottom: 8px; }
.flow-body p  { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.7; margin-bottom: 0; }

/* ── 15. Attorney Cards ── */
.attorney-card { background: var(--c-white); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.attorney-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--c-bg-ll);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
}
.attorney-body { padding: 28px; }
.attorney-role { font-size: 0.75rem; font-weight: 700; color: var(--c-primary); letter-spacing: 0.06em; margin-bottom: 4px; }
.attorney-name { font-size: 1.375rem; font-weight: 700; color: var(--c-text-h); margin-bottom: 4px; }
.attorney-reg  { font-size: 0.8125rem; color: var(--c-text-muted); margin-bottom: 16px; }
.attorney-desc { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.75; }
.attorney-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ── 16. FAQ ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: 1px solid var(--c-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-h);
  line-height: 1.5;
  transition: color var(--t);
}
.faq-question:hover { color: var(--c-primary); }
.faq-q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-primary-bg);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
  margin-top: 1px;
}
.faq-arrow { margin-left: auto; flex-shrink: 0; color: var(--c-text-muted); transition: transform var(--t); font-size: 1.25rem; line-height: 1; padding-top: 4px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 20px 42px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.85; margin: 0; }

/* ── 17. CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary-darkest) 0%, #1e3a6e 100%);
  color: var(--c-white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 700; color: var(--c-white); margin-bottom: 16px; letter-spacing: 0.04em; }
.cta-banner p  { font-size: 1.0625rem; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.cta-actions   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note      { font-size: 0.8125rem; color: rgba(255,255,255,.55); margin-top: 16px; }

/* ── 18. Contact Form ── */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--c-text-h); margin-bottom: 8px; }
.form-label .required {
  display: inline-block;
  background: var(--c-danger);
  color: var(--c-white);
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-text-h);
  background: var(--c-white);
  border: 1px solid var(--c-input-b);
  border-radius: var(--r-input);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(40,100,240,.15);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.8125rem; color: var(--c-text-muted); margin-top: 6px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--c-primary); }
.form-check label { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.6; }

/* ── 19. Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--c-primary-darkest) 0%, #1e3a6e 100%);
  color: var(--c-white);
  padding: 64px 0;
}
.page-header h1 { font-size: 2.25rem; font-weight: 700; color: var(--c-white); margin-bottom: 12px; letter-spacing: 0.04em; }
.page-header p  { font-size: 1rem; color: rgba(255,255,255,.75); margin-bottom: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.8125rem; color: rgba(255,255,255,.6); margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ── 20. Tables ── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 16px 20px;
  border: 1px solid var(--c-border);
  font-size: 0.9375rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.info-table th { background: var(--c-bg-l); font-weight: 700; color: var(--c-text-h); width: 30%; white-space: nowrap; }

.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { padding: 14px 20px; border: 1px solid var(--c-border); font-size: 0.9375rem; text-align: left; vertical-align: middle; line-height: 1.5; }
.fee-table thead th { background: var(--c-primary-darkest); color: var(--c-white); font-weight: 700; }
.fee-table tbody tr:nth-child(even) { background: var(--c-bg-l); }

/* ── 21. Notices ── */
.notice {
  background: var(--c-primary-bg);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-input) var(--r-input) 0;
  padding: 16px 20px;
  font-size: 0.9375rem;
  color: var(--c-primary-dark);
  margin: 24px 0;
}
.notice.notice-warning { background: #fff8e6; border-color: var(--c-warning); color: #7a5a00; }
.notice.notice-danger  { background: #fde8ea; border-color: var(--c-danger);  color: #7a1020; }

/* ── 22. Legal Pages ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-h-blue);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary-bg);
}
.legal-content h3 { font-size: 1.0625rem; font-weight: 700; color: var(--c-text-h); margin-top: 28px; margin-bottom: 10px; }
.legal-content p, .legal-content li { font-size: 0.9375rem; color: var(--c-text-body); line-height: 1.85; }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.legal-content ol { list-style: decimal; padding-left: 24px; margin-bottom: 1em; }
.legal-date { font-size: 0.875rem; color: var(--c-text-muted); margin-bottom: 32px; }

/* ── 23. Footer ── */
.site-footer { background: var(--c-primary-darkest); color: rgba(255,255,255,.8); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-prefix { font-size: 0.6875rem; color: rgba(255,255,255,.45); }
.footer-logo .logo-main   { font-size: 1.125rem; font-weight: 700; color: var(--c-white); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 20px; }
.footer-tel-label { font-size: 0.75rem; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.footer-tel { font-size: 1.5rem; font-weight: 700; color: var(--c-white); letter-spacing: 0.08em; text-decoration: none; display: block; }
.footer-tel:hover { color: #aac8ff; }
.footer-hours { font-size: 0.8125rem; color: rgba(255,255,255,.5); margin-top: 6px; }
.footer-nav h4 { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,.45); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--t); }
.footer-nav a:hover { color: var(--c-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.8125rem; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,.4); }

/* ── 24. Utilities ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── 25. Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2)  { border-right: none; }
  .stats-grid .stat-item:nth-child(3)  { border-top: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
  .stats-grid .stat-item:nth-child(4)  { border-top: 1px solid var(--c-border); border-right: none; }
  .stats-grid .stat-item:nth-child(3), .stats-grid .stat-item:nth-child(4) { padding-top: 24px; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.375rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}

@media (max-width: 768px) {
  .global-nav, .header-tel { display: none; }
  .header-inner { height: 60px; }
  .nav-toggle { display: flex; }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.875rem; }
  .hero-text { font-size: 0.9375rem; margin-bottom: 28px; }
  .hero-tel a { font-size: 1.375rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 56px 0; }
  .section-title { font-size: 1.625rem; }

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

  .stat-number { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }

  h2 { font-size: 1.5rem; }

  .info-table th { width: auto; display: block; border-bottom: none; }
  .info-table td { display: block; border-top: none; padding-top: 8px; }
  .info-table tr { display: block; border: 1px solid var(--c-border); margin-bottom: 8px; }
  .fee-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }

  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.9375rem; margin-bottom: 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 1.75rem; }

  .attorney-body { padding: 20px; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .section-title { font-size: 1.375rem; }
  .section-lead { font-size: 0.9375rem; }

  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-text { font-size: 0.875rem; margin-bottom: 20px; }
  .hero-tel { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-tel a { font-size: 1.25rem; }
  .hero-label { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 16px; }

  .stats-bar { padding: 24px 0; }
  .stat-item { padding: 0 12px; }
  .stat-number { font-size: 1.625rem; }

  .cta-banner { padding: 40px 0; }
  .cta-banner h2 { font-size: 1.25rem; }
  .cta-banner p { font-size: 0.875rem; margin-bottom: 16px; }
  .cta-actions .btn { max-width: 100%; }

  .page-header { padding: 28px 0; }
  .page-header h1 { font-size: 1.375rem; }
  .page-header p { font-size: 0.875rem; }

  .attorney-body { padding: 16px; }
  .attorney-name { font-size: 1.125rem; }
  .attorney-desc { font-size: 0.875rem; }

  .faq-answer { padding-left: 20px; }
  .faq-question { font-size: 0.9375rem; }
}

@media (max-width: 375px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.25rem; }
  .section-title { font-size: 1.25rem; }
}
