/* ------------------------------------------------------------------------------------------------------------------ */

/* 検索ページ */
.cs-custom-search-page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    font-weight: 500;
}

.cs-custom-search-page-content {
    height: 100%;
    overflow-y: auto;
}

.cs-custom-search-page-content-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
    margin-top: 40px;
}

.cs-custom-search-header {
    display: flex;
    border-bottom: 1px solid #AAAAAC;
    z-index: 10;
    width: 100%;
    flex-direction: column;
    margin-top: 40px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.open-detailed-conditions-modal-button {
    color: #535353;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    gap: 0px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    height: 40px;
    align-items: center;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    margin-top: 10px;
}

.open-detailed-conditions-modal-button-image {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.open-detailed-conditions-modal-button img {
    width: 100%;
    height: 100%;
}



.open-date-conditions-modal-button {
    color: #535353;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    gap: 0px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    height: 40px;
    align-items: center;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    margin-top: 10px;
}

.open-date-conditions-modal-button-day {
    display: flex;
    flex-direction: row;
    align-items: center;
}



.open-date-conditions-modal-button-image {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.open-date-conditions-modal-button img {
    width: 100%;
    height: 100%;
}

.cs-selected-date-content {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

#cs-selected-date {
    font-size: 0.875rem;
    width: 85px;
    margin-left: 10px;
    text-align: left;
    color: #7D40A0;
}

#cs-selected-time {
    font-size: 0.875rem;
    width: 85px;
    margin-left: 10px;
    text-align: left;
    color: #7D40A0;
}

.cs-date-picker {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.selected-detailed-conditions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    margin-left: 5px;
    flex-grow: 1;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.selected-detailed-conditions::-webkit-scrollbar {
    display: none;
}


.selected-detailed-conditions .cs-selected-tag {
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    width: auto;
    transition: all 0.2s ease;
    background-color: #7D40A0;
    color: white;
    border-color: #7D40A0;
    white-space: nowrap;
}


.cs-custom-search-result {
    display: grid;
    scrollbar-width: thin;
    position: relative;
    gap: 20px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    margin-bottom: 40px;
}

.cs-therapist-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.cs-working-badge {
    position: absolute;
    background-color: #E9528E;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    left: 0.625rem;
    padding: 0.25rem 0.5rem;
    top: 0.625rem;
}

.cs-next-working-badge {
    position: absolute;
    background-color: #7D40A0;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    left: 0.625rem;
    padding: 0.25rem 0.5rem;
    top: 0.625rem;
}

.cs-therapist-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.cs-therapist-image-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cs-heart-wrapper {
    position: absolute;
    right: 5px;
    bottom: 5px;
    background-color: rgba(240, 240, 240, 0.8);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-heart-img {
    width: 24px;
    height: auto;
}

.cs-therapist-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}

.cs-therapist-name {
    font-size: 1.125rem;
    color: #535353;
}

.cs-therapist-age,
.cs-therapist-store-name,
.cs-therapist-schedule {
    font-size: 0.875rem;
    color: #535353;
}

.cs-sort-radio-group-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cs-sort-radio-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cs-sort-radio-group input[type="radio"] {
    display: none;
}

.cs-sort-radio-group .radio-label {
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    color: #AAAAAC;
    display: inline-block;
    text-align: center;
}

.cs-sort-radio-group input[type="radio"]:checked + .radio-label {
    background-color: #7D40A0;
    color: #ffffff;
}

.search-result-empty {
    text-align: center;
    font-size: 1rem;
    color: #AAAAAC;
    margin: 20px 0;
    grid-column: 1 / -1;
    justify-self: center;
}

.cs-reset-all-btn {
    color: #fff;
    font-size: 0.875rem;
    border-radius: 50px;
    border: 1px solid #AAAAAC;
    background-color: #AAAAAC;
    padding: 5px 10px;
    width: 120px;
    margin-left: auto;
}

.cs-custom-search-header-btn-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.custom-search-matching-toast {
    position: absolute;
    bottom: 48px;
    left: -100%;
    transform: translateX(-50%);
    background-color: #E9528E;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.custom-search-matching-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.open-detailed-conditions-modal-button-title,
.open-date-conditions-modal-button-title {
    font-size: 0.875rem;
    color: #535353;
}

.open-date-conditions-modal-button-title {
    margin-top: 20px;
}



/* ------------------------------------------------------------------------------------------------------------------ */

/* モーダル共通 */
.cs-date-conditions-modal,
.cs-detailed-conditions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cs-date-conditions-modal,
.cs-detailed-conditions-modal,
.cs-date-conditions-modal *,
.cs-detailed-conditions-modal * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cs-detailed-conditions-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 500;
}

.cs-date-conditions-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 500;
}

.cs-date-conditions-modal-close,
.cs-detailed-conditions-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    z-index: 100;
}

.cs-up-button {
    position: fixed;
    bottom: 80px;
    right: 5px;
    padding: 4px 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    z-index: 100;
    border-radius: 50%;
    background: #9E6CBB;
}

.cs-left-slide-card-stack {
    position: fixed;
    bottom: 6.5rem;
    left: 0;
    z-index: 100;
    width: 90px;
    height: calc(90px * 4 / 3 + 12px);
}

.cs-left-slide-card {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #9E6CBB;
    color: #fff;
    font-size: 0.875rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    aspect-ratio: 3 / 4;
    width: 90px;
    transform: translateX(calc(-100% + 40px)) rotate(0deg);
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
    animation: csTinderSwipeCycle 9s ease-in-out infinite both;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: transparent;  
}

.card-1 { top: 0;    }
.card-2 { top: 6px;  }
.card-3 { top: 12px; }

@keyframes csTinderSwipeCycle {
    0%   { transform: translateX(calc(-100% + 40px)) rotate(0);   opacity: 1;  pointer-events: auto; }
    8%   { transform: translateX(calc(-100% + 40px)) rotate(0);   opacity: 1;  pointer-events: auto; }
    20%  { transform: translateX(0) rotate(0);                    opacity: 1;  pointer-events: auto; }
    40%  { transform: translateX(0) rotate(0);                    opacity: 1;  pointer-events: auto; }
    55%  { transform: translateX(30vw) translateY(-20px) rotate(16deg); opacity: 0; pointer-events: none; }
    56%  { transform: translateX(-30vw) translateY(0) rotate(-8deg);     opacity: 0; pointer-events: none; }
    70%  { transform: translateX(calc(-100% + 40px)) rotate(0);   opacity: 0;  pointer-events: none; }
    100% { transform: translateX(calc(-100% + 40px)) rotate(0);   opacity: 0;  pointer-events: none; }
}

.card-1 { animation-delay: 0s;   z-index: 3; }
.card-2 { animation-delay: 3s;   z-index: 2; }
.card-3 { animation-delay: 6s;   z-index: 1; }

.cs-left-slide-card-label {
    white-space: nowrap;
    line-height: 1;
}


.cs-left-swipe-finger {
    position: absolute;
    top: 40px;
    left: 8px;
    width: 60px;
    height: auto;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    animation: csFingerSwipe 3s ease-in-out infinite both;
}

.cs-left-swipe-finger img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

@keyframes csFingerSwipe {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1);   opacity: 0; }
    10%  { transform: translate(0, 0) rotate(0deg) scale(1);   opacity: 1; }
    40%  { transform: translate(28px, -6px) rotate(6deg) scale(1.01); opacity: 1; }
    60%  { transform: translate(40px, -10px) rotate(10deg) scale(1.02); opacity: 0.9; }
    80%  { transform: translate(35px, -8px) rotate(12deg) scale(1.03); opacity: 0; }
    100% { transform: translate(0, 0) rotate(0deg) scale(1);   opacity: 0; }
}

