.tei-title {
  margin: 0 0 75px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.1em;
}
.tei-title .tei-en {
  display: block;
  margin: 25px auto 0;
  font-family: 'Rubik', sans-serif;
  letter-spacing: 0.3em;
  font-size: 20px;
}
@media (max-width: 767.98px) {
  .tei-title {
    margin: 0 0 40px;
    font-size: 21px;
  }
  .tei-title .tei-en {
    margin: 15px auto 0;
    font-size: 14px;
  }
}

.tei-subtitle {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.2em;
}
@media (max-width: 767.98px) {
  .tei-subtitle {
    font-size: 14px;
  }
}

/* top
-----------------------------------------------------------------------------*/
#tei-top {
  margin-bottom: 15px;
  text-align: center;
}
#tei-top + .tei-bg {
  border-radius: 45px 45px 0 0;
}
@media (max-width: 767.98px) {
  #tei-top {
    margin-bottom: 10px;
  }
  #tei-top + .tei-bg {
    border-radius: 20px 20px 0 0;
  }
}
#tei-top .slick-slide img {
  margin: 0 auto;
}
#tei-top .slick-dots {
  bottom: 35px;
}
#tei-top .slick-dots li {
  margin: 0 10px;
}
#tei-top .slick-dots li button:before {
  color: #fff;
  opacity: 1;
  font-size: 12px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}
#tei-top .slick-dots li.slick-active button:before {
  color: #92D2DC;
}

#tei-lead {
  padding-top: 90px;
  padding-bottom: 105px;
  line-height: 2.5;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 767.98px) {
  #tei-lead {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    line-height: 2;
    font-size: 14px;
  }
}

/* news
-----------------------------------------------------------------------------*/
#tei-news .tei-title {
  font-family: 'Rubik', sans-serif;
  text-align: center;
  margin-bottom: 45px;
  font-size: 28px;
  letter-spacing: 0.3em;
  color: #92D2DC;
}
@media (max-width: 767.98px) {
  #tei-news .tei-title {
    font-size: 14px;
    margin-bottom: 15px;
  }
}
#tei-news .tei-category a,
#tei-news .tei-cat {
  width: 5.5em;
  padding: 7px 0;
  line-height: 1;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  text-align: center;
}
@media (max-width: 767.98px) {
  #tei-news .tei-category a,
  #tei-news .tei-cat {
    padding: 1em 0;
    border-radius: 3px;
    width: 100%;
  }
}
#tei-news .tei-category {
  justify-content: center;
}
@media (max-width: 767.98px) {
  #tei-news .tei-category {
    margin: 0 -8px;
  }
}
@media (min-width: 768px) {
  #tei-news .tei-category {
    margin: 0 -15px;
  }
}
@media (max-width: 767.98px) {
  #tei-news .tei-category li {
    padding: 8px;
  }
}
@media (min-width: 768px) {
  #tei-news .tei-category li {
    max-width: 6em;
    margin: 0 15px;
  }
}
#tei-news .tei-category li a {
  display: block;
}
#tei-news .tei-category li a:hover {
  opacity: 0.8;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#tei-news .tei-category li.tei-all a {
  background-color: #F5B090;
}
#tei-news .tei-category li.tei-juken a {
  background-color: #92D2DC;
}
#tei-news .tei-category li.tei-ippan a {
  background-color: #FDD23E;
}
#tei-news .tei-category li.tei-zaigaku a {
  background-color: #A0D670;
}
#tei-news .tei-list .tei-text .tei-cat.candidates {
  background-color: #92D2DC;
}
#tei-news .tei-list .tei-text .tei-cat.public {
  background-color: #FDD23E;
}
#tei-news .tei-list .tei-text .tei-cat.student {
  background-color: #A0D670;
}
#tei-news .tei-list {
  max-width: 880px;
  margin: 45px auto 0;
  border-top: 1px solid #92D2DC;
}
#tei-news .tei-list li {
  border-bottom: 1px solid #92D2DC;
}
#tei-news .tei-list a {
  display: block;
  align-items: center;
  color: #646464;
  text-decoration: none;
  padding: 10px 15px;
}
#tei-news .tei-list a:hover {
  opacity: 0.8;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
