/* layout */
main {
  padding-bottom: 0;
}

.ec-footer {
  margin-top: 0;
}

/* first-view */
.ec-firstview__pat6 {
  height: auto;
  margin-top: var(--clamp-8sp);
  padding-top: 0;
}

.ec-firstview__pat6--title {
  align-items: center;
  background: url(../../images/instructor/title_background.webp) no-repeat bottom/cover;
  display: flex;
  font-size: 0;
  height: clamp(2.75rem, -0.139rem + 14.44vw, 4.375rem);
  justify-content: center;
  width: 100%;
}

.ec-firstview__pat6--title_h1 {
  color: var(--dark-green_2);
  font-size: var(--clamp-16sp);
  font-weight: 700;
  line-height: 1;
  text-shadow: 2px 2px 2px var(--white), -2px -2px 3px var(--white), -2px 2px 3px var(--white), 2px -2px 2px var(--white), 2px 0 2px var(--white), -2px 0 2px var(--white), 0 2px 2px var(--white), 0 -2px 2px var(--white);
}

.ec-instructors__h2 {
  height: clamp(315px, 0.3px + 98.33vw, 492px);
  margin: var(--clamp-40sp) auto 0;
  max-width: 500px;
  position: relative;
}

.ec-instructors__h2::before,
.ec-instructors__h2::after {
  content: "";
  height: clamp(140px, -2.2px + 44.44vw, 220px);
  position: absolute;
  width: clamp(306px, -3.3px + 96.67vw, 480px);
}

.ec-instructors__h2::before {
  background: url(../../images/instructor/main-visual_front.webp) no-repeat center/cover;
  right: 0;
  top: calc(100% - clamp(153px, -1.7px + 48.33vw, 240px));
  z-index: 10;
}

.ec-instructors__h2::after {
  background: url(../../images/instructor/main-visual_back.webp) no-repeat center/cover;
  right: calc(clamp(12.5px, -0.8px + 4.17vw, 20px) * -1);
  bottom: 0;
  z-index: 5;
}

.ec-instructors__h2--body {
  display: block;
  width: 100%;
}

.ec-instructors__h2--body_balloon {
  color: var(--dark-green_3);
  display: block;
  font-size: var(--clamp-16sp);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 auto;
  padding-bottom: var(--clamp-32sp);
  padding-left: var(--clamp-40sp);
  position: relative;
  width: 100%;
}

.ec-instructors__h2--body_balloon::after {
  background: url(../../images/instructor/balloon-underline_sp.svg) no-repeat left/cover;
  bottom: 0;
  content: "";
  height: var(--clamp-24sp);
  left: 0;
  position: absolute;
  width: 100%;
}

.ec-instructors__h2--body_main {
  color: var(--white);
  display: block;
  font-size: var(--clamp-16sp);
  font-weight: 700;
  line-height: 2;
  margin: var(--clamp-10sp) auto 0;
  padding: var(--clamp-28sp) 0 var(--clamp-152sp) var(--clamp-18sp);
  position: relative;
  width: 100%;
}

