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

:root {
  --navy: #1E2761;
  --navy-dark: #141a45;
  --navy-light: #2a3580;
  --gold: #F0B429;
  --gold-dark: #d4991a;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ed;
  --gray-400: #9aa3b0;
  --gray-600: #5a6374;
  --gray-800: #2d3340;
  --text: #1a2030;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.nav-logo-en {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.nav-logo-ja {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
}

/* ===== PAGE WRAPPER ===== */
.page {
  display: none;
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 40px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(240,180,41,0.06);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(240,180,41,0.15);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid rgba(240,180,41,0.3);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy-dark);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  padding: 20px 48px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}

/* ===== SECTION ===== */
section { padding: 72px 40px; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.9;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.feature-card:hover {
  border-color: var(--navy-light);
  box-shadow: 0 4px 16px rgba(30,39,97,0.08);
}

.feature-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===== JIS BADGE ===== */
.jis-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.jis-section h2 { color: var(--white); }

.jis-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.jis-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(240,180,41,0.4);
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.plan-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
  background: var(--white);
  transition: box-shadow 0.15s;
}
.plan-card:hover { box-shadow: 0 6px 24px rgba(30,39,97,0.1); }

.plan-card.featured {
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(30,39,97,0.15);
}

.plan-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.plan-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
}

.plan-note {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 13.5px;
  color: var(--gray-600);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23F0B429' d='M12.5 4L6.5 10.5 3.5 7.5' stroke='%23F0B429' stroke-width='1.8' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-color: var(--navy);
  background-size: contain;
}

.featured-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.15s;
}

.plan-btn-primary {
  background: var(--navy);
  color: var(--white);
}
.plan-btn-primary:hover { background: var(--navy-light); }

.plan-btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.plan-btn-outline:hover { background: var(--gray-50); }

/* ===== COMPANY ===== */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--gray-100);
}
.company-table th {
  text-align: left;
  width: 130px;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  vertical-align: top;
}
.company-table td {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== RESOURCES ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.resource-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
  background: var(--white);
}
.resource-card:hover {
  box-shadow: 0 6px 20px rgba(30,39,97,0.1);
  transform: translateY(-2px);
}

.resource-header {
  background: var(--navy);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.resource-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.resource-header svg { fill: rgba(255,255,255,0.4); width: 22px; height: 22px; }

.resource-body {
  padding: 18px 22px;
}
.resource-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}
.resource-body p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
}
.resource-dl {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.resource-dl::after { content: ' →'; }

/* ===== CONTACT ===== */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.form-group label span {
  font-size: 11px;
  color: #c0392b;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--navy-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.5);
  padding: 36px 40px;
  text-align: center;
  font-size: 12px;
}
footer a { color: rgba(255,255,255,0.5); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.max-w { max-width: 1100px; margin: 0 auto; }
.bg-gray { background: var(--gray-50); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 48px 20px; }
  .hero h1 { font-size: 24px; }
  section { padding: 48px 20px; }
  .company-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-item { padding: 16px 24px; }
}