@media (max-width: 767.98px) {
  #tei-news .tei-list a {
    padding: 10px 0;
  }
}
#tei-news .tei-list .tei-img {
  flex-shrink: 0;
  width: 220px;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  #tei-news .tei-list .tei-img {
    width: 130px;
    border-radius: 10px;
  }
}
#tei-news .tei-list .tei-text {
  flex: 1 1 auto;
  padding: 20px 0 20px 80px;
  line-height: 1.8;
}
#tei-news .tei-list .tei-text .tei-cat {
  display: inline-block;
}
#tei-news .tei-list .tei-text .tei-cat.tei-all {
  background-color: #F5B090;
}
#tei-news .tei-list .tei-text .tei-cat.tei-juken {
  background-color: #92D2DC;
}
#tei-news .tei-list .tei-text .tei-cat.tei-ippan {
  background-color: #FDD23E;
}
#tei-news .tei-list .tei-text .tei-cat.tei-zaigaku {
  background-color: #A0D670;
}
#tei-news .tei-list .tei-text .tei-date {
  display: inline-block;
  font-size: 18px;
  margin-left: 30px;
  letter-spacing: 0.2em;
}
#tei-news .tei-list .tei-text .tei-tit {
  margin: 10px 0 20px;
}
#tei-news .tei-list .tei-text .tei-tag span + span {
  margin-left: 2em;
}
@media (max-width: 767.98px) {
  #tei-news .tei-list .tei-text {
    padding: 10px 0 0;
  }
  #tei-news .tei-list .tei-text .tei-cat {
    width: 5em;
    padding: 5px 0;
  }
  #tei-news .tei-list .tei-text .tei-date {
    font-size: 14px;
  }
  #tei-news .tei-list .tei-text .tei-tit {
    margin: 10px 0;
  }
}
#tei-news .tei-btn a {
  margin-top: 50px;
  background-color: #92D2DC;
}
@media (max-width: 767.98px) {
  #tei-news .tei-btn a {
    margin-top: 30px;
  }
}

/* features
-----------------------------------------------------------------------------*/
#tei-features {
  margin-top: 190px;
}
@media (max-width: 767.98px) {
  #tei-features {
    margin-top: 85px;
  }
}
@media (max-width: 767.98px) {
  #tei-features .tei-title {
    padding-top: 65px;
  }
}
#tei-features .tei-title .tei-jp {
  position: relative;
}
#tei-features .tei-title .tei-jp::before, #tei-features .tei-title .tei-jp::after {
  content: "";
  display: block;
  position: absolute;
  top: -50px;
  width: 100px;
  height: 100px;
  background-image: url("../images/common/icn-tree.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#tei-features .tei-title .tei-jp::before {
  left: -6em;
}
#tei-features .tei-title .tei-jp::after {
  right: -6em;
}
@media (max-width: 767.98px) {
  #tei-features .tei-title .tei-jp::before {
    width: 50px;
    height: 50px;
    left: 50%;
    top: -65px;
    margin-left: -25px;
  }
  #tei-features .tei-title .tei-jp::after {
    display: none;
  }
}
#tei-features .tei-title .tei-en {
  color: #A0D670;
}