.ec-instructors__h2--body_main::before {
  background: linear-gradient(90deg, #0f7f5d 0%, rgba(187, 220, 227, 0.40) 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.ec-instructors__h2--body_main_strong {
  font-size: 1.25em;
  margin: 0 4px;
  position: relative;
}

.ec-instructors__h2--body_main_strong::before,
.ec-instructors__h2--body_main_strong::after {
  background: var(--orange);
  border-radius: 50%;
  content: "";
  height: 6px;
  position: absolute;
  top: -4px;
  width: 6px;
}

.ec-instructors__h2--body_main_strong::before {
  left: .35em;
}

.ec-instructors__h2--body_main_strong::after {
  right: .35em;
}

@media all and (min-width: 501px) {
  .ec-instructors__h2--body_main::before {
    left: calc((100vw - 500px) / 2 * -1);
    width: 100vw;
  }
}

@media all and (min-width: 744px) {
  .ec-firstview__pat6 {
    margin-top: var(--clamp-10);
  }
  
  .ec-firstview__pat6--title {
    height: clamp(6.25rem, -0.431rem + 14.37vw, 12.5rem);
  }
  
  .ec-firstview__pat6--title_h1 {
    font-size: var(--clamp-40);
    text-shadow: 4px 4px 4px var(--white), -4px -4px 3px var(--white), -4px 4px 3px var(--white), 4px -4px 4px var(--white), 4px 0 4px var(--white), -4px 0 4px var(--white), 0 4px 4px var(--white), 0 -4px 4px var(--white);
  }
  
  .ec-instructors__h2 {
    height: clamp(250px, 4.1px + 33.05vw, 480px);
    margin-top: clamp(26px, 0.4px + 3.45vw, 50px);
    max-width: 1360px;
    width: calc(100% - clamp(42px, 1.4px + 5.46vw, 80px));
  }

  .ec-instructors__h2::before,
  .ec-instructors__h2::after {
    height: clamp(230px, 5.5px + 30.17vw, 440px);
    width: clamp(500px, 8.3px + 66.09vw, 960px);
  }

  .ec-instructors__h2::before {
    top: 0;
    z-index: -1;
  }

  .ec-instructors__h2::after {
    right: calc(clamp(21px, 0.7px + 2.73vw, 40px) * -1);
    z-index: -2;
  }
  
  .ec-instructors__h2--body {
    padding-top: clamp(30px, 2.2px + 3.74vw, 56px);
    width: clamp(374px, 4.1px + 49.71vw, 720px);
  }
  
  .ec-instructors__h2--body_balloon {
    font-size: var(--clamp-20);
    padding-bottom: clamp(17px, -0.1px + 2.3vw, 33px);
    padding-left: clamp(60px, 3.3px + 7.61vw, 113px);
  }

  .ec-instructors__h2--body_balloon::after {
    background: url(../../images/instructor/balloon-underline.svg) no-repeat left/cover;
    height: clamp(12px, 0.2px + 1.58vw, 23px);
  }
  
  .ec-instructors__h2--body_main {
    font-size: clamp(17px, 1px + 2.16vw, 32px);
    line-height: 1.67;
    margin-top: var(--clamp-10);
    padding: clamp(30px, 1.1px + 3.88vw, 57px) clamp(32px, -11.8px + 5.89vw, 73px);
  }

  .ec-instructors__h2--body_main::before {
    left: 0;
    width: 100%;
  }

  .ec-instructors__h2--body_main_strong {
    margin: 0 clamp(4px, 1.9px + 0.29vw, 6px);
  }

  .ec-instructors__h2--body_main_strong::before,
  .ec-instructors__h2--body_main_strong::after {
    height: clamp(6px, -0.4px + 0.86vw, 12px);
    top: calc(clamp(4px, 1.9px + 0.29vw, 6px) * -1);
    width: clamp(6px, -0.4px + 0.86vw, 12px);
  }
}

/* instructor profiles */
.ec-instructors {
  background: linear-gradient(90deg, #bbdbe3 0%, #dbebba 100%);
  display: flex;
  flex-direction: column;
  gap: var(--clamp-44sp);
  margin: var(--clamp-22sp) auto 0;
  padding: var(--clamp-12sp) var(--clamp-12sp) var(--clamp-60sp);
  width: 100%;
}

.ec-instructors__info-wrapper {
  margin: 0 auto;
  max-width: 500px;
}

.ec-instructors__general {
  padding: var(--clamp-44sp) 0 var(--clamp-32sp);
  position: relative;
}

.ec-instructors__general--info {
  background: var(--white);
  height: clamp(80px, 25vw, 125px);
  padding: var(--clamp-8sp) var(--clamp-10sp);
  width: clamp(212px, -1.3px + 66.67vw, 332px);
}

.ec-instructors__general--info_name {
  color: var(--dark-green_3);
  font-size: var(--clamp-16sp);
  font-weight: 700;
}

.ec-instructors__general--info_title {
  font-size: var(--clamp-10sp);
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 1.6;
  margin-top: var(--clamp-5sp);
}

.ec-instructors__general--info_picture {
  height: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: 140px;
  width: var(--clamp-160sp);
}

.ec-instructors__general--info_picture img {
  margin-left: 10px;
  object-fit: cover;
  width: 100%;
}

.ec-instructors__career,
.ec-instructors__performances,
.ec-instructors__profile {
  background: var(--white);
  border-left: var(--clamp-6sp) solid var(--light-green);
  padding: 0 var(--clamp-4sp) var(--clamp-44sp) var(--clamp-8sp);
  position: relative;
}

.ec-instructors__career {
  padding-top: var(--clamp-14sp);
}

.ec-instructors__career--heading,
.ec-instructors__performances--heading,
.ec-instructors__profile--heading {
  color: var(--dark-green_3);
  font-size: var(--clamp-16sp);
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.6;
}

.ec-instructors__career--list,
.ec-instructors__performances--list,
.ec-instructors__profile--text {
  display: flex;
  flex-direction: column;
  font-size: var(--clamp-12sp);
  font-weight: 400;
  gap: .3em;
  margin-top: var(--clamp-12sp);
}

.ec-instructors__career--list,
.ec-instructors__performances--list {
  line-height: 1.25;
}

.ec-instructors__profile--text {
  line-height: 1.4;
}

@media all and (min-width: 744px) {
  .ec-instructors {
    gap: var(--clamp-60);
    margin-top: var(--clamp-80);
    padding: var(--clamp-60) 0 var(--clamp-80);
    width: clamp(686px, 325px + 48.56vw, 1024px);
  }
  
  .ec-instructors__info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--clamp-24);
    max-width: none;
    padding-top: var(--clamp-100);
    position: relative;
  }
  
  .ec-instructors__general {
    height: calc(100% - clamp(161px, 76.5px + 11.35vw, 240px));
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - clamp(375px, 177px + 26.58vw, 560px));
  }
  
  .ec-instructors__general--info {
    bottom: clamp(50px, 1.9px + 6.47vw, 95px);
    height: auto;
    padding: var(--clamp-20);
    position: absolute;
    right: var(--clamp-20);
    width: clamp(240px, 213px + 3.59vw, 265px);
  }
  
  .ec-instructors__general--info_name {
    font-size: var(--clamp-24);
  }
  
  .ec-instructors__general--info_title {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    height: 45px;
    justify-content: center;
    margin-top: var(--clamp-16);
  }
  
  .ec-instructors__general--info_picture {
    position: static;
    width: 100%;
  }

  .ec-instructors__general--info_picture img {
    margin-left: 0;
  }
  
  .ec-instructors__career,
  .ec-instructors__performances,
  .ec-instructors__profile {
    border-left-width: var(--clamp-20);
    height: clamp(161px, 76.5px + 11.35vw, 240px);
    padding: var(--clamp-20);
  }

  .ec-instructors__career,
  .ec-instructors__performances {
    width: clamp(375px, 177px + 26.58vw, 560px);
  }

  .ec-instructors__profile {
    width: 100%; 
  }
  
  .ec-instructors__career--heading,
  .ec-instructors__performances--heading,
  .ec-instructors__profile--heading {
    font-size: var(--clamp-f16);
  }

  .ec-instructors__career--list,
  .ec-instructors__performances--list,
  .ec-instructors__profile--text {
    font-size: var(--clamp-f14);
    height: calc(100% - var(--clamp-f16) * 1.6);
    justify-content: center;
    margin-top: 0;
  }

  .ec-instructors__profile--text {
    line-height: 1.6;
  }
}

