
/* header_pop */

  /* header */
  header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    transition: padding 0.2s ease-in-out, height 0.2s ease-in-out, background 0.2s ease-in-out;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
  
  }


  header .btn-login::after {
    bottom: 0;
    border-top: 8px solid transparent;
  }
  
  header .btn-my {
    position: relative;
    display: block;
    height: 30px;
    padding: 0 40px 0 50px;
    border-radius: 15px;
    background: #e6e6e6;
    font-size: 15px;
    line-height: 30px;
    white-space: nowrap;
  }
  
  header .btn-my .photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 30px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  header .btn-my .photo::before,
  header .btn-my .photo::after {
    content: ' ';
    position: absolute;
    left: 0;
    border-left: 13px solid #fff;
    border-right: 13px solid #e6e6e6;
  }
  
  header .btn-my .photo::before {
    top: 0;
    border-bottom: 8px solid transparent;
  }
  
  header .btn-my .photo::after {
    bottom: 0;
    border-top: 8px solid transparent;
  }
  
  header .btn-my em {
    margin-right: 4px;
    font-weight: 500;
  }
  
  @media screen and (min-width: 1025px) {
    /* header.scroll .head-cont {
      height: 70px;
    } */
  
    header .header-dim {
      display: none !important;
    }
  
    header .head-top {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    header.open {
      background: #fff;
    }
  
    header.open::before {
      content: ' ';
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      height: 40vh;
      background: #fff;
      border-bottom: 1px solid #ddd;
      z-index: -1;
    }
  
    header.open::after {
      content: ' ';
      position: absolute;
      top: 100%;
      left: 50%;
      width: 100%;
      max-width: 1360px;
      height: 130px;
      margin-top: 70px;
      transform: translateX(-50%);
      /* background: url("/_image/bg/bg-head.png") 0 no-repeat; */
      z-index: -1;
      background-size: 170px;
    }
  
    header.open .head-cont #gnb>ul>li ul.depth2 {
      display: block !important;
    }
  
    header .head-top {
      position: relative;
      z-index: 510;
    }
  

  
    header .head-cont .btns {
      display: none;
    }
  }
  
  @media screen and (min-width: 1025px) and (max-width: 1024px) {
    header .head-cont {
      max-width: 100%;
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  
  header .head-cont #gnb>ul>li[aria-current="page"] {
    text-decoration: underline wavy #00b760 0.1rem;
    text-underline-offset: 0.5rem;
  }
  
  
  @media screen and (min-width: 1025px) {
  
    header .head-cont {
      position: relative;
      width: 100%;
      transition: all 0.2s ease-in-out;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    header .head-cont .area {
      width: 100%;
      max-width: 1480px;
      margin: 0 auto;
      padding-left: 40px;
      padding-right: 40px;
      text-align: center;
    }
  
    header .head-cont h1 {
      margin:10px auto;
    }
  
    header .head-cont h1 a {
      display: block;
    }
  
    header .head-cont #gnb {
      display: flex !important;
      align-items: center;
      margin: 0 auto;
      flex: 1;
    }
  
    header .head-cont #gnb .links {
      display: none !important;
    }
  
    header .head-cont #gnb>ul {
      display: flex;
      width: 100%;
      margin: 0 auto;
      padding: 0 20px;
    }
  
    header .head-cont #gnb>ul>li {
      position: relative;
      width: 25%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding:20px 0; 
    }
  
    header .head-cont #gnb>ul>li.list-point {
      position: relative;
    }
  
    header .head-cont #gnb>ul>li.list-point>a {
      position: relative;
    }

    @keyframes emergency {
  
      0%,
      100% {
        opacity: 1;
      }
  
      50% {
        opacity: 0.5;
      }
    }
  
    header .head-cont #gnb .btn-logins {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
      font-size: 15px;
      white-space: nowrap;
      font-weight: 500;
      color: #222;
    }
  
    header .head-cont #gnb .btn-logins a {
      text-align: center;
      margin: 0 auto;
      display: block;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 5px;
      font-weight: bold;
    }
  
    header .head-cont #gnb .btn-logins a>i {
      display: block;
      width: 25px;
      height: 25px;
      background-repeat: no-repeat;
      background-size: contain;
    }
    header .head-cont #gnb .btn-logins .btn-join i {
      background-image: url(../_image/icon/icon-join.png);
    }
  
    header .head-cont #gnb .btn-logins .btn-login i {
      background-image: url(../_image/icon/icon-login.png);
    }
  
    header .head-cont #gnb .btn-logins .btn-cart i {
      width: 30px;
      background-image: url(../_image/icon/icon-cart.png);
    }
  
    header .head-cont #gnb .btn-logins .btn-out i {
      background-image: url(../_image/icon/icon-logout.png);
    }
    header .head-cont #gnb .btn-logins .btn-coaching{
      color:#00b65f;
    }
    header .head-cont #gnb .btn-logins .btn-coaching i {
      background-image: url(../_image/icon/icon-coaching.png);
    }
  
    header .head-cont #gnb>ul>li a.dep1 {
      display: block;
      font-size: 18px;
      font-weight: 600;
      color: #000;
      white-space: nowrap;
    }
  
    header .head-cont #gnb>ul>li a.dep1.active {
      color: #00b760;
    }
  
    header .head-cont #gnb>ul>li a.dep1:hover {
      color: #00b760;
    }
  
    header .head-cont #gnb>ul>li.active a {
      color: #00b760;
    }
  
  
    header .head-cont #gnb>ul>li .btn-depth-more {
      display: none;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 {
      font-family: 'Pretendard';
      display: none !important;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      min-height: 154px;
      /* margin-top: 30px; */
      padding: 15px 0;
      border-left: 1px solid #eee;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li {
      margin-top: 20px;
      text-align: center;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li:first-child {
      margin-top: 0;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li a {
      display: inline-block;
      vertical-align: top;
      white-space: nowrap;
      color: #a3a3a3;
      font-size: 15px;
      font-weight: normal;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li a {}
  
    header .head-cont #gnb>ul>li ul.depth2 li a:hover {
      color: #00b760;
    }
  
    header .head-cont #gnb>ul>li:first-child ul.depth2 {
      border-left: none;
    }
  
    header .head-cont .btn-menu-all {
      display: none;
    }
  
    header .header-dim {
      display: none !important;
    }
  
    header .head-top ul.links li {
      margin-left: 20px;
    }
  
    header .head-top ul.links li a {
      display: block;
      color: #888;
      font-size: 16px;
      line-height: 24px;
    }
  
    header .head-top ul.links li a.cash {
      padding-right: 50px;
      /* background: url("/_image/icon/icon-c.png") right no-repeat; */
      color: #333;
    }
  
    header .head-bottom {
      display: none;
    }
  }
  
  
  
  @media screen and (max-width: 1024px) {
    header {
      background: #fff;
    }
  
    header .head-top {
      display: none;
    }
  
    header .head-top h1 {
      padding: 14px 0;
      font-size: 1em;
      line-height: 1;
      text-align: center;
    }
  
    header .head-top h1 a {
      display: inline-block;
      width: 73px;
      height: 24px;
      background: url("/_image/logo-m.png") center no-repeat;
      background-size: 100%;
      vertical-align: top;
    }
  
  
    header .header-dim {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.75);
      opacity: 0;
      z-index: 600;
      transition: all 0.3s ease-in-out;
    }
  
    header .header-dim.m-open {
      opacity: 1;
    }
  
    header .head-cont .area {
      padding:10px;
      display: flex;
      align-items: center;
    }
  
    header .head-cont h1 {
      padding: 0 20px;
      line-height: 1;
    }
  
    header .head-cont h1 a {
      display: block;
      line-height: 1;
    }
  
    header .head-cont h1 a img {
      height: 35px;
      min-width: 52px;
    }
  
    header .head-cont #gnb {
      
      position: fixed;
      top: 0;
      right: -100%;
      bottom: 0;
      display: flex;
      flex-direction: column;
      width: 100%;
      /* min-width: 320px; */
      max-width: 90vw;
      height: 100%;
      background: #fff;
      z-index: 700;
      transition: all 0.3s ease-in-out;
    }
  
    header .head-cont #gnb.m-open {
      right: 0;
    }
  
    header .head-cont #gnb>ul {
    margin-top: 50px;
      height: 100%;
      overflow-y: auto;
    }
  
    header .head-cont #gnb>ul>li {
      position: relative;
      border-bottom: 1px solid #ddd;
    }
  
    header .head-cont #gnb>ul>li>a.dep1 {
  
      display: block;
      height: 46px;
      padding: 0 16px;
      font-size: 16px;
      line-height: 46px;
      font-weight: 500;
      color: #555;
    }
  
    header .head-cont #gnb>ul>li .btn-depth-more {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 50px;
    }
  

    header .head-cont #gnb>ul>li .btn-depth-more::after {
      content: ' ';
      position: absolute;
      top: 50%;
      right: 19px;
      width: 10px;
      height: 10px;
      margin-top: -7px;
      border: 2px solid #333;
      border-top: none;
      border-right: none;
      transform: rotate(-45deg);
      transition: all 0.2s ease-in-out;
    }
  
    header .head-cont #gnb>ul>li .btn-depth-more.open::after {
      margin-top: -2px;
      transform: rotate(135deg);
    }
  
    header .head-cont #gnb > ul > li ul.depth2 {
        max-height: 0;
        opacity: 0;
        transform: translateY(-5px);
        overflow: hidden;
        padding: 0 36px;
        background: #f6f6f6;
        transition: all 0.3s ease;
      }
      
      header .head-cont #gnb > ul > li.on ul.depth2 {
        max-height: 1000px;
        opacity: 1;
        transform: translateY(0);
        padding: 20px 36px;
      }

    header .head-cont #gnb>ul>li ul.depth2 li {
      margin-top: 10px;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li:first-child {
      margin-top: 0;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li a {
      display: inline-block;
      vertical-align: top;
      font-size: 14px;
      line-height: 30px;
      color: #666;
      font-weight: bold;
    }
  
    header .head-cont #gnb>ul>li ul.depth2 li a:hover,
    header .head-cont #gnb>ul>li ul.depth2 li a:active {
      color: #00b760;
    }
  
    header .head-cont #gnb .btn-login,
    header .head-cont #gnb .btn-my {
      margin: 10px auto 10px 16px;
    }
  
    header .head-cont .btn-menu-all {
      position: absolute;
      width: 50px;
      height: 50px;
      margin-left: auto;
      z-index: 750;
      top: 0;
      right: 0;
    }
  
    header .head-cont .btn-menu-all.open {
      position: fixed;
      top: 0;
      right: 0;
    }
  
    header .head-cont .btn-menu-all .bar,
    header .head-cont .btn-menu-all::before,
    header .head-cont .btn-menu-all::after {
      content: ' ';
      position: absolute;
      top: 50%;
      right: 20px;
      width: 24px;
      height: 2px;
      margin-top: -1px;
      background: #333;
      opacity: 1;
      transition: all 0.2s ease-in-out;
    }
  
    header .head-cont .btn-menu-all::before {
      margin-top: -8px;
    }
  
    header .head-cont .btn-menu-all::after {
      margin-top: 6px;
    }
  
    header .head-cont .btn-menu-all.open .bar {
      opacity: 0;
    }
  
    header .head-cont .btn-menu-all.open::before {
      margin-top: -1px;
      transform: rotate(45deg);
    }
  
    header .head-cont .btn-menu-all.open::after {
      margin-top: -1px;
      transform: rotate(-45deg);
    }

  
    header .head-cont ul.btns>li>a {
      position: relative;
      vertical-align: middle;
      color: inherit;
      width: 50px;
      height: 50px;
      text-transform: uppercase;
      font-size: 12px;
      text-align: center;
      margin: 0 auto;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      flex-direction: column;
      gap: 3px;
      font-weight: bold;
      margin-top:3px;
    }
  
  
    header .head-cont ul.btns>li>a>i{
      display: block;
      width: 25px;
      height: 25px;
      background-repeat: no-repeat;
      background-size: contain;
    }
  
    header .head-cont ul.btns>li>a.btn-join i{
      background-image: url(../_image/icon/icon-join.png);
    }
  
    header .head-cont ul.btns>li>a.btn-login i{
      background-image: url(../_image/icon/icon-login.png);
    }
  
  
    header .head-cont ul.btns>li>a.btn-out i{
      background-image: url(../_image/icon/icon-logout.png);
    }
  
  
    header .head-cont ul.btns>li>a.my-page i{
      background-image: url(../_image/icon/icon-coaching.png);
    }
  
  
    header .head-bottom {
      display: block;
      text-align: center;
      overflow: hidden;
    }
  
    header .head-bottom ul {
      position: relative;
      padding:10px 16px;
      white-space: nowrap;
      overflow-x: auto;
      display: flex;
      gap: 20px;
      border-bottom: solid 1px #e6e6e6;
      align-items: center;
    }

    header .head-bottom ul::-webkit-scrollbar{
      display: none;
    }
  
    header .head-bottom ul li {
      display: inline-block;
      vertical-align: top;
      background: none;
    }
  
    header .head-bottom ul li:first-child {
      padding-left: 0;
    }
  
    header .head-bottom ul li a {
      padding:0 10px;
      border-left: none;
      color: #000;
      text-align: center;
      font-size: 16px;
      color: rgb(0, 0, 0);
      font-weight: bold;
    }
  
    header .head-bottom ul li a.active{
      color:#00b760;
    }


  

    header .head-cont h1 {
      padding: 0 12px;
      display: block;
      margin-right: auto;
    }
  
    header .head-cont .btn-menu-all .bar,
    header .head-cont .btn-menu-all::before,
    header .head-cont .btn-menu-all::after {
      right: 12px;
    }
  
    header .head-cont .btns li i.alarm {
      /* position: relative; */
      display: inline-block;
      vertical-align: middle;
      color: inherit;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 50px;
      height: 50px;
    }
  
    header .head-cont .btns li i.alarm button {
      position: relative;
    }
  
    header .head-cont .btns li i.alarm span {
      position: absolute;
      top: -5px;
      left: -12px;
      z-index: 1;
      border-radius: 10px;
      background: #00b760;
      width: 20px;
      height: 20px;
      line-height: 20px;
      font-weight: 500;
      color: #fff;
      text-align: center;
      padding: 1px;
      font-size: 11px;
    }
  
    header .head-cont #gnb .btn-logins {
      display: none;
    }
  
  
  }
  
  
