/*
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;
}


/* body {
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  background: #f2f2f2;
  color: #333;
} */

html {
  touch-action: manipulation;
}

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

/* 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 */


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

ul {
  display: flex;
  padding: 0;
}

li {
  list-style: none;
  display: flex;
}

/* テスト */
#header.scroll{
  background-color: rgba(255, 255, 255, .9);
  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;
}

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

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

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

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

/* .gnav li a:hover {
  border-bottom: 2px solid #fff;
} */

/* .main {
  display: block;
  margin: 0 auto;
  width: 100%;
} */

/* --- メインヴィジュアル  --- */

.main-visual {
  /* background-image: url(https://zero-vision.jp/wp-content/themes/EP_Theme/img/main_img.jpg);
  background-size: cover;
  background-position: center; */
  width: 100%;
  height: 100vh;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  flex-direction: column;
  overflow: hidden;
  background: #333;
  /* --- */
  position: relative;
  /* --- */
}

/* --- test --- */
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  opacity: 1;
  z-index: 1;
  }
/* ---- stats.js ---- */
/* --- test --- */

.slider_css {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  /* position: relative; */
  position: absolute;
  overflow: hidden;
}
.slider_css ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.slider_css ul li {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation-iteration-count: infinite;
  animation-duration: 24s;
}
.slider_css ul li:nth-child(1) {
  background-image: url('https://crear-ltd.com/wp-content/themes/EP_Theme/img/work1.jpg');
  animation-name: slider-zoomout;
  animation-delay: -3s;
}
.slider_css ul li:nth-child(2) {
  background-image: url('https://crear-ltd.com/wp-content/themes/EP_Theme/img/work2.jpg');
  animation-name: slider-zoomout;
  opacity: 0;
  animation-delay: 5s;
}
.slider_css ul li:nth-child(3) {
  background-image: url('https://crear-ltd.com/wp-content/themes/EP_Theme/img/work3.jpg');
  animation-name: slider-zoomout;
  opacity: 0;
  animation-delay: 13s;
}
/* .slider_css ul li:nth-child(4) {
  background-image: url('https://zero-vision.jp/wp-content/themes/EP_Theme/img/main_img.jpg');
  animation-name: slider-zoomout;
  opacity: 0;
  animation-delay: 21s;
}
.slider_css ul li:nth-child(5) {
  background-image: url('https://zero-vision.jp/wp-content/themes/EP_Theme/img/main_img.jpg');
  animation-name: slider-zoomout;
  opacity: 0;
  animation-delay: 29s;
} */
.slider_css ul li img {
  width: 130%;
}
/* @media only screen and (max-width: 768px) {
  .slider_css {
    height: 400px;
  }
  .slider_css ul li {
    background-size: contain;
    background-repeat: no-repeat;
  }
} */

@keyframes slider-zoomin {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  20.83% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  45.83% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}
@keyframes slider-zoomout {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  20.83% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  45.83% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* --- ロード後アニメーション文字 --- */
/* .main-content {
  position: absolute;
  top: 20vh;
  margin-left: 5%;
}

#main-content-text {
  font-size: 3em;
  font-weight: 300;
} */

/* #main-content-subtext {
  padding-left: 10px;
  font-size: 2em;
  font-weight: 200;
} */
/* --- ロード後アニメーション文字 --- */

.main-content {
  position: absolute;
  width: 90%;
  max-width: 670px;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
}



/* --- end メインヴィジュアル --- */

.hero-text {
  margin: 0;
  padding: 0;
  /* line-height: 1; */
  color: #fff;
}


/* scroll animation */
.main-visual a {
  position: absolute;
  bottom: -40px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  text-decoration: none;
  color: #fff;
  margin-left: -19px;
}

.main-visual a {
  padding-top: 80px;
}
.main-visual a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
.main-visual a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.main-visual a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
.main-visual a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@-webkit-keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* end scroll animation */

/* ロード後アニメーション */


#main-visual-text {
  position: relative;
}

#main-visual-subtext {
  position: absolute;
  top: 30px;
}

.main-text {
  color: #fff;
}

.none {
  display: none;
}