#tei-education .tei-subtitle {
  margin-bottom: 40px;
  padding-top: 45px;
  background-image: url("../images/common/icn-bud.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 30px auto;
}
@media (max-width: 767.98px) {
  #tei-education .tei-subtitle {
    margin-bottom: 20px;
  }
}
@media (min-width: 992px) {
  #tei-education .d-lg-flex {
    width: calc(100% - 80px);
    margin: 0 -20px;
  }
  #tei-education .d-lg-flex > div {
    margin: 0 20px;
  }
}
@media (max-width: 991.98px) {
  #tei-education .d-lg-flex > div:not(:last-child) {
    margin-bottom: 15px;
  }
}
#tei-education .d-lg-flex .tei-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #7ABB40;
  border-radius: 45px;
  color: #fff;
  width: 245px;
  height: 80px;
  text-decoration: none;
  letter-spacing: 0.5em;
}
@media (max-width: 991.98px) {
  #tei-education .d-lg-flex .tei-inner {
    margin: 0 auto;
    border-radius: 20px;
    letter-spacing: 0.2em;
  }
}
@media (min-width: 768px) {
  #tei-education .d-lg-flex .tei-inner {
    width: 280px;
    height: 190px;
  }
}
@media (min-width: 992px) {
  #tei-education .d-lg-flex .tei-inner {
    width: 100%;
  }
}
#tei-education .d-lg-flex .tei-inner span {
  position: relative;
  text-align: center;
  font-size: 30px;
  padding-top: 70px;
  line-height: 1.5em;
  background-repeat: no-repeat;
  background-size: 60px auto;
  background-position: center 25px;
}
@media (max-width: 1199.98px) {
  #tei-education .d-lg-flex .tei-inner span {
    font-size: 21px;
  }
}
@media (max-width: 767.98px) {
  #tei-education .d-lg-flex .tei-inner span {
    background-size: 30px auto;
    padding-top: 23px;
    line-height: 1;
    background-position: center top;
  }
}
#tei-education .d-lg-flex .tei-kokoro .tei-inner span {
  background-image: url("../images/top/icn-education01.png");
}
#tei-education .d-lg-flex .tei-hoiku .tei-inner {
  background-color: #88C162;
}
#tei-education .d-lg-flex .tei-hoiku .tei-inner span {
  background-image: url("../images/top/icn-education02.png");
}
#tei-education .d-lg-flex .tei-needs .tei-inner span {
  background-image: url("../images/top/icn-education03.png");
}
#tei-education .d-lg-flex .tei-kokoro .tei-inner span,
#tei-education .d-lg-flex .tei-hoiku .tei-inner span {
  line-height: 3.5em;
}
@media (max-width: 767.98px) {
  #tei-education .d-lg-flex .tei-kokoro .tei-inner span,
  #tei-education .d-lg-flex .tei-hoiku .tei-inner span {
    line-height: 2em;
  }
}
#tei-education .tei-btn {
  margin-top: 50px;
  margin-bottom: 120px;
}
#tei-education .tei-btn a {
  background-color: #A0D670;
}
@media (max-width: 767.98px) {
  #tei-education .tei-btn {
    margin: 35px auto 90px;
  }
}

#tei-charm .tei-subtitle {
  margin-bottom: 40px;
  padding-top: 65px;
  background-image: url("../images/common/icn-clover.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 35px auto;
}
@media (max-width: 767.98px) {
  #tei-charm .tei-subtitle {
    padding-top: 45px;
    background-size: 25px auto;
  }
}
#tei-charm .tei-item {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 20px;
  display: flex;
}
@media (max-width: 767.98px) {
  #tei-charm .tei-item {
    padding-bottom: 50px;
  }
}
#tei-charm .tei-img {
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  #tei-charm .tei-img {
    width: 110px;
    padding-top: 15px;
  }
}
#tei-charm .tei-text {
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  #tei-charm .tei-text {
    padding-top: 50px;
  }
}
@media (min-width: 768px) {
  #tei-charm .tei-wrap {
    display: flex;
  }
}
#tei-charm .tei-num {
  font-family: 'Rubik', sans-serif;
  color: #7ABB40;
  font-size: 49px;
  line-height: 1;
}
@media (max-width: 991.98px) {
  #tei-charm .tei-num {
    font-size: 30px;
  }
}
#tei-charm .tei-tit {
  margin-left: 35px;
  padding-top: 5px;
  font-size: 30px;
  color: #7ABB40;
  letter-spacing: 0.13em;
}
@media (max-width: 991.98px) {
  #tei-charm .tei-tit {
    font-size: 21px;
    margin-left: 0;
    margin-top: 10px;
    letter-spacing: 0;
    padding-top: 0;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #tei-charm .tei-tit {
    margin-top: 0;
    margin-left: 30px;
  }
}
#tei-charm .tei-btn {
  margin-top: 10px;
}
@media (max-width: 767.98px) {
  #tei-charm .tei-btn {
    width: 170px;
    margin: 10px 0 0;
  }
}
#tei-charm .tei-btn a {
  background-color: #83D43A;
}
#tei-charm .tei-item01, #tei-charm .tei-item03, #tei-charm .tei-item05 {
  max-width: 720px;
}
#tei-charm .tei-item01::after, #tei-charm .tei-item03::after, #tei-charm .tei-item05::after {
  content: "";
  display: block;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}