.cs-left-swipe-guide {
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.825rem;
    color: #9E6CBB;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
    opacity: 0;
    animation: csGuideFade 3s ease-in-out infinite both;
    pointer-events: none;
    white-space: nowrap;
    font-weight: bold;
}

@keyframes csGuideFade {
    0%   { opacity: 0; }
    30%  { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}

.cs-left-slide-card-stack-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    background: transparent;
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (min-width: 1024px) {
    .cs-left-slide-card-stack {
        left: unset;
        right: calc(13.0208333333% + 22.5rem);
    }

    .cs-up-button {
        right: calc(13.0208333333% + 1.25rem) !important;
    }    
}






/* ------------------------------------------------------------------------------------------------------------------ */

/* 日程条件モーダル */

.cs-date-conditions-content {
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 100px;
}

.cs-date-conditions-content::-webkit-scrollbar {
    display: none;
}


.cs-date-conditions-content-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
    margin-top: 40px;
}

#cs-time-select-container {
    position: relative;
}

.cs-time-select-title {
    font-size: 0.875rem;
    color: #535353;
    text-align: center;
    margin-top: 40px;
}

#cs-time-select-container::before {
    border-left: 1px solid #7D40A0;
    border-top: 1px solid #7D40A0;
    content: "";
    display: block;
    height: 7px;
    position: absolute;
    right: 20px;
    top: 78%;
    transform: translatey(-50%) rotate(-135deg);
    width: 7px;
}

