.guidance-search-form{
  position: relative;
  display: flex;
  width: 666px;
  max-width: calc(100% - 48px);
  margin: 0 auto 40px;
  align-items: flex-start;
  gap: 16px;
}
.guidance-search-control {
  position: relative;
  width: 600px;
  flex: 0 1 600px;
  min-width: 0;
}
 .guidance-search-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 56px 0 24px;
  color: #181818;
  font-size: 20px;
  line-height: 28px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 999px;
  outline: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

 .guidance-search-input::placeholder {
  color: #CCC;
}

 .guidance-search-input:focus {
  border-color: #9581F3;
}
 .guidance-search-button {
  display: inline-flex;
  flex: 0 0 50px;
  width: 50px;
  height:50px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: #9681f3;
  border:0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(77, 55, 173, 0.25);
}
 .guidance-search-button:hover {
  background: #7a62f0;
  border-color: #684fdc;
}
.guidance-search-button img{
  display: block;
  width: 30px;
  height: 30px;
}
.guidance-search-clear {
  position: absolute;
  top: 50%;
  right: 18px;
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #999 !important;
  font-size: 32px;
  line-height: 28px;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.guidance-search-control:focus-within .guidance-search-input:not(:placeholder-shown) + .guidance-search-clear {
  display: inline-flex;
}

.guidance-search-input::-webkit-search-cancel-button, .guidance-search-input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}
.guidance-search-input::-ms-clear, .guidance-search-input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
.guidance-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 20;
  padding: 8px 0;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.guidance-search-dropdown[hidden] {
  display: none;
}
.guidance-search-option {
  display: block;
  width: 100%;
  padding: 10px 24px;
  color: #666;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.guidance-search-option:hover, .guidance-search-option.is-active {
  color: #181818;
  background: #e8e3ff;
}
@media (max-width:768px) {
  .guidance-search-button{
    height: 40px;
    width: 40px;
    font-size: 14px;
  }
  .guidance-search-form {
    width: calc(100% - 80px);
    max-width: 450px;
    gap: 10px;
  }
  .guidance-search-input{
    width: 100%;
    height: 40px;
    padding-right: 46px;
    padding-left: 18px;
    font-size: 16px;
  }
  .guidance-search-button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .guidance-search-button img {
    width: 22px;
    height: 22px;
  }
  .guidance-search-input::placeholder {
    font-size: 14px;
  }
  .guidance-search-control {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
}
@media (max-width:480px) {
  .guidance-search-button{
    height: 40px;
    font-size: 14px;
  }
  .guidance-search-input{
    font-size: 14px;
  }
}