@charset "UTF-8";

body {
	margin: 0;
	font-family: "游ゴシック Medium","Yu Gothic Medium","游ゴシック","Yu Gothic","游ゴシック体",YuGothic,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans CJK JP","メイリオ",Meiryo,sans-serif;
}

html {
  scroll-behavior: smooth;
}

.container {
	background-color: #FFFFFF;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	border-bottom-width: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

/*========= ローディング画面===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: 9999999;
  text-align:center;
  color:#fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 50px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  animation: flowing-anim 5s;
}

@keyframes flowing-anim {
 0%{
     width: 0%;
   }
100%{
     width: 100%;
   }
}


/*========= 画面遷移 ==============*/

body{
    background:#333;/*遷移アニメーションと同じ色を指定*/
}

body.appear{
    background:#fff;/*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
  display:block;
}

/*上に消えるエリア*/
body.appear .splashbg1{
  animation-name:PageAnime;
  animation-duration:1.2s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
  left:0;
    transform: scaleY(1);
    background-color: #333;/*伸びる背景色の設定*/
}

@keyframes PageAnime{
  0% {
    transform-origin:top;
    transform:scaleY(1);
  }

  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*下に消えるエリア*/
body.appear .splashbg2{
    animation-name:PageAnime2;
  animation-duration:1.2s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
  left:0;
    transform: scaleY(1);
    background-color: #333;/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
  0% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
  opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay:0.2s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/**/

.noDisplay {
	display: none;
}

.bold{
	font-weight: bold;
	font-size: 1.1rem;
}

.text-center{
  text-align: center;
}

.text-right{
  text-align: right;
}

h4{
	text-align: center;
}
li{
	list-style: none;
}

a{
	text-decoration: none;
	color: #555;
}

.flexbox{
  flex-wrap: wrap;
}

.base-size{
  font-size: 1.1rem;
  line-height: 2rem;
}


header{
	display: flex;
	justify-content:space-around;
	height: 80px;
	position: fixed;
	width: 100%;
	z-index: 100;
}

.primary_header {
	width: 25%;
	background-color: rgba(248,245,238,0.68);
}

.primary_header .title{
	color: #555;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px;
}

/*ナビゲーションメニュー*/
.secondary_header {
	width: 75%;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: rgba(248,245,238,0.68);
	display: flex;
	align-items: center;
	mix-blend-mode: difference;
}

.secondary_header > ul {
	width: 100%;
	display: flex;
	height: 3rem;
	margin: 0 auto;
}
.secondary_header ul li {
	list-style: none;
	letter-spacing: 1px;
	position: relative;
	transition: all 0.3s linear;
}

.secondary_header ul >li{
	width: 100%;
}

.secondary_header ul li a{
	height: 3rem;
	line-height: 3rem;
	text-align: center;
	display: block;
	width: 100%;
}

/*PCドロップダウン*/

.secondary_header li li{
	height: 0;
	overflow: hidden;
	transition: .5s;
}

.secondary_header li li a{
	border-top: 1px solid #eee;
}

.secondary_header li:hover > ul > li{
	height: 3rem;
	overflow: visible;
}

.dropdown_menu{
	display: block;
}

.dropdown_menu:before {
    border: 5px solid transparent;
    border-top: 5px solid #555;
    content: "";
    right: 1rem;
    position: absolute;
    top: 1.5rem;
    transform: translateY(-40%);
}

.dropdown_menu li a{
	transition: .5s;
	background-color: rgba(248,245,238,0.68);
	padding: 0 15px;
	white-space: nowrap;
}

.dropdown_menu li a:hover{
	background-color: rgba(248,245,238,0.8);
}


/*見出し*/
h2{
	text-align: center;
	position: relative;
	padding: 1.2rem;
}
h2 span{
	font-size: 0.7em;
	display: block;
}
h2:before {
position: absolute;
bottom: -5px;
left: calc(50% - 30px);
width: 60px;
height: 5px;
content: '';
border-radius: 5px;
background: #ffc500;
}

/*video*/
video{
	width: 100%;
	object-fit: cover;
}


/*service*/
.bg{
	height: 100%;
    background-color: rgba(248,245,238,0.68);
    display: flex;
    justify-content: center;
    align-items: center;
	padding: 0 10px;
}

.service-youtube{
	margin-bottom: 20px;
}

.left_article {
	width: 100%;
	display: flex;
	color: #343434;
}

.service-hv{
	transition: all 0.3s;
}
.service-hv:hover{
	opacity: 0.7;
}

.left_content{
	width: 60%;
}

.right_content{
	width: 40%;
}

.right_content img{
	max-width: 100%;
	height: auto;
	padding: 10px 0;
	border-radius: 50px;
}

.container .left_content h3 {
	padding-left: 5%;
	padding-right: 5%;
	margin-top: 5%;
	color: #555;
	font-weight: bold;
	font-size: 1.6rem;
	text-transform: uppercase;
}

.container .left_content p {
	padding-left: 5%;
	padding-right: 5%;
	text-align: justify;
	margin-top: 30px;
	color: #454545;
}

.right_article {
	background-color: #FFFFFF;
	width: 100%;
	color: #343434;
}

.service-web-bg{
	flex-direction: row-reverse;
}

.container .right_article ul {
	margin: 0;
	padding: 0;
}
.right_article ul li {
	list-style: none;
	text-align: center;
	background-color: #B3B3B3;
	width: 90%;
	margin: 10px auto;
	padding-top: 15px;
	padding-bottom: 15px;
	color: #FFFFFF;
	font-weight: bold;
	border-radius: 0px;
	transition: all 0.3s linear;
	border-left: 5px solid #717070;
}
.right_article ul li:hover {
	background-color: #717070;
	cursor: pointer;
}

/*news*/
.news-list{
  list-style: none outside;
  margin: 0 20px;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .news_title{
  margin: 0;
  width: 100%;
  transition: all 0.3s linear;
}
.news-list .item a:hover .news_title{
  color: #878787;
}


/*slider*/
.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
	margin-top: 30px;
}

.slider{
  padding-left: 0;
}


.slider .slick-slide {
    margin:0 10px;
}

/* essPV */

#ess-video{
  margin: 70px 0;
  text-align: center;
  scroll-margin-top: 100px;
}

.video-note{
  font-size: 1.1rem;
  margin-bottom: 0.2em;
  position: relative;
  text-align: center;
}

.video-note::before{
  margin-right: 1rem;
  content: '＼';
}

.video-note::after{
  margin-left: 1rem;
  content: '／';
}

.ess-video_link{
  display: block;
  width: 320px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
}

  /* ホバー */
  .video-hov{
    height:200px;
    padding: 0;
    background: #fff;
    position: relative;
  }

  .video-hov img{
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: .3s ease-in-out;
  }

  .video-hov:hover img{
    transform: scale(1.1);
  }

  .play-btn{
    background: rgba(0,0,0,0.5);
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: .8s;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.play-btn img{
  width: 80px;
  height: 80px;
  position: absolute;
  top: 32%;
  left: 38%;
}

  .play-btn:hover{
    opacity: 1;
  }

  /* モーダル表示用 */
  .modaal-video .modaal-inner-wrapper{
    padding:0;
  }
  
  .modaal-close:after, 
  .modaal-close:before{
    background:#ccc;  
  }
  
  .modaal-close:focus:after,
  .modaal-close:focus:before,
  .modaal-close:hover:after,
  .modaal-close:hover:before{
    background:#666;
  }
  

/* movie-button */

.movie-btn a {
  position: fixed;
  right: 0%;
  bottom: 10%;
  max-width: 160px;
  width: 100%;
  height: 180px;
  z-index: 2;
}

.movie-btn a img{
  width: 90%;
}

/*column*/
.row {
	width: 100%;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
}

.columns {
	width: 25%;
	float: left;
	color: #454545;
	line-height: 24px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: justify;
	margin: 15px 0;
	padding-left: 0px;
	padding-right: 0px;
}
.row .columns p {
	padding-left: 10%;
	padding-right: 10%;
}

.thumbnail {
	width: 100px;
	border-radius: 200px;
	height: 100px;
	margin-left: auto;
}
.thumbnail_align {
	text-align: center;
}

/*footer*/
.column_half {
	width: 50%;
	margin: 0px;
	height: 100%;
	display: inline-block;
  	overflow: hidden;
}

.column_half-hv{
	display: block;
	transition-duration: .5s;
}

.column_half-hv:hover{
	transform: scale(1.2);
	background-color: rgba(97,97,97,0.70);
}

.left_half {
	background-image: url("../images/essimage.jpg");
	background-size: cover;
	background-position: center;
}

.right_half {
	background-image: url("../images/ess-contact.jpeg");
	background-size: cover;
	background-position: bottom;
}

.column_title {
	padding-top: 35px;
	padding-bottom: 35px;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	height: 60px;
	line-height: 60px;
}


.footer{
	background-color: rgba(248,245,238,1);
	display: block;
}

.footer-wrap{
	max-width: 1024px;
	margin: 0 auto;
	padding-top: 30px;
}
.footer-content{
	display: flex;
	justify-content: space-around;
	padding-top: 30px;
}
.footer-content li a{
	color: #555;
	line-height: 2.2rem;
}

.copyright {
	text-align: center;
	background-color: rgba(248,245,238,1);
	color: #555;
	text-transform: uppercase;
	font-weight: lighter;
	letter-spacing: 2px;
	border-top-width: 2px;
	font-family: "Source Sans Pro";
	padding-bottom: 30px;
}


/* レスポンシブ */

@media (max-width: 480px) {
	.pc_only{
		display: none;
	}

#splash-logo {
  font-size: 30px;
}
	
/*見出し*/
h2{
	text-align: center;
	position: relative;
	padding: 1rem;
	font-size: 1.4rem;
  margin-top: 30px;
}

h2 span{
	font-size: 0.5em;
	display: block;
}

h2:before {
position: absolute;
bottom: 2px;
left: calc(50% - 30px);
width: 60px;
height: 5px;
content: '';
border-radius: 5px;
background: #ffc500;
}

.bg{
	flex-direction: column;
}

.left_content{
	width: 100%;
}

.right_content{
	width: 100%;
}
.right_content img {
	width: 100%;
	margin: 10px auto;
	height: auto;
}
	
.columns {
	width: 100%;
	margin: 0;
	padding: 0;
}
.columns p {
	padding-left: 10px;
	padding-right: 10px;
}
.column_half.left_half {
	width: 100%;
}
.column_half.right_half {
	width: 100%;
}

.video-note{
  font-size: 1rem;
}

.video-note::before{
  margin-right: 0.5rem;
}

.video-note::after{
  margin-left: 0.5rem;
}


.footer-wrap{
	padding-top: 10px;
}
.footer-content{
	padding-top: 0px;
	flex-direction: column;
}
	
.copyright {
	padding-top: 25px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}
	
}

@media (min-width: 481px) and (max-width: 1000px) {
	.pc_only{
		display: none;
	}

.left_article, .right_article {
	width: 100%;
	flex-direction: column;
	height: auto;
}
	
.left_content{
	width: 50%;
}

.right_content{
	width: 50%;
}

.columns {
	width: 100%;
	margin: 6px 0;
	padding: 0;
}
.columns p {
	padding-left: 14px;
	padding-right: 14px;
}
.column_half.left_half {
	width: 100%;
}
.column_half.right_half {
	width: 100%;
}

.footer-wrap{
	padding-top: 30px;
}
.footer-content{
	padding-top: 10px;
	flex-wrap: wrap;
}
}

@media (min-width: 821px) and (max-width: 1000px) {

.primary_header .title{
	font-size: 1.6rem;		
}

.left_article {
	height: auto;
}
.right_article {
	height: auto;
}
.columns {
	width: 50%;
	float: left;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
.container .columns p {
	padding-left: 25px;
	padding-right: 25px;
}
}

@media (min-width: 1001px){
  .sp-tab_only{
    display: none;
  }
}

@media (max-width: 1000px){
/*Hamburger menu*/
.hum_header {
  background-color: rgba(248,245,238,0.68);
  position: fixed;
  width: 100%;
  height: 52px;
  z-index: 100;
}

/* Nav items */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  margin-top: 52px;
  padding: 0 0 10px 0;
  clear: both;
  background-color: rgba(248,245,238,0.68);
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
}

/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menu text */
.menu a{
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  color: #555;
  opacity: 0;
  transition: 0.5s;
  display: block;
}

.menu li {
  border-top: 0.5px solid rgba(248,245,238,0.68);
  padding: 15px 0;
  opacity: 0;
  transition: 0.5s;
}

.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 24px 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
  background: #555;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #555;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  text-align: center;
  
}
	
/*ドロップダウン*/

.main_menu{
  padding-left: 20px;
  display: block;
  position: relative;
  color: #555;
}
.dd-arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0px;
  border-top: solid 2px #555555;
  border-right: solid 2px #555555;
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -6px;
}
.menu .open::before {
  -ms-transform: rotate(315deg);
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
  margin-top: -3px;
}

.sub_menu li{
  border: transparent;
  padding-bottom: 0;
}

.sub_menu li a{
  padding-top: 10px;
  padding-bottom: 10px;
  text-indent: 40px;
  display: block;
  position: relative;
}
.sub_menu li a::before{
  content: '';
  width: 0;
  height: 0;
  border: solid 4px transparent;
  border-left: solid 6px #555555;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -4px;
  margin-left: 25px;
}
.sub_menu li a:hover{
  background-color: #decc98;
}
.sub_menu li a:hover::before {
  border-left: solid 6px #ffffff;
}

}