#tei-charm .tei-item01::after, #tei-charm .tei-item05::after {
  right: -180px;
  top: 65px;
  width: 133.47px;
  height: 115.64px;
  background-image: url("../images/common/icn-flowers-orange.png");
}
@media (max-width: 1199.98px) {
  #tei-charm .tei-item01::after, #tei-charm .tei-item05::after {
    right: 0;
    top: -65px;
    width: 54px;
    height: 47px;
  }
}
@media (min-width: 768px) {
  #tei-charm .tei-item02, #tei-charm .tei-item04, #tei-charm .tei-item06 {
    padding-left: 30px;
  }
  #tei-charm .tei-item02 .tei-text, #tei-charm .tei-item04 .tei-text, #tei-charm .tei-item06 .tei-text {
    padding-left: 25px;
  }
}
#tei-charm .tei-item02 {
  max-width: 930px;
}
@media (max-width: 767.98px) {
  #tei-charm .tei-item02 .tei-img {
    width: 130px;
  }
}
#tei-charm .tei-item03::after {
  left: -190px;
  top: 65px;
  width: 131.14px;
  height: 134.57px;
  background-image: url("../images/common/icn-flowers-yellow.png");
}
@media (max-width: 1199.98px) {
  #tei-charm .tei-item03::after {
    width: 59px;
    height: 61px;
    left: -80px;
    top: 0;
  }
}
@media (max-width: 991.98px) {
  #tei-charm .tei-item03::after {
    top: -15px;
    left: 20px;
  }
}
@media (max-width: 767.98px) {
  #tei-charm .tei-item03::after {
    top: -80px;
  }
}
@media (max-width: 767.98px) {
  #tei-charm .tei-item03 .tei-img {
    width: 100px;
    padding-top: 0;
  }
}
#tei-charm .tei-item04 {
  max-width: 800px;
}
@media (min-width: 768px) {
  #tei-charm .tei-item04 {
    padding-left: 0;
  }
}
@media (max-width: 767.98px) {
  #tei-charm .tei-item04 .tei-img {
    padding-top: 0;
  }
}
#tei-charm .tei-item05 {
  max-width: 800px;
}
@media (min-width: 768px) {
  #tei-charm .tei-item05 {
    margin-top: -30px;
  }
  #tei-charm .tei-item05 .tei-text {
    padding-top: 140px;
  }
}
#tei-charm .tei-item05::after {
  top: -100px;
  right: -140px;
}
@media (max-width: 1199.98px) {
  #tei-charm .tei-item05::after {
    top: -40px;
    right: 10px;
    width: 45px;
  }
}
@media (min-width: 768px) {
  #tei-charm .tei-item06 {
    margin-top: 40px;
  }
}
@media (max-width: 767.98px) {
  #tei-charm .tei-item06 .tei-img {
    padding-right: 10px;
    width: 130px;
  }
}

#tei-course {
  overflow: hidden;
  margin: 0 -30px;
  padding: 0 30px;
}
@media (max-width: 767.98px) {
  #tei-course {
    margin: 0 -10px;
    padding: 0 10px;
  }
}
#tei-course .tei-title {
  position: relative;
}
@media (max-width: 767.98px) {
  #tei-course .tei-title {
    margin-top: 50px;
  }
}
@media (min-width: 768px) {
  #tei-course .tei-title {
    padding-top: 280px;
  }
}
#tei-course .tei-title::after {
  content: "";
  display: block;
  position: absolute;
  right: 50%;
  top: 160px;
  background-image: url("../images/top/course-img.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 313px;
  height: 198px;
  -webkit-transform: translate(-150px, 0);
  transform: translate(-150px, 0);
}
@media (max-width: 767.98px) {
  #tei-course .tei-title::after {
    width: 98px;
    height: 61px;
    top: -25px;
    -webkit-transform: translate(-55px, 0);
    transform: translate(-55px, 0);
  }
}
#tei-course .tei-title .tei-en {
  color: #F5B090;
}
#tei-course .tei-item {
  position: relative;
}
#tei-course .tei-item::after {
  content: "";
  display: block;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}
