@charset "utf-8";
/*thumb list*/
.thumb_list .top {
  position: relative;
  padding: 10px 0 15px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 40px;
}
.thumb_list .top .search_box {
  position: absolute;
  top: 0;
  right: 0;
}
.thumb_list .list {
  overflow: hidden;
}
.thumb_list .list li {
  display: inline-block;
  width: 29.5%;
  vertical-align: top;
  margin-right: 5%;
  margin-bottom: 5%;
}
.thumb_list .list li a {
  display: block;
}
.thumb_list .list li a:hover .img_box:after {
  opacity: 1;
}
.thumb_list .list li .img_box {
  position: relative;
}
.thumb_list .list li .img_box:after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) url(../img/ico_more.png) no-repeat 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.2s ease;
}
.thumb_list .list li img {
  width: 100%;
}
.thumb_list .list li:nth-child(3n) {
  margin-right: 0;
}
.thumb_list .list li .txt_box {
  margin-top: 10px;
}
.thumb_list .list li .txt_box span {
  display: block;
}
.thumb_list .pagination {
  border-top: 1px solid #ccc;
}

/*table*/
.table_wrap {
  width: 100%;
  overflow-x: auto;
}
.table_wrap .tb_set {
  width: 100%;
  min-width: 770px;
}
.table_wrap .tb_set thead {
  border: 1px solid #ccc;
}
.table_wrap .tb_set thead tr th {
  background: #fff;
}
.table_wrap .tb_set tr th,
.table_wrap .tb_set tr td {
  padding: 17px 10px;
  text-align: center;
  color: #222;
  font-size: 1.4rem;
  word-break: break-all;
  vertical-align: middle;
}
.table_wrap .tb_set tr th {
  padding: 15px 10px;
  font-size: 1.5rem;
  color: #000;
}
.table_wrap .tb_set tr td {
  border-bottom: 1px solid #ccc;
}
.table_wrap .tb_set tr td a {
  color: #004ebf;
}
.table_wrap .tb_set thead .select_set select {
  border: 0;
  height: 30px;
  font-size: 1.8rem;
}

