* {
  box-sizing: border-box;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  padding-right: 0 !important;
  padding-left: 0 !important;
  color: #292929;
}

body {
  margin: 0;
  padding: 0 10px 20px;
  background: #CCCCCC;
  font-family: 'MS P明朝', 'ＭＳ Ｐ明朝', 'MS P 明朝', 'MS 明朝', 'MS PMincho', 'ヒラギノ明朝 ProN W6', 'Times New Roman', YuMincho, 'Hiragino Mincho ProN', 'Yu Mincho', sans-serif;
}

dl {
  margin: 0;
}

.container {
  padding: 0;
  margin: 0;
}

p {
  margin-bottom: 0
  ;
}

.bd-pageset-parent > div {
  max-width: 730px;
  margin: 0 auto;
}

dd > input + div {
  margin-top: 5px;
}
dd > input + div + input,
dd > input + input {
  margin-top: 5px;
}
@media only screen and (max-width: 600px) {
  dd > input + div {
    margin-top: 2vw;
  }
  dd > input + div + input,
  dd > input + input {
    margin-top: 2vw;
  }
}

.form-control {
  max-width: 600px;
}

.form-control:focus {
  background: #f0f0f0;
  box-shadow: 0 0 0 0.2rem rgb(102 102 102 / 25%);
}

.page-item label {
  margin-bottom: 0;
}

.bdash_form p,
.bdash_form p span {
  font-size: 16px;
}
@media only screen and (max-width: 600px) {
  .bdash_form p,
  .bdash_form p span {
    margin-bottom: 5vw;
    font-size: 4vw;
  }
}

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

.bdash-form-submit .bdash_form .bd-pageset-parent > div:first-of-type p:first-of-type {
  margin-bottom: 20px;
}

.bdash_form button:focus {
  outline: none;
}

.bdash_form .bd-pageset-header {
  max-width: 900px;
  height: 45vw;
  max-height: 250px;
  margin: 0 auto;
  background-image: url("https://template.assets.smart-bdash.com/cms/cms-43/header_img_43.png");
  background-size: cover;
  background-position: center;
}
@media only screen and (max-width: 600px) {
  .bdash_form .bd-pageset-header {
    background-image: url("https://template.assets.smart-bdash.com/cms/cms-43/sp_header_img_43.png");
    background-size: cover;
    background-position: center;
  }
}

.page-item {
  display: flex;
  justify-content: center;
  align-items: start;
}
.bd-pageset-parent .page-item:last-of-type,
.bd-pageset-parent > div {
  border-bottom: none;
}
@media only screen and (max-width: 600px) {
  .page-item {
    display: block;
    padding: 0;
  }
}

.page-item dd {
  margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
  .page-item dd {
    font-size: 4vw;
  }
}
.page-item:first-of-type {
  margin-top: 30px;
}
.bdash-form-confirm .bd-pageset-parent > div:first-of-type {
  padding: 0;
}
.bdash-form-confirm .bd-pageset-parent > div:first-of-type > p {
  margin-bottom: 20px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm .bd-pageset-parent > div:first-of-type > p {
    margin-bottom: 4vw;
  }
}
@media only screen and (max-width: 600px) {
  .page-item:first-of-type,
  .bdash-form-confirm .page-item:first-of-type {
    margin-top: 6vw;
  }
}

.page-item-layout-v,
.bd-pageset-parent > div {
  padding: 20px 0;
}

.bdash-form-submit .bd-pageset-parent > div,
.bdash-not-found .bd-pageset-parent > div {
  padding: 0;
}

.page-item-layout-v {
  border-bottom: 1px dotted #C6C6C6;
}

.page-item-required {
  font-size: 0px;
  white-space: nowrap;
}

.page-item-required::after {
  content: '必須';
  display: flex;
  align-items: center;
  margin-left: 10px;
  padding: 1px 6px;
  color: #fff;
  background: #656565;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 5px;
}
@media only screen and (max-width: 600px) {
  .page-item-required::after {
    margin-left: 2.5vw;
    padding: 0.3vw 1.5vw;
    font-size: 3vw;
    border-radius: 1vw;
  }
}

.page-item-message {
  color: red;
  width: 100%;
}

