@charset "utf-8";
/* /////////////////////////////
      TOP
///////////////////////////// */
.wrap{
  	padding: 0 20px;
}
.mv{
  	padding-top: 20px;
  	position: relative;
 	margin: 0 auto;
  	max-width: 1680px;
  	width: 100%;
  	z-index: 2;
}
.mv_img{
  	position: relative;
  	height: 790px;
  	margin-left: auto;
 	max-width: 1460px;
	width: 100%;
}

.mv_img figure{
	animation: change-img-anim 50s infinite;
  	opacity: 0;
  	position: absolute;
  	width: 100%;
  	margin: 0;
}
.mv_img figure:nth-of-type(1) {
	animation-delay: 0s;
}
.mv_img figure:nth-of-type(2) {
	animation-delay: 10s;
}
.mv_img figure:nth-of-type(3) {
	animation-delay: 20s;
}
.mv_img figure:nth-of-type(4) {
	animation-delay: 30s;
}
.mv_img figure:nth-of-type(5) {
	animation-delay: 40s;
}


@keyframes change-img-anim {
  	0%{ opacity: 0;}
 	10%{ opacity: 1;}
  	20%{ opacity: 1;}
 	30%{ opacity: 0;}
  	100%{ opacity: 0;}
}

.mv_txt{
  position: absolute;
  top: 570px;
  left: 0;
}
.mv h2{
  font-size: 78px;
  font-family: 'Noto Serif JP', serif;
}
.mv p{
  font-size: 27px;
  font-family: var(--poppins);
}

.top_about{
  padding-bottom: 130px;
  position: relative;
  margin: 0 auto;
  max-width: 1680px;
  width: 100%;
}
.top_about::after{
  content: "";
  background: url(../img/top/news_img.png)no-repeat right bottom / contain;
bottom: 20px;
  display: block;
  height: 400px;
  position: absolute;
  right: 0;
  margin-right: -100px;
  max-width: 1056px;
  width: 100%;
	z-index:-3;
}
.top_news{
      padding: 150px 20px 100px;
}

.top_news_detail{
  margin: auto;
  max-width: 1000px;
  width: 100%;
}
.top_news_inner{
margin-top: 20px;
  color: #fff;
	margin-bottom: 50px;

}
.top_news_inner h2{
  font-size: 40px;
  font-family: var(--poppins);
  font-weight: bold;
  letter-spacing: 4px;
  padding: 100px 40px 20px;
}
.top_news_inner ul {
    display: flex;
    gap: 15px;
}

/*.top_news_inner li a{
  position: relative;
}

.top_news_inner li a::after,
.top_news_inner li a::before{
  background:#fff;
  content: '';
  position: absolute;
  height: 2px;
  right: 36px;
  transition: all .3s;
}
.top_news_inner li a::before{
  top: 80%;
  transform: translateY(-80%);
  width: 60px;
}
.top_news_inner li a::after{
  width: 15px;
    top: 90%;
    transform: rotate(35deg);
}
.top_news_inner li a:hover::after,
.top_news_inner li a:hover::before{
  right: 20px;
}*/
.top_news_inner li a .day{
  font-size: 13px;
  font-family: var(--poppins);
}
.news_content {
    width: 100%;
    background: #bf0101;
    padding: 10px;
}
 /*.news_thumb img {
    width: 300px;
    height: 150px;
    object-fit: cover;
    position: absolute;
}
.news_thumb {
    width: 50%;
    width: 300px;
    height: 150px;
    overflow: hidden;
    position: relative;
} */
/* 施工実績 */
.top_actual{
  padding: 60px 0;
}
.top_actual .main_ttl{
  margin: auto;
  max-width: 980px;
  width: 100%;
}

