/* ============================================================
   Mind Core Lab Wave — Shared Stylesheet
   Font: Shippori Mincho (headings) + Noto Sans JP (body)
   © 2026 Mind Core Lab Wave. All rights reserved.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary:        #1e4d8c;
  --primary-dark:   #163a6b;
  --primary-light:  #2e6dbf;
  --teal:           #0d9488;
  --teal-light:     #14b8a6;
  --teal-pale:      rgba(13,148,136,0.10);
  --blue-pale:      rgba(30,77,140,0.08);
  --gray-50:        #f8fafc;
  --gray-100:       #f1f5f9;
  --gray-200:       #e2e8f0;
  --gray-300:       #cbd5e1;
  --gray-400:       #94a3b8;
  --gray-500:       #64748b;
  --gray-600:       #475569;
  --gray-700:       #334155;
  --gray-800:       #1e293b;
  --gray-900:       #0f172a;
  --white:          #ffffff;
  --danger:         #ef4444;
  --shadow-xs:      0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:      0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:      0 20px 60px rgba(0,0,0,0.15);
  --radius-sm:      6px;
  --radius:         8px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --transition:     all 0.3s ease;
  --transition-fast:all 0.15s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--gray-800);
  line-height: 1.85;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Shippori Mincho', 'ヒラギノ明朝 ProN', serif;
  line-height: 1.4;
  color: var(--gray-900);
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
ul,ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.bg-light  { background: var(--gray-50); }
.bg-white  { background: var(--white); }
.bg-dark   { background: var(--gray-900); }
.text-center { text-align: center; }

/* ===== GRIDS ===== */
.grid-2   { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4   { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto{ display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 32px; }
.split    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ===== TYPOGRAPHY HELPERS ===== */
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.section-title { font-size: clamp(24px,3.5vw,40px); margin-bottom: 16px; }
.section-lead  { font-size: 16px; color: var(--gray-600); line-height: 1.85; max-width: 640px; }
.section-header{ margin-bottom: 56px; }
.section-header .section-lead { margin-top: 4px; }
.text-center .section-lead { margin: 0 auto; }
.divider {
  width: 56px; height: 3px;
  background: linear-gradient(to right, var(--primary), var(--teal));
  border-radius: 2px; margin: 14px auto 0;
}
.divider-left { margin: 14px 0 0; }
.lead-text { font-size: 18px; color: var(--gray-700); line-height: 1.8; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  border: 2px solid transparent;
  transition: var(--transition); line-height: 1.4;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(30,77,140,0.28); }
.btn-teal     { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover     { background: #0b7a70; border-color: #0b7a70; color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,148,136,0.28); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.8); }
.btn-outline:hover  { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn-sm  { padding: 10px 22px; font-size: 13px; }
.btn-lg  { padding: 18px 44px; font-size: 17px; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-group.center { justify-content: center; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px; color: inherit;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 19px;
  font-family: 'Shippori Mincho', serif; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(30,77,140,0.3);
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-main { font-family: 'Shippori Mincho', serif; font-size: 15px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-sub  { font-size: 10px; color: var(--gray-500); letter-spacing: 0.3px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 13px; font-size: 14px; font-weight: 500;
  color: var(--gray-700); border-radius: var(--radius-sm);
  white-space: nowrap; transition: var(--transition);
}
.main-nav a:hover { color: var(--primary); background: var(--gray-100); }
.main-nav a.active { color: var(--primary); background: var(--blue-pale); }
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: var(--white) !important; }

.hamburger-btn {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border: none; background: none;
  border-radius: var(--radius-sm);
}
.hamburger-btn span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: var(--transition); }
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 16px; z-index: 999;
  flex-direction: column; gap: 4px;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; font-size: 15px;
  color: var(--gray-700); border-radius: var(--radius);
  display: block; transition: var(--transition);
}
.mobile-menu a:hover { background: var(--gray-100); color: var(--primary); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--teal) 100%);
  padding: 80px 0 72px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.page-hero-content { position: relative; }
.page-hero h1 { font-size: clamp(28px,4.5vw,52px); color: white; margin-bottom: 16px; }
.page-hero p  { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto; line-height: 1.8; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 14px 0; }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-list li { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:first-child)::before { content: '›'; color: var(--gray-400); }
.breadcrumb-list a { color: var(--gray-600); }
.breadcrumb-list a:hover { color: var(--primary); }

/* ===== CARDS ===== */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-xs);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(13,148,136,0.25); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 28px; }
.card-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--teal-pale); color: var(--teal); margin-bottom: 12px; letter-spacing: 0.3px; }
.card-title { font-size: 19px; margin-bottom: 10px; }
.card-text { font-size: 14px; color: var(--gray-600); line-height: 1.85; }
.card-link { font-size: 14px; color: var(--primary); font-weight: 500; margin-top: 16px; display: inline-flex; align-items: center; gap: 4px; transition: var(--transition); }
.card-link:hover { gap: 8px; color: var(--teal); }
.card-link::after { content: '→'; }

