@charset "utf-8";
/* CSS Document */
#fv{
    position: relative;
    width: 100%;
    max-height: 100vh;
    aspect-ratio: 4 / 3;
    z-index: 1;
    overflow: hidden;
}

.fvbg{
	position: absolute;
	width: 100%;
	height: 70%;
	background: #006b2f;
	top: 0;
	right: 0;
}
.slide-area{
	width: 90vw;
    max-height: 100vh;
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 3;
}

#fv-slider {
    width: 100%;
	max-height: 100vh;
	aspect-ratio: 1 / 1;
	background: url("../img/fv/fv03.jpg");
}
.catch{
	position: absolute;
	color: #fff;
	font-weight: 900;
	font-size: clamp(28px,2.4vw,42px);
	top: 43%;
	right: 0;
}

/* 1文字ずつの初期状態とアニメーション設定 */
.catch h2 .char {
    display: inline-block;
    opacity: 0;
  transform: translateY(10px);  /*  少し下から */
    animation: typeIn 0.5s ease-out forwards;
}

/* 1文字ずつ浮かび上がるアニメーション */
@keyframes typeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*======================
index
=============================================*/
/*about-------*/
.about-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

/* =====================
   LEFT
===================== */

.about-content{
  flex: 4;
  position: relative;
  z-index: 2;
}

.about-en{
  font-size: clamp(70px,8vw,120px);
  font-weight: 700;
  line-height: 1;
  color: #d7e4dc;
  letter-spacing: .04em;
	font-family: "Archivo Black", sans-serif;
  font-style: italic;
  margin-bottom: 30px;
}

