body {
  font-family: var(--ja);
  padding-bottom: 0;
}

main {
  margin-bottom: 100px;
  overflow: clip;
}

main img {
  width: 100%;
  height: auto;
}

img.radius {
  border-radius: 10px;
}

.lead-container {
  position: relative;
  overflow: visible;
}

.bg-lead {
  background-image: url(/assets/img/interview/bg_interview_1.webp);
  background-repeat: no-repeat;
  background-size: auto calc(100% - 80px);
  background-position: center 80px;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.lead {
  padding: 130px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.lead hgroup span {
  background: #55A678;
  padding: 0 17px;
  color: #fff;
  font-family: "Oswald", sans-serif;
  position: relative;
}

.lead hgroup span::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
  background: #36684C;
  position: absolute;
  bottom: 0;
  left: 0;
  translate: 0 100%;
}

.lead hgroup h1 {
  color: var(--dark-blue);
  font-size: var(--fz24);
  font-weight: 700;
  margin-top: 18px;
}

.interviewee-profile {
  .location {
    font-size: var(--fz18);
    font-weight: 500;
  }

  .name {
    color: var(--dark-blue);
    font-size: var(--fz20);
    font-weight: 700;
  }

  .desc {
    font-size: var(--fz18);
  }
}

.lead-img-wrapper {
  width: 100%;
  aspect-ratio: 345 / 402;
  overflow: hidden;
  border-radius: 10px;
}

.interview-img1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lead-text {
  font-size: var(--fz18);
  font-weight: 600;
  line-height: 1.6;
}

.interview-content {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px;
}

.interview-content h2 {
  color: var(--dark-blue);
  font-size: var(--fz24);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 30px;
}

.interview-content p {
  font-size: var(--fz18);
  line-height: 1.6;
  text-align: justify;
  margin-top: 20px;
}

.interview-content .question {
  font-weight: 700;
}

.interview-content .question::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: #333;
  vertical-align: middle;
  position: relative;
  bottom: 2px;
  margin-right: 3px;
}

.interview-content .img-wrapper {
  margin: 36px 0 16px;
}

.interview-content .text-indent {
  display: block;
  text-indent: var(--fz18);
}

.interview-content .closing {
  color: var(--dark-blue);
  font-size: var(--fz18);
  font-weight: 700;
  line-height: 1.8;
  margin-top: 80px;
}

.interview-content .closing + .img-wrapper {
  margin-top: 20px;
}

.bg2,
.bg3 {
  position: relative;
}

.bg2::after,
.bg3::after {
  content: '';
  display: block;
  width: 523px;
  height: 242px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  z-index: -1;
}

.bg2::after {
  background-image: url(/assets/img/interview/bg_interview_2.webp);
  translate: 40%;
  bottom: 0;
  right: 0;
}

.bg3::after {
  background-image: url(/assets/img/interview/bg_interview_3.webp);
  translate: -40%;
  bottom: 0;
  left: 0;
}

@media (min-width:769px) {
  main {
    padding: 0 20px;
  }
  .interview-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 128px;
    padding-top: 100px;
  }

  .interview-text-container {
    width: 55%;
    max-width: 550px;
    margin-left: auto;
    display: flex;
  }
    
  .lead {
    padding: 10px;
    max-width: 550px;
    gap: 30px;
    position: relative;
  }

  .bg-lead {
    background-image: url(/assets/img/interview/bg_interview_1_pc.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    width: 1101px;
    max-width: 1101px;
    height: auto;
    aspect-ratio: 1101 / 594;
    z-index: -1;
    right: -200px;
    top: -80px;
  }

  .lead hgroup span {
    padding: 0 17px;
    font-size: var(--fz20);
  }

  .lead hgroup h1 {
    font-size: var(--fz32);
    margin-top: 12px;
  }

  .interviewee-profile {
    .location {
      font-size: var(--fz20);
    }

    .name {
      font-size: var(--fz24);
    }

    .desc {
      font-size: var(--fz20);
    }
  }

  .lead-img-wrapper {
    aspect-ratio: 405 / 623; 
    position: fixed;
    top: 160px;
    width: calc((100vw - 40px) * 0.45 - 40px);
    max-width: 405px;
    width: 38vw;
    flex: 1;
  }

  .lead-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .wrapper {
    margin-top: 120px;
  }

  .interview-content {
    gap: 0;
    margin: 0;
    padding: 0;
    max-width: 555px;
  }

  .flex {
    display: flex;
    align-items: start;
  }

  .sticky-img {
    position: sticky;
    top: 160px;
    left: 0;
    width: 38vw;
    max-width: 405px;
    aspect-ratio: 405 / 623; 
  }

  .interview-content h2 {
    font-size: var(--fz28);
    padding: 0;
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
  }

  .interview-content p {
    font-size: var(--fz20);
    line-height: 1.7;
    padding: 0;
    margin-top: 30px;
  }


  .interview-content .closing {
    font-size: var(--fz20);
    line-height: 1.7;
    margin-top: 30px;
  }

  .interview-content .closing + .img-wrapper {
    margin: 30px 0 0;
  }

  .interview-content .trigger-el-scrollup {
    margin-top: 60px;
  }

  .bg2::after,
  .bg3::after {
    background-size: 100% auto;
    display: none;
  }

  .bg2::after {
    translate: 40%;
    bottom: -480px;
    right: 0;
    width: 110vw;
    height: auto;
    aspect-ratio: 1572 / 754;
  }

  .bg3::after {
    translate: -65%;
    bottom: -400px;
    left: 0;
    width: 110vw;
    height: auto;
    aspect-ratio: 1618 / 751;
  }
}

.footer_image {
  background-color: transparent;
}

.back-to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  width: 76px;
  height: 110px;
  background-color: var(--pink);
  border-radius: 50%;
  cursor: pointer;
}

main {
  position: relative;
}

@media (min-width:769px) {

  .bg-lead-test {
    background-image: url(/assets/img/interview/bg_interview_1_pc.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: fixed;
    width: 1101px;
    max-width: 1101px;
    height: auto;
    aspect-ratio: 1101 / 594;
    z-index: -1;
    right: 50%;
    top: 136px;
    translate: 60%;
  }
}