:root {
  --bg: #f6f7ff;
  --gray-700: #2C3340;
  --gray-500: #616161;
  --white: #ffffff;
}

* {
  padding: 0;
  margin: 0;
  font-family: "NanumSquare", "Nanum Gothic", system-ui, -apple-system;
  box-sizing: border-box;
}

body {
  font-family: "NanumSquare", "Nanum Gothic", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #F3F6FF;
}

img{
  width: 100%;
}

.wrap {
  display: flex;
  background: #F3F6FF;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

.container {
  display: flex;
  position: relative;
  width: 100%;
  height: 100vh;
  max-width: 900px;
  flex-direction: column;
  justify-content: flex-start;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  z-index: 99;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 180px;
}

.btn-login {
  padding: 10px 20px;
  border: none;
  background: #222;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-login:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* main */
.main {
  display: block;
  position: relative;
  top: 10vw;
  text-align: center;
}

.main-visual-wrap {
  position: relative;
  bottom: 0;
  width: 100%;

}

.main-visual-wrap .img-area{
  position: relative;
  left: 50%;
  width: 1190px;
  transform: translateX(-50%);
  height: auto;
}

.wrap footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow:0 0 10px 0 rgba(0,0,0,.14);
  padding-top: 29px;
  padding-bottom: 26px;
  background-color: #fff;
  height: 95px;
}

footer .footer-wrap{
  display: flex;
  position: relative;
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
  line-height: 20px;
  max-width: 900px;
  align-items:center
}

.footer-logo {
    height: 40px;
    display: flex;
    align-items: center;
}

footer .footer-wrap .ft-link{
  display: flex;
  width: 178px;
}

.footer-wrap .txt-link{
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.footer-wrap span{
  color: var(--gray-500);
}

.ft-txt {
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 28px;
    width: 100%;
    color: #61666b;
}

.ft-txt-p {
    word-spacing: 1.43px;
    letter-spacing: 0;
    font-size: 14px;
    line-height: 20px;
}


@media (min-width: 1280px) and (max-width: 1439px) {
  .header{
    margin-bottom: 30px;
  }
  .main{
    display: flex;
    height: calc(100vh - 300px);
    top: auto;
    justify-content: center;
    align-items: center;
  }

  .main-title{
    width: 26vw;
  }
  .main-visual-wrap .img-area{
    width: 1190px;
    height: auto;
  }
  footer .footer-wrap .ft-link{
    max-width: 138px;
  }
}

@media (min-width: 1440px) {
  .container{
    max-width: 1200px;
  }
  .main{
    display: flex;
    top: 0;
    height: calc(100vh - 178px);
    align-items: center;
  }

  .main-visual-wrap .img-area{
    width: 1190px;
  }

  footer .footer-wrap{
    max-width: 1200px;
  }
  footer .footer-wrap .ft-link{
    max-width: 138px;
  }

  .ft-txt-p-2 {
    padding-left: 37px;
  }
}

@media (max-height: 900px) {
  .main {
    height: auto;
  }
}
