@charset "UTF-8";


/* ==================================================================
    board
===================================================================== */
.event_board {
  .event_list {
    >ul {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5rem;
    }
    /* 모바일 (해상도 768px 이하) */
    @media (max-width: 768px) {
      > ul{
        gap:2rem;
      }
      
    }

  }
}
/*counsel*/
colgroup .num {width: 10rem;}
colgroup .sort {width: 22rem;}
colgroup .review {width: 18rem;}
colgroup .photo {width: 15rem;}
colgroup .arrow {width: 6rem;}
colgroup .name {width: 10rem;}
colgroup .date {width: 14rem;}
colgroup .answer {width: 14rem;}

/*table*/
#sub table.line {border-top: 1px solid #c9c9c9;width: 100%;position: relative;z-index: 1;font-size: 1.8rem;/* margin-top: 5rem; */}
#sub table.line th {color: #333;padding: 2rem 0;text-align: center;border-bottom: 1px solid #c9c9c9;vertical-align: middle;font-weight:  400;font-size: 2rem;}
#sub table.line th + td {border-bottom: 1px solid #c9c9c9;}
#sub table.line td {padding: 2rem;border-bottom: 1px solid #ddd;}
#sub table.line td img {height: auto !important;}
#sub table.line td i {margin-left:10px;color: #4c6aaa;}
#sub table.line td > span.box {padding: 4px 15px;font-size: .9em;background: #828386;color: #fff;width: 85px;display: inline-block;}
#sub table.line td > span.box.before {background: var(--color_main);}
#sub table.line th > p {float: right;font-size: 1em;padding: 0;line-height: normal;margin-bottom: 0;margin: 0;}
#sub table.line th > p > span {font-weight: 400;margin-left:20px;color: #444;font-size: .8em;}

#sub table.list td {text-align: center;vertical-align: middle;
                   &.left_align  a{
                     display:flex;
                     align-items: center;
                   }
                   }
#sub table.list td i {color: #614e31;margin-left: 5px;font-size: 20px;vertical-align: text-top;line-height: 23px;}
#sub table.list td b {font-size: 12px;color: #fff;font-weight: 400;margin-left: 10px;background: var(--color_sub2);padding: .2rem 1rem;border-radius: 1rem;}
#sub table.list td span.best {background:#7784bb;color:#fff;padding: 4px 10px;font-size: 12px;}
#sub table.list tr:hover td, #sub table.list tr.notice td {background: var(--color_sub3);}

#sub table.view th {padding: 2rem;text-align: left;}
#sub table.view td {padding: 80px 20px;line-height: 2em;}
#sub table.view .board_con {
  padding: 80px 100px;
  text-align: justify;
  ul, ul li{
    list-style-type: disc;


  }
  ol, ol li{
    list-style-type: decimal;
  }
   > h4{
     font-size: 4rem;
     color: var(--222);

   }
   }

