/* ════════════════════════════════════════
   小野晋平税理士事務所 — Main CSS
   ════════════════════════════════════════ */

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

:root {
  --primary: #1a2744;
  --primary-hover: #111c33;
  --primary-10: rgba(26,39,68,.10);
  --primary-5:  rgba(26,39,68,.05);
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --white:    #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ════════════════════════════════
   HEADER
   ════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  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: 4rem;
}
@media (min-width: 768px) { .header-inner { height: 5rem; } }

.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.site-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
@media (min-width: 768px) { .site-logo-text { font-size: 1.25rem; } }

/* Desktop nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
@media (min-width: 768px) { .site-nav { display: flex; } }

.site-nav a {
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--gray-700);
  transition: color .2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--primary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem 0;
  transition: color .2s;
}
.nav-dropdown-btn:hover { color: var(--primary); }
.nav-dropdown-btn svg { width: 1rem; height: 1rem; transition: transform .25s ease; }
.nav-dropdown.is-open .nav-dropdown-btn svg,
.nav-dropdown:focus-within .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: .625rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 12px 32px -4px rgba(0,0,0,.12);
  padding: .625rem 0 .625rem 0;
  padding-top: .875rem; /* bridges the gap so mouse can slide from button to menu */
  min-width: 13rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: .5rem 1.25rem;
  font-size: .875rem;
  color: var(--gray-700);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s, padding-left .15s;
}
.nav-dropdown-menu a:hover {
  background: #f0f4ff;
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  background: linear-gradient(135deg, #1e3a7a 0%, #3b82f6 100%);
  color: var(--white) !important;
  font-size: .875rem;
  font-weight: 600;
  border-radius: .375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59,130,246,.38);
  transition: background .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #172e62 0%, #2563eb 100%);
  box-shadow: 0 7px 22px rgba(59,130,246,.58);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.25rem;
  background: transparent;
  color: var(--primary) !important;
  font-size: .875rem;
  font-weight: 600;
  border-radius: .375rem;
  border: 2px solid var(--primary);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--primary); color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
}
@media (min-width: 768px) { .hamburger { display: none; } }

/* ════════════════════════════════
   MOBILE MENU
   ════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}
.mobile-menu.open { display: block; }
.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}
.mobile-panel {
  position: absolute;
  top: 0; right: 0;
  width: 16rem;
  height: 100%;
  background: var(--white);
  padding: 1rem;
  overflow-y: auto;
  box-shadow: -4px 0 12px rgba(0,0,0,.15);
}
.mobile-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.mobile-close button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  padding: .25rem;
}
.mobile-nav { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--gray-100); }
.mobile-nav a {
  display: block;
  padding: .75rem 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .sub-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: .75rem 0 .25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mobile-nav .sub-links a {
  padding: .5rem 0 .5rem 1rem;
  font-size: .875rem;
}

/* ════════════════════════════════
   HERO (index page)
   ════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15,28,75,.38) 0%, rgba(20,50,160,.72) 100%); }
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 5rem 0 8rem;
}
@media (min-width: 768px) { .hero-content { padding: 8rem 0; } }
.hero-inner { max-width: 42rem; }
.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.95);
  margin-bottom: 2rem;
  max-width: 36rem;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }
.btn-hero {
  display: inline-flex;
  align-items: center;
  padding: .875rem 2rem;
  background: linear-gradient(135deg, #1e3a7a 0%, #3b82f6 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: .375rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(59,130,246,.48);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-hero:hover {
  background: linear-gradient(135deg, #172e62 0%, #2563eb 100%);
  box-shadow: 0 8px 28px rgba(59,130,246,.68);
  transform: translateY(-2px);
}

/* ════════════════════════════════
   PAGE HERO (sub-pages)
   ════════════════════════════════ */
.page-hero {
  position: relative;
  height: 18rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary);
}
@media (min-width: 768px) { .page-hero { height: 22rem; } }
.page-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,28,75,.44) 0%, rgba(20,50,160,.78) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
  padding-top: 2.5rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
  list-style: none;
}
.breadcrumb a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; }
.page-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: .5rem;
}
@media (min-width: 768px) { .page-hero-title { font-size: 2.5rem; } }
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
}

/* ════════════════════════════════
   SECTIONS (shared)
   ════════════════════════════════ */
.section-white { padding: 4rem 0; background: var(--white); }
.section-gray  { padding: 4rem 0; background: var(--gray-50); }
@media (min-width: 768px) {
  .section-white { padding: 5rem 0; }
  .section-gray  { padding: 5rem 0; }
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .06em;
  margin-bottom: .5rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.8;
}

