/* TOP
-----------------------------------------------------------------------------*/
@media (min-width: 992px) {
  .tei-key-title {
    background-image: url("../images/life/key.jpg");
  }
}
@media (max-width: 991.98px) {
  .tei-key-title::before {
    background-image: url("../images/life/key_sp.jpg");
  }
}
.tei-key-title .tei-maintitle span {
  font-family: 'Rubik', sans-serif;
}
@media (max-width: 991.98px) {
  .tei-key-title p {
    padding: 0 20px;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .tei-key-title p {
    text-align: center;
  }
}
@media (min-width: 992px) {
  .tei-key-title + .tei-bg {
    margin-top: 10px;
    border-radius: 45px 45px 0 0;
  }
}
#tei-lead {
  font-size: 28px;
  text-align: center;
  padding-top: 45px;
  margin-bottom: 100px;
}
@media (max-width: 991.98px) {
  #tei-lead {
    font-size: 22px;
    margin-bottom: 70px;
    line-height: 1.5;
  }
}

.tei-title, .tei-subtitle {
  font-size: 30px;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 70px;
  font-weight: bold;
  line-height: 1.7;
}
@media (max-width: 767.98px) {
  .tei-title, .tei-subtitle {
    font-size: 21px;
    margin: 0 -10px 25px;
  }
}

.tei-title {
  background: url("../images/life/illust01.png") no-repeat center 15px;
  padding-top: 120px;
  background-size: 53px auto;
}
@media (max-width: 767.98px) {
  .tei-title {
    background-size: auto 75px;
    padding-top: 95px;
    line-height: 1.5;
  }
}

.tei-bg .tei-btns {
  max-width: 860px;
  margin: 0 auto 25px;
}
@media (max-width: 767.98px) {
  .tei-bg .tei-btns {
    max-width: 240px;
    margin-bottom: 30px;
  }
  .tei-bg .tei-btns .col-12 + .col-12 {
    margin-top: 10px;
  }
}
.tei-bg .tei-btns a {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  padding: 0.5em 0;
  font-size: 25px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 991.98px) {
  .tei-bg .tei-btns a {
    padding: 1em;
    border-radius: 3px;
    max-width: 400px;
    margin: 0 auto;
    font-size: 15px;
  }
}
.tei-bg .tei-btns a.tei-child1 {
  background-color: #FDD23E;
}
.tei-bg .tei-btns a.tei-child2 {
  background-color: #92D2DC;
}
.tei-bg .tei-btns a.tei-welfare {
  background-color: #83D43A;
}
.tei-bg .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-calendar {
  max-width: 1010px;
  margin: 0 auto;
}
.tei-calendar .tei-label {
  border-radius: 15px 15px 0 0;
  color: #fff;
  text-align: center;
  font-size: 27px;
  letter-spacing: 0.2em;
  padding: 10px;
  margin-bottom: 70px;
  font-weight: bold;
  line-height: 1;
}
@media (max-width: 767.98px) {
  .tei-calendar .tei-label {
    font-size: 19px;
    margin-bottom: 30px;
    padding: 5px;
  }
}
.tei-calendar .tei-item {
  display: flex;
  position: relative;
}
.tei-calendar .tei-item:not(:last-child) {
  padding-bottom: 60px;
}
.tei-calendar .tei-item:not(:last-child)::after {
  content: "";
  display: block;
  width: 5px;
  height: 100%;
  position: absolute;
  left: 40px;
  top: 0;
}
@media (max-width: 767.98px) {
  .tei-calendar .tei-item:not(:last-child) {
    padding-bottom: 30px;
  }
  .tei-calendar .tei-item:not(:last-child)::after {
    left: 30px;
  }
}
.tei-calendar .tei-item .tei-month {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 80px;
}
.tei-calendar .tei-item .tei-month span {
  display: inline-block;
  width: 100%;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
  text-align: center;
  letter-spacing: 0.1em;
}
@media (max-width: 767.98px) {
  .tei-calendar .tei-item .tei-month {
    width: 60px;
  }
  .tei-calendar .tei-item .tei-month span {
    height: 60px;
    line-height: 60px;
    font-size: 16px;
  }
}
.tei-calendar .tei-item .tei-content {
  padding-top: 15px;
  padding-left: 20px;
}
.tei-calendar .tei-item .tei-content .tei-text .tei-tit {
  font-size: 16px;
  margin-bottom: 20px;
}
.tei-calendar .tei-item .tei-content .tei-img {
  margin-top: 15px;
  width: 200px;
}
.tei-calendar .tei-item .tei-content .tei-img div + div {
  margin-top: 20px;
}
.tei-calendar .tei-item .tei-content .tei-img img {
  border-radius: 20px;
}
@media (min-width: 576px) {
  .tei-calendar .tei-item .tei-content {
    flex: 1 1 auto;
    padding-top: 0;
  }
  .tei-calendar .tei-item .tei-content .tei-text {
    flex: 1 1 auto;
    padding-right: 20px;
  }
  .tei-calendar .tei-item .tei-content .tei-img {
    margin-top: 0;
    flex-shrink: 0;
  }
  .tei-calendar .tei-item .tei-content .tei-img div + div {
    margin-top: 10px;
  }
}
@media (min-width: 992px) {
  .tei-calendar .tei-item .tei-content {
    padding-left: 50px;
  }
  .tei-calendar .tei-item .tei-content .tei-text {
    padding-right: 85px;
  }
  .tei-calendar .tei-item .tei-content .tei-text .tei-tit {
    font-size: 30px;
  }
  .tei-calendar .tei-item .tei-content .tei-img {
    width: 230px;
  }
  .tei-calendar .tei-item .tei-content .tei-img img {
    border-radius: 45px;
  }
}