.about-title{
  font-size: clamp(34px,4vw,58px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: .06em;
  margin-bottom: 40px;
}

.about-text{
  font-size: 15px;
  line-height: 2.3;
  color: #333;
  margin-bottom: 50px;
}

.about-btn{
  width: 270px;
  height: 70px;
  border: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #222;
  font-size: 14px;
  transition: .3s;
  background: #fff;
}

.about-btn:hover{
  background: #222;
  color: #fff;
}

/* =====================
   RIGHT
===================== */

.about-images{
  flex: 3;
  position: relative;
  min-height: 620px;
}

.about-img{
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.about-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* メイン画像 */

.about-img.main{
  width: 420px;
  height: 540px;
}

/* 小画像 */

.about-img.sub{
  width: 360px;
  height: 240px;
  position: absolute;
  right: -50px;
  bottom: -50px;
  z-index: 2;
}
.about-sec::after{
  content: "";
  width: 700px;
  height: 700px;
  position: absolute;
  right: 0;
  bottom: -80px;
  background:url("../img/common/nenrin-bg.png")no-repeat left / cover;
}

/* =====================
   SP
===================== */

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

  .about-inner{
    flex-direction: column;
    gap: 60px;
  }

  .about-content,
  .about-images{
	  flex: 1;
    width: 100%;
  }

  .about-images{
    min-height: auto;
    padding-bottom: 120px;
  }

  .about-img.main{
    width: 85%;
    height: 420px;
  }

  .about-img.sub{
    width: 65%;
    height: 180px;
    right: 0;
    bottom: 0;
  }

  .about-text{
    font-size: 14px;
    line-height: 2.1;
  }

  .about-btn{
    width: 100%;
    max-width: 320px;
    height: 64px;
  }

}

/*TOP-service----------------*/
.service-head{
  position: relative;
  padding:
    clamp(70px,9vw,100px)
    0
    160px;
	z-index: 1;
}

/* 緑背景 */

.service-head::before{
  position: absolute;
  content: "";
  width: 85vw;
  height: 100%;
  top: 0;
  left: -15vw;
  background: #006b2f;
  z-index: 0;
}

/* SERVICE */

.service-en{
  position: absolute;
  top: -60px;
  left: 0;
  font-size: clamp(70px,9vw,130px);
  line-height: 1;
	font-family: "Archivo Black", sans-serif;
  font-weight: 900;
  font-style: italic;
  color: rgba(72,150,93,.35);
  letter-spacing: .04em;
}

/* タイトル */

.service-title{
  color: #fff;
  font-size: clamp(28px,3vw,48px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 28px;
	position: relative;
	z-index: 2;
}

/* テキスト */

.service-text{
  color: #fff;
  font-size: 15px;
  line-height: 2.2;
	position: relative;
	z-index: 2;
  max-width: 700px	
}
/* ======================
   CARDS
====================== */

.service-cards{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
  position: relative;
  z-index: 3;
  width: 90%;
	margin: -110px auto 0;
}

.service-card{
  background: #fdf9f4;
  padding: 18px 18px 24px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: .35s;
  display: block;
}

.service-card:hover{
  transform: translateY(-8px);
}

.service-card-head{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.service-card-head .num{
  color: #006d31;
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
	opacity: .6;
}

.service-card-head h3{
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.service-img{
  aspect-ratio: 16 / 8;
  overflow: hidden;
  margin-bottom: 18px;
}

.service-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .5s;
}

.service-card:hover .service-img img{
  transform: scale(1.08);
}

.service-card-text{
  font-size: 15px;
  line-height: 2;
  margin-bottom: 24px;
}

.service-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #006d31;
  font-size: 15px;
  font-weight: 700;
}

.service-link::after{
  content: "→";
  transition: .3s;
}

.service-card:hover .service-link::after{
  transform: translateX(6px);
}

/* ======================
   SP
====================== */
@media screen and (max-width: 1023px){
	.service-text{
	  max-width: 580px	
	}
	.service-head::before {
		width: 90vw;	
	}
}
@media screen and (max-width: 900px){

  .service-head{
    padding:
      80px
      0
      140px;
  }

  .service-en{
    top: -25px;
  }

  .service-cards{
    grid-template-columns: 1fr;
    margin-top: -90px;
  }

  .service-card-head .num{
    font-size: 44px;
  }

  .service-card-head h3{
    font-size: 24px;
  }

  .service-text{
    font-size: 14px;
    line-height: 2;
  }

  .service-card-text{
    font-size: 14px;
  }

  .service-btn{
    width: 100%;
    height: 64px;
  }

}

/*--  News -----------------*/

.news-sec{
  position: relative;
  background:url("../img/common/newsbg.png");
  background-size: 100%;
	background-repeat: no-repeat;
  background-position: bottom;
	padding-top: 0;
  padding-bottom: 140px;
  overflow: hidden;
}

/* ====SLIDER========================= */

.news-slider-wrap{
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.min-slider li{
aspect-ratio: 4 / 3;	
}
.min-slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:100%;
	object-fit: cover;
	
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.min-slider .slick-slide {
    margin:0;/*スライド左右の余白調整*/
}

/* =========================
   NEWS BOX
========================= */

.news-box{
  width: min(1000px, calc(100% - 40px));
  background: #f8f8f5;
  border: 2px solid #006b2f;
  margin: -70px auto 0;
  position: relative;
  z-index: 3;
  padding:
    60px
    clamp(25px,4vw,95px)
    30px;
}

/* NEWS文字 */

.news-en{
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(70px,9vw,130px);
  line-height: 1;
  font-weight: 900;
	font-family: "Archivo Black", sans-serif;
  font-style: italic;
  color: rgba(73,154,86,.35);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* タイトル */

.news-title{
  text-align: center;
  font-size: clamp(28px,3.2vw,48px);
  font-weight: 700;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.4;
}

/* 一覧 */

.news-list{
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

/* スクロールバー */

.news-list::-webkit-scrollbar{
  width: 4px;
}

.news-list::-webkit-scrollbar-track{
  background: #ddd;
}

.news-list::-webkit-scrollbar-thumb{
  background: #555;
}

/* ITEM */

.news-item{
  display: block;
  text-decoration: none;
  color: #111;
  padding: 0 20px 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0,107,47,.45);
  transition: .3s;
}

.news-item:hover{
  opacity: .7;
}

.news-item .date{
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 600;
}

.news-item .title{
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

/* =========================
   BG TREE
========================= */

.news-sec::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 260px;
  background:
    url("img/common/tree-bg.png")
    center bottom / cover no-repeat;
  opacity: .08;
  z-index: 0;
}

/* =========================
   SP
========================= */

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

  .news-sec{
    padding-bottom: 90px;
  }

  .min-slider li{
    width: 240px;
  }

  .min-slider img{
    height: 180px;
  }

  .news-box{
    margin-top: -40px;
    padding:
      60px
      20px
      40px;
  }

  .news-title{
    margin-bottom: 40px;
  }

  .news-item{
    padding-inline: 0;
  }

  .news-item p{
    font-size: 16px;
  }

}

/* ================================================
   767px以下：FV・各セクション SP調整
================================================ */
@media (max-width: 767px){

	/* ---- FV ---- */
	#fv{
		aspect-ratio: auto;
		max-height: none;
	}

	.fvbg{
		height: 55%;
	}

	.slide-area{
		width: 100vw;
		aspect-ratio: 4 / 3;
		max-height: none;
	}

	#fv-slider{
		aspect-ratio: 4 / 3;
		max-height: none;
	}

	.catch{
		font-size: clamp(16px, 3.5vw, 24px);
		top: 50%;
		right: auto;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 92%;
		text-align: center;
	}

	/* ---- about ---- */
	.about-sec::after{
		width: 400px;
		height: 400px;
		right: -60px;
		bottom: -40px;
	}
	.about-title {
		font-size: clamp(30px, 3.3vw, 42px);
	}

	/* ---- service ---- */
	.service-head::before{
		width: 130%;
		left: -40px;
	}

}

/* ================================================
   600px以下：各セクション細調整
================================================ */
@media (max-width: 600px){
	/* ---- FV ---- */
	#fv{
		aspect-ratio: 1 / 1;
		/*aspect-ratio: 5 / 7;
		max-height: none;*/
	}

	.fvbg{
		height: 55%;
	}

	.slide-area{
		aspect-ratio: 1 / 1;
		width: 100vw;
	}

	#fv-slider{
		aspect-ratio: 1 / 1;
		max-height: none;
	}		
	/* ---- about ---- */
	.about-images{
		padding-bottom: 80px;
	}

	.about-img.main{
		width: 88%;
		height: 320px;
	}

	.about-img.sub{
		height: 145px;
		width: 65%;
	}

	/* ---- service ---- */
	.service-head{
		padding: 70px 0 130px;
	}

	.service-en{
		font-size: clamp(60px, 14vw, 100px);
	}

	.service-cards{
		width: 100%;
	}

	.service-card-head .num{
		font-size: 40px;
	}

	/* ---- news ---- */
	.news-box{
		margin-top: -30px;
	}

	.news-item p{
		font-size: 15px;
	}

}

/* ================================================
   375px以下：最小画面の調整
================================================ */
@media (max-width: 375px){


	.slide-area{
		aspect-ratio: 1 / 1;
	}

	/*#fv-slider{
		aspect-ratio: 1 / 1;
	}*/

	.catch{
		font-size: clamp(14px, 4vw, 18px);
	}

	.about-img.main{
		height: 260px;
	}

	.about-img.sub{
		height: 120px;
	}

	.service-en{
		font-size: 56px;
	}

	.news-box{
		padding-top: 50px;
		padding-bottom: 24px;
	}

	.news-en{
		font-size: 60px;
		top: -50px;
	}

}