.pagination {
  text-align: center;
  padding: 20px 0px;
  font-size: 0;
}
.pagination a {
  font-size: 1.5rem;
  margin: 0 2px;
  width: 30px;
  height: 30px;
  line-height: 27px;
  text-align: center;
  color: #333;
  vertical-align: middle;
}
.pagination a.on {
  font-weight: bold;
}
.pagination .first,
.pagination .prev,
.pagination .last,
.pagination .next {
  border: 1px solid #ddd;
  background: #fff;
}
.pagination .first,
.pagination .last {
  width: 30px;
  font-size: 12px;
  line-height: 30px;
}
.pagination .prev {
  margin-right: 10px;
}
.pagination .next {
  margin-left: 10px;
}
.pagination .arr_l {
  content: "";
  display: inline-block;
  position: relative;
  left: 1px;
  top: -1.5px;
  margin-left: -2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.pagination .arr_r {
  content: "";
  display: inline-block;
  position: relative;
  right: 1px;
  top: -1.5px;
  margin-left: -2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/*tab*/
.tab_nav {
  overflow: hidden;
  margin-bottom: 15px;
}
.tab_nav a {
  float: left;
  width: 50%;
  max-width: 200px;
  width: 140px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
  color: #666;
}
.tab_nav a:nth-of-type(1) {
  margin-left: 0;
}
.tab_nav a.on {
  background: #004ebf;
  color: #fff;
}
.tab_nav.tab_list_5 a {
  width: 20%;
  max-width: 100px;
}

.input_form {
  margin: 25px 0;
}
.input_form p {
  margin: 15px 0 10px;
  font-size: 1.5rem;
  color: #777;
}
.input_form .self_qr {
  margin-bottom: 20px;
}
.input_form .self_qr span {
  padding: 30px;
  background: #fff;
  display: inline-block;
}
.input_form .input_field label {
  position: relative;
}
.input_form .input_field label .time {
  position: absolute;
  top: -3px;
  right: 20px;
  color: #e72418;
}
.input_form .input_field label input {
  padding-right: 6%;
}

/*acc*/
.acc_list > li .acc_tit:before {
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  display: inline-block;
  position: absolute;
  top: 25px;
  right: 30px;
}
.acc_list > li.on .acc_tit:before {
  transform: rotate(225deg);
  top: 30px;
  border-color: #666;
}
.acc_list.no_arr .acc_tit:before {
  display: none;
}

.acc_list {
  border-top: 1px solid #ddd;
}
.acc_list > li {
  border-bottom: 1px solid #ddd;
}
.acc_list > li .acc_tit {
  cursor: pointer;
  padding: 20px 30px;
  position: relative;
  margin-right: 40px;
}
.acc_list > li .acc_tit span {
  vertical-align: middle;
  padding-left: 10px;
  width: calc(100% - 50px);
}
.acc_list > li .acc_txt {
  display: none;
  padding: 20px 30px;
}
.popup_pay {
  padding: 0px 10px;
}

.acc_txt > .popup_pay {
  width: 0;
  overflow: hidden;
  display: block;
  opacity: 0;
}

.acc_list > li .acc_tit a {
  color: #000;
}
.acc_list > li .acc_tit.link:before {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  right: 22px;
}
.acc_list > li.on .acc_tit.link:before {
  top: 25px;
}
.acc_list.only_list > li .acc_tit:before {
  display: none;
}
.acc_li {
  position: relative;
}
.show-att-view,
.reply-att-view {
  float: right;
  margin-left: 20px;
  cursor: pointer;
  background: #bbb;
  color: #fff;
  padding: 5px 10px;
  line-height: 20px;
}
.upload_view {
  display: none;
}
.upload_view.show {
  display: block;
}
.box_select_file input {
  display: block;
  margin-bottom: 2px;
}
.acc-result {
  line-height: 30px;
}
.upload_file_btn {
  float: right;
  margin-top: -25px;
}

/*sub*/
.sub_content {
  max-width: 1020px;
  margin: 0 auto;
  padding: 50px 10px;
  position: relative;
}
.sub_content h3 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
  letter-spacing: -1px;
}
.sub_top {
  display: block;
  width: 100%;
  height: 150px;
  text-align: center;
  z-index: 2;
}
.sub_top .inner {
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  display: table;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}
.sub_top h2 {
  font-size: 4rem;
  color: #333;
  display: table-cell;
  vertical-align: middle;
}
.sub1 {
  background: url(../img/sub_top1.jpg) no-repeat 50% 50%;
  background-size: cover;
}
.sub_qna {
  background: url(../img/sub_qna.jpg) no-repeat 50% 50%;
  background-size: cover;
}
.sub_lawyer {
  background: url(../img/sub_lawyer.jpg) no-repeat 50% 50%;
  background-size: cover;
}
.sub_lawyer2 {
  background: url(../img/sub_top3.jpg) no-repeat 50% 50%;
  background-size: cover;
}
.sub_lawyer2 h2 {
  color: #fff;
}
.sub_mypage {
  background: url(../img/sub_mypage.jpg) no-repeat 50% 50%;
  background-size: cover;
  position: relative;
}
.sub_mypage2 {
  background: url(../img/sub_top2.jpg) no-repeat 50% 50%;
  background-size: cover;
  color: #fff;
  position: relative;
}
.sub_mypage2 h2 {
  color: #fff;
}

.sub_lawyer h2 {
  color: #fff;
}
.sub_nav {
  text-align: center;
  background: #eee;
}
.sub_nav .inner {
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: table;
}
.sub_nav a {
  font-size: 1.4rem;
  height: 50px;
  display: table-cell;
  vertical-align: middle;
  background: #eee;
  border-right: 1px solid #fff;
  line-height: 1.4;
}
.sub_nav a:hover,
.sub_nav a.on {
  background-color: #e23d46;
  color: #fff;
}
.sub_nav.tab_3 a {
  width: 33.3%;
}
.sub_nav.tab_5 a {
  width: 12.5%;
}
.sub_nav.tab_6 a {
  width: 17%;
}
.sub_nav.tab_7 a {
  width: auto;
}
.sub_nav.tab_8 a {
  width: 10%;
}

.status_step9_content {
  padding-top: 0px !important;
}

/*status*/
.pg_status {
  text-align: center;
}
.status_tab {
  overflow: hidden;
  margin-bottom: 50px;
}
.status_tab a {
  float: left;
  width: 12.5%;
  height: 55px;
  line-height: 55px;
  background: #e4e4e4;
  text-align: center;
  line-height: 55px;
  color: #999;
  border-left: 1px solid #fff;
  font-weight: 700;
}

.status_tab a:first-child {
  border-right: 0;
}
.status_tab a.on {
  background: #ccc;
  color: #333;
}

@media all and (max-width: 378px) {
  .status_tab a {
    width: 25%;
    border-bottom: 1px solid #fff;
  }
}

.status_con {
  display: inline-block;
  min-width: 620px;
}
.ck-list {
  text-align: left;
}
.ck-list button {
  display: inline-block;
  background: #eee;
  padding: 5px 10px;
  font-size: 1.4rem;
  border-radius: 4px;
  margin: 0 1px 7px;
  cursor: pointer;
}
.ck-list button.active {
  background: #657791;
  color: #fff;
}
.status_con .help {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 30px;
  display: block;
}
.status_con .btn_box {
  text-align: right;
}
.status_con .btn_box a {
  text-align: center;
}
.status_con .check_set li {
  text-align: left;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.pg_status .info_check .tit_box {
  background: #004ebf;
  color: #fff;
  font-size: 1.7rem;
  padding: 10px 30px;
  text-align: left;
}
.pg_status .info_check .txt_box {
  margin: 20px 0;
  border: 1px solid #ccc;
  padding: 50px 10px;
}
.pg_status .info_check .txt_box p {
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.pg_status .info_check .btn_box {
  text-align: right;
  margin: 20px 0;
}

/*deposit*/
.pg_deposit section {
  margin-bottom: 70px;
  text-align: center;
}
.pg_deposit section p {
  font-size: 2.5rem;
}
.pg_deposit .price {
  padding: 20px 10px;
  background: #f6f6f6;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 2rem;
  margin: 20px 0;
}
.pg_deposit .btn_box {
  text-align: right;
  margin: 30px 0;
}
.pg_deposit .check_set {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}
.pg_deposit .check_set li {
  padding: 10px 0;
  font-size: 1.6rem;
}

/*lawyer*/
.lawyer_view {
  overflow: hidden;
}
.lawyer_view .img_box {
  float: left;
  width: 40%;
  margin-top: 10px;
}
.lawyer_view .img_box img {
  width: 100%;
}
.lawyer_view .img_box span {
  font-size: 1.3rem;
  line-height: 1.3;
  display: block;
  margin-top: 5px;
}
.lawyer_view .txt_box {
  float: right;
  width: 52%;
}
.lawyer_view .txt_box dd .bg-gray {
  padding: 10px;
  background: #eee;
  margin: 5px 0;
}
.lawyer_view .txt_box dt {
  font-size: 1.8rem;
  color: #333;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}
.lawyer_view .txt_box dd:before {
  content: "";
  display: none;
  width: 3px;
  height: 3px;
  background: #ccc;
  border-radius: 10px;
  vertical-align: middle;
  margin-right: 10px;
}
.lawyer_view .case_status {
  clear: both;
  padding-top: 50px;
}
.lawyer_view .case_status .title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}
.lawyer_view .case_status .inner {
  background: #ececec;
  padding: 10px;
  min-height: 100px;
}
.lawyer_view .case_status ul {
  margin-top: 20px;
  display: table;
  width: 100%;
  table-layout: fixed;
}
.lawyer_view .case_status ul li {
  display: table-cell;
  vertical-align: middle;
}
.lawyer_view .case_status ul li .title {
  display: inline-block;
  margin-right: 10px;
}

/*qna*/
.my_info {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
}
.my_info.tab_4 li {
  width: 25%;
}
.my_info.tab_5 li {
  width: 20%;
}
.my_info li {
  display: table-cell;
  width: 33.3%;
  border: 1px solid #ddd;
  padding: 20px;
  position: relative;
  vertical-align: top;
  line-height: 1.4;
}
.my_info li dl dt {
  margin-bottom: 10px;
  font-weight: bold;
}
.my_info li dl dd {
  text-align: right;
  font-size: 1.6rem;
  color: #005ce1;
}
.my_info li dl dd .law_photo {
  vertical-align: middle;
  border-radius: 100px;
  margin-left: 5px;
  position: absolute;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
}
.my_info li dl dd .law_photo img {
  border-radius: 100px;
  width: 100%;
}
.my_info_btn {
  width: 25px;
  height: 25px;
  background: url(../img/ico-open.png) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  position: absolute;
  top: 32px;
  right: 15px;
  display: none;
}
.my_info_btn.on {
  background: url(../img/ico-close.png) no-repeat 0 0;
  background-size: cover;
}
.qna_content .category_btn {
  width: 25px;
  height: 25px;
  background: url(../img/ico-open.png) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  position: absolute;
  top: 32px;
  right: 15px;
  display: none;
}
.qna_content .category_btn.on {
  background: url(../img/ico-close.png) no-repeat 0 0;
  background-size: cover;
}
.filedrop_btn.on {
  background: url(../img/ico-close.png) no-repeat 0 0;
  background-size: cover;
}
.filedrop_btn {
  width: 25px;
  height: 25px;
  background: url(../img/ico-open.png) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  position: absolute;
  top: 32px;
  right: 15px;
  display: none;
}
.filedrop_btn.on {
  background: url(../img/ico-close.png) no-repeat 0 0;
  background-size: cover;
}

.pay_info_btn {
  width: 30px;
  height: 30px;
  background: url(../img/ico-info.png) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  float: right;
}
.pay_info_btn.on {
  background: url(../img/ico-close.png) no-repeat 0 0;
}
.pay_info {
  text-align: center;
  background: #e3f5ff;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}
.pay_info.on {
  display: block;
  height: auto;
  margin-bottom: 10px;
  padding: 30px 10px;
}
.pay_info dl {
  margin-bottom: 20px;
}
.pay_info dt {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.7rem;
}
.pay_info dd {
  line-height: 1.2;
}

.qna_top {
  position: relative;
  margin-bottom: 20px;
}
.qna_top p {
  font-size: 1.4rem;
  color: #666;
  width: 80%;
}
.qna_top .help_btn {
  position: absolute;
  top: 10px;
  right: 0;
  width: 30px;
  height: 30px;
  background: #e23d46;
  font-weight: bold;
  color: #fff;
  line-height: 30px;
  text-align: center;
  font-size: 18px;
}
.qna_top .btn_discont {
  position: absolute;
  top: 10px;
  right: 35px;
  padding: 0 10px;
  height: 30px;
  background: #8f8f8f;
  font-weight: bold;
  color: #fff;
  line-height: 30px;
  text-align: center;
  font-size: 1.4rem;
}
.qna_top .state_color {
  text-align: right;
  margin-bottom: 20px;
  display: none;
}
.qna_top .state_color span {
  margin-left: 15px;
  vertical-align: middle;
  font-size: 1.4rem;
}

.btn_decline {
  position: absolute;
  top: -60px;
  right: 0;
  padding: 0 10px;
  height: 30px;
  background: #8f8f8f;
  font-weight: bold;
  color: #fff;
  line-height: 30px;
  text-align: center;
  font-size: 1.4rem;
}

.qna_content {
  position: relative;
}
.qna_content .qna_list {
  border-top: 1px solid #ccc;
}
.qna_content .qna_list li {
  padding: 25px 30px 20px 30px;
  border-bottom: 1px solid #ccc;
}
.qna_content .qna_write {
  position: relative;
  padding-left: 50px;
}
.qna_content .qna_write p {
  padding: 5px 0 10px 0;
}
.qna_content .qna_write textarea {
  height: 70px;
}
.qna_content .qna_write i {
  position: absolute;
  top: 0;
  left: 0;
}
.qna_content .qna_write .input_field {
  border-bottom: 0;
  padding-top: 0;
  margin-bottom: 0;
}
.qna_content .qna_write .qna-sec {
  position: relative;
}
.qna_content .qna_write .qna-sec .ico_q {
  left: -50px;
}
.qna_content .qna_write .qna-sec .ico_a {
  left: -50px;
}
.qna_content .qna_row {
  position: relative;
  margin-bottom: 10px;
  padding-left: 50px;
}
.qna_new_btn {
  position: absolute;
  top: -10px;
  right: 0;
}

.qna_content .file_upload {
  border-bottom: 2px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 40px 30px;
  overflow: hidden;
  position: relative;
}
.qna_content .file_upload .upload_view_btn button {
  vertical-align: middle;
  margin-left: 10px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
}
.qna_content .file_upload h4 {
  font-size: 1.8rem;
  color: #000;
  font-weight: bold;
}
.qna_content .file_upload .inner p {
  margin-bottom: 10px;
}
.qna_content .qna_txt {
  min-height: 100px;
  overflow-y: auto;
  background: #f3f3f3;
  padding: 10px;
  border: 0;
}
.qna_content .category {
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}
.qna_content .category_list {
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}
.qna_content .category_list span {
  float: left;
  vertical-align: middle;
  font-size: 1.5rem;
  border: 1px solid #ddd;
  text-align: left;
  padding: 8px 20px;
  margin-left: -1px;
  width: 20%;
  font-weight: bold;
  min-height: 66px;
}
.qna_content .category_list span strong {
  font-weight: normal;
  color: #005ce1;
  display: block;
  text-align: right;
  font-size: 1.2rem;
}
.qna_content .category_list span.on {
  background: #eee;
}
.qna_content .category_list span:first-child,
.qna_content .category_list span:nth-of-type(6) {
  margin-left: 0;
}
.qna_content .category_list span:nth-of-type(6),
.qna_content .category_list span:nth-of-type(7),
.qna_content .category_list span:nth-of-type(8),
.qna_content .category_list span:nth-of-type(9),
.qna_content .category_list span:nth-of-type(10) {
  border-top: 0;
}
.qna_content .category_list span:nth-of-type(6) {
  clear: both;
}
.qna_content h2.title {
  font-weight: bold;
  border: 1px solid #fff;
  font-size: 2rem;
  vertical-align: middle;
}
.question-note {
  font-size: 1.4rem;
  font-weight: normal;
}
.add-more-question {
  float: right;
  height: 30px;
  line-height: 30px;
  font-size: 2.4rem;
  width: 30px;
  background: #68bc83;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.remove-this-question {
  float: right;
  height: 30px;
  line-height: 30px;
  font-size: 2.4rem;
  width: 30px;
  background: #e23d46;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.acc_list_item {
  display: none;
  position: relative;
}
.acc_list_item.show-item {
  display: block;
}
.save-q-btn {
  float: right;
  margin-top: 10px;
  opacity: 0.5;
}
.save-q-btn.active {
  opacity: 1;
  cursor: pointer;
}
.question-tit {
  padding: 20px 30px;
}
.close_acc_tit {
  position: absolute;
  right: 0;
  background: #e23d46;
  color: #fff;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: bold;
  font-size: 2rem;
  top: 20px;
  cursor: pointer;
}
.submit-all {
  display: none;
}
.submit-all.active {
  display: block;
}

.save-action {
  position: absolute;
  right: 5px;
  width: 32px;
  height: 32px;
  top: 10px;
  background: url(../img/ico-save.png) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
}
.status-item {
  display: inline-block;
  margin: 0 3px;
}

.question-lst {
  margin-top: 10px;
  padding-top: 5px;
}
.question-lst .question-row {
  position: relative;
  margin-bottom: 5px;
  padding-left: 50px;
  min-height: 50px;
}
.question-lst .question-row:nth-child(2n + 1) {
  margin-top: 10px;
  border-top: 1px solid #999;
  padding: 10px 0 10px 50px;
}
.question-lst .ico_q {
  position: absolute;
  left: 0;
}

.acc_list.acc_list_icon .acc_txt .ico_q {
  position: absolute;
}
.acc_list.acc_list_icon .acc_txt .qna_txt {
  margin-left: 50px;
}
.ml50 {
  margin-left: 50px;
}
.btn-view-upload {
  width: 49%;
  display: inline-block;
  vertical-align: top;
}
.btn-view-upload .note {
  font-size: 13px;
}
@media (min-width: 768px) {
  .mobile-field {
    display: none !important;
  }
}

/*mypage*/
.pg_mypage {
  position: relative;
}
.pg_mypage .my_info li {
  padding: 10px 20px;
}
.mypage_content section {
  margin-bottom: 40px;
  position: relative;
}
.mypage_content h4 {
  font-size: 1.8rem;
  text-align: left;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}
.mypage_content h4 span {
  display: block;
  line-height: 1;
  font-weight: normal;
  color: #666;
  font-size: 1.5rem;
  margin-top: 5px;
  width: calc(100% - 30px);
}
.mypage_content h4:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  background: #333;
  border-radius: 100px;
  margin-right: 10px;
}
.mypage_content .more_btn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.3rem;
}
.mypage_list {
  width: 100%;
}
.mypage_list tr th {
  background: #959ca5;
  color: #fff;
}
.mypage_list tr th,
.mypage_list tr td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
  font-size: 1.4rem;
  text-align: center;
  vertical-align: top;
  white-space: nowrap;
}
.pg_mypage .case-list {
  height: 40px;
  margin-bottom: 10px;
  max-width: 400px;
  width: 100%;
  border-color: #0099ff;
  padding: 0 10px;
}
.type-a {
  background: #657791;
  color: #fff;
}
.type-a a {
  color: #fff;
}
.type-b {
  background: #ddd;
}
.type-d {
  background: #ff9900;
  color: #fff;
}
.type-d a {
  color: #fff;
}

.mypage_list td.msg {
  max-width: 40%;
}

.ai-answer-box {
  background: #eee;
  padding: 20px;
}
.ai-answer-box h5 {
  font-weight: bold;
  margin-bottom: 10px;
}
.answer-lock-wrap {
  position: relative;
}
.answer-lock-mask {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
}
.answer-lock-mask.off {
  display: none;
}
.answer_lock {
  position: relative;
  z-index: 5;
}
.qna_short_btn {
  line-height: 30px;
  padding: 0 10px;
  font-size: 1.7rem;
}

/*input set*/
.input_set .input_field {
  margin-bottom: 10px;
}

/*inquiry*/
.acc_list > li .acc_tit .inquiry_tit {
  position: relative;
}
.acc_list > li .acc_tit .inquiry_tit span {
  padding: 0;
  color: #000;
}
.acc_list > li .acc_tit .inquiry_tit .state {
  position: absolute;
  top: 0;
  right: 40px;
  width: inherit;
  background: #959ca5;
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  width: 70px;
  padding: 3px 0;
}
.acc_list > li .acc_tit .inquiry_tit .date {
  color: #666;
  font-size: 1.2rem;
  position: absolute;
  top: 2px;
  right: 30px;
  width: inherit;
}
.acc_list > li .acc_txt .inquiry_txt .reply {
  border-top: 1px solid #eee;
  margin-top: 20px;
  padding: 10px 20px;
  background: #eee;
}
.acc_list > li .acc_txt .inquiry_txt .reply textarea {
  height: 90px;
}
.acc_list > li .acc_txt .inquiry_txt .reply h5 {
  color: #000;
  font-weight: bold;
  margin-bottom: 5px;
}

.acc_list > li .acc_txt .inquiry_txt .reply_btn {
  text-align: right;
  margin-top: 10px;
}
.acc_list > li .acc_txt .inquiry_txt .reply_btn a {
  width: 50px;
  height: 26px;
  line-height: 26px;
  background: #999;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
}
.acc_list > li .acc_txt .inquiry_txt i {
  color: #e23d46;
  margin-right: 5px;
  vertical-align: top;
}

.scroll_wrap {
  overflow-x: auto;
}
.scroll_wrap table {
  min-width: 500px;
}

/*law_regist*/
.law_regist {
  overflow: hidden;
  position: relative;
}
.law_regist .upload_photo {
  width: 30%;
  position: absolute;
  top: 25px;
  left: 0;
}
.law_regist .upload_photo strong {
  font-weight: bold;
  color: #000;
  margin-bottom: 3px;
  display: block;
  font-size: 1.5rem;
}
.law_regist .upload_photo img {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}
.law_regist .regist_form {
  width: 100%;
  padding-left: 35%;
}
.law_regist .regist_form .check_set {
  padding: 10px 0;
}
.law_regist .regist_form .check_set > span {
  width: 48%;
  font-size: 12px;
  margin-bottom: 2px;
  font-weight: normal;
}
.law_regist .regist_form .check_set > span label {
  font-weight: normal;
}
.law_regist input.upload_text {
  width: 70%;
}
.law_regist .upload-btn_wrap {
  width: 28%;
}
.law_regist .regist_form .input_field label {
  font-weight: normal;
}
#submitbtn {
  opacity: 0.5;
}
#submitbtn.active {
  opacity: 1;
  cursor: pointer;
}