.page-item textarea {
  height: 200px;
}

.form-control {
  border-radius: 0;
}

.page-item-label {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 230px;
  min-height: 50px;
  font-weight: normal;
  position: relative;
  margin-bottom: 0;
  padding: 0 30px 0 0;
  color: #292929;
  font-size: 18px;
}
.bdash-form-confirm .page-item-label {
  min-height: 0;
}
@media only screen and (max-width: 600px) {
  .page-item-label {
    width: 100%;
    margin-bottom: 3vw;
    padding: 0;
    font-size: 4vw;
  }
}

.bdash-form-confirm .bd-pageset-parent div:nth-of-type(1) p span,
.bdash-form-submit .bd-pageset-parent div:nth-of-type(1) p span {
  position: relative;
  color: #292929;
  font-size: 28px !important;
}

.bdash-form-input .bd-pageset-parent > div:nth-of-type(1),
.bdash-form-input .bd-pageset-parent > div:nth-of-type(2) {
  margin-bottom: 20px;
  padding: 0;
}
.bdash-form-input .bd-pageset-parent > div:nth-of-type(1) p {
  margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm .bd-pageset-parent > div:nth-of-type(1) p span,
  .bdash-form-submit .bd-pageset-parent > div:nth-of-type(1) p span {
    font-size: 6.3vw !important;
  }
}

.bd-pageset-parent > div:nth-of-type(1) span {
  position: relative;
}

.bd-pageset-parent > div:nth-of-type(2) span {
  font-size: 16px !important;
}
@media only screen and (max-width: 600px) {
  .bd-pageset-parent > div:nth-of-type(2) span {
    font-size: 16px !important;
  }
}

.bdash_form_commit_button {
  border: none;
  font-size: 20px;
  max-width: 300px;
  height: 50px;
  background-color: #7e7e7e;
  color: #fff;
}

.bdash_form_button_input {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: space-around;
}
@media only screen and (max-width: 600px) {
  .bdash_form_button_input {
    margin-top: 8vw;
  }
}

.bdash_form_commit_button,
.bdash_form_next_button {
  border: none;
  font-size: 20px;
  width: 200px;
  height: 60px;
  border-radius: 0;
  background-color: #ccc;
  color: #fff;
}
@media only screen and (max-width: 600px) {
  .bdash_form_commit_button,
  .bdash_form_next_button {
    border: none;
    font-size: 5vw;
    width: 50vw;
    height: 11vw;
  }
  .bdash-form-confirm .bdash_form_commit_button,
  .bdash-form-confirm .bdash_form_next_button {
    border: none;
    font-size: 5vw;
    width: 30vw;
    height: 11vw;
  }
}

.bdash_form .page-item input[type='text'],
.bdash_form .page-item input[type='number'],
.bdash_form .page-item input[type='date'],
.bdash_form .page-item input[type='email'],
.bdash_form .page-item input[type='tel'],
.bdash_form .page-item input[type='password'],
.bdash_form select,
.bdash_form textarea {
  height: 50px;
  color: #666;
  padding: 5px 30px 5px 20px;
  width: 100%;
  border: none;
  font-size: 18px;
  background-color: #FCFCFC;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.bdash_form .page-item textarea {
  height: 130px;
  color: #666;
  padding: 5px 20px;
  width: 100%;
  font-size: 18px;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  resize: none;
}
@media only screen and (max-width: 600px) {
  .bdash_form .page-item input[type='text'],
  .bdash_form .page-item input[type='number'],
  .bdash_form .page-item input[type='date'],
  .bdash_form .page-item input[type='email'],
  .bdash_form .page-item input[type='tel'],
  .bdash_form .page-item input[type='password'],
  .bdash_form select,
  .bdash_form textarea {
    height: 11vw;
    padding: 1vw 8vw 1vw 4vw;
    font-size: 4.5vw;
    border-radius: 1.5vw;
  }
  .bdash_form .page-item textarea {
    height: 30vw;
    padding: 1vw 2vw 1vw 4vw;
    font-size: 4.5vw;
  }
}

.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,
.bdash_form textarea::placeholder {
  font-size: 18px;
  color: #C4C4C4;
}

.bdash_form .page-item textarea:focus {
  border-color: #C4C4C4;
  background: #fbfbfb;
}

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

