/*
Theme Name: EP_Theme
Theme URI: localhost/wordpress/
Description: EP_Theme
Author: Fujita
Author URI: localhost/wordpress/
Version: 1.0.0
*/

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  touch-action: manipulation;
}

body {
  /* width: 100vw; */
  font: 16px 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
  background: #fff;
  /* background: #333; */
  color: #333;

}
header, main, aside, footer{
  display:block;
}

/* loading */
#loader-bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 9000;
}
#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 122px;
  height: 100px;
  margin-left: -61px;
  color: #333;
  z-index: 9000;
  text-align: center;
}

.animation-5
{
  width: 122px;
  height: 50px;
}

.animation-5 div
{
    height:30px;
    width:10px;
    background-color: #333;
    display:inline-block;
    margin: 0 5px;
    -webkit-animation: animation5-bar 1s infinite;
    animation: animation5-bar 1s infinite;
}

.animation-5 .bar1
{
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    background: #0005bd;
}
.animation-5 .bar2
{
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}
.animation-5 .bar3
{
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
.animation-5 .bar4
{
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
.animation-5 .bar5
{
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

@keyframes animation5-bar
{
    30%
    {
        transform: scaleY(2);
    }
}
/* end loading */

/* パンくずリスト　　*/
div.breadcrumbs {
  margin: 10px 0;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: .8em;
}

div.breadcrumbs a {
  transition: .5s;
}

div.breadcrumbs a:hover {
  opacity: .6;
}
/* end パンくずリスト */

a, a:visited {
  outline: none;
  color: #333;
  text-decoration: none;
}

ul {
  display: flex;
  padding: 0;
}

li {
  list-style: none;
  display: flex;
}
#wrap {
  width: 100%;
}

/* テスト */
#header.scroll{
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  border-bottom: solid 1px silver;
  transition: .5s;
}
#header{
  background-color:none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  font-size: 13px;
}
/* テスト */

.header-left {
  float: left;
  height: 100%;
  z-index: 1001;
}

.logo_image {
  height: 50px;
  margin: 15px 20px;
}

nav {
  z-index: 1001;
}

.gnav {
  float: right;
  height: 79px;
}

.gnav li {
  line-height: 79px;
  transition-duration: .5s;
}

.gnav li:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gnav i {
  line-height: 79px;
}

.gnav li a {
  display: block;
  color: #fff;
  padding: 0 20px;
}

.openNavCover {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  z-index: 999;
  display: none;
}
/* --- end header ---*/

#contents {
  width: 100%;
  margin: 2em 0;
}

#main {
  width: 55%;
  max-width: 755px;
  /* display: flex; */
  padding-right: 50px;
}

#main-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}


/* --- main visual --- */
.main-visual-wrap {
  width: 100%;
  height: 300px;
  background: #333;
}
.main-visual {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: .4;
  background-image: url(https://zero-vision.jp/wp-content/themes/EP_Theme/img/work1.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
}
.main-text {
  position: absolute;
  font-size: 2em;
  color: #fff;
  line-height: 150px;
  text-align: center;
  top: 100px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 300px;
  height: 150px;
  border: 3px solid #fff;
  letter-spacing: 5px;
}
/* --- end main visual*/

/* --- content --- */
.post {
  width: 100%;
}

.post img {
  /* display: block;
  width: 80%;
  height: 100%; */
}

/* .attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image {
  width: 100%;
  height: 100%;
} */

div.post img {
  width:100%;
  height: auto!important;
  display: block;
}

div.post p {
  margin-top: 10px;
}

.cal {
  font-size: .8em;
  text-align: right;
  color: #333;
}

.cal .fa {
  margin-right: 5px;
}

/* --- end content ---*/

/* --- サイドバー ---*/
#sidebar {
  width:20%;
  max-width: 293px;
  display: flex;
  padding: 0;
  text-align: center;
}

#sidebar aside {
  width: 100%;
}

#sidebar ul {
  display: block;
  padding: 0;
}

#sidebar h3 {
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 0;
  position: relative;
  letter-spacing: 2px;
  background: none;
  margin-top: 15px;
  margin-bottom: 15px;
}

#sidebar h3::before, #sidebar h3::after {
  content: '';
  position: absolute;
  top: 44%;
  width: 14%; /*ラインの長さ*/
  border-top: 3px solid #444d53; /*ラインの色*/
}
#sidebar h3::before {
  left: 0;
}
#sidebar h3::after {
  right: 0;
}

