/* CSS Document */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");
header nav ul li:nth-of-type(6) {
  display: block;
}

header nav ul li:nth-of-type(6) a:before {
  color: #4786fb;
}

header nav ul li:nth-of-type(10) {
  display: none;
}

#main {
  position: relative;
}

#main #news {
  position: absolute;
  width: 520px;
  right: 40px;
  bottom: 90px;
  min-height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  background: #dee9fe;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  overflow: hidden;
}

#main #news .item-title {
  background: #4786fb;
  color: #FFF;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: normal;
  width: 100px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 15px;
}

#main #news .item-text {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

#main #news .item-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  font-size: 13px;
  color: #4786fb;
  margin-right: 20px;
  margin-left: 10px;
  text-decoration: none;
}

#main #news .item-link:before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#main #news .item-link:after {
  content: "";
  width: 8px;
  height: 14px;
  background: no-repeat center/auto;
  background-image: url(../../img/top/arrow-news.svg);
  margin-left: 10px;
}

#wrapper.news .main {
  width: 100%;
  height: 262px;
  background-image: url(../../img/news/img_news_main.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  margin-bottom: 110px;
}

#wrapper.news .main .title {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#wrapper.news .news-list {
  border-top: 1px solid #e8e8e8;
}

#wrapper.news .news-list li {
  border-bottom: 1px solid #e8e8e8;
  padding: 25px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  position: relative;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#wrapper.news .news-list li:hover {
  color: #4786fb;
}

#wrapper.news .news-list .item-date {
  width: 140px;
  padding-left: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 16px;
}

#wrapper.news .news-list .item-title {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  padding-right: 30px;
  font-size: 16px;
}

#wrapper.news .news-list .item-title a {
  width: 100%;
  color: #333333;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#wrapper.news .news-list .item-title a:hover {
  text-decoration: underline;
}

#wrapper.news .news-list .item-title a:before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#wrapper.news .news-list .item-title a:hover {
  text-decoration: none;
  color: #4786fb;
  filter: alpha(opacity=100);
  opacity: 1;
}

#wrapper.news .news-list .item-title a:after {
  content: "";
  width: 8px;
  height: 14px;
  background: no-repeat center/auto;
  background-image: url(../../img/top/arrow-news.svg);
  margin-left: 10px;
  -ms-flex: 0 0 auto;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

/*tablet*/
@media screen and (min-width: 769px) and (max-width: 1100px) {
  /* main
------------------------------------------------------------*/
  main > section, main > article {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/*sp*/
@media screen and (max-width: 768px) {
  #main {
    position: relative;
  }
  #main #news {
    right: 10px;
    max-width: calc(100% - 20px);
    bottom: 70px;
  }
  #main #news .item-title {
    font-size: 16px;
    width: 80px;
  }
  #main #news .item-text {
    font-size: 13px;
  }
  #main #news .item-link {
    font-size: 12px;
    margin-right: 10px;
  }
  #wrapper.news .main {
    height: 400px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) and (max-width: 735px) {
  #wrapper.news .main {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  #wrapper.news .main .title {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  #wrapper.news .news-list li {
    padding: 15px 0;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #wrapper.news .news-list .item-date {
    width: 140px;
    padding-left: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 15px;
    margin-bottom: 5px;
  }
  #wrapper.news .news-list .item-title {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 15px;
  }
  #wrapper.news .news-list .item-title a {
    width: 100%;
    color: #333333;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  #wrapper.news .news-list .item-title a:hover {
    text-decoration: underline;
  }
  #wrapper.news .news-list .item-title a:after {
    content: "";
    width: 8px;
    height: 14px;
    background: no-repeat center/auto;
    background-image: url(../../img/top/arrow-news.svg);
    margin-left: 10px;
    -ms-flex: 0 0 auto;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.eg-parent > *:not(.eg) {
  filter: alpha(opacity=0);
  opacity: 0;
  visibility: hidden;
}

*[data-emergence], *.eg {
  -webkit-animation-duration: 0.6s;
  -moz-animation-duration: 0.6s;
  -ms-animation-duration: 0.6s;
  -o-animation-duration: 0.6s;
  animation-duration: 0.6s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
  -ms-animation-iteration-count: 1;
  -o-animation-iteration-count: 1;
  animation-iteration-count: 1;
  filter: alpha(opacity=0);
  opacity: 0;
}

*[data-emergence=visible] {
  -webkit-animation-name: fadeIn;
  -moz-animation-name: fadeIn;
  -ms-animation-name: fadeIn;
  -o-animation-name: fadeIn;
  animation-name: fadeIn;
}

@supports (clip-path: polygon(0 0, 0 0, 0 0)) {
  *[data-anm="skew"] {
    -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    -webkit-transition: 1s clip-path ease-out;
    -moz-transition: 1s clip-path ease-out;
    -ms-transition: 1s clip-path ease-out;
    -o-transition: 1s clip-path ease-out;
    transition: 1s clip-path ease-out;
  }
  *[data-anm="skew"][data-emergence=visible] {
    -webkit-animation-duration: 0.3s;
    -moz-animation-duration: 0.3s;
    -ms-animation-duration: 0.3s;
    -o-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -ms-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    transition-delay: 0.1s;
    -webkit-clip-path: polygon(0 0, 220% 0, 0 220%, 0 0);
    clip-path: polygon(0 0, 220% 0, 0 220%, 0 0);
  }
}

/* floating */
@keyframes floating {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(30%);
  }
  100% {
    transform: translateY(0%);
  }
}

@-webkit-keyframes floating {
  0% {
    -webkit-transform: translateY(0%);
  }
  50% {
    -webkit-transform: translateY(30%);
  }
  100% {
    -webkit-transform: translateY(0%);
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes flipIn {
  0% {
    opacity: 0;
    -webkit-transform: perspective(2000px) rotateY(90deg);
    transform: perspective(2000px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: perspective(2000px) rotateY(0);
    transform: perspective(2000px) rotateY(0);
  }
}

@keyframes flipIn {
  0% {
    opacity: 0;
    -webkit-transform: perspective(2000px) rotateY(90deg);
    -ms-transform: perspective(2000px) rotateY(90deg);
    transform: perspective(2000px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: perspective(2000px) rotateY(0);
    -ms-transform: perspective(2000px) rotateY(0);
    transform: perspective(2000px) rotateY(0);
  }
}

.flipIn {
  -webkit-animation-name: flipIn;
  animation-name: flipIn;
  -webkit-transform-origin: center center;
  transform-origin: center center;
}
