@charset "utf-8";

:root {
  --outfit: 'Outfit', sans-serif;
  --primary: #E5013F;
}

.teamtalk .mainv_container {
  width: 48%;
  border-radius: 0 28px 0 0;
  color: #fff;
  padding: 33px 28px 33px min(123px, 20vw);
  max-width: 568px;
}


.teamtalk_mainv_titleBox {
  width: fit-content;
  position: relative;
  padding-bottom: 13px;
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.teamtalk_mainv_titleBox::before {
  content: "";
  position: absolute;
  background-color: #fff;
  width: 145%;
  height: 1px;
  right: 0;
  bottom: 0;
}

.teamtalk_mainv_title {
  font-size: 36px;
  font-family: var(--outfit);
  font-weight: 600;
  line-height: 1.08;
}

.teamtalk_mainv_titleJp {
  font-weight: 700;
  font-size: 20px;
  margin-top: -6px;
}

.teamtalk_mainv_desc {
  margin-top: 17px;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.39;
}

.teamtalk_inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* component */
.teamtalk_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* featured */

.featured {
  margin-top: 65px;
  background-color: #eff5fa;
  border-top-left-radius: 82px;
  border-top-right-radius: 82px;
  padding: 51px 0 57px;
  color: var(--primary);
}

.featured_title {
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1.64;
  font-weight: 500;
  text-align: center;
  padding: 0 50px;
}

.featured_wrapper {
  margin-top: 60px;
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.featured_card {
  width: calc(25% - 10px * 3 /4);
  text-align: center;
}

.featured_avtBox {
  width: 61%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin: 0 auto;
  overflow: hidden;
}

.featured_info,
.featured_date {
  letter-spacing: 0.1em;
  line-height: 1.63;
  font-weight: 500;
}

.featured_info {
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.featured_date {
  margin-top: 2px;
}

.featured_name {
  margin-top: 9px;
  font-size: 24px;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.teamtalk .outstanding_wrapper::before {
  display: none;
}

/* testimonial */

.testimonial {
  margin-bottom: 97px;
}

.testimonial_wrap {
  margin-top: 97px;
}

.testimonial_item:nth-child(even) {
  flex-direction: row-reverse;
}

.testimonial_item {
  display: flex;
  flex-wrap: wrap;
  gap: 93px;
  align-items: flex-start;
}

.testimonial_item+.testimonial_item {
  margin-top: 97px;
}

.testimonial_content {
  width: 44.4%;
  flex-shrink: 0;
}

.testimonial_title {
  color: #e5013f;
  letter-spacing: 0.02em;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.71;
}

.testimonial_imgWrapper {
  width: calc(100% - 44.4% - 93px);
  border-radius: 28px;
  aspect-ratio: 528/591;
  overflow: hidden;
}

.testimonial_descBox {
  margin-top: 16px;
  display: flex;
  /* flex-wrap: wrap; */
  align-items: flex-start;
  gap: 16px;
  color: #000;
  letter-spacing: 0.01em;
}

.testimonial_descBox_avtBox {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin: 0;
  max-width: 73px;
  min-width: 73px;
  overflow: hidden;
}

.testimonial_descImage {
  width: 100%;
  object-fit: cover;
}

.testimonial_desc {
  text-align: justify;
  font-weight: 400;
  line-height: 2;
}

.testimonial_bannerBox {
  margin: 60px 0;
  width: 100%;
  aspect-ratio: 1371 / 556;
}

.testimonial_bannerBox+.testimonial_wrap {
  margin-top: 127px;
}

.testimonial_list {
  margin-top: 35px;
}

@media(max-width: 1024px) {
  .teamtalk .mainv_container {
    padding-left: 40px;
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    top: unset;
    width: 58%;
    max-width: 440px;
  }

  .teamtalk_mainv_titleBox::before {
    width: calc(100% + 50px);
  }
}

@media(max-width: 767px) {
  .teamtalk_inner {
    padding: 0 20px;
  }

  .teamtalk .mainv_container {
    padding: 28px 20px;
    width: 100%;
    border-radius: 0;
    max-width: unset;
    position: relative;
  }

  .teamtalk .img_mainv {
    height: 68vw;
  }

  .teamtalk_mainv_titleBox {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .teamtalk_mainv_titleBox::before {
    width: calc(100% + 20px);
  }

  .teamtalk_mainv_title {
    font-size: 28px;
  }

  .teamtalk_mainv_desc {
    font-size: 18px;
    line-height: 1.5;
  }

  /* featured */
  .featured {
    margin-top: 37px;
    border-top-left-radius: 56px;
    border-top-right-radius: 56px;
    padding: 27px 0 45px;
  }

  .featured_wrapper {
    margin-top: 35px;
    gap: 24px 47px;
  }

  .featured_card {
    width: calc(50% - 47px /2);
  }

  .featured_avtBox {
    width: 86.3%;
  }

  .featured_title {
    padding: 0;
    font-size: 16px;
    line-height: 1.63;
  }

  .featured_info {
    font-size: 13px;
    line-height: 1.54;
    letter-spacing: 0;
    margin-top: 12px;
  }

  .featured_date {
    font-size: 13px;
    line-height: 1.54;
    letter-spacing: 0;
    margin-top: 0;
  }

  .featured_name {
    font-size: 18px;
    margin-top: 2px;
  }

  /* testimonial */
  .testimonial {
    margin-bottom: 57px;
  }

  .testimonial_item {
    gap: 57px;
    flex-direction: column-reverse;
  }

  .testimonial_item:nth-child(even) {
    flex-direction: column-reverse;
  }

  .sp-reverse .testimonial_item {
    flex-direction: column;
  }

  .testimonial_content {
    width: 100%;
  }

  .testimonial_imgWrapper {
    width: 100%;
    aspect-ratio: 1;
  }

  .testimonial_item+.testimonial_item {
    margin-top: 57px;
  }

  .testimonial_list {
    margin-top: 25px;
  }

  .testimonial_descBox {
    margin-top: 30px;
    gap: 11px;
    font-size: 16px;
  }

  .testimonial_descBox_avtBox {
    max-width: 54px;
    min-width: 54px;
    transform: translate(0, 8px);
  }

  .testimonial_bannerBox {
    margin: 30px 0 10px;
    aspect-ratio: 374/161;
  }

  .testimonial_bannerBox+.testimonial_wrap {
    margin-top: 58px;
  }

  .testimonial_title {
    font-size: 18px;
    line-height: 1.56;
  }
}