@charset "utf-8";
/* CSS Document */


/* ---------- lesson ---------- */

.lesson_boxwrap {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.lesson_box {
  gap: 70px;
  align-items: center;
}

.lesson_box:nth-child(odd) {
  flex-direction: row-reverse;
}

.lesson_box .imgbox {
  width: 48%;
  flex-shrink: 0;
}

.lesson_box .imgbox img {
  width: 100%;
  aspect-ratio: 520 / 350;
  object-fit: cover;
  display: block;
}

.lesson_box .txtbox {
  flex: 1;
}

.lesson_title .num {
  font-weight: 700;
  line-height: 1;
}

.lesson_title h3 {
  color: #555555;
  font-weight: 700;
  line-height: 1.5;
}

.lesson_box .txtbox > p {
  color: #555555;
  line-height: 1.9;
}


/* ---------- instructor ---------- */


.instructor_boxwrap {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.instructor_box {
  position: relative;
  gap: 55px;
  align-items: flex-start;
  padding-right: 34px;
  flex-direction: row-reverse;
}

.instructor_box .imgbox {
  width: 33%;
  flex-shrink: 0;
}

.instructor_box .imgbox img {
  width: 100%;
  aspect-ratio: 360 / 360;
  object-fit: cover;
  display: block;
}

.instructor_box .txtbox {
  flex: 1;
  padding: 35px 42px;
  background: #ffffff;
  border-radius: 6px;
}

.namebox {
  margin-top: 18px;
}

.namebox p {
  margin-bottom: 4px;
  color: #555555;
  line-height: 1.5;
}

.namebox h3 {
  color: #555555;
  font-weight: 700;
  line-height: 1.5;
}

.profile_item {
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.profile_item:first-child {
  padding-top: 0;
}

.profile_item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.profile_title {
  width: 155px;
  flex-shrink: 0;
}

.profile_title p {
  position: relative;
  padding-left: 16px;
  color: #555555;
  font-weight: 700;
  line-height: 1.7;
}

.profile_title p::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  background: #7ac943;
  border-radius: 50%;
}

.profile_txt {
  flex: 1;
}

.profile_txt p {
  color: #555555;
  line-height: 1.7;
}

.en_name {
  position: absolute;
  top: 0;
  right: 0;
  writing-mode: vertical-rl;
}

.en_name p {
  color: #7ac943;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}


/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}

/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {
}

/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {
  .lesson_box {
    gap: 45px;
  }

  .instructor_box {
    gap: 40px;
  }

  .instructor_box .txtbox {
    padding: 30px 32px;
  }

  .profile_title {
    width: 135px;
  }
}

/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {


  .lesson_boxwrap {
    gap: 60px;
  }

  .lesson_box,
  .lesson_box:nth-child(even) {
    flex-direction: column;
    gap: 28px;
  }

  .lesson_box .imgbox,
  .lesson_box .txtbox {
    width: 100%;
  }

  #cate2 {
    padding: 60px 0 90px;
  }

  .instructor_box {
    flex-direction: column;
    padding-right: 0;
	  gap: 0;
  }

  .instructor_box .imgbox {
    width: 100%;
    margin-bottom: 10px;
	  order: 1;
  }

  .instructor_box .txtbox {
    width: 100%;
	  order: 3;
  }

  .en_name {
    position: static;
    margin-top: 14px;
    writing-mode: initial;
	  order: 2;
	  margin-top: 0;
	  margin-bottom: 20px;
  }

  .profile_title {
    width: 150px;
  }
}

/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {


  .lesson_boxwrap {
    gap: 48px;
  }

  .lesson_title {
    gap: 14px;
    margin-bottom: 18px;
  }



  .instructor_boxwrap {
    gap: 60px;
  }

  .instructor_box .txtbox {
    padding: 25px 20px;
  }

  .profile_item {
    display: block;
    padding: 14px 0;
  }

  .profile_title {
    width: auto;
    margin-bottom: 6px;
  }

  .namebox {
    margin-top: 14px;
  }
}

/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {


  .instructor_box .txtbox {
    padding: 22px 16px;
  }
}