#tei-course .tei-item .tei-wrap {
  position: relative;
  z-index: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
@media (min-width: 768px) {
  #tei-course .tei-item .tei-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 45px;
    height: 500px;
    overflow: hidden;
  }
}
#tei-course .tei-item .tei-text {
  color: #fff;
}
@media (min-width: 768px) {
  #tei-course .tei-item .tei-text {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
#tei-course .tei-item .tei-text .tei-subtitle {
  font-size: 34px;
  padding-right: 40px;
  letter-spacing: 0;
}
@media (max-width: 767.98px) {
  #tei-course .tei-item .tei-text .tei-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    padding-right: 0;
    height: 200px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
#tei-course .tei-item .tei-text p {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  #tei-course .tei-item .tei-text p {
    margin: 1em 1.5em;
    color: #646464;
  }
}
@media (min-width: 768px) {
  #tei-course .tei-item .tei-btn {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 45px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
}
#tei-course .tei-item#tei-hoiku {
  margin-bottom: 40px;
}
#tei-course .tei-item#tei-hoiku::after {
  bottom: 170px;
  left: -270px;
  width: 623px;
  height: 86px;
  background-image: url("../images/top/course-bg01.png");
}
@media (max-width: 767.98px) {
  #tei-course .tei-item#tei-hoiku::after {
    background-image: url("../images/top/course-bg02.png");
    width: 170px;
    left: -30px;
    bottom: auto;
    top: 65px;
  }
}
#tei-course .tei-item#tei-hoiku .tei-btn a {
  background-color: #FDD23E;
}
@media (min-width: 768px) {
  #tei-course .tei-item#tei-hoiku .tei-wrap {
    background-image: url("../images/top/course-hoiku.jpg");
  }
}
@media (max-width: 767.98px) {
  #tei-course .tei-item#tei-hoiku .tei-wrap .tei-subtitle {
    background-image: url("../images/top/course-hoiku_sp.jpg");
  }
}
#tei-course .tei-item#tei-fukushi::after {
  top: 150px;
  right: -260px;
  width: 623px;
  height: 207px;
  background-image: url("../images/top/course-bg02.png");
}
@media (max-width: 767.98px) {
  #tei-course .tei-item#tei-fukushi::after {
    top: 50px;
    right: -30px;
    width: 300px;
  }
}
#tei-course .tei-item#tei-fukushi .tei-btn a {
  background-color: #A0D670;
}
@media (min-width: 768px) {
  #tei-course .tei-item#tei-fukushi .tei-wrap {
    background-image: url("../images/top/course-fukushi.jpg");
  }
}
@media (max-width: 767.98px) {
  #tei-course .tei-item#tei-fukushi .tei-wrap .tei-subtitle {
    background-image: url("../images/top/course-fukushi_sp.jpg");
  }
}

