form.mktoForm {
  width: 100% !important;
  max-width: 560px !important;
  font-size: 16px !important;
}

/* フォームの入力フィールドの幅 */
.mktoForm input,
.mktoForm textarea.mktoField,
.mktoForm select.mktoField {
  width:100% !important;
  padding: 8px 16px !important;
}
/* フォーム全体の幅 */
.mktoFormCol,
.mktoFieldWrap {
  width:100% !important;
}
/* ボタン配置 */
.mktoButtonWrap {
  margin-left:0 !important;
}
.mktoForm .mktoFormCol {
  margin-bottom: 0 !important;
}
.mktoFieldWrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}
.mktoFieldWrap.mktoRequiredField label.mktoLabel {
  font-weight: normal !important;
}
.mktoAsterix {
  display: none !important;
}

/* 不要な余白を削除 */
.mktoOffset,
.mktoGutter {
  display: none !important;
}

.mktoButtonRow {
  width:100% !important;
  text-align:center;
}
.mktoButtonRow button[type="submit"] {
  width: 100% !important;
  padding: 12px 0 !important;
  font-size: 24px !important;
  text-decoration: none !important;
  box-shadow: rgba(0, 0, 0, 0.3) 0rem 1px 0 0 !important;
  border-radius: 6px !important;
  background: rgb(121, 38, 170) !important;
  color: rgb(255, 255, 255) !important;
  transition: box-shadow 0.3s ease, opacity 0.3s ease !important;
}

.mktoButtonRow button[type="submit"]:hover {
  border: none !important;
  box-shadow: rgba(0, 0, 0, 0.4) 0rem 4px 24px 0 !important;
  opacity: 0.7 !important;
}

.mktoFormRow .mktoFieldWrap:has(input[name=privacypolicycheck]) {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}
.mktoFormRow .mktoFieldWrap:has(input[name=privacypolicycheck]) label#Lblprivacypolicycheck {
  padding-top: 2px;
}

.mktoFormRow .mktoFieldWrap:has(input[name=privacypolicycheck]) label {
  width: auto !important;
  line-height: 1.4;
  align-self: flex-start;
}

.mktoFormRow .mktoFieldWrap .mktoRadioList:has(input[name=privacypolicycheck]) {
  position: relative !important;
}
.mktoFormRow .mktoFieldWrap .mktoRadioList:has(input[name=privacypolicycheck]) input[type=radio]+label::before {
  position: absolute;
  top: 27px;
  left: 24px;
  width: 24px;
  height: 24px;
  content: "" !important;

  border: 1px solid #304d5b !important;
  box-shadow: none;
  border-radius: 2px;
}

.mktoFormRow .mktoFieldWrap .mktoRadioList:has(input[name=privacypolicycheck]) input[type=radio]:checked + label::before,
.mktoFormRow .mktoFieldWrap .mktoRadioList:has(input[name=privacypolicycheck]) input[type=radio]:checked + label::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolyline fill='none' stroke='%23008080' stroke-width='3' points='2,7.3 7.3,12.7 18,2 '/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 2px;
}
