@charset "utf-8";

.home-title{
  justify-content: space-between;
}

.home-title h2{
  font-size:clamp(4rem, 2.273rem + 5.76vw, 8.75rem);
}

.home-title h2::before{
  display:none;
}

.beige-bg .home-title h2{
  font-size:clamp(4rem, 2.273rem + 5.76vw, 8.75rem);
}

.plan{
  width:90%;
  margin:180px 0 7.5rem auto;
  padding:100px 5% 120px;
  position:relative;
}

.plan .container{
  width:100%;
}

.plan-txt{
  width:100%;
  position:absolute;
  top:-90px;
  max-width:450px;
  left:10%;
}

.plan h2 {
  font-size: clamp(4rem, 2.273rem + 5.76vw, 8.75rem);
  line-height: 1;
}

.plan h3 {
  font-size: clamp(1rem, 0.636rem + 1.21vw, 2rem);
  margin: 2.5rem 0 3.5rem;
}

.plan-wrap{
  flex-direction: column;
}

.plan-wrap img{
  width:100%;
}

.plan-item{
  max-width:600px;
  width: 47.5%;
  margin:0 0 0 auto;
}

.plan-item:nth-child(2){
  margin: -15% auto -20% 0;
}

.plan-item img + p{
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
  margin-top:2.5rem;
}

.plan-item h3{
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
  margin:0 0 2rem;
  padding-bottom:2rem;
  border-bottom:0.8px solid #383A40;
}

.works.beige-bg .home-title{
  width: 100%;
  position: relative;
  top: auto;
  right: auto;
}

.plan1-wrap{
  width:100%;
  max-width:none;
}

.slider-thumbnail .swiper-wrapper{
  justify-content: flex-start;
  gap: 8px;
}

.slider-thumbnail .swiper-slide img{
  aspect-ratio:200/125;
}

.slider-thumbnail{
  width: 15%;
}

.slider {
  width: calc(85% - 8px);
}

.work-title{
  padding-bottom:2rem;
  border-bottom:0.8px solid #383A40;
  margin:3rem 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size:clamp(0.75rem, 0.659rem + 0.3vw, 1rem);
}

.work-title h2{
  font-size:clamp(1.125rem, 0.807rem + 1.06vw, 2rem);
}

.work-list{
  margin-bottom:2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  font-size:14px;
}

.work-list p:first-child{
  font-size:18px;
  width:200px;
}

.work-list p:last-child{
  width:calc(100% - 224px);
}

.flow{
  margin:7.5rem 0 140px;
}

.flow .container{
  max-width:1160px;
}

.flow-wrap{
  display:flex;
  justify-content: space-between;
  position:relative;
}

.flow-wrap::before{
  content:"";
  position:absolute;
  width:80%;
  height:1px;
  background:#383A40;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.flow-item{
  width:23%;
  max-width:260px;
  border:0.8px solid #383A40;
  padding:4rem 1rem;
  position:relative;
  font-size:14px;
  background:#fff;
}

.flow-label{
  position:absolute;
  left:0;
  top:-1.5rem;
  background:#383A40;
  color:#fff;
  width:3rem;
  height:3rem;
  font-size:18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-item h3{
  font-size:18px;
  margin-bottom:1rem;
}

.flow .home-title{
  padding:0 5%;
}

@media (max-width: 1279px) {
  .plan{
    width: 100%;
  }
  .plan-txt{
    top: -40px;
    left: 5%;
    max-width: 350px;
  }
  .slider-thumbnail,
  .slider{
    width: 100%;
  }
  .slider-thumbnail .swiper-slide {
    width: calc((100% - 24px) / 4) !important;
  }
  .plan-item img + p{
    margin-top: 0.5rem;
  }
  .plan h3 {
    margin: 0.5rem 0 1rem;
    padding: 0 0 1rem;
  }
  .plan-wrap img{
    margin-bottom: 0.5rem;
  }
  .flow-wrap{
    flex-wrap:wrap;
    gap: 4rem 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
    z-index:1;
  }
  .flow-item{
    width:calc((100% - 1rem ) / 2);
    max-width: none;
  }
  .flow-wrap::before{
    top: 25%;
  }
  .flow-wrap::after{
    content: "";
    position: absolute;
    width: 80%;
    height: 1px;
    background: #383A40;
    top: 80%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    z-index:-1;
  }
}


@media (max-width: 1024px) {
  .home-title{
    margin-bottom:2.5rem;
  }
  .work-title{
    margin: 0rem 0 1rem;
    padding-bottom: 1rem;
  }
  .work-list{
    gap: 1rem;
    flex-direction: column;
  }
  .work-list p:first-child,
  .work-list p:last-child{
    width:100%;
  }
}

@media (max-width: 767px) {
  .plan {
    margin: 100px 0 0;
    padding: 3rem 5% 100px;
  }
  .plan-txt{
    max-width: 350px;
    position: relative;
    top: auto;
    left: auto;
    transform: translateY(-90px);
  }
  .plan h3{
    padding:0;
  }
  .plan-wrap{
    gap:3rem;
  }
  .plan-item{
    width:100%;
  }
  .plan-item:nth-child(2) {
    margin: 0;
  }
  .plan-item h3{
    padding:0 0 0.5rem;
    margin: 0 0 1rem;
  }
  .home-title{
    flex-direction: column;
  }
  .home-title div{
    padding:0;
  }
  .feature .home-title div{
    margin:0;
  }
  .feature-wrap.first{
    padding:0 0 2.5rem;
  }
  .slider-thumbnail{
    padding-top:0.5rem;
  }
  .work-list p:last-child span{
    font-size:14px !important; 
  }
  .flow-item {
    width: 100%;
    padding: 2.5rem 1rem;
  }
  .flow-wrap {
    gap: 3rem 1rem;
    max-width: 260px;
  }
  .flow-wrap::after{
    display:none;
  }
  .flow{
    margin: 100px 0;
  }
  .flow-wrap::before{
    width:1px;
    height:80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .flow .home-title{
    max-width: 260px;
    margin: 0 auto 3rem;
    padding: 0;
  }
}