.enquiry_pop .top_info {
  position: relative;
  margin-bottom: 5px;
}
.enquiry_pop .top_info p {
  font-size: 2rem;
  font-weight: bold;
}
.enquiry_pop .top_info .num {
  position: absolute;
  top: 7px;
  right: 0;
  font-size: 1.3rem;
}
.enquiry_pop a {
  text-decoration: underline;
}
.enquiry_pop a:hover {
  text-decoration: none;
}

.mypage_detail .top_info {
  position: relative;
  margin-bottom: 5px;
  overflow: hidden;
  min-height: 30px;
}
.mypage_detail .top_info p {
  font-size: 2rem;
  font-weight: bold;
  float: left;
}
.mypage_detail .top_info .num {
  float: right;
  font-size: 1.3rem;
  margin: 5px 10px 0 0;
}
.mypage_detail .top_info .my_info_btn {
  position: relative;
  float: right;
}

.list_top_info {
  overflow: hidden;
  min-height: 35px;
  margin-bottom: 10px;
  position: relative;
}
.list_top_info .select_set {
  float: right;
  margin-right: 5px;
  width: 150px;
}
.list_top_info .select_set select {
  height: 35px;
  border-radius: 4px;
}
.list_top_info .total_num {
  padding-top: 10px;
  float: left;
}
.list_top_info .search_box {
  float: right;
  height: 35px;
}
.list_top_info .search_box input[type="text"] {
  height: 33px;
  display: block;
  border-radius: 4px;
}
.list_top_info .regist_btn {
  float: right;
  margin-left: 10px;
  height: 35px;
  line-height: 35px;
}
.list_top_info .serch_wrap {
  float: right;
  overflow: hidden;
}
.list_top_info .serch_wrap .search_box {
  float: left;
  width: 68%;
  margin-left: 2%;
}
.list_top_info .serch_wrap .sort {
  float: left;
  width: 30%;
  border-radius: 4px;
  border: 1px solid #ccc;
  height: 35px;
}
.list_top_info .legend {
  float: left;
  margin-top: 9px;
  margin-left: 5px;
}
.list_top_info .payment-card-btn {
  float: right;
  height: 35px;
  line-height: 33px;
  background: #e23d46;
  color: #fff;
  text-align: center;
  padding: 0 10px;
  border-radius: 4px;
  margin-left: 5px;
}
.sub-drop-wrap {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}
.sub-drop {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.sub-drop .line {
  background: #fff;
}
.sub-drop-list {
  position: absolute;
  top: 45px;
  left: 5px;
  background: #fff;
  width: 200px;
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  display: none;
}
.sub-drop-list a {
  display: block;
  padding: 5px 10px;
}
.sub-drop-list a:hover {
  background: #eee;
}

.mypage_content .legend {
  text-align: right;
  margin-bottom: 10px;
}
.mypage_content .legend span {
  margin-left: 20px;
}
.mypage_content .legend span:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #657791;
  margin-right: 7px;
  vertical-align: middle;
}
.mypage_content .legend .type2:before {
  background: #ddd;
}
.mypage_content .legend .type3:before {
  background: #fff;
  border: 1px solid #ddd;
}
.mypage_content .legend .type4:before {
  background: #ff9900;
}

