/* sub visual */
#sub_visual {
  position: relative;
  width: 100%;
  height: 500px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 0.3s ease-in-out;
}

.sub_visual01 {
  background-image: url(../images/sub/sub_visual01.jpg);
}

.sub_visual02 {
  background-image: url(../images/sub/sub_visual02.jpg);
}

.sub_visual03 {
  background-image: url(../images/sub/sub_visual03.jpg);
}

.sub_visual04 {
  background-image: url(../images/sub/sub_visual04.jpg);
}

.sub_visual05 {
  background-image: url(../images/sub/sub_visual05.jpg);
}

#sub_visual .title {
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
  font-family: 'paybooc-ExtraBold';
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  animation-name: sub_visu_ani;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@-webkit-keyframes sub_visu_ani {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes sub_visu_ani {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-o-keyframes sub_visu_ani {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes sub_visu_ani {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* sub contents */
#sub_contents {
  padding: 60px 0 100px;
  padding-bottom: 0;
}

h3.sub_title {
  margin: 0 0 30px;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}

h2.sub_formtit {
  font-size: 40px;
  margin: 0 auto;
  text-align: center;
  font-family: 'paybooc-ExtraBold';
  width: 100%;
  margin-bottom: 60px;
  column-rule-color: #333;
}

.inner {
  position: relative;
}
/*intro4개서브탭*/
.subtab {
  position: absolute;
  width: 100%;
  top: -185px;
  height: 125px;
  background: #fff;
  cursor: pointer;
}

.subtab ul {
  padding: 0 125px;
}

.subtab ul li {
  float: left;
  width: calc(100%/4);
  margin: 0 auto;
  text-align: center;
  color: #999;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  line-height: 40px;
  padding: 20px 0;
  cursor: pointer;
}

/*3개 서브탭*/

.bussubtab {
  position: absolute;
  width: 1410px;
  top: -185px;
  height: 125px;
  background: #fff;
  cursor: pointer;
  left: 50%;
  margin-left: -705px;
}

.bussubtab ul {
  padding: 0 125px;
}

.bussubtab ul li {
  float: left;
  width: calc(100%/3);
  margin: 0 auto;
  text-align: center;
  color: #999;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  line-height: 40px;
  padding: 20px 0;
  cursor: pointer;
}

/*intro*/
#intro{
  padding-top: 90px;
  text-align: center;
}
#intro .visual{
  position: relative;
}
#intro img{
  vertical-align: bottom;
}
#intro .title_area{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color:#fff;
  margin-left: -89px;
  margin-top: -36px;
}
#intro .title_area h2{
  font-size: 50px;
  font-weight: bold;
}
#intro .content{
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}
#intro .content .content_wrap{
  background: url(../images/sub/intro02.jpg)no-repeat;
  background-size: 100% 100%;
  height: 375px;
  position: relative;
  margin-bottom: 54px;
  padding: 0 10px;
}
#intro .content .txt_01{
  font-size: 30px;
  font-weight: 300;
  padding: 73px 0;
  background: url(../images/sub/intro_ari.png)no-repeat center 124px;
}
#intro .content .txt_01 strong{
  font-weight: bold;
}
#intro .content img{
  width: 100%;
}
#intro .content ul{
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -65px;
  margin-left: -270px;
}
#intro .content ul li{
  float: left;
  margin-right: 73px;
  position: relative;
  width: calc(33.3% - 49px);
}
#intro .content ul li:last-child{
  margin-right: 0;
}
#intro .content ul li:after{
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -40px;
    margin-top: -4px;
}
#intro .content ul li:first-child:after{
  display: none;
}
#intro .content .about_txt{
  font-size: 22px;
  line-height: 35px;
  margin-bottom: 410px;
  padding: 0 10px;
}

