@charset "utf-8";

/* サイトヘッダー */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.6rem 2vw;
  position: relative;
  z-index: 100;
}
@media (max-width: 1279px) {
  .site-header {
    height: 60px;
    padding: 0 2vw;
    width: 100%;
    flex-direction: row;
    align-items: center;
    border-bottom-right-radius: 0px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 0 4vw;
  }
}

/* ロゴ */
.site-logo {
  display: inline-block;
  max-width: 140px;
  width: 100%;
  z-index: 1000;
}
@media (max-width: 1919px) {
  .site-logo {
    max-width: 124px;
  }
}
@media (max-width: 1279px) {
  .site-logo {
    max-width: 96px;
  }
}

.site-logo__title__img img {
  display: inline-block;
  max-width: 100%;
}

/* ハンバーガーメニュー */
.site-header__sp {
  display: none;
}
@media (max-width: 1279px) {
  .site-header__sp {
    display: block;
    margin-left: auto;
  }
}

/* ナビゲーション */
.site-header__list {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  color: #6A6E77;
} 

/* ナビゲーションアイテム */
/* 1279以下のみ表示するロゴ */
.site-header__item_sp{
  display: none;
}
@media (max-width: 1279px) {
  .site-header__item_sp{
    display: inline-block;
    max-width: 130px;
    width: 80%;
  }
}
@media (max-width: 600px) {
  .site-header__item_sp {
    max-width: 130px;
    width: 70%;
  }
}
@media (max-width: 468px) {
  .site-header__item_sp {
    max-width: 120px;
    width: 80%;
  }
}


/* ナビゲーションリンク */
.site-header__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #6A6E77;
  transition: .3s;
  position: relative;
  margin: 1.2rem;
  letter-spacing: 0.2em;
}

@media (max-width: 1279px) {
  .site-header__item-link {
    font-size: 1.6rem;
    letter-spacing: .4em;
    margin-bottom: 1.8rem;
  }

  .site-header__item-link:last-of-type{
    margin-bottom: 3.2rem;
  }
}

.site-header__item-link:visited {
  color: #6A6E77;
}

/*========================================
サイトヘッダー リンクテキストアニメーション（ふわっと版）
========================================*/

/* 通常時の文字配置 */
.site-header__item-link__text-box {
  display: flex;
  position: relative;
  overflow: hidden;
}

/* 通常表示用 */
.site-header__text-mother {
  display: flex;
}

.site-header__text-mother__span {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.5s ease-in-out,
              color 0.6s ease-in-out;
  transform-origin: center;
}

/* ホバー時に文字がふわっと下へ移動 */
.site-header__item-link:hover .site-header__text-mother__span {
  transform: translateY(1.2em) scale(1.1);
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
}

/* アニメーション用（上に隠しておく） */
.site-header__text-mother2 {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.site-header__text-mother2__span {
  transform: translateY(-1.3em) scale(0.9);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.5s ease-in-out,
              color 0.6s ease-in-out;
}

/* ホバー時にふわっと文字が現れる */
.site-header__item-link:hover .site-header__text-mother2__span {
  transform: translateY(0) scale(1);
  opacity: 1;
  color: #6A6E77; 
}

/* 各文字に遅延をつけて動きを自然に */
.site-header__text-mother__span:nth-child(1),
.site-header__text-mother2__span:nth-child(1) {
  transition-delay: 0.05s;
}

.site-header__text-mother__span:nth-child(2),
.site-header__text-mother2__span:nth-child(2) {
  transition-delay: 0.1s;
}

.site-header__text-mother__span:nth-child(3),
.site-header__text-mother2__span:nth-child(3) {
  transition-delay: 0.15s;
}

.site-header__text-mother__span:nth-child(4),
.site-header__text-mother2__span:nth-child(4) {
  transition-delay: 0.2s;
}
.site-header__text-mother__span:nth-child(5),
.site-header__text-mother2__span:nth-child(5) {
  transition-delay: 0.25s;
}
.site-header__text-mother__span:nth-child(6),
.site-header__text-mother2__span:nth-child(6) {
  transition-delay: 0.3s;
}
.site-header__text-mother__span:nth-child(7),
.site-header__text-mother2__span:nth-child(7) {
  transition-delay: 0.35s;
}
.site-header__text-mother__span:nth-child(8),
.site-header__text-mother2__span:nth-child(8) {
  transition-delay: 0.40s;
}
.site-header__text-mother__span:nth-child(9),
.site-header__text-mother2__span:nth-child(9) {
  transition-delay: 0.45s;
}
.site-header__text-mother__span:nth-child(10),
.site-header__text-mother2__span:nth-child(10) {
  transition-delay: 0.5s;
}

.site-header__item-link_sp{
  display: inline-block;
}

/* ナビゲーションアイコン */
.site-header__icon {
  display: inline-block;
}

.site-header__icon img {
  width: 24px;
  height: 24px;
  vertical-align: sub;
  margin-right: 8px;
}

@media (max-width: 1279px) {
  .site-header__icon {
    display: inline-flex;
    align-items: center;
  }

  .site-header__icon img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }
}