#cs-time-select {
    border: 1px solid #7D40A0;
    padding: 12px 18px;
    border-radius: 30px;
    text-align: center;
    text-align-last: center;
    color: #7D40A0 !important;
    font-size: 1rem;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    width: 180px;
    margin-top: 10px;
    font-weight: 500;
}

#cs-time-select option {
    text-align: center;
}

#cs-calendar {
    height: auto;
    margin-top: 20px;
}

.fc .fc-toolbar {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.cs-date-conditions-modal .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 20px;
}

.cs-date-conditions-modal .fc .fc-toolbar-title {
    font-size: 1.125rem;
    margin: 0px;
    color: #535353;
}

.cs-date-conditions-modal thead {
    background: #AAAAAC;
}

.fc .fc-col-header-cell-cushion {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    background: #AAAAAC;
}

.cs-date-conditions-modal .fc .fc-daygrid-day-number {
    padding: 4px;
    position: relative;
    z-index: 4;
    font-size: 0.875rem;
    color: #535353;
}

.fc .fc-button {
    background-color: #AAAAAC !important;
    border: none;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    user-select: none;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
    color: white;
    padding-bottom: 2px;
    padding-top: 0px;
}

.fc .fc-daygrid-day.fc-day-today {
    background: #F3E7FD !important;
}

.fc .fc-button-group {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    gap: 5px;
}

button.fc-today-button.fc-button.fc-button-primary {
    display: none;
}

.cs-date-conditions-refine-btn{
    display: inline-block;
    font-size: 1rem;
    color: white;
    text-align: center;
    z-index: 100;
    padding-left: 15px;
    padding-right: 15px;
}

/* ------------------------------------------------------------------------------------------------------------------ */

/* 詳細条件モーダル */

.cs-detailed-conditions-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 40px;
}

.cs-detailed-conditions-content::-webkit-scrollbar {
    display: none;
}

.cs-detailed-conditions-section {
    width: 100%;
    padding-top: 40px;
}

.cs-detailed-conditions-section-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
    margin-bottom: 20px;
}

.cs-tags-content {
    margin-bottom: 40px;
}

.cs-tags-content-title,
.cs-age-range-content-title {
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
}

.cs-mbti-content-title {
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
}


.cs-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cs-tags .cs-tag-button {
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 60px;
    transition: all 0.2s ease;
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    color: #AAAAAC;
}

.cs-tags .cs-tag-button.selected {
    background-color: #7D40A0;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

#cs-mbti-select {
    border: none;
    background-color: #F5F5F5;
    color: #535353;
    width: 100%;
    border-radius: 1.5625rem;
    margin-top: 1.25rem;
    padding: 0.75rem;
}

.cs-mbti-message {
    font-size: 0.875rem;
    color: #AAAAAC; 
    text-decoration: underline;
    margin-top: 0.5rem;
}

.cs-whole-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: row;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1), 0px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.cs-footer {
    display: flex;
    flex-direction: row;
    gap: 6px;
    background: #E9528E;
    align-items: center;
    min-width: 280px;
    height: 46px;
    justify-content: center;
}

.cs-footer > * {
    position: relative;
}

.cs-footer > *:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -3px;
    bottom: -3px;
    width: 1px;
    background-color: #fff;
}

.cs-detailed-conditions-refine-btn {
    display: inline-block;
    font-size: 1rem;
    color: white;
    text-align: center;
    z-index: 100;
    padding-left: 15px;
    padding-right: 15px;
}

.cs-detailed-conditions-reset-btn,
.cs-date-conditions-reset-btn {
    color: #535353;
    font-size: 0.875rem;
    z-index: 100;
}

.cs-hit-count {
    color: #fff;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding-right: 10px;
    padding-left: 10px;
}

.cs-hit-count-title {
    font-size: 0.875rem;
    margin-right: 5px;
}

.cs-hit-count-number-wrapper {
    margin-bottom: -2px;
}

.cs-hit-count-number
{
    font-size: 1.125rem;
    margin-bottom: -2px;
}

.cs-hit-count-unit {
    font-size: 0.875rem;
    margin-left: 2px;
}

.cs-loader-wrapper {
    display: block;
    width: auto;
    height: auto;
}

