/*
 Theme Name:   Regional
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  eportfolio Child Theme
 Author:       Haruki Nakayama
 Author URI:   https://hareweb.jp
 Template:     eportfolio
 Version:      1.0.0
*/
@media (min-width: 520px) {
  body {
    width: 100%;
  }
}
@media (max-width: 599px) {
  body {
    width: 100%;
  }
}
@media (max-width: 340px) {
  body {
    width: 100%;
  }
}
@media (min-width: 600px) {
  body {
    width: 100%;
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  body {
    width: 100%;
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  body {
    width: 100%;
  }
}
@media (min-width: 960px) {
  body {
    width: 100%;
    background-size: 800px;
    overflow-x: hidden;
  }
}
@media (max-width: 959px) {
  body {
    width: 100%;
  }
}
@media (max-width: 1279px) {
  body {
    width: 100%;
  }
}
@media (min-width: 1280px) {
  body {
    width: 100%;
  }
}
@media all and (-ms-high-contrast: none) {
  body {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .notsp {
    display: none !important;
  }
}

@media (min-width: 600px) and (max-width: 959px) {
  .nottab {
    display: none !important;
  }
}

@media (min-width: 600px) {
  .sponly {
    display: none !important;
  }
}

@media screen and (max-width: 340px) {
  .notip5 {
    display: none !important;
  }
}

@media screen and (min-width: 340px) {
  .ip5only {
    display: none !important;
  }
}

@media (max-width: 599px) {
  .tabonly {
    display: none !important;
  }
}
@media (min-width: 960px) {
  .tabonly {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .mobonly {
    display: none !important;
  }
}

@media (max-width: 599px) {
  .overtabp {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .overtabp {
    display: block !important;
  }
}

@media (max-width: 959px) {
  .pconly {
    display: none !important;
  }
}

@media (max-width: 1279px) {
  .pcwonly {
    display: none !important;
  }
}

#updates,
#networkupdates {
  list-style: none;
  margin: 0 0 -40px;
  padding: 0;
}
@media (min-width: 768px) {
  #updates,
#networkupdates {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
#updates li,
#networkupdates li {
  flex-basis: 49%;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
#updates .flexbox,
#networkupdates .flexbox {
  display: flex;
  align-items: center;
}
#updates .flexbox *,
#networkupdates .flexbox * {
  box-sizing: border-box;
}
#updates .thumbnail,
#networkupdates .thumbnail {
  flex-basis: 50%;
  margin-right: 15px;
}
@media (min-width: 768px) {
  #updates .thumbnail,
#networkupdates .thumbnail {
    flex-basis: 25%;
  }
}
#updates .thumbnail .thumbwrap,
#networkupdates .thumbnail .thumbwrap {
  position: relative;
  padding-top: 66%;
  border: solid 1px #666666;
  overflow: hidden;
}
#updates .thumbnail img,
#networkupdates .thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}
#updates .info,
#networkupdates .info {
  flex-basis: 50%;
}
@media (min-width: 768px) {
  #updates .info,
#networkupdates .info {
    flex-basis: 70%;
  }
}
#updates .info .date,
#networkupdates .info .date {
  display: inline-block;
  padding: 3px 0;
  font-size: 80%;
}
@media (min-width: 768px) {
  #updates .info .date,
#networkupdates .info .date {
    font-size: 90%;
  }
}
#updates .info .sitename,
#networkupdates .info .sitename {
  display: block;
  color: #6EC1E4;
  border-radius: 100em;
  font-size: 80%;
}
@media (min-width: 768px) {
  #updates .info .sitename,
#networkupdates .info .sitename {
    display: inline-block;
    background: #6EC1E4;
    margin-left: 1em;
    padding: 3px 12px;
    font-size: 90%;
    color: white;
  }
}
#updates .info .posttitle,
#networkupdates .info .posttitle {
  display: block;
  margin-top: 0.3em;
  font-size: 100%;
}
@media (min-width: 768px) {
  #updates .info .posttitle,
#networkupdates .info .posttitle {
    font-size: 110%;
  }
}

.custom-logo-link {
  display: block;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes entry {
  0%, 100% {
    color: #fff;
  }
  50% {
    color: #B91006;
  }
}
@keyframes entry-in {
  0% {
    transform-origin: left top;
    transform: skewX(-30deg) scale(0, 1);
  }
  100% {
    transform-origin: left top;
    transform: skewX(-30deg) scale(1, 1);
  }
}
@keyframes entry-out {
  0% {
    transform-origin: right top;
    transform: skewX(-30deg) scale(1, 1);
  }
  100% {
    transform-origin: right top;
    transform: skewX(-30deg) scale(0, 1);
  }
}
@keyframes bgloop {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100vw -100vw;
  }
  @media (min-width: 960px) {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 800px -800px;
    }
  }
}