/*
Theme Name: aviswp
Theme URI: https://avis-energy.co.jp
Description: aviswp記事
Version: 1.0
Author: aviswp
Author URI: https://avis-energy.co.jp
*/

body{
  line-height: 180%;
  font-size: 16px;
}

#header {
  background: #ffffff;
  width: 100%;
  z-index: 10;
  position: relative;
  border-bottom: 1px solid #dddddd;
}

#header .con1 {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

#logo {
  box-sizing: border-box;
  width: 180px;
  position: relative;
  z-index: 2;
  margin: 10px 20px 10px 5%;
}

#logo1ft{
  width: 180px;
}

#logo img,
#logo1ft img{
  height: auto;
  width: 100%;
  padding: 0;
  display: block;
  vertical-align: bottom;
}

#header.m_fixed {
  /*width: 100%;
  position: fixed;
  z-index: 9;*/
}

/*メインビジュアル*/

#mainvl {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  background: url(images/bg.png) repeat center top;
}

.mv-inner{
  display:flex;
  justify-content: flex-end;
  width: 72%;
  height:500px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.mv-img{
  background-size:cover;
  background-position:center;
}

.img1{
  width:45%;
  height:100%;
  background-image:url(images/main1.jpg);
  clip-path:polygon(
    42% 0,
    100% 0,
    58% 100%,
    0 100%
  );
  transform:translateY(-20%);
  position:absolute;
  left:-20px;
  top:0;
}

.img2{
  width:75%;
  height:100%;
  background-image:url(images/main2.jpg);
  clip-path:polygon(
    25% 0,
    100% 0,
    100% 100%,
    0% 100%
  );
}

.maintxt{
  width: 500px;
  position: absolute;
  left: 5%;
  top: 150px;
  z-index: 2;
}

.maintxt h2{
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 5px;
  white-space: nowrap;
  color: #ffffff;
  background: #000000;
  padding: 10px 15px;
  display: inline-block;
  margin-bottom: 15px;
}

.maintxt h2 span{
  font-size: 38px;
  line-height: 40px;
  font-weight: 700;
  padding-right: 5px;
}

.bg_bk{
  background: url(images/bg_1.jpg) repeat center center;
  background-size: cover;
}

.en{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 120px;
  font-weight: 700;
  line-height: 120px;
}

.en_s{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  line-height: 38px;
}

#cv_top .en{
  color:#fff;
  mix-blend-mode:difference;
  position: absolute;
  top: -60px;
  left: 0;
  z-index: 3;
}

#contact .en{
  color:#fff;
  mix-blend-mode:difference;
  position: absolute;
  top: -50px;
  left: -50px;
  z-index: 3;
}

#topproduct .en{
  color:rgba(255,255,255,.5);
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 1;
}

#topabout .en{
  color: #f0f0f0;
  position: absolute;
  top: 20px;
  right: 10px;
  z-index: 1;
}

.ttl{
  margin-bottom: 30px;
}

.ttl h2,
.ttl h2 span{
  font-size: 32px;
  font-weight: bold;
  line-height: 54px;
  letter-spacing: 2px;
}

.icon_list ul{
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}

.icon_list li{
  width: 25%;
  box-sizing: border-box;
  padding: 15px 20px;
  border-right: 1px solid #dddddd;
  text-align: center;
}

.icon_list li p,
.icon_list li p span{
  font-weight: 700!important;
}

.icon_list li:last-child{
  border-right: none;
}

.icon_img{
  width: 150px;
  padding-bottom: 20px;
  margin: 0 auto;
}

