﻿#bg_search {
  position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    transform: scale(0, 0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
body.openSearch #bg_search{
   opacity: 1;
    visibility: visible;
    transform: scale(1, 1);
}
body.openSearch {
    overflow: hidden;
}
.h_search_group{	display:none;}
.h_search_ttl{ margin: 0;
    color: var(--scolor);
    font-size: 20px;cursor:pointer;}

	.h_search_main{


    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	
}
body.openSearch .h_search_group{display:block;}
.h_search_form{
position: relative;
    padding: 15px 30px;
    background: #7a7a7abf;
    border-radius: 10px;
    width: 500px;
    display: flex;
    justify-content: space-between;
}
.h_search_form input, .h_search_form button{
    background: none;
    border: none;
   color: #adadad;
}
.h_search_form input{width: calc(100% - 30px);}
.h_search_form input::placeholder{color: #adadad;}
.h_search_form button{
	
	position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    display: block;
    cursor: pointer;
}
#btn_search_close{right: -50px;}

@media (max-width: 768px) {
	
	.h_search{padding-right: 25px;}
	.h_search_form{width:80%;}
}