

/* #region ヘッダー */
/* =============================================
   Header
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: var(--color-header-bg);
  backdrop-filter: blur(4px);
  transform: translateY(0);
  transition: transform 240ms ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------------------------
   Branding
   --------------------------------------------- */
.site-header__branding {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-header__logo {
  margin: 0;
  width: clamp(180px, 42%, 263px);
}

.site-header__logo-link {
  display: block;
  width: fit-content;
}

.site-header__logo img {
  width: min(100%, 263px);
  height: auto;
  display: block;
}

.site-header__label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--header-label-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ---------------------------------------------
   Navigation
   --------------------------------------------- */
.site-header__nav {
  flex: 0 0 auto;
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.5vw, 40px);
}

.site-header__item {
  flex: 0 0 auto;
}

.site-header__link {
  display: inline-block;
  color: var(--color-text-muted);
  font-size: var(--header-nav-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.sp-header,
.sp-header__menu,
.sp-nav-overlay,
.sp-nav-panel {
  display: none;
}

@media (max-width: 768px) {
  /* =========================
     PC headerは消す
  ========================= */
  .site-header {
    display: none;
  }

  /* =========================
     SP header
  ========================= */
  .sp-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    background: #f7f5f0;
  }

  .sp-header__brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 12px);
    text-decoration: none;
    color: #555;
    padding: 10px 0 0 14px;
  }

  .sp-header__brand img {
    display: block;
    width: clamp(104px, 18vw, 132px);
    height: auto;
    aspect-ratio: 104 / 19;
    flex: 0 0 auto;
  }

  .sp-header__site-label {
    margin-top: clamp(1px, 0.3vw, 2px);
    color: #555;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .sp-header__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: #000;
    appearance: none;
    position: relative;
    z-index: 1100;
    cursor: pointer;
    }

  .sp-header__menu svg {
    display: block;
    width: 20px;
    height: 17px;
  }

  .sp-nav-overlay,
  .sp-nav-panel {
    display: block;
  }

  .sp-nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--sp-nav-overlay);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--sp-nav-open-duration) var(--sp-nav-ease),
      visibility var(--sp-nav-open-duration) var(--sp-nav-ease);
    z-index: 1040;
  }

  .sp-nav-panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: var(--sp-nav-width);
    height: 100vh;
    height: 100dvh;
    background: var(--sp-nav-bg);
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform var(--sp-nav-open-duration) var(--sp-nav-ease),
      visibility var(--sp-nav-open-duration) var(--sp-nav-ease);
    z-index: 1050;
    overflow-y: auto;
  }

  .sp-nav {
    padding:
      var(--sp-nav-padding-top)
      var(--sp-nav-padding-x)
      40px;
  }

  .sp-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sp-nav__item + .sp-nav__item {
    margin-top: 24px;
  }

  .sp-nav__item a {
    display: inline-block;
    color: #222;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  /* 開いた状態 */
  .sp-nav-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition-duration: var(--sp-nav-open-duration);
  }

  .sp-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-duration: var(--sp-nav-open-duration);
  }

  /* 閉じる時だけ少し速く */
  .sp-nav-panel.is-closing {
    transition-duration: var(--sp-nav-close-duration);
  }

  .sp-nav-overlay.is-closing {
    transition-duration: var(--sp-nav-close-duration);
  }

  body.is-nav-open .sp-header__menu {
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.is-nav-open {/*後ろの本体をスクロールさせない*/
  position: fixed;
  width: 100%;
  }
}
/* #endregion */

/* #region Hero（FV） */
/* =============================================
   Heroセクション（FV）
   ============================================= */
.hero {
  background-color: #F7F5F0;
  height: 60vh;
  position: relative;
}

.hero__inner {
  max-width: 1440px;
  margin-inline: auto;
  height: 100%;
  position: relative;
}
/* =========================
    等高線
========================= */
.hero__ornament {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(260px, 24vw, 500px);
  aspect-ratio: 930 / 720;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  /* opacity: 0.5; */
}

.hero__ornament img {
  display: block;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  /* object-fit: contain; */
}

/* コピー */
.requirements-hero__copy {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
}

/* テキスト */
.hero__subtitle {
  margin: 0 0 4px;
  font-size: 15px;
  color: #222;
}

.hero__title {
  margin: 0;
  font-size: 28px;
  color: #222;
  letter-spacing: 20%;
  font-weight: 500;
}

/* =============================================
   SP
   ============================================= */
@media (max-width: 768px) {
  .hero {
    height: 260px;
  }

  .requirements-hero__copy {
    left: 50px;
  }

  .hero__subtitle {
    font-size: 12px;
  }

  .hero__title {
    font-size: 22px;
  }
}
/* #endregion */

/* #region requirements*/
/* ---------------------------------------------
   requirements
--------------------------------------------- */
.requirements {
  max-width: 100%;
  margin-inline: auto;
  background-color: #FAFAF8;
  padding-top: 120px;
  padding-bottom: 230px;
}
/* 職種*/
.requirements__job {
  width: min(800px, calc(100% - 48px));
  margin-inline: auto;
}

.requirements__tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.requirements__tab {
  position: relative;
  flex: 1 1 0;
  padding: 0 1rem 1.125rem;
  text-align: center;
  cursor: pointer;
}

.requirements__tab-job {
  display: block;
  color: #333;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.14em;
}

.requirements__tab-type {
  display: block;
  margin-top: 0.25rem;
  color: #777;
  font-size: 0.875rem;
  font-weight: 350;
  line-height: 1.45;
  letter-spacing: 0.16em;
}

.requirements__tab::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background-color: transparent;
}

.requirements__tab.is-active::after {
  background-color: #333;
}

.requirements__select-wrap {
  display: none;
}

