@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

#main_wrap{
  width: 100%;
  position: relative;
  overflow: hidden;
}
#main_wrap .sld{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
#main_wrap .sld img{
  width: 100%;
}
.sld .slick-dots li button:before {
    font-family: 'slick';
    font-size: 15px;
    color:#FFFFFF;
    opacity: 0.7;
}
.sld .slick-dots {
    position: absolute;
    bottom: 20%;
    right: 22%;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    max-width: 300px;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color:#009000;
}

#main_wrap .main_ttl{
  position: absolute;
  width: 40%;
  max-width: 620px;
  left: 5%;
  top: 35%;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

}
#main_wrap .main_ttl h2{
  font-size: 86px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.2;
}

/*テキストアニメーション*/
.mv_copy {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin: 0;
  line-height: 0.95;
}

.mv_copy__line {
  display: block;
  overflow: hidden;
  
}

.mv_copy__text {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  font-weight: 700;
}

/* アニメーション開始後 */
.mv_copy.is-animated .mv_copy__text {
  animation: copyRise 0.9s cubic-bezier(.22, 1, .36, 1) forwards;
}

.mv_copy.is-animated .mv_copy__line:nth-child(1) .mv_copy__text {
  animation-delay: 0s;
}

.mv_copy.is-animated .mv_copy__line:nth-child(2) .mv_copy__text {
  animation-delay: 0.12s;
}

.mv_copy.is-animated .mv_copy__line:nth-child(3) .mv_copy__text {
  animation-delay: 0.24s;
}

@keyframes copyRise {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}



#main_wrap .main_ttl p{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.7;

}
.mv_caption {
  margin: 20px 0 0;
  opacity: 0;
  transform: translateY(16px);
}

.mv_caption.is-animated {
  animation: captionFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: 0.45s;
}

@keyframes captionFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}






#main_wrap .main_ttl02{
  position: absolute;
width: 50%;
    right: 0;
    top: 20%;
    max-width: 700px;
}
#main_wrap .main_ttl02 p{
  font-family: "Playfair Display", serif;
  color: #FFFFFF;
  font-size: 90px;
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); */
  line-height: 1.2;
  opacity: 0.5;
}
.main_news{
  max-width: 825px;
  width: 40%;
  position: absolute;
  right: 5%;
  bottom: 2%;
}

.news_list02{
margin-bottom: 40px;
}
.news_list02 li{
    display: flex;
  justify-content:space-between;
border-top: 1px solid #cfb8a8;
 padding: 15px 0;
}
.news_list02 li span{
  width: 200px;
  padding-right: 10px;
}
.news_list02 li a{
 display: block;
 width: 100%;
 padding-right: 40px;
 position: relative;
 line-height: 1.5;
}
.news_list02 li a::before{
  content: "";
  width: 7px;
  height: 7px;
  background-color: #cfb8a8;
  border-radius: 50px;
      position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: 0.3s;
}
.news_list02 li a:hover::before{
    right: 15px;
}
@media screen and (max-width: 1450px) {
  #main_wrap .main_ttl{
  position: absolute;
  width: 40%;
  max-width: 620px;
  left: 5%;
  bottom: 10%;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
#main_wrap .main_ttl h2{
  font-size: 60px;
}
#main_wrap .main_ttl p{
  font-size: 20px;
}
#main_wrap .main_ttl02{
  position: absolute;
  width: 50%;
  right: 0;
  top: 20%;
  max-width: 600px;
}
#main_wrap .main_ttl02 p{
  font-size: 70px;
}
.main_news{
  width:45%;
  position: absolute;
  right: 5%;
  bottom: 1%;
}
}
@media screen and (max-width: 1000px) {
  #main_wrap .main_ttl02{
display: none;
}
.main_news{
display: none;
}
  #main_wrap .main_ttl{
  position: absolute;
  width: 46%;
  left: 2%;
  bottom: 10%;
}
#main_wrap .main_ttl h2{
  font-size: 60px;
}
#main_wrap .main_ttl p{
  font-size: 20px;
}
}
@media screen and (max-width: 768px) {
#main_wrap .main_ttl{
  position: absolute;
  width: 46%;
  left: 2%;
  bottom: 10%;
}
  #main_wrap .main_ttl h2{
  font-size: 40px;
}
#main_wrap .main_ttl p{
  font-size: 16px;
}
}
@media screen and (max-width: 550px) {
  #main_wrap .main_ttl{
  position: absolute;
  width: 65%;
  left: 2%;
  bottom: 15%;
}
    #main_wrap .main_ttl h2{
  font-size: 26px;
  margin-bottom: 10px;
}
#main_wrap .main_ttl p{
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 10px;
}
}




