.webby {
  max-width: 706px;
  margin: 0 auto;
  
  @media (max-width: 767px) {
    max-width: 90vw;
  }
}

.webby__req-info,
.webby label {
  color: var(--ocean);
  font-weight: 500;
  line-height: 24px;
  font-size: 15px;
}

.webby input[type="text"],
.webby input[type="email"],
.webby input[type="tel"],
.webby textarea {
  width: 100%;
  box-sizing: border-box;
}

.webby input[type="text"],
.webby input[type="email"],
.webby input[type="tel"] {
  border-radius: 8px;
  border: 2px solid var(--ocean-medium);
  padding: 0px 12px 0px 12px;
  line-height: 42px;
}

.webby textarea {
  padding: 12px;
  border-radius: 8px;
  border: 2px solid var(--ocean-medium);
  resize: none;
}

.webby fieldset.webform-composite-hidden-title {
  margin: 0;
}


.webby .webform-flexbox {
  display: flex;
  
  @media (max-width: 767px) {
    gap: 20px;  
    flex-wrap: wrap;
  }

  @media (min-width: 768px) {
    margin: .25rem -.5rem;
  }
}

.webby .webform-flex--1 {
  @media (max-width: 767px) {
    flex: 1;
  }
}

.webby .checkboxes--wrapper {
  margin: .5rem 0;
}

.webby .form-item-compliance-ja input {
  display: none;
}

.webby .form-item-compliance-ja {
  padding-left: 40px;
  position: relative;
}

.webby .form-item-compliance-ja label {
  font-size: 1rem;
  line-height: 24px;
  font-weight: 400;
  &::before,
  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    cursor: pointer;
  }

  &::before {
    width: 21px;
    height: 21px;
    border: 2px solid var(--ocean-medium);
    border-radius: 4px;
  }
  &::after {
    content: "";
    left: 7px;
  }
}
.webby .form-item-compliance-ja input:checked ~ label:after {
  content: "✕";
}

.webby .form-actions {
  margin-top: 1.5rem;
}

/* select 2 customs */
.webby .select2-container--default .select2-selection--single {
  border: 2px solid var(--ocean-medium); 
  border-radius: 8px;
  height: 44px;
}
.webby .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
}

.webby .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

.webby .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 12px;
}

.webby .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.webby .select2-container--default .select2-selection--single .select2-selection__arrow:after {
  content: "";
  background-image: url(assets/chevron.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 9px;
  height: 6px;
  display: block;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.webby .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(180deg);
  top: 45%;
}