:root {
  --navy: #071b2b;
  --navy-soft: #0c2f48;
  --blue: #0878c9;
  --cyan: #21a9e1;
  --ink: #14242e;
  --muted: #63727b;
  --paper: #f4f7f9;
  --line: #dce4e8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 86px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(7,27,43,.08);
  backdrop-filter: blur(14px);
}
.logo img { width: clamp(185px, 20vw, 250px); }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 42px); }
.site-header nav a { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.site-header nav a:hover { color: var(--blue); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 130px clamp(24px, 8vw, 130px) 80px; overflow: hidden; color: white; background: var(--navy); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,43,.96) 0%, rgba(7,27,43,.76) 48%, rgba(7,27,43,.24) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 830px; }
.status { display: inline-flex; margin: 0 0 42px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .12em; }
.hero-label { margin: 0 0 18px; color: #69ccf3; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.hero h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(54px, 8vw, 104px); font-weight: 500; line-height: 1.18; letter-spacing: -.05em; }
.hero-content > p:not(.status):not(.hero-label) { margin: 30px 0 0; color: rgba(255,255,255,.78); font-size: clamp(15px, 1.6vw, 19px); line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border-radius: 2px; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--cyan); color: #05233a; }
.secondary { border: 1px solid rgba(255,255,255,.5); color: white; }
.scroll { position: absolute; z-index: 1; right: clamp(20px, 5vw, 74px); bottom: 34px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.65); text-decoration: none; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .18em; }
.scroll span { width: 46px; height: 1px; background: rgba(255,255,255,.5); }

.division { padding: 120px clamp(24px, 7vw, 110px); }
.it-division { background: var(--paper); }
.motorsports { color: white; background: var(--navy); }
.section-title { max-width: 1180px; margin: 0 auto 64px; }
.section-title > p { margin: 0 0 20px; color: var(--blue); font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.motorsports .section-title > p { color: var(--cyan); }
.section-title img { width: min(100%, 530px); }
.new-service { max-width: 1180px; margin: 0 auto 70px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 50px; background: white; border-left: 5px solid var(--cyan); box-shadow: 0 18px 48px rgba(7,27,43,.08); }
.new-service > div { max-width: 720px; }
.tag { margin: 0 0 8px; color: var(--blue); font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.new-service h2 { margin: 0 0 14px; font-family: "Yu Mincho", serif; font-size: clamp(28px, 3vw, 40px); font-weight: 600; }
.new-service p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.accent { flex: 0 0 auto; color: white; background: var(--blue); }
.service-list { max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line); }
.motorsports .service-list { border-color: rgba(255,255,255,.18); }
.service-list article { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 34px 4px; border-bottom: 1px solid var(--line); }
.motorsports .service-list article { border-color: rgba(255,255,255,.18); }
.service-list article > span { color: var(--blue); font-family: Arial, sans-serif; font-size: 12px; font-weight: 800; }
.motorsports .service-list article > span { color: var(--cyan); }
.service-list h3 { margin: 0 0 10px; font-size: 19px; }
.service-list p { max-width: 900px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.motorsports .service-list p { color: rgba(255,255,255,.65); }
.image-grid { max-width: 1180px; margin: 70px auto 0; display: grid; gap: 18px; }
.image-grid.three { grid-template-columns: repeat(3, 1fr); }
.image-grid figure { margin: 0; overflow: hidden; background: white; }
.motorsports .image-grid figure { background: #0c2f48; }
.image-grid figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.image-grid figure:hover img { transform: scale(1.025); }
.image-grid figcaption { min-height: 70px; padding: 17px 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.motorsports .image-grid figcaption { color: rgba(255,255,255,.72); }

.company, .access { padding: 120px clamp(24px, 7vw, 110px); }
.company { background: white; }
.access { background: var(--paper); }
.company-heading { max-width: 1180px; margin: 0 auto 55px; }
.company-heading p { margin: 0 0 12px; color: var(--blue); font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.company-heading h2 { margin: 0; font-family: "Yu Mincho", serif; font-size: clamp(38px, 5vw, 60px); font-weight: 500; }
.company-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; }
.profile { margin: 0; border-top: 1px solid var(--line); }
.profile > div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.profile dd { margin: 0; font-size: 14px; line-height: 1.75; }
.profile small { color: var(--muted); font-size: 11px; }
.mail-image { width: auto; max-height: 28px; }
.office-images { display: grid; gap: 16px; align-content: start; }
.office-images img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.business-purpose { max-width: 1180px; margin: 52px auto 0; border-block: 1px solid var(--line); }
.business-purpose summary { padding: 22px 2px; cursor: pointer; font-size: 14px; font-weight: 800; }
.business-purpose ol { margin: 0 0 28px; padding-left: 28px; columns: 2; column-gap: 60px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.business-purpose li { break-inside: avoid; margin-bottom: 6px; }
.map { max-width: 1180px; height: min(58vw, 560px); margin: 0 auto; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.82) contrast(.96); }

footer { padding: 56px clamp(24px, 7vw, 110px); color: white; background: #04141f; }
footer img { width: min(100%, 260px); filter: brightness(0) invert(1); opacity: .9; }
footer p { margin: 28px 0 20px; color: rgba(255,255,255,.6); font-size: 12px; }
footer small { color: rgba(255,255,255,.38); font-family: Arial, sans-serif; font-size: 10px; }

@media (max-width: 880px) {
  .site-header { height: 76px; }
  .site-header nav a:not(:first-child) { display: none; }
  .hero { padding-top: 110px; }
  .new-service { align-items: flex-start; flex-direction: column; }
  .company-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 18px; }
  .logo img { width: 174px; }
  .site-header nav a { font-size: 11px; }
  .hero { min-height: 760px; padding-inline: 22px; }
  .hero h1 { font-size: 55px; }
  .hero-content > p br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .division, .company, .access { padding: 82px 20px; }
  .new-service { padding: 28px 22px; }
  .accent { width: 100%; }
  .service-list article { grid-template-columns: 42px 1fr; gap: 12px; }
  .image-grid.three { grid-template-columns: 1fr; }
  .profile > div { grid-template-columns: 1fr; gap: 8px; }
  .business-purpose ol { columns: 1; }
  .map { height: 440px; }
}
