.serviceList .Txt .title, .serviceList .item {
  transition: all 0.5s ease-in-out;
}

.contentBox {
  position: relative;
}
.contentBox:not(.insPage) {
  display: flex;
  flex-wrap: nowrap;
  justify-content: unset;
  align-items: unset;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
@media (max-width: 1180px) {
  .contentBox:not(.insPage) {
    flex-direction: column;
  }
}
.contentBox:not(.insPage):not(:has(.classBox)) .leftBox {
  display: none;
}
.contentBox:not(.insPage) .leftBox {
  position: relative;
  flex: 0 0 auto;
  width: 20%;
}
@media (max-width: 1180px) {
  .contentBox:not(.insPage) .leftBox {
    width: 100%;
  }
}
.contentBox:not(.insPage) .rightBox {
  position: relative;
  flex: 1 1 auto;
  width: 0;
}
@media (max-width: 1180px) {
  .contentBox:not(.insPage) .rightBox {
    width: 100%;
  }
}
.contentBox.insPage .serviceInfoBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10px;
}
.contentBox.insPage .serviceInfoBox .dateBox,
.contentBox.insPage .serviceInfoBox .classTitle {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #8E8B8B;
}
@media (max-width: 768px) {
  .contentBox.insPage .serviceInfoBox .dateBox,
  .contentBox.insPage .serviceInfoBox .classTitle {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .contentBox.insPage .serviceInfoBox .dateBox,
  .contentBox.insPage .serviceInfoBox .classTitle {
    font-size: 13px;
  }
}

@media (max-width: 1180px) {
  .classBox {
    margin-right: 0;
  }
}

.serviceList {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
@media (max-width: 1180px) {
  .serviceList {
    gap: 42px 24px;
  }
}
@media (max-width: 575px) {
  .serviceList {
    gap: 32px 20px;
  }
}
.serviceList .serviceItem {
  position: relative;
  width: calc((100% - 0px) / 3);
}
@media (max-width: 1180px) {
  .serviceList .serviceItem {
    width: calc((100% - 48px) / 3);
  }
}
@media (max-width: 768px) {
  .serviceList .serviceItem {
    width: calc((100% - 24px) / 2);
  }
}
@media (max-width: 575px) {
  .serviceList .serviceItem {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 480px) {
  .serviceList .serviceItem {
    width: 100%;
  }
}
.serviceList .item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  box-shadow: 9px 5px 18.1px 0px transparent;
  overflow: hidden;
  height: 100%;
  padding: 28px 22px;
}
@media (max-width: 1366px) {
  .serviceList .item {
    padding: 20px 16px;
  }
}
@media (max-width: 1180px) {
  .serviceList .item {
    padding: 0;
  }
}
.serviceList .item::before {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
  content: "";
  width: 100%;
  height: 0;
  background-color: #fff;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  transition: all 0.4s ease-in-out;
}
@media (min-width: 1181px) {
  .serviceList .item:hover {
    box-shadow: 9px 5px 18.1px 0px rgba(0, 0, 0, 0.1);
    transition-delay: 0.3s;
  }
  .serviceList .item:hover::before {
    height: 100%;
  }
  .serviceList .item:hover .Txt .title {
    color: #8DB943;
  }
}
.serviceList .imgBox {
  position: relative;
  flex-shrink: 0;
  border-radius: 15px;
  overflow: hidden;
}
.serviceList .imgBox .Img img {
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
}
.serviceList .imgBox .classTitle {
  min-width: 100px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  background-color: #99754A;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 15px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  padding: 6px 16px;
}
@media (max-width: 991px) {
  .serviceList .imgBox .classTitle {
    font-size: 13px;
    padding: 5px 10px;
    min-width: 90px;
  }
}
.serviceList .Txt {
  position: relative;
  margin-top: 16px;
  flex: 1 1 auto;
}
.serviceList .Txt .newsInfoBox {
  position: relative;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .serviceList .Txt .newsInfoBox {
    margin-bottom: 6px;
  }
}
.serviceList .Txt .newsInfoBox .dateBox {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #8E8B8B;
}
@media (max-width: 768px) {
  .serviceList .Txt .newsInfoBox .dateBox {
    font-size: 14px;
  }
}
@media (max-width: 375px) {
  .serviceList .Txt .newsInfoBox .dateBox {
    font-size: 13px;
  }
}
.serviceList .Txt .title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #595757;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.8em;
}
@media (max-width: 991px) {
  .serviceList .Txt .title {
    font-size: 18px;
  }
}
@media (max-width: 575px) {
  .serviceList .Txt .title {
    font-size: 16px;
  }
}
.serviceList .Txt .text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.6;
  color: #8E8B8B;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 12px;
}
@media (max-width: 1180px) {
  .serviceList .Txt .text {
    font-size: 15px;
    margin-top: 8px;
  }
}
@media (max-width: 575px) {
  .serviceList .Txt .text {
    font-size: 14px;
    margin-top: 6px;
  }
}
@media (max-width: 375px) {
  .serviceList .Txt .text {
    font-size: 13px;
  }
}
.serviceList .linkWrap {
  width: 100%;
  height: 100%;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shareBox {
  float: right;
}
.shareBox .btn-fb {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.shareBox .back {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
  background: rgb(174, 66, 51);
  /* Old browsers */
  /* FF3.6+ */
  /* Chrome,Safari4+ */
  /* Chrome10+,Safari5.1+ */
  /* Opera 11.10+ */
  /* IE10+ */
  background: linear-gradient(to bottom, rgb(174, 66, 51) 0%, rgb(196, 76, 76) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ae4233', endColorstr='#c44c4c', GradientType=0);
  /* IE6-9 */
  cursor: pointer;
}
@media (min-width: 1181px) {
  .shareBox .back:hover {
    background: #398cb1;
  }
}