#sub table.view .board_con .bf_box img {border-radius:0}
#sub table.view .board_con .bf_box ul li:first-child:after{margin-top: -30px;}
/* btn */
.btn_wrap {text-align: center; }
.btn {padding: 8px 30px;cursor: pointer;display: inline-flex;line-height: 1.2em;}
.btn_green{background: var(--color_main);border: 1px solid var(--color_main);color: #fff;display: inline-flex;}
.btn_gray{background: #797979;border: 1px solid #797979;color: #fff;}
.btn_red{background: #f0a900;border: 1px solid #f0a900;color: #fff;}

.btn_green:hover, .btn_gray:hover,.btn_red:hover{color:#fff}


/*paging*/
.paging {
  text-align: center;
  font-family: 'Roboto';
  li {
    display: inline-block;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    line-height: 30px;
    vertical-align: top;
    a {
      display: block
    }
    &:hover,
    &.active {
      background: var(--color_main);
      color: #fff;
      border: 1px solid var(--color_main);
    }
  }
}



.paging li:hover a,
.paging li.active a {
  color: #fff;
}

.paging li a:before {
  font-family: 'icon_font';
  font-size: 11px;
  position: relative;
  display: inherit;
}

.paging li:first-child a:before {
  content: '\E878\E878';
}

.paging li:nth-child(2) a:before {
  content: '\E878';
}

.paging li:nth-last-child(2) a:before {
  content: '\E877';
}

.paging li:last-child a:before {
  content: '\E877\E877';
}



/*list_search*/
.list_search {
  margin-top: 5rem;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.list_search label {
  margin-right: 5px;
}

.list_search>input[type="text"] {
  border-right: 0;
  height: 30px;
  padding: 5px 10px;
  max-width: 50%;
}

.list_search>input[type="submit"] {
  background: #a5a5a5;
  border: 1px solid #a5a5a5;
  color: #fff;
  padding: 5px 15px;
  height: 42px;
  margin-left: -6px;
  cursor: pointer;
  margin-top: 0;
}

.list_search button,
button.list_button{
  float: right;
  background: var(--color_main);
  border: 1px solid var(--color_main);
  color: #fff;
  padding: 0 2rem;
  font-weight: 500;
  cursor: pointer;
  position: absolute;
  right: 0;
  font-size: 18px;
  line-height: 4rem;
}


/* counsel */
#sub{
  &.counsel_write{
    .wrap{
      .inwrap{
        > ul {
          display: flex;
          align-items: center;
          
          li{
            flex:1;
            > img{
              display:block;
            }
            > div{
              /* background:var(--fff); */
              /* padding: 5rem; */
              
              
              form{
                dl{
                  display:flex;
                  flex-wrap: wrap;
                  border-top: 1px solid #e0e0e0;
                  > div{
                    display:flex;
                    width: 50%;
                  }
                  dt{
                    padding: 1.8rem 1rem 1.8rem 0;
                    font-weight: 600;
                    font-size: 1.6rem;
                    border-bottom: 1px solid #e0e0e0;
                    display: flex;
                    align-items: center;
                    background: #f9f9f9;
                    padding-left: 1.5rem;
                    flex-direction: column;
                    justify-content: center;
                    width: 14rem;
                    -moz-box-sizing: border-box;
                    -webkit-box-sizing: border-box;
                    box-sizing: border-box;
                  }
                  dd{
                    p{
                      display:flex;
                      margin: 0;
                    }
                    padding: 1.5rem;
                    border-bottom: 1px solid #e0e0e0;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 1rem;
                    width: calc(100% - 14rem);
                    -moz-box-sizing: border-box;
                    -webkit-box-sizing: border-box;
                    box-sizing: border-box;
                    div{
                      display:flex;
                      align-items: center;
                      gap: 1rem;
                    }
                    input[type="text"], 
                    input[type="password"],
                    input[type="tel"],
                    textarea{
                      padding: 1rem;
                      -moz-box-sizing: border-box;
                      -webkit-box-sizing: border-box;
                      box-sizing: border-box;
                      line-height: 3rem;
                      width: 100%;
                      border: 1px solid #e0e0e0;
                      border-radius: 1rem;
                      transition: border-color 0.3s;
                      font-size: 1.6rem;
                    }
                  }
                }
              }
            }
          }
        }
        @media (max-width: 768px) {
          > ul {
            flex-direction: column-reverse;
            > li{
              >img{
               display:block;
              }
              > div{
                padding: 0;
                
                
                form{
                  dl{
                     dt{
                        width:100%;
                        text-align:left;
                        align-items: baseline;
                        padding: 1rem 1rem;
                        font-size: 1.8rem;
                      }
                      dd{
                        width:100%;
                        display: flex;
                        flex-direction: column;
                        padding: 1rem 0;
                        input[type="text"], input[type="password"], input[type="tel"], textarea{
                     
                          font-size: 1.8rem;
                          border-radius:0;
                         
                        }
                         
                            .filebox.bs3-primary {
                              label{
                              font-size: 1.8rem;
                              padding: 1rem;
                              min-width: 6rem;
                              border-radius: 0;
                              }  
                              .upload-name{
                                width: 100%;
                                font-size: 1.8rem;
                                border-radius: 0;
                              }
                            }
                         
                        }
                    > div{
                      width:100%;
                      display: flex;
                      flex-direction: column;
                    }
                    
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
@media (max-width: 768px) {
colgroup .num {width: 50px;}
colgroup .sort {width: 21%;}
colgroup .review {width: 40%;}
colgroup .photo {width: 25%;}
colgroup .arrow {width: 3%;}
colgroup .name {width: 20%;}
colgroup .date {width: 16%;}
colgroup .answer {width: 26%;}


#sub table.line th {font-size: 1.8rem;}
#sub table.line {font-size:12px;margin-top: 25px;}
#sub table.line th {/* font-size:12px; */padding: 1rem 0;font-size: 1.8rem;min-width: 8rem;}
#sub table.line td{padding: 10px 5px;font-size: 1.8rem;}
#sub table.list td b{/* font-size: 10px; */}
#sub table.list td i{font-size: 14px;line-height: 17px;}
#sub table.line th + td {border-bottom: 1px solid #c9c9c9;}
#sub table.view .board_con {padding: 3rem 0;
                             > h4 {
    font-size: 2.6rem;
    }
}

.btn {padding:5px 15px;font-size: 1.8rem;}

}  

#sub table.new_review{
  img{
    max-width: 70px;
  }
}

.cases{
  .section_01{
    > .inwrap{
    padding-bottom: 0;
    }
    
  }

  .section_02{
    background: var(--BodyColor);
    > .inwrap{
      > h3{
        font-size: 3rem;
        text-align:center;
        color: var(--000);
        
      }
    }
    .owl-carousel {
      margin-top: 4rem;
      .item {
        background: var(--fff);
        border-radius: 2rem;
        padding: 2rem 2rem 5rem;
        position: relative;
        height: 24rem;
        text-align: left;
        
        .case_card {
          >span {
            font-size: 1.8rem;
            border-radius: 1rem;
            overflow: hidden;
            display: inline-block;
            em {
              background: var(--color_main);
              color: var(--fff);
              padding: .5rem 1rem;
              display: inline-block;
              &+em {
                background: var(--pointcolor);
              }
            }
          }
  
          > div.font {
            line-height: 1.6;
            color: var(--000);
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            p{
              margin-top:0;
            }
          }
  
          .stampWrap {
            color: #CD3333;
            font-size: 12rem;
            position: absolute;
            bottom: -1rem;
            right: -2rem;
            
            >div {
              position: relative;
  
              em {
                position: absolute;
                font-size: 2.4rem;
                font-weight: 800;
                max-width: 7rem;
                line-height: 1;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%) rotate(20deg);
                width: 100%;
                text-align: center;
              }
            }
          }
  
          h4 {
            font-size: 2.4rem;
            font-weight: 600;
            color: var(--000);
            margin-top: 1rem;
            margin-bottom: 1rem;
          }
  
  
        }
      }
    }
    .owl-nav{
      position: absolute;
      font-size: 5rem;
      left: 0;
      right: 0;
      margin-top: -24rem;
      
      button.owl-prev,
      button.owl-next {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1;
        cursor: pointer;
        width: auto;
        height: auto;
        color: var(--fff);
        position: absolute;
        left: -8rem;
        
      }
      button.owl-next{
        right: -8rem;
        left: auto;
      }
    }
  }
   .case_nav {
        overflow-x: auto;
        bottom: 2rem;
        padding: 0 2rem;
        display: flex;
        justify-content: center;
      }
  .cases_filter {
    width: max-content;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }
  .cases_filter a {
    display: inline-block;
    color: var(--000);
    font-size: 1.6rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 2rem;
    padding: 2rem 0;
    position: relative;
  }
  .cases_filter a:hover,
  .cases_filter a.active {
    color: var(--color_main);
    font-weight: 600;
    &:after{
      content:'';
      height: 3px;
      width:100%;
      background: var(--color_main);
      position: absolute;
      bottom: 0;
      left: 0;
    }
  }
  @media (max-width: 768px) {
    .case_nav{
      display: block;
    }
    .section_02{
      margin-top: -8rem;
      margin-bottom: -8rem;
      
      .inwrap{
        h3{
          font-size:2.4rem;
        }
      }
    }
  }

}


.column_list{
  display: flex;
  gap: 3rem 2%;
  flex-wrap: wrap;
  
  li{
    max-width: 23.5%;
    border-radius: 1rem;
    background: var(--BodyColor);
    overflow: hidden;

    a{
       display:block;
       position: relative;

      > b{
        position: absolute;
        right: 0;
        color: var(--fff);
        padding: 1rem;
        background: var(--color_main);
      }
        img{
          aspect-ratio: 4 / 3;
          width: 100%;
          object-fit: cover;
          object-position: center;
          display: block;
        }
        h3{
          font-size: 2rem;
          padding: 0rem 2rem;
          line-height: 5rem;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    
  } 
  @media (max-width: 768px) {
      gap: 1rem 2%;
    > li{
      max-width: 49%;
      a{
        h3{
           padding: 0rem 1rem;
           /* line-height: 3rem; */
        }
        }
      }
    }
  }
}


