:root {
  --primary: #1a365d;
  --primary-hover: #2b6cb0;
  --accent: #0d9488;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --font-base: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-hover);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.brand-logo img {
  height: 100%;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

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

.header-cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.header-cta:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Hero */
.hero-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1a365d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Value Blocks */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 50px;
  height: 50px;
  background: #eff6ff;
  color: var(--primary-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Methodology Steps */
.method-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.method-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  background: #ccfbf1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-text h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.method-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Curriculum Grid */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.curriculum-card {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-hover);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.curriculum-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.curriculum-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Scope Table */
.scope-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scope-table th, .scope-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.scope-table th {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  width: 50%;
}

.scope-table tr:last-child td {
  border-bottom: none;
}

.scope-list {
  list-style: none;
}

.scope-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.scope-list.inc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.scope-list.exc li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.faq-item h3::before {
  content: "Q.";
  color: var(--accent);
  font-weight: 800;
}

.faq-item p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About Box */
.about-box {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-box p {
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.about-box p:last-child {
  margin-bottom: 0;
}

/* Lead Form Section */
.form-section {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 0;
}

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

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

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.req {
  color: #dc2626;
  margin-left: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary-hover);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-microcopy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
}

/* Success & Error Panels */
.status-panel {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: #10b981;
}

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

.status-panel h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.status-panel p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-transparency {
  background: #1e293b;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.825rem;
  color: #cbd5e1;
  border-left: 3px solid var(--accent);
}

.footer-transparency p {
  margin-bottom: 0.35rem;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 1.25rem 0;
  z-index: 9999;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  max-width: 800px;
}

.cookie-text a {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie-accept {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-decline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #475569;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .value-grid, .curriculum-grid, .faq-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}