#tei-voice {
  overflow: hidden;
  margin: 0 -30px;
  padding: 0 30px;
}
@media (max-width: 767.98px) {
  #tei-voice {
    margin: 0 -10px;
    padding: 0 10px;
  }
}
#tei-voice .tei-title {
  position: relative;
  padding-top: 190px;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-title {
    padding-top: 90px;
  }
}
#tei-voice .tei-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 170px;
  background-image: url("../images/top/voide-img.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 127px;
  height: 120px;
  -webkit-transform: translate(200px, 0);
  transform: translate(200px, 0);
}
@media (max-width: 767.98px) {
  #tei-voice .tei-title::after {
    width: 50px;
    top: 65px;
    -webkit-transform: translate(95px, 0);
    transform: translate(95px, 0);
  }
}
#tei-voice .tei-title .tei-en {
  color: #F5B090;
}
#tei-voice .tei-carousel {
  position: relative;
  margin-bottom: 60px;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel {
    margin: 0 -25px 20px;
  }
}
#tei-voice .tei-carousel::before, #tei-voice .tei-carousel::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("../images/top/voice-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 308px;
  height: 246px;
  z-index: 0;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel::before, #tei-voice .tei-carousel::after {
    width: 120px;
    height: 95px;
  }
}
#tei-voice .tei-carousel::before {
  left: -110px;
  top: -60px;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel::before {
    left: -35px;
    top: auto;
    bottom: -30px;
  }
}
#tei-voice .tei-carousel::after {
  right: -180px;
  bottom: -90px;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel::after {
    right: -70px;
    bottom: -30px;
  }
}
#tei-voice .tei-carousel .slick-list {
  z-index: 1;
}
#tei-voice .tei-carousel a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #646464;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel a {
    padding: 5px;
  }
}
#tei-voice .tei-carousel a:hover {
  opacity: 0.9;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#tei-voice .tei-carousel .tei-img {
  overflow: hidden;
  border-radius: 45px;
  margin-bottom: 10px;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel .tei-img {
    border-radius: 20px;
    margin-bottom: 5px;
  }
}
#tei-voice .tei-carousel .tei-name {
  text-align: center;
}
#tei-voice .tei-carousel .tei-name span:first-child {
  display: inline-block;
  margin-right: 2em;
}
#tei-voice .tei-carousel .tei-name span:first-child.tei-zaiko {
  color: #A0D670;
}
#tei-voice .tei-carousel .tei-name span:first-child.tei-sotsugyo {
  color: #FDD23E;
}
#tei-voice .tei-carousel .tei-name span:first-child.tei-teacher {
  color: #92D2DC;
}
@media (max-width: 767.98px) {
  #tei-voice .tei-carousel .tei-name {
    font-size: 13px;
  }
  #tei-voice .tei-carousel .tei-name span:first-child {
    margin-right: 0.5em;
  }
}
#tei-voice .tei-btn a {
  position: relative;
  background-color: #F5B090;
}
#tei-voice .slick-prev,
#tei-voice .slick-next {
  width: 55px;
  height: 55px;
  background-color: #F5B090;
  border-radius: 50%;
  z-index: 2;
  margin-top: -10px;
}
@media (max-width: 767.98px) {
  #tei-voice .slick-prev,
  #tei-voice .slick-next {
    width: 32px;
    height: 32px;
    margin-top: -20px;
  }
}
#tei-voice .slick-prev:hover,
#tei-voice .slick-next:hover {
  opacity: 0.9;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#tei-voice .slick-prev {
  margin-left: 15px;
}
@media (max-width: 767.98px) {
  #tei-voice .slick-prev {
    margin-left: 40px;
  }
}
#tei-voice .slick-next {
  margin-right: 15px;
}
@media (max-width: 767.98px) {
  #tei-voice .slick-next {
    margin-right: 40px;
  }
}
#tei-voice .slick-prev:before,
#tei-voice .slick-next:before {
  position: absolute;
  left: 50%;
  top: 50%;
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  margin-top: -10px;
}
@media (max-width: 767.98px) {
  #tei-voice .slick-prev:before,
  #tei-voice .slick-next:before {
    width: 10px;
    height: 10px;
    border-right-width: 2px;
    border-top-width: 2px;
    margin-top: -5px;
  }
}
#tei-voice .slick-prev:before {
  margin-left: -7.5px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
@media (max-width: 767.98px) {
  #tei-voice .slick-prev:before {
    margin-left: -3px;
  }
}
#tei-voice .slick-next:before {
  margin-left: -15px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
@media (max-width: 767.98px) {
  #tei-voice .slick-next:before {
    margin-left: -7px;
  }
}

