.search-container {
  margin: 0px 0px 148px;
}
@media screen and (max-width: 560px) {
  .search-container {
    margin: 0vw 0vw 14.29vw;
  }
}

.search-list__header {
  margin: 0px 0px 10px auto;
  text-align: right;
}
@media screen and (max-width: 560px) {
  .search-list__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 auto 3.57vw;
    width: 85.71vw;
  }
}

.search-container__row {
  justify-content: space-between;
  width: 100%;
}

.search-left {
  color: #333333;
  width: 310px;
  box-sizing: border-box;
  background: #F2F2F2;
  padding: 30px 20px;
  align-self: baseline;
}
.search-left .search-left__ttl {
  font-size: 18px;
  font-weight: 700 !important;
  line-height: 21px;
  margin: 0px 0px 15px !important;
}
.search-left .search-dropdow {
  max-width: 180px;
}
.search-left .search-left__txt1 {
  text-align: center;
  margin: 8px auto 0px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  cursor: pointer;
}

.search-list {
  width: calc(100% - 330px);
  max-width: 700px;
}
@media screen and (max-width: 560px) {
  .search-list {
    margin: 0vw auto;
    width: 100%;
    max-width: 85.71vw;
  }
}

.search-pagination {
  margin: 40px 0px 0px;
}

/* Mobile Search Form Styles */
@media screen and (max-width: 560px) {
  .search-container__row {
    flex-direction: column;
  }

  .search-left {
    width: 100%;
    max-width: 100%;
    margin-bottom: 5.36vw;
    padding: 5.36vw 3.57vw;
    box-sizing: border-box;
  }

  .search-left .search-left__ttl {
    font-size: 4.29vw;
    line-height: 5.36vw;
    margin: 0 0 2.68vw !important;
  }

  .search-left .search-dropdow {
    max-width: 100%;
    width: 100%;
  }

  .search-left .search-btn {
    width: 100%;
    font-size: 4.29vw;
    padding: 2.68vw 0;
  }

  .search-left .search-left__txt1 {
    margin: 2.68vw auto 0;
    font-size: 3.57vw;
  }

  .search-left .search-left__listcheckbox {
    display: block;
  }

  .search-left .search-left__listcheckbox li {
    width: 100%;
    margin-bottom: 2.14vw;
  }
  
  /* チェックボックスのラベル調整 */
  .search-left .search-left__listcheckbox label {
    font-size: 3.57vw;
    line-height: 5.36vw;
    padding-left: 5.36vw;
    margin-bottom: 0;
    white-space: normal;
  }
  
  /* チェックマークの位置調整 */
  .search-left .search-left__listcheckbox label .mark {
    top: 0.89vw;
    left: 0;
    width: 3.57vw;
    height: 3.57vw;
  }
  
  /* チェックマークの内部アイコン調整 */
  .search-left .search-left__listcheckbox label .mark::before {
    left: 1.07vw;
    top: 0.36vw;
    width: 1.07vw;
    height: 1.79vw;
    border-width: 0 0.36vw 0.36vw 0;
  }

  .search-left .search-input {
    width: 100%;
  }

  /* Mobile Calendar Styles */
  .search-calendar {
    width: 100%;
  }

  .calendar-header {
    padding: 2.68vw 0;
  }

  .calendar-header__display {
    font-size: 3.57vw;
  }

  .week {
    font-size: 3.21vw;
  }

  #days {
    font-size: 3.21vw;
  }

  /* Mobile Switch for "満席を表示しない" */
  .search-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .search-switch_txt {
    font-size: 3.21vw;
    margin-right: 2.68vw;
  }
}

/* Add a toggle button for mobile search form */
.search-form-toggle {
  display: none;
}

@media screen and (max-width: 560px) {
  .search-form-toggle {
    display: block;
    background: #3B2A89;
    color: #fff;
    text-align: center;
    padding: 2.68vw;
    margin-bottom: 2.68vw;
    font-weight: 700;
    font-size: 3.57vw;
    position: relative;
    cursor: pointer;
    width: 85.71vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
  }

  .search-form-toggle::after {
    content: "";
    position: absolute;
    right: 3.57vw;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1.79vw 1.07vw 0 1.07vw;
    border-color: #fff transparent transparent transparent;
    transition: transform 0.3s ease;
  }

  .search-form-toggle.active::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* モバイル表示時のみ適用される */
  .mobile-hidden {
    display: none !important;
  }
}

