@charset "UTF-8";

:root{
  --c-primary:#4880EE;
  --c-text:#232323;
  --c-sub:#717171;
  --c-line:#d1cfcf;
  --c-line-2:#a6a6a8;
  --c-bg:#F0F1F4;
  --c-surface:#fff;
  --c-soft:#f9f9f9;
}

*,
*::before,
*::after{box-sizing:border-box}

body{
  margin:0;
  font-family:"Pretendard","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",Arial,sans-serif;
  font-size:16px;
  line-height:1.5;
  color:var(--c-text);
  background:var(--c-bg);
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

h1,h2,h3,h6,p{margin:0}
ul{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}

.page__main{margin-bottom:40px}
.wrap{
  width:100%;
  margin:0 auto;
}

.hero{
  background:var(--c-primary);
}

.hero h1{
  color:#fff;
  text-align:center;
  font-size:1.6rem;
  font-weight:500;
  padding:76px 0 2rem;
  background:url(../images/logo_login.png) no-repeat center top 36px;
  background-size:100px;
}

.section{margin:0 0 10px;background:var(--c-bg)}

.card{
  max-width:100%;
  margin:0 auto;
  padding:1.5rem 1.6rem 1.5rem;
  background:var(--c-surface);
}

.card--top{
  border-radius:1rem 1rem 0 0;
  padding-top:2rem;
  padding-bottom:.5rem;
}

.card__title{
  color:#191919;
  text-align:left;
  font-size:18px;
  font-weight:600;
  margin-bottom:.5rem;
}

.agree-box{
  padding:1rem 1.4rem;
  border:1.4px solid var(--c-line-2);
  border-radius:.6rem;
  color:var(--c-primary);
}

.check{
  position:relative;
  display:inline-block;
}

.check input{display:none}

.check__label{
  display:inline-block;
  min-height:30px;
  padding-left:30px;
  background:url(../images/i-check.svg) no-repeat left center;
  background-size:23px;
  color:var(--c-primary);
  font-size:1.2rem;
  font-weight:600;
  line-height:2rem;
  letter-spacing:-.05rem;
}

.check input:checked + .check__label{
  background-image:url(../images/i-check-on.svg);
}

.check__label--sub{
  min-height:30px;
  background:none;  /* url(../images/i-check2.svg) no-repeat left 0px center; 
  background-size:1.6rem;  */
  color:#191919;
  font-size:1.1rem;
  font-weight:600;
  line-height:2rem;
  padding-left: 2px;
}

.check input:checked + .check__label--sub{
  background-image: none; /* url(../images/i-check-on2.svg); */
  padding-left: 2px;
}

.check__label--sub em{
  font-style:normal;
  color:var(--c-primary);
}

.card--policy{
  padding-top:0;
}

.accordion__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:3rem;
}

.toggle{
  position:relative;
  flex:0 0 3rem;
  width:3rem;
  height:3rem;
  margin-left:.4rem;
  padding:0;
  border:0;
  outline:0;
  box-shadow:none;
  background:transparent;
  cursor:pointer;
}

.toggle::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:1.4rem;
  height:1.4rem;
  background:url(../images/i-toggle-down.svg) center/1.4rem no-repeat;
  transform:translate(-50%,-50%);
  transition:transform .2s ease;
}

.toggle.is-open::before{
  transform:translate(-50%,-50%) rotate(180deg);
}

.accordion__body{
  width:100%;
  height:0;
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}

.accordion__body.is-open{
  height:auto;
  max-height:none;
  overflow:visible;
}

.policy-box{
  margin:0;
  padding:20px 15px;
  background:var(--c-soft);
  border:1px solid var(--c-line);
  border-radius:.6rem;
  color:#999;
  font-size:.945em;
  line-height:1.2rem;
  letter-spacing:-.05rem;
}

.policy-box h3{
  margin-bottom:15px;
  color:var(--c-primary);
  font-size:1.5em;
  line-height:1.8rem;
  font-weight:600;
}

.policy-box__desc{
  margin-bottom:15px;
  color:#212121;
  font-size:1.1em;
  line-height:1.6rem;
  font-weight:500;
}

.policy-table{
  width:100%;
  margin:0 0 15px;
  border-spacing:0;
}

.policy-table th,
.policy-table td{
  padding:10px;
  border:1px solid var(--c-line);
  text-align:left;
}

.policy-table th{
  background:#fff;
  color:#212121;
  font-size:15px;
  line-height:1.4rem;
}

.policy-table td{
  background:var(--c-soft);
  color:#30353b;
  font-size:16px;
  line-height:1.5rem;
}

.policy-note{
  font-size:17px;
}

.policy-note li{
  margin-bottom:5px;
  padding-left:16px;
  text-indent:-16px;
  color:var(--c-sub);
  font-size:.9em;
  line-height:1.8;
}

.form-card{
  padding-bottom:6rem;
}

.field{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  margin-bottom:10px;
}

.field--dotted{
  padding-bottom:1.5rem;
  border-bottom:1.9px #bcbcbc dotted;
}

