body {
  background-color: #FF9000;
}

/* ===== ENTRY セクション ===== */
.mid-entry-section {
  display: flex;
  background: #FF9000;
  padding: 60px 40px;
}

.mid-entry-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mid-entry-left h1 {
  margin: 0;
  font-size: 140px;
  font-weight: 900;
  color: #000;
  line-height: 0.8;
  font-family: "Roboto Condensed", sans-serif;
}
.touka {
  color: #FF9000!important;
  text-shadow: 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000;
}

.mid-entry-right {
  flex: 1;
  padding-left: 90px;
  display: flex;
  align-items: center;
}

.mid-entry-box {
  max-width: 1000px;
}

.mid-catch {
  font-size: 42px;
  font-weight: bold;
  background: #000;
  color: #fff!important;
  display: inline-block;
  padding: 2px 5px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.mid-catch span {
  font-size: 42px;
  color: #fff!important;
}

.mid-text {
  line-height: 2;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  margin-top: 30px;
}

/* ===== NEXT セクション ===== */
.mid-next-section {
  padding: 60px 0;
}

.mid-text-liner {
  background: #000;
  width: 96%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
}

/* サイド縦書きテキスト */
.mid-side-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 166px;
  font-weight: 900;
  justify-content: center;
  color: #000;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.4;
  text-shadow: 1px 1px 0 #FF9000, -1px 1px 0 #FF9000, 1px -1px 0 #FF9000, -1px -1px 0 #FF9000;
}

.mid-next-main {
  flex: 1;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.mid-next-main h2 {
  text-align: center;
  margin: 0 auto;
  font-size: 46px;
  margin-bottom: 100px;
  border-bottom: 2px solid #FF9000;
  display: inline-block;
  padding-bottom: 8px;
  color: #fff;
  font-style: italic;
  display: block; /* ブロック要素に戻す */
  width: fit-content; /* テキスト幅に線を合わせる */
}

/* ===== カード ===== */
.mid-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.mid-reverse {
  flex-direction: row-reverse;
}

.mid-card-img {
  flex: 0 0 auto;
  width: 35%;
}

.mid-card-img img {
  display: block;
  max-width: 280px;
  height: auto;
}

.mid-card-text {
  flex: 1;
  padding: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}


.mid-card-text h3 {
  font-size: 60px;
  font-weight: bold;
  color: #FF9000;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: "Roboto Condensed", sans-serif;
}

.mid-card-text h3 span {
  font-size: 34px;
  color: #fff;
  display: inline-block;
  margin-top: 4px;
}


.mid-title {
  background-color:#FF9000 ;
  text-align: center;
  margin: 0 auto;
  font-size: 80px;
  margin-bottom: 100px;
  background-color:  #000;
  display: inline-block;
  padding-bottom: 8px;
  color: #FF9000;
line-height: 1.2;
  display: block; /* ブロック要素に戻す */
  width: fit-content; /* テキスト幅に線を合わせる */
}
.mid-carrer-section {
  background-color:#FF9000 ;
}
.new-td {
  font-weight: 500;
  line-height: 1.7;
}


@media (max-width: 969px) {
  .mid-entry-section {
    display: flex
;
    background: #FF9000;
    padding: 30px 20px;
}
.mid-next-section {
  padding: 30px 0;
}
.new-recruit-table-section {
  padding: 30px 20px;
  padding-bottom: 150px;
}
  .mid-text-wrap {
    font-size: 64px;
    color: #000 !important;
  }
  .mid-text-wrap span {
    font-size: 64px;
    color: #FF9000!important;
    text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
  }
.mid-entry-right {
  flex: 1;
  padding-left: 0px;
  display: flex
;
  align-items: center;
}
.mid-title {
  background-color:#FF9000 ;
  text-align: left;
  margin: 0 auto;
  font-size: 32px;
  margin-bottom: 0px;
  background-color:  #000;
  display: inline-block;
  padding-bottom: 8px;
  color: #FF9000;
line-height: 1.2;
  display: block; /* ブロック要素に戻す */
  width: fit-content; /* テキスト幅に線を合わせる */
  display: inline-block;
  padding: 5px;
}
.new-recruit-path {
  margin-bottom: 30px;
  width: 100%;
}
.mid-catch {
  font-size: 32px;
  font-weight: bold;
  background: #000;
  color: #fff!important;
  display: inline-block;
  padding: 2px 5px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.mid-text {
  line-height: 2;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  margin-top: 30px;
}
.mid-card {
  align-items: baseline;
        flex-direction: column-reverse;
        display: flex
;
gap:  10px;
}
.mid-card-img img {
  display: block;
  max-width: 100%;
  height: auto;
}
.mid-card-img {
  width: 100%;
  color: #fff;
}
.mid-card-img p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 3px;
  padding-top: 15px;
  line-height: 1.8;
}
.mid-next-main h2 {
  text-align: center;
  margin: 0 auto;
  font-size: 24px;
  margin-bottom: 25px;
}
.mid-card-text h3 {
  font-size: 42px;
  font-weight: bold;
  color: #FF9000;
  margin-bottom: 0px;
  line-height: 1;
  font-family: "Roboto Condensed", sans-serif;
  text-align: end;
}
.mid-card-text {
  flex: 1;
  padding: 0px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}
}

.bounce {
  opacity: 0;
  transform: translateY(50px);
}

.bounce.show {
  animation: bounceInUp 0.8s forwards;
}

/* 時間差 */
.bounce-1.show { animation-delay: 0s; }
.bounce-2.show { animation-delay: 0.3s; }
.bounce-3.show { animation-delay: 0.6s; }
.bounce-4.show { animation-delay: 0.8s; }

@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(350px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;        /* ここで opacity を明示 */
    transform: translateY(0);
  }
}