.tei-key img {
  border-radius: 45px;
}
@media (max-width: 767.98px) {
  .tei-key img {
    border-bottom: 20px;
  }
}

.tei-bg {
  margin-top: 15px;
  padding-top: 100px;
  padding-bottom: 300px;
  border-radius: 45px 45px 0 0;
}
@media (max-width: 767.98px) {
  .tei-bg {
    margin-top: 10px;
    padding-top: 35px;
    padding-bottom: 150px;
  }
}

#tei-lead {
  margin-bottom: 75px;
}
#tei-lead .tei-title {
  font-size: 25px;
  margin-bottom: 40px;
  text-align: center;
}
@media (min-width: 768px) {
  #tei-lead p {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  #tei-lead .tei-title {
    font-size: 18px;
  }
}

#tei-date .tei-title, #tei-program01 .tei-title, #tei-program02 .tei-title, #tei-contact .tei-title {
  color: #fff;
  text-align: center;
  padding: 0.5em;
  line-height: 1;
  letter-spacing: 0.1em;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 30px;
  border-radius: 15px 15px 0 0;
}
#tei-date .tei-lead, #tei-program01 .tei-lead, #tei-program02 .tei-lead, #tei-contact .tei-lead {
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: 0.1em;
}
@media (max-width: 767.98px) {
  #tei-date .tei-title, #tei-program01 .tei-title, #tei-program02 .tei-title {
    font-size: 19px;
    margin-bottom: 25px;
  }
  #tei-contact .tei-title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 25px;
  }
  #tei-date .tei-lead, #tei-program01 .tei-lead, #tei-program02 .tei-lead, #tei-contact .tei-lead {
    margin-bottom: 30px;
    letter-spacing: 0;
  }
}

#tei-date {
  margin-bottom: 100px;
}
@media (max-width: 767.98px) {
  #tei-date {
    margin-bottom: 100px;
  }
}
#tei-date .tei-title {
  background-color: #FDD23E;
}
#tei-date .tei-lead {
  font-size: 20px;
}
#tei-date .tei-lead small {
  display: block;
  font-size: 16px;
}
@media (max-width: 767.98px) {
  #tei-date .tei-lead {
    font-size: 14px;
  }
  #tei-date .tei-lead small {
    font-size: 13px;
  }
}
#tei-date .tei-table {
  max-width: 990px;
  margin: 0 auto;
}
#tei-date .tei-table .tei-tr {
  display: flex;
}
#tei-date .tei-table .tei-th {
  width: 25%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767.98px) {
  #tei-date .tei-table .tei-th {
    width: 40%;
    align-items: flex-start;
  }
}
#tei-date .tei-table .tei-td {
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  #tei-date .tei-table .tei-td {
    display: flex;
  }
  #tei-date .tei-table .tei-td div {
    display: flex;
    padding: 0.8em;
    width: 50%;
    justify-content: center;
    align-items: center;
  }
}
#tei-date .tei-table .tei-thead {
  display: flex;
  margin-bottom: 10px;
}
#tei-date .tei-table .tei-thead .tei-th span, #tei-date .tei-table .tei-thead .tei-td span {
  display: inline-block;
  background-color: #FDD23E;
  padding: 0.5em 2em;
  line-height: 1;
  font-size: 24px;
  border-radius: 15px;
}
@media (max-width: 767.98px) {
  #tei-date .tei-table .tei-thead .tei-th span, #tei-date .tei-table .tei-thead .tei-td span {
    font-size: 15px;
    border-radius: 10px;
    padding: 0.5em 1.5em;
  }
}
@media (max-width: 767.98px) {
  #tei-date .tei-table .tei-thead .tei-td div {
    text-align: center;
  }
}
#tei-date .tei-table .tei-tbody {
  border: 3px solid #FDD23E;
}
#tei-date .tei-table .tei-tbody .tei-tr {
  font-size: 24px;
}
@media (max-width: 767.98px) {
  #tei-date .tei-table .tei-tbody .tei-tr {
    font-size: 15px;
  }
}
#tei-date .tei-table .tei-tbody .tei-tr:not(:last-child) {
  border-bottom: 2px solid #FDD23E;
}
#tei-date .tei-table .tei-tbody .tei-tr:nth-child(odd) .tei-th {
  background-color: #FDD23E;
}
#tei-date .tei-table .tei-tbody .tei-tr:nth-child(even) .tei-th {
  background-color: #FEE4B2;
}
@media (min-width: 768px) {
  #tei-date .tei-table .tei-tbody .tei-th span {
    padding-left: 0.5em;
  }
  #tei-date .tei-table .tei-tbody .tei-td div:first-child {
    border-right: 2px solid #FDD23E;
  }
}
@media (max-width: 767.98px) {
  #tei-date .tei-table .tei-tbody .tei-th span {
    padding-top: 0.5em;
  }
  #tei-date .tei-table .tei-tbody .tei-td div {
    padding: 0.5em;
  }
  #tei-date .tei-table .tei-tbody .tei-td div:last-child {
    padding-top: 0;
  }
}