.product_block ul{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.product_block li{
  width: 30%;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
  background: #ffffff;
  margin-top: 30px;
}

.item_img{
  width: 100%;
  aspect-ratio: 2/1;
  position: relative;
  overflow: hidden;
}

.item_img img{
  height: auto;
	width: 100%;
	max-width: inherit;
	position:absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.item_txt{
  padding: 20px 15px;
}

.about_mv{
  display:flex;
  width: 100%;
  position:relative;
  background: url(images/bg.png) repeat center center;
}

.about_con{
  margin-left:auto;
  width: 45%;
}

.about_inr{
  max-width: 500px;
  padding-left: 50px;
  
}

.about_img{
  position:absolute;
  inset:0 auto 0 0;
  width: 65%;
  background:url(images/main3.jpg) center center / cover no-repeat;
  clip-path: polygon(
    0 0,
    85% 0,
    70% 100%,
    0% 100%
  );
}

/*フッタ*/

.con_flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.con_txt{
  flex: .9;
}

.con_btn{
  width: 45%;
}

.btn_bg1{
  height: 160px;
  position: relative;
  overflow: hidden;
}

.btn_bg1::before{
  content: '';
  background: linear-gradient(to right,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.7) 1%,rgba(0,0,0,0) 99%,rgba(0,0,0,0) 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
}

.btn_bg1::after{
  content: '';
  background: url(images/ar1.png) no-repeat center center;
  background-size: 40px;
  position: absolute;
  width: 40px;
  height: 40px;
  right: 15px;
  bottom: 15px;
  z-index: 3;
}

.btn_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.btn_txt{
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding-top: 20px;
  padding-left: 20px;
}

.ft_flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#copyright{
  color: #a8a8a8;
  text-align: right;
  flex: 1;
  font-size: 14px;
  line-height: 30px;
}

#copyright a,
#copyright span{
  display: inline-block;
  font-size: 14px;
  line-height: 30px;
  color: #a8a8a8;
}

#copyright span{
  padding: 0 15px;
}


/*タイトル*/

.txt_s{
  font-size: 13px;
  line-height: 20px;
}

.txt_ns{
  font-size: 15px;
  line-height: 27px;
}

.txt_n{
  font-size: 18px;
  line-height: 36px;
  font-weight: 500;
}

.txt_m{
  font-size: 22px;
  line-height: 38px;
  font-weight: 700;
}

.txt_b{
  font-size: 28px;
  line-height: 40px;
  letter-spacing: 1px;
  font-weight: 700;
}

.txt_c{
  text-align: center;
}

.txt_r{
  text-align: right;
}

.mgat{
  margin: 0 auto;
}

.wid_1{
  width: 300px;
}

.wid_2{
  width: 300px;
}



/********************************************
 * 共通要素
 ********************************************/

.pc_none{
	display:none;
}

@media screen and (max-width: 1100px) {
.product_block li{
  width: 32%;
}
  
.txt_m{
  font-size: 20px;
}
}
@media screen and (max-width: 1000px) {

.icon_list ul{

}

.icon_list li{
  width: 50%;
  margin-top: 30px;
}

.icon_list li:nth-child(2){
  border-right: none;
}
  
.icon_img{
  width: 100px;
}

.about_con{
  margin-left:auto;
  width: 60%;
}

.about_inr{
  max-width: inherit;
  padding-left: 40px;
  padding-right: 40px;
}

.about_img{
  position:absolute;
  inset:0 auto 0 0;
  width: 40%;
  background:url(images/main3.jpg) center center / cover no-repeat;
  clip-path: polygon(
    0 0,
    85% 0,
    70% 100%,
    0% 100%
  );
}
  

}

@media screen and (max-width: 900px) {
  

#mainvl {
  height: 450px;
}

.mv-inner{
  width: 78%;
  height:450px;

}
  
.en{
  font-size: 100px;
  line-height: 100px;
}
  
#cv_top .en{
  top: -50px;
}
  
#contact .en{
  left: 0px;
}

  
.product_block ul{
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: stretch;
  justify-content: center;
}

.product_block li{
  width: 46%;
  margin: 30px 1% 0;
}

.con_flex{
  display: block;
}

.con_txt{
  flex: 1;
  padding-bottom: 40px;
  text-align: center;
}

.con_btn{
  width: 100%;
}

.pc_none{
	display:block;
}
}


