@charset "UTF-8";
/* CSS Document */
/* ---------- main ---------- */
.main {
  position: relative;
  width: 100%;
  height: auto;
  margin: 80px auto 0;
  background-color: #687BE1;
}
.main-top {
  width: 78%;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media(min-width:960px){
  .main {
    margin: 100px auto 0;
  }
  .main-top {
    width: 73%;
  }
}

/* top text */
.main-top-text {
  text-align: left;
  width: 100%;
}
.main-top-text h2 {
  position: relative;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: -0.5px;
  font-weight: 600;
  text-shadow: 1px 2px 2px #d5d5d5;
}
.main-top-text h2::before {
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #ececec;
  font-size: 30px;
  line-height: 30px;
  content: attr(data-word);
  pointer-events: none;
  font-weight: 600;
  text-shadow: none;
  opacity: 0.4;
}
.main-top-img {
  width: 50%;
}
.main-top-img img {
  width: 100%;
  object-fit: cover;
  max-width: 300px;
}

/* ------------------------
タブレット（例: 768px〜959px）
------------------------ */
@media (min-width: 768px) and (max-width: 959px) {
  /* top text */
  .main-top-text h2 {
    font-size: 24px;
  }
  .main-top-text h2::before {
    font-size: 50px;
    bottom: 20px;
  }
}
/* ------------------------
PC（例: 960px〜）
------------------------ */
@media(min-width:960px){
  /* top text */
  .main-top-text h2 {
    font-size: 30px;
  }
  .main-top-text h2::before {
    font-size: 70px;
    bottom: 40px;
  }
}

/* ---------- content ---------- */
.content {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
  background-color: #687BE1;
}
.content-back {
  background-color: #FFFFFF;
  box-shadow: 0 0 6px gray;
  width: 89%;
  margin: 0 auto;
  padding: 60px 0;
  border-radius: 20px;
}

@media(min-width:960px){
  .content {
    padding-bottom: 100px;
    text-align: left;
  }
  .content-back {
    width: 79%;
    max-width: 1520px;
  }
}

/* tab menu */
.tab5 {
  position: relative;
  display: flex;
  width: 89%;
  flex-direction: row;
  text-align: center;
  align-items: center;
  margin: 0 auto 20px;
  list-style: none;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.tab5--1:after {
  left: 0;
}
.tab5--2:after {
  left: 20%;
}
.tab5--3:after {
  left: 40%;
}
.tab5--4:after {
  left: 60%;
}
.tab5--5:after {
  left: 80%;
}
.tab5__item1 {
  position: relative;
  margin: 2.5px 5px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #F75B99;
  font-size: 3.2vw;
  letter-spacing: -0.1rem;
  line-height: 3.2vw;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color .3s ease, background-color .3s ease;
  white-space: nowrap;
  flex: 1;
}
.tab5__item2 {
  position: relative;
  margin: 2.5px 5px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #EB2C31;
  font-size: 3.2vw;
  letter-spacing: -0.1rem;
  line-height: 3.2vw;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color .3s ease, background-color .3s ease;
  white-space: nowrap;
}
.tab5__item3 {
  position: relative;
  margin: 2.5px 5px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #F5A800;
  font-size: 3.2vw;
  letter-spacing: -0.1rem;
  line-height: 3.2vw;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color .3s ease, background-color .3s ease;
  white-space: nowrap;
}
.tab5__item4 {
  position: relative;
  margin: 2.5px 5px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #4EBEA9;
  font-size: 3.2vw;
  letter-spacing: -0.1rem;
  line-height: 3.2vw;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color .3s ease, background-color .3s ease;
  white-space: nowrap;
}
.tab5__item5 {
  position: relative;
  margin: 2.5px 5px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #687BE1;
  font-size: 3.2vw;
  letter-spacing: -0.1rem;
  line-height: 3.2vw;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color .3s ease, background-color .3s ease;
  white-space: nowrap;
}
@media(min-width:960px){
  .tab5 {
    width: 79%;
    margin: 0 auto 60px;
  }
  .tab5__item1,.tab5__item2,.tab5__item3,.tab5__item4,.tab5__item5 {
    margin: 2.5px 5px;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1.4583333333333333vw;
    padding: 10px 45px;
    border-radius: 10px;
  }
}

.tab5-body {
  overflow: hidden;
  position: relative;
  width: 89%;
  margin: 0 auto;
  transition: height 0.6s ease;
}
.tab5-body__item {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  text-align: left;
  transition: left 0.6s ease-out, opacity 0.6s ease-out;
  opacity: 0;
}
.tab5-body__item--1 {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: left;
  transition: left 0.6s ease-out, opacity 0.6s ease-out;
  background-color: #F75B99;
  overflow: hidden;
  border-radius: 20px;
}
.tab5-body__item--2 {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: left;
  transition: left 0.6s ease-out, opacity 0.6s ease-out;
  background-color: #EB2C31;
  overflow: hidden;
  border-radius: 20px;
}
.tab5-body__item--3 {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: left;
  transition: left 0.6s ease-out, opacity 0.6s ease-out;
  background-color: #F5A800;
  overflow: hidden;
  border-radius: 20px;
}
.tab5-body__item--4 {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: left;
  transition: left 0.6s ease-out, opacity 0.6s ease-out;
  background-color: #4EBEA9;
  overflow: hidden;
  border-radius: 20px;
}
.tab5-body__item--5 {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: left;
  transition: left 0.6s ease-out, opacity 0.6s ease-out;
  background-color: #687BE1;
  overflow: hidden;
  border-radius: 20px;
}

.tab5-body__item.in {
  left: 0;
  opacity: 1;
}
.tab5-body__item.out {
  left: -100%;
  opacity: 0;
}
.tab5-body__item h2 {
  text-align: left;
  font-size: 3.733333333333334vw;
  margin: 10px 20px;
  color: #fff;
}
@media(min-width:960px){
  .tab5-body {
    width: 79%;
  }
  .tab5-body__item--1,.tab5-body__item--2,.tab5-body__item--3,.tab5-body__item--4,.tab5-body__item--5 {
    border-radius: 40px;
  }
  .tab5-body__item h2 {
    text-align: left;
    font-size: 20px;
    margin: 20px 80px;
  }
}

/* table */
.recruit-conditions-table {
  width: 89%;
  margin: 0 auto 20px;
  background-color: #fff;
  border-radius: 15px;
  padding: 20px 0;
}
.recruit-conditions-text {
  width: 89%;
  margin: 0 auto;
  text-align: left;
}
.recruit-conditions-text h3 {
  font-size: 3.733333333333334vw;
  position: relative;
  margin-bottom: 10px;
}
.recruit-conditions-text h3::after {
  content: "";
  width: 100px;
  height: 1px;
  display: inline-block;
  background-color: #333333;
  position: absolute;
  bottom: -2px;
  left: calc(20px - 20px);
}
.recruit-conditions-text p {
  font-size: 3.2vw;
  line-height: 3.4vw;
  margin-bottom: 20px;
  display: inline-block;
}
@media(min-width:960px){
  .recruit-conditions-table {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .recruit-conditions-table-flex1 {
    flex: 1;
    flex-grow: 2;
  }
  .recruit-conditions-table-flex2 {
    flex: 2;
  }
  .recruit-conditions-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .recruit-conditions-text p {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 20px;
  }
}

/* ---------- interview ---------- */
.interview {
  width: 79%;
  margin: 40px auto 0;
}
.interview-heading {
  display: inline-block;
  position: relative;
  font-size: 4.266666666666667vw;
  text-align: center;
}
.interview-heading:before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #F5A800;
}
@media(min-width:960px) {
  .interview-heading {
    font-size: 24px;
    width: 100%;
    margin: 100px auto 0;
  }
  .interview-heading:before {
    width: 100px;
    height: 3px;
  }
}

/* HIRATA */
.interview-content1 {
  position: relative;
  margin-top: 40px;
  text-align: left;
}
.interview-content1::after {
  content: "";
  position: absolute;
  right: -5.333333333333334vw;
  top: 32%;
  bottom: -30px;
  width: 2px;
  background-color: #333;
  transform: scaleY(0); /* 初期状態で線を隠す */
  transform-origin: top; /* 上端から伸びる */
  animation: draw-line-vertical 1s ease forwards;
}
.interview-content1-img {
  position: relative;
}
.interview-content1-img img {
  width: 100%;
  object-fit: cover;
}
.interview-content1-img::before {
  content: "HIRATA RYUSEI";
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  right: -8.266666666666666vw;
  top: 20px;
  font-size: 4.266666666666667vw;
  font-weight: bold;
}
.interview-content1-text {
  margin-top: 10px;
}
.interview-content1-text h3 {
  font-size: 4.266666666666667vw;
}
.interview-content1-text h4 {
  font-size: 3.2vw;
  font-weight: 300;
  margin-bottom: 20px;
}
.interview-content1-text-content {
  margin-bottom: 20px;
}
.interview-content1-text-content h5 {
  font-size: 3.733333333333334vw;
  font-weight: bold;
  text-decoration: underline;
}
.interview-content1-text-content p {
  font-size: 3.2vw;
}

@media(min-width:960px) {
  .interview-content1-flex {
    display: flex;
    flex-direction: row-reverse;
    gap: 5%;
    align-items: center;
  }
  .interview-content1-flex1 {
    flex: 1 auto;
  }
  .interview-content1-flex2 {
    flex: 2 auto;
  }
  .interview-content1::after {
    left: -3.0208333333333335vw;
    top: 70%;
  }
  .interview-content1-img img {
    max-width: 500px;
  }
  .interview-content1-img::before {
    right: 64.58333333333334vw;
    top: 20px;
    font-size: 18px;
    font-weight: bold;
  }
  .interview-content1-text h3 {
    font-size: 18px;
  }
  .interview-content1-text h4 {
    font-size: 16px;
  }
  .interview-content1-text-content h5 {
    font-size: 18px;
  }
  .interview-content1-text-content p {
    font-size: 0.7291666666666666vw;
  }
}

/* OYAMA */
.interview-content2 {
  position: relative;
  margin-top: 60px;
  text-align: left;
}
.interview-content2::before, 
.interview-content2::after {
  content: "";
  position: absolute;
  left: -5.013333vw;
  height: 2px;
  background-color: #333;
  transform: scaleX(0); /* 初期状態で線を隠す */
  transform-origin: left; /* 左端から伸びる */
  animation: draw-line 2s ease forwards;
}
/* 上部の線 */
.interview-content2::before {
  top: -30px;
  right: -5.333333333333334vw;
  animation-delay: 1s;
}
/* 下部の線 */
.interview-content2::after {
  bottom: -20px;
  right: 0;
  animation-delay: 1.5s;
}
.interview-content2-img {
  position: relative;
}
.interview-content2-img img {
  width: 100%;
  object-fit: cover;
}
.interview-content2-img::before {
  content: "OYAMA SHIORI";
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  left: -8.266666666666666vw;
  top: 20px;
  font-size: 4.266666666666667vw;
  font-weight: bold;
}
.interview-content2-text {
  margin-top: 10px;
}
.interview-content2-text::after {
  content: "";
  position: absolute;
  left: -5.333333333333334vw;
  top: 25%;
  bottom: -20px;
  width: 2px;
  background-color: #333;
  transform: scaleY(0); /* 初期状態で線を隠す */
  transform-origin: top; /* 上端から伸びる */
  animation: draw-line-vertical 2.5s ease forwards;
}
.interview-content2-text h3 {
  font-size: 4.266666666666667vw;
}
.interview-content2-text h4 {
  font-size: 3.2vw;
  font-weight: 300;
  margin-bottom: 20px;
}
.interview-content2-text-content {
  margin-bottom: 20px;
}
.interview-content2-text-content h5 {
  font-size: 3.733333333333334vw;
  font-weight: bold;
  text-decoration: underline;
}
.interview-content2-text-content p {
  font-size: 3.2vw;
}

@media(min-width:960px) {
  .interview-content2-flex {
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: center;
  }
  .interview-content2-flex1 {
    flex: 1 auto;
  }
  .interview-content2-flex2 {
    flex: 2 auto;
  }
  .interview-content2::before, 
.interview-content2::after {
    right: -3.0208333333333335vw;
  }
  /* 上部の線 */
  .interview-content2::before {
    left: -3.0208333333333335vw;
  }
  /* 下部の線 */
  .interview-content2::after {
    left: 0;
  }
  .interview-content2-img img {
    max-width: 500px;
  }
  .interview-content2-img::before {
    left: 64.58333333333334vw;
    font-size: 18px;
  }
  .interview-content2-img::after {
    content: none;
  }
  .interview-content2-text {
    margin-top: 10px;
  }
  .interview-content2-text::after {
    left: 65.36458333333334vw;
    top: 63%;
    bottom: -20px;
  }
  .interview-content2-text h3 {
    font-size: 18px;
  }
  .interview-content2-text h4 {
    font-size: 16px;
  }
  .interview-content2-text-content h5 {
    font-size: 18px;
  }
  .interview-content2-text-content p {
    font-size: 0.7291666666666666vw;
  }
}

/* アニメーション定義 */
@keyframes draw-line {
  to {
    transform: scaleX(1); /* 線を完全に描画 */
  }
}
@keyframes draw-line-vertical {
  to {
    transform: scaleY(1); /* 線を完全に描画 */
  }
}