@keyframes loaded {
  0% { opacity: 0; transform: translate( 50px, 0 ) }
  100% { opacity: 1; transform: translate( 0, 0 ) }
}

.loaded {
  animation:loaded 1s ease
}
/* end ロード後アニメーション */

/* スクロールアニメーション */
/* .section-title, .text_fade_off {
  opacity: 0;
} */
.slide-mask {
  opacity: 0;
}

.fade_on {
  opacity: 1;
}

.isPlay {
  animation-name: play;
  animation-duration: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8,0,.5,1);
  position: relative;
  opacity: 1 !important;
}
  
.isPlay:before {
  animation-name: maskOut;
  animation-duration: .5s;
  animation-delay: .6s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8,0,.5,1);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #333;
}

@keyframes play {
  from {
    transform: translateX(-100%);
  }
  
  to {
    transform: translateX(0);
  }
}

@keyframes maskOut {
  from {
    transform: translateX(0);
  }
  
  to {
    transform: translateX(103%);
  }
}







/* end スクロールアニメーション */

.content {
  text-align: center;
  overflow: hidden;
}

.content h2 {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 10px;
  font-weight: 200;
}

.content h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 5px solid #333;
  width : 80% ;
  width : -webkit-calc(100% - 40px) ;
  width : calc(100% - 40px) ;
  margin: 0 auto;
}

.title-wrap h2 {
  letter-spacing: 5px;
  text-indent: 5px;
}

/* お知らせ */

/* #news {
  padding: 0 30px;
} */

.content-news {
  width: 90%;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 20px;
}

.title-area-white {
  width: 100%;
  height: 100px;
  background: #fff;
}

.title-area-black {
  width: 100%;
  height: 100px;
  background: #1a2568;
}

.title-wrap {
  height: 100%;
  display: inline-block;
  margin: 0 auto;
  overflow: hidden;
}

.content h2 {
  text-align: center;
  overflow: hidden;
}

/* .thumbnail_lists {
  width: 100%;
  margin: 0 auto;
}

.posts-wrap {
  display: flex;

  width: 80%;
  padding: 20px 0;
  margin: 0 auto;
  
}

.post-wrap {
  display: flex;

  position: relative;
  width: 25%;
  overflow: hidden;
  margin: 0 5px;
  
}

.thumbnail_lists img {
  width: 100%;
  
  display: block;
  transition-duration: .3s;
}

.thumbnail_lists img:hover {
  transform: scale(1.1);
  transition-duration: .3s;
  opacity: 0.8;
}

.thumbnail_lists p {
  color: #fff;
  height: 2em;
  line-height: 2em;
  width: 100%;
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.5);
  
  font-size: 12px;
}

.thumbnail_lists a {
  width: 100%;
  color: #fff;
  line-height: 2em;
} */
/*------------------------------*/
/* 

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

.recent-post a {
  width: 100%;
  display: block;
  padding-top: 5px;
}
*/
.recent-posts {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
  padding: 30px 0;
}

.recent-post-wrap {
  width: 100%;
  /* max-width: 310px; */
  margin-bottom: 15px;
  /* padding: 0 50px; */
  border-right: 1px solid #d5dee1;
}

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

.recent-title {
  padding: 10px 0;
  font-size: .9em;
}

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

.recent-posts ul {
  padding: 0;
  justify-content: center;
}

.recent-posts li {
  width: 35%;
  max-width: 310px;
}

.recent-posts li:first-child .recent-post-wrap {
	border-left: 1px solid #d5dee1;
}

.recent-post-wrap {
  transition: .5s;
}
.recent-post-wrap:hover {
  opacity: .8;
}

.recent-post {
  transition: .5s;
}

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

.recent-post p {
  width: 210px;
  margin: 0 auto;
  padding: 5px;
}

.img-wrap {
  width: 100px;
  height: 100px;
  /* float:left; */
  margin-right: 10px;
}
.img-wrap {
  position: relative;
  width: 210px;
  height: 140px;
  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-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;
}

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



