@charset "utf-8";

.engagement{
  margin-bottom:7.5rem;
  position:relative;
}

.engagement::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:80%;
  right:0;
  width:65%;
  aspect-ratio:1272/2602;
  background:url(https://sanei-construction.com/system_panel/uploads/images/20251106155555298456.png) no-repeat center/cover;
}


.engagement-box{
  margin-bottom:2.5rem;
}

.engagement-link img{
  height:73px;
  width:fit-content;
}

.engagement-box h3{
  margin:1rem 0 0;
  font-size:clamp(1.5rem, 1.136rem + 1.21vw, 2.5rem);
}

.engagement-bg{
  padding:3rem 5% 5rem;
  background:rgba(255,255,255,0.2);
  margin:2.5rem 0;
}

.engagement-bg > p strong{
  font-weight:bold;
  color:#002753;
}

.engagement-bg > p {
  line-height:2;
}

.engagement-wrap{
  display:flex;
  margin-top:2.5rem;
  justify-content: space-between;
  align-items: center;
}

.engagement-txt{
  width:50%;
}

.engagement-txt > p{
  color:#fff;
  background:#002753;
  width:fit-content;
  font-weight:bold;
  padding:4px;
}

.engagement-list p{
  padding:1rem;
  border-bottom:1px solid #002753;
}

.engagement-img{
  width:45%;
  display:flex;
  justify-content: space-between;
  align-items: center;
}

.engagement-img img{
  object-fit:cover;
  aspect-ratio:1/1;
  border-radius:999vh;
  width:37%;
}

.engagement-img div{
  width:55%;
  text-align:right;
  position:relative;
  padding:1rem;
  font-size:14px;
  z-index: 1;
}

.engagement-img div p{
  line-height:2;
}

.engagement-img div p strong{
  color:#024DA4;
  font-weight:bold;
  font-size:18px;
}

.engagement-img div::before{
  content:"";
  position:absolute;
  width:100%;
  aspect-ratio:212/130;
  background:url(https://sanei-construction.com/system_panel/uploads/images/20250821095828206916.png) no-repeat center/contain;
  bottom:0;
  left:0;
  z-index:-1;
}

.engagement-box .arrow-btn{
  margin:0 0 0 auto;
}


.training{
  margin:10rem 0 0;
  overflow:hidden;
  padding-bottom:10rem;
  position:relative;
}

.training::before{
  content:"";
  position:absolute;
  width:48%;
  aspect-ratio:916/701;
  background:url(https://sanei-construction.com/system_panel/uploads/images/20251106155405216590.png) no-repeat center/contain;
  bottom:0;
  left:0;
  z-index:-1;
}

.training h2{
  color:#002753;
  font-size:clamp(1.5rem, 1.136rem + 1.21vw, 2.5rem);
}

.training-wrap{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin:1rem 0 0 5%;
}

.training-img{
  width:53%;
}

.training-txt{
  width:42%;
}

.training-txt-item:not(:last-child){
  margin-bottom:3.5rem;
}

.training-txt h3{
  display:flex;
  align-items: center;
  gap: 1rem;
  color: #024DA4;
  font-size:clamp(1.125rem, 0.807rem + 1.06vw, 2rem);
  margin-bottom:1rem;
}

.training-txt h3 strong{
  font-weight:500;
  font-family:"Oswald", sans-serif;
  font-size:clamp(3rem, 2.636rem + 1.21vw, 4rem);
}

@media screen and (max-width: 1024px) {
  .training-wrap{
    gap: 2.5rem;
    flex-direction: column;
  }
  .training-txt {
    width: 100%;
  }
  .training-img {
    width: 100%;
    max-width:450px;
  }
  .engagement-wrap {
    flex-direction: column;
    gap: 2.5rem;
  }
  .engagement-txt {
    width: 100%;
  }
  .engagement-img {
    width: 80%;
    max-width: 400px;
  }
  .engagement::after{
    top:100%;
  }
}

@media screen and (max-width: 767px) {
  .engagement-box{
    width:90%;
    margin:0 auto 2.5rem;
  }
  .engagement-link img {
    height: 40px;
    width:167px;
  }
  .engagement-box:last-child .engagement-link img {
    height: 40px;
    width:219px;
  }
  .engagement-box h3 {
    font-size: 1.25rem;
  }
  .engagement-bg > p strong {
    display: inline;
  }
  .engagement-img {
    width: 100%;
  }
  .engagement-bg {
    padding: 2rem 5% 3rem;
    margin: 1.5rem 0;
  }
  .engagement-img img{
    width:30%;
  }
  .engagement-img div {
    width: 65%;
    padding: 1rem 0.5rem 1rem 0;
  }
  .engagement + img{
    aspect-ratio:390/260;
    object-fit:cover;
  }
  .engagement-box .arrow-btn {
    margin: 0 5% 0 auto;
  }
  .training-txt {
    width: 90%;
  }
  .training-txt-item:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .training-txt h3{
    margin-bottom: 0rem;
  }
  .training-txt-item p br{
    display:none;
  }
  .training-wrap{
    margin:1rem 0 0;
  }
  .training h2{
    margin:0 5%;
    font-size: 22px;
  }
  .training {
    margin: 0;
    padding:5rem 0;
    position:relative;
  }
  .engagement-wrap {
    gap: 1.5rem;
  }
  .engagement-list p {
    padding: 0.5rem;
  }
  .engagement {
    margin-bottom: 3.5rem;
  }
  .main::after{
    top: 5%;
  }
  .main::before {
    width: 260%;
  }
  .training::before{
    width:80%;
  }
  .engagement::after {
    top: 95%;
    width: 85%;
  }
}