@media only screen and (max-width: 600px) {
  .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,
  .bdash_form textarea::placeholder {
    font-size: 4.5vw;
  }
}

[type='button'],
[type='reset'],
[type='submit'],
button:not(:disabled) {
  background-color: lightgray;
  border: none;
  border-radius: 5px;
}

[type='button']:not(:disabled),
[type='reset']:not(:disabled),
[type='submit']:not(:disabled),
button:not(:disabled) {
  background-color: #7e7e7e;
  cursor: pointer;
}
@media only screen and (max-width: 600px) {
  [type='button'],
  [type='reset'],
  [type='submit'],
  button:not(:disabled) {
    border-radius: 2vw;
  }
}

.bdash_form_back_button {
  margin-bottom: 10px;
  border: none;
  font-size: 20px;
  background-color: #7e7e7e !important;
  color: #fff;
  width: 200px;
  height: 60px;
  box-shadow: none;
}
@media only screen and (max-width: 600px) {
  .bdash_form_back_button {
    border: none;
    font-size: 5vw;
    width: 30vw;
    height: 11vw;
  }
}
.bdash-form-confirm .bdash_form_button_confirm {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm .bdash_form_button_confirm {
    margin-top: 7vw;
  }
}

.bdash-form-confirm .bdash_form_button_confirm input {
  margin-left: 40px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm .bdash_form_button_confirm input {
    margin-left: 10vw;
  }
}

.bdash-form-confirm .page-item {
  display: flex;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm .page-item {
    display: block;
  }
}

.bdash-form-input .bd-pageset-content-wrap{
  padding: 35px 20px 100px;
  max-width: 900px;
  margin: 0 auto;
  background: #FAFAFA;
}
.bdash-form-confirm .bd-pageset-content-wrap,
.bdash-form-submit .bd-pageset-content-wrap,
.bdash-not-found .bd-pageset-content-wrap {
  padding: 35px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: #FAFAFA;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .bd-pageset-content-wrap {
    padding: 7vw 3.5vw 10vw;
    margin: 0 auto;
  }
  .bdash-form-confirm .bd-pageset-content-wrap,
  .bdash-form-submit .bd-pageset-content-wrap,
  .bdash-not-found .bd-pageset-content-wrap {
    padding: 7vw 3.5vw;
    margin: 0 auto;
  }
  .bdash-form-confirm .page-item .page-item-info {
    font-size: 4vw;
  }
}

.bdash_form .page-item .page-item-info {
  width: 100%;
  max-width: 500px;
  flex: 1;
  margin: 0;
}
@media only screen and (max-width: 600px) {
  .bdash_form .page-item .page-item-info {
    padding: 0;
  }
}

/* カスタムラジオ　と　カスタムチェックボックス */

.bdash-form-input .form-item-radio .page-item-info,
.bdash-form-input .form-item-checkbox .page-item-info {
  padding: 0 0 0 20px;
  margin-top: -8px;
  border-radius: 5px;
}

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

.label-text-radio,
.label-text-checkbox {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 5px;
  position: relative;
  width: auto;
}

.label-text-checkbox::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  left: -18px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  background: #fff;
  border: 1px solid #666;
  border-radius: 3px;
}

.label-text-checkbox::after {
  border-right: 6px solid #666;
  border-bottom: 3px solid #666;
  content: '';
  display: block;
  height: 18px;
  left: -11px;
  margin-top: -18px;
  opacity: 0;
  position: absolute;
  top: 60%;
  transform: rotate(45deg);
  width: 11px;
}

input[type='checkbox']:checked + div::before {
  border-color: #666;
}

input[type='radio']:checked + div::after,
input[type='checkbox']:checked + div::after,
input[type='checkbox']:checked + label::after {
  opacity: 1;
}

.label-text-radio::before {
  position: absolute;
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #666;
  left: -18px;
  top: 7px;
}

.label-text-radio::after {
  position: absolute;
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
  left: -15px;
  top: 10px;
  opacity: 0;
}

@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-radio .page-item-info,
  .bdash-form-input .form-item-checkbox .page-item-info {
    padding: 3vw 0 3vw 5vw;
    border-radius: 1.5vw;
  }
}

