@charset "utf-8";

html, body {
  width: 100%;
  height: 100%;
}

* {
  font-family: 'NanumSquare', sans-serif;
  color: #000;
}

.button, button {
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
  text-align: center;
  width: 120px;
  height: 43px;
  line-height: 43px;
  font-size: 20px;
  color: #939191;
  border-radius: 5px;
  background-color: #d6d6d6;
}
.button:hover {
  text-decoration: none;
}
.button.full {
  margin: 0;
  width: 100%;
}
.button.small {
  font-size: 15px;
  height: 30px;
  line-height: 30px;
  border-radius: 3px;
}
.button.primary {
  color: #fff;
  background-color: #008d62;
}
.button.disabled {
  opacity: 1;
  color: #939191;
  background-color: #d6d6d6;
}

input.text,
input[type=date],
input[type=date]:hover,
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text]{
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  appearance:textfield;
  -moz-appearance:textfield;
  -webkit-appearance:textfield;
  border-radius:0px;
  outline: none;
  border: solid 1px #a2a2a2;
  background-color: #fff;
  width: 100%;
}

h2.title {
  margin: 50px 0 0;
  font-size: 25px;
  font-weight: normal;
  text-align: center;line-height: normal;
}

.essential {
  position: relative;
  margin-left: -3px;
}
.essential::after {
  content: "*";
  position: absolute;
  color: #bd0000;
}

#header {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  padding: 18px 0;
  text-align: center;
  box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.3);
  background-color: #008d62;
}

#header h1 {
  margin: 0;
}
#header .logo {
  width: 121px;
  height: 30px;
  background-image: url("../../../img/survey/icon_logo_m.png");
}
#body {
  padding-top: 80px;
  margin: 0 15px;
  padding-bottom: 50px;
}
#sticky,
.action {
  text-align: center;
}

#sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px 13px 0 13px;
  box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
#sticky .grid {
  margin: 0 -7px;
}
#sticky .module {
  margin: 0 7px;
}
#sticky .pager {
  padding: 12px 0;
  text-align: center;
}
#sticky .pager i {
  display: inline-block;
  margin: 0 1px;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #dbece3;
}
#sticky .pager i.ing {
  background-color: #008d62;
}

.modal {
  padding: 30px;
  width: 320px;
  font-size: 16px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  max-width: 100%;
}
.modal h2 {
  margin: 0 0 24px 0;
  font-size: 20px;
  font-weight: normal;
}
.modal .action {
  margin-top: 25px;
}
.modal .action .grid {
  margin: 0 -10px;
}
.modal .action .grid .module {
  margin: 0 10px;
}


@media only screen and (min-width:390px){
  .button {
    width: 165px;
  }
}
@media only screen and (min-width:1024px){
  html, body {
    background-color: #e1edea;
  }
  body {
    display: flex;
    align-items: center;
  }
  #wapper {
    margin: 0 auto;
    overflow: hidden;
    width: 800px;
    border-radius: 20px;
    box-shadow: 0px 5px 18px 2px rgba(0, 0, 0, 0.3);
    background-color: #fff;
  }
  .code #wapper {
    width: 660px;
  }
  #header {
    position: relative;
    padding: 25px 0;
    box-shadow: none;
  }
  #header .logo {
    width: 249px;
    height: 61px;
    background-image: url("../../../img/survey/icon_logo.png");
  }
  #body {
    margin: 0 55px;
    padding-top: 0;
  }

  h2.title {
    font-size: 42px;
  }

  .button, button, .button.small {
    margin: 0 33px;
    width: 250px;
    height: 66px;
    line-height: 66px;
    border-radius: 10px;
    font-size: 33px;
  }

  .button.full {
    margin: 0;
  }

  #sticky {
    left: 50%;
    right: 0;
    margin-left: -550px;
    padding: 24px 0 0;
    width: 1100px;
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.3);
    background-color: #fff;
  }
  #sticky .holder {
    margin: 0 auto;
    width: 600px;
  }
  #sticky .grid {
    margin: 0 -50px;
  }
  #sticky .module {
    margin: 0 50px;
  }
  #sticky .pager {
    padding: 24px 0;
  }
  #sticky .pager i {
    width: 16px;
    height: 16px;
  }

  .modal {
    width: 800px;
    font-size: 33px;
    border-radius: 20px;;
  }
  .modal h2 {
    margin: 0 0 40px 0;
    font-size: 42px;
  }
  .modal .action {
    margin: 50px auto 0 auto;
    width: 570px;
  }
  .modal .action .grid {
    margin: 0 -35px;
  }
  .modal .action .grid .module {
    margin: 0 35px;
  }
}