.button {
  font-size: 12px;
  display: inline-block;
  width: 200px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  outline: none;
  background: #333;
  color: #fff!important;
  overflow: hidden;

  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.worktext .button {
  width: 48%;
}

/* .button:hover {
  letter-spacing: 2px;
} */
.button::after {
  top: 80%;
  left: -100%;
  width: 100%;
  height: 20%;
}
.button:hover::after {
  top: 80%;
  left: 0;
  
  background-color:rgb(183, 229, 255);
}

/* end お知らせ */

.size-box {
  width: 100%;
  /* height: 700px; */
  
}

/* 事業内容 */
.readmore .button {
  background: #1B1464;
  width: 400px;
  letter-spacing: 3px;
  box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.4);
}

#work {
  color: #333;
}

#work h2::after {
  border-bottom: 5px solid #333;
}

/* ---------------- 共通部分 ---------------- */
/* テスト */
.block, .block-even {
  display: flex;
  position: relative;
  width: 100%;
  margin-bottom: 150px;
  justify-content: center;
}

.work-image {
  width: 660px;
  height: 440px;
  position: relative;
  /* z-index: 2; */
}

.work-image img {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
}

.frame {
  position: absolute;
  z-index: 1;
  top: 80px;
  left: 200px;
  width: 660px;
  height: 440px;
  border: 5px solid #f8f8f9;
}

.frame-left {
  position: absolute;
  z-index: 1;
  top: 80px;
  left: -200px;
  width: 660px;
  height: 440px;
  border: 6px solid #f8f8f9;
}

.worktext {
  /* display: flex; */
  position: relative;
  /* top: 80px; */
  z-index: 2;
  width: 500px;
  padding: 40px 70px 0 40px;
  text-align: left;
}

.worktext span {
  font-size: .8em;
  color: #999
}

.worktext h3 {
  margin-bottom: 25px;
}

.strong {
  font-weight: 600;
}

.worktext-left {
  /* display: flex; */
  position: relative;
  /* top: 80px; */
  z-index: 2;
  width: 500px;
  padding: 130px 40px 0 70px;
  text-align: left;
}


.worktext-left h3 {
  margin-bottom: 25px;
}

.worktext p, .worktext-left p {
  font-size: .9em;
  margin-bottom: 15px;
}
/* テスト */

.work-wrap {
  /* background: #f7f7f8; */
  background: #fff;
  width: 100%;

  width: 90%;
  margin: 0 auto;

  font-family: "ＭＳ 明朝",serif;
}

.work-text {
  padding:20px 50px 20px;
  color: #333;
  text-align: left;
  overflow: hidden;
}

.work-main-text {
  word-wrap: break-word;
  white-space: normal;
  display: block;
  font-weight: 300;
  letter-spacing: 1px;
  font-size: .8em;
}

.work-text h3 {
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px solid #0005bd;
}

.work-img {
  overflow: hidden;
  width: 65%;
  height: 400px;
  background: #333;
}

.work-img:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 400px;
  top: 0;

  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.work-area:hover > .work-img:after {
  opacity: .5;
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}



.slide-wrap-left {
    position: absolute;
    top: 50px;
    left: 10%;
    z-index: 10;
    width: 35%;
    height: 300px;
    display: inline-block;
    overflow: hidden;
}
.slide-wrap-right {
  position: absolute;
  top: 50px;
  right: 10%;
  z-index: 10;
  width: 35%;
  height: 300px;
  display: inline-block;
  overflow: hidden;
}