#intro .content .about_txt .txt_03{
  margin: 48px 0;
}
#intro .content .about_txt .txt_05{
  font-size: 20px;
  color: #666;
  text-align: right;
}
#intro .content .about_terms{text-align: left;border:1px solid #ddd;padding: 50px;margin-bottom: 50px;height: 800px;overflow: scroll;}
#intro .content .about_terms p{line-height: 50px;}
#intro .content .txt_subtitle{text-align: left;border-bottom: 3px solid #333;padding-bottom: 14px;font-size: 24px;margin: 50px 0;}
#intro .about_txt .sub_title{
  line-height: 70px;
}
/* checkbox */
.check_box input[type="checkbox"] {
  display: none;
}

.check_box label {
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.check_box input[type="checkbox"]+label span {
  position: relative;
  float: left;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.check_box input[type="checkbox"]+label span:before {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 12px;
  height: 12px;
  background-color: #fdc940;
  content: '';
}

.check_box input[type="checkbox"]+label p {
  float: left;
  margin: 0 0 0 10px;
  line-height: 22px;
  font-size: 1rem;
  color: #333;
}

.check_box input[type="checkbox"]:checked+label span:before {
  display: block;
}
/* 제품소개 */



/* vertical-align: top 아니면 display: block; */
.contents_list .history_list {
  float: right;
  width: 100%;
  max-width: 690px;
  padding: 10px 0 0;
  border-top: 4px solid #fdc940;
}

.contents_list .history_list .year_day li {
  margin: 40px 0 0;
}

.contents_list .history_list .year_day .date {
  display: inline-block;
}

.contents_list .history_list .year_day .date .year {
  display: inline-block;
  width: 120px;
  font-family: 'NEXON Lv2 Gothic Bold';
  font-size: 1.25rem;
  color: #333;
}

.contents_list .history_list .year_day .date span {
  display: inline-block;
  width: 105px;
  font-size: 1.125rem;
  color: #333;
}

.contents_list .history_list .year_day .date span em {
  color: #fdc940;
}

.contents_list .history_list .year_day .txt {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #666;
}

@media screen and (min-width:1024px) and (max-width: 1440px) {
  .subtab {
    width: 90%;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .subtab ul {
    padding: 0 125px;
  }

  .subtab ul li {
    float: left;
    width: calc(100%/4);
    margin: 0 auto;
    text-align: center;
    color: #999;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    line-height: 40px;
    padding: 20px 0;
  }

  /*intro*/
  
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {

  /* sub visual */
  .subtab {
    display: none;
  }

  /*intro*/
  h2.sub_formtit {
    font-size: 32px;
  }

  #intro{
    padding-top: 80px;
  }
  #intro .content .content_wrap{
    height: 250px;
  }
  
}

@media screen and (min-width:481px) and (max-width:767px) {

  /* sub visual */
  #sub_visual {
    height: 240px;
  }

  .subtab {
    display: none;
  }

  h2.sub_formtit {
    font-size: 28px;
    margin-bottom: 30px;
  }

  #sub_visual .title {
    font-size: 2rem;
  }

  /* sub contents */
  h3.sub_title {
    font-size: 1.75rem;
  }

  /*intro*/
  #intro{
    padding-top: 80px;
  }
  #intro .content .content_wrap{
    height: 250px;
  }
  #intro .content .txt_01{
    font-size: 1.2rem;
    background-size: 100%;
  }
  #intro .content .about_txt{
    font-size: 1rem;
    margin-bottom: 100px;
  }
  #intro .content .about_txt .txt_05{
    font-size: .8rem;
  }
  #intro .content ul{
    left: auto;
    margin-left: auto;
  }
  #intro .content ul li{
    width: calc(33.3% - 52px);
  }
  #intro .title_area{
    margin-left: -56px;
    margin-top: -23px;
  }
  #intro .title_area h2{
    font-size: 2rem;
    
  }
}

