/* top
-----------------------------------------------------------------------------*/
#tei-academics {
  overflow: hidden;
  margin: 0 -30px;
  padding: 0 30px;
}
#tei-academics .container {
  max-width: 1010px;
}
@media (max-width: 767.98px) {
  #tei-academics {
    margin: 0 -10px;
    padding: 0 10px;
  }
}
#tei-academics .tei-bg {
  padding-bottom: 300px;
  border-radius: 45px 45px 0 0;
}
@media (max-width: 991.98px) {
  #tei-academics .tei-bg {
    padding-bottom: 150px;
  }
}
@media (max-width: 767.98px) {
  #tei-academics .tei-bg {
    border-radius: 20px 20px 0 0;
  }
}
#tei-academics .tei-title {
  position: relative;
  margin-bottom: 20px;
  font-size: 30px;
  padding-top: 75px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.2em;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-title {
    padding-top: 40px;
    font-size: 21px;
    margin-bottom: 15px;
  }
}
#tei-academics .tei-subtitle {
  margin-bottom: 50px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  color: #FDD23E;
  line-height: 2;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-subtitle {
    margin-bottom: 15px;
    font-size: 14px;
  }
}
#tei-academics .tei-text {
  width: 100%;
  max-width: 735px;
  margin: 0 auto;
  line-height: 2;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-text {
    padding: 0 25px;
  }
}
#tei-academics .tei-item {
  position: relative;
}
#tei-academics .tei-item::after {
  content: "";
  display: block;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}
#tei-academics .tei-item .tei-wrap {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  #tei-academics .tei-item .tei-wrap {
    border-radius: 45px;
    height: 500px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
}
@media (max-width: 767.98px) {
  #tei-academics .tei-item .tei-wrap::before {
    content: "";
    display: block;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 15px;
    border-radius: 20px;
  }
}
#tei-academics .tei-item .tei-text {
  color: #fff;
}
@media (min-width: 768px) {
  #tei-academics .tei-item .tei-text {
    position: absolute;
    bottom: 35px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #tei-academics .tei-item .tei-text {
    padding: 0 20px;
  }
}
#tei-academics .tei-item .tei-text .tei-subtitle {
  font-size: 34px;
  padding-right: 40px;
  letter-spacing: 0;
}
@media (max-width: 767.98px) {
  #tei-academics .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-academics .tei-item .tei-text p {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-item .tei-text p {
    margin: 1.5em 0;
    color: #646464;
  }
}
@media (min-width: 768px) {
  #tei-academics .tei-item .tei-text p {
    padding-right: 50px;
    font-size: 20px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #tei-academics .tei-item .tei-text p {
    padding-right: 20px;
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  #tei-academics .tei-item .tei-btn {
    width: 200px;
    flex-shrink: 0;
  }
  #tei-academics .tei-item .tei-btn a {
    width: 100%;
  }
}
#tei-academics .tei-btns {
  margin: 30px -10px 50px;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-btns {
    margin: 0 0 10px;
  }
  #tei-academics .tei-btns .col-12 {
    padding: 0;
  }
}
@media (max-width: 1199.98px) {
  #tei-academics .tei-btns .col-12 {
    margin-bottom: 10px;
  }
}
#tei-academics .tei-btns a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 45px;
  text-decoration: none;
  height: 140px;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-btns a {
    font-size: 21px;
    height: 100px;
    border-radius: 20px;
  }
}
#tei-academics .tei-btns 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-academics .tei-btns a span {
  padding-right: 1em;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-btns a span {
    padding-right: 20px;
  }
}
#tei-academics .tei-btns a span::before, #tei-academics .tei-btns a span::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#tei-academics .tei-btns a span::before {
  right: 35px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  margin-top: -10px;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-btns a span::before {
    right: 45px;
  }
}
#tei-academics .tei-btns a span::after {
  right: 42px;
  border-right: 2px solid #FDD23E;
  border-top: 2px solid #FDD23E;
  height: 8px;
  width: 8px;
  margin-top: -4px;
}
@media (max-width: 767.98px) {
  #tei-academics .tei-btns a span::after {
    right: 52px;
  }
}
#tei-academics #tei-hoiku {
  margin-bottom: 40px;
}
#tei-academics #tei-hoiku .tei-item::after {
  bottom: 170px;
  left: -270px;
  width: 623px;
  height: 86px;
  background-image: url("../images/top/course-bg01.png");
}
@media (max-width: 767.98px) {
  #tei-academics #tei-hoiku .tei-item::after {
    background-image: url("../images/top/course-bg02.png");
    height: 130px;
    left: auto;
    right: 0;
    bottom: auto;
    top: 110px;
  }
}
#tei-academics #tei-hoiku .tei-btn a, #tei-academics #tei-hoiku .tei-btns a {
  background-color: #FDD23E;
}
@media (min-width: 768px) {
  #tei-academics #tei-hoiku .tei-wrap {
    background-image: url("../images/top/course-hoiku.jpg");
  }
}
@media (max-width: 767.98px) {
  #tei-academics #tei-hoiku .tei-wrap::before {
    background-image: url("../images/top/course-hoiku_sp.jpg");
  }
}
#tei-academics #tei-fukushi .tei-item::after {
  top: 150px;
  right: -260px;
  width: 623px;
  height: 207px;
  background-image: url("../images/top/course-bg02.png");
}
@media (max-width: 767.98px) {
  #tei-academics #tei-fukushi .tei-item::after {
    top: 100px;
    right: -30px;
    width: 300px;
  }
}
#tei-academics #tei-fukushi .tei-subtitle {
  color: #A0D670;
}
#tei-academics #tei-fukushi .tei-btn a, #tei-academics #tei-fukushi .tei-btns a {
  background-color: #A0D670;
}
#tei-academics #tei-fukushi .tei-btn a span::after, #tei-academics #tei-fukushi .tei-btns a span::after {
  border-right-color: #A0D670;
  border-top-color: #A0D670;
}
@media (min-width: 768px) {
  #tei-academics #tei-fukushi .tei-wrap {
    background-image: url("../images/top/course-fukushi.jpg");
  }
}
@media (max-width: 767.98px) {
  #tei-academics #tei-fukushi .tei-wrap::before {
    background-image: url("../images/top/course-fukushi_sp.jpg");
  }
}

