@font-face {
    font-family: 'LB_B';
    font-weight: bold;
    font-style: normal;
    src: url("./fonts/LibreBaskerville-Bold.ttf") format('truetype');
}

@font-face {
    font-family: 'LB_R';
    font-weight: normal;
    font-style: normal;
    src: url("./fonts/LibreBaskerville-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'NM_EB';
    font-weight: normal;
    font-style: normal;
    src: url("./fonts/NanumMyeongjo-ExtraBold.ttf") format('truetype');
}

@font-face {
    font-family: 'NM_B';
    font-weight: bold;
    font-style: normal;
    src: url("./fonts/NanumMyeongjo-Bold.ttf") format('truetype');
}

@font-face {
    font-family: 'NM_R';
    font-weight: normal;
    font-style: normal;
    src: url("./fonts/NanumMyeongjo-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'PB';
    font-weight: bold;
    font-style: normal;
    src: url("./fonts/Pretendard-Bold.woff") format('woff');
}

@font-face {
    font-family: 'PR';
    font-weight: normal;
    font-style: normal;
    src: url("./fonts/Pretendard-Regular.woff") format('woff');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: keep-all !important;
}

a {
  text-decoration: none;
  cursor: pointer;
}

ul,li,ol {
  list-style: none;
}

body {
  overflow-x: hidden;
}

#header {
  width: 100%;
  height: auto;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid #A8BBC4;
}

#header .logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #A8BBC4;
}

#header .logo img {
  width: auto;
  height: auto;
  cursor: pointer;
}

#header .pc_menu {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  background: #FFFFFF;
}

#header .pc_menu li {
  font-family: 'LB_R';
  font-size: 18px;
}

#header .pc_menu li a {
  color: #222;
}

#header .logo .hamburger {
  width: 35px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 5;
  display: none;
}

#header .logo .hamburger span {
  width: 100%;
  height: 3px;
  position: absolute;
  background: #FFFFFF;
  left: 0;
  transition: all 0.3s;
}

#header .logo .hamburger span:first-of-type {
  top: 0;
}

#header .logo .hamburger span:last-of-type {
  bottom: 0;
  transform-origin: right;
}

#header .logo .hamburger span:nth-of-type(2),
#header .logo .hamburger span:nth-of-type(3) {
  top: 50%;
  transform: translateY(-50%);
}

#header .logo .hamburger.active span:first-of-type,
#header .logo .hamburger.active span:last-of-type {
  transform: scaleX(0);
}

#header .logo .hamburger.active span:nth-of-type(2) {
  transform: translateY(-50%) rotate(45deg);
  transition-delay: 0.3s;
}

#header .logo .hamburger.active span:nth-of-type(3) {
  transform: translateY(-50%) rotate(-45deg);
  transition-delay: 0.3s;
}

#header .logo .mb_menu_wrap {
  width: 40vw;
  height: 100vh;
  position: fixed;
  right: -40vw;
  top: 0;
  z-index: 2;
  background: #A8BBC4;
  padding: 100px 30px 0;
  transition: all 0.3s;
}

#header .logo .mb_menu_wrap.active {
  right: 0;
}

#header .logo .mb_menu_wrap .mb_menu {
  width: 100%;
  height: auto;
}

#header .logo .mb_menu_wrap .mb_menu li {
  width: 100%;
  text-align: right;
  font-family: 'LB_R';
  font-size: 18px;
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #fff;
}

#header .logo .mb_menu_wrap .mb_menu li a {
  color: #fff;
}

#header .logo .mb_menu_wrap .mb_menu li:last-of-type {
  margin-bottom: 0;
}

#fast_form {
  width: 100%;
  height: 100px;
  background: #A8BBC4;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9;
  display: flex;
}

#fast_form .wrap {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fast_form .wrap:first-of-type {
  background: rgba(255,255,255,0.5);
}

#fast_form .wrap h2 {
  font-family: 'NM_EB';
  font-size: 50px;
  color: #40545D;
}

#fast_form .wrap form {
  width: auto;
  height: auto;
}

#fast_form .wrap form .inner {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

#fast_form .wrap form .inner input {
  width: 200px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.5);
  padding: 0 20px;
  font-family: 'PB';
  font-size: 15px;
  color: #40545D;
}

#fast_form .wrap form .inner input[tpye=submit] {
  background: #fff;
  padding: 0;
}

#fast_form .wrap form .agree_box {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

#fast_form .wrap form .agree_box input {
  width: 10px;
  height: 10px;
  border: none;
  background: #fff;
}

#fast_form .wrap form .agree_box label {
  font-family: 'PB';
  font-size: 12px;
  color: #40545D;
}

#top_button {
  position: fixed;
  right: 30px;
  bottom: 120px;
  width: auto;
  height: auto;
  border: none;
  background: none;
}

#top_button img {
  width: auto;
  height: auto;
}

#footer {
  width: 100%;
  height: auto;
  padding: 50px 0;
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

#footer .wrap {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

#footer .wrap img {
  width: auto;
  height: auto;
}

#footer .wrap .box {
  width: auto;
  height: auto;
}

#footer .wrap .box p {
  font-family: 'PR';
  font-size: 16px;
  color: #888;
  margin-bottom: 5px;
}

#footer .wrap .box p:last-of-type {
  margin-bottom: 20px;
}

#footer .wrap .box h2 {
  font-family: 'PB';
  font-size: 16px;
  color: #888;
}

#fast_form .mb_wrap {
  width: 100%;
  height: 80px;
  display: flex;
  display: none;
}

