@charset "UTF-8";
/* CSS Document */
    /* Basic Reset */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
      line-height: 1.5;
      color: #333;
	padding-top: 72px;
    }
    /* Header */
    header {
      background: #ffffff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
    }
.hero-bg.media{
  background: none;
}
.hero-bg.media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter: brightness(.85) contrast(1.05);
}

    .header-inner {
	width: 100%;
      margin: 0 auto;
      padding: 0 2rem;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 1rem;
    }

/* 親：高さはヘッダに合わせて中央寄せ */
.logo{
  display:flex;
  align-items:center;
  line-height:0;
}

/* 画像：比率維持して高さ基準に合わせる */
.logo img{
  max-height: 40px; 
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ロゴとテキストを横並び */
.brand{
  display:flex;
  align-items:center;
  gap: var(--s3); /* 余白は変数で管理 */
}

/* 採用サイトの見た目 */
.logo-text{
  font-weight:700;
  font-size:1rem;
  color: var(--accent);  /* 既存の強調色を使用 */
  line-height:1;
  white-space:nowrap;   /* 折返し防止 */
}

    /* Nav links */
    .nav-links {
      list-style: none;
      display: none; /* mobile default */
      flex-direction: column;
      gap: 1.5rem;
      position: fixed;
	  height: calc(100vh - 72px);
	overflow-y: auto;
      top: 64px;
      left: 0;
      width: 100%;
      background: #fff;
      padding: 2rem 1rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      /* center-align items & text on mobile */
      align-items: center;
      text-align: center;
    }

    .nav-links a {
      text-decoration: none;
      color: inherit;
      font-size: .9rem;
    }

/* CTA buttons */
    .btn {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      font-size: 0.875rem;
      border-radius: 9999px;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }
    .btn-primary {
      background: #002b55;
      color: #fff;
    }
    .nav-links a.btn-primary {
      color: #04003d;
    }
    .btn-primary:hover {
background: linear-gradient(90deg, #E46F2C 0%, #E6C134 100%);
    }

    /* Hamburger */
    .hamburger {
      display: inline-flex;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      border: none;
      background: transparent;
      cursor: pointer;
      margin-left: auto; /* push hamburger to far right on mobile */
    }

    .hamburger span {
      display: block;
      height: 3px;
      width: 100%;
      background: currentColor;
      border-radius: 3px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Open state */
    .nav-open .nav-links {
      display: flex;
    }

    .nav-open .hamburger span:nth-child(1) {
      transform: translateY(7.5px) rotate(45deg);
    }
    .nav-open .hamburger span:nth-child(2) {
      opacity: 0;
    }
    .nav-open .hamburger span:nth-child(3) {
      transform: translateY(-7.5px) rotate(-45deg);
    }

    /* Desktop */
    @media (min-width: 1181px) {
      .hamburger {
        display: none;
      }
      .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        gap: 2rem;
        background: transparent;
        padding: 0;
        box-shadow: none;
        margin-left: auto; /* push group to right edge of header */
        justify-content: flex-end; /* right-align inside itself */
        align-items: center;
      }
    }
