body {
  color: #666;
  background: antiquewhite !important;
  font-family: "Hiragino Mincho ProN、ヒラギノ明朝 ProN、Hiragino Mincho Pro、ヒラギノ明朝 Pro";
}

form.bdash_form.page-item-layout_vertical {
  background: antiquewhite;
}

.container {
  padding: 0 !important;
  margin: 0 !important;
}
.bd-pageset-header {
  margin: 0 auto;
  max-width: 1000px;
  height: 240px;
  background-image: url("https://template.assets.smart-bdash.com/cms/cms-22/header_img_22.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.bd-pageset-content-wrap {
  padding: 50px 100px 100px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-item-agreement input[type="checkbox"],
.form-item-radio .page-item-info label input[type="radio"],
.form-item-checkbox .page-item-info label input[type="checkbox"] {
  display: none;
}

.bdash_form label input[type="radio"],
.bdash_form label input[type="checkbox"] {
  height: 16px;
  width: 16px;
  margin: 0 10px 0 0;
}

.bdash_form .form-item-matrix-table tbody td label input[type="radio"],
.bdash_form .form-item-matrix-table tbody td label input[type="checkbox"] {
  margin-right: 0;
}

.bdash_form label input[type="radio"],
.bdash_form label input[type="checkbox"] {
  height: 14px;
  width: 14px;
  margin-right: 5px;
}

.form-item-agreement input[type="checkbox"],
.form-item-radio .page-item-info label input[type="radio"],
.form-item-checkbox .page-item-info label input[type="checkbox"] {
  display: none;
}
.form-item-agreement input[type="checkbox"] + label,
.label-text-checkbox {
  position: relative;
  padding-left: 30px;
  display: inline;
}
.form-item-agreement input[type="checkbox"] + label::before,
.label-text-checkbox::before {
  position: absolute;
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid #c4af9e;
  left: 0;
  top: 3px;
}
.form-item-agreement input[type="checkbox"] + label::after,
.label-text-checkbox::after {
  position: absolute;
  content: "";
  display: block;
  width: 8px;
  height: 12px;
  transform: rotate(45deg) scale(0, 0);
  border-right: 3px solid #c4af9e;
  border-bottom: 3px solid #c4af9e;
  left: 5px;
  top: 4px;
  transition: 0.3s;
}
.form-item-agreement input[type="checkbox"]:checked + label::after,
.bdash-form-input
  .form-item-checkbox
  .page-item-info
  label
  input[type="checkbox"]:checked
  + div::after {
  transform: rotate(45deg) scale(1, 1);
}
.label-text-radio {
  position: relative;
  padding-left: 30px;
  z-index: 1;
}
.bdash-form-input
  .form-item-radio
  .page-item-info
  label
  input[type="radio"]
  + div::before {
  position: absolute;
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #c4af9e;
  left: -1px;
  top: 2px;
}
.bdash-form-input
  .form-item-radio
  .page-item-info
  label
  input[type="radio"]
  + div::after {
  position: absolute;
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c4af9e;
  left: 2px;
  top: 5px;
  z-index: 0;
  opacity: 0;
}
.bdash-form-input
  .form-item-radio
  .page-item-info
  label
  input[type="radio"]:checked
  + div::after {
  opacity: 1;
}
[type="button"],
[type="reset"],
[type="submit"],
button:not(:disabled) {
  background-color: #eee;
}

/* フォームの進捗 */

.progress-container {
  margin: 0 auto;
  height: 100px;
  position: relative;
  justify-content: space-evenly;
  align-content: stretch;
  flex-wrap: nowrap;
  flex-direction: column;
}

.progressbar {
  margin: 0 auto;
  padding: 0;
  counter-reset: step;
  z-index: 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.progressbar li {
  list-style-type: none;
  width: 25%;
  float: left;
  font-size: 16px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  color: #ad9078;
}

.progressbar li:before {
  width: 30px;
  height: 30px;
  content: "";
  /* counter-increment: step; */
  line-height: 30px;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: #fff;
  color: #fff;
  box-shadow: 0px 0px 15px 0px #c4af9e;
}

.progressbar li:after {
  width: 100%;
  height: 2px;
  content: "";
  position: absolute;
  background-color: #ebe5e1;
  top: 15px;
  left: -50%;
  z-index: -1;
}

.progressbar li:first-child:after {
  content: none;
}

.bdash-form-input .progressbar li.active:nth-of-type(1)::before,
.bdash-form-confirm .progressbar li.active:nth-of-type(2)::before,
.bdash-form-submit .progressbar li.active:nth-of-type(3)::before {
  background-color: #c4af9e;
  color: #fff;
}

.page-item {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-bottom: 30px !important;
}

.page-item-info label {
  padding-right:13%;
}
@media screen and (max-width:480px){
  .page-item-info label {
    padding-right:7%;
  }
  
}

.bdash-form-input .form-item-radio .page-item-info label,
.bdash-form-input .form-item-checkbox .page-item-info label {
  display: flex;
  align-items: center;
  margin-right: 80px;
}

.page-item:first-of-type {
  margin-top: 70px;
}
.form-item-agreement {
  display: flex;
  flex-direction: column;
}
.page-item-layout-v {
  margin-bottom: 50px;
}

.page-item-required {
  color: red;
}

.page-item-message {
  color: red;
}
.page-item textarea {
  height: 200px;
}
.form-control {
  border: 1px solid #af9e91 !important;
}

.form-control:focus {
  box-shadow: 0 0 0.4vw 2px rgb(196 175 158 / 40%);
}
.page-item-label {
  font-weight: normal;
  position: relative;
  margin-bottom: 10px;
}
.page-item-description {
  margin: 15px 0;
}

.bdash-form-confirm .page-item-description {
  display: none;
}

input[type="radio"],
input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.bd-pageset-parent p:nth-of-type(n + 2) span {
  padding-left: 10px;
}
.bdash_form_commit_button {
  border: none;
  font-size: 20px;
  width: 300px;
  height: 50px;
  background-color: #377fee;
  color: #fff;
}
.agreement-text-title {
  margin-bottom: 5px;
}
.agreement-text {
  height: 15em;
  padding: 20px;
  margin-bottom: 5px;
  border: 1px solid #ced4da;
  overflow-y: scroll;
  background: #f9f9f9;
}
.bdash_form_button_input {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: space-around;
}
.bdash_form_commit_button,
.bdash_form_next_button {
  border: none;
  font-size: 20px;
  width: 250px;
  height: 60px;
  border-radius: 20px;
  background-color: #fff;
  color: #eee;
  width: 200px;
  height: 60px;
  border-radius: 5px;
}
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  color: #ad9078;
  border: 1px solid #ad9078;
  cursor: pointer;
}
.bdash_form_commit_button:hover {
  background-color: #a28e7f;
  color: #fff;
}
.bdash_form_back_button {
  margin-bottom: 10px;
  border: none;
  font-size: 20px;
  width: 250px;
  height: 60px;
  border-radius: 20px;
  background-color: #fff !important;
  color: #eee;
  width: 200px;
  height: 60px;
  border-radius: 5px;
}
.bdash-form-confirm .bdash_form_button_confirm {
  display: flex;
  justify-content: space-around;
}
.bdash-form-confirm .page-item {
  display: flex;
  flex-direction: column;
}
.bd-pageset-content-wrap {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
}
.bdash-form-input .bd-pageset-content-wrap,
.bdash-form-confirm .bd-pageset-content-wrap {
  padding: 50px 80px 100px 80px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 1199px) {
  .bdash_form .bd-pageset-header {
    height: 25vw;
    background-size: cover;
  }
  .bd-pageset-content-wrap {
    padding: 20px;
  }
  .bdash-form-input .bd-pageset-content-wrap,
  .bdash-form-confirm .bd-pageset-content-wrap {
    padding: 20px 80px 80px 80px !important;
    margin: 0 auto !important;
  }
  .page-item {
    flex-direction: column;
  }
  .page-item:first-of-type {
    margin-top: 30px;
  }
  .page-item-layout-v {
    margin-bottom: 30px;
  }
  .page-item-label {
    width: 100%;
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .bd-pageset-content-wrap {
    padding: 20px 10px 30px 10px !important;
  }

  .bdash-form-input .form-item-score-val label {
    min-width: auto;
  }

  .bdash-form-input .bd-pageset-content-wrap,
  .bdash-form-confirm .bd-pageset-content-wrap {
    padding: 20px 10px 30px 10px !important;
  }
  .bdash_form_button_input,
  .bdash-form-confirm .bdash_form_button_confirm {
    flex-direction: column;
    align-items: center;
  }
} /* カスタムラジオ　と　カスタムチェックボックス */
.bdash-form-input .form-item-radio .page-item-info,
.bdash-form-input .form-item-checkbox .page-item-info {
  display: flex;
  /* width: 600px; */
  flex-wrap: wrap;
}
.bdash-form-input .form-item-radio .page-item-info label,
.bdash-form-input .form-item-checkbox .page-item-info label {
  display: flex;
  align-items: center;
  margin-right: 25px;
}
.bdash-form-input .form-item-radio .page-item-info label input,
.bdash-form-input .form-item-checkbox .page-item-info label input {
  margin-right: 8px;
}
@media (max-width: 1199px) {
  .bdash-form-input .form-item-radio .page-item-info,
  .bdash-form-input .form-item-checkbox .page-item-info {
    width: 100%;
  }
} /* マトリクスラジオボタン */ /* マトリクスチェックボタン */ /* マトリクスプルダウン */
.bdash_form .form-item-matrix .page-item-info {
  overflow: auto;
}
.bdash_form .form-item-matrix-table {
  min-width: 100%;
}
.bdash_form .form-item-matrix-table td,
.bdash_form .form-item-matrix-table th {
  text-align: center;
  padding: 10px;
  color: #808080;
  line-height: 3;
}
.bdash_form .form-item-matrix-table thead tr {
  background-color: #f4f4f4;
  font-weight: 500;
}
.bdash_form .form-item-matrix-table tbody tr:nth-child(2n) {
  background-color: #f4f4f4;
}
.bdash_form .form-item-matrix-table tbody td:first-child {
  font-weight: 500;
}
.bdash_form .form-item-matrix-table tbody td label {
  justify-content: center;
}
.bdash_form .form-item-matrix-table tbody td label input[type="radio"],
.bdash_form .form-item-matrix-table tbody td label input[type="checkbox"] {
  margin-right: 0;
}
@media (max-width: 1199px) {
  .bdash-form-input .form-item-matrix .page-item-info {
    width: 100%;
  }
}
 /* スコア */
.bdash-form-input .form-item-score {
  display: flex;
  flex-direction: column;
}
.bdash-form-input .page-item-score .page-item-label {
  margin-bottom: 10px;
}
.bdash-form-input .form-item-score-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.bdash-form-input .form-item-score-val {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
}
.bdash-form-input .form-item-score-val label {
  display: flex;
  align-items: center;
}
.bdash-form-input .form-item-score-val label input {
  margin-right: 8px;
}
.bdash-form-confirm .form-item-score-label {
  display: flex;
  /* gap: 15px; */
  justify-content: space-between;

}
.bdash-form-confirm .form-item-score-val label {
  margin-right: 10px;
}
.bdash-form-confirm .form-item-score-val input {
  margin-right: 5px;
}
/* 生年月日 */
.bdash_form .form-item-birthday .page-item-info select {
  flex: unset;
  width: 120px;
  display: inline;
}
/* 郵便 */
.form-item-postalcode .page-item-info {
  width: 600px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.form-item-postalcode .page-item-info input:nth-of-type(1) {
  width: 150px;
}
.form-item-postalcode .page-item-info input:nth-of-type(2) {
  width: 200px;
}
/* 電話番号 */
.bdash_form .form-item-tel-division .page-item-info input[type='text'] {
  flex: unset;
  width: 125px;
  display: inline;
}
@media (max-width: 1199px) {
  .form-item-postalcode .page-item-info {
    width: 100%;
  }
  .form-item-postalcode .page-item-info input:nth-of-type(1) {
    width: 30%;
  }
  .form-item-postalcode .page-item-info input:nth-of-type(2) {
    width: 40%;
  }
  /* 生年月日 */
  .bdash_form .form-item-birthday .page-item-info select {
    width: 30%;
    box-sizing: border-box;
  }
  /* 電話番号 */
  .bdash_form .form-item-tel-division .page-item-info input[type='text'] {
    width: 20%;
    box-sizing: border-box;
  }
}

.bdash-form-submit div:nth-of-type(1) p {
  margin-bottom: 0;
}

.page-item {
  max-width: 600px;
  margin: auto;
}

.page-item-info label{
  color: #898989;
}

.bdash-form-input .bd-pageset-parent > div {
  max-width: 600px;
  margin: 0 auto;
}

.bdash-form-confirm p
{
  max-width: 600px;
  margin: 0 auto;
}

.bdash-form-confirm .page-item-info {
  border-bottom: 1px solid #d7cec7;
}

.bdash-form-submit p {
  max-width: 635px;
  margin: 0 auto;
}

.bdash-form-submit .bd-pageset-parent {
  margin: 0 auto;
}

.bdash_form .page-item input[type="text"]::placeholder,
.bdash_form .page-item input[type="number"]::placeholder,
.bdash_form .page-item input[type="date"]::placeholder,
.bdash_form .page-item input[type="email"]::placeholder,
.bdash_form .page-item input[type="tel"]::placeholder,
.bdash_form .page-item input[type="password"]::placeholder,
.page-item textarea::placeholder {
  color: lightgray;
}

.bdash_form .page-item input:focus::placeholder,
.bdash_form .page-item textarea:focus::placeholder {
  color: #F3F3F3;
}

.form-item-score-label.clearfix::after {
  display: none !important;
}

.form-item-score-label-low ,.form-item-score-label-high {
  display: contents !important;
}

p img {
  max-width: 100%;
}

.bdash_form .bd-pageset-parent p:has(+ p) {
  margin-bottom: 0;
}

.bdash-form-input .form-item-score-val label {
   padding-right: 0;
}

@media only screen and (max-width: 480px) {
    .bdash-form-input .form-item-score-val {
        flex-wrap: wrap;
        gap: 5px;
    }
    .bdash-form-input .form-item-score-val label {
      padding-right: 0;
    }
    .bdash-form-input .form-item-score-val label input {
      margin-right: 4px;
    }
}