.tei-1day {
  padding-top: 180px;
}
@media (max-width: 767.98px) {
  .tei-1day {
    padding-top: 120px;
  }
}
.tei-1day .container {
  max-width: 1000px;
  margin: 0 auto;
}
.tei-1day .tei-carousel {
  max-width: 620px;
  margin: 0 auto 30px;
}
.tei-1day .slider-note {
  margin: 20px auto 0;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.1em;
  color: #F5B090;
}
@media (max-width: 767.98px) {
  .tei-1day .tei-carousel {
    margin-bottom: 15px;
  }
  .tei-1day .slider-note {
    font-size: 15px;
  }
}
.tei-1day .slider-nav .slick-list {
  position: relative;
}
.tei-1day .slider-nav .slick-list::after {
  content: "";
  position: absolute;
  display: block;
  max-width: 780px;
  width: calc(80% + 36px);
  height: 4px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
  background-color: #F5B090;
}
@media (max-width: 767.98px) {
  .tei-1day .slider-nav .slick-list::after {
    height: 3px;
    width: calc(80% + 22px);
  }
}
.tei-1day .tei-img img {
  border-radius: 45px;
}
@media (max-width: 767.98px) {
  .tei-1day .tei-img img {
    border-radius: 20px;
  }
}
.tei-1day .tei-text {
  margin-top: 20px;
  padding: 0 20px;
  align-items: flex-start;
}
.tei-1day .tei-text .tei-label {
  background-color: #F5B090;
  color: #fff;
  border-radius: 5px;
  line-height: 1;
  padding: 1em;
  width: 8em;
  text-align: center;
  flex-shrink: 0;
}
.tei-1day .tei-text p {
  flex: 1 1 auto;
  padding-top: 0.6em;
  padding-left: 2em;
}
@media (max-width: 767.98px) {
  .tei-1day .tei-text {
    text-align: center;
    margin-top: 10px;
    padding: 0 30px;
  }
  .tei-1day .tei-text .tei-label {
    display: inline-block;
    border-radius: 3px;
    width: 14em;
  }
  .tei-1day .tei-text p {
    text-align: left;
    padding-left: 0;
  }
}
.tei-1day .tei-time {
  height: 110px;
  line-height: 110px;
  position: relative;
}
.tei-1day .tei-time span {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 0;
  text-align: center;
  background-color: #F5B090;
}
.tei-1day .tei-time.slick-current span {
  font-size: 25px;
  width: 110px;
  height: 100%;
  letter-spacing: 0.1em;
}
@media (max-width: 767.98px) {
  .tei-1day .tei-time {
    height: 60px;
    line-height: 60px;
  }
  .tei-1day .tei-time span {
    width: 22px;
    height: 22px;
  }
  .tei-1day .tei-time.slick-current span {
    font-size: 12px;
    width: 60px;
  }
}

