@charset "utf-8";

.case{
  width:80%;
  margin:5rem auto 10rem;
  max-width:1345px;
}

.case-cate{
  margin:0 0 10rem;
}

.case-cate > p{
  font-weight: bold;
  padding: 0 0 0 1.5rem;
  position: relative;
  margin-bottom: 2rem;
}

.case-cate > p::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 26px;
  background: #243374;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.case-btn{
  display:flex;
  flex-wrap:wrap;
  gap:3rem;
}

.case-btn .border-btn{
  padding: 1rem 21px;
  text-align: center;
  width: 180px;
  border: 2px solid;
  position: relative;
  line-height: 1;
}

.case-box:not(:last-child){
  margin-bottom:5rem;
}

.case-item:not(:last-child){
  margin-bottom:4rem;
}

.case-box h2{
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
  padding: 0 0 0 1.5rem;
  position: relative;
  margin-bottom: 3rem;
}

.case-box h2::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 46px;
  background: #243374;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.case-icon{
  display: flex;
  align-items: center;
  color:#243374;
  font-weight:bold;
  font-size:clamp(1.5rem, 1.136rem + 1.21vw, 2.5rem);
  border: 2px solid;
  padding: 0px 1rem;
  margin-bottom:2rem;
}

.case-icon p{
  padding:2px 0 2px 1rem;
  border-left:2px solid;
  margin-left: 1rem;
}

.case-icon img{
  width:2.5rem;
}

.case-wrap{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
}

.case-left{
  width:40%;
}

.case-left h3{
  font-size:clamp(1rem, 0.955rem + 0.15vw, 1.125rem);
  font-weight: bold;
  padding: 0 0 0 1.5rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.case-left h3::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 26px;
  background: #243374;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.case-left div{
  display:flex;
  justify-content: space-between;
}

.case-left div:not(:last-child){
  margin-bottom:1rem;
}

.case-left div p:first-child{
  width:120px;
  font-weight:bold;
  color:#243374;
  font-size:clamp(1rem, 0.955rem + 0.15vw, 1.125rem);
}

.case-left div p:last-child{
  width:calc(100% - 140px);
}

.case-right{
  width: 58%;
  background:#FAFAFA;
  padding:1.5rem 3%;
  display:flex;
  justify-content: space-between;
}

.case-right div{
  width:49%;
}

.case-right div p{
  margin-bottom:0.5rem;
}

@media screen and (max-width: 1600px) {
  .case-btn {
    gap: 2rem;
  }
  .case-btn .border-btn{
    width:150px;
  }
}

@media screen and (max-width: 1279px) {
  .case-wrap{
    align-items: center;
    flex-direction: column-reverse;
    gap: 2.5rem;
  }
  .case-right {
    width: 88%;
  }
  .case-left {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .case {
    width: 90%;
    margin: 3rem auto 5rem;
  }
  .case-btn {
    gap: 1rem;
  }
  .case-cate {
    margin: 0 0 5rem;
  }
  .case-icon p {
    padding: 6px 0 6px 1rem;
  }
  .case-icon img {
    width: 2rem;
  }
  .case-icon{
    margin-bottom: 1rem;
  }
  .case-right,
   .case-left div p:first-child,
  .case-left div p:last-child{
    width: 100%;
  }
  .case-wrap{
    gap:1.5rem;
  }
  .case-left div{
    flex-direction: column;
    gap:0.5rem;
  }
}