/* advantages */
.ec-advantages {
  background: var(--beige);
  padding: var(--clamp-40sp) 0 var(--clamp-64sp);
}

.ec-advantages__h2 {
  color: var(--dark-green_3);
  font-size: var(--clamp-16sp);
  font-weight: 700;
  line-height: 1.46;
  text-align: center;
}

.ec-advantages__list-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--clamp-34sp);
  margin: var(--clamp-34sp) auto 0;
  max-width: 500px;
  width: calc(100% - var(--clamp-26sp));
}

.ec-advantages__list {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.ec-advantages__list:nth-of-type(even) {
  justify-content: flex-end;
}

.ec-advantages__num {
  height: clamp(88px, -0.9px + 27.78vw, 138px);
  width: calc(100% - clamp(162px, 0.2px + 50.56vw, 253px));
}

.ec-advantages__list:nth-of-type(odd) .ec-advantages__num {
  order: 2;
  padding: 0 clamp(4.3px, 1.33vw, 6.7px) 0 clamp(17px, 5.33vw, 26.6px);
}

.ec-advantages__list:nth-of-type(even) .ec-advantages__num {
  order: 1;
  padding: 0 clamp(13px, 0.6px + 3.89vw, 20px) 0 clamp(8.5px, 0.5px + 2.5vw, 13px);
}

.ec-advantages__num--point {
  width: clamp(47px, 0.8px + 14.44vw, 73px);
}

.ec-advantages__num--number {
  margin-left: auto;
  width: clamp(91px, 0.3px + 28.33vw, 142px);
}

.ec-advantages__num--point img,
.ec-advantages__num--number img {
  object-fit: contain;
  width: 100%;
}

.ec-advantages__eyecatch {
  font-size: 0;
  height: clamp(116px, 2.2px + 35.56vw, 180px);
  width: clamp(162px, 0.2px + 50.56vw, 253px);
}

.ec-advantages__list:nth-of-type(odd) .ec-advantages__eyecatch {
  order: 1;
}

.ec-advantages__list:nth-of-type(even) .ec-advantages__eyecatch {
  order: 2;
}

.ec-advantages__eyecatch img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ec-advantages__body {
  background: var(--white);
  border-radius: var(--clamp-20sp);
  box-shadow: 0px 4px 4px rgba(0,0,0,.06), 4px 4px 4px rgba(0,0,0,.06);
  height: clamp(245px, -0.3px + 76.67vw, 383px);
  margin-top: var(--clamp-12sp);
  order: 3;
  width: 100%;
}

.ec-advantages__body--deco-img {
  display: none;
}

.ec-advantages__body--main {
  padding-top: var(--clamp-52sp);
}

.ec-advantages__body--main_h3 {
  color: var(--dark-green_3);
  font-size: var(--clamp-16sp);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.ec-advantages__body--main_text {
  font-size: var(--clamp-16sp);
  font-weight: 400;
  line-height: 1.44;
  margin-top: var(--clamp-34sp);
  padding: 0 var(--clamp-24sp);
}

@media all and (min-width: 744px) {
  .ec-advantages {
    margin-top: var(--clamp-80);
    padding: var(--clamp-80) 0 var(--clamp-160);
  }
  
  .ec-advantages__h2 {
    font-size: var(--clamp-24);
  }
  
  .ec-advantages__list-wrapper {
    gap: var(--clamp-160);
    margin-top: var(--clamp-80);
    max-width: none;
    width: clamp(686px, 325px + 48.56vw, 1024px);
  }
  
  .ec-advantages__list {
    align-items: flex-start;
    height: clamp(411px, 194px + 29.17vw, 614px);
  }
  
  .ec-advantages__num {
    bottom: clamp(121px, 57.9px + 8.48vw, 180px);
    height: clamp(140px, 70.5px + 9.34vw, 205px);
    position: absolute;
    width: clamp(149px, 71px + 10.49vw, 222px);
  }

  .ec-advantages__list:nth-of-type(odd) .ec-advantages__num {
    padding: 0;
    right: 0;
    order: 0;
  }

  .ec-advantages__list:nth-of-type(even) .ec-advantages__num {
    padding: 0;
    left: 0;
    order: 0;
  }
  
  .ec-advantages__num--point {
    width: clamp(74px, 36px + 5.17vw, 110px);
  }
  
  .ec-advantages__num--number {
    margin-left: 0;
    padding: 0 var(--clamp-12);
    width: 100%;
  }
  
  .ec-advantages__eyecatch {
    height: clamp(326px, 155px + 22.99vw, 486px);
    width: clamp(523px, 247px + 37.07vw, 781px);
  }

  .ec-advantages__list:nth-of-type(odd) .ec-advantages__eyecatch,
  .ec-advantages__list:nth-of-type(even) .ec-advantages__eyecatch {
    order: 0;
  }
  
  .ec-advantages__body {
    align-items: center;
    bottom: 0;
    display: flex;
    height: clamp(121px, 57.9px + 8.48vw, 180px);
    justify-content: space-between;
    order: 0;
    padding: 0 var(--clamp-20) 0 var(--clamp-16);
    position: absolute;
    width: clamp(532px, 252px + 37.64vw, 794px);
  }

  .ec-advantages__list:nth-of-type(odd) .ec-advantages__body {
    right: 0;
  }

  .ec-advantages__list:nth-of-type(even) .ec-advantages__body {
    left: 0;
  }
  
  .ec-advantages__body--deco-img {
    display: block;
    font-size: 0;
    height: clamp(64px, 29.8px + 4.6vw, 96px);
    width: clamp(107px, 50.4px + 7.61vw, 160px);
  }

  .ec-advantages__body--deco-img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  
  .ec-advantages__body--main {
    padding-top: 0;
    width: clamp(394px, 187px + 27.87vw, 588px);
  }
  
  .ec-advantages__body--main_h3 {
    font-size: var(--clamp-f20);
    text-align: left;
  }

  .ec-advantages__body--main_text {
    font-size: var(--clamp-f16);
    margin-top: var(--clamp-18);
    padding: 0;
  }
}