/* 头部 */
.on{
    border-bottom: 3px solid #222;
}


.head{
    width: 100%;
    height: 200px;
    position: relative;
}
.head > .first{
    position: absolute;
    right: 0;
}
.head > .first >a {
    padding: 10px 30px; 
    font-size: 16px;
}
.head > .first>a:first-child{
    border: 1px solid #d8d8d8;
    margin-right: -5px;
}
.head > .first >a:last-child{
    background-color: #111;
    border: 1px solid #111;
    color: #fff;
    text-align: center;
    line-height: 40px;
}
.head > .first>a:first-child:hover{
    color: #d8d8d8;
}
.head > .first >a:last-child:hover{
    background-color: #d8d8d8;
    border: 1px solid #d8d8d8;
}
.head > .second {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    margin: auto;
    width: 270px;
    height: 128px;
    /* background-color: pink; */
}
.head > .second >a{
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/image/logo.svg) center 0 no-repeat;
    background-size: 100% auto;
    overflow: hidden;
}




#header{
	min-width:1020px; 
    height:100px; 
    position:relative; 
    z-index:991; 
    padding:0 0 0;
    box-sizing:border-box; 
	/* background:#fff;  */
    line-height:1; 
    transition:0.2s ease-in-out; 
    transition-property:background-color,border-color;
}
#header > h1 {
    width:270px; 
    position:relative; 
    z-index:9902; 
    margin:0 auto; 
    transition:opacity 0.2s ease-in-out;
}
#header > h1 > a {
    display:block; 
    height:0; 
    padding:128px 0 0; 
    /* background:url(../image/logo.svg) center 0 no-repeat;  */
    /* background-size:100% auto;  */
    overflow:hidden;
}
#header > .nav {
    width:100%; 
    margin:0 auto;
    /* position: fixed;top: 0; */
}
#header > .nav a {
    display:block; 
    text-decoration:none;
}
#header > .nav a:hover {
    opacity:0.5;
}
#header > .nav > h1 {
    display:none;
}
#header > .nav > ul {
    display: flex;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 500;
    width: 60%;
    margin: 0 auto;
    border-bottom: 1px solid #111;
    /* background-color: pink; */
}
#header > .nav > ul > li {
    padding:34px 14px 36px;
    font-size: 14px;
   margin: auto;
}
#header > .nav > ul > li > a, #header > .nav > ul > li > b {
    display:block; 
    position:relative; 
    z-index:9903; 
    margin:-34px -14px -36px; 
    padding:inherit; 
    text-decoration:none;
}
#header > .nav > ul > li > a::after, #header > .nav > ul > li > b::after {
	display:block; 
    content:""; 
    height:3px; 
    position:absolute; 
    left:14px; 
    right:14px; 
    bottom:-1px; 
    background:#000; 
    opacity:0; 
    overflow:hidden;
}
#header > .nav > ul > li > ul {
    display:none;
}
#header > .nav > ul > li.top {
    display:none;
}
#header > .nav > ul > li.selected > a::after, #header > .nav > ul > li.selected > b::after {
    animation:header-nav-current 0.3s ease-in-out 0.1s forwards;
}
#header > .nav .dropdwn_menu {
    width: 100%; 
    background: #f7f7f7; 
    position: absolute; 
    bottom: -201px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 100; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity .3s cubic-bezier(.04, .61, .58, 1) .1s;
}

.gallery{
    margin-left: 20px;
}
#header .for-salon{
    width: 135px;
    /* height: 70px; */
    position: relative;
    right: 0;
    top: 0;
    padding: 20px 10px;
    box-sizing: border-box;
    background-color: black;
}
.for-salon > a {
    color:white;
    height: 100%;
    margin: 0;
    align-items: center;
}

#header > .nav > ul > li.for-salon > a::after {
    display:none;
}
#header > .nav > ul > li.for-salon > a:hover {
    background-color:#8e8e8e; 
    opacity:1;
}
#header .beauty-city{
    padding: 0;
    background-color: #fff;
}
.beauty-city > a{
    display: block;
    margin: auto 0;
    padding: 0 14px 0!important;
}
.beauty-city > a >b{
    display:block; 
    height:0;   
    left:0; 
    right:0; 
    top:0; 
    border:1px solid #e7e7e7; 
    border-width:0 0 0 1px; 
	background:url(../img/logo_beauty-city.svg) center center no-repeat; 
    background-size:80% auto; 
    overflow:hidden;
    position: static;
    margin: 0 10px;
    padding: 43px 0 0;
    border-width: 0 0 1px;
    background-size: contain;
}
.beauty-city > a >i{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    font-size: 10px!important;
    letter-spacing: 0;
    color: #000;
}
#footer > .nav .dropdwn_menu {
    display: none;
}
#header > .nav .dropdwn_menu {
    width: 100%; 
    background: #f7f7f7; 
    position: absolute; 
    bottom: -201px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 100; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity .3s cubic-bezier(.04, .61, .58, 1) .1s;
}
#header > .nav .dropdwn:hover .dropdwn_menu {
    opacity: 1; 
    visibility: visible;
}
#header > .nav .dropdwn_menu-list {
    width: 940px; 
    padding: 40px 0; 
    margin: 0 auto; 
    display: flex;
}
#header > .nav .dropdwn_menu-item {
    width: 460px;
}
#header > .nav .dropdwn_menu-item:nth-child(2) {
    margin-left: 20px;
}
#header > .nav .dropdwn_menu-item > a {
    display: flex;
}
#header > .nav .dropdwn_menu-item > a > .image {
    width: 240px;
    margin: 0;
}

