/* 폰트 ------------------------------------------------------------------------------------- */
@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "PretendardLight";
  src: url("fonts/Pretendard-Light.woff2") format("woff2");
}

@font-face {
  font-family: "PretendardMedium";
  src: url("fonts/Pretendard-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "PretendardSemiBold";
  src: url("fonts/Pretendard-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "PretendardBold";
  src: url("fonts/Pretendard-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "PretendardExtraBold";
  src: url("fonts/Pretendard-ExtraBold.woff2") format("woff2");
}

@font-face {
  font-family: "poppinsMedium";
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "poppinsSemiBlod";
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
}

/*--------------------------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body,html {
  overflow-x: hidden;
}

body {
  font-family: "pretendard";
}

a {
  color: inherit;
  text-decoration: none;
}

.inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

button {
  cursor: pointer;
}

.mainColor {
  color: #d99c61;
}

.bold {
  font-family: 'pretendardBold';
}

.fullImg {
  width: 100%;
}

.mo {
  display: none;
}

.pc {
  display: block;
}

/* 헤더 ------------------------------------------------------------------------------- */

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 101;
  font-size: 18px;
}

#header.shadow {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

#header.active {
  height: 440px;
}

#header .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

#header #logo {
  cursor: pointer;
}

.mainMenu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.mainMenu>li {
  position: relative;
  width: 100%;
  height: 80px;
  line-height: 80px;
  cursor: pointer;
}

.mainMenu>li::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #d99c61;
  transition: all .5s ease-in-out;
}

.mainMenu li:hover {
  font-family: 'pretendardBold';
}

.mainMenu>li:hover::after {
  width: 100%;
}

.subMenu {
  width: 100%;
  position: absolute;
  top: 100px;
  left: 0;
  display: none;
}

.subMenu li {
  height: 55px;
  line-height: 55px;
}

.subMenu li a {
  display: block;
}

#header.active .subMenu {
  display: block;
}

.subMenu li {
  font-family: 'pretendard';
}

.subMenu li:hover {
  color: #d99c61;
}

.login_area {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  gap: 15px;
}

.login_area .flex_col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* 사이드바 --------------------------------------------------------------------------- */

#sideBar {
  position: fixed;
  top: 110px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 11;
  font-family: 'pretendardSemibold';
}

#sideBar ul {
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2px;
  box-shadow: 2px 8px 15px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  overflow: hidden;
}

#sideBar ul li {
  position: relative;
  width: 80px;
  height: 96px;
  background-color: #fff;
  cursor: pointer;
}

#sideBar ul li a {
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#sideBar ul li i {
  font-size: 30px;
}

#sideBar ul li.border {
  border-bottom: 2px solid rgba(52, 53, 53, .1);
}

#sideBar ul li#tell {
  width: 96px;
  height: 175px;
  background-color: #48767b;
  color: #fff;
}

#sideBar ul li#tell a {
  height: 175px;
  gap: 10px;
  text-align: center;
  line-height: 1.2;
}

#sideBar ul li#tell .number {
  font-size: 22px;
}

#sideBar #toTop {
  background-color: transparent;
  cursor: pointer;
  position: relative;
  right: -100%;
  transition: right 0.3s ease-in;
}

#sideBar #toTop.show {
  right: 0;
}

/* 오시는길 ----------------------------------------------------------------------------- */

#infoArea {
  display: flex;
}

#infoArea #map {
  width: 1060px;
  height: 640px;
  flex-shrink: 0;
}

#infoArea #map .location_title {
  display: block;
  font-size: 14px;
}

#infoArea #info {
  width: 100%;
  background-color: #f6f7f8;
  padding: 60px 0 0 120px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#infoArea #info .itemBox {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#infoArea #info .item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#infoArea #info .item .title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

#infoArea #info .item .title .right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.5;
  font-size: 20px;
  color: #1b1b1b;
}

#infoArea #info .item .title .right h4 {
  color: #b5b5b5;
  font-size: 28px;
  font-family: 'poppinsMedium';
}

#infoArea #info .item#contact p {
  font-family: 'poppinsSemiBlod';
  font-size: 33px;
}

#infoArea #info .item#contact .button_group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

#infoArea #info .item#contact .button_group button {
  border: none;
  background-color: transparent;
  padding: 0;
}

/* 푸터 --------------------------------------------------------------------------- */

#footer {
  width: 100%;
  padding: 80px 0;
  background-color: #332517;
  color: #b5b5b5;
  font-family: 'PretendardLight';
}

#footer .inner {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

#footer .content .name {
  font-size: 20px;
}

#footer .content .address {
  display: flex;
  gap: 30px;
  margin: 10px 0 20px;
}

#footer .content .copyright {
  display: flex;
  gap: 30px;
}

#footer .content .terms {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  font-family: 'pretendardBold';
  color: #fff;
  cursor: pointer;
}

/* 약관 팝업 ----------------------------------------------------------------------------- */

#termPopupArea {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
}