/* スライダー */
.top_actual .slider{
  margin: 40px auto;
}
.top_actual .slider li a{
  /*display: flex;*/
}
.top_actual .slider li a:hover{
  opacity: 1;
}
.slider .actual_img{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  width: 700px;
}
.actual_txtarea{
  background: var(--lightgray);
  padding: 60px 40px;
 /* width: 290px;*/
	padding: 5px 5px;
	text-align: center;
}
.actual_txtarea .ttl{
  font-size: 20px;
  /* margin-bottom: 20px;*/
}
.actual_txtarea .subttl{
  font-size: 17px;
  line-height: 2;
}
.slider .slick-slide {
  will-change: transform;
	transform: scale(0.85);/*左右の画像のサイズを80%に*/
	transition: all .5s linear;/*拡大や透過のアニメーションを0.5秒で行う*/
  margin: 0 -100px;
}
.slider .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
  position: relative;
  z-index: 99;
}
.slider .slick-slide.slick-center::after,
.slider .slick-slide.slick-center::before{
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 340px;
}
.slider .slick-slide.slick-center::after{
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0));
  right: -100px;
}
.slider .slick-slide.slick-center::before{
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.5));
  left: -100px;
}
.slick-prev,
.slick-next {
  background: var(--red);
  position: absolute;
  top: 50%;
  cursor: pointer;
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  height: 40px;
  width: 40px;
  z-index: 100;
  transform: translateY(-50%);
}
.slick-prev {
  background: url(../img/top/slider_arrow_left.svg)no-repeat center / contain;
  left: calc(50% - 370px);
}
.slick-next {
  background: url(../img/top/slider_arrow_right.svg)no-repeat center / contain;
  left: calc(50% + 330px);
}