/* mobile */
@media screen and (max-width: 480px) {

  /* sub visual */
  #sub_visual {
    height: 180px;
  }

  .subtab {
    display: none;
  }

  h2.sub_formtit {
    font-size: 26px;
    margin-bottom: 20px;
  }

  #sub_visual .title {
    font-size: 1.5rem;
  }

  /* sub contents */
  h3.sub_title {
    margin: 0 0 15px;
    font-size: 1.25rem;
  }

  /*intro*/
  #intro{
    padding-top: 50px;
  }
  #intro .content .about_txt{
    font-size: 1rem;
    margin-bottom: 100px;
  }
  #intro .content .txt_01{
    font-size: 1.2rem;
    background-size: 100%;
  }
  #intro .content ul{
    left: auto;
    margin-left: auto;
    margin-top: -25px;
  }
  #intro .content ul li{
    width: calc(33.3% - 52px);
  }
  #intro .content .about_txt .txt_05{
    font-size: .8rem;
  }
  #intro .content .content_wrap{
    height: 200px;
  }
  #intro .title_area{
    margin-left: -56px;
    margin-top: -23px;
  }
  #intro .title_area h2{
    font-size: 2rem;
    
  }
  /* qna */
  .write_form {
    padding: 0 5px;
  }

  .write_form .row .label {
    width: 100px;
    padding: 5px 10px;
    font-size: 0.875rem;
  }

  .write_form .row .input_box {
    width: calc(100% - 100px);
    padding: 5px 10px;
  }

  .write_form .row .input_box.phone {
    max-width: 400px;
  }

  .write_form .row .input_box.phone input {
    margin: 0 0 0 5px;
    width: calc((100% - 60px)/2);
    padding: 0;
  }

  .write_form .row .input_box.phone input:nth-child(1) {
    width: 50px;
  }

  .write_form .row:nth-child(4) .label {
    height: auto;
  }

  .write_form .row:nth-child(5) .label {
    height: 88px;
  }

  .write_form .row.col-2 .col {
    float: none;
    width: 100%;
  }

  .write_form .row.col-2 .col+.col {
    border-top: 1px solid #ddd;
  }

  .write_form .row .file_box label {
    height: 36px;
    line-height: 36px;
    font-size: 0.875rem;
  }

  .write_form .row .input_box input {
    font-size: 12px;
  }

  .write_form .row .file_box .upload_name {
    float: none;
    width: 100%;
    padding: 0;
  }

  .write_form .emailrow .input_box {
    width: 100%;
    display: flex;
  }

  .emailrow select {
    width: 100%;
    background: #fff url(../images/sub/sub_select.png) no-repeat 96% center;
    background-size: 10px;
    color: #999;
    height: 42px;
    margin-left: 10px;
    border: 1px solid #ddd;
    font-size: 12px;
  }

  .btn_list_qna {
    width: 100px;
    height: 40px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    background-color: #44ac35;
    border-radius: 50px;
    display: inline;
    margin-right: 10px;
  }

  .btn_list_qna_ {
    width: 100px;
    height: 40px;
    font-size: 14px;
    color: #999;
    text-align: center;
    background-color: #fff;
    border-radius: 50px;
    display: inline;
    border: 1px solid #ddd;
  }

  .agree_box strong {
    font-size: 1.125rem;
  }

  .agree_box .txt_box {
    height: 120px;
    padding: 10px;
  }

  .agree_box .txt_box p {
    font-size: 0.875rem;
  }

  .agree_box .check_box {
    margin: 20px 0 0;
  }

  /* 약관 */
  .terms .txt_box strong {
    font-size: 0.875rem;
  }

  .terms .txt_box p {
    font-size: 0.875rem;
  }

  .terms .txt_box table th {
    font-size: 0.875rem;
  }

  .terms .txt_box table td {
    font-size: 0.875rem;
  }

  /* 연혁 */
  /* .contents_list .history_list {width:20%;}
	.contents_list .history_list .year_day p { min-width:320px; margin-top:20px;}
	.contents_list .history_list .year_day p strong {margin-right:10px; }
	.contents_list .history_list .year_day p em {color:#fdc940; margin-right:10px;}
	.contents_list .history_list .year_day p:nth-of-type(2n) { width:100%; margin-top:0; } */
  .contents_list .img_box_list {
    float: none;
    margin: 0;
  }

  .contents_list .history_list {
    float: none;
  }

  .contents_list .history_list .year_day .txt {
    display: block;
  }
}
