/* 메인 비주얼 */
.main_visual {
    width: 100%;
    height: 100vh;
    background: url('/resources/images/index/visual.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}


.main_visual header h2 {

    color: #424242;
    font-weight: 700;
    font-size: 3.6em;
}


 /* 서브 페이지 공통 사항 */

.map_wrap {
    overflow: hidden;
}

/* sub local 페이지 */
.sub_local  {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 2em;
    opacity: 0.4;
    border-bottom: 1px solid #a9a9a9;
    margin-bottom: 1.875em;
}
.sub_local .item::after {
    content: ">";
    display: inline-block;
    padding: 0 20px;
}

.sub_local li {
    font-size: 0.75em;
}

.sub_desc {
    text-align: center;
    border-bottom: 1px dotted #eee;
    padding-bottom: 1em;
    margin: 2em;
    color:#4d4d4d;
}

 /* sub tilte  */
article:not(.sub) .sub_title {
    font-size: 2em;
    font-weight: 900;
    padding-bottom: 20px;
}

article:not(.sub) .sub_title .point{
    background: linear-gradient(180deg, #111111 60%, rgb(3, 0, 183) 60%);
    color: transparent;
    -webkit-background-clip: text
}

article:not(.sub) .sub_title .small {
    color: #414141;
    font-size: 0.7em;
}


 /* 서브페이지 content */
.sub_content{
    width: 80%;
    /* min-width: 800px;
    max-width: 850px; */
    margin:20px auto 90px;
    /* padding-left: 40px;  */
} 

.point { color: #0095da; }
.point_v2 { color: #90bcd1; }
.img {
    width:100%;
}
.sub_txtdesc{
    line-height:1.5;
}

article:not(.sub) .desc {
    font-size: 1.3em;
}

article:not(.sub) .desc .point {

    font-weight: 500;
}

/* 표 */
.sub_table{
    width:100%;
    text-align:center;
}
.sub_table thead{
    width:100%;
}
.sub_table thead th + th{
    padding-left: 20px;
}
/* //표 */

 /* //서브 페이지 공통 사항 */

 /* Common Sub Header */

.page_header {  
    width: 100%;
    height: 20vh;
    color: #fff;
    padding: 50px;
    background: url('/resources/images/sub/sub_visual.png') no-repeat center/cover;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}


.page_header .base-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

}

.page_header h2 {
    font-size: 2em;
}
 article + article {
    padding-top: 5.625em;
}

.company article:last-of-type {
    padding-bottom: 5.628em;
}





/* ==========1============ */
/* 회사소개 */
.company .txt_wrap{
    width: 100%;
    background: url("/resources/images/common/bg.svg")no-repeat center / contain;
    font-size: 1.5em;
    text-align: center;
    line-height: 1.5;
}

.txt_wrap .right {
    text-align: right;
}

.ceo_intro .img-wrap {
    width: 200px;
    display: flex;
    margin: 0 0 0 auto;
}

.company .sub {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid blue
}

.company .sub .inner_wrap {
    width: 50%;
}

.company .sub .title {
    width: 25%;
    font-size: 1.2em;
    font-weight: 500;
    color: #080829;
}

.company .sub .desc {
  width: 75%;
}


.company .sub .step1 {
    gap: 0.4em;
}

.company .sub .step1 .gray {
    color:#727272;
    font-size: 1.1em;
}

.company .sub .txt-wrap {
    gap: 0.4em;
}
.company .sub .txt-wrap .txt {
    position: relative;
    color: #727272;
    
}

.company .sub .txt-wrap .txt::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #727272;
    border-radius: 9999px;
}


/* 연혁 */
.history_wrap {
    position: relative;
    padding-left: 1em;
    gap: 1.875em;
    font-size: 1.25em;
    background: url('/resources/images/sub/history_bg.png')no-repeat center/ contain;
}

.history_wrap::after{
    content: '한일소방이 늘 함께합니다';
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    font-size: 2em;
    text-shadow: 3px 3px 6px;

}

.history_wrap .txt-wrap {
    position: relative;
    gap: 1.25em;
}

.history_wrap .txt-wrap::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    height: 1px;
    background: #5c5c5c;
    margin-right: 5px;
}

.history_wrap .year {
    font-size: 1.5em;
    font-weight: 600;
    color:#3d3d3d
}

.history_wrap .item-wrap {
    gap: 30px;
}


.history_wrap .item {
    gap: 2.5em;
    align-items: center;
}



/* 등록증 및 자격증 */

.certi-wrap .item-wrap {
    flex-wrap: wrap;
    gap: 20px;
}

.certi-wrap .item-wrap .item {
    width: calc((100% - (20px * 5)) / 6);
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.certi-wrap .item-wrap .img-wrap {
    border: 1px solid #eee;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.certi-wrap .item-wrap .item .txt {
    position: relative;
    top: 0.5em;
    font-size: 1.4em;
    text-align: center;
}
 
.certi-wrap .item-wrap .item4 .txt {
 font-size: 0.875em;
}

/* .certi-wrap .item-wrap .item .txt::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: rgb(3, 0, 183);
    border-radius: 9999px;
} */



/* 찾아오는길 */

.map_wrap {
    gap: 20px;
}

.map_wrap .item-wrap {
    gap: 2em;
}

.map_wrap .txt-wrap {
    position: relative;
    gap: 0.625em;
    background: #e3e3e3;
    padding: 10px;
}

.map_wrap .txt-wrap::after {
    content: 'Head office';
    position: absolute;
    right: 10px;
    bottom: 0;
    font-size: 3em;
    font-style: italic;
    color: rgba(0, 0, 0, 0.2);
    line-height: 1em;
    display: block;
    text-shadow: 3px 3px 6px;
}

.map_wrap .sub .txt-wrap::after {
    content: 'Branch office';
}

.map_wrap .title {
    font-size: 1.5em;
    font-weight: 700;
}

.map_wrap .txt {
    position: relative;
    left: 3em;
        padding-right: 50px;
}

.map_wrap .txt::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(-1 * (2.5em));
    transform: translateY(-50%);
    width: 1.5em;
    height: 1.5em;
}

.map_wrap .adress::before {
    background: url('/resources/images/sub/location.svg')no-repeat center/ contain
}

.map_wrap .mail::before {
    background: url('/resources/images/sub/mail.svg')no-repeat center/ contain
}

.map_wrap .fax::before {
    background: url('/resources/images/sub/fax.svg')no-repeat center/ contain
}

.map_wrap .tel::before {
    background: url('/resources/images/sub/call.svg')no-repeat center/ contain
}




/* ==========2============ */

/* 사업소개 */
.business1 .service .item-wrap {
    gap: 1.25em;
}


.business1 .service .item {
    width: calc(100% - 1.25em);
    height: 10em;
    color: #fff;
    background: #b1b1b1;
    justify-content: center;
    align-items: center;
    gap: 0.75em;
    border-radius: 20px;
    text-align: center;
}


.business1 .service .item .img-wrap {
    width: 6em;
}

.business1  .result {
    margin-bottom: 90px;
}

.business1  .result .item-wrap {
    gap: 10px;
}

.business1  .result .item{
    position: relative;
    left: 10px;
}
.business1  .result.step1 .item-wrap {
    gap: 5em;
}

.business1  .result.step1 .inner_wrap {
    gap: 5px;
}

.business1  .result .item::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: rgb(3, 0, 183);
    border-radius: 9999px;
}
.business2 .btn-wrap  {
    gap: 20px;
    margin-bottom: 2em;
}

.result .txt-wrap {
    width: calc((100% - (10px * 3)) / 4);
}

.result .txt-wrap > ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result .date {
    font-weight: 700;
    color: red;
    font-size: 1.2em;
    padding-bottom: 1em;
}

.business2 .btn-wrap  {
    gap: 20px;
    margin-bottom: 2em;
}


.business2 .btn-wrap .btn {
    width: calc((100% - (20px * 2)) / 3);
    height: 2em;
    font-size: 1.5em;
    justify-content: center;
    background: #eee;
    color: #6f6f6f;
    align-items: center;
}

.business2 .btn-wrap .on {
    color: #fff;
    background: #43415f;
    font-weight: 500;
}

.business2_1 .service .item {
    height: 13em;
}


/* 인벤토리 */

.inventory_sum a {
    display: block;
    width: 100%;
    height: 100%;
}

.inventory_title {
    padding: 5px 0 20px;
    font-size:0.9em;
}
.gallery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.gallery-list li {
    width: calc((100% - (30px * 3)) / 4);
}

.gallery-list .thum {
    width: 100%;
}

.gallery-list img {
    width: 100%;
}



/* ==========3============ */
/* experience_1 */
article:not(.sub) .sub_title {
    padding-bottom: 1em;
}

.sub_content .sub_titleDesc {
    padding-bottom: 20px;
}

/* 탭버튼 */
.experience_1 .btn_tab .btn{
    border: 1px solid #353535;
    padding: 1% 11%;
    margin-bottom: 30px;
}

/* 탭 기능 */
.experience_1 .btn_tab .on{
    background: #353535;
    color:#fff;
    border:1px solid #fff;
}

.experience_1 .btn_active{
    display: none;
}

.experience_1 .active{
    display: inline-block;
}
/* //탭 기능 */
/* //탭버튼 */

.experience_1 .point{
    font-size: 1.5em;
    padding-bottom: 5px;
}

/* 표 */
.experience_1  dt {
    font-size: 1.2em
}

.experience_1  dl {
    padding-bottom: 30px;
}

.experience_1 dd::before{
    content: "-";
    margin-right: 20px;
}
/* //표 */



/* ==========4============ */
/* experience_2 */
.experience_2 table {
    text-align: left;
}
.experience_2 .experience2_sum{
    width:100px;
    height:180px;
}

/* ==========5============ */
/* experience_2 */
.contact .contact_wrap {
    display: flex;
    gap:70px;
    align-items:center;

}
.contact .txt_wrap{
    position: relative;
    left: 40px;
    margin: 20px 0;
}
.contact .txt_wrap::before {
    content:'';
    display: inline-block;
    position: absolute;
    top:50%;
    left: -40px;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: url('/resources/images/common/icon_cellphone.png') no-repeat center/contain;
}
.contact .e_mail::before {
    content:'';
    display: inline-block;
    position: absolute;
    top:50%;
    left: -40px;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: url('/resources/images/common/icon_email.png') no-repeat center/contain;
}

.contact .e_mail {
    text-decoration: underline;
}
.experience_2 .experience2_sum{
    width:100px;
    height:180px;
}

/* --------------------공지사항-------------------- */

/* .notice .page_header {
    margin-bottom: 5em;
} */

.notice .list-box {
    margin-bottom: 5em;
}

.notice .list_title {
    flex-direction: column;
    gap: 10px;
}

.notice .list-box .item {
    position: relative;
    width: 100%;
    height:100%;
}


.notice  .item .item_btn:hover {
    background: #050047;
}

.notice  .item .item_btn {
    width: 100%;
    height: 5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #eee;
    font-size: 1.5em;
}

.notice .list-box .item:hover .item_btn{
    color: #fff;
}


.notice  .item .txt_wrap { 
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 3em;
}

.notice  .active .item_btn{
    background: #050047;
    color: #fff;
}

.notice  .active.item .txt_wrap {
    display: inline-block;
}



.mobile {
    display: none;
}



.comntact_btn {
    display: inline-block;
    position: fixed;
    right: 10%;
    bottom: 10%;
    width: 10em;
}


.form label {
    font-size: 1.2em;
    padding-bottom: 1em;
}


.form input:not(.checkbox) {
    width: 100%;
    height: 40px;
    padding:10px;
    border-radius: 10px;
    border: 1px solid #d4d4d4;
    margin-top: 5px;
}

.form textarea {
    width: 100%;
    min-height: 50px;
    padding:10px;
    
    border-radius: 10px;
    border: 1px solid #d4d4d4;
    margin-top: 5px;
}

.form .frame {
  width: 90%;
  margin: 20px auto 50px;
  text-align: center;
}
.form button {
  margin: 20px;
}
.contact .custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}


