html,
body {
  font-family: 'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', sans-serif;
  background: linear-gradient(135deg, #e6eefe 0%, #0a2342 100%);
  color: #fff;
  min-height: 100vh;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
header {
  background: rgba(10, 35, 66, 0.95);
  box-shadow: 0 2px 16px 0 rgba(74, 105, 189, 0.15);
  position: fixed;
  width: 100%;
  min-width: 0;
  z-index: 100;
  top: 0;
  left: 0;
  border-bottom: 1px solid #4a69bd33;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a69bd;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px #0a2342cc;
}
.logo svg {
  width: 2.2rem;
  height: 2.2rem;
  vertical-align: middle;
  color: #4a69bd;
}
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a.active,
nav a:hover {
  background: #4a69bd;
  color: #fff;
}
.parallax {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #4a69bd 0%, #0a2342 100%), url('../img/ai-cyber-blue-1.jpg') center center / 110% auto no-repeat;
  background-blend-mode: lighten;
  animation: bg-move 16s ease-in-out infinite alternate;
}
@keyframes bg-move {
  0% {
    background-position: center center, 0% 50%;
  }
  20% {
    background-position: center center, 30% 20%;
  }
  40% {
    background-position: center center, 100% 0%;
  }
  60% {
    background-position: center center, 100% 100%;
  }
  80% {
    background-position: center center, 0% 100%;
  }
  100% {
    background-position: center center, 0% 50%;
  }
}
.parallax .catch {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 4px 24px #0a2342cc;
  margin-bottom: 1.5rem;
}
.parallax .lead {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #ffffffab;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  padding-left: 70px;
}
main {
  margin-top: 80px;
  width: 70%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem 4rem 1rem;
}
section {
  margin-bottom: 4rem;
  background: rgba(10, 35, 66, 0.85);
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 #4a69bd22;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}
section h2 {
  color: #29a3fa !important;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px #0a234244;
}
section .section-icon {
  position: absolute;
  right: 2rem;
  top: 2rem;
  width: 48px;
  height: 48px;
  opacity: 0.18;
  z-index: 0;
  filter: brightness(0) saturate(100%) invert(41%) sepia(92%) saturate(749%) hue-rotate(176deg) brightness(98%) contrast(101%);
}
section p {
  font-size: 1.35rem;
  color: #fff;
  line-height: 2.1;
}
section ul,
section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.img-wrapper {
  width: 100%;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 2px 16px #4a69bd44;
  margin: 1.5rem auto 0 auto;
  background: #0a2342;
}
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
.spec-img {
  width: 100%;
  height: unset;
  object-fit: unset;
  object-position: unset;
  display: block;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
  }
  .logo {
    font-size: 1.1rem;
  }
  nav {
    gap: 1rem;
  }
  main {
    width: 98vw !important;
    max-width: 100vw !important;
    padding: 0.5rem 0.5vw 2rem 0.5vw !important;
  }
  section {
    width: 90vw !important;
    max-width: 100vw !important;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  section h2 {
    font-size: 1.3rem;
  }
  .parallax {
    position: relative;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 360px !important;
    height: 360px !important;
    max-height: 360px !important;
    background: #0a2342 url('../img/ai-cyber-blue-1.jpg') center center / cover no-repeat !important;
    background-attachment: initial !important;
    animation: none !important;
  }
  .parallax img,
  .parallax svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw !important;
    height: auto !important;
    max-width: none !important;
    max-height: 360px !important;
    min-width: 180px;
    z-index: 1;
    pointer-events: none;
  }
  .parallax .catch,
  .parallax .lead {
    position: relative;
    z-index: 2;
  }
  .parallax .lead {
    color: #29a3fa !important;
  }
  .img-wrapper {
    height: 180px !important;
  }
    .spec-img-wrapper {
    height: 360px !important;
  }
  .hamburger-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: auto;
  }
  .menu-icon {
    position: fixed !important;
    top: 2.4rem !important;
    right: 1.2rem !important;
    width: 56px;
    height: 56px;
    z-index: 10001;
  }
  .menu {
    position: fixed !important;
    top: 0;
    right: 0;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-40px) scale(1.02);
    transition: opacity 0.35s cubic-bezier(0.4, 2, 0.6, 1), transform 0.35s cubic-bezier(0.4, 2, 0.6, 1);
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .menu.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1);
    transition: opacity 0.35s cubic-bezier(0.4, 2, 0.6, 1), transform 0.35s cubic-bezier(0.4, 2, 0.6, 1);
  }
  .menu ul {
    flex-direction: column !important;
    gap: 2.2rem !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }
  .menu li {
    margin: 0.7rem 0;
    text-align: center;
  }
  .menu a {
    font-size: 1.5rem !important;
    color: #29a3fa !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 8px !important;
    width: 80vw;
    display: block;
    text-align: center;
  }
}
.hide-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.desktop-nav {
  display: flex;
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
}
.hamburger-menu {
  display: none;
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 9999;
  flex-direction: column;
  align-items: flex-end;
}
.hamburger-menu.show {
  display: flex;
}
.menu-icon {
  z-index: 100000 !important;
  position: absolute;
  top: 45%;
  right: 64px;
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0a234288;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: background 0.2s;
  transform: translateY(-50%);
}
.menu-icon span {
  display: block;
  width: 32px;
  height: 4px;
  margin: 7px 0;
  background: #29a3fa;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}
.menu-icon.open span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-icon.open span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}
.menu-icon:focus,
.menu-icon:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.menu {
  background: #fff !important;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 8px 32px #0a234288;
  padding: 0 140px 0 40px;
  min-width: 320px;
  max-width: 600px;
  width: 0 !important;
  height: 100px;
  opacity: 0 !important;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right center;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  transition-property: width, opacity, transform, background;
  transition-duration: 2s, 2s, 2s, 0.2s;
  transition-timing-function: cubic-bezier(0.4, 2, 0.6, 1), cubic-bezier(0.4, 2, 0.6, 1), cubic-bezier(0.4, 2, 0.6, 1), ease;
}
.menu.open {
  width: 600px !important;
  min-width: 320px;
  opacity: 1 !important;
  pointer-events: auto;
  transform: scaleX(1);
  background: #fff !important;
  transition-duration: 0.7s, 0.7s, 0.7s, 0.2s;
}
.menu ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 1.8rem;
}
.menu li {
  margin: 0.7rem 0;
  text-align: right;
}
.menu a {
  color: #4a69bd;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.menu a:hover {
  background: #e6eefe;
  color: #0a2342;
}
.logo-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem 0.6rem 0.8rem;
  background: rgba(10, 35, 66, 0.85);
  border-bottom-right-radius: 16px;
  box-shadow: 0 2px 8px #0a234288;
  width: 100%;
  min-width: 0;
  max-width: 320px;
}
.logo-fixed img {
  width: 2.2rem;
  height: 2.2rem;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px #fff8);
}
.logo-fixed span {
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
footer {
  width: 100vw;
  background: rgba(10, 35, 66, 0.85);
  color: #e6e6e6;
  text-align: center;
  font-size: 1.1rem;
  padding: 2rem 0 1.2rem 0;
  letter-spacing: 0.04em;
  margin-top: 2rem;
  border-top: 1px solid #4a69bd33;
}
