@charset "utf-8";

/*------------------------------------------------------------------------------
  corporate TOP
------------------------------------------------------------------------------*/
html {
  visibility: hidden;
}

html.wf-active,
html.loading-delay {
  visibility: visible;
}

header#header,
header#header .inner-block {
  height: 89px !important;
}

header#header .navi li {
  padding-bottom: 0;
}

@media screen and (max-width: 840px) {
  header#header,
  header#header .inner-block {
    height: 51px !important;
  }
}

/* ローディングで要素出現CSSアニメーション */
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 2s;
  animation-iteration-count: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn_late {
  opacity: 0;
  animation-name: fadeIn_late;
  animation-duration: 1.2s;
  animation-delay: 0.8s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeIn_late {
  from {
    opacity: 0;
    transform: translate(-50%, 50px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


/*--- メインビジュアル ---*/
#mv {
  position: relative;
  padding: 0;
  text-align: center;
}

#mv p {
  margin-bottom: 0;
}

.catchphrase_wrap {
  top: 191px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 10;
}

.catchphrase_wrap .sub_phrase {
  margin-top: 31px;
  color: #fff;
  font-size: 16px;
  line-height: 30px;
}

.mv-layer {
  position: absolute;
  top: 21px;
  left: calc(50% + 25px);
  transform: translateX(-50%);
}

.mv-layer.layer01 {
  z-index: 2;
  width: 735px;
  aspect-ratio: 734.67 / 657.4;
  background: url(../img/mv-layer01.svg) 100% / cover no-repeat;
  animation: fuwa 5s ease-in-out infinite alternate;
}

.mv-layer.layer02 {
  top: 313px;
  left: calc(50% - 14px);
  z-index: 3;
  width: 774px;
  aspect-ratio: 774.22 / 325.97;
  background: url(../img/mv-layer02.svg) 100% / cover no-repeat;
  animation: fuwa 3.5s ease-in-out infinite alternate;
}

.mv-layer.layer03 {
  top: 31px;
  left: calc(50% - 25px);
  z-index: 4;
  width: 1050px;
  aspect-ratio: 1050.5 / 808.06;
  background: url(../img/mv-layer03.svg) 100% / cover no-repeat;
  animation: fuwa 2.5s ease-in-out infinite alternate;
}

@keyframes fuwa {
  0% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -9px);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

/* tv画像スクロール */
#mv .slider li {
  height: 592px;
  aspect-ratio: 232 / 592;
}

.slick-slide img {
  height: 100%;
  object-fit: cover;
}

/* 結城運輸倉庫の採用募集 */
#mv .content {
  position: relative;
  z-index: 10;
  padding: 52px 0 53px;
  background-color: transparent;
}

#mv .mv_ttl01 {
  margin-bottom: 25px;
  color: #1025C0;
  font-size: 16px;
  line-height: 30px;
}

.recruit_flex {
  display: flex;
  justify-content: center;
  column-gap: 121px;
}

.recruit_flex li a {
  display: flex;
  flex-direction: column;
  width: 227px;
  overflow: hidden;
}

.recruit_flex li a:hover {
  opacity: 1;
}

.recruit_flex a ._img {
  transition: .3s;
}

.recruit_flex a:hover ._img {
  overflow: hidden;
  transform: scale(1.08);
}

.fresh-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.yellow-icon {
  position: absolute;
  padding: 7.5px 16.5px;
  background-color: #FFFF15;
  color: #350AAC;
  font-size: 14px;
  font-family: "futura-pt", "sans-serif";
  line-height: 1;
  letter-spacing: 0.1em;
}

.recruit_flex h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110px;
}

.recruit_flex .arrow_right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #1025C0;
  color: #fff;
  font-size: 13px;
  line-height: 34px;
}

.recruit_flex .arrow_right::after {
  display: inline-block;
  width: 8px;
  height: 13.5px;
  margin-left: 8px;
  background: url(../img/arrow-icon_r.svg) center / cover no-repeat;
  transition: .3s;
  content: '';
}

.recruit_flex a:hover .arrow_right::after {
  transform: translateX(5px);
}

/* Challenge 100th */
#challenge-100th {
  padding: 61px 0 75px;
  background-color: #EFF3FA;
  text-align: center;
}

#challenge-100th .ttl_futura {
  margin-bottom: 16px;
  color: #1025C0;
  font-style: italic;
  font-size: 24px;
  font-family: "futura-pt", "sans-serif";
  line-height: 30px;
  letter-spacing: 0.1em;
}

