:root {
  --navy: #082246;
  --blue: #0d65bf;
  --light-blue: #eef7ff;
  --text: #0f243d;
  --muted: #617186;
  --line: #dce6f2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 34, 70, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 7vw;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,230,242,.7);
}
.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--navy);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
.nav a:not(.nav-button) { color: #27405d; }
.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-button {
  padding: 12px 20px;
  color: #fff;
  background: var(--navy);
}
.button { padding: 15px 24px; }
.button:hover,
.nav-button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.primary { background: var(--blue); color: #fff; }
.secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  background: linear-gradient(90deg, #f7fbff 0%, #f7fbff 45%, rgba(247,251,255,.55) 62%, rgba(247,251,255,0) 100%);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 92px 0 92px 7vw;
  position: relative;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow.light { color: #b9dbff; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.lead {
  max-width: 580px;
  margin-bottom: 34px;
  color: #263c56;
  font-size: 19px;
  font-weight: 700;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  background: linear-gradient(90deg, rgba(247,251,255,.88), rgba(247,251,255,.15)), url("assets/hero.jpg") center/cover no-repeat;
  min-height: 530px;
}
.section { padding: 76px 7vw; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading h2,
.services-copy h2,
.company-panel h2,
.contact h2 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
  margin-bottom: 14px;
}
.section-heading::after,
.company-panel h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 10px;
  background: var(--blue);
}
.company-panel h2::after { margin-left: 0; }
.reason-grid,
.service-grid,
.result-grid,
.media-grid {
  display: grid;
  gap: 22px;
}
.reason-grid { grid-template-columns: repeat(4, 1fr); }
.reason-card {
  padding: 30px 22px;
  text-align: center;
}
.icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 40px;
  font-weight: 900;
}
.reason-card h3,
.service-card h3,
.result-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.reason-card p,
.service-card p,
.result-card p,
.section-heading p,
.services-copy p { color: var(--muted); margin-bottom: 0; }
.services { background: linear-gradient(135deg, #f7fbff 0%, #edf7ff 100%); display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; }
.services-copy { max-width: 480px; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card,
.media-card,
.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(8, 34, 70, .06);
}
.service-card { padding: 30px 22px; text-align: center; }
.service-icon {
  width: 66px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -.02em;
}
.media-grid { grid-template-columns: repeat(4, 1fr); }
.media-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
}
.media-card span { font-size: 28px; font-weight: 900; }
.google span { color: #2f7cf6; }
.meta span { color: #0866ff; }
.yahoo span { color: #e60012; }
.microsoft span { color: #00a4ef; }
.results { background: linear-gradient(180deg, #fff 0%, #f5faff 100%); }
.result-grid { grid-template-columns: repeat(4, 1fr); }
.result-card { overflow: hidden; }
.result-card img { width: 100%; height: 150px; object-fit: cover; }
.result-card div { padding: 22px; }
.company-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 420px;
  background: #fff;
}
.company-image { background: url("assets/office.jpg") center/cover no-repeat; }
.company-panel { padding: 72px 7vw 72px 56px; }
.company-list { margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
.company-list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.company-list dt { color: var(--muted); font-size: 13px; font-weight: 800; }
.company-list dd { margin: 4px 0 0; color: var(--navy); font-weight: 700; }
.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 50px 7vw;
  color: #fff;
  background: linear-gradient(135deg, #06366d 0%, #0b66bd 100%);
}
.contact h2 { color: #fff; margin-bottom: 8px; }
.contact p { margin-bottom: 0; color: #d9ecff; }
.contact-button { background: #fff; color: var(--navy); min-width: 280px; }
.footer { padding: 24px 7vw; color: #cde2fa; text-align: center; background: #082246; }
@media (max-width: 980px) {
  .site-header { height: auto; padding: 18px 5vw; align-items: flex-start; }
  .nav { flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
  .hero, .services, .company-section { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 5vw 44px; }
  .hero-visual { min-height: 360px; }
  .section { padding: 62px 5vw; }
  .reason-grid, .service-grid, .result-grid, .media-grid { grid-template-columns: repeat(2, 1fr); }
  .company-panel { padding: 56px 5vw; }
  .contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .site-header { position: static; }
  .brand { font-size: 24px; }
  .nav { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .reason-grid, .service-grid, .result-grid, .media-grid, .company-list { grid-template-columns: 1fr; }
  .result-card img { height: 190px; }
  .contact-button { min-width: auto; }
}