#tei-life {
  overflow: hidden;
  margin: 0 -30px;
  padding: 0 30px;
}
@media (max-width: 767.98px) {
  #tei-life {
    margin: 0 -10px;
    padding: 0 10px;
  }
}
#tei-life .container-fluid {
  padding-top: 160px;
  padding-bottom: 190px;
}
@media (max-width: 767.98px) {
  #tei-life .container-fluid {
    padding-top: 90px;
    padding-bottom: 80px;
  }
}
@media (max-width: 767.98px) {
  #tei-life .tei-title {
    position: relative;
  }
  #tei-life .tei-title::before {
    content: "";
    display: block;
    position: absolute;
    background-image: url("../images/top/life-img.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 35px;
    height: 70px;
    left: 50%;
    margin-left: -7em;
    top: -10px;
    z-index: 1;
  }
}
#tei-life .tei-title .tei-en {
  color: #F5B090;
}
@media (max-width: 767.98px) {
  #tei-life .tei-img {
    position: relative;
  }
  #tei-life .tei-img img {
    position: relative;
    z-index: 1;
  }
  #tei-life .tei-img::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../images/top/life-bg.png");
    width: 170px;
    height: 90px;
    right: -80px;
    top: -30px;
    z-index: 0;
  }
}
#tei-life .tei-item {
  position: relative;
  z-index: 0;
}
@media (min-width: 768px) {
  #tei-life .tei-item::before, #tei-life .tei-item::after {
    content: "";
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
  }
  #tei-life .tei-item::before {
    background-image: url("../images/top/life-img.png");
    width: 126px;
    height: 242px;
    left: -15px;
    bottom: -110px;
    z-index: 1;
  }
  #tei-life .tei-item::after {
    background-image: url("../images/top/life-bg.png");
    width: 390px;
    height: 312px;
    right: -100px;
    top: -90px;
    z-index: -1;
  }
}
#tei-life .tei-item a {
  position: relative;
  display: block;
  text-decoration: none;
  color: #646464;
}
@media (min-width: 768px) {
  #tei-life .tei-item a {
    height: 470px;
    background-image: url("../images/top/life-photo.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #fff;
  }
}
#tei-life .tei-item a:hover {
  opacity: 0.9;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#tei-life .tei-item .tei-text {
  line-height: 1.8;
}
@media (max-width: 767.98px) {
  #tei-life .tei-item .tei-text {
    text-align: center;
    padding: 20px;
  }
}
@media (min-width: 768px) {
  #tei-life .tei-item .tei-text {
    position: absolute;
    font-size: 20px;
    text-shadow: 1px 1px 3px #666;
    left: 95px;
    top: 65px;
  }
}
@media (min-width: 768px) {
  #tei-life .tei-item .tei-btn {
    position: absolute;
    bottom: 65px;
    left: 0;
    width: 100%;
  }
}
#tei-life .tei-item .tei-btn span {
  background-color: #F5B090;
}

#tei-sns .tei-title {
  font-family: 'Rubik', sans-serif;
  padding-top: 100px;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  #tei-sns .tei-title {
    margin-bottom: 10px;
  }
}
#tei-sns .tei-tit {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  font-weight: bold;
}
#tei-sns .tei-tit img {
  width: 40px;
  margin-right: 20px;
  vertical-align: sub;
}
@media (max-width: 767.98px) {
  #tei-sns .tei-tit img {
    width: 30px;
    margin-right: 10px;
  }
}
#tei-sns .tei-tit p {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
  #tei-sns .tei-tit {
    font-size: 25px;
  }
  #tei-sns .tei-tit p {
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 0;
  }
}
@media (min-width: 768px) {
  #tei-sns .tei-insta {
    overflow: hidden;
    margin: 0 -30px;
  }
}
#tei-sns .d-md-flex {
  max-width: 740px;
  margin: 0 auto;
}
#tei-sns .tei-btn {
  margin: 30px auto 65px;
  text-align: center;
}
#tei-sns .tei-btn a {
  border-radius: 5px;
  background-color: #F5B090;
  padding: 0.7em 1em;
  width: auto;
  display: inline-block;
  font-weight: normal;
}
@media (max-width: 767.98px) {
  #tei-sns .tei-btn {
    border-radius: 2px;
    margin: 35px auto 45px;
  }
}
@media (min-width: 768px) {
  #tei-sns .tei-item {
    padding: 0 20px;
  }
}
@media (max-width: 767.98px) {
  #tei-sns .tei-item + .tei-item {
    margin-top: 20px;
  }
}
#tei-sns .tei-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 45px;
  height: 160px;
  text-decoration: none;
  color: #fff;
  text-align: center;
}
#tei-sns .tei-item a i {
  font-size: 40px;
  margin-bottom: 25px;
}
@media (max-width: 767.98px) {
  #tei-sns .tei-item a {
    border-radius: 20px;
  }
}
#tei-sns .tei-item a:hover {
  opacity: 0.9;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#tei-sns .tei-item.tei-youtube a {
  background-color: #DC677F;
}
#tei-sns .tei-item.tei-twtr a {
  background-color: #67A3DC;
}