/* ------------------------------------------ */
/* ---work1--- */
.work1 {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.work-textarea1 {
  /* position: absolute;
  top: 50px;
  left: 10%;
  z-index: 10;
  width: 35%;
  height: 300px;
  background: #fff; */

  position: absolute;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  height: 100%;
  background: #fff;
}

.work-imgarea1 {
  position: relative;
  left: 100%;
  transform: translateX(-100%);
}

.work-imgarea1:after {
  background: url(https://crear-ltd.com/wp-content/themes/EP_Theme/img/work1.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
}

/* --- work2 --- */
.work2 {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.work-textarea2 {
  /* position: absolute;
  top: 50px;
  right: 10%;
  z-index: 10;
  width: 35%;
  height: 300px;
  background: #fff; */

  position: absolute;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  height: 100%;
  background: #fff;
}

.work-imgarea2 {
  position: relative;
}

.work-imgarea2:after {
  background: url(https://crear-ltd.com/wp-content/themes/EP_Theme/img/work2.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
}

/* ---work3--- */
.work3 {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.work-textarea3 {
  /* position: absolute;
  top: 50px;
  left: 10%;
  z-index: 10;
  width: 35%;
  height: 300px;
  background: #fff; */

  position: absolute;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  height: 100%;
  background: #fff;
}

.work-imgarea3 {
  position: relative;
  left: 100%;
  transform: translateX(-100%);
}

.work-imgarea3:after {
  background: url(https://crear-ltd.com/wp-content/themes/EP_Theme/img/work3.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
}

/* end 事業内容 */


/* 会社概要 */
.text-wrap {
  width: 100%;
}
.section-inner {
  width: 90%;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;

  flex-direction: row;
  flex-wrap: wrap;
}

table, tbody, tr, th, td {
  vertical-align: baseline;
  margin: 0;
  padding: 0;
  margin: 0 auto;
}

.content-info {
  background: #fff;
}

#about table {
  font-size: 13px;
  text-align: left;
}

.table-left, .table-right {
  display: flex;
  padding: 10px;
  /* width: 45%; */
}


#about tr {
  line-height: 2.2em;
}

#about td{
  padding-left: 50px;
}

.map {
  padding-bottom: 30px;
}


/* end 会社概要 */

/* 採用情報 */
#recruit {
  color: #fff;
}

#recruit h2::after {
  border-bottom: 5px solid #fff;
}

/* end 採用情報 */

#contact {
  padding-bottom: 20px;
}

#contact h2 {
  color: #333;
}

#contact h2::after {
  border-bottom: 5px solid #333;
}

.content-contact {
  background: #fff;
}

footer {
  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;
}


#page-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  color: #fff;
  background: #ccc;
  border-radius: 50px;
  z-index: 9999;
}

#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);
}




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


/*Contact Form 7カスタマイズ*/
.contact-form {
  margin-top: 20px;
}

div.wpcf7 p {
  font-size: .6em;
}

/* 必須マーク */
.must{
	color: #fff;
	margin-right: 10px;
	padding: 3px 7px;
	background: #F92931;
  border-radius: 5px;
  font-size: 1.2em;
}

/* 任意マーク */
.free {
	color: #fff;
	margin-right: 10px;
	padding: 3px 7px;
	background: #424242;
  border-radius: 5px;
  font-size: 1.2em;
}

/* 項目名を太字にする */
form p {
	font-weight: 600;
}

/* 入力項目を見やすくする */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 50%;
	padding: 8px 15px;
	margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}

/* 必須項目の入力欄を黄色にする */
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	background: rgba(255, 255, 142, 0.46);
}

/* 送信ボタンを見やすくする */
input.wpcf7-submit {
	width: 20%;
	height: 50px;
	background: #333;
	color: #fff;
  font-size: 1.3em;
  margin-top: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: .5s;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-appearance: none;
}

input.wpcf7-submit:hover {
  background: #666;
}

/* エラーメッセージを見やすくする */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}

div.wpcf7-response-output {
  margin-top: 0;
  margin-bottom: 20px;
}

/* end contact form 7 カスタマイズ */

/* ----------------------------------------------------- */
/* レスポンシブ                                            */
/* ----------------------------------------------------- */

/* ------------------- 768px〜1112px ------------------- */
@media screen and (max-width:1112px) {
  .slide-wrap-left, .slide-wrap-right {
    width: 50%;
  }
}