/* ════════════════════════════════
   CONCEPT SECTION
   ════════════════════════════════ */
.concept-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .concept-grid { grid-template-columns: 1fr 1fr; } }
.concept-card {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-200);
}
.concept-card h4 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}
.concept-card .card-sub {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.concept-card p { color: var(--gray-700); line-height: 1.8; }

/* ════════════════════════════════
   SERVICE CARDS
   ════════════════════════════════ */
.service-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}
.service-card-inner {
  background: var(--white);
  border-radius: .5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .3s;
}
.service-card:hover .service-card-inner { box-shadow: var(--shadow-lg); }
.service-icon-area {
  height: 12rem;
  background: linear-gradient(135deg, var(--primary-10) 0%, var(--primary-5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-area svg {
  width: 6rem;
  height: 6rem;
  color: var(--primary);
  stroke: var(--primary);
  transition: transform .3s;
}
.service-card:hover .service-icon-area svg { transform: scale(1.1); }
.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
  transition: color .2s;
}
.service-card:hover .service-body h4 { color: #2a3d6b; }
.service-body p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.service-more {
  font-size: .875rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: auto;
}
.service-more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.service-card:hover .service-more svg { transform: translateX(.25rem); }

/* ════════════════════════════════
   SERVICE DETAIL PAGE
   ════════════════════════════════ */
.service-items {
  counter-reset: service-counter;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) { .service-items { grid-template-columns: 1fr; } }

.service-item {
  counter-increment: service-counter;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid rgba(26,39,68,.06);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-item::before {
  content: counter(service-counter, decimal-leading-zero);
  position: absolute;
  top: .875rem;
  right: 1.25rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .06;
  line-height: 1;
  pointer-events: none;
}
.service-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a3266, #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-item:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(26,39,68,.14); }
.service-item:hover::after { transform: scaleX(1); }

.service-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f0f1f3;
  line-height: 1.5;
}
.service-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: .625rem;
  line-height: 1.5;
}
.service-item p {
  color: #6b7280;
  line-height: 1.85;
  font-size: .9375rem;
}
.service-subsection { margin-bottom: 2.5rem; }
.service-subsection-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  padding: .625rem 1rem;
  background: #f0f4ff;
  border-left: 4px solid var(--primary);
  border-radius: 0 .375rem .375rem 0;
}

/* ════════════════════════════════
   ABOUT / PROFILE
   ════════════════════════════════ */
.office-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.office-table tr { border-bottom: 1px solid var(--gray-200); }
.office-table th {
  width: 8rem;
  padding: 1rem .75rem;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  vertical-align: top;
}
.office-table td {
  padding: 1rem .75rem;
  color: var(--gray-700);
  line-height: 1.7;
}
@media (max-width: 639px) {
  .office-table, .office-table tbody, .office-table tr, .office-table th, .office-table td {
    display: block;
  }
  .office-table th { padding-bottom: .25rem; color: var(--primary); font-size: .8125rem; }
  .office-table td { padding-top: 0; padding-bottom: .75rem; }
}

.profile-card {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) { .profile-card { grid-template-columns: 280px 1fr; } }
.profile-img-wrap {
  border-radius: .75rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
}
.profile-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .25rem;
}
.profile-role {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.profile-credential {
  border-left: 4px solid var(--primary);
  padding: .875rem 1.25rem;
  background: var(--gray-50);
  border-radius: 0 .5rem .5rem 0;
  margin-bottom: 1.5rem;
}
.profile-credential .cred-label {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.profile-credential p { font-size: .9375rem; color: var(--gray-700); }
.profile-message {
  background: linear-gradient(135deg, var(--primary-5) 0%, var(--primary-10) 100%);
  border-radius: .75rem;
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.profile-message h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.profile-message p {
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: .75rem;
  font-size: .9375rem;
}
.profile-message p:last-child { margin-bottom: 0; }

/* ════════════════════════════════
   ACCESS
   ════════════════════════════════ */
.access-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) { .access-grid { grid-template-columns: 1fr 1fr; } }
.info-box {
  background: var(--gray-50);
  border-radius: .75rem;
  padding: 2rem;
}
.info-box h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.info-row {
  display: flex;
  gap: .75rem;
  margin-bottom: .875rem;
  font-size: .9375rem;
}
.info-row .info-label {
  font-weight: 600;
  color: var(--gray-700);
  min-width: 5rem;
  flex-shrink: 0;
}
.info-row .info-val { color: var(--gray-600); line-height: 1.7; }
.access-card {
  border: 2px solid var(--primary);
  border-radius: .75rem;
  padding: 1.5rem;
  margin-top: 1.25rem;
}
.access-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .875rem;
}
.access-card p {
  font-size: .9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: .5rem;
}
.access-card ul {
  list-style: none;
  margin: .25rem 0 .75rem 0;
}
.access-card ul li {
  font-size: .9375rem;
  color: var(--gray-600);
  padding: .25rem 0;
  padding-left: 1rem;
  position: relative;
}
.access-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.map-wrap {
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.map-wrap iframe {
  width: 100%;
  height: 24rem;
  display: block;
  border: none;
}
.nearby-list {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: .625rem;
}
.nearby-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--gray-700);
  padding: .625rem .875rem;
  background: var(--gray-50);
  border-radius: .5rem;
}
.nearby-list li::before {
  content: "📍";
  font-size: 1rem;
}

