/* TOP
-----------------------------------------------------------------------------*/
#tei-news {
  border-radius: 45px 45px 0 0;
  padding-bottom: 150px;
  padding-top: 40px;
  /* page navigation
  -----------------------------------*/
}
@media (max-width: 767.98px) {
  #tei-news {
    border-radius: 20px 20px 0 0;
    padding-bottom: 100px;
    padding-top: 20px;
  }
}
#tei-news .tei-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.3em;
}
@media (max-width: 767.98px) {
  #tei-news .tei-title {
    font-size: 14px;
    margin-bottom: 25px;
  }
}
@media (max-width: 767.98px) {
  #tei-news .tei-categories {
    margin-bottom: 45px;
  }
}
@media (min-width: 768px) {
  #tei-news .tei-categories {
    height: 50px;
  }
}
@media (max-width: 767.98px) {
  #tei-news .tei-categories li {
    padding: 8px;
  }
}
@media (min-width: 768px) {
  #tei-news .tei-categories li {
    max-width: 5.5em;
    margin-right: 20px;
  }
}
#tei-news .tei-categories li a {
  display: block;
  padding: 0.5em 0;
  line-height: 1;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  text-align: center;
}
@media (max-width: 767.98px) {
  #tei-news .tei-categories li a {
    padding: 1em 0;
    border-radius: 3px;
  }
}
#tei-news .tei-categories 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-categories li.tei-all a {
  background-color: #F5B090;
}
#tei-news .tei-categories li.tei-juken a {
  background-color: #92D2DC;
}
#tei-news .tei-categories li.tei-ippan a {
  background-color: #FDD23E;
}
#tei-news .tei-categories li.tei-zaigaku a {
  background-color: #A0D670;
}
#tei-news .tei-list {
  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;
  -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-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: 15px 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: 170px;
    border-radius: 10px;
  }
}
#tei-news .tei-list .tei-text {
  flex: 1 1 auto;
  padding: 20px 0 20px 90px;
  line-height: 1.8;
}
#tei-news .tei-list .tei-text .tei-cat {
  display: inline-block;
  padding: 0.5em 0;
  line-height: 1;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  width: 5.5em;
}
@media (max-width: 767.98px) {
  #tei-news .tei-list .tei-text .tei-cat {
    padding: 1em 0;
    border-radius: 3px;
  }
}
#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-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 .tei-text .tei-date {
  display: inline-block;
  margin-left: 30px;
  line-height: 1;
  vertical-align: bottom;
}
#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: 15px 0 0;
  }
  #tei-news .tei-list .tei-text .tei-cat {
    padding: 5px 0;
    width: 6em;
  }
  #tei-news .tei-list .tei-text .tei-date {
    margin-left: 10px;
    font-size: 14px;
  }
  #tei-news .tei-list .tei-text .tei-tit {
    margin: 10px 0;
  }
}
@media (min-width: 992px) {
  #tei-news .tei-side {
    padding-left: 40px;
    padding-top: 50px;
  }
  #tei-news .tei-side .tei-wrap {
    padding: 40px 10px 0 30px;
  }
}
#tei-news .tei-side .tei-side-tit {
  color: #92D2DC;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid #92D2DC;
  line-height: 1;
  letter-spacing: 0.2em;
  margin-bottom: 25px;
}
@media (min-width: 992px) {
  #tei-news .tei-side .tei-side-tit {
    font-size: 16px;
    margin-top: -10px;
    margin-bottom: 0;
  }
}
#tei-news .tei-side .tei-tag li {
  padding: 0 5px;
  margin-bottom: 1.5em;
}
@media (max-width: 991.98px) {
  #tei-news .tei-side .tei-tag li {
    padding: 0;
    margin-right: 40px;
  }
}
#tei-news .tei-side .tei-tag a {
  text-decoration: none;
  color: #646464;
}
@media (max-width: 767.98px) {
  #tei-news .tei-side .tei-tag a {
    font-size: 19px;
  }
}
#tei-news .tei-side .tei-tag a:hover {
  text-decoration: underline;
}
#tei-news .tei-pager {
  justify-content: center;
  padding: 70px 0;
  font-size: 16px;
}
@media (max-width: 767.98px) {
  #tei-news .tei-pager {
    display: block;
    padding: 30px 0 50px;
    font-size: 21px;
  }
}
#tei-news .tei-pager .nav-links {
  display: flex;
  justify-content: space-between;
}
@media (min-width: 768px) {
  #tei-news .tei-pager .nav-links {
    display: inline-block;
    position: relative;
    line-height: 20px;
  }
}
#tei-news .tei-pager .page-numbers {
  display: inline-block;
  font-size: 20px;
  font-family: 'Rubik', sans-serif;
  color: #fff;
  background-color: #92D2DC;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
}
#tei-news .tei-pager .page-numbers.dots {
  position: relative;
  background: none;
  font-size: 0;
}
#tei-news .tei-pager .page-numbers.dots::after {
  content: ". . .";
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -25px;
  font-size: 25px;
  color: #92D2DC;
  line-height: 1;
}
@media (min-width: 768px) {
  #tei-news .tei-pager .page-numbers {
    margin: 0 1em;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }
}
#tei-news .tei-pager .current {
  background-color: #15C0DB;
}
#tei-news .tei-pager .next, #tei-news .tei-pager .prev {
  font-size: 0;
  position: relative;
  width: 50px;
  height: 50px;
}
@media (min-width: 768px) {
  #tei-news .tei-pager .next, #tei-news .tei-pager .prev {
    width: 32px;
    height: 32px;
  }
}
#tei-news .tei-pager .next::after, #tei-news .tei-pager .prev::after {
  position: absolute;
  content: "";
  border-right: 3px solid #fff;
  border-top: 3px solid #fff;
  content: "";
  display: block;
  height: 14px;
  width: 14px;
  left: 50%;
  top: 50%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-top: -7px;
  margin-left: -10px;
}
@media (min-width: 768px) {
  #tei-news .tei-pager .next {
    position: absolute;
    right: -60px;
  }
  #tei-news .tei-pager .prev {
    position: absolute;
    left: -60px;
  }
}
#tei-news .tei-pager .page-numbers: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;
  text-decoration: none;
}

