:root {
  --brand: #d20f3c;
  --brand-dark: #a9092f;
  --brand-soft: #fff1f5;
  --ink: #172033;
  --muted: #697386;
  --line: #e7e9ee;
  --surface: #ffffff;
  --surface-alt: #f7f8fb;
  --shadow: 0 18px 50px rgba(27, 34, 53, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,233,238,.85);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--brand), #f05675);
  box-shadow: 0 10px 25px rgba(210,15,60,.28);
  position: relative;
  overflow: hidden;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.94);
  transform: rotate(-28deg);
  border-radius: 4px;
}
.brand-mark::before { width: 8px; height: 42px; left: 13px; top: 2px; }
.brand-mark::after { width: 8px; height: 28px; left: 24px; top: 10px; }
.brand-text strong {
  display: block;
  letter-spacing: .12em;
  font-size: 18px;
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: -2px;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.global-nav a {
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #35405a;
}
.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-contact {
  background: var(--brand) !important;
  color: #fff !important;
  padding-inline: 20px !important;
  box-shadow: 0 10px 24px rgba(210,15,60,.20);
}
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: .25s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(circle at 76% 16%, rgba(210,15,60,.14), transparent 33%),
    radial-gradient(circle at 88% 72%, rgba(85,86,255,.10), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  top: -150px;
  border: 1px solid rgba(210,15,60,.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(210,15,60,.025),
    0 0 0 88px rgba(210,15,60,.018);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--brand);
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.12;
  margin: 22px 0 24px;
  letter-spacing: -.04em;
}
.hero h1 em {
  color: var(--brand);
  font-style: normal;
}
.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(210,15,60,.22);
}
.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: #35405a;
}
.hero-visual {
  position: relative;
  min-height: 440px;
}
.orbit-card {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 310px;
  height: 310px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f4f5f8);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.orbit-card::before,
.orbit-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(210,15,60,.24);
}
.orbit-card::before { inset: -38px; }
.orbit-card::after { inset: -78px; border-color: rgba(85,86,255,.16); }
.orbit-core {
  width: 136px;
  height: 136px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--brand), #f15b7b);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .16em;
  box-shadow: 0 20px 45px rgba(210,15,60,.30);
}
.floating-chip {
  position: absolute;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(231,233,238,.9);
  box-shadow: 0 16px 40px rgba(27,34,53,.10);
  font-size: 13px;
  font-weight: 800;
}
.chip-1 { top: 30px; left: 18px; }
.chip-2 { top: 110px; right: 2px; }
.chip-3 { bottom: 80px; left: 0; }
.chip-4 { bottom: 20px; right: 30px; }

.section { padding: 92px 0; }
.section-alt { background: var(--surface-alt); }
.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  margin: 12px 0 14px;
  letter-spacing: -.025em;
}
.section-lead { color: var(--muted); margin: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(27,34,53,.045);
}
.service-card {
  min-height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 25px;
  font-weight: 900;
}
.service-card h3 { margin: 20px 0 10px; font-size: 20px; }
.service-card p { color: var(--muted); margin: 0; font-size: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.stat {
  padding: 32px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-size: 28px;
  color: var(--brand);
}
.stat span { color: var(--muted); font-size: 13px; }

.news-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.news-item {
  display: grid;
  grid-template-columns: 130px 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #fcfcfd; }
.news-date { color: var(--muted); font-size: 13px; }
.news-category {
  display: inline-flex;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #1d2638, #313a50);
  color: #fff;
  padding: 58px;
}
.cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 { margin: 0 0 10px; font-size: 34px; }
.cta p { margin: 0; color: rgba(255,255,255,.72); }

.page-hero {
  padding: 76px 0 52px;
  background: linear-gradient(180deg, #fff, #fafafe);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.03em;
}
.page-hero p { color: var(--muted); margin: 0; }

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(27,34,53,.06);
}
.company-table th,
.company-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 220px;
  background: #fafafb;
  color: #495269;
  font-weight: 800;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }

.form-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 14px;
}
.required { color: var(--brand); margin-left: 5px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #d9dce4;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(210,15,60,.09);
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.form-status {
  margin-top: 18px;
  min-height: 26px;
  text-align: center;
  font-weight: 800;
}
.form-status.success { color: #138a43; }
.form-status.error { color: #b00020; }
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.privacy h2 { margin-top: 40px; }
.privacy p, .privacy li { color: #4f596e; }

.site-footer {
  margin-top: 90px;
  background: #121827;
  color: #fff;
}
.footer-inner {
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,.58);
  max-width: 460px;
  font-size: 14px;
}
.footer-title {
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .16em;
  margin-bottom: 14px;
}
.footer-links {
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 20px 0;
  color: rgba(255,255,255,.45);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-button { display: block; }
  .global-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding: 64px 0 54px; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 16px; }
  .hero-visual { min-height: 330px; }
  .orbit-card { width: 230px; height: 230px; }
  .orbit-core { width: 104px; height: 104px; border-radius: 28px; font-size: 18px; }
  .floating-chip { font-size: 11px; padding: 10px 12px; }
  .chip-1 { top: 15px; }
  .chip-2 { top: 85px; }
  .chip-3 { bottom: 55px; }
  .chip-4 { bottom: 0; }
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 7px; }
  .news-category { width: fit-content; }
  .cta { padding: 36px 26px; border-radius: 24px; }
  .company-table th,
  .company-table td { display: block; width: 100%; padding: 14px 18px; }
  .company-table th { border-bottom: 0; padding-bottom: 4px; }
  .form-card { padding: 24px 18px; border-radius: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}