:root {
  --color-primary: #1C244B;
  --color-accent: #467FF7;
  --color-bg: #FFFFFF;
  --color-bg-light: #F3F5F8;
  --color-bg-dark: #1C244B;
  --color-text: #2C2C2C;
  --color-text-light: #6B6B6B;
  --color-border: #E2EBEE;
  --color-white: #FFFFFF;
  --section-padding: 80px 0;
  --container-width: 1100px;
  --card-radius: 8px;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
}

body.is-nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(70, 127, 247, 0.65);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--color-white);
  color: var(--color-primary);
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading-left {
  text-align: left;
}

.section-label {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.section-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
}

.section-title-light {
  color: var(--color-white);
}

.section-description {
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button-primary {
  padding: 16px 40px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
}

.button-primary:hover {
  background: #356BDA;
}

.button-outline {
  width: 100%;
  margin-top: auto;
  padding: 13px 20px;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  font-size: 14px;
}

.button-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.button-line {
  width: 100%;
  margin-top: auto;
  padding: 14px 20px;
  background: #06C755;
  color: var(--color-white);
  font-size: 14px;
}

.button-line:hover {
  background: #05B44D;
}

.text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: #356BDA;
}

.text-link-light {
  color: var(--color-accent);
}

.text-link-light:hover {
  color: var(--color-white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
}

.header-bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 11px 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto 6px;
  background: var(--color-white);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.drawer-backdrop,
.mobile-drawer {
  display: none;
}

.hero {
  position: relative;
  min-height: 500px;
  height: 65vh;
  max-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: var(--color-white);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  background-image: url("../img/hero-ad-lp-bg.jpg");
  background-position: center right;
  background-size: cover;
  opacity: 0.8;
}

.hero::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(28, 36, 75, 0.92) 0%, rgba(28, 36, 75, 0.78) 48%, rgba(28, 36, 75, 0.54) 100%),
    linear-gradient(180deg, rgba(28, 36, 75, 0.12) 0%, rgba(28, 36, 75, 0.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeIn 0.6s ease-out both;
}

.hero-kicker {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.hero-title {
  max-width: 880px;
  margin: 0 auto;
  color: var(--color-white);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero-subtitle {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
}

.hero-button {
  margin-top: 40px;
}

.hero-arrow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  line-height: 1;
  animation: bounceArrow 1.6s ease-in-out infinite;
}

.service-section {
  background: var(--color-bg-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  background: var(--color-white);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(28, 36, 75, 0.12);
}

.service-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.service-card p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.8;
}

.service-card-soon {
  opacity: 0.6;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 4px;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.service-tag-primary {
  background: var(--color-primary);
}

.service-tag-accent {
  background: var(--color-accent);
}

.service-tag-muted {
  background: var(--color-text-light);
}

.soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #FF6B35;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.target-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--color-border);
  color: #324A6D;
  font-size: 12px;
  font-weight: 500;
}

.profile-section {
  background: var(--color-bg);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.profile-photo {
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 300px;
  aspect-ratio: 1 / 1;
  border-radius: var(--card-radius);
  background: var(--color-border);
}

.profile-photo img {
  object-position: right center;
position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.profile-photo img.is-missing {
  display: none;
}

.profile-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #718196;
  font-size: 14px;
  font-weight: 700;
}

.profile-lead {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.9;
}

.profile-block {
  margin-top: 32px;
}

.profile-block + .profile-block {
  margin-top: 24px;
}

.profile-block h3 {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.career-list {
  margin: 0;
}

.career-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  margin-bottom: 10px;
}

.career-list div:last-child {
  margin-bottom: 0;
}

.career-list dt {
  min-width: 60px;
  color: var(--color-primary);
  font-weight: 700;
}

.career-list dd {
  margin: 0;
  color: var(--color-text);
}

.profile-meta p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.8;
}

.results-section {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.result-item {
  padding: 8px 0;
  text-align: center;
}

.result-number {
  margin: 0;
  color: var(--color-accent);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
}

.result-label {
  margin: 12px 0 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.result-text {
  max-width: 260px;
  margin: 0 auto;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.7;
}

.results-link-wrap {
  margin-top: 40px;
  text-align: center;
}

.company-section {
  background: var(--color-bg-light);
}

.company-container {
  max-width: 700px;
}

.company-list {
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.company-list div:first-child {
  border-top: 1px solid var(--color-border);
}

.company-list dt {
  width: 120px;
  color: var(--color-primary);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: var(--color-text);
}

.company-list a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.company-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 28px;
  font-size: 14px;
}

.company-button {
  display: flex;
  width: min(100%, 360px);
  margin: 40px auto 0;
}

.company-note {
  margin: 12px 0 0;
  color: var(--color-text-light);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  padding: 48px 0 24px;
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav h2,
.footer-social h2 {
  margin: 0 0 16px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-nav a {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.x-link:hover {
  color: var(--color-white);
}

.x-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.copyright {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

@media (max-width: 1023px) {
  .container {
    width: min(calc(100% - 40px), var(--container-width));
  }

  .hero-title {
    font-size: 40px;
  }

  .service-grid {
    gap: 18px;
  }

  .service-card {
    padding: 26px 20px 22px;
  }

  .profile-layout {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 64px 0;
  }

  .container {
    width: min(calc(100% - 32px), var(--container-width));
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading-left {
    text-align: center;
  }

  .section-title {
    font-size: 24px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  body.is-nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .drawer-backdrop {
    position: fixed;
    inset: 64px 0 0;
    display: block;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .mobile-drawer {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    display: block;
    width: min(82vw, 320px);
    background: var(--color-white);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  body.is-nav-open .drawer-backdrop {
    visibility: visible;
    opacity: 1;
  }

  body.is-nav-open .mobile-drawer {
    transform: translateX(0);
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
  }

  .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
  }

  .hero {
    min-height: 440px;
    height: 65vh;
  }

  .hero::before {
    background-position: 68% center;
    opacity: 0.5;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(28, 36, 75, 0.94) 0%, rgba(28, 36, 75, 0.84) 100%),
      linear-gradient(180deg, rgba(28, 36, 75, 0.18) 0%, rgba(28, 36, 75, 0.48) 100%);
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-kicker {
    font-size: 14px;
  }

  .hero-button {
    width: min(100%, 320px);
    padding-right: 24px;
    padding-left: 24px;
  }

  .service-grid,
  .results-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }

  .profile-lead br {
    display: none;
  }

  .career-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .result-number {
    font-size: 52px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .company-list dt {
    width: auto;
  }

  .company-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
