  article.js-modal{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    padding: 3%;
  }
 article.js-modal:last-of-type {
    border-bottom: none; }
  article.js-modal .blog_img {
    margin-right: 2%;
    width: 20%; }
  article.js-modal .in {
    width: 80%;
    text-align: left;
  }

  article.js-modal .list-date,article.js-modal .list-category{
    margin:1em 0;
    display:inline-block;
    vertical-align:middle;
    width:25%;
    float:none;
    font-size: 1rem;
  }  
  article.js-modal h4{
    width:100%;
    float:none;
  }
  .wp-post-content{
    margin-top:2em;
    padding-top:2em;
    border-top:1px dotted #000;
  }  
  article::after {
    clear: both;
    content: '';
    display: block; }

.news-wrapper{
    margin-bottom:4em;
}
 .wp-post{
  max-width:800px;
  margin: 0 auto;
 }
 .wp-post p{
  width:100%;
  float:none;
 }

.youtube-iframe {
  position: relative;
  width: 100%;
  padding-top: 56.25%
}

.youtube-iframe iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important
}


.is-none {
  display: none !important
}

.js-hide, .is-hide {
  display: none
}

.te-center {
  text-align: center
}

.te-right {
  text-align: right
}

.te-left {
  text-align: left
}


.body-in {
  overflow-x: hidden
}

.anime, .toggle {
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  -moz-animation-delay: 0;
  -webkit-animation-delay: 0;
  animation-delay: 0;
  -moz-animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -moz-animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  animation-timing-function: ease;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards
}

.anime.fade-in {
  opacity: 0
}

@-moz-keyframes fade-in {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

@keyframes fade-in {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

.anime.fade-in.active, .anime.fade-in.lock {
  -moz-animation-name: fade-in;
  -webkit-animation-name: fade-in;
  animation-name: fade-in
}

.wp-post p {
  display: block;
  margin: 0.8em 0 1.5em;
  line-height: 1.8
}

.wp-post b, .wp-post strong {
  font-weight: 700
}

.wp-post em {
  font-style: italic
}

.wp-post td, .wp-post th {
  border: solid 1px #DADADA;
  padding: 0.5em
}

.wp-post .aligncenter {
  display: block;
  margin: 0 auto
}

.wp-post .alignright {
  float: right;
  padding-left: 3em !important;
  padding-right: 0 !important
}

.wp-post .alignleft {
  float: left;
  padding-left: 0 !important;
  padding-right: 3em !important
}

.wp-post .wp-caption {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 0.5em;
  max-width: 100% !important;
  border: solid 2px #CFCFCF
}

.wp-post .wp-caption .wp-caption-text {
  text-align: center
}

.wp-post h2 {
  margin-bottom: 1em;
  border-bottom: dashed 1px #7f7f7f;
  font-size: 2.4em;
  line-height: 1.5;
  font-weight: 700
}

.wp-post h3 {
  margin-bottom: .5em;
  font-size: 1.8em;
  font-weight: 700;
  line-height: 2
}

.wp-post h4 {
  margin-bottom: .5em;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 2
}

.wp-post ol, .wp-post ul {
  margin: 0 0 0 0.5em
}

.wp-post ol li, .wp-post ul li {
  margin: 0 0 0.5em
}

.wp-post ul li {
  list-style-type: disc
}

.wp-post ol li {
  list-style-type: decimal
}

.wp-post img[class*='attachment-'], .wp-post img[class*='wp-image-'] {
  max-width: 100%;
  height: auto
}

.wp-post img.alignright, .wp-post img.alignleft {
  padding: 0 1em 2em
}

.wp-post blockquote {
  display: block;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 40px;
  -webkit-margin-end: 40px
}

@media screen and (max-width: 768px) {
  .wp-post .alignright, .wp-post .alignleft {
    float: none;
    padding-left: 0 !important;
    padding-right: 0 !important
  }
  .wp-post img[class*='attachment-'], .wp-post img[class*='wp-image-'] {
    padding: 0 0 2em
  }
}

.visual-editor {
  background: #FFF
}

.visual-editor div, .visual-editor p {
  display: block;
  margin: 0.8em 0;
  border: dashed 1px #DADADA;
  line-height: 1.5
}

.js-modal {
  position: relative;
  transition: ease .5s;
}
.js-modal:hover{
  background:#fff;
  transition: ease .5s;
  cursor:pointer;
}
.js-modal .modal-bg {
  -moz-transition: opacity .3s;
  -o-transition: opacity .3s;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
  opacity: 0;
  position: fixed;
  top: -100vh;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5)
}

.js-modal .modal-bg .modal-close {
  display: block;
  position: absolute;
  top: 5%;
  right: 5%;
  z-index: 10;
  font-size: 3rem;
  width: 35px;
  height: 35px;
  text-align: center;
  cursor: pointer;
  color: #000;
  background-image:url(../img/times-circle-solid.svg);
  background-size:contain;
  background-repeat:no-repeat;
}

.js-modal .modal-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 2em 3.125%;
  z-index: 3;
  width: 85%;
  height: 85%;
  color: #000;
  overflow-y: scroll;
  cursor: auto;
  background: #FFF;
  word-break: break-all;
}

.js-modal.open {
  z-index: 100
}

.js-modal.open .modal-bg {
  opacity: 1;
  top: 0;
  left: 0
}

.wp-rest {
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  overflow: hidden
}

.wp-rest .rest-loading {
  -moz-transition: .5s;
  -o-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: #000
}

