@charset "utf-8";
/* CSS Document */

#home_top{
	padding: 10rem 0 0 15rem;
	position: relative;
	background: url("../img/homeBG1.png");
	background-size: 100% auto;
	}

.home_top_inner{
	display: flex;
	justify-content: flex-end;
}

.home_top_left{
	width: 50%;
	padding: 10rem 5rem 0 0;
}

/*==========.products==========*/

.prodcts_box{
	display: flex;
	justify-content: center;
	margin: 3rem auto;
}

.prducts_item{
	background-color: #FFF;
	margin: 0 3rem;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
	width: 400px;
	}

.prducts_text{
	margin: 1.5rem auto;
}

.prductsBtn{
	color: #134e82;
	font-size: 1.2rem;
	margin-top: 1rem;
}

#products .pc{
	margin: 14rem auto;
}

/*slider----------------------------*/

.slider .slick-list {
  overflow: visible;
}

/*slick*/
.sp .slider{
	margin: 5rem auto 3rem;
}

.sp .btn{
	width: 80%;
	margin: 1rem auto 5rem;
	padding: 1rem;
	font-size: 1.8rem;
	color: white;
}

.slider .slick-slide {
  transform: scale(1); /* 不要な縮小を防止 */
}

.slider img {
  width: 100vw;  /* ビューポート幅にフィット */
  height: auto;
  object-fit: cover;
}


@media screen and (max-width:1230px){
	.topheader a{
		width: 40%;
	}
	.topheader p{
		font-size: 1.8em;
	}
	.home_top_right{
		text-align: end;
	}
	.home_top_right img{
		width: 50%;
	}
	#products .pc{
		width: 100%;
	}
	#products .zoom{
		width: 250px;
	}
	.prducts_item{
		width: fit-content;
	}
	.prducts_text{
		padding-bottom: 1.5rem;
	}
}

@media screen and (max-width:860px){
	.prodcts_box:first-child{
		width: 70%;
	}
	.prducts_item{
		margin: 0 1rem;
	}
    #products .zoom {
        width: 100%;
    }
}

/*==========当社独自の加工技術==========*/

.home_section3{
	background: url( "../img/homeBG.jpg") no-repeat;
	background-size: cover;
	color: #fff;
}

.home_section3_inner{
	padding:20rem 25rem 25rem;
}


/*==========当社の強み４点==========*/
* {
  box-sizing: border-box;
}

.home_section4_flex {
  display: flex;
	align-items: stretch;
  width: 100%;
}

.zoom {
  flex: 1 1 0;
  overflow: hidden;
  vertical-align: bottom;
}

.zoom img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s ease;
}

.zoom:hover img {
  transform: scale(1.2);
}

.zoom_bottm{
	border-bottom: 2px solid #fff;
}

.zoom_left{
	border-right: 2px solid #fff;
}



@media screen and (max-width:1080px){
	
	#home_top{
		position: static;
		padding: 0;
		background-size: cover;
	}
	.home_top_inner{
	display: block;	
	}
	
	.home_top_left, .home_section3_inner{
		padding: 3rem ;
		width: 100%;		
	}
	
	.home_section5 {
		margin: 7rem 3rem 0;
	}
	.contactpage{
		padding: 7rem 3rem 5rem;
	}
	.faq_index{
		font-size: 1.6rem;
		padding: 1.5rem;
		text-align: left;
		margin-bottom: 1rem;
	}
}

@media screen and (max-width:550px){
	.home_top_right img{
		width: 80%;
	}
	
		.home_section4_flex{
		display: block;
	}
	
	.zoom_bottm, .zoom_left{
		border: none;
	}
	
	
}



