*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { height: 100%; }

  body {
    font-family: 'Noto Sans JP', sans-serif;
    background-image: url(./images/bg.gif);
      overflow: hidden;
  }

  /* ─── NAV: 背景なし、ロゴ＋ナビだけ固定 ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    z-index: 200;
    /* 背景なし */
  }
  .logo { width: 56px; }
  .nav-links {
    display: flex; align-items: center; gap: 36px;
    list-style: none; font-size: 13px; color: #1a1a2e;
  }
  .nav-links a { text-decoration: none; color: inherit; }
  .nav-contact {
    background: #1e2e72; color: #fff !important;
    padding: 10px 22px; border-radius: 4px;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-decoration: none;
  }

  /* ─── HERO 背景（固定・シェイプのみ）─── */
  .hero-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    overflow: hidden;
    will-change: filter;
  }

  /* ─── SHAPES ─── */
  .shape-wrap {
    position: absolute;
    width: 120vw;
    height: 120vw;
    left: -10vw;
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
  }
  .shape-wrap img {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
  }
  /* 赤: 上寄り / 青: 下寄り / 緑: 右中央 */
  .shape-blue  { top: 42%;  transform: translateY(-30%); z-index: 5; }
  .shape-red   { top: -2%;  transform: translateY(-20%); z-index: 4; }
  .shape-green { top: 52%;  transform: translateY(-50%); z-index: 3; }

  /* ─── スクロール可能なページ ─── */
  .page {
    position: relative;
    z-index: 10;
  }

  /* ヒーローエリア: テキストがスクロールで流れる */
  .hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    pointer-events: none; /* シェイプがクリックを通せるように */
  }

  .hero-text {
    padding: 0 120px;
    margin-top: -200px;
  }
  .hero-text h1 {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 500;
    line-height: 1.45;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
  }
  .hero-text p {
    margin-top: 20px;
    font-size: 13px;
    color: #1e2e72;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.75s forwards;
  }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ─── コンテンツ ─── */
  .content {
    position: relative;
    z-index: 30;
    padding: 100px 0 0;
  }
  .content-block {
      width: 86%;
      max-width: 1300px;
      min-width: 1000px;
      margin:0 auto 130px;
}
  .content-block img {
      width: 100%;
      height: auto;
}
  .content-block2 {
      width: 100%;
      margin:0 auto 180px;
      height: 620px;
      overflow: hidden;
      position: relative;
}
.content-block2 .works {
      position: absolute;
  left: 50%;
  transform: translateX(-50%); /* 自身の幅の50%分だけ左に戻す */
  
  /* 以下、要素の見た目 */
  min-width: 120%; /* 親より大きくする */
  height: 100%;
}
  .content-block3 {
      background-image: url(images/recruit_bg.jpg);
      background-size: cover;
      background-position: center;
}
  .content-block3 .recruit {
      padding: 150px 0;
      text-align: center;
}

footer {padding: 40px;}
footer img {width: 100%; height: auto;}