.site-header__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.site-header__btn-link{
  justify-content: center;
  text-decoration: none;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  transition: .3s;
  border-bottom-right-radius: 20px;
  position: relative;
  background: linear-gradient(88.1deg, #3BA5DF 0.55%, #2587C8 100%);
  border-radius: 8px;
  padding: .8rem 2.4rem;
  width: 100%;
  text-align: center;
  border: solid 1px #3BA5DF;
}

.site-header__btn-link:hover {
  color: #3BA5DF;
  background: #ffffff;
}

@media (max-width: 1279px) {
  .site-header__btn-link{
    padding: 1.2rem 2.4rem;
  }
}

.site-header__text-icon svg {
  width: 10px;
  height: auto;
  margin-left: 4px;
  margin-top: .3em;
  fill: currentColor;
  vertical-align: text-top;
}

/* サブアイコン(採用側) */
.site-header__sub-icon__in-box svg {
  width: 10px;
  height: auto;
  margin-left: 4px;
  fill: currentColor;
  vertical-align: text-top;
}
.site-header__btn-link:hover .site-header__sub-icon__in-box svg {
  fill: #8DB5BD;
}


.site-header__btn-access {
  text-decoration: none;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  transition: .3s;
  width: 100%;
  margin-top: 1.2rem;
  border: solid 1px #3BA5DF;
  border-radius: 8px;
  display: none;
}

@media (max-width: 1279px) {
  .site-header__btn-access {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3BA5DF;
  }
}

.site-header__btn-access-link{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #3BA5DF;
  transition: .3s;
  width: 100%;
  padding: .8rem 2.4rem;
}

@media (max-width: 1279px) {
  .site-header__btn-access-link {
    padding: 1.2rem 2.4rem;
  }
}

.site-header__btn-access-link:hover {
  background: #ffffff;
}

.site-header__btn-access-link__icon{
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* ナビゲーションラッパー */
.site-header__nav-wrapper {
  display: flex;
  z-index: 2000;
  background-color: #fff;
  padding: .4rem 1.6rem;
  border-radius: 8px;
}
@media (max-width: 1279px) {
  .site-header__nav-wrapper {
    position: fixed;
    z-index: 505;
    top: 0px;
    right: 0;
    width: 33.333%;
    background-color: #EFF3FA;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out,
                opacity 0.3s ease-in-out,
                visibility 0.3s ease-in-out;
    border-bottom-left-radius: 4px;
    padding-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: 0 -4px 4px rgba(243, 216, 85, 0.5);
    border-radius: 0px;
  }
}
@media (max-width: 900px) {
  .site-header__nav-wrapper {
    width: 42%;
  }
}
@media (max-width: 600px) {
  .site-header__nav-wrapper {
    width: 50%;
    min-width: 20rem;
    height: 100vh;
  }
}
@media (max-width: 468px) {
  .site-header__nav-wrapper {
    width: 100%;
  }
}

.site-header__list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 1279px) {
  .site-header__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-bottom: 3.2rem;
  }
}

.site-header__item-link__icon{
  display: none;
}
@media (max-width: 1279px) {
  .site-header__item-link__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}

/* トランジション制御用クラス */
.site-header__nav-wrapper.can-transition {
  transition: transform .3s, opacity .3s, visibility .3s;
}

@media (max-width: 1279px) {
  .site-header__nav-wrapper.is-active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

/* ハンバーガーボタン */
.hamburger {
  width: 48px;
  height: 48px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;
}

.hamburger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2F2D62;
  transition: .3s;
}

.hamburger__line:nth-child(1) { top: 10px; }
.hamburger__line:nth-child(2) { top: 18px; }
.hamburger__line:nth-child(3) { top: 26px; }
.hamburger__line:nth-child(4) { top: 34px; }

/* アクティブ状態のハンバーガーボタン */
.hamburger.is-active .hamburger__line {
  background-color: #2F2D62;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  top: 26px;
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  top: 26px;
  transform: rotate(-45deg);
}

.hamburger.is-active .hamburger__line:nth-child(4) {
  opacity: 0;
}

body.hamburger-is-active { 
  overflow: hidden; 
  overscroll-behavior: contain;
}

body.hamburger-is-active #pageUpButton {
  display: none !important;
}

/*========================================
マウスストーカー
==========================================*/
#mouse-stalker {
  pointer-events: none;
  position: fixed;
  top: -8px;
  left: -8px;
  width: 12px;
  height: 12px;
  /* background: rgba(46, 44, 98, 0.5); */
  background: rgba(219, 228, 255, 0.8);
  border-radius: 50%;
  transform: translate(0,0);
  transition: transform 0.1s, width 0.1s, height 0.1s, background-color 0.0s;
  transition-timing-function: ease-out;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform; /* 追加 */
}

@media (max-width: 900px) { 
  #mouse-stalker {
    display: none;
  }
}

/* ホバー時に拡大 */
#mouse-stalker.hov_ {
  width: 80px;
  height: 80px;
  background: rgba(219, 228, 255, 0.5);
  transition: 0.3s;
  z-index: 10000;
}

/* Click 文字のスタイル */
.stalker-text {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  font-size: 12px;
  font-weight: bold;
  color: white;
  opacity: 0; 
  transition: opacity 0.1s;
  white-space: nowrap;
  letter-spacing: .1em;
  z-index: 10000;
}

/* ホバー時に文字を表示 */
#mouse-stalker.hov_ .stalker-text {
  opacity: 1;
  z-index: 10000;
}




