/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --bg-3: #eef2f7;
  --surface: #ffffff;
  --border: #e4eaf2;
  --border-2: #d0dae8;
  --text: #0f1c2e;
  --text-2: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --navy: #1e3a5f;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --blue-mid: #93c5fd;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  --font: 'Noto Sans JP', 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(15,28,46,0.06);
  --shadow: 0 4px 20px rgba(15,28,46,0.08);
  --shadow-md: 0 8px 32px rgba(15,28,46,0.10);
  --shadow-lg: 0 16px 48px rgba(15,28,46,0.12);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.0);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.logo-texts { display: flex; flex-direction: column; gap: 1px; }
.logo-ja { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; line-height: 1; }
.logo-en { font-size: 10px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.04em; line-height: 1; }
.logo-white .logo-ja { color: #fff; }
.logo-white .logo-en { color: rgba(255,255,255,0.6); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--transition); }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--blue) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-link { padding: 15px 28px; font-size: 15px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.mobile-link:hover { color: var(--accent); background: var(--accent-light); }
.mobile-link.cta { color: var(--accent); font-weight: 600; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
  font-family: var(--font);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--navy);
  font-size: 15px; font-weight: 600;
  padding: 13px 32px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
section { padding: 112px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 28px 80px;
  gap: 60px;
  overflow: visible;
}
.hero-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
}
.c1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.c2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,58,95,0.04) 0%, transparent 70%);
  bottom: 100px; left: -100px;
}
.deco-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,0.08), transparent);
  width: 1px;
}
.l1 { height: 100vh; left: 33%; top: 0; }
.l2 { height: 100vh; left: 66%; top: 0; }

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(37,99,235,0.15);
  color: var(--blue);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.accent-text { color: var(--blue); }
.hero-sub {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.main-card { min-height: 280px; }
.sub-card { min-height: 120px; }
.card-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  padding: 48px;
}
.card-inner.small { padding: 24px; }
.card-emoji { font-size: 48px; }
.card-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.floating-tag {
  position: absolute;
  display: flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.tag-1 { bottom: 20px; left: 20px; }
.tag-2 { bottom: 20px; right: 20px; }
.tag-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.stat-pill {
  align-self: flex-end;
  display: flex; align-items: baseline; gap: 6px;
  background: var(--navy);
  color: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  box-shadow: var(--shadow-md);
}
.pill-num { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; }
.pill-text { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===== SERVICES ===== */
#services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon-wrap {
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 20px;
}
.service-icon-wrap svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== WORKS ===== */
#works { background: var(--bg); }
.works-filter {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 44px;
}
.filter-btn {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px; font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px; cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.work-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.work-image {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--bg-3);
}
.work-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-item:hover .work-image img { transform: scale(1.05); }
.work-inner { display: flex; align-items: center; justify-content: center; }
.work-inner span { font-size: 48px; opacity: 0.7; }
.work-info { padding: 18px 20px; }
.work-tag {
  display: inline-flex;
  background: var(--accent-light);
  color: var(--blue);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.work-info h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.work-info p { font-size: 13px; color: var(--text-muted); }
.works-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-light);
}

/* ===== ABOUT ===== */
#about { background: var(--bg-2); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content .section-label, .about-content .section-title { text-align: left; }
.about-lead { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 44px; }
.features-list { display: flex; flex-direction: column; gap: 28px; }
.feature-item { display: flex; gap: 22px; }
.feature-num {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.05em;
  min-width: 24px;
  padding-top: 3px;
}
.feature-body h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feature-body p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value-card {
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.vc-blue { background: var(--navy); color: #fff; }
.vc-navy { background: var(--blue); color: #fff; }
.vc-light { background: var(--blue-light); color: var(--navy); }
.vc-lighter { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); }
.vc-icon { font-size: 26px; }
.value-card h5 { font-size: 14px; font-weight: 700; line-height: 1.3; }
.value-card p { font-size: 13px; opacity: 0.8; line-height: 1.6; }
.vc-lighter p { color: var(--text-muted); opacity: 1; }

/* ===== PROCESS ===== */
#process { background: var(--bg); }
.process-track { position: relative; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--blue-light), var(--blue-mid));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px 28px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.process-step:hover .step-circle {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.step-icon { font-size: 24px; margin-bottom: 12px; }
.process-step h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 12px; color: var(--text-muted); line-height: 1.7; }

/* ===== COMPANY ===== */
#company { background: var(--bg-2); }
.company-wrap { max-width: 800px; margin: 0 auto; }
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.company-table tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.company-table tr:last-child { border-bottom: none; }
.company-table tr:hover { background: var(--bg-2); }
.company-table th {
  width: 180px;
  padding: 20px 26px;
  text-align: left;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  vertical-align: top;
}
.company-table td { padding: 20px 26px; font-size: 14px; color: var(--text); line-height: 1.8; }
.company-table a { color: var(--blue); }
.company-table a:hover { text-decoration: underline; }

/* ===== FAQ ===== */
#faq { background: var(--bg-2); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}
.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
}
.faq-a.open { display: block; }
.faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.85; }

/* ===== CONTACT ===== */
#contact { background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-label, .contact-info .section-title { text-align: left; }
.contact-lead { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 40px; }
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.contact-method {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.method-icon-wrap { font-size: 22px; margin-top: 2px; }
.method-label { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.method-value { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 4px; display: block; }
.method-value-sm { font-size: 14px; color: var(--text-2); margin-bottom: 4px; line-height: 1.6; }
.method-note { font-size: 12px; color: var(--text-light); }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: var(--shadow);
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.required {
  background: #fef2f2; color: #ef4444;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px; color: var(--text);
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-light); text-align: center; }

/* ===== FOOTER ===== */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 56px; margin-bottom: 56px; flex-wrap: wrap; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 18px 0 12px; color: rgba(255,255,255,0.55); }
.footer-email { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-email:hover { color: #fff; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; min-height: auto; padding-top: 140px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .value-cards { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .company-table th { width: 110px; padding: 14px 16px; }
  .company-table td { padding: 14px 16px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 36px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
}
