/* ----header----- */
.nav-list li:nth-child(2) {
  position: relative;
  color: #EA5514;
}

.nav-list li:nth-child(2)::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #ea5514;
  position: absolute;
  bottom: -217%;
  transform: scaleX(1);
}

@media screen and (max-width: 768px) {
  .nav-list li:nth-child(2) {
    color: #000;
  }

  .nav-list li:nth-child(2)::after {
    content: "";
    display: none;

  }

}



/* ----------about ----------------*/
.about {
  padding: 100px 13.8%;
  position: relative;
  background-color: #fff;
}

.section-title {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
}






.sub-title-txt {
  color: #EA5514;
  font-family: Prompt;
  font-size: 2rem;
  font-weight: 600;
}

.about-content {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}


.img-content {
  margin-right: 140px;
  aspect-ratio: 342/462;
  max-width: 342px;
  position: relative;
  display: block;
  overflow: hidden;
  /* 画像がはみ出さないようにする */
}


.yousuke-img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
  /* なめらかに変化 */
}



.img-content:hover .yousuke-img{
  transform: scale(1.1);
  /* 1.1倍に拡大 */
  filter: brightness(50%);
  /* 明るさを 80% にして暗くする */
  transition: transform 0.3s ease, filter 0.3s ease;
  /* スムーズなアニメーション */
}

.career {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  opacity: 0;
}

.img-content:hover .career{
  opacity: 1;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.career-from {
  color: #FFF;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-weight: 400;
}

.career-content{
  margin-top: 50px;
}

.career-title {
  display: inline-flex;
  padding: 0px 5px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #FFF;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-weight: 400;
}

.career-txt {
  margin-top: 20px;
  color: #FFF;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-weight: 400;
}

.about-box {
  max-width: 558px;
}

.about-item {
  display: flex;
  padding: 20px 0px;
  align-items: center;
  border-top: 1px solid #A5A5A5;
}

.about-item:last-child {
  border-bottom: 1px solid #A5A5A5;
}

.about-stick {
  display: flex;
  align-items: center;

}

.item-name {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-weight: 700;
  width: 212px;
}

.item-name-txt {
  width: 437px;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 4px 26px;
  justify-content: center;
  align-items: center;
  border-left: 3px solid #EA5514;
}



@media screen and (max-width: 768px) {
  .about-content {
    display: block;
  }

  .img-content {
    margin: 0 auto;
    max-width: 60%;
  }



  .about-list {
    margin-top: 80px;
  }

}

@media screen and (max-width: 430px) {
  .img-content {
    margin: 0 auto;
    max-width: 90%;
  }


}






/* ----------Business ------------------*/

.business {
  padding: 137px 13.8%;
  background-color: #fafafa;
}

.business-content {
  margin: 140px auto 0;
  justify-content: center;
}

.business-item {
  display: flex;
  gap: 54px;
}

.business-item:last-child {
  margin-top: 150px;
}

.business-img-content {
  aspect-ratio: 420/280;
  max-width: 420px;
}

.business-img {
  aspect-ratio: 420/280;
  max-width: 420px;
}

.business-column {
  max-width: 48%;
}

.business-name {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 2.4rem;
  font-weight: 700;
}

.business-txt {
  margin-top: 20px;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  /* 150% */
}

.business-btn {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 2.2rem;
  font-weight: 400;
  max-width: 288px;
  height: 61px;
  border-radius: 43px;
  border: 2px solid #000;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.business-btn:hover {
  color: #fff;
  border: 1px solid #000;
  background-color: #000;
}



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

  .business {
    padding: 137px auto;
    background-color: #fafafa;
  }

  .business-content {
    margin-top: 50px;
  }

  .business-img {
    max-width: 300px;
  }



  .business-item {
    gap: 0;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
  }

  .business-column {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    align-items: center;
    max-width: 100%;
  }

  .business-btn {
    padding: 18px 70px;
  }



}