.service-card { padding: 36px; }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-pale), var(--teal-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}

/* ===== BADGES & TAGS ===== */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-teal { background: var(--teal-pale); color: var(--teal); }
.badge-blue { background: var(--blue-pale); color: var(--primary); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; background: var(--gray-100); color: var(--gray-600); }

/* ===== STATS ===== */
.stat-item { text-align: center; padding: 32px 24px; }
.stat-num { font-family: 'Shippori Mincho', serif; font-size: 52px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat-unit { font-size: 22px; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--gray-600); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item + .stat-item { border-left: 1px solid var(--gray-200); }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; font-weight: 600; font-size: 15px;
  cursor: pointer; background: var(--white); color: var(--gray-800);
  transition: var(--transition); border: none; width: 100%; text-align: left;
  font-family: 'Noto Sans JP', sans-serif; gap: 12px;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q.open  { background: var(--blue-pale); color: var(--primary); }
.faq-q .q-mark { color: var(--teal); font-weight: 700; flex-shrink: 0; font-size: 17px; }
.faq-q .q-text { flex: 1; }
.faq-icon  { font-size: 20px; transition: var(--transition); flex-shrink: 0; color: var(--gray-400); }
.faq-q.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-a {
  display: none; padding: 0 24px 20px 52px;
  font-size: 14px; color: var(--gray-600); line-height: 1.9;
  background: var(--gray-50); border-top: 1px solid var(--gray-100);
}
.faq-a.open { display: block; }
.faq-a p { padding-top: 16px; }

/* ===== FORMS ===== */
.form-group   { margin-bottom: 24px; }
.form-label   { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--gray-700); }
.form-label .req { color: var(--danger); margin-left: 4px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 15px; font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-800); background: var(--white);
  transition: var(--transition); outline: none;
  appearance: none; -webkit-appearance: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,77,140,0.1); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 160px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-600); cursor: pointer; }
.form-check input { margin-top: 3px; accent-color: var(--primary); }

/* ===== TOAST ===== */
#toast-container {
  position: fixed; top: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 12px;
  pointer-events: none;
}
.toast {
  background: var(--white); border-radius: 12px;
  padding: 16px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px;
  min-width: 300px; max-width: 420px;
  border-left: 4px solid var(--teal);
  animation: toastIn 0.35s ease;
  pointer-events: all;
}
.toast-error   { border-left-color: var(--danger); }
.toast-success { border-left-color: var(--teal); }
.toast-info    { border-left-color: var(--primary); }
.toast-icon  { font-size: 22px; flex-shrink: 0; }
.toast-msg   { font-size: 14px; color: var(--gray-800); flex: 1; line-height: 1.5; }
.toast-close { cursor: pointer; color: var(--gray-400); font-size: 20px; line-height: 1; background: none; border: none; padding: 0; transition: var(--transition-fast); }
.toast-close:hover { color: var(--gray-700); }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== FLOW STEPS ===== */
.flow-steps { position: relative; }
.flow-step { display: flex; gap: 28px; align-items: flex-start; padding-bottom: 44px; position: relative; }
.flow-step:not(:last-child)::before { content: ''; position: absolute; left: 23px; top: 50px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--teal)); opacity: 0.3; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--teal)); color: white; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; box-shadow: 0 4px 12px rgba(30,77,140,0.3); }
.step-content { flex: 1; padding-top: 10px; }
.step-title   { font-size: 20px; margin-bottom: 8px; }
.step-text    { font-size: 14px; color: var(--gray-600); line-height: 1.85; }

/* ===== NEWS ===== */
.news-item { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.news-date  { font-size: 13px; color: var(--gray-500); white-space: nowrap; min-width: 94px; padding-top: 2px; }
.news-badge { min-width: 76px; }
.news-title-link { font-size: 15px; color: var(--gray-800); font-weight: 500; line-height: 1.5; }
.news-title-link:hover { color: var(--primary); }

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th,.data-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; }
.data-table th { font-weight: 600; background: var(--gray-50); color: var(--gray-700); width: 30%; }
.data-table td { color: var(--gray-700); }
.data-table tr:last-child th,.data-table tr:last-child td { border-bottom: none; }

