:root {
  --color-navy: #16233f;
  --color-navy-dark: #0e1830;
  --color-brand: #3283bd;
  --color-brand-deep: #235f8c;
  --color-text: #2a2f3a;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7f9;
  --color-border: #e5e7eb;
  --max-width: 1080px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-navy);
}

.nav-cta {
  background: var(--color-navy);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--color-navy-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(50, 131, 189, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
}

.hero-inner {
  position: relative;
  padding: 120px 24px 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 40px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-brand-deep);
  color: #fff !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff !important;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Contact section buttons need dark outline on light bg */
.contact .btn-outline {
  border-color: var(--color-navy);
  color: var(--color-navy) !important;
}

.contact .btn-outline:hover {
  background: var(--color-navy);
  color: #fff !important;
}

/* ---------- Intro ---------- */
.intro {
  background: var(--color-bg-alt);
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.intro-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text);
}

/* ---------- Section base ---------- */
.section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-align: center;
  margin: 0 0 12px;
  color: var(--color-navy);
  font-weight: 700;
}

.section-sub {
  text-align: center;
  color: var(--color-text-light);
  margin: 0 0 48px;
}

/* ---------- Business cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 12px 30px rgba(22, 35, 63, 0.08);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--color-navy);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 12px;
  color: var(--color-navy);
}

.card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ---------- New business ---------- */
.new-business {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.new-business-inner {
  text-align: center;
  max-width: 640px;
}

.badge {
  display: inline-block;
  background: var(--color-brand-deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.nb-name {
  font-size: 1.6rem;
  color: var(--color-navy);
  margin: 0 0 20px;
  font-weight: 700;
}

.nb-name-en {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.nb-desc {
  color: var(--color-text-light);
  margin: 0;
}

/* ---------- Company table ---------- */
.company-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.company-table th {
  width: 160px;
  color: var(--color-text-light);
  font-weight: 500;
}

.company-table td {
  color: var(--color-text);
}

.company-table a {
  color: var(--color-navy);
  font-weight: 600;
}

.company-table a:hover {
  color: var(--color-brand);
}

/* ---------- Contact ---------- */
.contact-inner {
  text-align: center;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.open {
    max-height: 320px;
  }

  .site-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
  }

  .nav-cta {
    border-radius: 0;
    background: var(--color-navy);
    text-align: center;
  }

  .hero-inner {
    padding: 90px 24px 72px;
  }

  .section {
    padding: 64px 0;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .company-table th {
    padding-top: 20px;
    border-bottom: none;
  }
}