#top_news{
  display: none;
}
@media screen and (max-width: 1000px) {
#top_news{
  display: block;
  background-image: url('../images/index/bg_main02.svg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}
}
/* service */
#service {
  background-color: var(--main-beige);
  padding-top: 100px;
  color: #FFFFFF;
}
#service .txt{
  margin-bottom: 20px;
}
#service .inner{
  padding-top: 100px;
  background-image: url('../images/index/bg_about.webp');
background-size: cover;
  position: relative;
}
#service .inner::before{
  content: "";
  width: 100%;
  height: 440px;
  background-image: url('../images/index/bg_about02.svg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  
}

#works{
  padding-top: 200px;
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 768px) {
#service {
  padding-top: 0;
  text-align: center;
}
#service .inner{
  padding-top: 60px;
  background-image: url('../images/index/bg_about_sp.webp');
  position: relative;
  background-position: center top;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: #1bae1b;
}
  #service .inner::before{
  content: none;
  
}
#works{
  padding-top: 100px;
}
}
@media screen and (max-width: 550px) {
}






.service_sld_wrap {
  overflow: hidden;
}
.service_sld {
  width: 100%;
}

.service_sld .slick-list {
  overflow: hidden;
}
.service_sld_wrap .slick-dotted.slick-slider {
    margin-bottom: 50px;
}
.service_sld .slick-track {
  display: flex;
  align-items: center;
}

.service_sld .slick-slide,.service_sld02 .slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}

.service_sld .slick-slide > div {
  height: 100%;
}

.service_sld a {
  display: block;
  overflow: hidden;
}

.service_sld img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/* ドット */
.service_sld .slick-dots {
  bottom: -35px;
}

.service_sld .slick-dots li {
  width: 10px;
  height: 10px;
  margin: 0 6px;
}

.service_sld .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
}

.service_sld .slick-dots li button:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.service_sld .slick-dots li.slick-active button:before {
  background: #009844;
  opacity: 1;
}

/* SP時：中央だけ少し大きく */
@media screen and (max-width: 768px) {
  .service_sld .slick-list {
    overflow: visible;
  }

  .service_sld .slick-slide {
    padding: 0 8px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }

  .service_sld .slick-center {
    transform: scale(1);
  }
}

/* 施工事例 */

.top_service_layout {
  overflow: hidden;
}

.top_service_layout__inner {
  display: flex;
  align-items: flex-start;
}

.top_service_layout__head {
  width: 350px;
  flex-shrink: 0;
  padding-right: 40px;
  box-sizing: border-box;
  z-index: 1;
}

.top_service_layout__slide {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: calc(50% - 50vw);
}

.top_service_layout__slide .service_sld_wrap02 {
  width: 100%;
  overflow: hidden; /* ← これを追加 */
}

/* -------------------------
   service_sld02
------------------------- */

/* PCは左を切らず、右だけ見切れ */
.service_sld02 .slick-list {
  overflow: hidden;
}

.service_sld02 .slick-track {
  display: flex;
  margin-left: 0;
}

.service_sld02 .slick-slide {
  padding: 0 20px 0 0; /* ← 右だけ余白 */
  box-sizing: border-box;
}

.service_sld02 .slick-slide > div {
  height: 100%;
}

.service_sld02 a {
  display: block;
  overflow: hidden;
}

.service_sld02 img {
  display: block;
  width: 100%;
  height: auto;
}

/* ドット */
.service_sld02 .slick-dots {
  bottom: -35px;
}

.service_sld02 .slick-dots li {
  width: 10px;
  height: 10px;
  margin: 0 6px;
}

