/* __WHITEPAGE_V1__ site=valleyfirst.jp.net generated=2026-06-03 palette=navy-gold-teal */
:root {
  --brand-navy: #1B3A5C;
  --brand-gold: #C8A951;
  --brand-teal: #2D8B7E;
  --brand-teal-dark: #1F6B5F;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5e;
  --text-muted: #6b7280;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-accent: #f0f4f8;
  --bg-dark: #0f1f2e;
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.65;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; background: var(--brand-navy); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 24px; height: 24px; }
.logo-text { font-size: 1.35rem; font-weight: 700; color: var(--brand-navy); letter-spacing: -0.3px; }
.logo-text .accent { color: var(--brand-gold); }
.logo-text .accent-teal { color: var(--brand-teal); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.925rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown > a:hover { background: var(--bg-accent); color: var(--brand-navy); }
.nav-dropdown > a::after { content: '▾'; font-size: 0.7rem; margin-left: 2px; }
.nav-dropdown-content {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  min-width: 480px; padding: 16px 0;
  grid-template-columns: repeat(3, 1fr); gap: 0;
}
.nav-dropdown:hover .nav-dropdown-content { display: grid; }
.nav-dropdown-col { padding: 0 16px; }
.nav-dropdown-col h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text-muted);
  padding: 6px 12px 10px; margin-bottom: 2px;
}
.nav-dropdown-col a {
  display: block; padding: 7px 12px;
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.875rem; border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-col a:hover { background: var(--bg-accent); color: var(--brand-navy); }

.nav-cta {
  margin-left: 8px; padding: 9px 20px;
  background: var(--brand-teal); color: #fff;
  text-decoration: none; font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-teal-dark); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0d253f 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__content { color: #fff; }
.hero__content h1 {
  font-size: 2.75rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.5px; margin-bottom: 18px;
}
.hero__content .lead {
  font-size: 1.125rem; color: rgba(255,255,255,0.85);
  line-height: 1.6; margin-bottom: 28px; max-width: 460px;
}
.hero__cta {
  display: inline-flex; gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 28px; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn--primary { background: var(--brand-gold); color: #1a1a2e; }
.btn--primary:hover { background: #d4b358; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

.hero__media {
  display: flex; justify-content: center; align-items: center;
}
.hero__media img {
  max-width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__content h1 { font-size: 2rem; }
  .hero__content .lead { max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: center; }
}

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section--light { background: var(--bg-light); }
.section--accent { background: var(--bg-accent); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 {
  font-size: 2rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.section--dark .section-header h2 { color: #fff; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section--dark .section-header p { color: rgba(255,255,255,0.7); }

/* ===== GRIDS ===== */
.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); }
@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon { width: 48px; height: 48px; margin-bottom: 16px; }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--brand-navy); }
.card p { font-size: 0.925rem; color: var(--text-secondary); line-height: 1.55; }
.card a {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 0.875rem; font-weight: 600;
  color: var(--brand-teal); text-decoration: none;
}
.card a:hover { color: var(--brand-teal-dark); text-decoration: underline; }

.card--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); padding: 28px;
  transition: background 0.2s;
}
.card--dark:hover { background: rgba(255,255,255,0.1); }
.card--dark h3 { color: var(--brand-gold); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card--dark p { color: rgba(255,255,255,0.75); font-size: 0.925rem; line-height: 1.55; }
.card--dark a {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 0.875rem; font-weight: 600;
  color: var(--brand-gold); text-decoration: none;
}
.card--dark a:hover { text-decoration: underline; color: #d4b358; }

/* ===== LOGO CLOUD ===== */
.logo-cloud { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.logo-cloud img { height: 42px; width: auto; opacity: 0.6; filter: grayscale(1); transition: opacity 0.2s; }
.logo-cloud img:hover { opacity: 1; filter: grayscale(0); }
@media (max-width: 768px) { .logo-cloud { gap: 24px; } }

/* ===== COUNTER CARDS ===== */
.counter-banner { padding: 48px 0; background: var(--brand-navy); }
.counter-banner .grid { margin: 0; }
.counter-card { text-align: center; padding: 20px; }
.counter-card .count {
  font-size: 2.5rem; font-weight: 800; color: var(--brand-gold);
  line-height: 1; margin-bottom: 6px;
}
.counter-card .label { font-size: 0.9rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== IMAGE-TEXT ALTERNATING ===== */
.feature-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.feature-alt:nth-child(even) .feature-alt__image { order: 2; }
.feature-alt__image img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.feature-alt__content h3 { font-size: 1.5rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 12px; }
.feature-alt__content p { font-size: 0.975rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.feature-alt__content a {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brand-teal); font-weight: 600; text-decoration: none; font-size: 0.925rem;
}
.feature-alt__content a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .feature-alt { grid-template-columns: 1fr; }
  .feature-alt:nth-child(even) .feature-alt__image { order: 0; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card blockquote {
  font-size: 0.95rem; color: var(--text-secondary);
  font-style: italic; line-height: 1.55; margin-bottom: 16px;
  position: relative; padding-left: 20px; border-left: 3px solid var(--brand-gold);
}
.testimonial-card .author { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.testimonial-card .author span { font-weight: 400; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
  padding: 56px 0; text-align: center;
}
.cta-section h2 { font-size: 1.85rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn--primary { font-size: 1rem; padding: 14px 32px; }

/* ===== FAQ ===== */
.faq-section { padding: 48px 0; }
.faq-section .accordion-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-section .accordion-item:last-child { border-bottom: none; }
.faq-section details { padding: 16px 0; }
.faq-section details summary {
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  color: var(--text-primary); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
}
.faq-section details summary::-webkit-details-marker { display: none; }
.faq-section details summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 300;
  color: var(--brand-teal); margin-left: 12px;
  transition: transform 0.2s;
}
.faq-section details[open] summary::after { content: '−'; }
.faq-section details .answer {
  padding: 6px 0 12px; font-size: 0.95rem;
  color: var(--text-secondary); line-height: 1.6;
}

/* ===== ANCHOR STRIP ===== */
.anchor-strip {
  background: var(--bg-dark); padding: 32px 0;
  border-top: 3px solid var(--brand-gold);
}
.anchor-strip nav[aria-label="Keyword topic navigation"] {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center;
}
.anchor-strip a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.85rem; padding: 4px 8px; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.anchor-strip a:hover { color: var(--brand-gold); background: rgba(255,255,255,0.05); }
.anchor-strip strong { color: var(--brand-gold); font-weight: 700; }

/* ===== FOOTER ===== */
.footer--compact {
  background: var(--brand-navy); color: rgba(255,255,255,0.75);
  padding: 32px 0; font-size: 0.85rem;
}
.footer--compact .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer--compact a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer--compact a:hover { color: #fff; text-decoration: underline; }
.footer--compact .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer--compact .footer-badges { display: flex; gap: 16px; align-items: center; }

/* ===== SUB-PAGE STYLES ===== */
.ai-chunk {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.ai-chunk h2 { font-size: 1.35rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 10px; }
.ai-chunk h3 { font-size: 1.1rem; font-weight: 600; color: var(--brand-teal); margin-bottom: 8px; margin-top: 16px; }
.ai-chunk p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.ai-chunk .zero-click {
  font-size: 0.925rem; color: var(--brand-teal-dark); font-weight: 500;
  margin-bottom: 8px; padding-left: 12px; border-left: 3px solid var(--brand-gold);
}

/* Breadcrumbs */
.breadcrumbs { padding: 14px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--brand-teal); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--text-muted); margin: 0 6px; }

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.data-table th {
  background: var(--brand-navy); color: #fff; padding: 12px 16px;
  text-align: left; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.data-table tr:nth-child(even) td { background: var(--bg-light); }

/* Related services */
.related-services { margin-top: 40px; padding: 28px; background: var(--bg-accent); border-radius: var(--radius-md); }
.related-services h3 { font-size: 1.1rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 14px; }
.related-services ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.related-services ul li a {
  color: var(--brand-teal); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.related-services ul li a:hover { text-decoration: underline; }
@media (max-width: 768px) { .related-services ul { grid-template-columns: 1fr; } }

/* Page header (sub-pages) */
.page-header { padding: 40px 0 28px; background: var(--bg-accent); border-bottom: 1px solid var(--border-light); }
.page-header h1 { font-size: 2rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 8px; }
.page-header p { font-size: 1rem; color: var(--text-secondary); max-width: 700px; }

/* ===== UTILITIES ===== */
.nofollow { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }

/* ===== LIGHTHOUSE ===== */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
@media print {
  .site-header, .footer--compact, .anchor-strip, .cta-section, .nav-cta, .btn--ghost { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
.section { content-visibility: auto; contain-intrinsic-size: auto 500px; }
.hero { content-visibility: visible; }
