@charset "UTF-8";


/*--------------------------------------

--------------------------------------*/
.tabs {
    max-width: 500px;
    margin: 10% auto;
}

.tab-list {
    width: fit-content;
    display: flex;
    padding: 5px;
    border-radius: 5rem;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tab-item {
    min-width: 300px;
    text-align: center;
    padding: 0.5em;
    border-radius: 5rem;
    cursor: pointer;
}

.tab-item.active {
    background-color: var(--gray);
    color: #fff;
}

.tab-content {
    margin-top: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

@media screen and (max-width: 700px) {
    .tab-list {
        width: 100%;
    }

    .tab-item {
        min-width: auto;
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    .tab-item {
        font-size: 14px;
    }
}

/*--------------------------------------
.search_map
--------------------------------------*/
.search_map {
    position: relative;
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 0 0 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.search-wrap span {
    color: #8f8f8f;
}

#result-count {
    color: #8f8f8f;
    font-size: 0.9em;
}

#keyword-search {
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    border: solid 1px #8f8f8f;
}

#area-filter {
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    border: solid 1px #8f8f8f;
}

#clear-search {
    appearance: none;
    border: none;
    border-radius: 5rem;
    font-size: 16px;
    padding: 0.5em 1em;
    background-color: #ddd;
}

#map {
    width: 100%;
    height: 500px;
    background-color: #fff;
}

#salon-detail {
    text-align: center;
    margin-top: 30px;
    padding: 5px 20px;
}

#salon-detail h2 {
    margin-bottom: 1em;
}

.salon-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

.salon-links a {
    min-width: 135px;
    padding: 8px 1.5em;
    /* border: 1px solid #ccc; */
    text-decoration: none;
    border-radius: 2px;
    background-color: #fff;
    border-radius: 5rem;
}

.salon_data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 0px 25px 5px;
}

.salon_name {
    font-weight: bold;
    font-size: 1.2em;
}

@media screen and (max-width: 700px) {
    .search-wrap {
        position: relative;
        flex-wrap: wrap;
    }

    #result-count {
        margin-left: auto;
    }

    #keyword-search {
        width: 100%;
    }

    #area-filter {
        width: 100%;
    }

    #map {
        height: 100vw;
    }
}

/*--------------------------------------
.search_list
--------------------------------------*/
.search_list .page-link {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0.5em;
    border-bottom: solid 1px var(--gray);
    margin-bottom: 30px;
}

.page-link a {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 5px;
    padding: 0.5em 1em;
    color: #898E97;
    font-size: 15px;
}

.search_list h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 0.3em 1em;
    border-left: solid 4px var(--title);
    color: #fff;
    background: transparent linear-gradient(90deg, #8E9BA7 0%, #8E9BA7 100%) 0% 0% no-repeat padding-box;
}

.search_list ul+h2 {
    margin-top: 50px;
}

.search_list li {
    padding: 10px;
    border-radius: 5px;
    border: solid 1px #fff;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 30px;
    grid-template-areas:
        "img salon-name"
        "img salon-data"
        "img btn-wrap";
    align-items: center;
}

.search_list li[data-model="1"]::before{
	content: "";
	position: absolute;
	top: 0;
	right: 10px;
	width: 163px;
	height: 27px;
	background-image: url(../img/volayon_model.png);
	background-position: top;
	background-repeat: no-repeat;
	background-size: contain;
	
}

.salon-name {
    grid-area: salon-name;
}

.salon-data {
    grid-area: salon-data;
    margin-top: 7px;
}

.btn-wrap {
    display: flex;
    grid-area: btn-wrap;
    gap: 10px;
    margin-top: 7px;
}

.search_list li+li {
    margin-top: 10px;
}

.search_list .img {
    grid-area: img;
    height: 160px;
    width: 160px;
    border-radius: 2px;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.search_list .name {
    width: 100%;
    font-size: 19px;
    margin-bottom: 5px;
    line-height: 1.2;
    font-weight: 500;
}

.search_list .kana {
    width: 100%;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.3;
}

.search_list .tel,
.search_list .address {
    display: flex;
    /* align-items: center; */
    gap: 2px 10px;
    position: relative;
    padding-left: 1.6em;
}

.search_list .address {
    width: 100%;
    font-size: 15px;
    line-height: 1.4;
	flex-wrap: wrap;
}

.search_list .tel {
    font-size: 15px;
    line-height: 1.4;
}

.search_list .tel+.address {
	margin-top: 4px;
}

.search_list .tel::before,
.search_list .address::before {
	font-size: 1.3em;
	color: var(--gray);
	line-height: 1.1;
	position: absolute;
	top: 0;
	left: 0;
}

.search_list .address .zip{
	flex-shrink: 0;
}

.search_list a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font: inherit !important;
    display: contents !important;
}

.search_list .btn-wrap a {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 5rem;
    border: solid 1px var(--gray);
    font-size: 14px;
    padding: 0.5em 1em;
}



@media screen and (max-width: 768px) {
    .search_list .name {
        font-size: 17px;
    }
	
	.search_list li[data-model="1"]::before{
		width: 133px;
		height: 27px;
		
	}
}

@media screen and (max-width: 600px) {
    .search_list li {
        grid-template-columns: 30vw 1fr;
        grid-template-rows: auto auto auto;
        gap: 13px 20px;
        grid-template-areas:
            "img salon-name"
            "salon-data salon-data"
            "btn-wrap btn-wrap";
    }

    .search_list .img {
        height: 30vw;
        width: 30vw;
    }

    .search_list .name {
        font-size: 16px;
    }

    .search_list .tel,
    .search_list .address {
        font-size: 14px;
    }

    .search_list .btn-wrap a {
        gap: 10px;
        width: calc((100% - 10px) / 2);
        padding: 0.7em 1em;
        font-size: 14px;
        justify-content: center;
    }
	
	.search_list li[data-model="1"]::before{
		width: 163px;
		height: 27px;
	}
}