.salon_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.salon_switch {
    display: flex;
    gap: 1rem;
}
.archive-salon_search {
    margin-top: 6rem;
}
/*
.salon_search_box {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--black);
}
*/
.salon_input_wrap {
    display: flex;
    gap: 1.5rem;
}
.search_icon {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
}
.search_input {
    flex: 1;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}
.salon_search_tab {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.salon_switch_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tab_btn,
.salon_switch_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 13.3rem;
    height: 6.5rem;
    padding-inline: 1rem;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    border-radius: var(--corner-radius);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.tab_btn.is-active,
.salon_switch_btn.is-active {
    background-color: var(--main-color);
    color: #fff;
}
span.tab_label,
span.switch_label {
    font-size: 1.8rem;
    font-family: var(--font-aktiv-grotesk);
    line-height: 1;
}
span.tab_sublabel,
span.switch_sublabel {
    display: block;
    padding-top: 0.75rem;
        font-size: 0.95rem;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--black);
    text-align: center;
}
.tab_btn.is-active .tab_sublabel,
.salon_switch_btn.is-active .switch_sublabel {
    color: #fff;
}
.salon_search_feature {
    margin-top: 4rem;
    border-radius: var(--corner-radius);
    overflow: hidden;
}
.feature_toggle {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 3rem;
    cursor: pointer;
    background-color: rgba(51, 51, 51, 0.13);
}
.feature_panel {
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(51, 51, 51, 0.13);
}
.search_form_feature {
    margin-top: 0;
    padding: 2rem 3rem 2.5rem;
}
.feature_text {
    flex: 1;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}
.toggle_arrow {
    width: 1.7rem;
    height: 0.825rem;
    transition: transform 0.3s ease;
}
.toggle_arrow.open {
    transform: rotate(180deg);
}
.salon_search_btn {
    margin-top: 4rem;
}
.salon_search_btn .search_icon {
    position: absolute;
    left: 1.4rem;
}
@media (max-width: 767px) {
    .wrapper {
        padding-inline: 2rem;
        overflow: hidden;
    }
    .salon_top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .salon_switch {
    margin-top: 15px;
    }
    .archive-salon_search {
        margin-top: 4.5rem;
    }
    .search_icon {
        display: none;
    }
    .salon_search_box {
        padding-bottom: 1rem;
        border-bottom: none;
    }
    .salon_search_tab {
    	margin-top: 0rem;
        margin-right: calc(50% - 50vw);
        padding-right: 2.4rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .salon_search_tab .tab_btn {
        flex: 0 0 11rem;
    }
    .salon_search_feature {
        margin-top: 2rem;
    }
    .feature_text {
        font-size: 1.3rem;
    }
    .feature_toggle {
        padding: 1.5rem 2rem;
    }
    .salon_search_btn {
        margin-top: 2rem;
    }
    .search_form_feature {
        padding: 0.5rem 2rem 2rem;
    }
    .tab_label,
    .switch_label {
        font-size: 1.5rem!important;
    }
    .tab_sublabel,
    .switch_sublabel {
        padding-top: 0.5rem!important;
        font-size: 1.25rem!important;
    }
    .tab_btn,
    .salon_switch_btn {
        width: 11rem!important;
	    height: 5.7rem!important;
    }
}

.salon_cont {
    margin: 10rem 0 12rem;
    scroll-margin-top: 10rem;
}
.salon_area_item:nth-of-type(n + 2) {
    margin-top: 10rem;
}
.salon_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 3rem;
    margin-top: 2rem;
}
.salon_item{
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    gap: 0;
}
.salon_thumb_image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.salon_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}
.salon_name {
    font-size: 2rem;
    letter-spacing: 0.01em;
}
.salon_area_dtl {
    position: relative;
    color: var(--main-color);
}
.salon_area_dtl::before {
    content: "";
    position: absolute;
    top: -2px;
    width: 0.9rem;
    height: 1.4rem;
    background-image: url(../img/icon/map-point.svg);
    background-size: cover;
    background-repeat: no-repeat;
}
.salon_area_dtl_text {
    padding-left: 1.75rem;
}
.salon_address {
    margin-top: 2rem;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}
.salon_address > .salon_code { 
 display: block;
 margin-bottom: 3px;
  font-size: .95rem;
}
.salon_tel {
    position: relative;
    display: block;
    margin-top: 2rem;
    font-family: var(--font-aktiv-grotesk);
    font-size: 1.6rem;
    line-height: 1.2;
}
.salon_tel::before {
    content: "";
    position: absolute;
    top: 5px;
    width: 1.1rem;
    height: 1.1rem;
    background-image: url(../img/icon/tel-black.svg);
    background-size: cover;
    background-repeat: no-repeat;
}
.salon_tel_num {
    padding-left: 2rem;
}
.salon_cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.salon_cta_btn {
    flex: 1;
    display: grid;
    place-items: center;
    width: 16.8rem;
    height: 4.5rem;
    background-color: rgba(51, 51, 51, 0.13);
    border-radius: var(--corner-radius);
}
.salon_cta_link {
    display: block;
}
.salon_cta_text {
    position: relative;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}
.salon_cta_reserve {
    position: relative;
    background-color: var(--main-color);
    color: #fff;
}
.salon_cta_reserve::before {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 4rem;
    transform: translateY(-50%);
    width: 1.3rem;
    height: 1.2rem;
    background-image: url(../img/icon/reserve-white.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
.salon_cta_reserve .salon_cta_link {
    margin-left: 1rem;
}
@media (max-width: 767px) {
    .salon_cont {
        margin: 8rem 0;
        scroll-margin-top: 6rem;
    }
    .salon_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 2rem;
    }
    .salon_box {
        flex-direction: column-reverse;
        align-items: flex-start;
                gap: 0.8rem;
    }
    .salon_name {
        font-size: 1.8rem;
    }
    .salon_address {
        font-size: 1.1rem;
    }
    .salon_area_item:nth-of-type(n + 2) {
        margin-top: 8rem;
    }
    .salon_area_dtl::before {
        top: 0;
        width: 0.7rem;
        height: 1.1rem;
    }
    .salon_area_dtl_text {
        padding-left: 1.25rem;
        font-size: 1.1rem;
    }
    .salon_tel {
        margin-top: 0.5rem;
        line-height: 1;
    }
    .salon_tel::before {
            transform: translateY(-4px);
        top: 10px;
        width: 0.8rem;
        height: 0.8rem;
    }
    .salon_tel_num {
        padding-left: 1.5rem;
        font-size: 1.1rem;
    }
    .salon_cta {
        display: block;
        margin-top: 1.5rem;
    }
    .salon_cta_btn {
        width: 100%;
        height: 4rem;
    }
    .salon_cta_reserve {
        margin-top: 1rem;
    }
}