.tei-circle {
  overflow: hidden;
  margin: 0 -30px;
  padding: 0 30px;
}
@media (max-width: 767.98px) {
  .tei-circle {
    margin: 0 -10px;
    padding: 0 10px;
  }
}
.tei-circle .container {
  padding-top: 180px;
  padding-bottom: 300px;
}
@media (max-width: 991.98px) {
  .tei-circle .container {
    padding-top: 70px;
    padding-bottom: 150px;
  }
}
.tei-circle .tei-subtitle {
  margin-bottom: 30px;
}
.tei-circle .tei-lead {
  text-align: center;
  margin-bottom: 60px;
}
@media (max-width: 767.98px) {
  .tei-circle .tei-lead {
    text-align: left;
    margin-bottom: 30px;
  }
}
.tei-circle .row {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
}
.tei-circle .row::after, .tei-circle .row::before {
  content: "";
  display: block;
  position: absolute;
  background-image: url("../images/life/bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 362px;
  height: 290px;
}
@media (max-width: 767.98px) {
  .tei-circle .row::after, .tei-circle .row::before {
    width: 230px;
    height: 230px;
  }
}
.tei-circle .row::before {
  left: -180px;
  bottom: -70px;
  width: 309px;
}
@media (max-width: 767.98px) {
  .tei-circle .row::before {
    width: 250px;
    bottom: -80px;
    left: -190px;
  }
}
.tei-circle .row::after {
  right: -220px;
  top: 0;
}
@media (max-width: 767.98px) {
  .tei-circle .row::after {
    right: -110px;
    top: 225px;
  }
}
.tei-circle .row .col-12 {
  position: relative;
  z-index: 1;
}
@media (max-width: 575.98px) {
  .tei-circle .row .col-12 + .col-12 {
    margin-top: 35px;
  }
}
.tei-circle .tei-img {
  padding: 0 25px;
}
.tei-circle .tei-img img {
  border-radius: 45px;
}
@media (max-width: 767.98px) {
  .tei-circle .tei-img img {
    border-radius: 20px;
  }
}
@media (max-width: 575.98px) {
  .tei-circle .tei-img {
    padding: 0;
  }
}
.tei-circle .tei-name {
  text-align: center;
  margin: 30px 0 50px;
  font-size: 20px;
}
@media (max-width: 767.98px) {
  .tei-circle .tei-name {
    margin: 15px 0 20px;
    font-size: 16px;
  }
}
@media (max-width: 575.98px) {
  .tei-circle .tei-name {
    margin: 15px 0 0;
  }
}

/* child care 1
-----------------------------------*/
#tei-child1 .tei-item::after,
#tei-child1 .tei-label,
#tei-child1 .tei-month span {
  background-color: #FDD23E;
}

/* child care 2
-----------------------------------*/
#tei-child2 .tei-item::after,
#tei-child2 .tei-label,
#tei-child2 .tei-month span {
  background-color: #92D2DC;
}

/* welfare care
-----------------------------------*/
#tei-welfare .tei-item::after,
#tei-welfare .tei-label,
#tei-welfare .tei-month span {
  background-color: #83D43A;
}