.btn-3 {
  background: rgb(0,172,238);
background: linear-gradient(0deg, rgba(0,172,238,1) 0%, rgba(2,126,251,1) 100%);
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;
  
}
.btn-3 span {
     position: absolute;
    display: inline-block;
    width: 130px;
    height: 40px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    text-align: center;
}
.btn-3:before,
.btn-3:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
   background: rgba(2,126,251,1);
  transition: all 0.3s ease;
}
.btn-3:before {
  height: 0%;
  width: 2px;
}
.btn-3:after {
  width: 0%;
  height: 2px;
}
.btn-3:hover{
   background: transparent;
  box-shadow: none;
}
.btn-3:hover:before {
  height: 100%;
}
.btn-3:hover:after {
  width: 100%;
}
.btn-3 span:hover{
   color: rgba(2,126,251,1);
}
.btn-3 span:before,
.btn-3 span:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
   background: rgba(2,126,251,1);
  transition: all 0.3s ease;
}
.btn-3 span:before {
  width: 2px;
  height: 0%;
}
.btn-3 span:after {
  width: 0%;
  height: 2px;
}
.btn-3 span:hover:before {
  height: 100%;
}
.btn-3 span:hover:after {
  width: 100%;
}

.agreeChkWrap {
    padding-bottom: 2em;
}
.guest_privacy {
    border: 1px solid #ccc;
    text-align: left;
    line-height: 1.6em;
    color: #666;
    background: #fafafa;
    padding: 10px;
    height: 150px;
    margin: 0 0 10px;
    overflow-y: auto;
    width: 100%;
}