@media (min-width: 821px) {
	.sp_only{
		display: none;
	}
}

@media(max-width: 820px){

.row{
	flex-wrap: wrap;		
}

.title img{
  width: 50%;
}

.container .left_content h3{
	margin-top: 15%;
	font-size: 1.4rem;
}
	

/*essロゴ*/
.primary_header .title{
	font-size: 1.4rem;
	display: block;
	margin: 10px 35px;
}
	
	.service-solar, .service-web, .service-youtube{
		height: auto;
	}

.footer-logo{
	width: 100%;
}

.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .news_title{
  margin-top: 10px;
}

}


/*背景色が伸びて出現 共通*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*はみ出た色要素を隠す*/
  opacity:0;
  width: 100%;
}

.bgRLextendTrigger, .bgLRextendTrigger{
	opacity: 0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:2.5s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

.bgappearTrigger{
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*--------- 左から --------*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1.6s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(248,245,238,1);
	z-index: 1000;
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

/*--------- 右から --------*/
.bgRLextend::before{
  animation-name:bgRLextendAnime;
  animation-duration:1.6s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
   background-color: rgba(248,245,238,1);
	z-index: 1000;
}
@keyframes bgRLextendAnime{
  0% {
    transform-origin:right;
    transform:scaleX(0);
  }
  50% {
    transform-origin:right;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:left;
  }
  100% {
    transform-origin:left;
    transform:scaleX(0);
  }
}

/*PAGE TOP*/

#page-top{
    position: fixed;
    bottom: 0;
    right: 0px;
	transition: .3s ease;
}
#page-top a{
    color: #fff;
    text-decoration: none;
	position: relative;
	width: 0px;
	height: 0px;
	border-top: 50px solid transparent;
    border-right: 50px solid #555;
    border-bottom: 50px solid #555;
    border-left: 50px solid transparent;
	display: block;
}

#page-top:hover{
	opacity: .9;
}
#page-top a::before{
	position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
}

@media(max-width: 480px){
	#page-top a{
  border-top: 40px solid transparent;
  border-right: 40px solid #555;
  border-bottom: 40px solid #555;
  border-left: 40px solid transparent;
}
	#page-top a::before{
		top: 10px;
	}

}