.form-item-radio .page-item-label,
.form-item-checkbox .page-item-label {
  margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
  .form-item-radio .page-item-label,
  .form-item-checkbox .page-item-label {
    margin-bottom: 1.5vw;
  }
}

.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: 20px;
  padding: 4px 0;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-radio .page-item-info label,
  .bdash-form-input .form-item-checkbox .page-item-info label {
    margin-right: 5vw;
    padding: 1vw 0;
  }
}

.bdash-form-input .form-item-radio .label-text-radio,
.bdash-form-input .form-item-checkbox .label-text-checkbox {
  font-size: 16px;
  flex: 1;
  padding: 5px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-radio .label-text-radio,
  .bdash-form-input .form-item-checkbox .label-text-checkbox {
    font-size: 15px;
  }
}

.bdash-form-input .form-item-radio .page-item-info label input,
.bdash-form-input .form-item-checkbox .page-item-info label input {
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-radio .page-item-info label input,
  .bdash-form-input .form-item-checkbox .page-item-info label input {
    width: 5vw;
    height: 5vw;
    margin-right: 1vw;
  }
}
/* マトリクスラジオボタン */
/* マトリクスチェックボタン */
/* マトリクスプルダウン */

.bdash-form-input .form-item-matrix,
.bdash-form-confirm .form-item-matrix {
  display: flex;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-matrix,
  .bdash-form-confirm .form-item-matrix {
    display: block;
  }
}

.bdash-form-input .form-item-matrix table,
.bdash-form-confirm .form-item-matrix table {
  width: 100%;
}

.bdash-form-input .form-item-matrix .page-item-label,
.bdash-form-confirm .form-item-matrix .page-item-label {
  margin-bottom: 10px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-matrix .page-item-label,
  .bdash-form-confirm .form-item-matrix .page-item-label {
    margin-bottom: 2vw;
  }
}

.bdash-form-input .form-item-matrix .page-item-info,
.bdash-form-confirm .form-item-matrix .page-item-info {
  overflow: auto;
}

.bdash-form-input .form-item-matrix .page-item-info th {
  padding: 10px;
  font-weight: 400;
  text-align: center;
}
.bdash-form-confirm .form-item-matrix .page-item-info th {
  padding: 0;
  font-weight: 400;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-matrix .page-item-info th,
  .bdash-form-confirm .form-item-matrix .page-item-info th {
    padding: 2.5vw 0;
    font-size: 4vw;
  }
}

.bdash-form-confirm .form-item-matrix .page-item-info th,
.bdash-form-confirm .form-item-matrix .page-item-info td {
  text-align: left;
}
.bdash-form-input .form-item-matrix .page-item-info td {
  padding: 10px 0;
  text-align: center;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-matrix .page-item-info td {
    padding: 2.5vw 0;
    font-size: 4vw;
  }
  .bdash-form-confirm .form-item-matrix .page-item-info td {
    padding: 2.5vw 0;
    font-size: 4vw;
  }
}

.bdash-form-input .form-item-matrix .page-item-info thead {
  background: #f4f4f4;
}

.bdash-form-input .form-item-matrix .page-item-info tr:nth-of-type(2n) {
  background: #f4f4f4;
}

.form-item-matrix .custom-select {
  width: 90%;
}
@media only screen and (max-width: 600px) {
  .form-item-matrix .custom-select {
    height: 9vw;
    font-size: 4vw;
  }
}

.form-item-matrix .custom-select:focus {
  box-shadow: none;
  background-color: #ececed;
}

.bdash-form-input .form-item-matrix input {
  width: 20px;
  height: 20px;
  vertical-align: sub;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-matrix input {
    width: 5vw;
    height: 5vw;
    vertical-align: text-bottom;
  }
}

/* スコア */
.bdash-form-input .form-item-score,
.bdash-form-confirm .form-item-score {
  display: flex;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-score,
  .bdash-form-confirm .form-item-score {
    display: block;
  }
}

.bdash-form-input .page-item-score .page-item-label,
.bdash-form-confirm .page-item-score .page-item-label {
  margin-bottom: 10px;
}

