@charset "utf-8";

/*csr 공통*/
#wrap .txt-box h2{
  font-size: 4rem;
  margin-bottom: 20px;
}

#wrap .txt-box p{
  font-size: 1.8rem;
  font-weight: 500;
}

/*태블릿*/
@media screen and (max-width : 1200px) {
  #wrap .txt-box h2{
    margin-bottom: 10px;
    font-size: 3rem;
    text-align: center;
  }

  #wrap .txt-box p{
    font-size: 1.6rem;
  }
}

/*모바일*/
@media screen and (max-width : 768px) {
  #wrap .txt-box h2{
    font-size: 2.6rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  #wrap .txt-box p{
    font-size: 1.3rem;
  }
}

/*****************header******************/
header{
  position: fixed;
  top: 0;
}

/********************************book******************************/
#book{
  width: 100%;
}

#book .bg-top{
  width: 100%;
  height: 350px;
  background: url(../img/sub/csr_bg.jpg) no-repeat center / cover;
  position: relative;
}

#book .bg-top .bg-color{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

#book .inner{
  padding: 150px 5%;
}

#book .con{
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  font-family: "Pretendard";
}

#book .con .left{
  width: calc(100% / 2);
  padding: 0 5%;
}

#book .con .left .month{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

#book .con .left .month p{
  font-size: 3rem;
  font-weight: 600;
  text-transform: uppercase;
}

#book .con .left .month i{
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.5s;
}

#book .con .left .month i:hover{
  color: #d8bb82;
}

#book .con .left table,
#book .con .left table th,
#book .con .left table td{
  border: 1px solid #dfdfdf;
}

#book .con .left table th,
#book .con .left table td{
  width: 70px;
  height: 70px;
}

#book .con .left table th{
  text-transform: uppercase;
  background-color: #f8f8f8;
  padding: 20px 10px;
}

#book .con .left table th:nth-child(3){
  background-color: #ececec;
  color: #cdcdcd;
}

#book .con .left table th:first-child{
  color: #de4a4a;
}

#book .con .left table th:last-child{
  color: #1656e0;
}

#book .con .left table td{
  cursor: pointer;
  transition: background-color 0.5s, color 0.5s;
  text-align: right;
  font-size: 1.4rem;
  padding: 0 10px 40px 0;
}

#book .con .left table td:first-child{
  color: #de4a4a;
}

#book .con .left table td:last-child{
  color: #1656e0;
}

#book .con .left table td:hover{
  background-color: #d8bb82;
  color: #fff;
}

#book .con .left table td.none{
  background-color: #fff;
  color: #cdcdcd;
  cursor: auto;
}

#book .con .left table td:nth-child(3){
  background-color: #ececec;
  color: #cdcdcd;
  cursor: auto;
}

#book .con .left table tr.tr1 td:nth-child(6),
#book .con .left table tr.tr3 td:nth-child(7),
#book .con .left table tr.tr5 td:nth-child(1){
  background-color: #cdcdcd;
  color: #fff;
  cursor: auto;
}

#book .con .left .caption{
  display: flex;
  margin-top: 20px;
}

#book .con .left .caption p{
  margin-right: 15px;
}

#book .con .left .caption p::before{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ececec;
  margin-right: 5px;
}

#book .con .left .caption p.c2::before{
  background-color: #cdcdcd;
}

#book .con .left .caption p.c3::before{
  background-color: #d8bb82;
}

#book .con .right{
  width: calc(100% / 2);
  padding: 0 5%;
  align-content: center;
}

#book .con .right .txt{
  padding: 20px;
  background-color: #ececec;
}

#book .con .right .txt p{
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

#book .con .right .txt span{
  display: block;
  margin-bottom: 15px;
}

#book .con .right .txt span.cau{
  display: block;
  margin-bottom: 5px;
}

#book .con .right .txt span:last-child{
  margin-bottom: 0;
}

#book .con .right .right-bottom{
  width: 100%;
  margin-top: 30px;
  display: flex;
  gap: 20px;
  position: relative;
  justify-content: center;
}

#book .con .right .right-bottom .button{
  position: absolute;
  right: 0;
  top: 0;
}

#book .con .right .right-bottom .button a{
  display: inline-block;
  padding: 5px 15px;
  background-color: #3e3e3e;
  color: #fff;
  border-radius: 50px;
  transition: background-color 0.5s, border 0.5s, color 0.5s;
}

#book .con .right .right-bottom .button:last-child a{
  background-color: #fff;
  color: #3e3e3e;
  border: 1px solid #3e3e3e;
}

#book .con .right .right-bottom .button a:hover{
  background-color: #d8bb82;
  border: 1px solid #ffffff;
  color: #ffffff;
}

