* {
  line-height: 1.3;
  letter-spacing: -0.02em;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

hr,
figure {
  padding: 0;
  margin: 0;
}

pre {
  white-space: pre-wrap;
}

textarea {
  resize: none;
}

hr {
  border: none;
  margin: 0;
}

#wrap {
  width: 100%;
  max-width: 100%;
  font-size: 1.6rem;
  position: relative;
  overflow-x: clip;
}

.tab-contents > div {
  position: absolute;
  top: -222222px;
  left: -222222px;
}
.tab-contents > div.on {
  position: relative;
  top: auto;
  left: auto;
}

.dimmed {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.red {
  color: var(--color-red) !important;
}

.scrollable {
  height: 100%;
  overflow-y: scroll;
}
.scrollable::-webkit-scrollbar {
  width: 5px;
}
.scrollable::-webkit-scrollbar-track, .scrollable::-webkit-scrollbar-thumb {
  border-radius: 10px;
}
.scrollable::-webkit-scrollbar-track {
  background: #f8f8f8;
}
.scrollable::-webkit-scrollbar-thumb {
  background: #ddd;
}

.depth2 li .link-icon {
  transition: all 0.4s;
  filter: grayscale(1) brightness(2.4);
}

header {
  width: 100%;
  height: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
  transition: all 0.4s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
header::before, header::after {
  content: "";
  display: block;
}
header::before {
  width: 100%;
  height: 0;
  background: var(--color-white);
  z-index: -1;
  transition: all 0.4s 0.1s linear;
  position: absolute;
  top: 0;
  left: 0;
}
header::after {
  width: 0;
  height: 1px;
  background: var(--color-border);
  transition: all 0.4s ease-in-out;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
header .header-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  row-gap: 0;
  column-gap: 25px;
}
header .header-box > *:not(nav) {
  flex-shrink: 0;
}
header .logo {
  width: 90px;
  height: 30px;
}
header .logo a {
  display: block;
  width: 100%;
  height: 100%;
}
header .logo-cls {
  fill: #F19E00;
}
header nav,
header .depth1,
header .depth1 > li,
header .depth1 > li > a {
  height: 100%;
}
header nav {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
header nav::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  background-color: transparent;
  background-size: calc(16.6666666667% - 0.1666666667px) 100%;
  background-image: linear-gradient(to right, #e5e5e5 1px, transparent 0, transparent calc(100% - 7px));
  transition: all 0.4s ease-in-out;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
header nav li > a {
  transition: all 0.4s ease-in-out;
}
header nav li:hover > a {
  color: var(--color-main);
}
header .depth1,
header .depth1 > li > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
header .depth1 > li {
  position: relative;
}
header .depth1 > li::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-main);
  transition: all 0.4s ease-in-out;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
}
header .depth1 > li > a {
  width: 150px;
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
}
header .depth1 > li:hover::after {
  width: 100%;
}
header .depth2 {
  height: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
header .depth2 > li {
  overflow: hidden;
}
header .depth2 > li > a {
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
  color: #aaa;
  color: #666;
  font-size: 1.7rem;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(100%);
}
header .depth2 > li .link-icon {
  width: 15px;
}
header .depth2 > li:hover .link-icon {
  filter: inherit;
}
header .link {
  display: flex;
  margin-left: auto;
}
header .link .hub:not(:last-of-type){
  margin-right: 20px;
}
header .hub {
  display: inline-block;
  background: var(--color-main);
  border-radius: 40px;
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 500;
  padding: 10px 15px;
  margin-left: auto;
  transition: all 0.4s ease-in-out;
}
header .search-button {
  transition: all 0.4s;
  filter: brightness(0) invert(1);
}
header .menu-button {
  width: 20px;
  height: 20px;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 5px;
  column-gap: 0;
}
header .menu-button * {
  transition: all 0.4s;
}
header .menu-button div {
  width: 100%;
  display: flex;
  column-gap: 2px;
  justify-content: space-between;
}
header .menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}
header .menu-button .dot {
  width: 2px;
  flex-shrink: 0;
}
header .menu-button:hover div {
  column-gap: 0;
}
header .menu-button:hover .line {
  width: 0;
}
header .menu-button:hover .dot {
  width: 100%;
  transition-delay: 0.2s;
}
header.color-on, header.gnb-on {
  border-bottom-color: var(--color-border);
}
header.color-on .logo-cls, header.gnb-on .logo-cls {
  fill: var(--color-main);
}
header.color-on .depth1 > li > a, header.gnb-on .depth1 > li > a {
  color: #111;
}
header.color-on .search-button, header.gnb-on .search-button {
  filter: inherit;
}
header.color-on .menu-button span, header.gnb-on .menu-button span {
  background: #262626;
}
header.gnb-on::before {
  height: 400px;
  transition: all 0.4s linear;
}
header.gnb-on::after {
  width: 100%;
  transition-delay: 0.2s;
}
header.gnb-on nav::before {
  height: 300px;
  transition-delay: 0.2s;
}
header.gnb-on .depth1 > li > a {
  width: 200px;
}
header.gnb-on .depth2 {
  height: 300px;
  padding: 20px 0;
}
header.gnb-on .depth2 > li > a {
  opacity: 1;
  transform: translateY(0);
}
header.gnb-on .depth2 > li:nth-child(1) > a {
  transition: all 0.4s 0.12s, color 0.4s 0s;
}
header.gnb-on .depth2 > li:nth-child(2) > a {
  transition: all 0.4s 0.24s, color 0.4s 0s;
}
header.gnb-on .depth2 > li:nth-child(3) > a {
  transition: all 0.4s 0.36s, color 0.4s 0s;
}
header.gnb-on .depth2 > li:nth-child(4) > a {
  transition: all 0.4s 0.48s, color 0.4s 0s;
}
header.gnb-on .depth2 > li:nth-child(5) > a {
  transition: all 0.4s 0.6s, color 0.4s 0s;
}
header.gnb-on .depth2 > li:nth-child(6) > a {
  transition: all 0.4s 0.72s, color 0.4s 0s;
}
header.fixed {
  position: fixed;
  z-index: 1;
  transform: translateY(-100%);
}
header.menu-on, header.search-on {
  z-index: 3;
}
header.menu-on {
  border-bottom: none;
}
header.menu-on .header-box > *:not(.menu-button) {
  display: none;
}
header.menu-on .menu-button {
  row-gap: 0;
  margin-left: auto;
}
header.menu-on .menu-button div {
  column-gap: 0;
}
header.menu-on .menu-button span {
  background: #262626;
}
header.menu-on .menu-button .line {
  width: 0;
}
header.menu-on .menu-button .dot {
  width: 100%;
  transition-delay: 0.2s;
}
header.menu-on .menu-button .middle {
  display: none;
}
header.menu-on .menu-button .first .dot {
  transform: translate(0, 1px) rotate(-45deg);
}
header.menu-on .menu-button .last .dot {
  transform: translate(0, -1px) rotate(45deg);
}
header.search-on .header-box {
  z-index: 2;
}
header.search-on .logo-cls {
  fill: var(--color-main);
}
header.search-on nav {
  display: none;
}
header.search-on .search-button {
  filter: inherit;
}
header.search-on .menu-button {
  opacity: 0;
  visibility: hidden;
  transition: all 0s;
}

.top-search {
  width: 100%;
  height: 400px;
  background: var(--color-white);
  z-index: 1;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}
.top-search form,
.top-search .inner {
  width: 100%;
  height: 100%;
}
.top-search .inner {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  row-gap: 0;
  column-gap: 5px;
}
.top-search .inner > * {
  height: 90px;
  border-radius: 10px;
  font-size: 2.1rem;
}
.top-search select,
.top-search input[type=text] {
  background: #f8f8f8;
  padding: 0 30px;
}
.top-search select,
.top-search button {
  width: 240px;
  flex-shrink: 0;
}
.top-search select {
  background: #f8f8f8 url("/img/common/angle_select.png") no-repeat calc(100% - 30px) center;
  color: #ccc;
  font-weight: 600;
}
.top-search input[type=text] {
  width: 100%;
}
.top-search input[type=text]::placeholder {
  color: #ccc;
}
.top-search button {
  color: var(--color-white);
  background: var(--color-main);
  font-weight: 700;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  row-gap: 0;
  column-gap: 10px;
}
.top-search button img {
  filter: brightness(0) invert(1);
}

.site-map {
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background: var(--color-white);
  z-index: 2;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.site-map .logo {
  width: 30.55%;
  opacity: 0.05;
  filter: brightness(0);
  position: absolute;
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
}
.site-map .inner,
.site-map .depth1,
.site-map .depth1 > li {
  width: 100%;
  height: 100%;
}
.site-map .inner {
  background-size: calc(16.6666666667% - 0.1666666667px) 100%;
  background-image: linear-gradient(to right, rgba(24, 71, 159, 0.1) 0%, transparent 1px, transparent 100%);
  width: 100%;
  height: 100%;
}
.site-map a {
  opacity: 0;
  transition: all 0.6s ease-in-out;
}
.site-map .depth1 {
  display: flex;
  text-align: center;
}
.site-map .depth1 > li {
  padding-top: 12.5%;
}
.site-map .depth1 > li > a {
  color: #111;
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.site-map .depth2 {
  padding: 25px 0;
}
.site-map .depth2 > li > a {
  width: 100%;
  color: #aaa;
  font-size: 2rem;
  font-weight: 500;
  padding: 15px 0;
  transform: translateY(40px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  row-gap: 0;
  column-gap: 10px;
}
.site-map.on a {
  opacity: 1;
}
.site-map.on .depth1 > li > a {
  letter-spacing: -0.02em;
  transition-property: color, letter-spacing, opacity;
  transition-delay: 0s, 0.15s, 0.15s;
}
.site-map.on .depth2 > li > a {
  transform: translateY(0);
}
.site-map.on .depth2 > li:nth-child(1) > a {
  transition: all 0.6s 0.27s, color 0.4s 0s;
}
.site-map.on .depth2 > li:nth-child(2) > a {
  transition: all 0.6s 0.39s, color 0.4s 0s;
}
.site-map.on .depth2 > li:nth-child(3) > a {
  transition: all 0.6s 0.51s, color 0.4s 0s;
}
.site-map.on .depth2 > li:nth-child(4) > a {
  transition: all 0.6s 0.63s, color 0.4s 0s;
}
.site-map.on .depth2 > li:nth-child(5) > a {
  transition: all 0.6s 0.75s, color 0.4s 0s;
}
.site-map.on .depth2 > li:nth-child(6) > a {
  transition: all 0.6s 0.87s, color 0.4s 0s;
}

@media (min-width: 1024px) {
  .site-map .depth1 > li .hover-bg {
    opacity: 0;
  }
  .site-map .depth1 > li:hover .hover-bg {
    width: 120em;
    height: 120em;
  }
  .site-map .depth1 > li:hover a {
    color: var(--color-white);
  }
  .site-map .depth1 > li:hover .depth2 > li > a {
    color: rgba(255, 255, 255, 0.3);
  }
  .site-map .depth1 > li:hover .depth2 > li:hover > a {
    color: var(--color-white);
  }
  .site-map .depth1 > li:hover .depth2 > li:hover .link-icon {
    filter: brightness(0) invert(1);
  }
}
.quick-box {
  position: fixed;
  right: 30px;
  bottom: 40px;
  z-index: 1;
}
.quick-box .flex-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  row-gap: 5px;
  column-gap: 0;
}
.quick-box .flex-column > * {
  height: 60px;
  border-radius: 100px;
}
.quick-box .flex-column div,
.quick-box .flex-column div::before {
  border-radius: 100px;
}
.quick-box .flex-column div {
  background: var(--color-white);
  position: relative;
}
.quick-box .flex-column div::before {
  content: "";
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  z-index: -1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.quick-box .flex-column div.text::after {
  content: "공증";
  width: 100%;
  height: 100%;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main);
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s 0.2s;
  pointer-events: none;
}
.quick-box .flex-column div.text:hover::after {
  opacity: 0;
  transition-delay: 0s;
}
.quick-box a,
.quick-box .icon {
  height: 100%;
}
.quick-box a,
.quick-box .icon,
.quick-box button {
  width: 60px;
}
.quick-box a {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.quick-box a.on {
  padding: 0 30px 0 15px;
}
.quick-box a.on p {
  opacity: 1;
}
.quick-box .icon {
  flex-shrink: 0;
}
.quick-box p {
  color: var(--color-main);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.6s;
}
.quick-box .icon,
.quick-box button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.quick-box button {
  background: var(--color-main);
}
.quick-box.absolute {
  position: absolute;
}

footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 50px 0 30px;
  position: relative;
}
footer .top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
footer .logo {
  display: block;
  width: 120px;
  height: 40px;
}
footer .logo .logo-cls {
  fill: var(--color-main);
}
footer .link-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  row-gap: 0;
  column-gap: 60px;
}
footer .link-box li a {
  color: #111;
  font-size: 1.8rem;
  font-weight: 500;
}
footer .address {
  width: 100vw;
  max-width: 1920px;
  margin: 30px 0;
  position: relative;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
footer .address dl {
  width: 100%;
  padding: 40px 60px;
}
footer .address dl dt {
  color: #111;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 17.5px;
}
footer .address dl dd {
  margin: 2.5px 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
footer .address span {
  display: inline-block;
  width: 80px;
  flex-shrink: 0;
  color: #ccc;
  font-weight: 600;
  font-family: var(--font-redhatdisplay);
}
footer .address p {
  color: rgba(51, 51, 51, 0.5);
}
footer .copy {
  color: #111;
  font-family: var(--font-redhatdisplay);
}

.popup {
  width: 100%;
  max-width: 860px;
	height: 860px;
  max-height: calc(100vh - 80px);
  z-index: 3;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.popup .column {
	width: 100%;
	height: 100%;
  background: var(--color-white);
  border-radius: 10px;
  padding: 60px 40px;
}
.popup .top,
.popup hr {
  flex-shrink: 0;
}
.popup .top {
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.popup .top h4 {
  color: #111;
  font-size: 3.2rem;
  font-weight: 500;
}
.popup .top .close-button {
  display: block;
  width: 20px;
  height: 20px;
}
.popup hr {
  width: 100%;
  height: 1px;
  background: var(--color-black);
  margin: 30px 0;
}
.popup .scrollable {
  height: 100%;
}
.popup .inner {
  padding-right: 20px;
}

@media (max-width: 1910px) {
  footer .address {
    max-width: 1800px;
    column-gap: 40px;
    padding: 40px 0;
  }
  footer .address dl {
    padding: 0;
  }
}