@media (hover: hover) {
  .requirements__tab:hover {
    opacity: 0.65;
  }
}

.requirements__tab {
  transition: opacity 0.3s ease-out;
}


/* 表 */
.requirements__panel {
  margin-top: 90px;
}

.requirements__row {
  display: flex;
  align-items: stretch;
  width: min(930px, calc(100% - 200px));
  margin-inline: auto;
  letter-spacing: 0.1em;
}


.requirements__row dt {
  width: 200px;
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background-color: #F0F0EE;
  color: #222;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
}

.requirements__row dd {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 80px;
  display: flex;
  align-items: center;
  background-color: #FAFAF8;
  color: #444;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-align: left;
}

/*dl の表示・非表示　ふわっと現れる*/
.requirements__panel {
  display: none;
  margin-top: 90px;
  opacity: 0;
}

.requirements__panel.is-active {
  display: block;
  animation: requirementsFade 0.2s ease;
  opacity: 1;
}

@keyframes requirementsFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



/* 選考プロセス：1100以下 */
.requirements__process-stack {
  display: none;
}

@media (max-width: 1100px) {

  .requirements__process-pc {
    display: none;
  }

  .requirements__process {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .requirements__process-stack {
    display: grid;
    /* gap: 6px; */
  }

  .requirements__process-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 24px;
    align-items: start;
  }

  .requirements__process-mark {
    color: #444;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
  }

  .requirements__process-text {
    color: #444;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.1em;
  }
}

.u-br-sp {
  display: none;
}

@media (max-width: 820px) {

  .requirements {
    padding-top: 72px;
  }

  .requirements__tabs {
    display: none;
  }

  .u-br-sp {
    display: block;
  }

  .requirements__select-wrap {
    display: block;
    position: relative;
    width: 254px;
    height: 48px;
    margin-inline: auto;
    background-color: #FFF;
  }

  .requirements__select {
    width: 100%;
    height: 100%;
    padding: 0 40px 0 16px;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-align: center;
    background-color: #FFF;
    cursor: pointer;
  }

  .requirements__select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 16px;
    height: 16px;
    background-color: #000;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transform: translateY(-50%);
    pointer-events: none;
  }


   .requirements__panel {
    margin-top: 72px;
  }

  .requirements__row {
    display: block;
    width: min(520px, calc(100% - 48px));
    margin-inline: auto;
  }

  .requirements__row dt {
    width: 100%;
    flex: none;
    padding: 14px 16px;
    justify-content: center;
  }

  .requirements__row dd {
    width: 100%;
    margin: 0;
    padding: 20px 12px 40px;
    display: block;
    text-align: left;
  }

  .requirements__process {
    padding-top: 20px;
    padding-bottom: 40px;
  }
}



/* CTA */
.requirements__cta {
  margin-top: 160px;
  text-align: center;
}

.requirements__cta-title {
  color: #333;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.requirements__cta-text {
  margin-top: 16px;
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.requirements__cta-button {
  width: 274px;
  height: 77px;
  margin: 40px auto 0;
  border-radius: 40px;
  background: #000;
  color: #FFF;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 390px) {

  .requirements__cta-button {
    width: 190px;
    height: 50px;
    font-size: 0.8125rem;
    line-height: 17px;
    letter-spacing: 0.07em;
  }

}
/* #endregion */

/* #region サイトフッター */
/* ---------------------------------------------
   サイトフッター
--------------------------------------------- */

.site-footer {
  width: 100%;
  min-height: var(--footer-height-pc);
  background: var(--footer-gray);
}

.site-footer__inner {
  width: min(100%, 1440px);
  min-height: inherit;
  margin-inline: auto;
  padding-inline: var(--footer-padding-x);
  padding-top: var(--footer-padding-y);
  padding-bottom: 48px;
  box-sizing: border-box;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--footer-gap);
}

.site-footer__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--footer-icon-size);
  height: var(--footer-icon-size);
  text-decoration: none;
}

.site-footer__social-link img {
  display: block;
  width: var(--footer-icon-size);
  height: var(--footer-icon-size);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__nav-link {
  position: relative;
  color: var(--footer-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: var(--footer-font-size);
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.site-footer__nav-link + .site-footer__nav-link::before {
  content: "|";
  display: inline-block;
  margin-inline: 12px;
  color: var(--footer-text);
}

/* .site-footer__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: var(--footer-link-underline-offset);
  width: 0;
  height: var(--footer-link-underline-h);
  background: var(--footer-text);
  transition: width 0.3s ease;
}

.site-footer__nav-link:hover::after {
  width: 100%;
} */

.site-footer__copy {
  margin: 0;
  color: var(--footer-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: var(--footer-font-size);
  font-weight: 400;
  line-height: normal;
}

.site-footer__right {
  flex: 0 0 auto;
}

.site-footer__right img {
  display: block;
  width: var(--footer-logo-w);
  height: auto;
  aspect-ratio: 70 / 13;
}

/* Tablet */
@media (max-width: 980px) {
  .site-footer__inner {
    gap: 40px;
  }

  .site-footer__bottom {
    gap: 24px;
  }
}

/* SP */
@media (max-width: 768px) {
  .site-footer {
    min-height: auto;
  }

  .site-footer__inner {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 40px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 32px;
  }

  .site-footer__left {
    gap: 24px;
    width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .site-footer__nav {
    flex-wrap: wrap;
  }

  .site-footer__nav-link,
  .site-footer__copy {
    font-size: var(--footer-font-size-sp);
  }

  .site-footer__right img {
    width: 220px;
  }
}

@media (max-width: 390px) {
  .site-footer__inner {
    padding-inline: 20px;
  }

  .site-footer__right img {
    width: 200px;
  }
}
/* #endregion */