#challenge-100th .lead {
  margin-bottom: 31px;
  color: #36394D;
  font-size: 14px;
  line-height: 26px;
}

/* 親ボックスをFlexbox化し、gapで一括管理する (2025/02/04) */
#challenge-100th .movie_box {
  display: flex;       /* 横並びにするために明示（必須） */
  /*flex-wrap: wrap; */    /* 画面が狭い時に折り返す設定：横並びを維持する場合はコメントアウト */
  justify-content: center;
  align-items: center;
  gap: 20px;           /* 動画と動画の間に一律20pxの隙間を作る */
  margin: 0;
}

#challenge-100th .movie_box>* {
  width: 100%;
  max-width: 458px;
  height: auto;
  margin: 0;           /* 個別のマージンは不要なので0にする */
}

/*「last-of-type」をコメントアウト */
/* #challenge-100th .movie_box>*:last-of-type { 
 *  margin: 0 0 0 20px; 
 *  } */

#challenge-100th .movie_box iframe {
  width: 100%;
  aspect-ratio: 458 / 258;
  margin: 0 auto;
  display: block; /* iframeの下に微妙な隙間ができないように念のため */
}

/* マネジメント部門 新卒採用 */
.recruit_banner {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1100 / 382;
  background: url(../img/recruit_banner.jpg) 100% / cover no-repeat;
}

.ban-desc {
  width: 45%;
  padding: 66px 0 0 71px;
  color: #fff;
}

.ban-desc .yellow-icon {
  display: inline-block;
  position: initial;
  margin-bottom: 12px;
  padding: 7.5px 10px;
  font-size: 17px;
  text-align: center;
}

.ban-desc .ban_ttl {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.ban-desc .ban_ttl span {
  font-size: 58px;
}

.ban-desc .lead {
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 2;
}

.bubble {
  position: absolute;
  z-index: 4;
  width: 31px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  background-color: #7EF774;
  animation: fuwafuwa 3s ease-in-out infinite alternate;
}

.bubble.bbl01 {
  top: -13px;
  right: 237px;
}

.bubble.bbl02 {
  top: 40px;
  left: 60px;
  animation: fuwafuwa 4s ease-in-out infinite alternate;
}

.bubble.-small {
  width: 14.5px;
}

.bubble.bbl03 {
  left: 416px;
  bottom: 28px;
  animation: fuwafuwa 2.5s ease-in-out infinite alternate;
}

@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(0, -9px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* SNS(X) */
.sns_x {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 81px;
  margin: 40px auto 0;
  border: 3px solid #E2E5FD;
  transition: .3s;
}

.sns_x.sns_x:hover {
  opacity: 1;
  border: 3px solid #1025C0;
}

.x-icon {
  width: 15px;
  margin-right: 32px;
  margin-left: 28px;
}

.sns_x .-blue {
  color: #1025C0;
}

/* ========================================
   SNSセクション（X・Instagram） -20251223追加
======================================== */
#sns-section {
  padding: 61px 0 61px;
  background-color: #EFF3FA;
}

#sns-section .inner-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#sns-section .ttl_futura {
  color: #1025C0;
  font-family: "futura-pt", "sans-serif";
  font-style: italic;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sns_links {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.sns_item {
  flex: 0 1 calc(50% - 30px);
  max-width: 300px;
  min-width: 180px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sns_item:hover {
  transform: translateY(-2px);
}

.sns_item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sns_icon_wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* X(旧Twitter)背景 */
.x_bg {
  background-color: #0F1419;
}

/* Instagram背景 */
.instagram_bg {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sns_item:hover .sns_icon_wrap {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

.sns_icon_wrap img {
  width: 35%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* 白色に変換 */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.sns_item:hover .sns_icon_wrap img {
  transform: scale(1.15) ;
}

.sns_name {
  text-align: center;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
  letter-spacing: 0.05em;
}

/* Movieセクションとの整合性を考慮した調整 */
#sns-section + .outer-block {
  margin-top: 0;
}
/* ========================================
   20251223追加ここまで
======================================== */


@media screen and (max-width: 840px) {
  .catchphrase_wrap {
    top: 269px;
    width: calc(100% - 30px);
    max-width: 328px;
  }

  .catchphrase_wrap .sub_phrase {
    margin-top: 20px;
    font-size: 13px;
    line-height: 24px;
  }

  .mv-layer.layer01 {
    top: 175px;
    width: 491px;
    left: calc(50% + 9px);
  }

  .mv-layer.layer02 {
    top: 366px;
    left: calc(50% - 11px);
    width: 517px;
  }

  .mv-layer.layer03 {
    top: 183px;
    left: calc(50% - 87px);
    width: 577px;
    aspect-ratio: 863.04 / 738.06;
    background-image: url(../img/mv-layer03_sp.svg);
  }

  /* tv画像スクロール */
  #mv .slider li {
    height: 319px;
  }

  /* 結城運輸倉庫の採用募集 */
  #mv .content {
    padding-top: 294px;
  }

  #mv .mv_ttl01 {
    margin-bottom: 35px;
  }

  .recruit_flex {
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
  }

  .recruit_flex li a {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
  }

  .recruit_flex a ._img {
    max-height: 110px;
    aspect-ratio: 100 / 110;
  }

  .recruit_flex a .desc {
    min-width: 205px;
    margin-left: 15px;
  }

  #mv .yellow-icon {
    width: calc(100% - 24px);
    padding: 7px 0px;
    font-size: 11px;
  }

  .recruit_flex h3 {
    justify-content: flex-start;
    height: auto;
    margin-top: 3px;
  }

  .recruit_flex h3 img {
    width: initial;
  }

  .recruit_flex .arrow_right {
    margin-top: 10px;
    font-size: 11px;
  }

  /* Challenge 100th */
  #challenge-100th {
    padding: 48px 0 65px;
  }

  #challenge-100th .lead {
    margin-bottom: 25px;
  }

  /* 動画を3つ以上並べられるように仕様変更（2026/02/04） */
  #challenge-100th .movie_box {
  /* PC版の設定を継承しつつ、縦並びに変更 */
    flex-direction: column; 
  /* 動画と動画の間の縦の隙間を31pxにする */
    gap: 31px; 
  }

 /* 2. 各要素の表示順序(order)を指定します */
  
  /* 2番目の要素（中央）を一番上へ */
  #challenge-100th .movie_box > :nth-child(2) {
    order: 1;
  }

  /* 1番目の要素（左）を二番目へ */
  #challenge-100th .movie_box > :nth-child(1) {
    order: 2;
  }

  /* 3番目の要素（右）を三番目へ */
  #challenge-100th .movie_box > :nth-child(3) {
    order: 3;
  }

  #challenge-100th .movie_box iframe {
    display: block;
    max-width: 400px;
    /* 念のため中央揃えを維持 */
    margin: 0 auto; 
  }

 /* 「last-of-type」の記述のコメントアウト */