/* single
-----------------------------------------------------------------------------*/
#tei-news-single {
  border-radius: 45px 45px 0 0;
  padding-bottom: 300px;
  padding-top: 70px;
}
@media (max-width: 767.98px) {
  #tei-news-single {
    border-radius: 20px 20px 0 0;
    padding-bottom: 160px;
    padding-top: 40px;
  }
}
#tei-news-single .tei-cat, #tei-news-single .tei-date, #tei-news-single .tei-tag {
  display: inline-block;
}
#tei-news-single .tei-cat {
  padding: 0.5em 0;
  line-height: 1;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  width: 5.5em;
}
@media (max-width: 767.98px) {
  #tei-news-single .tei-cat {
    padding: 1em 0;
    border-radius: 3px;
  }
}
#tei-news-single .tei-cat.tei-all {
  background-color: #F5B090;
}
#tei-news-single .tei-cat.tei-juken {
  background-color: #92D2DC;
}
#tei-news-single .tei-cat.tei-ippan {
  background-color: #FDD23E;
}
#tei-news-single .tei-cat.tei-zaigaku {
  background-color: #A0D670;
}

#tei-news-single .tei-cat.candidates {
  background-color: #92D2DC;
}
#tei-news-single .tei-cat.public {
  background-color: #FDD23E;
}
#tei-news-single .tei-cat.student {
  background-color: #A0D670;
}

@media (max-width: 767.98px) {
  #tei-news-single .tei-cat {
    padding: 5px 0;
  }
}
#tei-news-single .tei-date {
  margin: 0 60px;
  font-size: 14px;
}
@media (max-width: 767.98px) {
  #tei-news-single .tei-date {
    margin: 0 25px;
  }
}
@media (max-width: 767.98px) {
  #tei-news-single .tei-tag {
    display: block;
    margin-top: 10px;
  }
}
#tei-news-single .tei-tag a {
  color: #646464;
  text-decoration: none;
}
#tei-news-single .tei-tag a + a {
  margin-left: 2em;
}
#tei-news-single .tei-tag a:hover {
  text-decoration: underline;
}
#tei-news-single .tei-title {
  font-weight: bold;
  font-size: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #92D2DC;
  margin: 45px 0;
}
@media (max-width: 767.98px) {
  #tei-news-single .tei-title {
    font-size: 21px;
    margin: 25px 0;
    padding-bottom: 20px;
  }
}
#tei-news-single .tei-text a {
  text-decoration: underline;
  cursor: pointer;
}
#tei-news-single .tei-text a:hover {
  text-decoration: none;
}
#tei-news-single .tei-text a.wp-block-button__link,#tei-news-single .tei-text a.wp-block-file__button  {
  text-decoration: none;
}
#tei-news-single .tei-pager a, #tei-news-single .tei-back a {
  position: relative;
  color: #92D2DC;
  text-decoration: none;
  font-size: 26px;
}
@media (max-width: 767.98px) {
  #tei-news-single .tei-pager a, #tei-news-single .tei-back a {
    font-size: 21px;
  }
}
#tei-news-single .tei-pager a::before, #tei-news-single .tei-pager a::after, #tei-news-single .tei-back a::before, #tei-news-single .tei-back a::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
}
#tei-news-single .tei-pager a::before, #tei-news-single .tei-back a::before {
  background-color: #92D2DC;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
#tei-news-single .tei-pager a::after, #tei-news-single .tei-back a::after {
  margin-top: -4px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  height: 8px;
  width: 8px;
}
#tei-news-single .tei-pager a:hover, #tei-news-single .tei-back 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-news-single .tei-pager .tei-prev a, #tei-news-single .tei-back .tei-prev a {
  padding-left: 30px;
}
#tei-news-single .tei-pager .tei-prev a::before, #tei-news-single .tei-back .tei-prev a::before {
  left: 0;
}
#tei-news-single .tei-pager .tei-prev a::after, #tei-news-single .tei-back .tei-prev a::after {
  left: 8px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#tei-news-single .tei-next a, #tei-news-single .tei-back a {
  padding-right: 30px;
}
#tei-news-single .tei-next a::before, #tei-news-single .tei-back a::before {
  right: 0;
}
#tei-news-single .tei-next a::after, #tei-news-single .tei-back a::after {
  right: 8px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#tei-news-single .tei-pager {
  max-width: 440px;
  margin-top: 150px;
  margin-bottom: 45px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767.98px) {
  #tei-news-single .tei-pager {
    margin-top: 75px;
  }
}
#tei-news-single .tei-back {
  max-width: 440px;
  text-align: right;
}
