:root {
  --navy: #1c2230;
  --navy-soft: #2b3348;
  --bg: #f5f6f8;
  --card: #ffffff;
  --ink: #1c2230;
  --ink-soft: #626b7d;
  --accent: #4d7ea8;
  --accent-soft: #dce8f2;
  --border: #e2e5ea;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.sp-only { display: none; }

.c-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; }
h1, h2, h3 { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.lp-badge {
  text-align: center;
  font-size: 12px;
  background: var(--navy);
  color: #fff;
  padding: 6px 10px;
}

/* Header */
.c-header {
  background: var(--navy);
  color: #fff;
}
.c-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.c-logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.c-logo span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #9aa4bd;
  letter-spacing: 0.1em;
}

.c-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.c-nav a { color: #cfd5e4; }
.c-nav a:hover { color: #fff; }

.c-nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
}

/* Hero */
.c-hero {
  background:
    linear-gradient(160deg, rgba(28, 34, 48, 0.94), rgba(43, 51, 72, 0.78)),
    url(img/hero.jpg) center / cover no-repeat var(--navy);
  color: #fff;
  padding: 90px 0 120px;
  position: relative;
  overflow: hidden;
}

.c-hero-inner {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.c-hero-kicker {
  font-size: 13px;
  color: #9db6d6;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}

.c-hero h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 20px;
}

.c-hero-sub {
  color: #c3cbdd;
  font-size: 15px;
  margin: 0 0 32px;
}

.c-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 30px;
  border-radius: 4px;
}

.c-cta-large { font-size: 16px; padding: 17px 38px; }

.c-hero-visual {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(77,126,168,0.55), transparent 70%);
  z-index: 1;
}

/* Stats */
.c-stats {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}
.c-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(28, 34, 48, 0.12);
  overflow: hidden;
}
.c-stat {
  text-align: center;
  padding: 30px 16px 26px;
}
.c-stat + .c-stat { border-left: 1px solid var(--border); }
.c-stat-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}
.c-stat-num span {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}
.c-stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.c-stat:nth-child(2).in-view,
.c-service-card:nth-child(2).in-view,
.c-work-card:nth-child(2).in-view { transition-delay: 0.12s; }
.c-stat:nth-child(3).in-view,
.c-service-card:nth-child(3).in-view,
.c-work-card:nth-child(3).in-view { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Section common */
.c-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 36px;
}

/* Service */
.c-service { background: var(--card); padding: 72px 0; }
.c-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.c-service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.c-service-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.c-service-card h3 { font-size: 16px; margin-bottom: 10px; }
.c-service-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* History */
.c-history { padding: 72px 0; }
.c-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.c-timeline li {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.c-year {
  min-width: 70px;
  font-weight: 700;
  color: var(--accent);
}
.c-event { font-size: 14px; color: var(--ink-soft); }

/* Works */
.c-works { background: var(--card); padding: 72px 0; }
.c-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.c-work-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.c-work-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}
.c-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c-work-tag { font-size: 11px; color: var(--accent); font-weight: 700; margin: 14px 16px 4px; }
.c-work-title { font-size: 14px; margin: 0 16px 16px; }

/* Company */
.c-company { padding: 72px 0; }
.c-table th, .c-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.c-table th {
  width: 140px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Contact */
.c-contact {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.c-contact h2 { margin-bottom: 14px; }
.c-contact p { color: #c3cbdd; margin: 0 0 28px; }

.c-footer {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 24px 0;
  background: var(--card);
}

/* Responsive */
@media (max-width: 720px) {
  .sp-only { display: inline; }
  .c-nav { display: none; }
  .c-service-grid, .c-works-grid { grid-template-columns: 1fr; }
  .c-hero { padding: 64px 0 96px; }
  .c-hero-visual { width: 300px; height: 300px; right: -100px; top: -40px; }
  .c-timeline li { gap: 14px; }
  .c-stats { margin-top: -40px; }
  .c-stats-grid { grid-template-columns: 1fr; }
  .c-stat { padding: 20px 16px; }
  .c-stat + .c-stat { border-left: 0; border-top: 1px solid var(--border); }
  .c-stat-num { font-size: 28px; }
}
