@charset 'utf-8';

/*****************************
header
*****************************/

#product .header_outer{
  width: 100%;
  height: 60px;
  background: white;
  display: flex;
  transition: 0.3s;
}

#product .header_outer .head_logo{
  height: 30px;
  margin: auto;
}

#product .header_outer .head_logo a{
  height: 100%;
  width: fit-content;
}

#product .header_outer .head_logo a img{
  object-fit: contain;
  height: 100%;
  transition: 0.3s;
}

#product .header_outer .head_logo a:hover img{
  opacity: 0.6;
  transition: 0.3s;
}

@media(min-width:540px){
  #product .header_outer{
    height: 80px;
  }
  
  #product .header_outer .head_logo{
    height: 40px;
  }

}



/*****************************
main
*****************************/

/******
#product_product
******/

#product_product .banner{
  width: 100%;
  height: 200px;
  position: relative;
  transition: 0.3s;
  display: flex;
}

#product_product .banner::before{
  content:"";
  background-image: url(../../img/product/product.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top:0;
  left:0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

#product_product .banner h2{
  margin: auto auto;
  color: white;
  text-align: center;
}

#product_product .container{
  margin-top: 80px;
  width: 100%;
  padding: 0 5% 0;
}

#product_product .product_item{
  margin: 60px auto 0;
  width: 100%;
  max-width: 1000px;
}

#product_product .product_item:nth-child(1){
  margin-top: 0px ;
}

#product_product .product_item .product_img{
  height: 390px;
  overflow: hidden;
}

#product_product .product_item .product_img img{
  height: 100%;
  object-fit: cover;
  object-position: 50%;
}

#product_product .product_item .product_img.contain img{
  object-fit: contain;
}

#product_product .product_item .product_info{
  margin-top: 40px;
}
/* 
#product_product .product_item .product_info .title{
} */

#product_product .product_item .product_info .text{
  margin-top: 10px;
}

@media(min-width:540px){
  #product_product .banner{
    height: 300px;
  }
}

@media(min-width:760px){
  #product_product .banner{
    height: 400px;
  }

  #product_product .product_item{
    margin: 80px auto 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  #product_product .product_item.right{
    flex-direction: row-reverse;
  }

#product_product .product_item .product_img{
  height: 390px;
  width: 50%;
}

#product_product .product_item .product_info{
  width: 50%;
  margin-top: unset;
  margin: auto 0;
}

#product_product .product_item.left .product_info{
  margin-left: 20px;
}

#product_product .product_item.right .product_info{
  margin-right: 20px;
}

}

/******
#product_price
******/

#product_price{
  margin-top: 100px;
}

#product_price .banner{
  width: 100%;
  height: 200px;
  position: relative;
  transition: 0.3s;
  display: flex;
}

#product_price .banner::before{
  content:"";
  background-image: url(../../img/product/price.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top:0;
  left:0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

#product_price .banner h2{
  margin: auto auto;
  color: white;
  text-align: center;
}

#product_price .container{
  margin-top: 40px;
  width: 100%;
  padding: 0 5% 0;
}

#product_price .container .price_img{
  width: 100%;
  max-width: 1000px;
  margin: 60px auto 0;
}

#product_price .container .price_box{
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 30px;
  border-top: 1px solid var(--main-colour);
  border-bottom: 1px solid var(--main-colour);
}

#product_price .container .price_box .list_item:not(:first-child){
  margin-top: 30px;
}

#product_price .container .price_box .list_item .title{
  font-size: 20px;
}

#product_price .container .price_box .list_item p:not(.title){
  font-size: 16px;
  line-height: var(--lineheight-15);
}

@media(min-width:540px){
  #product_price .banner{
    height: 300px;
  }
}

@media(min-width:760px){
  #product_price .banner{
    height: 400px;
  }

  #product_price .container{
    display: flex;
    flex-direction: column-reverse;
  }

  #product_price .container .price_box .price_list{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  #product_price .container .price_box .list_item:not(:first-child){
    margin-top: unset;
  }
}

/*****************************
footer
*****************************/

.footer_outer{
  margin-top: 120px;
}