.service_sld02 .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
}

.service_sld02 .slick-dots li button:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.service_sld02 .slick-dots li.slick-active button:before {
  background: #009844;
  opacity: 1;
}

/* -------------------------
   SP
------------------------- */
@media screen and (max-width: 991px) {
  .top_service_layout__inner {
    display: block;
  }

  .top_service_layout__head {
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .top_service_layout__slide {
    margin: 0 -15px;
  }

  .top_service_layout__slide .service_sld_wrap02 {
    overflow: hidden;
  }

  .service_sld02 .slick-list {
    overflow: visible;
  }

  .service_sld02 .slick-slide {
    padding: 0 8px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }

  .service_sld02 .slick-center {
    transform: scale(1);
  }
}


/*みらい*/
#mirai{
  background-image: url('../images/index/bg_mirai.webp');
  background-position: 90% 20%;
  background-repeat: no-repeat;
  background-size: 40%;
}

#mirai h2{
  line-height: 1.5;
  color: var(--main-green);
  font-weight: 700;
  margin-bottom: 40px;
  font-size: 36px;
}
#mirai h2 span{
  font-weight: 700;
  padding-left: 2em;
}
#mirai p{
  font-size: 20px;
  padding-left: 120px;
}


@media screen and (max-width: 991px) {
}
@media screen and (max-width: 768px) {
  #mirai{
  background-image: url('../images/index/bg_about02_sp.svg');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 100%;
  text-align: center;
  margin-top: -2px;
}

#mirai h2{
  line-height: 1.5;
  font-size: 26px;
}
#mirai h2 span{
  padding-left: 0;
}
#mirai p{
  font-size: 16px;
  padding-left: 0;
}
}
@media screen and (max-width: 550px) {
  #mirai h2{
  line-height: 1.5;
  font-size: 18px;
}
#mirai p{
  font-size: 14px;
  padding-left: 0;
}
}


#top_company{
  background-image: url('../images/index/bg_company.webp');
  background-position: center;
  background-size: cover;
  height: 570px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
}
#top_company .inner{
  max-width: 500px;
  margin: 0 0 0 auto;
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 768px) {
  #top_company_sp{
    background : -moz-linear-gradient(0% 50% 0deg,rgba(0, 178, 52, 0.99) 48.18%,rgba(0, 85, 49, 1) 100%);
  background : -webkit-linear-gradient(0deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  background : -webkit-gradient(linear,0% 50% ,100% 50% ,color-stop(0.4818,rgba(0, 178, 52, 0.99) ),color-stop(1,rgba(0, 85, 49, 1) ));
  background : -o-linear-gradient(0deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  background : -ms-linear-gradient(0deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00B234', endColorstr='#005531' ,GradientType=0)";
  background : linear-gradient(90deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00B234',endColorstr='#005531' , GradientType=1);
  color: #FFFFFF;
  text-align: center;
  padding-top: 20px;
  }

 #top_company_sp h2{
  background-image: url('../images/index/bg_company_sp.webp');
  background-position: center;
  background-size: cover;
  padding: 100px 0;
 } 
}
@media screen and (max-width: 550px) {
}
/* recruit */
#top_recruit a{
	position: relative;
	display: block;
}
#top_recruit a:hover{
opacity: 0.7;
}
#top_recruit img{
  width: 100%;
}
#top_recruit .inner{
     position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%); 
}
#top_recruit a .ban_ttl{
font-family: "Zen Kaku Gothic Antique", sans-serif;
font-size: 312%;
line-height: 1.2;
margin-bottom: 10px;
}
#top_recruit a .ban_ttl span{
font-size: 36px;
font-weight: 600;
display: block;
}
#top_recruit a .ban_bt{
position: absolute;
bottom: 20px;
left: 10%;
width: 100%;
}
#top_recruit a:hover .ban_bt:before{
    right: 15px;
    background-color:#FFFFFF!important;
}
#top_recruit a:hover .bt_base{
   border: 1px solid #FFFFFF!important;
  color: #FFFFFF!important;
    background : -moz-linear-gradient(0% 50% 0deg,rgba(0, 178, 52, 0.99) 48.18%,rgba(0, 85, 49, 1) 100%);
  background : -webkit-linear-gradient(0deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  background : -webkit-gradient(linear,0% 50% ,100% 50% ,color-stop(0.4818,rgba(0, 178, 52, 0.99) ),color-stop(1,rgba(0, 85, 49, 1) ));
  background : -o-linear-gradient(0deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  background : -ms-linear-gradient(0deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00B234', endColorstr='#005531' ,GradientType=0)";
  background : linear-gradient(90deg, rgba(0, 178, 52, 0.99) 48.18%, rgba(0, 85, 49, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00B234',endColorstr='#005531' , GradientType=1);
}

@media screen and (max-width: 1200px) {
#top_recruit a .ban_ttl{
font-size: 200%;
}
#top_recruit a .ban_ttl span{
font-size: 16px;
}
#top_recruit a .ban_txt{
		font-size: 16px;
}
}
@media screen and (max-width: 991px) {

}
@media screen and (max-width: 768px) {
  #top_recruit a .ban_bt{
display: none;
}
  #top_recruit a::after{
content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
			width: 20px;
	height: 20px;
	background-image: url("../images/ico_arrow_w.svg");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transition: 0.3s;
	z-index: 1;
}
#top_recruit a:hover:after{
	right: 15px;
}
#top_recruit a .ban_ttl{
font-size: 150%;
left: 20px;
}
#top_recruit a .ban_ttl span{
font-size: 12px;
}
#top_recruit a .ban_txt{
		font-size: 14px;
    position: absolute;
    top: 50%;
    right: 40px;
    width: 100%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    text-align: right;
}
}
@media screen and (max-width: 550px) {
#top_recruit a .ban_txt{
		font-size: 12px;
}
}