.bdash-form-input .form-item-score-label,
.bdash-form-confirm .form-item-score-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.bdash-form-confirm .form-item-score-label.clearfix::after {
  content: none;
}

.form-item-score-label-low {
  font-size: 16px;
}
@media only screen and (max-width: 600px) {
  .form-item-score-label-low {
    font-size: 4vw;
  }
}

.form-item-score-label-high {
  font-size: 16px;
}
@media only screen and (max-width: 600px) {
  .form-item-score-label-high {
    font-size: 4vw;
  }
}

.bdash-form-input .form-item-score-val,
.bdash-form-confirm .form-item-score-val {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}

.bdash-form-input .form-item-score-val label,
.bdash-form-confirm .form-item-score-val label {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-score-val label,
  .bdash-form-confirm .form-item-score-val label {
    font-size: 4vw;
  }
}

.bdash-form-input .form-item-score-val label input,
.bdash-form-confirm .form-item-score-val label input {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-input .form-item-score-val label input,
  .bdash-form-confirm .form-item-score-val label input {
    width: 5vw;
    height: 5vw;
    margin-right: 1.5vw;
  }
}

.bdash-form-confirm .form-item-score-label {
  display: flex;
  gap: 15px;
}

.bdash-form-confirm .form-item-score-val label {
  margin-right: 10px;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm .form-item-score-val label {
    margin-right: 1.5vw;
  }
}

.bdash-form-confirm .form-item-score-val input {
  margin-right: 5px;
}

/* 電話番号 */
.bdash_form .form-item-tel-division .page-item-info input[type='text'] {
  flex: unset;
  width: 125px;
  display: inline;
}

@media only screen and (max-width: 600px) {
  .bdash-form-confirm .form-item-score-val input {
    margin-right: 1.5vw;
  }
}

/* 生年月日 */
.bdash_form .form-item-birthday .page-item-info select {
  flex: unset;
  width: 120px;
  display: inline;
}

/* 郵便 */
.form-item-postalcode .page-item-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.form-item-postalcode .page-item-info input:nth-of-type(1) {
  width: 100%;
  max-width: 90px;
  padding-right: 0;
}
@media only screen and (max-width: 600px) {
  .form-item-postalcode .page-item-info input:nth-of-type(1) {
    max-width: 20vw;
  }
  /* 生年月日 */
  .bdash_form .form-item-birthday .page-item-info select {
    width: 100px;
    box-sizing: border-box;
  }
  /* 電話番号 */
  .bdash_form .form-item-tel-division .page-item-info input[type='text'] {
    width: 100px;
    box-sizing: border-box;
  }
}

.form-item-postalcode .page-item-info input:nth-of-type(2) {
  width: 100%;
  max-width: 110px;
  padding-right: 0;
}
@media only screen and (max-width: 600px) {
  .form-item-postalcode .page-item-info input:nth-of-type(2) {
    max-width: 30vw;
  }
}

/* 同意書 */
.bdash_form .bd-pageset-parent .page-item.form-item-agreement {
  display: block;
  max-width: 730px;
  background: none;
  margin: 0 auto;
  border-bottom: none;
}

.bdash-form-confirm
  .bdash_form
  .bd-pageset-parent
  .page-item.form-item-agreement {
  display: flex;
}
@media only screen and (max-width: 600px) {
  .bdash-form-confirm
    .bdash_form
    .bd-pageset-parent
    .page-item.form-item-agreement {
    display: block;
  }
}

.bdash_form .bd-pageset-parent .page-item.form-item-agreement .page-item-label {
  min-height: 0;
  justify-content: flex-start;
  margin-bottom: 10px;
  padding-left: 0;
}