/* 인증코드 */
.form-code h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: normal;
  color: #a2a2a2;
}
.form-code .items {
  margin-top: 65px;
}
.form-code .item:not(:first-child) {
  margin-top: 50px;
}
.form-code .grid {
  margin: 0 -8px;
}
.form-code .col .module {
  margin: 0 8px;
}
.form-code .text {
  height: 40px;
}
.form-code .action {
  margin-top: 65px;
}

@media only screen and (min-width:1024px){
  .form-code h3 {
    margin: 0 0 10px 0;
    font-size: 25px;
    font-weight: normal;
    color: #a2a2a2;
  }
  .form-code .items {
    margin-top: 65px;
  }
  .form-code .item:not(:first-child) {
    margin-top: 60px;
  }
  .form-code .grid {
    margin: 0 -2px;
  }
  .form-code .col .module {
    margin: 0 2px;
  }
  .form-code .text {
    height: 52px;
  }
}

/* 인적 정보 입력 */
.form-user .item {
  margin-top: 25px;
}
.form-user .subject {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}
.form-user .subject.disabled {
  color: #949494;
}
.form-user [type="text"] {
  padding: 5px 0;
  font-size: 15px;
  color: #000;
  border: 1px #fff solid;
  border-bottom: 1px #000 solid;
}
.form-user [readonly] {
  color: #949494;
  border-bottom-color: #949494;
}
.form-user [type="radio"] {
  appearance: none;
  position: absolute;
  z-index: -1;
  visibility: hidden;
  text-indent: -1000px
}
.form-user [type="radio"] + label {
  position: relative;
  margin-right: 15px;
  padding-left: 18px;
  font-size: 15px;
}
.form-user [type="radio"] + label::before,
.form-user [type="radio"] + label::after {
  content: "";
  position: absolute;
  border-radius: 100%;
}
.form-user [type="radio"] + label::before {
  top: 2px;
  left: 0;
  border: solid 1px #000;
  background-color: #fff;
  width: 10px;
  height: 10px;
}
.form-user [type="radio"] + label::after {
  top: 5px;
  left: 3px;
  width: 6px;
  height: 6px;
  background-color: #000;
  transform: scale(0);
  transition: transform .3s;
}
.form-user [type="radio"]:checked + label::after {
  transform: scale(1);
}
.form-user .action {
  margin-top: 30px;
}

@media only screen and (min-width:1024px){
  .form-user .items {
    margin-top: 35px;
    padding: 28px 0;
    border-top: 1px #000 solid;
    border-bottom: 1px #000 solid;
  }
  .form-user .item  {
    position: relative;
    padding: 0 10px 0 240px;
  }
  .form-user .item {
    margin-top: 25px;
  }
  .form-user .item:first-child{
    margin-top: 0;
  }
  .form-user .subject {
    position: absolute;
    top: 0;
    left: 10px;
    margin: 0;
    font-size: 29px;
  }
  .form-user [type="text"] {
    font-size: 25px;
    height: 40px;
    padding-left: 7px;
    border: solid 1px #000;
  }
  .form-user [readonly] {
    border-color: #949494;
  }
  .form-user [type="radio"] + label {
    padding-left: 50px;
    margin-right: 50px;
    font-size: 29px;
  }
  .form-user [type="radio"] + label::before {
    top: 0;
    left: 0;
    border-width: 2px;
    width: 23px;
    height: 23px;
  }
  .form-user [type="radio"] + label::after {
    top: 5px;
    left: 5px;
    width: 17px;
    height: 17px;
  }
  .form-user .action {
    margin-top: 35px;
  }
}

