* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.5s;
  z-index: 9999;
}
#header:hover {
  background: rgba(255, 255, 255, 0.8);
}
#header .inner {
  margin: 0 auto;
  max-width: 1760px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .m-inner {
  display: none;
}
#header .logo a {
  display: block;
  height: 36px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
}
#header:hover .logo a {
  color: #000;
}
#header .logo img {
  height: 100%;
  width: auto;
  vertical-align: text-top;
}
#header .logo span {
  padding-left: 10px;
}
#header .gnb {
  display: flex;
}
#header .gnb > li > a {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  padding: 30px 30px;
  position: relative;
}
#header:hover .gnb > li > a {
  color: #000;
}
#header .gnb > li:hover > a {
  color: var(--point-color1);
}
#header .gnb > li > a::after {
  content: '';
  bottom: 0;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  background: url(../images/circle20.png) no-repeat;
  transform: scale(0);
  transition: all 0.5s;
  position: absolute;
}
#header .gnb > li:hover > a::after {
  transform: scale(1);
}
#header .lang a {
  color: var(--gray-color5);
}
#header .lang a.active {
  color: #fff;
}
#header:hover .lang a.active {
  color: #000;
}
#header .lang .vertical-bar {
  padding: 0 5px;
  color: var(--gray-color5);
}

.main-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.main-section .back-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-section .txt-group {
  max-width: 1760px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 50px;
  position: absolute;
  z-index: 9999;
}
.main-section .txt-group h2 {
  color: #fff;
  font-size: 48px;
  font-weight: 500;
}
.main-section .txt-group p {
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}
.main-section .contact-box span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../images/edit-w.png) no-repeat center center / 90% 90%;
  margin-right: 10px;
  animation: chagneIcon 4s ease-in-out infinite;
}
.main-section .contact-box a {
  display: inline-block;
  border-radius: 5px;
  padding: 10px;
  font-size: 24px;
  color: #fff;
  vertical-align: text-bottom;
}
.main-section .contact-box a:hover {
  color: #000;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.main-section .mouse-cursor {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 35%;
  z-index: 9999;
}
.main-section .mouse-cursor::after {
  position: absolute;
  content: '';
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  animation: wheeldown 1s infinite;
}
@keyframes wheeldown {
  50% {
    transform: translateX(-50%) translateY(60%);
  }
}
.main-section::after {
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
#footer .inner {
  margin: 0 auto;
  max-width: 1760px;
  padding: 0 20px;
}
#footer .terms {
  padding: 10px 0 10px;
  border-bottom: 1px solid var(--gray-color4);
}
#footer .terms ul {
  display: flex;
}
#footer .terms li {
  position: relative;
}
#footer .terms li + li::before {
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 14px;
  width: 1px;
  background: var(--gray-color4);
  position: absolute;
}
#footer .terms li a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-color6);
  padding: 0 10px;
}
#footer .info {
  padding: 10px 0 20px;
}
#footer .info ul {
  display: flex;
}
#footer .info li {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-color6);
  padding: 0 10px;
  position: relative;
}
#footer .info li + li::before {
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 12px;
  width: 1px;
  background: var(--gray-color4);
  position: absolute;
}

/* 테블릿 분기점 */
@media (max-width: 1200px) {
  #header .logo a {
    height: 24px;
    font-size: 20px;
  }
  #header .logo span {
    padding-left: 8px;
  }
  #header .gnb > li > a {
    font-size: 16px;
    padding: 20px 20px;
  }
  #header .gnb > li > a::after {
    width: 16px;
    height: 16px;
    margin-left: -8px;
    background: url(../images/circle16.png) no-repeat;
  }
  #header .lang a {
    font-size: 14px;
  }
  #header .lang .vertical-bar {
    font-size: 14px;
  }
  .main-section .txt-group {
    gap: 40px;
  }
  .main-section .txt-group h2 {
    font-size: calc(100vw * 32 / 768);
  }
  .main-section .txt-group p {
    font-size: calc(100vw * 22 / 768);
  }
  .main-section .contact-box span {
    width: calc(100vw * 26 / 768);
    height: calc(100vw * 26 / 768);
  }
  .main-section .contact-box a {
    font-size: calc(100vw * 16 / 768);
  }
  .main-section .mouse-cursor {
    top: 65%;
  }
  #footer .info ul:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
  }
  #footer .info ul:nth-child(2) li:last-child {
    width: 100%;
  }
  #footer .info ul:nth-child(2) li:last-child::before {
    display: none;
  }
}

/* 모바일 분기점 */
@media (max-width: 767px) {
  #header .inner {
    padding: 10px 10px 0 10px;
  }
  #header .logo a {
    height: 18px;
    font-size: 14px;
  }
  #header .logo span {
    padding-left: 5px;
  }
  #header .gnb-wrap {
    display: none;
  }
  #header .lang a {
    font-size: 12px;
  }
  #header .lang .vertical-bar {
    font-size: 12px;
    padding: 0 1px;
  }
  #header .m-inner {
    display: block;
    margin: 0 auto;
    max-width: 1760px;
    padding: 0 10px;
  }
  #header .m-gnb {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #header .m-gnb > li {
    flex: 1;
    min-width: 0;
  }
  #header .m-gnb > li > a {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    position: relative;
  }
  #header:hover .m-gnb > li > a {
    color: #000;
  }
  #header .m-gnb > li:hover > a {
    color: var(--point-color1);
  }
  #header .m-gnb > li > a::after {
    content: '';
    bottom: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: url(../images/circle12.png) no-repeat;
    transform: scale(0);
    transition: all 0.5s;
    position: absolute;
  }
  #header .m-gnb > li:hover > a::after {
    transform: scale(1);
  }
  .main-section .txt-group {
    gap: 20px;
    padding: 0 10px;
  }
  .main-section .txt-group h2 {
    font-size: 32px;
  }
  .main-section .txt-group p {
    font-size: 22px;
  }
  .main-section .contact-box span {
    width: 26px;
    height: 26px;
  }
  .main-section .contact-box a {
    font-size: 16px;
  }
  .main-section .mouse-cursor {
    top: 60%;
  }
  #footer .inner {
    padding: 0 10px;
  }
  #footer .terms {
    padding: 5px 0 5px;
  }
  #footer .terms li a {
    font-size: 10px;
    padding: 0 5px;
  }
  #footer .info {
    padding: 5px 0 10px;
  }
  #footer .info ul {
    display: initial;
  }
  #footer .info ul:nth-child(2) {
    display: initial;
  }
  #footer .info li {
    font-size: 10px;
    padding: 0 5px;
  }
  #footer .info li + li::before {
    display: none;
  }
}