/* ════════════════════════════════
   CONTACT
   ════════════════════════════════ */
.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .contact-methods { grid-template-columns: 1fr 1fr 1fr; } }
.contact-method-card {
  background: var(--gray-50);
  border-radius: .75rem;
  padding: 1.75rem;
  text-align: center;
}
.contact-method-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  stroke: var(--primary);
  margin: 0 auto 1rem;
}
.contact-method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
}
.contact-method-card .tel-link {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin-bottom: .5rem;
}
.contact-method-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-form { max-width: 42rem; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .5rem;
}
.form-group .required {
  font-size: .75rem;
  background: var(--primary);
  color: var(--white);
  padding: .1rem .4rem;
  border-radius: .25rem;
  margin-left: .375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-size: .9375rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: .5rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}
.form-group textarea { min-height: 9rem; resize: vertical; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--gray-700);
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.form-checkbox input {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: .125rem;
  accent-color: var(--primary);
}
.btn-submit {
  display: block;
  width: 100%;
  padding: .875rem;
  background: linear-gradient(135deg, #1e3a7a 0%, #3b82f6 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59,130,246,.32);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-submit:hover {
  background: linear-gradient(135deg, #172e62 0%, #2563eb 100%);
  box-shadow: 0 6px 22px rgba(59,130,246,.52);
  transform: translateY(-1px);
}
.form-note {
  text-align: center;
  font-size: .8125rem;
  color: var(--gray-500);
  margin-top: .875rem;
}

/* ════════════════════════════════
   CTA SECTION
   ════════════════════════════════ */
.section-cta {
  padding: 5rem 0;
  background: #081428;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 160% at 0% 50%, rgba(59,130,246,.48) 0%, transparent 55%),
    radial-gradient(ellipse 70% 100% at 100% 15%, rgba(96,165,250,.22) 0%, transparent 50%),
    radial-gradient(ellipse 55% 70% at 55% 115%, rgba(37,99,235,.30) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.section-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,.022) 0,
    rgba(255,255,255,.022) 1px,
    transparent 1px,
    transparent 36px
  );
  pointer-events: none;
  z-index: 0;
}
.section-cta .container { position: relative; z-index: 1; }
.section-cta h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-cta h2 { font-size: 2rem; } }
.section-cta p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--white) !important;
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.btn-cta-phone:hover { opacity: .75; }
.btn-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  background: transparent;
  color: var(--white) !important;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: .375rem;
  text-decoration: none;
  transition: border-color .2s;
}
.btn-cta-mail:hover { border-color: var(--white); }
.btn-cta-hours {
  display: block;
  margin-top: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.site-footer {
  background: #071020;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 92% 5%, rgba(59,130,246,.24) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 8% 95%, rgba(37,99,235,.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.footer-main,
.footer-bottom { position: relative; z-index: 1; }
.footer-main { padding: 4rem 0 5rem; }
@media (min-width: 768px) { .footer-main { padding: 5rem 0 6rem; } }

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }

.footer-office h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-contact-items { display: flex; flex-direction: column; gap: .875rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; }
.footer-contact-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gray-400);
  flex-shrink: 0;
  margin-top: .15rem;
}
.footer-contact-item a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}
.footer-contact-item a:hover { color: var(--white); }
.footer-address { color: var(--gray-400); font-size: .875rem; line-height: 1.7; }
.footer-hours { padding-top: .5rem; font-size: .875rem; }
.footer-hours .hours-label { font-weight: 600; color: var(--white); margin-bottom: .25rem; }
.footer-hours p { color: var(--gray-400); }