/* 입력정보 확인 */
.user-info {
  margin-top: 90px;
  font-size: 18px;
}
.user-info .core li:not(:first-child) {
  margin-top: 10px;
}
.user-info .desc {
  margin-top: 40px;
  padding-top: 40px;
  text-align: center;
  border-top: 1px #000 solid;
}
.user-info .action {
  margin-top: 90px;
}
@media only screen and (min-width:1024px){
  .user-info {
    margin-top: 75px;
    font-size: 32px;
  }
  .user-info .core {
    margin: 0 0 0 70px;
  }
  .user-info .desc {
    margin-top: 65px;
    padding-top: 80px;
  }
  .user-info .action {
    margin-top: 100px;
  }
}

/* 유의사항 */
.notice-guide {
  margin-top: 35px;
}
.notice-guide .detail {
  padding: 25px 20px;
  text-align: center;
  font-size: 13px;
  overflow: hidden;
  overflow-y: auto;
  background-color: #dbece3;
}
.notice-guide .detail > :first-child {
  margin-top: 0;
}
.notice-guide h3 {
  margin: 40px  0 0;
  font-size: 18px;
  line-height: normal;
}
.notice-guide p span {
  display: block;
  margin: 0 auto;
  width: 100px;
  text-align: left;
}
.notice-guide .yes {
  margin-top: 21px;
  text-align: center;
}
.notice-guide [type="checkbox"] {
  appearance: none;
  position: absolute;
  z-index: -1;
  visibility: hidden;
  text-indent: -1000px
}
.notice-guide [type="checkbox"] + label {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  font-size: 15px;
}
.notice-guide [type="checkbox"] + label::before,
.notice-guide [type="checkbox"] + label::after {
  content: "";
  position: absolute;
}
.notice-guide [type="checkbox"] + label::before {
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: solid 1px #000;
  background-color: #fff;
}
.notice-guide [type="checkbox"] + label::after {
  top: 5px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: #000;
  transform: scale(0);
  transition: transform .3s;
}
.notice-guide [type="checkbox"]:checked + label::after {
  transform: scale(1);
}
.notice-guide .action {
  margin-top: 20px;
}
@media only screen and (min-width:1024px){
  .notice-guide {
    margin-top: 50px;
  }
  .notice-guide .detail {
    margin: 0 -20px;
    padding: 25px 20px;
    font-size: 19px;
    height: 474px;
    box-sizing: border-box;
  }
  .notice-guide h3 {
    margin: 55px  0 0;
    font-size: 33px;
    line-height: normal;
  }
  .notice-guide p span {
    width: 140px;
  }
  .notice-guide .yes {
    margin-top: 15px;
  }
  .notice-guide [type="checkbox"] + label {
    padding-left: 30px;
    font-size: 19px;
  }
  .notice-guide [type="checkbox"] + label::before {
    top: 3px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 5px;
  }
  .notice-guide [type="checkbox"] + label::after {
    top: 8px;
    left: 5px;
    border-radius: 3px;
  }
  .notice-guide .action {
    margin-top: 15px;
  }
  .notice-guide .button {
    width: 490px;
  }
}

