/*--------------------------------------------------------------
# Product Section
--------------------------------------------------------------*/

.product .container {
  height: 800px;
}

/* 그리드 시작 */
.product .pms-wrap {
  width: 100%;
  margin: auto 0;
  display: grid;
  grid-template-columns: 50% 1fr 1fr;
  grid-auto-rows: minmax(300px, auto);
  grid-gap: 45px;
  justify-content: center;
  margin-top: 60px;
}

.product .pms-wrap .pms-item {
  width: 100%;
  height: 300px;
  padding: 1.9rem;

  box-shadow: 0;
  box-sizing: border-box;
  border-bottom: 1px solid #c7c7c7;
}

.product .pms-wrap .pms-item:first-child {
  grid-row: 1 / span 2;
  height: 645px;
}

.product .pms-wrap .pms-item:first-child.is-inactive {
  height: 300px;
}

.product .pms-wrap .pms-item.is-active {
  z-index: 1;
  grid-row: 1 / span 2;
  height: 645px;
  opacity: 1;
  box-shadow: 0px 25px 23px -9px rgba(0, 0, 0, 0.12);
  border: 1px solid #efefef;
  border-radius: 2rem;
  color: #fff;
  padding: 3rem;
}

.product .pms-wrap .img-1.is-active,
.product .pms-wrap .pms-item:first-child {
  background: url(../img/projects/pms-1.jpg) no-repeat center/cover;
  box-shadow: 0px 25px 23px -9px rgba(0, 0, 0, 0.12);
  border: 1px solid #efefef;
  border-radius: 2rem;
  color: #fff;
  padding: 3rem;
}

.product .pms-wrap .img-2.is-active {
  background: url(../img/projects/pms-2.jpg) no-repeat center/cover;
}

.product .pms-wrap .img-3.is-active {
  background: url(../img/projects/pms-3.jpg) no-repeat center/cover;
}

.product .pms-wrap .img-4.is-active {
  background: url(../img/projects/pms-4.jpg) no-repeat center/cover;
}

.product .pms-wrap .img-5.is-active {
  background: url(../img/projects/pms-5.jpg) no-repeat center/cover;
}

.product .pms-wrap .pms-item:first-child.is-inactive {
  background: 0;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid #c7c7c7;
  border-radius: 0;
  padding: 1.9rem;
  color: var(--color-default);
}

.product .pms-wrap .pms-item:first-child:hover.is-inactive {
  color: var(--color-primary);
}

.product .pms-wrap .pms-item.is-active .long {
  margin-top: 20px;
}

.product .pms-wrap .pms-item.is-active:hover {
  color: #fff;
}

.product .pms-wrap .pms-item.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.product .pms-wrap .pms-item.is-inactive {
  grid-row: span 1;
}

/* 그리드 끝 */
.product .pms-wrap .pms-item {
  position: relative;
}

.product .pms-wrap .pms-item:hover {
  color: var(--color-primary);
}

.product .pms-wrap .pms-item .long,
.product .pms-wrap .pms-item.is-active .short,
.product .pms-wrap .pms-item:first-child .short,
.product .pms-wrap .pms-item:first-child.is-inactive .long {
  display: none;
}

.product .pms-wrap .pms-item .short,
.product .pms-wrap .pms-item.is-active .long,
.product .pms-wrap .pms-item:first-child .long,
.product .pms-wrap .pms-item:first-child.is-inactive .short {
  display: block;
}

.product .pms-wrap .pms-item:first-child .long {
  margin-top: 20px;
}

.product .pms-wrap .pms-item:first-child h5,
.product .pms-wrap .pms-item.is-active h5 {
  font-size: 1.8rem;
}

.product .pms-wrap .pms-item.is-inactive h5 {
  font-size: 20px;
}

.product .pms-wrap .pms-item h5 {
  font-weight: 600;
}

.product .pms-wrap .pms-item .short {
  position: absolute;
  bottom: 1rem;
  color: var(--color-secondary);
}

.product .pms-wrap .pms-item h5 .icon {
  width: 20px;
  position: absolute;
  top: 33px;
  right: 1rem;
}

.product .pms-wrap .pms-item:hover h5 .icon {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  filter: invert(78%) sepia(59%) saturate(600%) hue-rotate(98deg)
    brightness(88%) contrast(87%);
}

.product .pms-wrap .pms-item.is-active .icon {
  display: none;
}

.product .pms-wrap .pms-item:first-child .icon {
  display: none;
}

@media screen and (max-width: 1199px) {
  .product .container {
    height: 600px;
  }

  .product .pms-wrap {
    grid-gap: 24px;
    grid-auto-rows: minmax(200px, auto);
  }

  .product .pms-wrap .pms-item,
  .product .pms-wrap .pms-item:first-child.is-inactive {
    padding: 0.9rem;
  }

  .product .pms-wrap .pms-item h5 .icon {
    display: none;
  }

  .product .pms-wrap .pms-item .short {
    bottom: 0.6rem;
  }

  .product .pms-wrap .pms-item {
    height: 220px;
  }

  .product .pms-wrap .pms-item:first-child {
    height: 464px;
  }

  .product .pms-wrap .pms-item:hover {
    color: var(--color-default);
  }

  .product .pms-wrap .pms-item:first-child:hover {
    color: #fff;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive {
    height: 220px;
  }

  .product .pms-wrap .pms-item.is-active {
    height: 464px;
    padding: 2.4rem;
  }

  .product .pms-wrap .img-1.is-active,
  .product .pms-wrap .pms-item:first-child {
    padding: 2.4rem;
  }
}