.wp-rest .rest-loading .loading-title {
  -moz-transition: .2s;
  -o-transition: .2s;
  -webkit-transition: .2s;
  transition: .2s;
  -moz-transform: rotate(10deg);
  -ms-transform: rotate(10deg);
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);
  font-size: 10vw;
  color: #FFF
}

.wp-rest .rest-loading.active {
  margin-top: -200vh
}

.wp-rest .rest-loading.active .loading-title {
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -webkit-transform: rotate(0);
  transform: rotate(0);
  margin-top: 2em
}

.wp-rest .rest-base {
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  position: relative;
  width: 24.999%;
  min-height: 20rem;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  overflow: hidden
}

.wp-rest .rest-base.wave0 {
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s
}

.wp-rest .rest-base.wave1 {
  -moz-animation-delay: .2s;
  -webkit-animation-delay: .2s;
  animation-delay: .2s
}

.wp-rest .rest-base.wave2 {
  -moz-animation-delay: .4s;
  -webkit-animation-delay: .4s;
  animation-delay: .4s
}

.wp-rest .rest-base.wave3 {
  -moz-animation-delay: .6s;
  -webkit-animation-delay: .6s;
  animation-delay: .6s
}

.wp-rest .rest-base.wave4 {
  -moz-animation-delay: .8s;
  -webkit-animation-delay: .8s;
  animation-delay: .8s
}

.wp-rest .rest-base.wave5 {
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  animation-delay: 1s
}

.wp-rest .rest-base.wave6 {
  -moz-animation-delay: 1.2s;
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s
}

.wp-rest .rest-base.wave7 {
  -moz-animation-delay: 1.4s;
  -webkit-animation-delay: 1.4s;
  animation-delay: 1.4s
}

.wp-rest .rest-base.wave8 {
  -moz-animation-delay: 1.6s;
  -webkit-animation-delay: 1.6s;
  animation-delay: 1.6s
}

.wp-rest .rest-base.wave9 {
  -moz-animation-delay: 1.8s;
  -webkit-animation-delay: 1.8s;
  animation-delay: 1.8s
}

.wp-rest .rest-base.wave10 {
  -moz-animation-delay: 2s;
  -webkit-animation-delay: 2s;
  animation-delay: 2s
}

.wp-rest .rest-base.wave11 {
  -moz-animation-delay: 2.2s;
  -webkit-animation-delay: 2.2s;
  animation-delay: 2.2s
}

.wp-rest .rest-base.wave12 {
  -moz-animation-delay: 2.4s;
  -webkit-animation-delay: 2.4s;
  animation-delay: 2.4s
}

.wp-rest .rest-base.wave13 {
  -moz-animation-delay: 2.6s;
  -webkit-animation-delay: 2.6s;
  animation-delay: 2.6s
}

.wp-rest .rest-base.wave14 {
  -moz-animation-delay: 2.8s;
  -webkit-animation-delay: 2.8s;
  animation-delay: 2.8s
}

.wp-rest .rest-base.wave15 {
  -moz-animation-delay: 3s;
  -webkit-animation-delay: 3s;
  animation-delay: 3s
}

.rest-img {
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center
}

.wp-rest .rest-base .in {
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 3em 3.125%;
  color: #FFF;
  background: rgba(0, 0, 0, 0.3)
}

.wp-rest .rest-base .bebas {
  letter-spacing: .1em
}


.wp-rest .rest-base .list-cat.cat-other_web {
  background: rgba(115, 126, 223, 0.7)
}

.wp-rest .rest-base .list-cat.cat-web_design {
  background: rgba(221, 188, 20, 0.7)
}

.wp-rest .rest-base .list-cat.cat-web_marketing {
  background: rgba(92, 205, 97, 0.7)
}

.wp-rest .rest-base .list-cat.cat-other {
  background: rgba(255, 80, 80, 0.7)
}

.wp-rest .rest-base .list-title {
  font-size: 1.2em
}

.wp-rest .rest-base .list-date {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: .5em;
  line-height: 1
}

.wp-rest .rest-base .list-name {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: .5em;
  line-height: 1;
  font-style: italic
}

  .rest-img {
  -moz-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1)
}

.wp-rest .rest-base:hover .in {
  background: rgba(0, 0, 0, 0.5)
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .wp-rest .rest-base {
    width: 33.33333%
  }
}
.sp{
  display:none;
  visibility:hidden
}
@media screen and (max-width: 768px) {
.sp{
  display:inline;
  visibility:visible;
}
  .wp-rest .rest-base {
    width: 100%
  }
  .js-modal .modal-bg .modal-close {
    top: .5em;
    right: .5em;
    z-index: 10;
    font-size: 3rem;
    width: 25px;
    height: 25px;
  }
article.js-modal {
width:100%;
display:block;
padding:0;
margin-bottom:1em;
}
article.js-modal .blog_img{
  margin:0 0 .5em 0;
  width:100%;
}
article.js-modal .in{
  width: 100%;
}
article .blog_img {
    float: none;
    margin-right: 0;
    width: 100%;
    margin-bottom:1em;
}
h4.list-title {
    font-size: 1em;
    width:100%;
    line-height:1.3;
}
.list-date{
  margin:2% auto;
}
.wp-post p {
  margin: 0.3em 0;
  line-height: 1.6;
}
article.js-modal .list-date,article.js-modal .list-category{
    width:40%;
    font-size: .8rem;
    margin:0 0 1em 0;
  }
}