.recent-post-wrap {
  width: 100%;
  margin-bottom: 15px;
}

.recent-post {
  width: 80%;
  margin: 0 auto;
  transition: .5s;
  opacity: 1;
}

.recent-post a {
  width: 100%;
  display: block;
  padding-top: 5px;
}

.recent-post:hover {
  opacity: .6;
}

/* .recent-post img {
  width: 80%;
  height: 110px;
} */

.img-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  margin: 0 auto;
}

.img-wrap img {
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: inherit;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.recent-cal {
  font-size: .7em;
  text-align: left;
  border-bottom: 1px solid #333;
}

.recent-post .recent-title {
  text-align: left;
}


/* --- end サイドバー ---*/

/* --- top btn ---*/
#page-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  color: #fff;
  background: #ccc;
  border-radius: 50px;
}

#page-top p{
  text-align: center;
  margin: 0;
  padding: 0;
}

.top-scroll {
  display: block;
  height: 50px;
  width: 50px;
  line-height: 50px;
  transition-duration: .5s;
  border-radius: 50px;
}

.top-scroll .fa {
  line-height: 50px!important;
}

.top-scroll:hover {
  background: rgba(255,255,255,0.5);
}

/* --- end top btn ---*/


/* --- footer ---*/
footer {
  clear: both;
  width: 100%;
  background: #fff;
  padding: 40px 0 10px 0;
  box-shadow: 0px -2px 2px rgba(0,0,0,0.3);
}

.footer-area {
  width: 190px;
  height: 110px;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.footer-logo-image {
  height: 60px;
  width: 190px;
}

.sns-icon {
  margin-top: 1em;
}

.sns-icon i {
  font-size: 30px;
  color: #333;
  transition-duration: .5s;
}

/* .sns-icon i:hover {
  color: #f00;
} */

.fa-facebook {
  margin-right: 23px;
}
.fa-facebook:hover {
  color: #3B5998;
}

.fa-instagram {
  margin-right: 23px;
}
.fa-instagram:hover {
  color: #b900b4;
}

.fa-twitter:hover {
  color: #55acee;
}

.footer-menu {
  width: 500px;
  margin: 0 auto;
}

.footer-menu ul {
  margin-top: 1em;
  justify-content: center;
}

.footer-menu a {
  color: #333;
  transition: .5s;
}
.footer-menu a:hover {
  opacity: .6;
}

.footer-menu li {
  padding: 0 1em 0 1em;
  font-size: 0.8em;
}

.footer-menu li+ li{
  border-left: 1px solid #fff;
}

footer p {
  color: #333;
  font-size: 0.5em;
  text-align: center;
  margin-top: 3em;
}
/* --- end footer ---*/

.nav-below {
  margin-top: 10px;
  border-top: 1px solid #333;
  padding-top: 10px;
}

.nav-next {
  float: right;
}

/* ---------- 記事一覧ページ ---------- */
/* #inner-content {
  width: 100%;
  padding: 30px;
} */

/* .archive-main {
  width: 70%;
  float: left;
} */

#main-wrap {
  margin: 0 9.28%;
  
}

.archive-main {
  margin: 0 auto;
  width: 80%;
  max-width: 1400px;
}

.post-inner {
  display: flex;
  width: 100%;
  padding: 45px 4.03%;
}

.archive-post-wrap {
  width: 100%;
  border-bottom: 1px solid #ddd;
  transition: .5s;
  position: relative;
}
.archive-post-wrap:hover {
  /* background: #333; */
  /* position: absolute; */
  opacity: .6;
}

.indenx2itembox {
  width: 100%;
  display: flex;
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  /* margin-bottom: 25px; */
  
  /* padding: 45px 4.03%; */
}

.imgbox-large {
  display: none;
}

.imgbox {
  width: 30%;
  position: relative;
  /* width: 100%; */
  height: 170px;
  overflow: hidden;
  /* margin: 0 auto; */
}