#tei-program01 {
  margin-bottom: 100px;
}
@media (max-width: 767.98px) {
  #tei-program01 {
    margin-bottom: 100px;
  }
}
#tei-program01 .tei-title {
  background-color: #A0D670;
}
#tei-program01 .tei-flow {
  max-width: 1030px;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  #tei-program01 .tei-flow {
    width: 240px;
  }
}
#tei-program01 .tei-flow > div {
  align-items: center;
}
#tei-program01 .tei-flow > div:not(:last-child) {
  position: relative;
  margin-bottom: 70px;
}
#tei-program01 .tei-flow > div:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -40px;
  margin-left: -24px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 24px 0 24px;
  border-color: #A0D670 transparent transparent transparent;
}
@media (max-width: 767.98px) {
  #tei-program01 .tei-flow > div:not(:last-child) {
    margin-bottom: 60px;
  }
  #tei-program01 .tei-flow > div:not(:last-child)::after {
    margin-left: -11px;
    border-width: 18px 11px 0 11px;
  }
}
#tei-program01 .tei-flow .tei-img {
  flex-shrink: 0;
  width: 220px;
}
#tei-program01 .tei-flow .tei-img img {
  border-radius: 15px;
}
@media (max-width: 767.98px) {
  #tei-program01 .tei-flow .tei-img {
    width: 100%;
    margin-bottom: 20px;
  }
  #tei-program01 .tei-flow .tei-img img {
    border-radius: 10px;
  }
}
#tei-program01 .tei-flow .tei-text {
  flex: 1 1 auto;
}
#tei-program01 .tei-flow .tei-text .tei-tit {
  color: #A0D670;
  font-size: 16px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  #tei-program01 .tei-flow .tei-text {
    padding-left: 40px;
  }
  #tei-program01 .tei-flow .tei-text .tei-tit {
    font-size: 20px;
  }
}

#tei-program02 {
  margin-bottom: 150px;
}
@media (max-width: 767.98px) {
  #tei-program02 {
    margin-bottom: 60px;
  }
}
#tei-program02 .tei-title {
  background-color: #92D2DC;
}
#tei-program02 .tei-wrap {
  margin: 0 auto;
  max-width: 1030px;
}
#tei-program02 .row > div {
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  #tei-program02 .row {
    margin: 0 -30px;
  }
  #tei-program02 .row > div {
    padding: 0 30px;
  }
}
#tei-program02 .row .tei-img img {
  border-radius: 15px;
}
@media (max-width: 767.98px) {
  #tei-program02 .row .tei-img img {
    border-radius: 10px;
  }
}
#tei-program02 .row .tei-tit {
  background-color: #92D2DC;
  color: #fff;
  text-align: center;
  font-size: 17px;
  margin-bottom: 30px;
  margin-top: 25px;
  border-radius: 5px;
  line-height: 1;
  padding: 0.5em 0;
}
@media (max-width: 767.98px) {
  #tei-program02 .row .tei-tit {
    font-size: 14px;
    border-radius: 3px;
    margin: 20px auto;
    max-width: 270px;
    padding: 1em;
    letter-spacing: 0.1em;
  }
}

#tei-contact .tei-title {
  background-color: #F5B090;
}
@media (max-width: 767.98px) {
  #tei-contact .tei-title {
    letter-spacing: 0.1em;
  }
}
#tei-contact .tei-lead {
  margin-bottom: 40px;
  font-size: 25px;
  text-align: center;
}
@media (max-width: 767.98px) {
  #tei-contact .tei-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }
}
#tei-contact .tei-btn {
  text-align: center;
}
#tei-contact .tei-btn a {
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1.2;
  padding: 2.5em 5em 2.5em 3em;
  background-color: #F5B090;
  width: auto;
}
#tei-contact .tei-btn a::after, #tei-contact .tei-btn a::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
}
#tei-contact .tei-btn a::before {
  right: 50px;
  background-color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
}
#tei-contact .tei-btn a::after {
  border-right: 2px solid #F5B090;
  border-top: 2px solid #F5B090;
  height: 8px;
  width: 8px;
  right: 60px;
  margin-top: -1px;
  -webkit-transform: rotate(45deg) translate(0, -50%);
  transform: rotate(45deg) translate(0, -50%);
}
@media (max-width: 767.98px) {
  #tei-contact .tei-btn {
    max-width: none;
  }
  #tei-contact .tei-btn a {
    padding: 1.5em 2em 1.5em 1em;
    width: 100%;
  }
  #tei-contact .tei-btn a::before {
    right: 25px;
  }
  #tei-contact .tei-btn a::after {
    right: 35px;
  }
}