/* ===== HIGHLIGHT BOXES ===== */
.highlight-box {
  background: linear-gradient(135deg, var(--blue-pale), var(--teal-pale));
  border: 1px solid rgba(13,148,136,0.18); border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.info-box {
  background: var(--gray-50); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px;
}
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--teal) 100%);
  padding: 88px 0; text-align: center; color: white;
}
.cta-section h2 { color: white; font-size: clamp(24px,3.5vw,40px); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.85); margin-bottom: 36px; font-size: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== IMAGES ===== */
.img-cover  { width: 100%; height: 100%; object-fit: cover; }
.img-rounded{ border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-hero { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.img-feature { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.img-card { width: 100%; height: 220px; object-fit: cover; }

/* ===== CHECK LIST ===== */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--gray-700); }
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ===== FEATURE ROWS ===== */
.feature-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature-body { flex: 1; }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--gray-800); }
.feature-text  { font-size: 14px; color: var(--gray-600); line-height: 1.75; }

/* ===== PROCESS NUMBERS ===== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 24px; }
.process-item { text-align: center; padding: 32px 20px; }
.process-num  { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--teal)); color: white; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process-label{ font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.process-text { font-size: 13px; color: var(--gray-600); line-height: 1.75; }

/* ===== MAP ===== */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 380px; border: none; display: block; }

/* ===== ARTICLE ===== */
.article-body { font-size: 16px; line-height: 1.95; color: var(--gray-700); }
.article-body h2 { font-size: 26px; margin: 48px 0 20px; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.article-body h3 { font-size: 20px; margin: 36px 0 14px; color: var(--primary); }
.article-body p  { margin-bottom: 20px; }
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.article-body ul li { margin-bottom: 8px; }
.article-body img { border-radius: var(--radius-lg); margin: 32px 0; box-shadow: var(--shadow-md); }

/* ===== FOOTER ===== */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo-main { color: white; font-size: 16px; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.4); }
.footer-desc  { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.9; margin-top: 20px; }
.footer-contact-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-contact-list .ico { color: var(--teal-light); flex-shrink: 0; margin-top: 1px; }
.footer-col h4 { font-family: 'Shippori Mincho', serif; font-size: 15px; color: white; font-weight: 600; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a { font-size: 13px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.footer-nav-list a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy   { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-policy { display: flex; gap: 20px; }
.footer-policy a { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-policy a:hover { color: rgba(255,255,255,0.7); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===== 404 PAGE ===== */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--gray-50); }
.error-code { font-family: 'Shippori Mincho', serif; font-size: clamp(80px,15vw,160px); font-weight: 800; line-height: 1; color: var(--gray-200); display: block; }
.error-title { font-size: clamp(20px,3vw,32px); color: var(--gray-800); margin: 16px 0 12px; }
.error-text  { font-size: 16px; color: var(--gray-600); margin-bottom: 36px; }

/* ===== LEGAL TEXT ===== */
.legal-body { font-size: 15px; line-height: 1.95; color: var(--gray-700); }
.legal-body h2 { font-size: 22px; margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-200); }
.legal-body h3 { font-size: 18px; margin: 28px 0 12px; color: var(--primary); }
.legal-body p  { margin-bottom: 16px; }
.legal-body ol,.legal-body ul { padding-left: 24px; margin-bottom: 16px; }
.legal-body li { margin-bottom: 8px; }
.legal-body ol { list-style: decimal; }
.legal-body ul { list-style: disc; }
.legal-date { font-size: 14px; color: var(--gray-500); margin-bottom: 36px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stats-row .stat-item:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger-btn { display: flex; }
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .split,.split-rev { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-policy { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stats-row .stat-item { border-left: none; }
  .stats-row .stat-item + .stat-item { border-top: 1px solid var(--gray-200); }
  .page-hero { padding: 60px 0; }
  .cta-section { padding: 60px 0; }
  .img-hero { height: 280px; }
  .img-feature { height: 260px; }
}
@media (max-width: 480px) {
  .container,.container-sm { padding: 0 16px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .section-title { font-size: 24px; }
  .card-body,.service-card { padding: 20px; }
}
