@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap");

:root {
  --bg: #0b1018;
  --bg2: #121a26;
  --aws-dark: #232f3e;
  --aws-navy: #161e2d;
  --aws-orange: #ff9900;
  --aws-orange-dark: #ec7211;
  --blue: #3b82f6;
  --text: #f8fafc;
  --sub: #cbd5e1;
  --muted: #94a3b8;
  --card: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 153, 0, 0.1), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(59, 130, 246, 0.11), transparent 30%),
    linear-gradient(180deg, var(--bg), #070a10);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

#networkCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
}

.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 153, 0, 0.2), rgba(59, 130, 246, 0.08) 34%, transparent 68%);
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(11, 16, 24, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: auto;
  height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo span { color: var(--aws-orange); }

.global-nav {
  display: flex;
  gap: 28px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
}

.global-nav a { transition: 0.25s; }
.global-nav a:hover { color: var(--aws-orange); }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 8% 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.12) saturate(1.08);
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 153, 0, 0.26), transparent 34%),
    radial-gradient(circle at 76% 70%, rgba(59, 130, 246, 0.2), transparent 35%),
    linear-gradient(90deg, rgba(11, 16, 24, 0.95), rgba(11, 16, 24, 0.55), rgba(11, 16, 24, 0.82));
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1140px;
}

.eyebrow,
.section-label {
  color: var(--aws-orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 26px;
  margin-bottom: 34px;
  font-size: clamp(56px, 9vw, 126px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.hero-copy {
  max-width: 760px;
  color: var(--sub);
  font-size: 18px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.35s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--aws-orange), #ffb84d);
  color: #111827;
  box-shadow: 0 22px 55px rgba(255, 153, 0, 0.24);
}

.btn.primary:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--aws-orange-dark), var(--aws-orange));
}

.btn.secondary {
  border: 1px solid rgba(255, 153, 0, 0.45);
  color: var(--aws-orange);
  background: rgba(255, 255, 255, 0.03);
}

.btn.secondary:hover {
  transform: translateY(-4px);
  border-color: var(--aws-orange);
}

.scroll-indicator {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 4;
  color: var(--muted);
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.scroll-indicator::after {
  content: "";
  display: block;
  width: 1px;
  height: 70px;
  margin: 12px auto 0;
  background: linear-gradient(var(--aws-orange), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.section {
  position: relative;
  z-index: 3;
  padding: 120px 28px;
}

.container {
  max-width: 1240px;
  margin: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.section-text h2,
.section-heading h2,
.aws-panel h2,
.contact-section h2 {
  margin-top: 16px;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.section-text p,
.section-heading p,
.aws-panel p,
.contact-section p {
  margin-top: 24px;
  color: var(--sub);
  line-height: 2;
  font-size: 16px;
}

.visual-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 153, 0, 0.16);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.18), transparent 46%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.2), transparent 48%);
  pointer-events: none;
}

.visual-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: brightness(0.88) saturate(1.05);
  transition: 0.7s;
}

.visual-card:hover img {
  transform: scale(1.06);
}

.services-section {
  background:
    radial-gradient(circle at top right, rgba(255, 153, 0, 0.11), transparent 26%),
    linear-gradient(180deg, transparent, rgba(35, 47, 62, 0.34));
}

.section-heading {
  max-width: 880px;
  margin-bottom: 64px;
}

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

.service-card {
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: 0.45s ease;
}

.service-card:hover {
  transform: translateY(-14px) scale(1.012);
  border-color: rgba(255, 153, 0, 0.56);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42), 0 0 48px rgba(255, 153, 0, 0.08);
}

.service-image {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(11, 16, 24, 0.35)),
    radial-gradient(circle at top left, rgba(255, 153, 0, 0.16), transparent 40%);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(1.06);
  transition: 0.55s;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-body {
  padding: 28px;
}

.service-body span {
  color: rgba(255, 153, 0, 0.5);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.service-body h3 {
  margin-top: 18px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.service-body p {
  margin-top: 16px;
  color: var(--sub);
  line-height: 1.9;
}

.aws-section {
  background:
    linear-gradient(rgba(11, 16, 24, 0.84), rgba(11, 16, 24, 0.9)),
    url("../images/cloud-monitoring.jpg") center/cover fixed no-repeat;
}

.aws-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.aws-panel {
  padding: 48px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 153, 0, 0.18);
  backdrop-filter: blur(18px);
}

.check-list {
  margin-top: 34px;
  display: grid;
  gap: 14px;
  list-style: none;
  color: var(--sub);
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aws-orange), #ffd28a);
  box-shadow: 0 0 24px rgba(255, 153, 0, 0.35);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.metric {
  min-height: 190px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: 0.35s;
}

.metric:hover {
  border-color: rgba(255, 153, 0, 0.52);
  transform: translateY(-8px);
}

.metric strong {
  display: block;
  color: var(--aws-orange);
  font-size: 38px;
  letter-spacing: -0.05em;
}

.metric span {
  display: block;
  margin-top: 16px;
  color: var(--sub);
}

.global-section {
  background:
    radial-gradient(circle at left top, rgba(59, 130, 246, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.02);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tag-list span {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--sub);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 153, 0, 0.18);
}

.company-section {
  background: linear-gradient(180deg, rgba(35, 47, 62, 0.28), rgba(11, 16, 24, 0.18));
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 153, 0, 0.16);
  backdrop-filter: blur(16px);
}

.company-table th,
.company-table td {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 26%;
  color: var(--aws-orange);
  background: rgba(255, 153, 0, 0.055);
  font-weight: 900;
}

.company-table td {
  color: var(--sub);
}

.contact-section {
  position: relative;
  z-index: 3;
  padding: 130px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 153, 0, 0.18), transparent 34%),
    linear-gradient(135deg, #111827, var(--aws-dark));
}

.contact-section p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.contact-section .btn {
  margin-top: 34px;
}


.contact-mail {
  margin-top: 18px !important;
  color: var(--aws-orange) !important;
  font-weight: 900;
  letter-spacing: 0.02em;
}

footer {
  position: relative;
  z-index: 3;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  background: #060910;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.14); }
}

@keyframes scrollLine {
  0%, 100% {
    transform: scaleY(0.45);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aws-layout,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .cursor-glow { display: none; }

  .header-inner {
    height: 68px;
    padding: 0 18px;
  }

  .menu-button { display: block; }

  .global-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: rgba(11, 16, 24, 0.96);
    border: 1px solid var(--line);
  }

  .global-nav.open { display: flex; }

  .global-nav a {
    padding: 12px 14px;
  }

  .hero {
    padding: 130px 22px 80px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .section {
    padding: 88px 22px;
  }

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

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

  .visual-card img {
    height: 360px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 18px 20px;
  }

  .company-table th {
    padding-bottom: 6px;
    border-bottom: none;
  }

  .scroll-indicator {
    display: none;
  }
}
