@charset "utf-8";

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* ESG 활동 우수사례 */
.esgActivity {
  word-break: keep-all;
  .esgSection {
    padding: 50px 0;
  }
  .sectionTitle {
    font-size: 20px;
    font-weight: 700;
  }
  .sectionDescription p {
    font-size: 16px;
    margin: 1.5em 0 0;
  }
  .sectionContent {
    margin-top: 50px;
  }
}

.esgSection01 {
  .sectionContent {
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
  }
  .activity__list {
    text-align: center;
  }
  .activity__item{position: relative;}
  .activity__item ~ .activity__item {
    margin-top: 60px;
  }
  .award-img{
    position: absolute; right: -30px; top: 32px; width:115px;
    z-index: 10; transform: translateY(-100px) scale(1.5);
    transition: all 0.8s cubic-bezier(0.25, 1.5, 0.5, 1); opacity: 0;
  }
  .award-img.active{
    opacity: 1; transform: translateY(0) scale(1);
  }
  .award-img.award2{top: -30px;}
  .award-img img{width: 100%;}
  .activity__check{
    font-size: 18px; font-weight: 500; text-align: left;
    margin-bottom: 30px; display: flex; align-items: center; gap: 10px;
  }
  .activity__check::before{
    content: ""; display: inline-block; width:20px; height: 20px;
    background: url(../images/pages/activity/icon-check.svg) no-repeat center/cover;
  }
  .activity__company {
    line-height: 50px;
    background-color: #588d42;
    padding: 0 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
  }
  .activity__company.award-title{
    text-align: left; line-height: 1.5; padding: 10px 15px;
  }
  .activity__company.bg2{background-color: #60A543;}
  .activity__company.bg3{background-color: #88BA5D;}
  .activity__toplogo {
    position: relative; margin-top: 30px; padding: 17px;
    border-radius: 10px;
    background: #F8F8F8;
    margin-top: 20px; padding: 3px;
    overflow:hidden;
    
    .imgBox {
      padding: 13px; position: relative;
      background: #F8F8F8;
      border-radius: 5px; z-index: 2;
      img{width:100%;}
    }
    .goldBorder{
      position: absolute; top: -50%; left: -72%;
      width: 200%; height: 400%;
      transform: rotate(-45deg);
      overflow: hidden;
      background: linear-gradient(to right, #fff 20%, #fff 40%, #F7F2D8 50%, #f7d685 55%, #fff 70%, #fff 100%);
      background-size: 200% auto;
      animation: shine 3s linear infinite;
    }
  }
  .activity__images {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }
  .activity__images .image__box {
    border-radius: 8px;
    overflow: hidden;
  }
  .activity__images .image__box img {
    width: 100%;
    object-fit: cover;
  }
  .link__img{ 
    border-radius: 10px; border: 2px solid #C5F27B; box-sizing: border-box; overflow: hidden;
  }
  .activity__logos{
    display: flex; gap:20px; justify-content: space-between; flex-direction: column;
    margin-top: 20px;
  }
  .activity__logos .logos-wrap{
    border-radius: 8px; background: #F8F8F8;
    padding: 3px; position: relative; overflow: hidden;
  }
  .activity__logos .logos-wrap > div{
    padding: 7px; position: relative; z-index: 2; background: #fff;
    border-radius: 5px;
  }
  .activity__logos .logos-wrap .goldBorder{
    position: absolute; top: -50%; left: -50%; z-index: 1;
      width: 200%; height: 200%;
      transform: rotate(-45deg);
      overflow: hidden;
      background: linear-gradient(to right,#ffffff 8%,#eaf3fb 18%,#d1d9e6 28%,#c3ccd8 45%,#e4e9f1 55%,#ffffff 70%,#eaf3fb 85%,#ffffff 100%);
      background-size: 200% auto;
      animation: shine 3s linear infinite;
  }
  .activity__logos .logos-wrap .logo_year{
    display: block; text-align: center; font-size: 40px; font-weight: 700;
    color: #464646; margin-bottom: 20px;
  }
  .activity__logos .logos-wrap .logo_list{
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  }
  .activity__logos .logos-wrap .logo_list li{
    border-radius: 10px; background: #fff; overflow: hidden;
  }
  .activity__logos .logos-wrap .logo_list li img{width: 100%;}
  .activity__content {
    padding: 16px;
    background-color: #f8f8f8;
    border-radius: 6px;
    margin-top: 30px;
    line-height: 1.5;
  }
  .activity__content strong,
  .activity__content em {
    color: #588d42;
    font-style: normal;
  }
  .activity__content p {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
  }
  .activity__content .activity__title {
    font-size: 16px;
    font-weight: bold;
  }
}