/*　movie　*/
#top_movie{
  background-color: var(--main-beige);
  padding-top: 100px;
}
.movie_wrap{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.movie_wrap .inner{
  width: 75%;
}
.movie_wrap .txt{
  width: 20%;
}
.movie_wrap .view{
  display: none;
}
@media screen and (max-width: 1500px) {
  .movie_wrap{
  flex-direction: column;

}
.movie_wrap .inner{
  width: 100%;
}
.movie_wrap .txt{
  width: 100%;
  text-align: center;
}
.movie_wrap .txt p{
  display: none;
}
.movie_wrap .view{
  display: block;
}
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 768px) {
  #top_movie{
  background-color: #FFFFFF;
  padding-top: 60px;
  padding-bottom: 60px;
}
}
@media screen and (max-width: 550px) {
}



#group{
  padding: 200px 0 100px 0;
  position: relative;
  text-align: center;
}
#group::before{
  content: "";
  width: 100%;
  height: 140px;
  position: absolute;
  left: 0;
top: -1px;
  background-image: url("../images/bg_wave01-b.svg");
  background-position: center top;
  background-repeat: repeat-x;
}
#group h2{
  font-weight: 700;
  line-height: 1.5;
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}
#group h2 span{
  font-weight: 700;
  border-bottom: 1px solid #000000;
  padding-bottom: 5px;
}
.group_sld_wrap{
  overflow: hidden;
  width: 100%;
}
.group_sld .slick-slide {
  width: 250px;
  margin-right: 20px;
}
.group_sld .slick-slide img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 768px) {
  #group{
  background-color: var(--main-beige);
  padding: 60px 0;
}
#group::before{
  content: none;
}
#group h2{
  font-size: 24px;
  margin-bottom: 40px;
}
#group ul{
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px;
}
#group ul li{
  width: calc( 100% / 3 - 10px );
  max-width: 220px;
}
}
@media screen and (max-width: 550px) {
  #group ul{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
}
#group ul li{
  width: calc( 100% / 2 - 10px );
  max-width: 220px;
}
}








.ttl{
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.2;
}
.ttl span{
  font-size: 26px;
  display: block;
  font-weight: 700;
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 768px) {
  .ttl{
  font-size: 28px;
   margin-bottom: 20px;
}
.ttl span{
  font-size: 18px;
}
}
@media screen and (max-width: 550px) {
}