/* child care & care welfare
-----------------------------------------------------------------------------*/
.tei-title {
  font-size: 30px;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 110px;
  padding-top: 295px;
  font-weight: bold;
}
@media (max-width: 991.98px) {
  .tei-title {
    font-size: 21px;
    margin: 0 -10px 25px;
    padding-top: 60px;
  }
}

#tei-feature,
#tei-curriculum {
  margin: 0 -30px;
  padding: 0 30px;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  #tei-feature,
  #tei-curriculum {
    margin: 0 -10px;
    padding: 0 10px;
  }
}

#tei-feature .container {
  max-width: 1075px;
}
@media (min-width: 992px) {
  #tei-feature {
    margin-top: 10px;
  }
}
#tei-feature .tei-bg {
  border-radius: 45px 45px 0 0;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-bg {
    border-radius: 0;
  }
}
#tei-feature .tei-lead {
  font-size: 28px;
  text-align: center;
  padding-top: 45px;
  margin-bottom: 100px;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-lead {
    font-size: 22px;
    margin-bottom: 70px;
    line-height: 1.5;
  }
}
#tei-feature .tei-title {
  margin-bottom: 150px;
  padding-top: 150px;
  background: url("../images/academics/illust01.png") no-repeat center top;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-title {
    background-size: auto 50px;
    padding-top: 85px;
    margin-bottom: 65px;
  }
}
#tei-feature .tei-img {
  position: relative;
}
#tei-feature .tei-img::after {
  content: "";
  display: block;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-item {
    max-width: 500px;
    margin: 0 auto;
  }
}
#tei-feature .tei-item + .tei-item {
  margin-top: 100px;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-item + .tei-item {
    margin-top: 45px;
  }
}
#tei-feature .tei-item01 .tei-img::after {
  background-image: url("../images/academics/bg01.png");
  width: 774px;
  height: 258px;
  left: 70px;
  bottom: 80px;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-item01 .tei-img::after {
    height: 100px;
    left: 25%;
    bottom: 20px;
  }
}
#tei-feature .tei-item02 .tei-img::after {
  background-image: url("../images/academics/bg02.png");
  background-position: top right;
  width: 790px;
  height: 165px;
  right: 70px;
  top: 100px;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-item02 .tei-img::after {
    height: 75px;
    top: 40%;
  }
}
#tei-feature .tei-item03 .tei-img::after {
  background-image: url("../images/academics/bg03.png");
  width: 793px;
  height: 124px;
  left: 70px;
  bottom: 80px;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-item03 .tei-img::after {
    height: 60px;
  }
}
#tei-feature .tei-text .tei-wrap {
  font-weight: bold;
  display: flex;
}
#tei-feature .tei-text .tei-wrap .tei-num {
  font-size: 60px;
  font-family: 'Rubik', sans-serif;
  flex-shrink: 0;
  line-height: 1;
}
#tei-feature .tei-text .tei-wrap .tei-tit {
  padding-left: 50px;
  font-size: 38px;
  flex: 1 1 auto;
}
#tei-feature .tei-text p {
  margin-top: 25px;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-text {
    padding-right: 0;
  }
  #tei-feature .tei-text .tei-wrap {
    align-items: center;
  }
  #tei-feature .tei-text .tei-wrap .tei-num {
    font-size: 50px;
  }
  #tei-feature .tei-text .tei-wrap .tei-tit {
    font-size: 23px;
    padding-left: 25px;
  }
  #tei-feature .tei-text p {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}