/* 事業内容 */
.top_scope{
  background: var(--lightgray);
  overflow: hidden;
}
.top_scope .main_ttl{
  margin-bottom: 50px;
}
.top_scope_inner{
  padding: 100px 20px;
  margin: auto;
  max-width: 990px;
  width: 100%;
}
.top_scope ul{
  border-right: solid 1px #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.top_scope ul.top_scope_list02::after,
.top_scope ul.top_scope_list02::before,
.top_scope ul.top_scope_list03::after,
.top_scope ul.top_scope_list03::before,
.top_scope ul.top_scope_list04::after,
.top_scope ul.top_scope_list04::before{
  content: "";
  background: #fff;
  display: block;
  position: absolute;
  height: 1px;
  left: 0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.top_scope ul.top_scope_list02::after,
.top_scope ul.top_scope_list03::after,
.top_scope ul.top_scope_list04::after{
  top: -10px;
}
.top_scope ul.top_scope_list02::before,
.top_scope ul.top_scope_list03::before,
.top_scope ul.top_scope_list04::before{
  top: 0;
}
.top_scope ul li{
  border-left: solid 1px #fff;
  min-height: 100px;
  padding: 30px;
  position: relative;
  width: calc(100% / 3);
}
.top_scope ul li::before{
  content: "";
  background: #fff;
  display: block;
  position: absolute;
}
.top_scope ul li::before{
  height: 100%;
  top: 0;
  left: 10px;
  width: 1px;
}
.top_scope ul li:first-child::before{
  content: none;
}
.top_scope ul li img{
  display: block;
  margin-bottom: 40px;
  margin-left: auto;
  max-width: 165px;
  width: 80%;
}
.top_scope ul li .font22{
  font-size: 22px;
}
.top_scope ul li .poppins{
  color: var(--red);
  font-family: var(--poppins);
  font-size: 15px;
}
.top_scope .view_more{
  margin-top: 30px;
}

/* ABOUT */
.top_about{
  margin: auto;
  max-width: 1535px;
  width: 100%;
}
.top_about_inner{
  padding: 50px 20px 100px;
  position: relative;
}
.top_about img{
  display: block;
  position: relative;
  z-index: 1;
}
.about_img01{
  margin-left: auto;
  margin-bottom: 80px !important;
  max-width: 1186px;
  width: 80%;
}
.about_img01 img{
  width: 100%;
}
.about_img02{
  margin-left: auto;
  margin-right: 180px;
  max-width: 487px;
  width: 40%;
}
.about_img03{
  margin-top: -40px;
  margin-left: 300px;
  max-width: 596px;
  width: 50%;
}
.about_txtarea{
 /* background: url(../img/top/about_img04.png)no-repeat right / 78%;
  padding: 230px 0 60px 0;
  position: absolute;
  left: 0;
  top: 34vw;
  height: 610px;
  max-width: 800px;
  width: 60%;*/
	margin-left: auto;
    max-width: 1460px;
    margin-top: 95px;
}
.about_txtarea p{
  font-size: 30px;
  line-height: 2;
  margin-bottom: 40px;
}
.about_txtarea .view_more{
  margin-left: 0;
}

/* 採用情報 */
.top_recruit{
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #DEDCE8 calc(100% - 1px)),
                  linear-gradient(90deg, transparent calc(100% - 1px), #DEDCE8 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  padding: 40px 20px;
}
.top_recruit_inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: auto;
  max-width: 1200px;
  width: 100%;
}
.recruit_img{
  max-width: 620px;
  width: 52%;
}
.top_recruit_item{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 48%;
}
.top_recruit .main_ttl{
  margin-bottom: auto;
  margin-left: 100px;
}
.top_recruit .main_ttl h2{
  background: #fff;
}

/* アクセスマップ */
.top_accsess{
  padding: 150px 20px 100px;
}
.top_accsess_inner{
  padding-left: 100px;
  margin: auto;
  max-width: 1200px;
  width: 100%;
}
.top_accsess_detail{
  margin-top: 60px;
  position: relative;
}
.top_accsess_detail iframe{
  height: 340px;
  position: relative;
  margin-left: 20px;
  margin-top: 30px;
  max-width: 560px;
  width: 52%;
  z-index: 1;
}
.accsess_img{
  position: absolute;
  right: 0;
  top: 0;
  max-width: 610px;
  width: 60%;
}
.map_btn{
  position: absolute;
  bottom: 0;
  right: 180px;
  max-width: 260px;
  width: 40%;
}
.map_btn a{
  align-items: center;
  border: solid 1px #000;
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-family: var(--poppins);
  line-height: 35px;
  height: 35px;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
}
.map_btn a::after{
  content: "";
  background: url(../img/top/map.svg)no-repeat center / contain;
  display: block;
  height: 22px;
  width: 16px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 1680px) {
  .mv_img{
    height: 46vw;
  }
  .mv_img,.top_news_detail,.about_txtarea {
    width: 90%;
  }
  .about_txtarea{
    padding-left: 20px;
  }
  .mv_txt{
    top: 30vw;
  }
}
@media screen and (max-width: 1300px) {
  .about_img01{
    margin-bottom: 300px !important;
  }
  .about_img02{
    margin-right: 8vw;
  }
  .about_img03{
    margin-left: 15vw;
  }
  .about_txtarea p{
    font-size: 2vw;
  }
  .slider .actual_img{
    width: 600px;
  }
  .slider .slick-slide.slick-center::after,
  .slider .slick-slide.slick-center::before{
    height: 340px;
  }
  .actual_txtarea{
    /* width: 240px;*/ 
  }
  .slick-next{
    left: calc(50% + 400px);
  }
  .slick-prev{
    left: calc(50% - 440px);
  }
  .slider .slick-slide{
    margin: 0 -85px;
  }
  .map_btn{
    right: 10vw;
  }
}
@media screen and (max-width: 1000px) {
  .mv_img li{
    height: 500px;
  }
  .mv h2 {
    font-size: 7vw;
  }
  .mv p {
    font-size: 2.5vw;
  }
  .mv_img {
    height: 45vw;
  }
  .top_news::after{
    width: 60%;
  }
  .slider .slick-slide{
    margin: 0 -70px;
  }
  .slider .actual_img{
    width: 500px;
  }
  .actual_txtarea{
    /* width: 180px;*/
  }
  .slick-next{
    left: calc(50% + 320px);
  }
  .slick-prev{
    left: calc(50% - 360px);
  }
  .top_about_inner{
    padding: 100px 20px 180px;
  }
  .about_img01{
    margin-bottom: 0 !important;
  }
  .about_txtarea{
    position: static;
         margin-top: 25px;
        width: 90%;
  }
  .about_txtarea p{
    font-size: 2vw;
  }
  .top_recruit .main_ttl{
    margin-left: 20px;
  }
  .top_accsess {
    padding: 120px 20px 150px;
  }
  .top_accsess_inner{
    padding-left: 20px;
  }
  .map_btn{
    right: 40px;
  }
}
@media screen and (max-width: 767px) {
  .mv{
    padding-left: 20px;
    padding-top: 0;
    width: 100vw;
  }
  .mv_img {
    height: 52vw;
    width: 100%;
  }
  .mv_img li{
    height: 300px;
  }
  .mv_txt {
    top: 150px;
  }
  .top_news {
    padding: 55px 0px 60px 0px;
  }
  .top_news::after{
    margin-right: 0;
    width: 80%;
  }
  .top_news_detail{
    width: 100%;
  }
  .top_news_inner h2{
    font-size: 32px;
    padding: 50px 20px 10px;
  }
  .top_news_inner li a{
    padding: 20px 10px 0px 20px;
  }
  .top_news_inner li::after, .top_news_inner li::before{
    right: 20px;
  }
  .top_scope_inner{
    padding: 50px 20px;
  }
  .top_scope .main_ttl {
    margin-bottom: 25px;
  }
  .top_scope ul li .font22 {
    font-size: 15px;
  }
  .top_scope ul li .poppins{
    font-size: 10px;
  }
  .top_scope ul li{
    padding: 10px;
    min-height: 30px;
  }
  .top_scope ul.top_scope_list02::after, .top_scope ul.top_scope_list03::after, .top_scope ul.top_scope_list04::after {
    top: -4px;
  }
  .top_scope ul li::before{
    left: 3px;
  }
  .top_scope ul li img{
    margin-bottom: 10px;
  }
  .slider .actual_img{
  /*   height: 200px;
    width: 200px;*/
  }
  .slider .slick-slide.slick-center::after,
  .slider .slick-slide.slick-center::before{
    height: 170px;
  }
  .actual_txtarea{
    /*padding: 30px 20px;
     width: 180px;*/
  }
  .slick-next{
    left: calc(50% + 220px);
  }
  .slick-prev{
    left: calc(50% - 270px);
  }
  .slider .slick-slide{
    margin: 0 -38px;
  }
  .top_recruit .main_ttl {
    margin-left: 0;
  }
  .top_recruit_item{
    margin-top: 0;
    width: 100%;
  }
  .recruit_img{
    margin-top: 20px;
    margin-left: auto;
    width: 100%;
  }
  .top_accsess{
    padding: 80px 40px 120px;
  }
  .top_accsess_inner{
    padding-left: 0;
  }
  .top_accsess_detail iframe{
    height: 240px;
    margin-left: 0;
  }
  .map_btn {
    right: 0;
  }
	.top_news_inner ul {
		display:block;
	}
}
@media screen and (max-width: 540px) {
  .mv_img li{
    height: 200px;
  }
  .mv_txt {
    top: 120px;
  }
  .top_news_inner h2 {
    font-size: 20px;
    padding: 25px 20px 5px;
  }
  .top_news_inner li::before{
    width: 30px;
  }
  .top_news_inner li a {
    padding:20px 15px 0px 15px;
  }
  .slider .actual_img{
    width: 150px;
	  width: 280px;
	  height:215px
  }
  .actual_txtarea{
    padding: 20px 15px;
   /*  width: 140px;*/
  }
  .actual_txtarea .ttl{
    font-size: 4vw;
  }
  .actual_txtarea .subttl {
    font-size: 1.5vw;
  }
  .slick-next{
    left: calc(50% + 125px);
  }
  .slick-prev{
    left: calc(50% - 165px);
  }
  .slider .slick-slide{
    margin: 0 -38px;
  }
	.top_about{
		padding-bottom:0;
	}
  .top_about_inner {
    padding: 50px 20px 60px;
  }
  .about_img01{
    width: 100%;
  }
  .about_img02 {
    margin-right: 0;
    width: 60%;
  }
  .about_img03 {
    margin-left: -10px;
    margin-top: -20px;
    width: 70%;
  }
  .about_txtarea{
    margin-top: -80px;
  }
  .about_txtarea{
   padding: 20px 0 0 0px;
        margin: auto;
  }
  .about_txtarea p {
    font-size: 16px;
    text-align: justify;
  }
  .about_txtarea p br{
    display: none;
  }
  .top_accsess_detail {
    margin-top: 30px;
  }
  .top_accsess{
    padding: 50px 20px 100px;
  }
  .accsess_img{
    position: static;
    width: 100%;
  }
  .top_accsess_detail iframe{
    margin: 0;
    width: 100%;
  }
  .map_btn{
    position: static;
    margin: 20px auto 0;
    width: 100%;
  }
		.top_news_inner ul {
		display:block;
	}
}

/* カードのコンテナスタイル */
.top_news_inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;         /* カード間の間隔 */
    padding: 0;
    list-style: none;
    margin: 0;
}

/* 各カードのスタイル */
.top_news_inner ul li {
    flex: 0 0 calc(33.333% - 16px);  /* 3カラム表示、gap分を考慮 */

    background: #fff;
	position: relative;
}

/* カード内のリンク */
.top_news_inner ul li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* サムネイル画像のコンテナ */
.news_thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* サムネイル画像 */
.news_thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コンテンツ部分 */
.news_content {
    padding: 16px;
}

/* 日付 */
.news_content .day {
    font-size: 14px;
}

/* タイトル */
.news_content .ttl {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
   .top_news_inner ul {
        gap: 15px;
    }
    
   .top_news_inner ul li {
       flex: 0 0 calc(50% - 8px);  /* タブレットでは2カラム */
	   min-width: 315px;    /* カードの最小幅 */
    }
}

@media (max-width: 480px) {
	ul li {
        flex: 0 0 100%;  /* スマホでは1カラム */
    }
}

/* コンテンツエリアの高さ固定 */
.news_content {
    padding: 16px;
    height: 120px; /* 固定の高さを設定 */
    display: flex;
    flex-direction: column;
}

/* タイトルのスタイル調整 */
.news_content .ttl {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    /* 長いテキストを省略表示 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 3行まで表示 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.top_news_inner li a {
    position: relative;
    display: block;
}

.top_news_inner li a {
    position: relative;
}
/* スマホ表示用のスタイル */
@media screen and (max-width: 768px) {
    .top_news_inner ul {
        justify-content: center; /* リストを中央揃え */
        gap: 16px;
    }
    
    .top_news_inner li {
        flex: 0 0 100%;  /* 1カラム */
        max-width: 500px; /* カードの最大幅を制限 */
    }
}
/* メインの線（斜めの線） */
.top_news_inner li a::before {
    content: '';
    position: absolute;
    top: 92%;
    right: 25px;
    width: 60px;
    height: 2px;
    background: #fff;
    transform: translateY(-92%);
    transition: all .3s;
}

/* 短い線（斜めに傾いた部分） */
.top_news_inner li a::after {
    content: '';
    position: absolute;
    top: 90%;
    right: 25px;
    width: 15px;
    height: 2px;
    background: #fff;
    transform: rotate(35deg);
    transition: all .3s;
}

/* ホバー時のアニメーション */
.top_news_inner li a:hover::before,
.top_news_inner li a:hover::after {
    right: 20px;
}