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

:root {
  --color-cyan: #00d1b2;
  --color-cyan-hover: #00b89c;
  --color-cyan-light: rgba(0, 209, 178, 0.12);
  --color-navy: #0a192f;
  --color-navy-dark: #060d18;
  --color-white: #ffffff;
  --color-gray-50: #f4f9fa;
  --color-gray-100: #e8eef0;
  --color-gray-400: #9ca3af;
  --color-gray-600: #4b5563;
  --color-gray-900: #111827;
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--color-cyan);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-navy-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(0, 180, 220, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0, 209, 178, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, #0d2137 100%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) 2rem 4rem;
  max-width: 800px;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.hero__title-line--accent {
  color: var(--color-cyan);
}

.hero__description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--color-cyan);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
  background: var(--color-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 209, 178, 0.3);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.section-header__subtitle {
  font-size: 0.9rem;
  color: var(--color-gray-400);
}

/* Services */
.services {
  background: var(--color-gray-50);
  padding: 6rem 2rem;
}

.services__cards {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-cyan);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card__description {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.card__list {
  list-style: none;
}

.card__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-bottom: 0.5rem;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
}

/* Company */
.company {
  background: var(--color-white);
  padding: 6rem 2rem;
}

.company__info {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--color-gray-100);
  border-radius: 16px;
  overflow: hidden;
}

.company__row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
}

.company__row:not(:last-child) {
  border-bottom: 1px solid var(--color-gray-100);
}

.company__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
}

.company__icon svg {
  width: 20px;
  height: 20px;
}

.company__detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.company__label {
  font-size: 0.8rem;
  color: var(--color-gray-400);
  font-weight: 500;
}

.company__value {
  font-size: 0.95rem;
  color: var(--color-gray-900);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--color-navy);
  padding: 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .services__cards {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .company__row {
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 1.25rem;
  }

  .nav__link {
    font-size: 0.85rem;
  }

  .header__inner {
    padding: 0 1.25rem;
  }
}
