@charset "utf-8";
/* ----------------------
50周年ローディング
---------------------- */

#loading-50th {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .3s ease;
}

.loading-50th-logo img {
  width: min(480px, 75vw);
  height: auto;
  opacity: 0;
  animation: loading-50th-animation 2.4s ease forwards;
}

#loading-50th.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@keyframes loading-50th-animation {
  /* フェードイン */
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  /* 停止 */
  70% {
    opacity: 1;
    transform: scale(1);
  }

  /* 拡大しながら消える */
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

/* 
.loading-50th-done #loading-50th{
  display:none;
} */

/* ----------------------
TOPページ：50周年メッセージ
---------------------- */
.topmain-50th{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 2em;
}
.topmain-50th img{
  display: block;
  width: 160px;
  object-fit: cover;
}
.topmain-50th p{
  position: relative;
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  overflow: hidden;
}
.topmain-50th p::after{
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 20px;
  height: 200%;
  background: rgba(255,255,255,.9);
  transform: rotate(25deg);
  animation: shine50th 6s infinite;
}
@keyframes shine50th{
  0%{
    left: -30%;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  30%{
    left: 130%;
    opacity: 1;
  }
  31%{
    opacity: 0;
  }
  100%{
    left: 130%;
    opacity: 0;
  }
}
@media screen and (max-width: 640px) {
  .topmain-50th{
    margin-top: 24px;
  }
  .topmain-50th img{
      width: 80px;
    }
    .topmain-50th p{
      font-size: 18px;
    }
}
/* ----------------------
トップページ：フロートボタン
---------------------- */
.fixed-side-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  writing-mode: vertical-rl;
  text-orientation: mixed;

  background: #ff9206;
  color: #fff;
  text-decoration: none;

  padding: 20px 12px;
  border-radius: 10px 0 0 10px;

  font-weight: bold;
  letter-spacing: 0.1em;

  z-index: 9999;
  transition: .3s;
}
.fixed-side-btn:hover {
  background: #e38000;
  padding-right: 18px;
  text-decoration: none;
  color: #fff;
}
.fixed-side-btn {
  top: 40%;
  animation: btn-blink 2s infinite;
  animation-iteration-count: 4;
  width: max-content;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 16px;
}
.fixed-side-btn.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes btn-blink {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: .6;
	}
}
.fixed-side-btn::before {
	content: "📄";
}
@media screen and (max-width: 640px) {
  .fixed-side-btn{
    padding: 8px;
    font-size: 13px;
  }
}

/* ----------------------
採用サイト：50周年用ヘッダー
---------------------- */
.header-inner{
  display: flex;
  align-self: center;
  justify-content: space-between;
}
.header-inner .l-nav{
  display: flex;
  align-self: center;
}
.header-inner .l-nav .nav-gnav{
  width: auto;
}
.header-logo_wrap{
  display: flex;
  align-self: center;
}
.header-logo{
  width: auto;
  display: flex;
  align-self: center;
}
.header-50thlogo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -50px;
  z-index: 1;
}
.header-50thlogo img{
  width: 64px;
  height: 64px;
}
.header-50thlogo p{
  padding-top: 2px;
  text-align: center;
}
@media screen and (max-width: 1280px) {
    .header-inner{
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }
    .header-inner .l-nav{
      width: 100%;
    }
    .header-inner .l-nav .nav-gnav{
      width: 100%;
      text-align: center;
    }
    .header-inner .nav-gnav-item{
      padding-right: 2em;
    }
}
@media screen and (max-width: 768px) {
    .header-inner{
      justify-content: space-between;
      gap:0;
    }
    .header-logo img{
      width: 64vw;
      max-width: 440px;
    }
    .header-50thlogo{
      flex-direction: column;
      margin-left: -6vw;
    }
    .header-50thlogo img{
      width: 12vw;
      max-width: 48px;
      height: auto;
    }
    .header-50thlogo p{
      padding-top: 0;
      font-size: 1.8vw;
    }
}
@media screen and (max-width: 480px){
    .header-50thlogo p{
      font-size: 2.2vw;
    }
}