@charset "UTF-8";
#main-inner {
  .back-btn {
    text-decoration: none;
  }
}
/* list */
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#interview__list {
  display: grid;
  gap: 1rem;
}
/* #interview__list li {
  display: none;
} */
#interview__list li.visible {
  display: block;
}
.interview__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease-in-out;
}
.interview__item:hover {
  transform: scale(1.05);
}
.interview__item-img {
  position: relative;
  z-index: 0;
  height: 10rem;
  text-align: center;
}
.interview__item img {
  width: auto;
  height: 100%;
}
.interview__item-img:after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 8rem;
  background-image: linear-gradient(
    to right,
    var(--color-blue),
    var(--color-lightblue5)
  );
  border-radius: 1rem;
}
.interview-profile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.interview-profile__details {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.interview-profile__department {
  font-weight: 700;
  line-height: 100%;
  color: var(--color-blue);
  .join-year,
  .alma_mater {
    font-weight: 500;
     color: var(--color-black);
  }
}
.interview-profile__join-year,
.interview-profile__alma_mater  {
  line-height: 100%;
  transition: color 0.3s ease-in-out;
}
.interview-profile__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0.0625rem;
  transition: color 0.3s ease-in-out;
}
.interview__item:hover .interview-profile__join-year,
.interview__item:hover .interview-profile__name {
  color: var(--color-blue);
}
.view-btn {
  margin-top: 2.5rem;
}
.btn-text {
  font-size: 0.875rem;
  line-height: 0.875rem;
}
@media screen and (min-width: 768px) {
  #interview__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5625rem;
    row-gap: 5rem;
  }
}
@media screen and (min-width: 1024px) {
  #interview__list {
      grid-template-columns: repeat(3, 1fr);
  }
  .interview__item-img {
    height: 12.5rem;
  }
  .interview__item-img:after {
    height: 10rem;
  }
  .interview-profile {
    gap: 1rem;
  }
  .interview-profile__name {
    font-size: 1.5rem;
    letter-spacing: 0.075rem;
  }
  .view-btn {
    margin-top: 4rem;
  }
  .btn-text {
    font-size: 1rem;
  }
}


/* detail */
.employee_br-pc {
  display: none;
}
.employee_br-sp {
  display: block;
}
#main-inner.employee {
  padding-top: 6.75rem;
}
.main-section.employee {
  padding: 0 0 2.5rem 0;
}
.interview-person {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}
.interview-person__img {
  position: relative;
  top: -2px;
  right: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: 176px;
  text-align: center;
  position: relative;
  background-image: linear-gradient(
    to right,
    var(--color-blue),
    var(--color-lightblue5)
  );
  border-radius: 2rem 2rem 0 0;
}
.interview-person__img img {
  bottom: 0;
  width: auto;
  height: 200px;
  object-fit: cover;
  transform: translateY(-24px);
}
.interview-person__text-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem;
}
.interview-person__title {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 150%;
  letter-spacing: 1px;
}
.interview-person__section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 0 1rem;
}
.interview-person__box p {
  text-align: justify;
}
.card-list {
  background: rgb(var(--color-blue-rgb), 0.15);
}
.message-card__item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.message-card__img {
  height: 7.8125rem;
  text-align: center;
}
.message-card__img img {
  width: auto;
  height: 100%;
  object-fit: cover;
}
.message-card__detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.message-card__detail-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 0.9px;
  color: var(--color-blue);
  text-align: center;
}
@media screen and (min-width: 768px) {
  .employee_br-sp {
    display: none;
  }
  .employee_br-pc {
    display: block;
  }
  .single-interview-wrap #main-content{
    /* max-width: 1440px; */
    margin: 0 auto;
  }
  /* top */
  .interview-person {
    width: calc(100% + 4px);
    height: 360px;
    flex-direction: row-reverse;
    justify-content: space-between;
    background: linear-gradient(
      to right,
      var(--color-blue),
      var(--color-lightblue5)
    );
    gap: 0;
    color: var(--color-white);
    border-radius: 5rem 5rem 0 0;
    padding: 0 5rem 0 6rem;
    margin: -2px 0 0 -2px;
    box-sizing: border-box;
  }
  .interview-person__img {
    width: 480px;
    height: 400px;
    background: none;
    border-radius: 0;
    top: 0;
    right: 0;
    left: 0;
    img {
      bottom: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      transform: translateY(-40px);
    }
  }
  .interview-person__text-group {
    justify-content: center;
    gap: 0;
    padding: 0;
  }
  .interview-person__title {
    font-size: clamp(1.75rem, 1.4643rem + 0.5952vw, 2rem);
    margin-bottom: 3rem;
  }
  .employee .interview-profile__department {
    color: var(--color-white);
  }
  /* intewview-detail */
  .interview-person__section {
    gap: 0;
    padding: 5rem;
  }
  .card-list {
    padding: 3.5rem 2.5rem 2rem;
  }
  .interview-person__box {
    display: flex;
    gap: 5rem;
    margin-bottom: 5rem;
    &:last-child {
      margin-bottom: 0;
    }
    .section-title {
      width: 400px;
    }
    p {
      width: calc(100% - 400px);
    }
  }
  .message-card__item {
    flex-direction: row;
    gap: 3rem;
  }
  .message-card__img {
    width: 320px;
    height: 200px;
  }
  .message-card__img img {
    object-fit: contain;
  }
  .message-card__detail {
    width: calc(100% - (320px + 3rem));
    h2 {
      font-size: 1.5rem;
      text-align: left;
    }
    p {
      width: 100%;
    }  
  }
  .message-card__detail-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.9px;
    color: var(--color-blue);
    text-align: center;
  }
}