#header > .nav .dropdwn_menu-item > a > .image > img {
    width: 100%;
    height: auto;
}
#header > .nav .dropdwn_menu-item > a > .text {
    background: #fff;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 220px; 
    height: 120px;
    text-align: center;
    color: #000;
}
#header > .nav .dropdwn_menu-item > a > .text > h1 {
    font-size: 20px;
    font-family: "Libre Baskerville",serif;
    font-weight: 500;
    letter-spacing: 0.04em; 
    line-height: 1;
}
#header > .nav .dropdwn_menu-item > a > .text > p {
    font-size: 12px; 
    letter-spacing: 0.05em; 
    margin-top: 11px;
    font-feature-settings: 'palt';
    line-height: 1.8333;
}

@media screen and (max-width:599px) {
	#header > .nav .dropdwn_menu {
        width: 100%; 
        background: #ebebeb; 
        position: static;
        transform: translateX(0); 
        opacity: 1; 
        visibility: visible;
    }
	#header > .nav .dropdwn_menu-list {
        width: 100%; 
        padding: 6vw 0 0; 
        margin: 0 auto; 
        display: block;
    }
	#header > .nav .dropdwn_menu-item {
        width: 100%;
    }
	#header > .nav .dropdwn_menu-item:nth-child(2) {
        margin-left: 0; 
        margin-top: 5vw;
    }
	#header > .nav .dropdwn_menu-item > a {
        display: flex;
    }
	#header > .nav .dropdwn_menu-item > a > .image {
        width: 42vw;
    }
	#header > .nav .dropdwn_menu-item > a > .text { 
        width: 42vw; 
        height: 22.666vw;
    }
	#header > .nav .dropdwn_menu-item > a > .text > h1 {
        font-size: 1.1rem;
    }
	#header > .nav .dropdwn_menu-item > a > .text > p {
        font-size: 0.8rem; 
        margin-top: 13px;
    }
}
/* #main_ */

#main_ {display:block; width:940px; margin:0 auto; position:relative;}
#main_::after {display:block; content:""; clear:both; height:0;}

@media screen and (max-width:599px) {
#main_ {width:auto; padding:0 8vw; overflow:hidden;}

}
.h_title{
    margin: 20px 0 20px 20%;
}
.h_title a{
    font-size: 16px;
    color: #888;
}
.h_title a:hover{
    color: #111;
}
.h_title a:first-child{
    margin-left: 50%;
}
.more > .more_1{
    display: flex;
    justify-content: center;
    align-items: center;
    content: "\e821";
    width: 1.8em;
    height: 1.8em;
    padding: 0 0 0.05em 0.1em;
    border-radius: 2em;
    box-sizing: border-box;
    font: bold 1.6em/1 icons;
    transition: border-color 0.2s ease-in-out 0s;
}