@media (min-width: 992px) {
  #tei-feature .tei-img {
    padding-left: 60px;
  }
}
#tei-feature .tei-img div {
  position: relative;
  z-index: 1;
  border-radius: 45px;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  #tei-feature .tei-img {
    border-radius: 20px;
  }
}
@media (min-width: 992px) {
  #tei-feature .tei-item02 .tei-img {
    padding-left: 0;
    padding-right: 60px;
  }
}

#tei-get .row {
  max-width: 1040px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  #tei-get .row .col-12 {
    padding: 0 20px;
  }
}
@media (max-width: 991.98px) {
  #tei-get .row .col-12 + .col-12 {
    margin-top: 20px;
  }
}
#tei-get .tei-inner {
  display: inline-flex;
  padding: 75px 140px;
  border-radius: 45px;
  height: 100%;
  color: #fff;
  flex-direction: column;
  justify-content: center;
}
#tei-get .tei-inner .tei-tit {
  display: inline-block;
  padding: 0 20px 20px;
  text-align: center;
  font-size: 38px;
  border-bottom: 2px solid #fff;
  margin: 0 auto 20px;
}
@media (max-width: 991.98px) {
  #tei-get .tei-inner {
    border-radius: 20px;
    max-width: 350px;
    padding: 30px 20px;
  }
  #tei-get .tei-inner .tei-tit {
    font-size: 23px;
    border-bottom-width: 1px;
  }
}

#tei-curriculum .tei-img.d-none {
  position: relative;
}
#tei-curriculum .tei-img.d-none img {
  position: relative;
  z-index: 1;
}
#tei-curriculum .tei-img.d-none::after, #tei-curriculum .tei-img.d-none::before {
  content: "";
  display: block;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../images/academics/bg02.png");
  z-index: 0;
  width: 790px;
  height: 165px;
}
#tei-curriculum .tei-img.d-none::after {
  right: -24%;
  bottom: 50px;
}
#tei-curriculum .tei-img.d-none::before {
  left: -30%;
  top: 300px;
}
#tei-curriculum .tei-img.d-lg-none {
  max-width: 400px;
  margin: 0 auto;
}

