/*
@function calculateRem($size) {
    $remSize: $size / 16px;
    @return $remSize * 1rem;
}

@mixin font-size($size) {
    font-size: $size;
    font-size: calculateRem($size);
}
*/
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 99;
}
header .wrapper {
  height: clamp(80px, 4.69vw, 90px);
}
header svg {
  fill: #fff;
}
header .logo {
    width:150px;
  font-size: 24px;
  position: relative;
}
header .logo::after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
}
header .logo object {
    max-height:30px;
    width:100%;
}
header .logo b {
  font-weight: 700;
}
header .logo::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
}
header .logo object {
  width: 100%;
  max-height: 30px;
}
header .account_box a {
  font-size: 14px;
}
header .account_box a:first-child {
  margin-right: 33px;
  position: relative;
}
header .account_box a:first-child::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 13px;
  background: #fff;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
}
header .my_btn {
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 14px;
}
header .logout_btn {
    color:#fff;
    font-weight: 700;
    font-size:14px;
    margin-left:clamp(10px, 2.08vw, 40px);
}
header .login_btn {
  width: 36px;
  height: 36px;
}
header .menu_btn {
  display: none;
}

#gnb {
  font-size: 18px;
  position: absolute;
    left: 50%;
    transform: translateX(-50%);
  /*margin-left:clamp(70px, 7.81vw, 150px);*/
}
#gnb .list_link {
  /*width: 125px;*/

}
#gnb .list_item:not(:last-child) {
  margin-right:clamp(35px, 2.08vw, 40px);
}
#gnb .list_link.on {
  font-weight: 700;
}

#lnb {
  display: none;
}

/* --------------------- RWD --------------------- */
@media (max-width: 1024px) {
  header .account_box a {
    font-size: 13px;
  }
  header .account_box a:first-child {
    margin-right: 3.22vw; /*33px*/
  }
  header #gnb {
    font-size: clamp(15px, 1.76vw, 18px);
  }
  header #gnb .list_link {
   /* width: clamp(80px, 12.21vw, 125px);*/
  }
  #gnb {
      /*margin-left:4.8vw;*/
  }
}
@media (max-width: 860px) {
  #gnb {
      margin-left:0.8vw;
  }
}
@media (max-width: 750px) {
    header .logo,
    #lnb .logo_black {
        width:clamp(157px, 33.73vw, 253px);
    }
    header .logo object,
    #lnb .logo_black object{
        width:100%;
        max-height:48px;
    }
  header .wrapper {
    justify-content: center;
    height: clamp(70px, 18.13vw, 136px);
  }
  header .logo {
    font-size: clamp(26px, 5.33vw, 40px);
  }
  header .account_box {
    display: none;
  }
  header .my_btn {
    display: none;
  }
  header .logout_btn {
      display:none;
  }
  header .menu_btn {
    display: block;
    position: absolute;
    right: 5.33vw;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(20px, 4.8vw, 36px);
    height: clamp(18px, 4.13vw, 31px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(../img/menu_ico.png);
  }
  header .menu_btn::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190%;
    height: 190%;
    border-radius: 100%;
    transition: 0.5s;
  }
  header .menu_btn:hover::before {
    background: rgba(182, 3, 3, 0.5607843137);
  }
  #gnb {
    display: none;
  }
  #lnb {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: clamp(240px, 80vw, 600px);
    z-index: 100;
    transition: 0.5s;
  }
  #lnb .bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }
  #lnb .cont {
    height: 100%;
    background: #fff;
    position: relative;
    z-index: 1;
    padding: 0 5.33vw; /*40px*/
    overflow: auto;
  }
  #lnb .cont::-webkit-scrollbar {
    display: none;
  }
  #lnb .cont > a {
    border-radius: 0;
    font-size: clamp(14px, 4.27vw, 32px);
  }
  #lnb .cont > a.my_btn {
    text-align: left;
    padding-left: clamp(20px, 6.67vw, 50px);
    background-repeat: no-repeat;
    background-position: right clamp(20px, 6.67vw, 50px) center;
    background-size: clamp(7px, 1.73vw, 13px) clamp(12px, 3.2vw, 24px);
    background-image: url(../img/white_arrow.png);
  }
  #lnb dl dt {
    padding-top: clamp(50px, 13.33vw, 100px);
    padding-bottom: clamp(15px, 2.67vw, 20px);
    font-size: clamp(20px, 5.33vw, 40px);
  }
  #lnb dl dd {
    padding-bottom: clamp(30px, 8vw, 60px);
    font-size: clamp(14px, 3.47vw, 26px);
    line-height: 1.54; /* 40px */
  }
  #lnb .lnb_list {
    margin: clamp(40px, 10.67vw, 80px) 0;
    border-top: 1px solid #ddd;
    font-size: clamp(15px, 4vw, 30px);
  }
  #lnb .lnb_list .list_link {
    border-bottom: 1px solid #ddd;
    padding: clamp(15px, 4.93vw, 37px) clamp(15px, 4vw, 30px);
  }
  #lnb .logout_btn {
    padding: clamp(15px, 4.93vw, 37px) clamp(15px, 4vw, 30px);
    font-size: clamp(16px, 3.47vw, 26px);
    font-weight: 700;
    display:block;
    color:#C72A1C;
    margin-bottom:50px;
    cursor:pointer;
  }
  #lnb.on {
    left: 0;
    display: block;
  }
  #lnb.on .bg {
    visibility: visible;
    opacity: 1;
  }
}