.bdash-form-confirm
.bdash_form
.bd-pageset-parent
.page-item.form-item-agreement
.page-item-label {
  margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
  .bdash_form
  .bd-pageset-parent
  .page-item.form-item-agreement
  .page-item-label {
    max-width: none;
  }
  .bdash-form-confirm
  .bdash_form
  .bd-pageset-parent
  .page-item.form-item-agreement
  .page-item-label {
    margin-bottom: 3vw;
  }
}
.bdash_form .bd-pageset-parent .page-item.form-item-agreement .page-item-info {
  max-width: none;
  padding: 0;
  border-left: none;
}
.bdash_form
.bd-pageset-parent
.page-item.form-item-agreement
.agreement-text-title {
  margin-bottom: 5px;
  padding: 0;
  font-size: 14px;
  color: #495057;
}
@media only screen and (max-width: 600px) {
  .bdash_form
    .bd-pageset-parent
    .page-item.form-item-agreement
    .agreement-text-title {
    font-size: 3.5vw;
  }
}
.bdash_form .bd-pageset-parent .page-item.form-item-agreement .agreement-text {
  max-height: 180px;
  margin-bottom: 5px;
  padding: 10px;
  font-weight: 400;
  background-color: #FCFCFC;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  overflow-y: scroll;
}
@media only screen and (max-width: 600px) {
  .bdash_form
    .bd-pageset-parent
    .page-item.form-item-agreement
    .agreement-text {
    height: 40vw;
  }
}
.bdash_form .bd-pageset-parent .page-item.form-item-agreement label {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
  .bdash_form .bd-pageset-parent .page-item.form-item-agreement label {
    font-size: 3vw;
  }
}
.agree_checkbox + label {
  position: relative;
  padding-left: 24px;
}
.agree_checkbox + label::before {
  background: #fff;
  border: 1px solid #666;
  border-radius: 3px;
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  left: 0;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}
.agree_checkbox + label::after {
  border-right: 6px solid #666;
  border-bottom: 3px solid #666;
  content: '';
  display: block;
  height: 18px;
  left: 7px;
  margin-top: -17px;
  opacity: 0;
  position: absolute;
  top: 60%;
  transform: rotate(45deg);
  width: 11px;
}


.progressbar {
  max-width: 650px;
  margin: 0 auto 20px;
  padding: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  position: relative;
  font-family: 'MS P明朝', 'ＭＳ Ｐ明朝', 'MS P 明朝', 'MS 明朝', 'MS PMincho', 'ヒラギノ明朝 ProN W6', 'Times New Roman', YuMincho, 'Hiragino Mincho ProN', 'Yu Mincho', sans-serif;
}

.bdash-form-submit .progressbar {
  margin: 0 auto;
}

.progressbar li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  list-style-type: none;
  width: 25%;
  text-align: center;
  background: #C4C4C4;
  font-size: 18px;
  color: #FFFFFF;
  height: 40px;
}
.progressbar li::after {
  content: "";
  position: absolute;
  right: -15px;
  width: 26px;
  height: 26px;
  top: 50%;
  background: #C4C4C4;
  transform: translateY(-50%) rotate(45deg) skew(10deg, 10deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  z-index: 1;
}
.progressbar li:nth-of-type(3):after {
  right: -14px;
  background: #C4C4C4;
}
.progressbar li.active:nth-of-type(1) {
  border-radius: 5px 0 0 5px;
}

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


@media only screen and (max-width: 600px) {
  .progressbar {
    margin: 0 auto;
  }
  .progressbar li {
    position: relative;
    list-style-type: none;
    width: 30%;
    height: 9vw;
    padding-left: 4vw;
    font-size: 3.6vw;
    padding-left: 2.8vw;
    font-size: 3.5vw;
  }
  .progressbar li::after {
    content: "";
    right: -2.9vw;
    width: 5.7vw;
    height: 5.7vw;
    border-top: 0.6vw solid #fff;
    border-right: 0.6vw solid #fff;
  }
  .progressbar li:nth-of-type(3):after {
    right: -2.8vw;
    width: 5.3vw;
    height: 5.3vw;
    border-top: none;
    border-right: none;
  }

  .progressbar li.active:nth-of-type(1) {
    border-radius: 1.1vw 0 0 1.1vw;
  }
  .progressbar li.active:nth-of-type(1) {
    border-radius: 1.5vw 0 0 1.5vw;
  }
}

@media only screen and (max-width: 480px)  {
 .bdash-form-input .form-item-score-val {
    gap: 2px;
 }
}

p img {
  max-width: 100%;
}

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

/* DEV020504カレンダーマークの表示位置がページセットテンプレート間で統一されていない */
.bdash_form input.custom-calendar[type="text"] {
  /* 90% is current width, 19px is width of the Date Icon */
  max-width: calc(90% - 19px);
}