#tei-information {
  padding-top: 190px;
}
@media (max-width: 767.98px) {
  #tei-information {
    padding-top: 90px;
  }
}
#tei-information .tei-inner {
  overflow: hidden;
  margin: 0 -30px;
  padding: 34px 30px;
  background-color: #F5B090;
}
@media (max-width: 767.98px) {
  #tei-information .tei-inner {
    margin: 0 -10px;
    padding: 40px 20px;
  }
}
@media (max-width: 991.98px) {
  #tei-information .tei-item:not(:last-child) {
    margin-bottom: 10px;
  }
}
@media (min-width: 992px) {
  #tei-information .d-lg-flex {
    margin: 0 -20px;
  }
  #tei-information .tei-item {
    padding: 0 20px;
  }
}
#tei-information a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #F5B090;
  font-size: 26px;
  text-align: center;
  border-radius: 45px;
  text-decoration: none;
  height: 140px;
}
@media (max-width: 1199.98px) {
  #tei-information a {
    font-size: 21px;
    height: 100px;
    border-radius: 20px;
  }
}
#tei-information a:hover {
  opacity: 0.9;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#tei-information a span {
  padding-right: 1em;
}
#tei-information a span::before, #tei-information a span::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#tei-information a span::before {
  right: 35px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #F5B090;
  margin-top: -10px;
}
@media (max-width: 767.98px) {
  #tei-information a span::before {
    right: 45px;
  }
}
#tei-information a span::after {
  right: 42px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  height: 8px;
  width: 8px;
  margin-top: -4px;
}
@media (max-width: 767.98px) {
  #tei-information a span::after {
    right: 52px;
  }
}

#tei-access {
  padding-top: 190px;
  padding-bottom: 300px;
}
@media (max-width: 991.98px) {
  #tei-access {
    padding-bottom: 140px;
    padding-top: 140px;
  }
}
#tei-access .tei-title {
  position: relative;
}
#tei-access .tei-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  background-image: url("../images/top/access-img.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 122px;
  height: 196px;
  -webkit-transform: translate(-300px, -90px);
  transform: translate(-300px, -90px);
}
@media (max-width: 767.98px) {
  #tei-access .tei-title::after {
    width: 67px;
    -webkit-transform: translate(-6em, -50px);
    transform: translate(-6em, -50px);
  }
}
#tei-access .tei-title .tei-en {
  color: #F5B090;
}
#tei-access .tei-gmap {
  position: relative;
  padding-top: 46%;
  height: 0;
  margin: 75px 0 90px;
  overflow: hidden;
  border-radius: 45px;
}
@media (max-width: 767.98px) {
  #tei-access .tei-gmap {
    margin: 40px -25px 30px;
    border-radius: 20px;
    padding-top: 140%;
  }
}
#tei-access .tei-gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#tei-access .tei-subtitle {
  text-align: center;
  margin-bottom: 70px;
}
#tei-access .tei-subtitle span {
  display: inline-block;
  font-size: 31px;
  color: #fff;
  background-color: #E3556E;
  border-radius: 3em;
  line-height: 1;
  padding: 0.5em 2em;
  letter-spacing: 0;
}
@media (max-width: 767.98px) {
  #tei-access .tei-subtitle {
    margin-bottom: 30px;
  }
  #tei-access .tei-subtitle span {
    padding: 0.7em 3em;
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  #tei-access .col-12 {
    padding-right: 30px;
  }
  #tei-access .col-12 + .col-12 {
    padding-left: 30px;
    padding-right: 0;
  }
}
@media (max-width: 767.98px) {
  #tei-access .col-12 p {
    font-size: 10px;
  }
}
#tei-access .d-flex {
  margin: 10px -10px 20px;
}
#tei-access .d-flex div {
  margin: 0 10px;
}
@media (max-width: 767.98px) {
  #tei-access .d-flex {
    margin: 30px -5px 10px;
  }
  #tei-access .d-flex div {
    margin: 0 5px;
  }
}
#tei-access .tei-train {
  margin-top: 90px;
}
@media (max-width: 767.98px) {
  #tei-access .tei-train {
    margin-top: 75px;
  }
}