/* 설문 */
.inspection-list .guide {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  padding: 25px 10px 0 10px;
  background-color: #fff;
}
.inspection-list .guide .module {
  padding: 10px 30px;
  font-size: 16px;
  text-align: center;
  word-break: keep-all;
  background-color: #dbece3;
}
.inspection-list .items {
  margin: 125px 0 100px 0;
}
.inspection-list .item {
  margin: 17px 30px 0 30px;
}
.inspection-list .q {
  margin-bottom: 15px;
  font-size: 20px;
}
.inspection-list [type="radio"] {
  appearance: none;
  position: absolute;
  z-index: -1;
  visibility: hidden;
  text-indent: -1000px
}
.inspection-list [type="radio"] + label {
  display: block;
  margin-top: 8px;
  height: 42px;
  line-height: 42px;
  color: #008d62;
  text-align: center;
  box-sizing: border-box;
  border-radius: 5px;
  font-size: 15px;
  border: solid 1px #008d62;
  background-color: #fff;
}
.inspection-list [type="radio"]:checked + label {
  color: #fff;
  background-color: #008d62;

}
@media only screen and (min-width:1024px){
  body.inspection {
    display: block;
  }
  body.inspection #header {
    position: fixed;
    left: 50%;
    padding: 28px 0 42px 0;
    margin-left: -550px;
    width: 1100px;
    background-color: #fff;
  }
  body.inspection #header .logo {
    width: 307px;
    height: 75px;
    background-image: url("../../../img/survey/icon_logo_test.png");
  }
  body.inspection #wapper {
    border-radius: 0;
    width: auto;
    max-width: 1100px;
  }
  .inspection-list {
    margin: 270px 0 150px 0;
  }
  .inspection-list .guide {
    top: 145px;
    right: auto;
    left: 50%;
    width: 1100px;
    margin-left: -550px;
    padding: 0 40px;
    box-sizing: border-box;
  }
  .inspection-list .guide .module {
    padding: 18px 30px;
    font-size: 25px;
  }
  .inspection-list .items {
    margin: 55px 0 0;
  }
  .inspection-list .item {
    margin: 50px 0 0;
    text-align: center;
  }
  .inspection-list .q {
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 33px;
  }
  .inspection-list [type="radio"] + label {
    display: inline-block;
    margin: 0 5px;
    width: 151px;
    height: 126px;
    line-height: 126px;
    border-radius: 10px;
    color: #000;
    font-size: 21px;
    border-width: 2px;
    word-break: keep-all;
    vertical-align: top;
  }
  .inspection-list [type="radio"]:checked + label {
    background-color: #008d62;

  }
  .inspection-list [type="radio"] + label span {
    display: inline-block;
    vertical-align: middle;
    line-height: 29px;
  }
  .inspection-list [type="radio"]:checked + label span {
    color: #fff;
  }
  /* 메일 */
  .mail-info {
    margin-top: 90px;
    font-size: 15px;
  }
  .mail-info .core li:not(:first-child) {
    margin-top: 10px;
  }
  .mail-info .desc {
    margin-top: 40px;
    padding-top: 40px;
    text-align: center;
    border-top: 1px #000 solid;
  }
  .mail-info .action {
    margin-top: 90px;
  }
}

/*그래프*/
.chart-list .guide {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  padding: 25px 10px 0 10px;
  background-color: #fff;
}
.chart-list .guide .module {
  padding: 10px 30px;
  font-size: 16px;
  text-align: center;
  word-break: keep-all;
  background-color: #dbece3;
}
.chart-list .chart-container {
    margin-top: 100px;
}

@media only screen and (min-width:1024px){
    body.chart {
      display: block;
    }
    body.chart #header {
      position: fixed;
      left: 50%;
      padding: 28px 0 42px 0;
      margin-left: -550px;
      width: 1100px;
      background-color: #fff;
    }
    body.chart #header .logo {
      width: 307px;
      height: 75px;
      background-image: url("../../../img/survey/icon_logo_test.png");
    }
    body.chart #wapper {
      border-radius: 0;
      width: auto;
      max-width: 1100px;
    }
    .chart-list {
      margin: 270px 0 150px 0;
    }
    .chart-list .guide {
      top: 145px;
      right: auto;
      left: 50%;
      width: 1100px;
      margin-left: -550px;
      padding: 0 40px;
      box-sizing: border-box;
    }
    .chart-list .guide .module {
      padding: 18px 30px;
      font-size: 25px;
    }
}