.refer_con {
  text-align: center;
  padding-bottom: 20px;
}
.refer_con input {
  opacity: 0;
  display: block;
}
.refer_con p {
  font-size: 1.8rem;
}
.refer_con #copy_btn {
  border: 2px solid #004ebf;
  padding: 10px 20px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

.copybtn {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  background: url(../img/ico_copy.png) no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
}

.pg_privacy section {
  margin-bottom: 50px;
  text-align: left;
}
.pg_privacy section h3 {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: left;
}
.pg_privacy section p {
  margin-bottom: 15px;
  text-align: left;
}
.pg_privacy section p strong {
  font-weight: bold;
  color: #333;
}

.filedrop_btn_off {
  position: absolute;
  right: 0;
  top: 20px;
  background: url(../img/ico-open.png) no-repeat 0 0;
  width: 25px;
  height: 25px;
  background-size: cover;
}

.p-left {
  float: left;
}
.p-right {
  float: right;
}

.adbox {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.adbox img {
  width: 100%;
  min-height: 90px;
}
.adbox span {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #fff;
  text-align: left;
}

.post-content strong {
  font-weight: bold;
}
.post-content em {
  font-style: italic;
}
.post-content p {
  margin-bottom: 15px;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-bottom: 15px;
  font-weight: bold;
  text-align: left;
}

.post-content ol,
.post-content ul {
  margin-bottom: 15px;
}
.post-content h1 {
  font-size: 2.8rem;
}
.post-content h2 {
  font-size: 2.5rem;
}
.post-content h3 {
  font-size: 2rem;
}
.post-content h4 {
  font-size: 1.8rem;
}
.post-content h5 {
  font-size: 1.5rem;
}
.post-content h6 {
  font-size: 1.2rem;
}

@media all and (max-width: 1024px) {
  .sub_content {
    padding-top: 50px;
  }
}
@media all and (max-width: 768px) {
  .table_wrap .tb_set tr td,
  .table_wrap .tb_set tr th {
    padding: 10px;
  }
  .sub_top {
    height: 90px;
  }
  .sub_top h2 {
    font-size: 3rem;
  }
  .sub_nav {
    margin-bottom: 0;
    display: none;
  }
  .sub_content {
    padding: 30px 10px;
    min-height: calc(100vh - 233px);
  }
  .sub_content h3 {
    margin-bottom: 20px;
  }
  .status_con {
    min-width: 100%;
  }
  .status_tab {
    margin-bottom: 40px;
  }
  .status_tab a {
    height: 40px;
    line-height: 40px;
  }

  .sub_nav a {
    width: 33.3% !important;
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #fff;
  }
  .sub_nav a br {
    display: none;
  }

  .thumb_list .list li {
    width: 48.5%;
    margin-right: 2%;
  }
  .thumb_list .list li:nth-child(3n) {
    margin-right: 2%;
  }
  .thumb_list .list li:nth-child(2n) {
    margin-right: 0;
  }

  .pg_mypage .my_info li {
    padding: 10px 5px;
    text-align: center;
  }
  .my_info li dl dd {
    text-align: center;
    float: none;
  }
  .my_info li dl {
    overflow: hidden;
  }
  .my_info li dl dt {
    margin-bottom: 10px;
  }
  .my_info li dl dd .law_photo {
    position: relative;
    top: 0;
    right: 0;
  }
  .pay_info {
    margin-bottom: 0;
  }
  .pg_mypage .my_info {
    height: 0;
    display: block;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .pg_mypage .my_info.on {
    height: auto;
    padding: 40px 0;
  }
  .pg_mypage .my_info li {
    display: block;
    width: 100%;
    padding: 10px 10px;
    border-bottom: 0;
  }
  .pg_mypage .my_info li:last-of-type {
    border-bottom: 1px solid #ddd;
  }
  .pg_mypage .my_info li dl {
    display: table;
    width: 100%;
  }
  .pg_mypage .my_info li dl dt {
    display: table-cell;
    text-align: left;
  }
  .pg_mypage .my_info li dl dd {
    display: table-cell;
    text-align: right;
  }
  .mypage_detail .top_info {
    margin-bottom: 5px;
  }
  .mypage_detail .top_info p {
    float: none;
  }
  .mypage_detail .top_info .num {
    right: -2px;
    position: relative;
    top: -7px;
    float: none;
  }
  .pay_info_btn {
    position: absolute;
    top: 5px;
    right: 0;
    float: none;
  }
  .my_info_btn {
    display: block !important;
    position: absolute !important;
    top: 5px;
    right: 0;
    float: none !important;
    z-index: 200;
  }

  .qna_content .qna_list li {
    padding: 10px 0;
  }
  .qna_content .file_upload {
    padding: 20px 0;
  }
  .qna_content .file_upload h4 {
    float: none;
    width: 100%;
  }
  .qna_content .file_upload .inner {
    float: none;
    width: 100%;
    padding-left: 0;
    border-left: 0;
    margin-top: 10px;
  }
  .qna_content .category_list {
    display: block;
  }
  .qna_content .category a:nth-child(odd) {
    border-left: 1px solid #ddd;
  }
  .qna_content .category a {
    width: 50%;
    text-align: left;
    border: 1px solid #ddd;
    border-bottom: 0;
    margin-left: 0;
    border-left: 0;
    padding: 5px;
    font-size: 1.4rem;
  }
  .qna_content .category .title {
    font-size: 1.8rem;
    margin-bottom: 7px;
    color: #555;
    display: block;
  }

  .acc_list > li .acc_tit {
    padding: 10px 0px;
  }
  .acc_list > li .acc_txt {
    padding: 10px 0;
  }
  .acc_list > li .acc_tit:before {
    right: 10px;
  }
  .qna_top .state_color {
    text-align: center;
  }
  .qna_top .state_color span {
    margin: 2px 10px;
  }

  .acc_list > li .acc_tit .inquiry_tit .date {
    position: relative;
    display: block;
    top: 0;
    left: 0;
  }
  .acc_list > li .acc_tit .inquiry_tit .state {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-top: 10px;
  }
  .acc_list > li .acc_txt .inquiry_txt .reply {
    padding: 10px;
  }

  .law_regist .upload_photo {
    position: static;
    width: 100%;
  }
  .law_regist .upload_photo img {
    max-width: 200px;
  }
  .law_regist .regist_form {
    padding-left: 0;
  }

  .qna_content .category_btn {
    display: block;
    position: absolute;
    top: 0px;
    right: 0;
    float: none;
  }
  .qna_content .category_list {
    height: 0;
    display: block;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .qna_content .category_list span {
    float: none;
    width: 100%;
    border: 1px solid #ddd !important;
    border-bottom: 0 !important;
    margin-left: 0 !important;
    position: relative;
    padding: 8px 10px;
  }
  .qna_content .category_list span strong {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }
  .qna_content .category_list.on {
    height: auto;
    margin-bottom: 40px;
  }

  .filedrop_btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 0;
    float: none;
  }
  .upload_list {
    display: block;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .upload_list.on {
    height: auto;
  }

  .lawyer_view .case_status ul {
    display: block;
    margin-top: 10px;
  }
  .lawyer_view .case_status ul li {
    display: block;
  }
  .header_logout {
    display: none !important;
  }
}

@media all and (max-width: 480px) {
  .tab_nav a {
    width: 33.3%;
  }
  .pagination a {
    margin: 0 2px;
    line-height: 30px;
  }
  .thumb_list .top .search_box {
    position: relative;
    max-width: 100%;
    margin-top: 10px;
  }

  .lawyer_view .img_box,
  .lawyer_view .txt_box {
    float: none;
    width: 100%;
  }
  .lawyer_view .txt_box {
    margin-top: 30px;
  }

  .list_top_info .select_set {
    width: 100%;
    display: block;
    margin: 7px 0 0 0;
  }
  .list_top_info .legend {
    float: right;
    margin-right: 40px;
  }
  .mypage_content .legend span {
    margin-left: 8px;
  }
  .mypage_content .legend span:before {
    margin-right: 5px;
  }
}
@media all and (max-width: 400px) {
  .qna_content .file_upload .upload_view_btn button {
    margin-left: 0;
    margin-top: 10px;
  }
}
@media all and (max-width: 380px) {
  .list_top_info .payment-card-btn {
    margin-bottom: 5px;
  }
}
@media all and (max-width: 380px) {
  .list_top_info .payment-card-btn {
    margin-bottom: 5px;
  }
}
@media all and (min-width: 1024px) {
  .hamburger.mobile_gnb_open_btn {
    display: none;
  }
}