/*
#challenge-100th .movie_box>*:last-of-type {
  margin: 31px auto 0;
}
*/

  /* マネジメント部門 新卒採用 */
  .recruit_banner {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 345 / 647;
    background-image: url(../img/recruit_banner_sp.jpg);
  }

  .ban-desc {
    width: 100%;
    padding: 37px 52px 0;
    text-align: center;
    box-sizing: border-box;
  }

  .ban-desc .yellow-icon {
    display: block;
    margin: 0 10.5px 15px;
  }

  .ban-desc .lead {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.01em;
  }

  .bubble.bbl01 {
    right: 45px;
    width: 30px;
  }

  .bubble.bbl02 {
    top: 17px;
  }

  .bubble.bbl03 {
    right: 23px;
    bottom: 41px;
    left: auto;
    width: 22.5px;
  }

  /* SNS(X) */
  .sns_x {
    flex-direction: column;
    row-gap: 23px;
    max-width: 400px;
    height: auto;
    margin-top: 15px;
    padding: 23px 0 24px;
    font-size: 16px;
  }

  .x-icon {
    width: 15px;
    margin: 0;
  }

  /* SNSセクション（X・Instagram）- SP対応(20251223追加) */
  #sns-section {
    padding: 48px 0 48px;
  }

  #sns-section .ttl_futura {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .sns_links {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .sns_item {
    flex: 0 1 100%;
    max-width: 50%;
    width: 50%;
  }

  .sns_icon_wrap {
    aspect-ratio: 16 / 9;
  }

  .sns_icon_wrap img {
    width: 30%;
  }

  .sns_name {
    font-size: 18px;
    margin-top: 15px;
  }
  
  /* スマホ表示時非表示にするブロック */
  .sp-hide-block {
    display: none;
  }

}