#tei-jishu {
  padding-bottom: 300px;
}
@media (max-width: 991.98px) {
  #tei-jishu {
    padding-bottom: 150px;
  }
}
#tei-jishu .tei-title {
  margin-bottom: 25px;
}
@media (max-width: 991.98px) {
  #tei-jishu .tei-title {
    margin-bottom: 10px;
  }
}
#tei-jishu .tei-subtitle {
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  line-height: 2;
}
@media (max-width: 991.98px) {
  #tei-jishu .tei-subtitle {
    font-size: 17px;
  }
}
#tei-jishu .tei-lead {
  text-align: center;
  margin: 80px auto 40px;
  line-height: 2;
  max-width: 740px;
}
@media (max-width: 991.98px) {
  #tei-jishu .tei-lead {
    margin: 40px 0;
    line-height: 1.8;
    text-align: left;
  }
}
#tei-jishu .tei-row1 {
  max-width: 1090px;
  margin: 0 auto 50px;
}
#tei-jishu .tei-row1 .col-12 {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 991.98px) {
  #tei-jishu .tei-row1 {
    margin-bottom: 80px;
  }
  #tei-jishu .tei-row1 .col-12 + .col-12 {
    margin-top: 40px;
  }
}
@media (min-width: 992px) {
  #tei-jishu .tei-row1 .tei-img.d-none, #tei-jishu .tei-row1 p, #tei-jishu .tei-row1 .tei-point {
    max-width: 290px;
    margin: 0 auto;
  }
}
#tei-jishu .tei-row1 .tei-img.d-none {
  overflow: hidden;
  border-radius: 15px;
}
#tei-jishu .tei-row1 .tei-img.d-lg-none {
  overflow: hidden;
  border-radius: 10px;
}
#tei-jishu .tei-row1 .tei-tit {
  margin: 20px 0;
  text-align: center;
}
#tei-jishu .tei-row1 .tei-tit span {
  display: inline-block;
  color: #fff;
  background-color: #92D2DC;
  border-radius: 5px;
  padding: 5px 25px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1em;
}
@media (max-width: 767.98px) {
  #tei-jishu .tei-row1 .tei-tit {
    margin-bottom: 10px;
    text-align: left;
  }
  #tei-jishu .tei-row1 .tei-tit span {
    padding: 10px;
    font-size: 14px;
    border-radius: 3px;
  }
}
#tei-jishu .tei-row1 p span {
  font-size: 70%;
  padding-right: 5px;
}
#tei-jishu .tei-row1 .tei-point {
  color: #92D2DC;
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-top: 5px;
  margin-bottom: 5px;
}
#tei-jishu .tei-row2 {
  max-width: 1010px;
  margin: 0 auto 80px;
}
@media (max-width: 767.98px) {
  #tei-jishu .tei-row2 {
    margin-bottom: 30px;
  }
}
#tei-jishu .tei-row2 .col-12 {
  padding: 0 25px;
}
@media (max-width: 767.98px) {
  #tei-jishu .tei-row2 .col-12 {
    padding: 0;
  }
  #tei-jishu .tei-row2 .col-12 + .col-12 {
    margin-top: 20px;
  }
}
#tei-jishu .tei-row2 .tei-label {
  text-align: center;
  margin-bottom: 15px;
}
#tei-jishu .tei-row2 .tei-label span {
  display: block;
  color: #fff;
  background-color: #F5B090;
  font-size: 20px;
  padding: 25px 30px;
  border-radius: 15px;
  letter-spacing: 0.2em;
  line-height: 1;
}
@media (max-width: 767.98px) {
  #tei-jishu .tei-row2 .tei-label span {
    padding: 10px;
    border-radius: 10px;
  }
}
#tei-jishu .tei-row2 .col-12:first-child .tei-label span {
  background-color: #FDD23E;
}
#tei-jishu .tei-row2 .tei-text {
  margin-bottom: 0;
}
#tei-jishu .tei-img.d-lg-none {
  max-width: 400px;
  margin: 0 auto;
}
#tei-jishu .tei-btn {
  margin-top: 300px;
}
#tei-jishu .tei-btn a {
  font-size: 22px;
  width: 100%;
  max-width: 350px;
  padding: 1.8em;
  border-radius: 4em;
}
@media (max-width: 767.98px) {
  #tei-jishu .tei-btn {
    margin-top: 150px;
  }
  #tei-jishu .tei-btn a {
    border-radius: 2em;
  }
}

/* child care
-----------------------------------*/
@media (min-width: 992px) {
  #tei-child .tei-key-title {
    background-image: url("../images/academics/child-title.jpg");
  }
}
@media (max-width: 991.98px) {
  #tei-child .tei-key-title::before {
    background-image: url("../images/academics/child-title_sp.jpg");
  }
}
#tei-child .tei-key-title .tei-maintitle span:first-child {
  background-color: #FDD23E;
}
#tei-child .tei-key-title .tei-maintitle span:nth-child(2) {
  color: #FDD23E;
}
#tei-child .tei-text .tei-wrap {
  color: #FDD23E;
}
#tei-child #tei-get .tei-inner {
  background-color: #FDD23E;
  padding: 25px 50px;
}
#tei-child #tei-jishu .tei-btn a {
  background-color: #FDD23E;
}