/* --------------------- 〜768px --------------------- */
@media screen and (max-width: 768px){

  /* --- ロード後アニメーション文字 --- */
  #main-content-text {
    font-size: 2em;
  }
  /* #main-content-subtext {
    font-size: 1em;
  } */
  /* --- ロード後アニメーション文字 --- */

  .section-title {
    font-size: 1.2em;
  }




  /* contact form 7 カスタマイズ*/

  .contact-form {
    padding: 0 20px;
  }

  div.wpcf7 {
    padding: 0 20px;
    text-align: left;
  }
  
  input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    margin-right: 0;
  }

  input.wpcf7-submit {
    width: 100%;
    height: 50px;
    background: #333;
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 20px;
    cursor: pointer;
    transition: .5s;
  }

  /* end contact form カスタマイズ*/


  /* お知らせ */

  /* .thumbnail_lists {
    width: 100%;
    margin: 0 auto;

    
  }
  
  .posts-wrap {
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .post-wrap {
    position: relative;
    width: 45%;
    overflow: hidden;
    margin: 5px 5px;
    height: 100px;
  }
  
  .thumbnail_lists img {
    width: 100%;
    height: 100%;
    display: block;
    transition-duration: .3s;
  }

  .thumbnail_lists p {
    font-size: 10px;
  } */
  .recent-posts ul {
    display: block;
  }

  .recent-posts li {
    width: 100%;
    max-width: none;
  }

  .recent-posts {
    border-top: 1px solid #d5dee1;
    padding: 0;
    margin-bottom: 30px;
  }


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

  .recent-posts li:first-child .recent-post-wrap {
    border-left: none;
  }


  .recent-post a {
    width: 100%;
    height: 100px;
    display: block;
  }

  .recent-post p {
    width: 100%;
  }

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


  /* end お知らせ */

  /* ---事業内容--- */
  /* テスト */
  .block{
    display: block;
    /* position: relative;
    width: 100%; */
    margin-bottom: 50px;
    /* justify-content: center; */
  }

  .block-even {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
  }
  
  .work-image {
    width:100%;
    height: auto;
    margin-bottom: 30px;
    /* position: relative; */
    /* z-index: 2; */
  }
  
  .work-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    order: 1;
  }
  
  .frame, .frame-left {
    display: none;
  }
  
  /* .frame-left {
    position: absolute;
    z-index: 1;
    top: 80px;
    left: -200px;
    width: 660px;
    height: 440px;
    border: 6px solid #f8f8f9;
  } */
  
  .worktext {
    display: block;
    /* position: relative; */
    /* top: 80px; */
    /* z-index: 2; */
    width: 100%;
    padding: 0;
    /* text-align: left; */
  }
  
  /* .worktext span {
    font-size: .8em;
    color: #999
  } */
  
  /* .worktext h3 {
    margin-bottom: 25px;
  }
  
  .strong {
    font-weight: 600;
  } */
  
  .worktext-left {
    display: block;
    /* position: relative; */
    /* top: 80px; */
    /* z-index: 2; */
    width: 100%;
    padding: 0;
    order: 2;
    /* text-align: left; */
  }

  /* テスト */



  /* ---------------- 共通部分 ---------------- */
  .work-img {
    overflow: hidden;
    width: 100%;
    height: 300px;
  }
  .work-area {
    height: 520px;
  }
  .slide-wrap {
    position: absolute;
    top: 200px;
    left: 5%;
    z-index: 10;
    width: 90%;
    height: 300px;
    display: inline-block;
    overflow:hidden;
  }
  .work-text {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    padding: 10px;
  }

  .work-text h3 {
    border-bottom: 2px solid #0005bd;
    /* font-weight: bold; */
  }

  .work-main-text {
    letter-spacing: 0;
  }
  /* ------------------------------------------ */
  /* ---end 事業内容--- */

  /* 会社概要 */
  .section-inner {
    justify-content: center;
  }

  .section-inner th {
    border-bottom: 1px solid #333;
  }

  .table-left, .table-right {
    width:90%;
    display: block;
  }

  .table-left {
    padding-bottom: 0;
  }

  .table-right {
    margin-left: 0;
    padding-top: 0;
  }

  #about td {
    padding-left: 10px;
  }

  table, tbody, tr, th, td {
    margin: 0;
    padding: 0;
    font-size: 12px;
    display: block;
    width: 100%;
  }

  /* end 会社概要*/
  
  .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 #333;
    -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);
  }

  .footer-menu {
    display: none;
  }

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

}