#book .con .right .right-bottom .button:last-child{
  display: none;
}

/*태블릿*/
@media screen and (max-width : 1200px) {
  #book .bg-top{
    height: 400px;
  }

  #book .inner{
    padding: 100px 5%;
    text-align: center;
  }

  #book .con{
    margin-top: 50px;
    display: block;
  }

  #book .con .left{
    width: 100%;
    padding: 0 10%;
  }

  #book .con .right{
    width: 100%;
    padding: 0 10%;
    margin-top: 20px;
    position: relative;
  }

  #book .con .left .month{
    padding: 0 100px;
    margin-bottom: 30px;
  }

  #book .con .right .txt{
    display: none;
  }

  #book .con .right .right-bottom .button{
    position: static;
  }

  #book .con .right .right-bottom .button:last-child{
    display: block;
  }
}

/*모바일*/
@media screen and (max-width : 768px) {
  #book .bg-top{
    height: 300px;
  }

  #book .con{
    margin-top: 30px;
  }

  #book .con .left{
    padding: 0;
  }

  #book .con .left .month{
    padding: 0 20px;
    margin-bottom: 15px;
  }

  #book .con .left .month p{
    font-size: 2rem;
  }
  
  #book .con .left .month i{
    font-size: 1.6rem;
  }

  #book .con .left table th{
    font-size: 1.4rem;
    padding: 0;
  }

  #book .con .left table td{
    font-size: 1.2rem;
    padding: 0 5px 20px 0;
  }

  #book .con .left table th,
  #book .con .left table td{
    width: 50px;
    height: 50px;
  }

  #book .con .left .caption{
    display: block;
  }

  #book .con .left .caption p{
    margin-right: 0;
    font-size: 14px;
  }

  #book .con .right{
    margin-top: 0;
  }
}

/********************************ask******************************/
#ask{
  width: 100%;
  padding: 150px 0;
  position: relative;
  border-top: 1px solid #ececec;
}

#ask .txt-box h2{
  margin-bottom: 60px;
}

#ask .list > ul > li{
  border-bottom: 1px solid #cdcdcd;
  padding: 20px 10px;
  width: 100%;
}

#ask .list .question{
  display: flex;
  margin-bottom: 5px;
  position: relative;
  width: 100%;
  height: 50px;
  line-height: 50px;
}

#ask .list .question p{
  position: absolute;
  left: 0;
  top: 0;
  font-size: 3rem;
  color: #d8bb82;
}

#ask .list .question span{
  position: absolute;
  left: 70px;
  top: 0;
  font-size: 2rem;
  font-family: 'Pretendard';
  font-weight: 500;
}

#ask .list .question .down{
  cursor: pointer;
  position: absolute;
  right: 0;
  font-size: 2rem;
  display: inline-block;
}
#ask .list .question .up{
  cursor: pointer;
  position: absolute;
  right: 0;
  font-size: 2rem;
  display: inline-block;
}

#ask .list .answer{
  display: flex;
  align-items: center;
  position: relative;
}

#ask .list .answer li{
  padding-left: 70px;
  font-family: 'Pretendard';
  color: #979797;
}

#ask .list .answer li span{
  display: inline-block;
  color: #1d74bb;
}

#ask .list .answer .up{
  cursor: pointer;
  position: absolute;
  right: 0;
  font-size: 2rem;
}

/*아이콘 높이*/
.fa, .fa-brands, .fa-classic, .fa-regular, 
.fa-sharp-solid, .fa-solid, .fab, .far, .fas{
  line-height: 50px;
}


/*태블릿*/
@media screen and (max-width : 1200px) {
  #ask{
    padding: 100px 0;
  }

  #ask .txt-box h2{
    margin-bottom: 30px;
  }

  #ask .list > ul > li{
    padding: 15px 5px;
  }

  #ask .list .question p{
    font-size: 2.8rem;
  }

  #ask .list .question span{
    font-size: 1.8rem;
  }

  #ask .list .answer li{
    width: 90%;
  }
}

/*모바일*/
@media screen and (max-width : 768px) {
  #ask .txt-box h2{
    margin-bottom: 15px;
  }

  #ask .list .question{
    height: 30px;
    line-height: 30px;
    margin-bottom: 8px;
  }

  #ask .list .question p{
    font-size: 2rem;
  }

  #ask .list .question span{
    font-size: 1.6rem;
    left: 40px;
  }

  #ask .list .answer li{
    width: 90%;
    padding-left: 40px;
    font-size: 1.5rem;
  }

  /*아이콘 높이*/
  .fa, .fa-brands, .fa-classic, .fa-regular, 
  .fa-sharp-solid, .fa-solid, .fab, .far, .fas{
    line-height: 30px;
  }
}