
.comp_gnb {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  background-color: #ffffff;
}

.header_logo .logo {
  font-family: 'Segoe UI', 'Pretendard', sans-serif;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SELVAS (강조 영역) */
.logo-main {
  font-weight: 700;
  color: #f7f7f8; 
  letter-spacing: 0.5px;
}

/* SentenceBox (서브 텍스트) */
.logo-sub {
  font-weight: 400;
  color: #ffffff;
}


/* 반응형 */
@media screen and (min-width: 1005px) {
  /* =================================================
    GNB
  ================================================= */
  .comp_gnb {
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 40px;
    gap: 4px;
    isolation: isolate;

    height: 60px;

    background: #436477;

    /* Inside auto layout */
    flex: none;
    align-self: stretch;
    flex-grow: 0;
  }

  .header_logo {
    width: 208px;
    height: 30px;

    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
    z-index: 0;
  }

  .logo {
    position: absolute;
    width: 200px;
    height: 25.21px;
  }

  /* GNB Menu */
  .gnb-menu-btn {
    display: none;
  }

  /* GNB Tabs */
  .gnb-tabs {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;

    position: absolute;
    height: 51px;
    left: 331px;
    top: 9px;

    /* Inside auto layout */
    flex: none;    
    flex-grow: 0;
    z-index: 1;
  }

  .gnb_tab_btn {
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 
            clamp(
              14px,
              calc(14px + (100vw - 1004px) * 10 / 916),
              24px
            )
            18px;
    gap: 10px;

    height: 51px;

    border-radius: 6px 6px 0px 0px;

    /* Inside auto layout */
    flex: none;
    flex-grow: 0;

    cursor: pointer;
    transition: background-color 0.2s ease;

    background: #436477;
  }

  .gnb_tab_btn:hover {
    background: #4D788D;
  }

  .gnb_tab_btn:active {
    background: #6994A7;
  }

  .gnb_tab_btn.selected {
    background: #F1F2F5;
    border-radius: 8px 8px 0px 0px;
  }

  .gnb_tab_text_box {
    /* Text */
    height: 19px;

    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    /* identical to box height */
    display: flex;
    align-items: center;
    text-align: center;

    color: #F1F2F5;

    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
  }

  .gnb_tab_text_box.selected {
    color: #41454D;
  }




  /* page 영역 */
  .contentArea {
      z-index: 10;
  }
  /* iframe 내 페이지 조절 */
  .pageFrame {
      position: absolute;
      top: 60px;
      width: 100%;
      height: calc(100vh - 60px);
      border: none;
      background-color: #F1F2F6;
      -moz-transform-origin: 0 0;
      -o-transform-origin: 0 0;
      -webkit-transform-origin: 0 0;
  }   
}

@media screen and (max-width: 1004px) {
  /* =================================================
    GNB
  ================================================= */
  .comp_gnb {  
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    gap: 8px;
    isolation: isolate;

    position: relative;
    height: 108px;

    background: #436477;

    /* Inside auto layout */
    flex: none;
    align-self: stretch;
    flex-grow: 0;

    z-index: 10;
  }

  .header_logo {
    width: 178px;
    height: 40px;
    
    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
    z-index: 0;
  }

  .logo {
    position: absolute;
    top: 20px;
    width: 171.15px;
    height: 21.57px;
  }

  /* GNB Menu */
  .gnb-menu-btn {
    width: 100%;
    padding: 12px;
    background: #436477;
    color: #fff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 8px;

    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
  }

  .gnb-menu-btn:hover {
    background: #4D788D;
  }

  .gnb-menu-btn:active {
    background: #6994A7;
  }

  .gnb-menu-btn.selected {
    background: #6994A7;
  }

  .gnb-menu-btn img {
    width: 16px;
    height: 16px;
  }

  .menu-label {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
  }

  /* GNB Tabs */
  .gnb-tabs {
    /* Auto layout */
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 6px;
    gap: 4px;

    position: absolute;  
    top: 100%;
    width: 100%;
    height: auto;
    
    background: #FFFFFF;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.05);

    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
    z-index: 5;
  }  
  /* 열렸을 때 */
  .gnb-tabs.open {
    display: flex;
  }

  /* 버튼을 세로로 */
  .gnb_tab_btn {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 12px;
    gap: 10px;

    width: 100%;
    height: 36px;

    background: #FFFFFF;
    border-radius: 4px;


    cursor: pointer;

    /* Inside auto layout */
    flex: none;
    align-self: stretch;
    flex-grow: 0;
  }

  .gnb_tab_btn:hover {
    background: #F3F7F8;
  }

  .gnb_tab_btn:active {
    background: #DFEAEE;
  }

  .gnb_tab_btn.selected {
    
  }
    
  .gnb_tab_text_box {
    /* Text */
    height: 20px;

    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height, or 125% */
    
    align-items: center;
    text-align: center;
    
    color: #41454D;

    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
  }



  
  /* page 영역 */
  .contentArea {
      z-index: -20;
  }
  /* iframe 내 페이지 조절 */
  .pageFrame {
      position: absolute;
      top: 108px;
      width: 100%;
      height: calc(100vh - 108px);
      border: none;
      background-color: #F1F2F6;
      -moz-transform-origin: 0 0;
      -o-transform-origin: 0 0;
      -webkit-transform-origin: 0 0;


      z-index: 1; 
  }   

  
}




@media screen and (max-width: 744px) {
  .comp_gnb{
    min-width: 744px;  
  }
  .pageFrame {
      min-width: 744px;
  }
}