#termPopupArea .back {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#termPopupArea .content_box {
  width: 90%;
  max-width: 700px;
  height: 80vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding: 50px 50px;
}

#termPopupArea .content_box #termsClose {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 30px;
  cursor: pointer;
}

#termPopupArea .content_box .title {
  font-size: 26px;
  font-family: 'PretendardExtraBold';
}

#termPopupArea .content_box .content {
  width: 100%;
  height: 100%;
  border: 2px solid #dcdcdc;
  overflow-y: auto;
  padding: 20px;
}

#termPopupArea .content_box .content .terms-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}

#termPopupArea .content_box .content::-webkit-scrollbar {
  width: 8px;
}

#termPopupArea .content_box .content::-webkit-scrollbar-thumb {
  background-color: #d99c61;
}

#termPopupArea .content_box .content::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* 모바일 */

@media screen and (max-width: 768px) {
  .mo {
    display: block;
  }

  .pc {
    display: none;
  }

  .inner {
    padding: 0 10px;
  }

  #header .inner {
    padding: 0 20px;
    height: 55px;
    justify-content: space-between;
    align-items: center;
  }

  #header .inner #logo img {
    width: 130px;
  }

  #header .hamburger {
    font-size: 24px;
    font-weight: 600;
  }

  .hamburger_menu_area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 99;
    transition: all .5s ease-in-out;
  }

  .hamburger_menu_area.active {
    right: 0;
  }

  .hamburger_back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 88;
    display: none;
  }

  .hamburger_menu_area .hamburger_close {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
  }

  .mo_mainManu {
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    height: 100%;
    background-color: #fff;
    padding-top: 30px;
  }

  .mo_mainManu > li {
    width: 100%;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
  }

  .mo_mainManu > li .title {
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
    font-family: 'pretendardBold';
  }

  .mo_mainManu > li .title i {
    font-size: 26px;
    color: #ccc;
  }

  .mo_mainManu .login_area {
    position: relative;
    right: auto;
    top: auto;
    gap: 0;
    padding: 0;
    height: 40px;
  }

  .mo_mainManu .login_area  a {
    width: 100%;
    height: 100%;
    background-color: #555;
    color: #fff;
    font-size: 12px;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mo_mainManu .login_area  a span {
    line-height: 1;
  }

  .mo_mainManu .login_area  a:first-child {
    border-left: none;
  }

  .mo_mainManu .login_area  a:last-child {
    border-right: none;
  }

  .mo_mainManu li .subMenu {
    position: relative;
    top: auto;
    left: auto;
    background-color: #f4f4f4;
  }

  .mo_mainManu li .subMenu li {
    padding-left: 30px;
    line-height: 35px;
    height: 35px;
    font-size: 14px;
  }

  #sideBar {
    width: 100%;
    position: fixed;
    top: auto;
    bottom: 0;
    flex-direction: row;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  }

  #sideBar ul {
    width: 100%;
    flex-direction: row;
    padding: 0;
  }

  #sideBar ul li {
    width: 100%;
    height: 61px;
    background-color: #f4f4f4;
  }

  #sideBar ul li a {
    height: 61px;
  }

  #sideBar ul li i {
    font-size: 23px;
  }

  #sideBar ul li.border {
    border-bottom: none;
    border-right: 1px solid rgba(52, 53, 53, .1);
  }

  #sideBar ul li#tell {
    width: 100%;
    height: 61px;
  }

  #sideBar ul li#tell a {
    height: 61px;
    gap: 5px;
  }

  #sideBar ul li#tell .number {
    display: none;
  }

  #sideBar #toTop {
    display: none;
  }

  #footer {
    padding: 50px 0 100px;
    font-size: 11px;
  }

  #footer .inner {
    padding: 0 60px 0 20px;
    flex-direction: column;
    gap: 30px;
  }

  #footer .content .name {
    font-size: 13px;
  }

  #footer .content .address {
    flex-wrap: wrap;
    gap: 10px;
  }

  #footer .content .copyright {
    gap: 10px;
  }

  #footer .content .terms {
    gap: 10px;
    margin-top: 30px;
  }

  #infoArea #map {
    width: 100%;
    height: 300px;
  }

  #infoArea {
    margin-top: 50px;
    flex-direction: column;
  }

  #infoArea #info {
    padding: 30px 20px 50px;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  #infoArea #info .icon {
    display: none;
  }

  #infoArea #info .item .title .right h4 {
    font-size: 16px;
  }

  #infoArea #info .item .title .right {
    font-size: 12px;
    letter-spacing: -.5px;
  }

  #infoArea #info .item#contact p {
    font-size: 18px;
  }

  #infoArea #info .item#contact .button_group {
    flex-direction: column;
  }

  #infoArea #info .item#contact .button_group img {
    width: 100%;
  }

  #infoArea #info .item#contact .button_group button {
    max-width: 160px;
  }
  
  .footer_logo {
    width: 130px;
  }

  #termPopupArea .content_box {
    padding: 50px 20px 20px;
  }
}