#fast_form .mb_wrap .box {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

#fast_form .mb_wrap .box:first-of-type {
  background: #F9E000;
}

#fast_form .mb_wrap .box img {
  width: auto;
  height: auto;
}

#fast_form .mb_wrap .box p {
  font-family: 'NM_EB';
  font-size: 30px;
  color: #371C1D;
}

#quick_menu {
  width: auto;
  height: 315px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.3s;
}

#quick_menu.active {
  right: -102px; 
}

#quick_menu .arrow_btn {
  width: 40px;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
}

#quick_menu .arrow_btn img {
  width: auto;
  height: auto;
}

#quick_menu .icon_box {
  width: auto;
  height: 100%;
  background: #fff;
}

#quick_menu .icon_box .box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50%;
  text-align: center;
  padding: 20px;
  background: #A8BBC4;
}

#quick_menu .icon_box .box1 {
  background: #F9E000;
}

#quick_menu .icon_box .box:last-of-type {
  border-bottom: 0;
}

#quick_menu .icon_box .box img {
  width: auto;
  height: auto;
  margin-bottom: 10px;
}

#quick_menu .icon_box .box p {
  font-family: 'PB';
  font-size: 12px;
  color: #ffffff;
}

#quick_menu .icon_box .box1 p {
  font-family: 'PB';
  font-size: 12px;
  color: #371C1D;
}

@media (max-width: 1800px) {
  #fast_form .wrap form .inner {
    width: 100%;
  }

  #fast_form .wrap form {
    width: 95%;
  }

  #fast_form .wrap form .inner {
    width: 100%;
  }

  #fast_form .wrap form .inner input {
    width: calc((100% - 30px) / 4);
  }
}

@media (max-width: 1400px) {
  #fast_form {
    flex-wrap: wrap;
    height: auto;
  }

  #fast_form .wrap {
    width: 100%;
    height: auto;
    padding: 10px 0;
  }

  #fast_form .wrap h2 {
    font-size: 20px;
  }

  #top_button {
    right: 10px;
    bottom: 140px;
  }

  #fast_form .wrap:nth-of-type(2) {
    display: none;
  }

  #fast_form .mb_wrap {
    display: flex;
  }

  #quick_menu {
    display: none;
  }
}

@media (max-width: 1200px) {
  #footer .wrap {
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
  }

  #footer .wrap .box {
    width: 100%;
  }
}

@media (max-width: 900px) {
  #fast_form .mb_wrap .box img {
    height: 30px;
  }

  #fast_form .mb_wrap .box p {
    font-size: 24px;
  }

  #fast_form .mb_wrap {
    height: 60px;
  }
}

@media  (max-width: 700px) {
  #header .pc_menu {
    display: none;
  }

  #header .logo .hamburger {
    display: block;
  }

  #header .logo {
    justify-content: space-between;
    padding: 0 30px;
  }

  #header .logo img {
    width: 120px;
  }

  #header .logo {
    height: 60px;
  }

  #fast_form .wrap h2 {
    font-size: 18px;
  }

  #fast_form .wrap form .inner input {
    height: 30px;
    font-size: 12px;
  }

  #top_button img {
    width: 35px;
  }

  #top_button {
    bottom: 120px;
  }

  #footer .wrap img {
    width: 120px;
  }

  #footer .wrap .box p {
    font-size: 12px;
  }

  #footer .wrap .box h2 {
    font-size: 12px;
  }

  #footer {
    margin-bottom: 90px;
  }
}

@media (max-width: 500px) {
  #header .logo img {
    width: 90px;
  }

  #header .logo .hamburger {
    width: 30px;
  }

  #header .logo {
    padding: 0 15px;
    height: 50px;
  }

  #header .logo .mb_menu_wrap {
    width: 70vw;
  }

  #header .logo .mb_menu_wrap .mb_menu li {
    font-size: 14px;
  }

  #header .logo .mb_menu_wrap {
    right: -70vw;
  }

  #fast_form .wrap h2 {
    font-size: 16px;
  }

  #fast_form .wrap form .inner {
    flex-wrap: wrap;
    gap: 5px;
  }

  #fast_form .wrap form .inner input {
    width: 100%;
    height: 20px;
    font-size: 10px;
  }

  #fast_form .mb_wrap .box {
    gap: 10px;
  }

  #fast_form .mb_wrap .box img {
    height: 20px;
  }

  #fast_form .mb_wrap .box p {
    font-size: 18px;
  }

  #fast_form .mb_wrap {
    height: 50px;
  }

  #top_button {
    bottom: 180px;
  }

  #fast_form .wrap form .agree_box {
    gap: 5px;
  }

  #fast_form .wrap form .agree_box label {
    font-size: 10px;
  }

  #footer {
    margin-bottom: 90px;
  }

  #footer .wrap {
    width: 95%;
  }

  #quick_menu .arrow_btn img {
    width: 16px;
  }

  #quick_menu {
    height: 185px;
  }

  #quick_menu .arrow_btn {
    width: 30px;
  }

  #quick_menu .icon_box .box img {
    height: 20px;
    margin-bottom: 5px;
  }

  #quick_menu .icon_box .box p {
    font-size: 10px;
  }

  #quick_menu .icon_box {
    padding: 5px 10px;
  }

  #quick_menu {
    right: -74px;
  }
}

@media (max-width: 400px) {
  #fast_form .mb_wrap .box p {
    font-size: 15px;
  }

  #fast_form .mb_wrap .box img {
    height: 18px;
  }

  #fast_form .mb_wrap .box {
    gap: 5px;
  }
}