.footer-links-col h4 { font-weight: 700; margin-bottom: 1.25rem; font-size: 1rem; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer-links-col a {
  font-size: .875rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color .2s;
}
.footer-links-col a:hover { color: var(--white); }

.footer-finance {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-bottom: 2rem;
}
.footer-finance h4 { font-weight: 700; margin-bottom: .625rem; }
.footer-finance p { font-size: .875rem; color: var(--gray-400); margin-bottom: .75rem; }
.footer-finance a {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: .125rem;
  transition: border-color .2s;
}
.footer-finance a:hover { border-color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(55,65,81,.6);
  background: rgba(0,0,0,.30);
  padding: 2rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: .875rem;
  color: var(--gray-500);
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ════════════════════════════════
   ABOUT PAGE NEW LAYOUT
   ════════════════════════════════ */
.about-info-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) { .about-info-grid { grid-template-columns: 1fr 1fr; } }

.about-phone-box {
  background: var(--gray-50);
  border-radius: .75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.about-phone-box .box-label {
  font-size: .875rem;
  color: var(--gray-500);
  margin-bottom: .5rem;
}
.about-phone-box .box-tel {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin-bottom: .375rem;
}
.about-phone-box .box-hours { font-size: .8125rem; color: var(--gray-500); }

.about-building-img {
  border-radius: .75rem;
  overflow: hidden;
  height: 100%;
  min-height: 20rem;
}
.about-building-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .75rem;
}

.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .section-heading { font-size: 2.25rem; } }

.handshake-img-wrap {
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.handshake-img-wrap img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.related-company-card {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
}
.related-company-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}
.related-company-card p { color: var(--gray-600); line-height: 1.8; font-size: .9375rem; }

/* ════════════════════════════════
   PRICING PAGE
   ════════════════════════════════ */
.pricing-content { max-width: 52rem; margin: 0 auto; }
.pricing-intro { margin-bottom: 3rem; }
.pricing-intro h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.pricing-intro p { color: var(--gray-600); line-height: 1.8; }
.pricing-section { margin-bottom: 3.5rem; }
.pricing-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--gray-200);
}
.pricing-note { font-size: .875rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.7; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  border: 1px solid var(--gray-200);
}
.pricing-table th {
  background: var(--gray-100);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}
.pricing-table td {
  padding: .75rem 1rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.6;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .fw-bold { font-weight: 700; }
.pricing-table .text-center { text-align: center; }
.pricing-cta-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.pricing-cta-box h3 { font-size: 1.375rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.pricing-cta-box p { color: var(--gray-600); margin-bottom: 1.5rem; font-size: .9375rem; }

/* ════════════════════════════════
   SERVICE MA PAGE
   ════════════════════════════════ */
.ma-intro-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .ma-intro-grid { grid-template-columns: 1fr 1fr; } }
.ma-intro-grid img { width: 100%; height: 22rem; object-fit: cover; border-radius: .75rem; }
.ma-intro-text h2 { font-size: 1.375rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.ma-intro-text p { color: var(--gray-600); line-height: 1.85; margin-bottom: .75rem; font-size: .9375rem; }
.ma-items-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: .75rem; padding: 2rem 2.5rem; }
.ma-items-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.5rem; }
.ma-check-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ma-check-grid { grid-template-columns: 1fr 1fr; } }
.ma-check-item { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--gray-700); }
.ma-check-item::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.ma-partner-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: .75rem; padding: 2rem 2.5rem; max-width: 52rem; margin: 0 auto; }
.ma-partner-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.ma-partner-card p { color: var(--gray-600); line-height: 1.8; font-size: .9375rem; }

/* ════════════════════════════════
   KITAHAMA FINANCE
   ════════════════════════════════ */
.finance-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .finance-intro { grid-template-columns: 1fr 1fr; } }
.finance-intro img {
  border-radius: .75rem;
  width: 100%;
  height: 20rem;
  object-fit: cover;
}
.finance-intro h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.finance-intro p  { color: var(--gray-600); line-height: 1.85; margin-bottom: .875rem; font-size: .9375rem; }

/* ════════════════════════════════
   UTILITIES
   ════════════════════════════════ */
.text-center { text-align: center; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 767px) {
  .page-hero-title { font-size: 1.625rem; }
  .section-title   { font-size: 1.5rem; }
  .hero-title      { font-size: 1.875rem; }
}