@media screen and (max-width: 991px) {
  .product .container {
    height: 1100px;
  }

  .product .pms-wrap {
    grid-template-columns: 50% 50%;
    grid-auto-rows: minmax(200px, auto);
    grid-gap: 30px;
    margin-top: 60px;
  }

  .product .pms-wrap .pms-item:first-child {
    grid-column: 1 / span 2;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive {
    grid-column: span 1;
  }

  .product .pms-item.is-active {
    grid-row: 1;
    grid-column: 1 / span 2;
  }

  .product .pms-wrap .pms-item {
    height: 200px;
  }

  .product .pms-wrap .pms-item:first-child {
    height: 544px;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive {
    height: 200px;
  }

  .product .pms-wrap .pms-item.is-active {
    height: 544px;
  }

  .product .pms-wrap .pms-item h5 .icon {
    display: block;
    top: 17px;
    right: 1rem;
  }

  .product .pms-wrap .pms-item:first-child h5 .icon {
    display: none;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive h5 .icon {
    display: block;
  }

  .product .pms-wrap .pms-item,
  .product .pms-wrap .pms-item:first-child.is-inactive {
    padding: 1.4rem;
  }
}

@media screen and (max-width: 575px) {
  .product .container {
    height: 900px;
  }

  .product .pms-wrap {
    padding: 0 12px;
    grid-auto-rows: minmax(150px, auto);
    grid-gap: 20px;
  }

  .product .pms-wrap .pms-item {
    height: 150px;
  }

  .product .pms-wrap .pms-item:first-child {
    height: 460px;
    margin-bottom: 10px;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive {
    height: 150px;
  }

  .product .pms-wrap .pms-item.is-active {
    height: 460px;
    margin-bottom: 10px;
  }

  .product .pms-wrap .pms-item,
  .product .pms-wrap .pms-item:first-child.is-inactive {
    padding: 0;
  }

  .product .pms-wrap .pms-item h5,
  .product .pms-wrap .pms-item.is-inactive h5 {
    font-size: 18px;
  }

  .product .pms-wrap .pms-item p {
    font-size: 15px;
  }

  .product .pms-wrap .pms-item .short {
    bottom: 0.2rem;
  }

  .product .pms-wrap .pms-item h5 .icon {
    display: none;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive h5 .icon {
    display: none;
  }

  .product .pms-wrap .img-1.is-active,
  .product .pms-wrap .img-2.is-active,
  .product .pms-wrap .img-3.is-active,
  .product .pms-wrap .img-4.is-active,
  .product .pms-wrap .img-5.is-active,
  .product .pms-wrap .img-6.is-active,
  .product .pms-wrap .pms-item:first-child {
    padding: 1.7rem;
  }
}

@media screen and (max-width: 420px) {
  .product .pms-wrap .pms-item {
    height: 170px;
  }

  .product .pms-wrap .pms-item:first-child.is-inactive {
    height: 170px;
  }
}

/*--------------------------------------------------------------
# Three-way Section (Product Page)
--------------------------------------------------------------*/
.three-way-wrap {
}

.three-way-wrap h3 {
  padding: 80px 0 0 0;
  border-top: 1px solid #ebebed;
}

.three-way-wrap .use_list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 60px;
}

.three-way-wrap .use_list > li:not(.arrow) {
  overflow: hidden;
  position: relative;
  flex-basis: calc((100% / 3));
  height: 340px;
  border: 10px solid var(--color-primary);
  border-radius: 2rem;
  background: var(--color-primary);
}

.three-way-wrap .use_list li.arrow {
  position: relative;
  flex-basis: 4rem;
  height: 340px;
}

.three-way-wrap .use_list li.arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.2rem;
  height: 1.8rem;
  background: url(../img/product/ico_arrow_use.svg) no-repeat left top / 100%
    100%;
  transform: translate(-50%, -50%);
}

.three-way-wrap .use_list > li::before {
  position: absolute;
  right: -3rem;
  bottom: -7.5rem;
  color: rgba(35, 213, 165, 0.5);
  font-size: 270px;
  font-weight: 900;
}

.three-way-wrap .use_list > li.num01::before {
  z-index: 1;
  content: "1";
}

.three-way-wrap .use_list > li.num02::before {
  z-index: 1;
  content: "2";
}

.three-way-wrap .use_list > li.num03::before {
  z-index: 1;
  content: "3";
}

.three-way-wrap .use_list li img {
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 991px) {
  .three-way-wrap .use_list {
    display: block;
  }

  .three-way-wrap .use_list > li:not(.arrow) {
    height: 280px;
    border: 0;
    border-radius: 1.2rem;
  }

  .three-way-wrap .use_list li.arrow {
    height: 56px;
    transform: rotate(90deg);
  }

  .three-way-wrap .use_list li img {
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 65%;
    height: 100%;
    border: 10px solid var(--color-primary);
    border-radius: 1.5rem;
  }

  .three-way-wrap .use_list > li::before {
    right: 1rem;
    bottom: -7.5rem;
    font-size: 290px;
    color: rgba(20, 114, 89, 0.2);
  }

  .three-way-wrap .use_list > li.num01::before {
    right: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .three-way-wrap .use_list li img {
    width: 100%;
    height: 100%;
  }

  .three-way-wrap .use_list > li::before {
    right: -2rem;
    color: rgba(35, 213, 165, 0.5);
  }

  .three-way-wrap .use_list > li.num01::before {
    right: -1.2rem;
  }
}
