/* style reset start */
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

button {
  border: none;
  background-color: transparent;
}
/* style reset end */

em {
  font-style: normal;
}

@media (min-width: 1200px) {
  .pc-media_image {
    display: block;
  }
  .mb-media_image {
    display: none;
  }
  .media {
    position: relative;
    top: 84px;
  }

  .media section .media-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .media-section01 {
    background-color: var(--basic-white, #fff);
    border-bottom: 1px solid var(--gray-200, #efefef);
  }

  .media-section01 .media-content {
    padding: 80px 0;
  }

  .media-section01 .media-content p {
    color: var(--basic-navy-black, #000412);
    font-size: 16px;
    font-weight: 400;
  }

  .media-section01 .media-content h1 {
    color: var(--basic-navy-black, #000412);
    font-size: 70px;
    font-weight: 700;
    margin-top: 10px;
  }

  .media-sub_section {
    display: none;
  }

  .media-section02 .media-content {
    display: flex;
    justify-content: end;
    text-align: center;
    padding: 160px 0 20px 0;
    border-bottom: 2px solid var(--basic-navy-black, #000412);
  }

  .media-section02 .media-content .media-text{
    width: 300px;
    height: 50px;
    padding: 16px;
    background-image: url("/common/img/search.svg");
    background-position: 10px center;
    padding-left: 40px;
    background-repeat: no-repeat;
    border-radius: 5px;
    border: 1px solid var(--gray-400, #999FA5);
  }


  .media-section02 .pc-content-top_title {
    display: block;
  }

  .media-section02 .mb-content-top_title {
    display: none;
  }

  .media-section03 .media-content {
    padding: 48px 0;
    
    border-bottom: 2px solid var(--gray-300, #E4E7EA);
  }
  .media-section03 .media-content .component{
    display: flex;
    height: 240px;
  }
  .middleContainer{
    width: 100%; 
    margin: 22px 50px 22px 0;
  }

  .middleContainer h1 {
    cursor: pointer; /* 커서를 포인터로 변경 */
    transition:  "text-decoration" 0.3s; /* border-bottom에 부드러운 전환 효과 추가 */
    text-decoration: none;
    text-align: left; 
    color: var(--basic-navy-black, #000412);
    font-family: "Pretendard";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
  }

  .middleContainer:hover h1 {
    text-decoration: underline;
  }

  .middleContainer .middleContent {
    width: 756px; 
    height: 66px; 
    margin: 24px 0;
    overflow: hidden;
    position: relative;
   
  }
  .middleContainer .middleContent p {
    color: var(--gray-800, #393D46);
    font-family: "Pretendard";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: absolute;
    line-height: 1.5;
    font-size: 20px;
  }
 
  .mediaImg{
    text-align: right;
  }

  .mediaImg img{
    width: 398px;
    height: 240px;
    object-fit: contain;
  }

  .middleContainer .middleDate {
    color: var(--gray-500, #767D84);
  }

  .media-section04 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 160px 0;
  }
  .media .media-section04 .media-content {
    max-width: 1920px;
    height: 430px;
  }
  .media .media-section04 .media-content .content-top {
    width: 100%;
    height: 100%;
    background: url("../img/media/careerEmailBackground.png");
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .media-section04 .media-content .pc-content-top_guide {
    display: block;
  }
  .media-section04 .media-content .mb-content-top_guide {
    display: none;
  }

  .media-section04 .media-content .pc-content-top_guide p {
    text-align: center;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 8px;
    color: white;
  }

  .media-section04 .media-content .content-top_email {
    margin: 60px 0 0 0;
    width: 384px;
    height: 100px;
    border-radius: 12px;
    padding: 12px;
    background-color: rgba(247, 248, 250, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .media-section04 .media-content .content-top_email p {
    color: var(--basic-navy-black, #000412);
    font-weight: 700;
    font-size: 26px;
  }

  .media .media-section04 .media-content .content-bottom {
    display: flex;
    justify-content: center;
    margin: 80px 0 0 0;
  }

  .media .media-section04 .media-content .content-bottom .content-bottom_linkButton {
    width: 282px;
    height: 60px;
    border-radius: 5px;
    padding: 16px;
    background-color: #297fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .media .media-section04 .media-content .content-bottom .content-bottom_linkButton a {
    display: block;
    margin: 0;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    color: #ffffff;
  }

  .footer_top {
    margin-top: 72px;
  }
}

@media (max-width: 1199px) {
  .pc-media_image {
    display: block;
  }
  .mb-media_image {
    display: none;
  }
  .media {
    position: relative;
    top: 50px;
  }

  .media section .media-content {
    width: 100%;
    margin: 0 auto;
  }

  .media-section01 {
    background-color: var(--basic-white, #fff);
    border-bottom: 1px solid var(--gray-200, #efefef);
  }

  .media-section01 .media-content {
    padding: 32px 24px;
  }

  .media-section01 .media-content p {
    color: var(--basic-navy-black, #000412);
    font-size: 12px;
    font-weight: 400;
  }

  .media-section01 .media-content h1 {
    color: var(--basic-navy-black, #000412);
    font-size: 30px;
    font-weight: 700;
    margin-top: 10px;
  }

  .media-sub_section {
    display: block;
    border-bottom: 1px solid var(--gray-200, #efefef);
  }
  .media-sub_section .media-locationTabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .media-sub_section .locationTabs-who_we_are,
  .media-sub_section .locationTabs-media {
    width: 23%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .media-sub_section .locationTabs-media {
    border-bottom: 2px solid #000412;
  }

  .media-sub_section .locationTabs-media p {
    color: var(--basic-navy-black, #000412);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
  }
  .media-sub_section .locationTabs-careers a {
    display: block;
    color: var(--gray-400, #999fa5);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
  }

  .media-sub_section .locationTabs-who_we_are a {
    display: block;
    color: var(--gray-400, #999fa5);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
  }

  .media-section02 .media-content {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-top:55px;
  }

  .media-section02 .media-content .media-text{
    width: 100%;
    height: 50px;
    padding: 16px;
    background-image: url("/common/img/search.svg");
    background-position: 10px center;
    padding-left: 40px;
    background-repeat: no-repeat;
    border-radius: 5px;
    border: 1px solid var(--gray-400, #999FA5);
    margin: 0 22px;
    margin-bottom: 55px !important;
  }

  .media-section02 .mb-content-top_title p {
    color: var(--basic-navy-black, #000412);
    font-size: 22px;
    font-weight: 300;
  }
  .media-section02 .content-middle {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  /* ddd */
  .media-section03 .media-content .component {
    display: flex;
    flex-direction: column-reverse ; 
    height: auto ;
    margin-bottom: 76px;
  }

  .media-section03 .media-content:last-child .component:last-child {
    display: flex;
    flex-direction: column-reverse ; 
    height: auto ;
    margin-bottom: 0px;
  }
  

  .middleContainer{
    width: 100%; 
    margin: 22px 50px 22px 0;
  }
  

  .middleContainer .middleContent {
    width: 100%; 
    height: 66px; 
    margin: 24px 0;
    overflow: hidden;
    position: relative;
    height: 50px !important;
  }
  .middleContainer .middleContent p {
    color: var(--gray-800, #393D46);
    font-family: "Pretendard";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: absolute;
    line-height: 1.5;
  }
  .mediaImg img{
    object-fit: contain;
  }
  .middleContainer .middleDate {
    color: var(--gray-500, #767D84);
  }


  .component .middleContainer{
    padding: 0 24px;
  }

  .component .middleContainer h1 {
    cursor: pointer; 
    transition:  "text-decoration" 0.3s; 
    text-decoration: none;
    font-size: 22px;
    font-style: normal;
    line-height: 32px;
    text-align: left; 
    color: var(--basic-navy-black, #000412);
    font-family: "Pretendard";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
  }

  .component p {
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    
  }
    
  .component > div {
        width: 100% !important; 
        margin: 0 !important; 
        
    }

  .component img {
        width: 100% !important;
        height: 240px !important;
    }


  .component div > div{
    height: auto !important;
    margin-top: 12px !important;
    margin-bottom: 14px !important;
  }

  .component div:last-child{
    padding-bottom: 28px !important;
  }
  
  .media-section03 .content-top_title h2 {
    color: var(--basic-navy-black, #000412);
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 32px;
    text-align: center;
  }



  .media-section03 .content-bottom .content-bottom_circle_wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .media-section03 .content-bottom .content-bottom_circle01,
  .media-section03 .content-bottom .content-bottom_circle02,
  .media-section03 .content-bottom .content-bottom_circle03,
  .media-section03 .content-bottom .content-bottom_circle04,
  .media-section03 .content-bottom .content-bottom_circle05 {
    position: relative;
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 32px 0;
  }

  .media-section03 .content-bottom .content-bottom_circle01 div,
  .media-section03 .content-bottom .content-bottom_circle02 div,
  .media-section03 .content-bottom .content-bottom_circle03 div,
  .media-section03 .content-bottom .content-bottom_circle04 div,
  .media-section03 .content-bottom .content-bottom_circle05 div {
    padding: 14px 0;
  }

  .media-section03 .content-bottom .content-bottom_circle01::after,
  .media-section03 .content-bottom .content-bottom_circle02::after,
  .media-section03 .content-bottom .content-bottom_circle03::after,
  .media-section03 .content-bottom .content-bottom_circle04::after {
    content: "";
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: -16px;
    width: 64px;
    height: 1px;
    border: 1px solid #e4e7ea;
  }

  .media-section03 .content-bottom .content-bottom_circle_number {
    font-weight: 700;
    font-size: 18px;
    color: var(--basic-primary, #b7d4ff);
    margin: 14px 0 0 0;
  }

  .media-section03 .content-bottom .content-bottom_circle_text {
    font-weight: 700;
    font-size: 26px;
    color: #0049b6;
    margin: 0 0 12px 0;
  }

  .media-section04 {
    margin-top: 76px;
    height: 80px;
  }

  .media-section04 .media-content .pagination{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer {
    margin-top: 72px;
  }
}