.field__label,
.field__control{
  width:100%;
}

.field__label h6{
  color:#30353b;
  text-align:left;
  font-size:1rem;
  font-weight:400;
  letter-spacing:-.08rem;
}

.req{
  padding-left:5px;
  color:var(--c-primary);
  font-size:1.2rem;
  font-weight:700;
}

.field__control{
  padding-top:.5rem;
  text-align:left;
}

.input,
.select{
  width:100%;
  min-height:35px;
  padding:12px 44px 12px 16px;
  border:1.4px solid var(--c-line-2);
  border-radius:.4rem;
  background-color:#fff;
  color:#212121;
  font-size:16px;
  line-height:1.4;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

.select{
  background:#fff url('../images/i-toggle-down.svg') no-repeat right 16px center;
  background-size:18px;
}

.actions{
  padding-top:25px;
  margin-top:25px;
  border-top:1px solid #E0E0E0;
}

.btn{
  display:inline-block;
  width:99%;
  padding:17px .5rem 15px;
  border:1px solid transparent;
  border-radius:.6rem;
  font-size:1.2rem;
  line-height:1.4;
  text-align:center;
  cursor:pointer;
}

.btn--primary{
  color:#fff;
  background:#4078E6;
  border-color:#4078E6;
}

.footer{
  color:#475770;
}

.footer__inner{
  width:100%;
  margin-bottom:120px;
  text-align:center;
}

.footer__logo{
  width:auto;
  height:40px;
  background:url(../images/logo_footer.png) center top no-repeat;
  background-size:100px;
}

.footer__copy{
  padding:36px 0 2.5rem;
  font-size:13px;
}

@media (min-width:459px){
  .card,
  .card--top{padding-left:2.5rem;padding-right:2.5rem}
}

@media (min-width:840px){
  .hero h1{
    font-size:2rem;
    padding:96px 0 1rem;
    background-position:center top 50px;
  }

  .card,
  .card--top,
  .card--policy,
  .form-card{
    max-width:740px;
    margin:0 auto;
    padding-left:4rem;
    padding-right:4rem;
  }

  .card.form-card{
    border-radius: 1rem 1rem 1rem 1rem;
  }

  .card--top{
    padding-top:3rem;
  }

  .card--policy{
    border-radius:0 0 1rem 1rem;
  }

  .field{
    flex-direction:row;
    align-items:center;
    margin-bottom:15px;
  }

  .field__label{width:30%;padding-right:.5rem}
  .field__control{width:70%;padding-top:0}

  .check__label--sub{
    padding-left:2px;
    background-size:30px;
    font-size:1rem;
  }

  .toggle{
    flex-basis:40px;
  }

  .toggle::before{
    width:1.6rem;
    height:1.6rem;
    background-size:1.6rem;
  }

  .check__label{
    background-size:22px;
    font-size:1.1rem;
  }
}


body.is-modal-open{
  overflow:hidden;
}

.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:1000;
}

.modal.is-open{
  display:block;
}

.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(24, 31, 42, 0.45);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

.modal__sheet{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:calc(100% - 32px);
  max-width:540px;
  padding:56px 0px 0;
  background:#fff;
  border-radius:24px;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  text-align:center;
  overflow:hidden;
}

.modal__icon{
  width:52px;
  height:52px;
  margin:0 auto 0px;
  position:relative;
}

.modal__icon--error::before{
  content:"";
  position:absolute;
  inset:0;
  background:url(../images/ico_info_danger.svg) no-repeat center top;
  background-size: 40px;
}

.modal__icon--success::before{
  content:"";
  position:absolute;
  inset:0;
  background:url(../images/ico_check_black.svg) no-repeat center top;
}

.modal__title{
  margin:0 0 10px;
  color:#232323;
  font-size:1.6rem;
  font-weight:700;
  line-height:1.3;
}

.modal__text{
  margin:0;
  padding:0 8px 28px;
  color:#666;
  font-size:1.1rem;
  line-height:1.6;
  word-break:keep-all;
}

.modal__text strong{
  color:var(--c-primary);
}

.modal__btn{
  display:block;
  width:100%;
  border:0;
  background:linear-gradient(90deg, #4E86F0 0%, #4078E6 100%);
  color:#fff;
  font-size:1.45rem;
  font-weight:500;
  line-height:1.2;
  padding:22px 16px;
  cursor:pointer;
}

@media (max-width: 480px){
  .modal__sheet{
    width:calc(100% - 24px);
    top:50%;
    left:50%;
    bottom:auto;
    transform:translate(-50%, -50%);
    padding:44px 0 0;
    border-radius:22px;
    max-width:calc(100vw - 24px);
  }

  .modal__icon{
    width:44px;
    height:44px;
    margin-bottom:16px;
  }

  .modal__title{
    font-size:1.6rem;
  }

  .modal__text{
    font-size:1rem;
    padding-bottom:24px;
  }

  .modal__btn{
    font-size:1.3rem;
    padding:20px 16px;
  }
}