.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px; /* この値を変えたら index.css の padding-top: 72px も合わせて変更 */
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-header);
}

.header__inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__login {
  font-size: 14px;
  color: var(--color-text);
  transition: color var(--transition);
}

.header__login:hover {
  color: var(--color-secondary);
}

.header__corp {
  font-size: 14px;
  color: var(--color-text);
  transition: color var(--transition);
}

.header__corp:hover {
  color: var(--color-secondary);
}

/* PC では非表示。SP で表示し、クリックで3本線→×にアニメーション */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 15px;
}

.footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 60px 0 32px;
}

.footer__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 120px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 40px;
  flex: 1;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__sns {
  display: flex;
  gap: 16px;
}

.footer__sns-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--transition);
}

.footer__sns-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.section-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 40px;
  border-radius: var(--radius-md);
  transition: opacity var(--transition), transform var(--transition);
}

.section-cta__btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.section--bg-light {
  background: var(--color-bg-light);
}

.section--bg-white {
  background: var(--color-white);
}

.section__title {
  font-family: var(--font-ja);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.section__title--center {
  text-align: center;
}

.section__subtitle {
  font-size: 16px;
  color: #666;
  margin-top: 12px;
}

.section__subtitle--center {
  text-align: center;
}

@media (max-width: 768px) {
  .header__inner {
    padding: 0 16px;
  }

  .header__hamburger {
    display: flex;
  }

  .header__nav {
    display: none;
  }

  .header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; /* ヘッダー高さ分だけ下げる */
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 16px;
    gap: 8px;
    box-shadow: var(--shadow-header);
    z-index: 999; /* ヘッダー(z-index:1000)の直下・ページコンテンツより前面 */
  }

  .header__nav.is-open .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__inner {
    padding: 0 16px;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__links {
    grid-template-columns: repeat(2, auto);
    gap: 12px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
  }

  .section__title {
    font-size: 26px;
  }
}