.imgbox img {
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: inherit;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.titlebox {
  width: 70%;
  padding-left: 20px;
}

.titlebox h2 {
  font-size: 1.8em;
  letter-spacing: 2px;
  font-weight: 400;
}
.titlebox-cal {
  font-size: .8em;
  color: #999;
  line-height: 1.5em;
}
.titlebox_contentin {
  color: #999;
  font-weight: 200;
  font-size: .8em;
  padding-left: 20px;
  padding-top: 20px;
}
/* --- ページネーション --- */

.nav-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.pagination {
  text-align: center;
}

.nav-links span, .nav-links a {
  width: 28px;
  height: 28px;
  /* font-size: 18px; */
  line-height: 28px;
  margin: 0 4px;
}

.page-numbers {
  transition: .5s;
  border: 1px solid #999;
}

.page-numbers:hover {
  color: #fff;
  background: #333;
}

.next, .prev {
  border: none;
  border-radius: 15px;
}

.current {
  color: #fff;
  background: #333;
}

/* --- ページネーション --- */


/* --------------------------------- */


/* -----------------------------------------*/
/* レスポンシブ*/
/* ハンバーガーメニュー  */
@media screen and (max-width: 768px){  
  .globalMenuSp {
  display: none;
  /* -webkit-transform: translateX(10%);
  transform: translateX(10%);
  -webkit-transition:ease .5s;
  transition:ease .5s; */
  z-index:1000;
}

.openNavCover.show {
    display: block;

  }

  .close {
    display: none;
  }

  .globalMenuSp.open {
    display: block;
    /* position: fixed;
    top: 0px;
    right: 0; */
    opacity: 1;
   }

  .globalMenuSp.open ul{
    display: block;
    position: relative;
    top: 0;
    width: 100%;
    padding: 0;
  }

  .globalMenuSp ul li{
    display: block;
    line-height: 50px;
    border-bottom: 1px solid silver;
  }

  .globalMenuSp a {
    text-align: center;
  }

  .btnMenu {
    display: block;
    /* position: fixed;    bodyに対しての絶対位置指定 */
    position: absolute;
    right: 13px;
    top: 20px;
    width: 42px;
    height: 51px;
    cursor: pointer;
    z-index: 3;
    text-align: center;
  }
  .btnMenu span {
    display: block;
    position: absolute;    /* .btnMenuに対して */
    width: 30px;
    border-bottom: solid 3px #eee;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
  }
  .btnMenu span:nth-of-type(1) {
    top: 9px;
  }
  .btnMenu span:nth-of-type(2) {
    top: 18px;
  }
  .btnMenu span:nth-of-type(3) {
    top: 27px;
  }

  /* 最初のspanをマイナス45度に */
  .btnMenu.active span:nth-of-type(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  /* 2番目と3番目のspanを45度に */
  .btnMenu.active span:nth-of-type(2),
  .btnMenu.active span:nth-of-type(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* --- メイン ---*/
  #main-wrap {
    /* padding: 0 30px; */
    display: block;

  }

  #main {
    width: 100%;
    padding-right: 0;
  }

  /* --- end メイン --- */


  /* --- サイドバー ---*/
  #sidebar aside {
    
  }

  #sidebar h3::before, #sidebar h3::after {
    width: 18%;
  }

  .recent-posts {
    border-top: 1px solid #d5dee1;
  }

  .recent-post-wrap {
    padding: 20px 0;
    border-bottom: 1px solid #d5dee1;
    margin-bottom: 0;
  }

  .recent-post {
    width: 100%;
    height: 100%;
  }
  .recent-post a {
    height: 100%;
  }
  .recent-post .recent-title {
    padding-top: 10px;
    font-size: .9em;
    font-weight: 300;
  }

  .recent-cal {
    font-weight: bold;
  }
  
  #sidebar {
    width: 100%;
    max-width: 100%;
    margin-top: 50px;
  }

  .img-wrap {
    width: 100px;
    height: 100px;
    float:left;
    margin-right: 10px;
  }

  /* --- end サイドバー --- */

  .footer-menu {
    display: none;
  }

  footer {
    width: 100%;
    background: #333;
    padding: 40px 0 10px 0;
  }

  /* --- 記事一覧ページ --- */
  #main-wrap {
    width: 95%;
    margin: 0 auto;
  }

  .archive-main {
    width: 100%;
  }

  .imgbox {
    /* width: 50%; */
    display: none;
  }

  .imgbox-large {
    display: block;
    width: 100%;
    position: relative;
    /* width: 100%; */
    height: 170px;
    overflow: hidden;
    /* margin: 0 auto; */
  }
  
  .imgbox-large img {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: inherit;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .titlebox {
    width: 100%;
    padding-left: 0;
    padding-top: 10px;
  }

  .titlebox_contentin {
    display: none;
  }

  

  

  /* --- end 記事一覧ページ --- */




}

/* --- レスポンシブ --- */
@media screen and (min-width:1200px) {
  /*　画面サイズが1200pxからはここを読み込む　*/


}