/* care welfare
-----------------------------------*/
@media (min-width: 992px) {
  #tei-welfare .tei-key-title {
    background-image: url("../images/academics/welfare-title.jpg");
  }
}
@media (max-width: 991.98px) {
  #tei-welfare .tei-key-title::before {
    background-image: url("../images/academics/welfare-title_sp.jpg");
  }
}
#tei-welfare .tei-key-title .tei-maintitle span:first-child {
  background-color: #A0D670;
}
#tei-welfare .tei-key-title .tei-maintitle span:nth-child(2) {
  color: #A0D670;
}
#tei-welfare .tei-text .tei-wrap {
  color: #A0D670;
}
#tei-welfare #tei-get .tei-inner {
  padding: 40px 100px;
  background-color: #7CD62B;
}
#tei-welfare #tei-get .tei-inner .tei-tit {
  font-size: 30px;
  padding: 0 30px 20px;
  letter-spacing: 0.1em;
}
#tei-welfare #tei-get .tei-inner p {
  font-size: 38px;
  line-height: 1.5;
}
@media (max-width: 991.98px) {
  #tei-welfare #tei-get .tei-inner {
    padding: 30px 40px;
  }
  #tei-welfare #tei-get .tei-inner .tei-tit {
    font-size: 15px;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }
  #tei-welfare #tei-get .tei-inner p {
    font-size: 23px;
  }
}
@media (min-width: 992px) {
  #tei-welfare #tei-jishu .tei-row2 .col-12 {
    padding: 0 60px;
  }
}
#tei-welfare #tei-jishu .tei-row2 .tei-label span {
  background-color: #92D2DC;
}
#tei-welfare #tei-jishu .tei-row2 .col-12:first-child .tei-label span {
  background-color: #83D43A;
}
@media (min-width: 992px) {
  #tei-welfare #tei-jishu .tei-row1 {
    margin-bottom: 250px;
  }
}
#tei-welfare #tei-jishu .tei-btn a {
  background-color: #7CD62B;
}

/* teachers
-----------------------------------------------------------------------------*/
#tei-teachers {
  border-radius: 45px 45px 0 0;
  padding-top: 95px;
  padding-bottom: 190px;
}
@media (max-width: 767.98px) {
  #tei-teachers {
    border-radius: 20px 20px 0 0;
    padding-top: 120px;
    padding-bottom: 100px;
  }
}
#tei-teachers .tei-title {
  display: inline-block;
  position: relative;
  background-color: #FDD23E;
  color: #fff;
  font-size: 30px;
  border-radius: 5px;
  padding: 20px 95px;
  line-height: 1;
  margin-bottom: 95px;
}
@media (max-width: 767.98px) {
  #tei-teachers .tei-title {
    font-size: 20px;
    padding: 15px;
    display: block;
    margin-bottom: 70px;
  }
}
#tei-teachers .tei-title::after {
  content: "";
  display: block;
  position: absolute;
  right: -260px;
  top: -30px;
  width: 183px;
  height: 119px;
  background-image: url("../images/academics/illust02.png");
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 767.98px) {
  #tei-teachers .tei-title::after {
    right: auto;
    left: 0;
    top: -90px;
    width: 90px;
  }
}
#tei-teachers .tei-item {
  padding: 0 35px;
  font-size: 20px;
  margin-bottom: 120px;
}
#tei-teachers .tei-item span {
  font-size: 70%;
}
@media (max-width: 767.98px) {
  #tei-teachers .tei-item {
    font-size: 14px;
    margin-bottom: 65px;
    padding: 0 60px;
  }
}
#tei-teachers .tei-job {
  margin: 10px 0;
  color: #FFC501;
}

#tei-welfare #tei-teachers .tei-title {
  background-color: #A0D670;
}
#tei-welfare #tei-teachers .tei-job {
  color: #A0D670;
}