.patent .patent_step {
    padding-bottom: 10em;
  }
  
  
  .patent .patent_step .item-wrap {
    flex-wrap: wrap;
    gap: 1.6667em;
  }
  
  .patent .patent_step .item-wrap .img-wrap {
    width: 100%;
    border: 1px solid #E5E5E5;
  }
  
  .patent .patent_step .item .img-wrap:hover::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    width: 2.6667em;
    height: 2.6667em;
    background: url('/resources/images/common/patenet_icon.svg');
  }
  
  .patent .patent_step .item .img-wrap:hover::after {
    content: '특허증 상세보기';
    display: inline-block;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    color: #fff;
    font-weight: 500;
    font-size: 1.06667em;
  }
  
  .patent .patent_step .item {
    position: relative;
    width: calc((100% - (1.6667em * 3))/ 4);
    gap: 1em;
  }
  
  .patent .patent_step .item .img-wrap {
    position: relative;
    cursor: pointer;
  }
  
  .patent .patent_step .item .img-wrap:hover img{
    filter: brightness(0.3);
  }
  .patent .item .title {
    font-weight: 500;
    font-size: 1.0667em;
  }
  
  .patent .item img {
    height: 100%;
  }
  
  .patent .icon-wrap {
    width: 2em;
  }


/* modal */
.modal-wrap {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
  
  }
  
  .modal-content {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 43.3334em;
    border-radius: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .modal-content header {
  width: 100%;
  height: 3.3334em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #233b66;
  color: #fff;
  padding: 0 2em;
  box-sizing: border-box;
  }
  
  
  
  .modal-content header i {
    font-size: 2em;
    color: #fff;
  }
  
  .modal-content .close-btn {
    background-color: transparent;
  }
  
  .modal-content .scroll-wrap {
  background-color: #fff;
  max-height: 80vh;
  padding: 2em;
  overflow-y: scroll;
  }
  
  .modal-content .scroll-wrap::-webkit-scrollbar {
  width: 8px;
  }
  
  .modal-content .scroll-wrap::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 10px;
  background-clip: padding-box;
  border: 2px solid transparent;
  }
  .modal-content .scroll-wrap::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 10px;
  }
  
  
  .modal-content .content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6667em;
  }
  
  .modal-content .thum {
    display: flex;
        justify-content: center;
        align-items: center;
  }
  