.cs-dot-loader {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    height: 20px;
    min-width: 20px;
    white-space: nowrap;
    line-height: 0;
    box-sizing: border-box;
    isolation: isolate;
    contain: layout style;
}
  
.cs-dot-loader div {
    width: 5px;
    height: 5px;
    min-width: 5px;
    min-height: 5px;
    background-color: #fff;
    border-radius: 50%;
    animation: wave 1.2s infinite ease-in-out;
    display: block;
    box-sizing: border-box;
}
  
.cs-dot-loader div:nth-child(1) {
    animation-delay: -0.4s;
}
  
.cs-dot-loader div:nth-child(2) {
    animation-delay: -0.2s;
}
  
.cs-dot-loader div:nth-child(3) {
    animation-delay: 0s;
}
  
@keyframes wave {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
}


.cs-place-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
}

.cs-place-content .radio-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.cs-place-content .radio-group .radio-label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 1rem;
    color: #7D40A0;
    user-select: none;
}

.cs-place-content .radio-group input[type="radio"] {
    display: none;
}

.cs-place-content .radio-group .radio-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid #7D40A0;
    border-radius: 50%;
    background-color: transparent;
}

.cs-place-content .radio-group input[type="radio"]:checked ~ .radio-label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #7D40A0;
}

.cs-place-content #range-slider-container,
.cs-place-content #prefecture-dropdown-container {
    width: 300px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.cs-place-content #prefecture-dropdown-container::before {
    border-left: 1px solid #6F6F6F;
    border-top: 1px solid #6F6F6F;
    content: "";
    display: block;
    height: 7px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translatey(-50%) rotate(-135deg);
    width: 7px;
}

.cs-place-content #range-slider-container label {
    font-size: 1rem;
    color: #535353;
    display: block;
}

.cs-place-content #range-value {
    font-size: 1.5rem;
    color: #7D40A0;
}

#current-location-address {
    margin-top: 10px;
    font-size: 0.875rem; 
    color: #535353;
}

.cs-place-content #range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.cs-place-content #range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: -10px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
}

.cs-place-content #range-slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: -10px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    cursor: pointer;
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
}

.cs-place-content #prefecture-dropdown-container label {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.cs-place-content #prefecture {
    width: 100%;
    background-color: #F5F5F5;
    border: none;
    border-radius: 1.5625rem;
    color: #535353;
    font-size: 0.875rem;
    margin-bottom: 0;
    margin-top: 5px;
    padding: 13px;
}

.cs-place-content #prefecture option {
    text-align: center;
}

.cs-age-range-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;

}

.cs-mbti-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.875rem;
}

.cs-age-range-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    width: 90%;
    height: 200px;
}

.cs-age-range-container label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

#age-range-slider {
    width: 100%;
    height: 10px;
    margin-top: 10px;
    z-index: 0;
}

.cs-age-range-values {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.875rem;
    color: #555;
    margin-top: 10px;
}

#age-range-label {
    font-size: 1.125rem;
    font-weight: bold;
    color: rgb(233, 81, 142);
    margin-bottom: 5px;
}

.noUiSlider-wrap .inner-block {
    padding: 50px;

}

.noUiSlider-wrap .text-wrap {
margin: 30px auto;
}

.noUi-horizontal .noUi-handle {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    top: -10px !important;
}

.noUi-horizontal .noUi-tooltip {
    display: none !important;
}

.noUi-horizontal .noUi-handle::before, .noUi-horizontal .noUi-handle::after  {
content: none;
}

.noUi-connect {
    background: linear-gradient(90deg, #9E6CBB 0%, #7D40A0 100%) !important;
}


.cs-age-filter-toggle .checkbox-group {
    margin-top: 1.25rem;
}

.cs-age-filter-toggle .checkbox-group .checkbox-label {
    display: inline-block;
    position: relative;
    padding-left: 1.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: #7D40A0;
    user-select: none;
}

.cs-age-filter-toggle .checkbox-group input[type="checkbox"] {
    display: none;
}

.cs-age-filter-toggle .checkbox-group .checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1rem;
    width: 1rem;
    border: 1px solid #7D40A0;
    border-radius: 50%;
    background-color: transparent;
}

.cs-age-filter-toggle .checkbox-group input[type="checkbox"]:checked ~ .checkbox-label::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 0.5rem;
    left: 0.25rem;
    width: 0.5rem;
    border-radius: 50%;
    background-color: #7D40A0;
}


