/*	wnew
============================== */
#news {
  margin: 0 auto;
  position: relative;
}

#news ul#newslist li {
  /* position: relative; */
  margin: 0 0 2.1em 0;
  background-color: #fff;
  /* border-radius: 10px; */
  font-size: 100%;
  font-weight: bold;
  box-shadow: 18px 18px 35px 0px rgba(0,0,0,0.1);
}

#news ul#newslist li span.thum {
  display: block;
  float: left;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  vertical-align: top;
  /* margin: -2vw 2vw -2vw -2vw; */
  position: relative;
  background-color: #ececec;
}

#news ul#newslist li span.thum img {
  /* width: 150px; */
  /* height: 100px; */
}

#news ul#newslist li p .txt {
  line-height: 1.4;
  font-weight: bold;
  font-size: 105%;
  overflow: hidden;
}

#news ul#newslist li a {
  /* display: block; */
  /* width: 100%; */
  /* color: #000; */
  /* padding: 10px 15px 5px 20px; */
  /* position: relative; */
  /* box-sizing: border-box; */
}

#news ul#newslist li a:not(.nolink2):hover {
  opacity: 0.5;
  transition: 0.4s;
}

#news ul#newslist li a.nolink2 {
  cursor: default;
}

#news ul#newslist li span.ymd {
  /* position: absolute; */
  /* color: #434343; */
  /* font-size: 85%; */
  padding: 0.2em 1em 0;
  letter-spacing: 0.04em;
  margin-bottom: 0.8em;
  display: block;
  color: #ea519a;
}

#news ul#newslist li span.tag {
  display: inline-block;
  color: white;
  font-size: 70%;
  font-weight: bold;
  padding: 0.4em 0.5em 0.4em;
  margin-bottom: 0.3em;
  margin-right: 1em;
  float: left;
}

#news ul#newslist li span.tag:before {
  position: absolute;
  content: '';
  top: 0;
  right: -6px;
  border: none;
  border-right: solid 6px transparent;
}

.tag1 {
  background-color: #ea519a;
}

.tag2 {
  background-color: #0047a3;
}

.tag3 {
  background-color: #6a3906;
}

.tag4 {
  background-color: #eb6100;
}

.triangle::before {
  content: "";
  top: 0;
  right: 0;
  border-bottom: 5em solid transparent;
  border-right: 5em solid rgba(254, 209, 0, 0.8);
  position: absolute;
  z-index: 10;
}

#news {
  height: 570px;
  overflow: scroll;
  position: relative;
  padding: 0 3.3vw;
}

.tp_csr ul {
  width: 60%;
  margin: 0 auto;
  /* position: relative; */
}

.tp_csr ul li:hover {
  background-color: hsla(0, 0%, 0%, 0.1);
}

.tp_csr ul li img {
  width: 9%;
  display: block;
  margin: 14px auto 0;
  transform: rotate(90deg);
}

.tp_csr #next, .tp_csr #prev {
  cursor: pointer;
  width: 50%;
  height: 52px;
  position: absolute;
  width: 11%;
}

.tp_csr ul li#next {
  top: 0;
  left: 0;
}

.tp_csr ul li#prev {
  top: 0;
  left: 0;
}

@media all and (min-width: 768px) {
  #news ul#newslist li .box {
    padding: 1em;
  }
  #news ul#newslist {
    display: flex;
    width: 980px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: stretch;
  }

  #news ul#newslist li {
    width: 690px;
  }

  #news ul#newslist li:nth-child(even) {
    margin-left: 180px;
  }

  #news ul#newslist li p .ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.5;
    letter-spacing: 0;
  }

  #news {
    width: 870px;
    padding: 0 50px;
    margin-bottom: 2em;
    overflow-x: hidden;
    font-size: 20px;
  }

  #news ul#newslist li span.thum {
    margin: 0 1em 0 0;
    position: relative;
    height: 0;
    width: 38.685015290519878%;
    padding-top: calc((9 / 16)*38.685015290519878%);
    /* float: left; */
  }

  #news ul#newslist li span.thum img {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
  }
}

@media all and (max-width: 767px) {
  #news ul#newslist li .box {
    padding: 0.6em 0.4em;
  }

  #news ul#newslist li {
    margin-bottom: 0.6em;
    width: 95%;
  }
  #news ul#newslist li:nth-child(even) {
    margin-left: 5%;
  }

  #news ul#newslist li span.ymd {
    padding: 0.25em 0.2em 0 -0.3em;
    font-size: 85%;
  }
  #news ul#newslist li p .ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.25;
    letter-spacing: 0;
    font-size: 100%;
    text-align: unset;
    word-break: break-all;
    text-align: left;
  }

  #news ul#newslist li p {
    font-weight: bold;
    font-size: 80%;
  }

  #news ul#newslist li p.txt {
    /* height: 2.9em; */
    /* overflow: hidden; */
  }

  #news ul#newslist li a {
    display: block;
    width: 100%;
    color: #000;
    /* padding: 2vw 2vw 2vw 2vw; */
    position: relative;
    /* box-sizing: border-box; */
  }

  /* ÃƒÂ£Ã¢â‚¬Å¡Ã‚Â¹ÃƒÂ£Ã¢â‚¬Å¡Ã‚Â¯ÃƒÂ£Ã†â€™Ã‚Â­ÃƒÂ£Ã†â€™Ã‚Â¼ÃƒÂ£Ã†â€™Ã‚Â«ÃƒÂ£Ã†â€™Ã‚ÂÃƒÂ£Ã†â€™Ã‚Â¼ÃƒÂ©Ã‚ÂÃ…Â¾ÃƒÂ¨Ã‚Â¡Ã‚Â¨ÃƒÂ§Ã‚Â¤Ã‚Âº */
  #news {
    height: 260px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    /* IE, Edge ÃƒÂ¥Ã‚Â¯Ã‚Â¾ÃƒÂ¥Ã‚Â¿Ã…â€œ */
    scrollbar-width: none;
    /* Firefox ÃƒÂ¥Ã‚Â¯Ã‚Â¾ÃƒÂ¥Ã‚Â¿Ã…â€œ */
  }

  #news::-webkit-scrollbar {
    /* Chrome, Safari ÃƒÂ¥Ã‚Â¯Ã‚Â¾ÃƒÂ¥Ã‚Â¿Ã…â€œ */
    display: none;
  }

  .tp_csr {
    display: none;
  }

  #news ul#newslist li span.thum {
    position: relative;
    height: 0;
    width: 42%;
    padding-top: calc((9 / 16)*42%);
    float: left;
    margin-right: 0.7em;
  }

  #news ul#newslist li span.thum img {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
  }
}
