@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&family=Montserrat:wght@200;400;700;900&display=swap');

.nw-hero {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #001840 0%, #003080 40%, #0050bb 70%, #1a7ae0 100%);
  margin: 0 auto;
}

.nw-hero .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.nw-hero .circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
}
.nw-hero .c1 { width: 600px; height: 600px; right: -80px; top: -180px; }
.nw-hero .c2 { width: 380px; height: 380px; right: 60px; top: -60px; border-color: rgba(255,255,255,0.1); }
.nw-hero .c3 { width: 180px; height: 180px; right: 190px; top: 80px; border-color: rgba(60,180,255,0.2); }

.nw-hero .network-icon {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
}

.nw-hero .accent-line {
  position: absolute;
  left: 80px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 140px;
  background: linear-gradient(to bottom, #3cb4ff, #1a7ae0);
  border-radius: 2px;
}

.nw-hero .content {
  position: absolute;
  left: 110px; top: 50%;
  transform: translateY(-50%);
  max-width: 580px; /* SVGに被らないよう制限 */
}

.nw-hero .eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: 4px; color: #3cb4ff;
  text-transform: uppercase; margin-bottom: 18px;
  opacity: 0; animation: nwUp 0.8s ease 0.2s forwards;
}

.nw-hero .title-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 200;
  letter-spacing: 6px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; margin-bottom: 10px;
  opacity: 0; animation: nwUp 0.8s ease 0.35s forwards;
}

.nw-hero .main-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 38px; font-weight: 900;
  color: #ffffff; line-height: 1.25; margin-bottom: 10px;
  opacity: 0; animation: nwUp 0.8s ease 0.5s forwards;
}
.nw-hero .main-title span { color: #3cb4ff; }

.nw-hero .subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.6); letter-spacing: 2px; margin-bottom: 28px;
  opacity: 0; animation: nwUp 0.8s ease 0.65s forwards;
}

.nw-hero .tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 520px; /* タグが右側に伸びすぎないよう制限 */
  opacity: 0; animation: nwUp 0.8s ease 0.8s forwards;
}

.nw-hero .tag {
  padding: 5px 14px;
  border: 1px solid rgba(60,180,255,0.35);
  border-radius: 2px; font-size: 11px; letter-spacing: 2px;
  color: rgba(255,255,255,0.65);
  font-family: 'Noto Sans JP', sans-serif; font-weight: 400;
}

.nw-hero .tag.primary {
  background: rgba(60,180,255,0.15);
  border-color: #3cb4ff; color: #3cb4ff;
}

.nw-hero .bottom-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, #3cb4ff, #1a7ae0, transparent);
}

.nw-hero .co-name {
  position: absolute;
  bottom: 20px; right: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 3px;
  color: rgba(255,255,255,0.25); text-transform: uppercase;
  /* タグとの被りを避けるため右寄せのまま下部に固定 */
  white-space: nowrap;
}

@keyframes nwUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nwLine {
  from { stroke-dashoffset: 800; }
  to   { stroke-dashoffset: 0; }
}
@keyframes nwPop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

.nw-hero svg .anim-line {
  stroke-dasharray: 800; stroke-dashoffset: 800;
  animation: nwLine 1.2s ease forwards;
}
.nw-hero svg .node { opacity: 0; animation: nwPop 0.4s ease forwards; }

/* レスポンシブ */
@media (max-width: 768px) {
  .nw-hero { height: 260px; }
  .nw-hero .main-title { font-size: 22px; }
  .nw-hero .network-icon { width: 160px; height: 160px; right: 8px; }
  .nw-hero .content { left: 56px; max-width: 55%; }
  .nw-hero .accent-line { left: 18px; height: 90px; }
  .nw-hero .tags { max-width: 100%; }
  .nw-hero .co-name { font-size: 9px; }
}
