.zf-templateWrapper ul {
  margin: 0;
  padding: 0;
}

.zf-subContWrap.zf-topAlign ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.zf-type-hidden {
  display: none;
}

.zf-tempFrmWrapper {
  margin: 1.2rem 0 0;
  padding: 0;
  width: 100%;
}

.zf-labelName {
  display: flex;
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  line-height: 2rem;
}

.required {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.2px;
  background-color: #EE032B;
  color: #fff;
  padding: 0.4rem;
  margin-left: 0.8rem;
  border-radius: 2px;
}

.zf-important {
  display: none;
}

.zf-nameWrapper {
  display: flex;
  gap: 1.2rem;
}

.zf-subContWrap.zf-topAlign input[type="text"] {
  width: 100%;
  height: 5.2rem;
  font-size: max(16px, 1.6rem);
  border-radius: 4px;
  border: 1px solid #999;
  background: #FFF;
  padding: 1.6rem 1.2rem;
}

.zf-clearBoth {
  display: none;
}

.zf-tempFrmWrapper.zf-small.li-half {
  width: calc((100% - 1.2rem) / 2);
}

.zf-tempContDiv.prefecture-select {
  position: relative;
  height: 5.2rem;
}

.zf-tempContDiv.prefecture-select::after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 1.2rem;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-image: url(../images/arrow-black.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  pointer-events: none;
}

.zf-form-sBox {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  font-size: max(16px, 1.6rem);
  background-color: inherit;
  padding: 1.3rem 1.4rem;
  border: 1px solid #999;
  border-radius: 4px;
  color: #222;
}

.form-plan .zf-overflow {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.zf-multiAttType {
  font-size: 1.4rem;
  color: #222;
  border: 1px solid #999;
  background: #FFF;
  border-radius: 4px;
  margin: 0;
  padding: 0;
}

.zf-radio input[type="radio"]{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  -webkit-clip-path: inset(50%);
  border: 0;
}

.zf-tempContDiv span label {
  cursor: pointer;
  display: block;
  padding: 1.6rem 1.2rem 1.6rem 3.6rem;
  position: relative;
}

.zf-tempContDiv span label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #777;
  border-radius: 50%;
}

.zf-tempContDiv span label::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: blue;
  position: absolute;
  top: 50%;
  left: 1.6rem;
  transform: translateY(-50%);
  opacity: 0;
}

.zf-multiAttType [type="radio"]:checked + label::after {
  opacity: 1;
}

.zf-multiAttType input[type="radio"]:focus-visible + label {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.form-condition .zf-overflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.any {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.2px;
  background-color: #999999;
  color: #fff;
  padding: 0.4rem;
  margin-left: 0.8rem;
  border-radius: 2px;
}

.zf-tempContDiv textarea {
  width: 100%;
  height: 20rem;
  font-size: max(16px, 1.6rem);
  border-radius: 4px;
  border: 1px solid #999;
  background: #FFF;
  padding: 1.6rem 1.2rem;
}

.zf-fmFooter {
  text-align: center;
  margin-top: 4rem;
}

.zf-submitColor {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background-color: #ff6b00;
  border: none;
  border-radius: 58px;
  padding: 1.2rem 10rem;
  cursor: pointer;
}

.zf-errorMessage {
  color: red;
  margin-top: 1rem;
}