.csf-wrap {
  width: 100%;
  scroll-margin-top: 120px;
}

.csf-form-title {
  margin: 0 0 18px;
  color: #125687;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.25;
}

.csf-form,
.csf-form *,
.csf-form *::before,
.csf-form *::after {
  box-sizing: border-box;
}

.csf-form {
  display: grid;
  gap: 18px;
  color: #15303f;
  font-family: inherit;
}

.csf-fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(18, 86, 135, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.csf-fieldset[hidden],
.csf-company-field[hidden],
.csf-warranty-count[hidden] {
  display: none !important;
}

.csf-fieldset legend {
  padding: 0 8px;
  color: #125687;
  font-size: 1rem;
  font-weight: 800;
}

.csf-grid {
  display: grid;
  gap: 14px;
}

.csf-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.csf-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.csf-grid--address-main {
  grid-template-columns: minmax(110px, 1.25fr) minmax(150px, 2fr) minmax(0, 5fr);
}

.csf-grid--address-detail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.csf-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.csf-form input[type="text"],
.csf-form input[type="email"],
.csf-form input[type="tel"],
.csf-form input[type="number"],
.csf-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(21, 48, 63, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfdfe;
  color: #15303f;
  font: inherit;
}

.csf-form textarea {
  min-height: 110px;
  resize: vertical;
}

.csf-form input:focus,
.csf-form textarea:focus {
  outline: 3px solid rgba(236, 107, 8, 0.24);
  border-color: #ec6b08;
}

.csf-service-fieldset {
  border-color: rgba(18, 86, 135, 0.24);
  background: #eef6fb;
}

.csf-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.csf-form label.csf-service-option {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(18, 86, 135, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  color: #15303f;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.csf-service-option:hover {
  border-color: rgba(236, 107, 8, 0.55);
}

.csf-service-option.is-selected {
  border-color: #ec6b08;
  background: #fff8f2;
  box-shadow: inset 0 0 0 1px #ec6b08;
}

.csf-service-option input,
.csf-form label.csf-check input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #ec6b08;
}

.csf-service-option span {
  line-height: 1.35;
}

.csf-form label.csf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.csf-warranty-check,
.csf-high-indoor-check {
  align-self: stretch;
  border-radius: 8px;
  padding: 14px;
  background: #eef6fb;
}

.csf-warranty-group {
  display: grid;
  gap: 12px;
}

.csf-warranty-count {
  border: 1px solid rgba(18, 86, 135, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfe;
}

.csf-unit-counts {
  margin-top: 20px;
}

.csf-addon-list {
  display: grid;
  gap: 12px;
}

.csf-form label.csf-option {
  align-items: flex-start;
  border: 1px solid rgba(18, 86, 135, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfe;
}

.csf-option input {
  margin-top: 4px !important;
}

.csf-option strong,
.csf-option small {
  display: block;
}

.csf-option small {
  margin-top: 3px;
  color: #58717c;
  font-weight: 600;
  line-height: 1.4;
}

.csf-company-toggle {
  margin-top: 14px;
}

.csf-company-field {
  max-width: 520px;
  margin-top: 14px;
}

.csf-privacy {
  color: #15303f;
}

.csf-privacy a {
  color: #125687;
  text-underline-offset: 3px;
}

.csf-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  background: #ec6b08;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(236, 107, 8, 0.22);
}

.csf-submit:hover {
  background: #d95f05;
}

.csf-submit:focus-visible {
  outline: 3px solid rgba(236, 107, 8, 0.38);
  outline-offset: 3px;
}

.csf-alert,
.csf-noscript {
  margin: 0 0 16px;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 800;
}

.csf-alert--success {
  border: 1px solid rgba(22, 163, 74, 0.24);
  background: #ecfdf3;
  color: #166534;
}

.csf-alert--error,
.csf-noscript {
  border: 1px solid rgba(220, 38, 38, 0.24);
  background: #fff1f1;
  color: #991b1b;
}

.csf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  .csf-service-options,
  .csf-grid--2,
  .csf-grid--3,
  .csf-grid--address-main,
  .csf-grid--address-detail {
    grid-template-columns: 1fr;
  }

  .csf-fieldset {
    padding: 16px;
  }
}