/* for_salon              beauty_city*/
.for_salon ,.beauty_city{
    position: relative;
    z-index: 9;
    width: 100%;
    height: 360px;
    background-color: white;
}
.for_salon > a {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #111;
    width: 68%;
    height: 253px;
}
.for_salon > a > .for_img,.beauty_city > a >.city_img{
    float: left;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.for_salon > a > .for_img>img,.beauty_city > a >.city_img>img{
    width: 100%;
    height: 100%;
    transition: all 1s;
}
.for_salon > a:hover img,.beauty_city > a:hover img{
    transform: scale(1.095);
    
}
.for_salon > a:hover .for_page,.beauty_city > a:hover .city_page{
    color: #888;
}
.for_salon > a >.for_page ,.beauty_city > a >.city_page{
    color: #fff;
    width: 50%;
    float: left;
}
.for_salon > a >.for_page >h1{
    margin: 50px auto 0;
    text-align: center;
    font-size: 36px;
}
.for_salon > a >.for_page > p ,.beauty_city > a >.city_page >p{
    font-size: 14px;
    letter-spacing:3px;
    text-align: center;
    margin-top: 10px;
}
.beauty_city >a{
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #f7f7f7;
    width: 68%;
    height: 253px;
    border: 1px solid #d8d8d8;
}
.beauty_city > a >.city_page{
    height: 100%;
    color: #111;
    background-color: #dddada;
}
.beauty_city > a >.city_page >p:first-child{
    margin-top: 18%;
}

/* salon_search */
.salon_search{
    float: left;
    position: relative;
    width: 100%;
    height: 400px;
    z-index: 9;
    background-color: white;
}
.salon_search >div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    /* background-color: pink; */
    width: 68%;
    height: 253px;
}
.salon_search >div > .left,.salon_search >div > .right{
    float: left;
}
.salon_search >div > .left{
    width: 20%;
    margin-right: 12%;
}
.salon_search >div > .left > h1 {
    font-weight: 600;
    letter-spacing:3px;
    margin-top: 10px;
}
.salon_search >div >.right > p{
    font-size: 14px;
    line-height: 30px;
    letter-spacing:3px;
}
.salon_search >div >.right > p:first-child{
    margin-top: 10px;
}
.salon_search >div >.right > p:nth-child(3){
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}
.salon_search > div >.right > form > .select > select {
    width: 85%;
    padding: 0.6em 0;
    border-bottom: 1px solid #111;
    border-radius: 0;
    background: transparent;
    float: left;
}
.salon_form> div >.right >form> .select {
    flex: 1 1 100%;
    position: relative;
}
.salon_search > div >.right> form > .search {
    float: left;
    margin-left: 10px;
    padding: 0.7em 2.1em;
    border-radius: 2em;
    outline: none;
    background: #111;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.4s ease-in-out;
}












/* 页脚 */
#footer {
    position: relative;
    float: left;
    width: 100%;
    height: 360px;
    background-color: #ebebeb;
}
#footer > .f-img {
    position: absolute;
    left: 210px;
    top: 60px;
}

#footer > .f-img > a > .bg1{
    width: 250px;
    height: 135px;
    background:url(../img/logo.svg) no-repeat;
    background-size: 100% 100%;
    overflow:hidden;
}
#footer > .f-img > a >.bg2 {
    width: 250px;
    height: 39px;
    background:url(../img/lead.svg) center 0 no-repeat;
    overflow:hidden;
}
#footer > .f-nav{
    position: absolute;
    left: 37%;
    top: 55px;
    width: 30%;
    border-right: 1px solid #d8d8d8;
}
#footer > .f-nav ul{
    width: 100%;
}
#footer > .f-nav ul li{
    float: left;
    width: 23%;
    font-size: 16px;
    margin-right: 9.5%;
    margin-top: 20px;
}
#footer > .f-nav ul li:last-child{
    width: 29%;
}
#footer > .f-nav ul li > a{
    display: block;
}
#footer > .f-nav ul li span{
    font-size: 12px;
}
#footer > .f-nav ul li span > a{
    display: block;
    margin-top: 3px;
    color: #888;
}
#footer > .f-nav ul li > a:hover,#footer > .f-nav ul li span > a:hover{
    color: rgb(204, 200, 200);
}
#footer > .f-nav2 {
    position: absolute;
    top: 55px;
    left: 71%;
    width: 10%;
}
#footer > .f-nav2 ul{
    width: 89%;
}
#footer > .f-nav2 ul li{
    float: left;
    width: 100%;
    font-size: 16px;
    margin-right: 9.5%;
    margin-top: 20px;
}
#footer > .f-nav2 ul li .xq{
    font-size: 12px;
    width: 48%;
}
#footer > .f-nav2 ul li .xq a {
    display: block;
    margin-top: 5px;
    color: #888;
}
#footer > .f-nav2 ul li > a:hover,#footer > .f-nav2 ul li span > a:hover{
    color: rgb(204, 200, 200);
}









#footer2{
    float: left;
    width: 100%;
    height: 85px;
    background-color: black;
    position: relative;
}
#footer2 > .f-img2{
    float: left;
}
#footer2 > .f-title{
    float: right;
}
#footer2 > .f-img2 > a > img{
    height: 100%;
    width: 170px;
    padding: 20px 0 10px 30px;

}
#footer2 > .f-title >ul {
    display: flex;
    margin: 30px 0 0 8px;
    font-size: 12px;
    font-family: Jost,sans-serif;
    letter-spacing: 0.06em;
}
#footer2 > .f-title >ul >li{
    padding-left: 24px;
    color: #4c4c4c;
}
#footer2 > .f-title >ul >li >a{
    color: white;
}
#footer2 > .f-title >ul > .copyright{
    margin-left: 450px;
    color: white;
}