@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;
    }
    /* Header */
    header {
      background: #ffffff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }

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

    /* Logo */
    .logo {
      display: block;
      line-height: 0; /* remove extra space below image */
    }
    .logo img {
      height: 40px; /* adjust as needed */
      width: auto;
      display: block;
    }

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

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


/* ドロップダウン基礎 */
.has-dropdown {
  position: relative;
}
.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* メニュー内ドロップダウン（初期非表示） */
.has-dropdown .dropdown {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: .5rem;
  min-width: 200px;
}

/* SP：開いた状態 */
.has-dropdown.open .dropdown {
  display: flex;
}

/* PC表示 */
@media (min-width: 1181px) {
  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    gap: 1.5rem;                 /* 少しタイトに */
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-left: auto;
    justify-content: flex-end;
    align-items: center;
  }

  /* PCのドロップダウンはホバー/フォーカスで表示 */
  .has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    display: none;
    padding: .75rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: flex;
  }
  .dropdown li a {
    white-space: nowrap;
    padding: .25rem .5rem;
    display: block;
  }
}

/* ちょい改善：ホバー時のリンク状態 */
.nav-links a:hover {
  text-decoration: underline;
}

/* CTA間の間隔最適化（PC） */
@media (min-width: 1181px) {
  .cta-item { margin-left: .25rem; }
}

/* 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: #fff;
    }

.btn-primary:hover { background: #001e3b; }
.btn-outline {
  background: #fff;
  color: #002b55;
  border: 2px solid #002b55;
}
.btn-outline:hover {
  background: #002b55;
  color: #fff;
}

    /* 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;
      }
    }