/* Header */
.header {
  background-color: var(--color-white);
  height: var(--header-height);
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header__inner {
  align-items: center;
  display: flex;
  height: 100%;
  margin: 0 auto;
  padding-left: 2.08%;
  position: relative;
  width: 100%;
}

.header__brand {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 1.25rem;
}

.header__logo-link {
  flex-shrink: 0;
  line-height: 0;
}

.header__logo {
  height: auto;
  width: clamp(8rem, 11.81vw, 11.81rem);
}

.header__tagline {
  color: var(--color-text);
  font-size: clamp(0.5rem, 0.694vw, 0.625rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.header__nav {
  flex: 1;
  min-width: 0;
  padding-left: 3%;
  padding-right: 2%;
}

.header__nav-list {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.5rem, 1.3vw, 1.875rem);
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-link {
  color: var(--color-text);
  font-size: clamp(0.625rem, 0.903vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.header__nav-link:hover {
  opacity: 0.7;
}

.header__actions {
  display: flex;
  height: 100%;
}

.header__action {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  font-weight: 700;
  height: 100%;
  isolation: isolate;
  justify-content: center;
  letter-spacing: 0.18em;
  position: relative;
  transform: scale(1);
  transform-origin: center;
  width: clamp(5rem, 9.03vw, 8.125rem);
}

.header__action:hover {
  animation: header-action-thump 1s ease-in-out infinite;
  opacity: 1;
}

@keyframes header-action-thump {

  0%,
  50%,
  100% {
    transform: scale(1);
  }

  8% {
    transform: scale(1.08);
  }

  16% {
    transform: scale(1);
  }

  24% {
    transform: scale(1.06);
  }

  32% {
    transform: scale(1);
  }
}

.header__action--recruit {
  background: var(--gradient-brand);
  color: var(--color-white);
  font-size: clamp(0.625rem, 0.833vw, 0.75rem);
}

.header__action--contact {
  background: var(--gradient-dark);
  color: var(--color-white);
  font-size: clamp(0.625rem, 0.903vw, 0.8125rem);
}

.header__action--contact .header__action__label {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .header__action:hover {
    animation: none;
  }
}

.header__menu-toggle,
.header__drawer {
  display: none;
}

.header__menu-toggle {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.3125rem;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  width: 2.75rem;
}

.header__menu-bar {
  background-color: var(--color-text);
  display: block;
  height: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 1.375rem;
}

.header__drawer {
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: var(--header-height);
  z-index: 99;
}

.header__drawer-panel {
  background-color: var(--color-text);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  width: 16.25rem;
  z-index: 1;
}

.header__drawer-contact {
  align-items: center;
  background: var(--gradient-brand);
  box-sizing: border-box;
  color: var(--color-white);
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  height: 2.5rem;
  justify-content: space-between;
  letter-spacing: 0.1em;
  padding: 0 1.875rem;
  width: 100%;
}

.header__drawer-contact-arrow {
  border: none;
  display: block;
  flex-shrink: 0;
  height: 0.5625rem;
  position: relative;
  width: 0.5625rem;
}

.header__drawer-contact-arrow::after {
  background-color: currentColor;
  clip-path: polygon(0 0, 70% 50%, 0 100%);
  content: "";
  display: block;
  height: 100%;
  width: 100%;
}

.header__drawer-nav {
  padding: 1.5625rem;
}

.header__drawer-list {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__drawer-link {
  align-items: center;
  color: var(--color-white);
  display: flex;
  font-size: 0.875rem;
  font-weight: 400;
  gap: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: opacity 0.2s;
}

.header__drawer-link::before {
  background: var(--gradient-brand);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
  display: block;
  flex-shrink: 0;
  height: 0.75rem;
  width: 0.5rem;
}

.header__drawer-link:hover {
  opacity: 0.7;
}

.header__drawer-backdrop {
  background: transparent;
  border: none;
  cursor: default;
  inset: 0;
  padding: 0;
  position: absolute;
  z-index: 0;
}

.header.is-menu-open .header__drawer {
  pointer-events: auto;
}

.header.is-menu-open .header__drawer-panel {
  transform: translateX(0);
}

.header.is-menu-open .header__drawer-backdrop {
  cursor: pointer;
}

.header.is-menu-open .header__menu-bar:nth-child(1) {
  transform: translateY(0.42rem) rotate(45deg);
}

.header.is-menu-open .header__menu-bar:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .header__menu-bar:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

body.is-menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {

  .header__menu-bar,
  .header__drawer-panel {
    transition: none;
  }
}

/* Footer */
.footer {
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 4.5rem 5.76% 2rem;
}

.footer_container {
  display: flex;
  justify-content: space-between;
}

.footer__brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.footer__brand-address {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer__brand-info {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10%;
  width: 50%;
}

.footer__nav-item {
  align-items: center;
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}

.footer__nav-item::before {
  background: var(--gradient-brand);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 0.5rem;
  width: 0.375rem;
}

.footer__nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.footer__nav-link:hover {
  opacity: 0.7;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 4.4rem;
  padding-bottom: 3.5rem;
}

.footer__sns {
  display: flex;
  gap: 1.5rem;
}

.footer__sns-link {
  transition: opacity 0.2s;
}

.footer__sns-link:hover {
  opacity: 0.7;
}

.footer__sns-icon {
  height: 1.625rem;
  width: 1.625rem;
}

.footer__privacy {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  padding-bottom: 0.125rem;
  position: relative;
  transition: opacity 0.2s;
}

.footer__privacy::after {
  background-color: var(--color-white);
  bottom: 0;
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.footer__privacy:hover {
  opacity: 0.7;
}

.footer__privacy:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .footer__privacy::after {
    transition: none;
  }

  .breadcrumb__link {
    transition: none;
  }
}

/* Sub-page common */
.page-main {
  padding-top: var(--header-height);
}

.breadcrumb {
  border-bottom: 1px solid #202020;
  margin: 0 auto;
  max-width: 69.44%;
  padding: 1.25rem 0 0.75rem;
}

.breadcrumb__list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
}

.breadcrumb__item {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  gap: 0.4rem;
  letter-spacing: 0.05em;
}

.breadcrumb__item:not(:last-child)::after {
  background-color: #202020;
  content: "";
  display: block;
  flex-shrink: 0;
  height: 1px;
  width: 1.25rem;
}

.breadcrumb__link {
  color: #b7b7b7;
  font-family: var(--font-en);
  font-weight: 600;
  transition: opacity 0.2s;
}

.breadcrumb__link:hover {
  opacity: 0.7;
}

.breadcrumb__link--ja {
  font-family: var(--font-ja);
  font-weight: 700;
}

.breadcrumb__item--current {
  font-weight: 700;
}

.breadcrumb__item--current:not(:has(a)) {
  color: var(--color-text);
  font-family: var(--font-ja);
}

@media (max-width: 996px) {
  .header {
    left: 0;
    right: 0;
    width: 100%;
  }

  .header__inner {
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding-left: 4.98%;
    padding-right: 4.98%;
    position: relative;
    width: 100%;
    z-index: 101;
  }

  .header__brand {
    gap: 0;
  }

  .header__tagline {
    display: none;
  }

  .header__nav,
  .header__actions {
    display: none;
  }

  .header__menu-toggle,
  .header__drawer {
    display: block;
  }

  .header__menu-toggle {
    display: flex;
  }

  .header__logo {
    width: 7.8125rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3.75rem 5.22% 2rem;
  }

  .footer_container {
    flex-direction: column;
    gap: 0;
  }

  .footer__nav {
    display: none;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  /* Breadcrumb — Figma SP共通（各サブページ） */
  .breadcrumb {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--content-width);
    padding: 0.625rem 0 0.75rem;
    width: var(--content-width);
  }

  .breadcrumb__list {
    gap: 0.35rem 0.5rem;
    row-gap: 0.25rem;
  }

  .breadcrumb__item {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
  }

  .breadcrumb__item:not(:last-child)::after {
    width: 1.25rem;
  }

  .breadcrumb__link {
    letter-spacing: 0.05em;
  }

  .breadcrumb__link--ja {
    letter-spacing: 0.05em;
  }

  .breadcrumb__item--current:not(:has(a)) {
    letter-spacing: 0.05em;
  }
}