html {
  /* background-color: #eafaff; */
}

.display_status {
  display: flex;
  justify-content: center;
}

.display_status .status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.display_status .status .number {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  border-radius: 100px;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  font-family: Jost;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.display_status .status .number.active {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.display_status .status .text {
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.05em;
}

.display_status .line {
  width: 40px;
  height: 20px;
  border-bottom: 2px dashed #000000;
}

.display_status_line {
  width: 40px;
  height: 20px;
  border-bottom: 2px dashed #000000;
}

form .form h2.dao_other {
  font-size: 16px;
  line-height: 140%;
  margin-top: 47px;
  padding: 8px 16px;
}

.bold_line {
  margin-top: 10px;
  border-top: 2.5px dashed;
}

.form {
  box-sizing: border-box;
  display: block;
  width: 100%;
  border-radius: 6px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form fieldset {
  background-color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #000;
  font-family: Noto Sans JP;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.12px;
}

.form fieldset#complete div.label {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form fieldset#complete div.label div p {
  color: #000;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.7px;
}

.form fieldset#complete div.label div p.tel {
  color: #000;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
  letter-spacing: 0.7px;
}

.form fieldset#complete div.label div span {
  color: #000;
  font-family: 'Noto Sans JP';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 190%;
  letter-spacing: 0.8px;
}

.form fieldset.button {
  background-color: initial;
  padding: 0 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.form fieldset.submit_button {
  background-color: initial;
  padding: 0 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.submit_button {
  background-color: initial;
  padding: 0 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.form fieldset.submit_button button span.icon_box {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form fieldset.submit_button button span span.icon.right_arrow {
  width: 8px;
  height: 8px;
}

.form fieldset .line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #000000;
}

.form fieldset .line_multiple {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #000000;
  margin: 20px 0 10px;
}

form .form h2,
h1.thanks {
  background-color: var(--result-insurance-type-header-color);
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  font-family: Noto Sans JP;
}

form .form .title {
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  font-family: Noto Sans JP;
}

.form fieldset label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form fieldset .check_square_label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form fieldset label.check_label {
  background: #fff;
  flex-direction: row;
}

.purpose {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.purpose_line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dotted #000000;
}

.purpose_container {
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.form fieldset label.check_label:has(input)::before {
  content: '';
  background: url('../img/form/radio_nonChecked.svg') no-repeat;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 4px;
}

.form fieldset label.check_label:has(input:checked)::before {
  background: url('../img/form/radio_checked.svg') no-repeat;
}

.form fieldset label.check_square_label:has(input)::before {
  content: '';
  background: url('../img/form/small_nonChecked.svg') no-repeat;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.form fieldset label.check_square_label:has(input:checked)::before {
  background: url('../img/form/small_checked.svg') no-repeat;
}

.form fieldset label.check_label {
  align-items: center;
  user-select: none;
}

/* 項目ラベル */
.form label .label,
.form .radio .label {
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  font-family: Noto Sans JP;
  line-height: 19.6px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 16px;
  vertical-align: bottom;
}

.form label .label div {
  display: flex;
  align-items: center;
}

.form label .label span {
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  font-family: Noto Sans JP;
  line-height: 19.6px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 16px;
  vertical-align: bottom;
}

/* 必須ラベル */
.form label .label span.required,
.form .radio .label span.required {
  margin-bottom: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #F77051;
  padding: 0 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.05em;
  min-width: 6%;
}

.form label p {
  color: #000000;
  font-family: Noto Sans JP;
  font-weight: 700;
  font-size: 12px;
}

.form label p.online-consultation-note {
  text-indent: -1em;
  padding-left: 1em;
}

.form label p.online-consultation-note::before {
  content: '※';
}

.form label .attention_text {
  color: #626262;
  font-family: Noto Sans JP;
  font-weight: 400;
  font-size: 12px;
}

/* 任意ラベル */
.form label .label span.optional {
  margin-bottom: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #888888;
  padding: 0 8px;

  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.05em;
  margin: 0;
}

.invalid,
.form label input[type='text'].invalid,
.form label select.invalid,
.form label select[name='select_time'].invalid,
.form label input[type='email'].invalid,
.form label input[type='tel'].invalid,
.form fieldset div label textarea.invalid,
.form label input[type='button'].invalid {
  background-color: #ffe8e8;
}

.form .purpose_other input[type='text'].invalid {
  background-color: #ffe8e8;
}

.form label input[type='text'],
.form label input[type='button'],
.form label input[type='email'],
.form label input[type='tel'],
.form label select,
.form .label input[type='text'],
.form .label input[type='button'],
.form .label input[type='email'],
.form .label input[type='tel'] {
  box-sizing: border-box;
  color: #000000;
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  background: #ffffff;
  outline: none;
  border: solid 2px #000000;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.form .purpose_other input[type='text'] {
  box-sizing: border-box;
  color: #000000;
  display: block;
  width: 90%;
  height: 35px;
  padding: 0 16px;
  background: #ffffff;
  outline: none;
  border: solid 2px #000000;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: 23px;
}

.form .purpose_other input[type='text'].hidden {
  display: none;
}

.form .purpose_other {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form label input[type='text']:not(.invalid):focus,
.form label input[type='email']:not(.invalid):focus,
.form label input[type='tel']:not(.invalid):focus,
.form .label input[type='text']:not(.invalid):focus,
.form .label input[type='email']:not(.invalid):focus,
.form .label input[type='tel']:not(.invalid):focus {
  background: #d6fcf7;
}

.form label input[type='text']::placeholder,
.form label input[type='button']::placeholder,
.form label input[type='email']::placeholder,
.form label input[type='tel']::placeholder,
.form label select:disabled,
.form .label input[type='text']::placeholder,
.form .label input[type='email']::placeholder,
.form .label input[type='tel']::placeholder {
  color: #a9a9a9;
  font-size: 16px;
  line-height: 22px;
}

.form label input[type='checkbox'],
.form .label input[type='checkbox'],
.form label input[type='radio'],
.form .label input[type='radio'] {
  display: none;
}

.form label textarea {
  box-sizing: border-box;
  padding: 16px;
  width: 100%;
  min-height: 150px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.05em;
  border: solid 2px #000000;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.form label textarea:focus {
  background: #d6fcf7;
}

.form label textarea::placeholder {
  color: #a9a9a9;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.05em;
}

.form label .multiple {
  display: flex;
  gap: 4px;
}

.form label .multiple input {
  height: 54px;
}

.form .radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form .radio .radio_multiple {
  display: flex;
  gap: 10px;
}

.form .radio label {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;

  height: 54px;
  width: calc(50% - 5px);
  background: #000000;
  border-radius: 8px;
  padding: 10px 32px 10px 16px;
}

.form .radio label span {
  width: 58.5px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.05em;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.form .radio label::before {
  content: '';
  width: 24px;
  height: 24px;
}

#select_date_button {
  width: 100%;
}

#select_date_button {
  display: flex;
  height: 55px;
  padding: 10px;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  border-radius: 14px;
  border: 1px solid #000;
  text-align: center;
  background: #ffbd12;
  /* m_b */
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 19.6px */
  letter-spacing: 0.7px;
  white-space: pre-wrap;
  /* シャドウ */
  box-shadow: 0px 4px 0px 0px #000;
  color: #000;
}

#select_date_button:disabled {
  background: #d9d9d9;
}

#search_address {
  width: 130px;
  height: 54px;
  padding: 5px;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  /* background: #ffbd12; */
  color: var(--90, #333);
  text-align: center;
  box-shadow: none;
  /* m_b */
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 19.6px */
  letter-spacing: 0.7px;
}

#search_address:disabled {
  width: 130px;
  height: 54px;
  padding: 5px;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--90, #333);
  text-align: center;
  box-shadow: none;
  /* m_b */
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 19.6px */
  letter-spacing: 0.7px;
}

.address_wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  flex-direction: row;
}

.address_text_wrapper {
  display: flex;
  flex-wrap: wrap;
  color: #000;
  width: 287px;
  text-align: center;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.7px;
}

.address_text_wrapper input {
  outline: none;
  border: none;
  background: none;
}

.address_input_wrapper {
  display: flex;
}

.hidden {
  display: none;
}

.form .radio label:has(input:checked)::before {
  background: url('../img/form/checked.svg') no-repeat;
  transform: translateX(2px);
}

.form .radio label:has(input:not(:checked))::before {
  background: url('../img/form/unchecked.svg') no-repeat;
  transform: translateX(2px);
}

.form label select:focus {
  background: #d6fcf7;
}

.error_message {
  display: none;
  color: #e7643d;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.05em;
}

#error_message_other {
  color: #e7643d;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.05em;
  margin-left: 23px !important;
}

.form label:has(:not(:invalid)) .error_message {
  display: none;
}

.form label .prefecture {
  display: flex;
  gap: 4px;
}

.form label .prefecture select {
  color: #a9a9a9;
  height: 56px;
  appearance: none;
  background-image: url('../img/form/form_pulldown_arrow.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.form label .prefecture select option {
  color: #000;
}

.form label .prefecture select option:disabled {
  color: #a9a9a9;
}

.form label .birth_date {
  display: flex;
  gap: 4px;
}

.form label .birth_date select {
  color: #a9a9a9;
  height: 56px;
  appearance: none;
  background-image: url('../img/form/form_pulldown_arrow.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.form label .annual_salary select {
  color: #a9a9a9;
  height: 56px;
  appearance: none;
  background-image: url('../img/form/form_pulldown_arrow.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.form label .birth_date select option {
  color: #000;
}

.form label .birth_date select option:disabled {
  color: #a9a9a9;
}

.form .note {
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.05em;
}

.intentions_agree_container {
  display: flex;
  padding: calc(17px / 2) 16px calc(17px / 2) 12px;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.intentions_agree_container .agree_check_label {
  transform: translateX(2px);
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #ddd;
  background: #fff;
}

.intentions_agree_container .agree_check_label:has(input:checked) {
  background: url('../img/form/agree_checked.svg') no-repeat;
}

/* 注意事項 */
.agree_container {
  padding: calc(17px / 2) 16px calc(17px / 2) 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left:20px;
}

.agree-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
  justify-content: left;
}

.agreement {
  display: flex;
  border-radius: 4px;
}

.agreement span {
  line-height: 21.6px;
}

.agree_container .agree_check_label {
  transform: translateX(2px);
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #ddd;
  background: #fff;
}

.agree_check_label {
  width: 20px;
  height: 20px;
}

.agree_container .agree_check_label.valid {
  background: url('../img/form/agree_checked.svg') no-repeat;
}

.agreement span {
  color: #626262;
  font-feature-settings: 'pwid' on;
  font-family: Noto Sans JP;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.12px;
}

.agreement span a {
  color: #1e77be;
  text-decoration: underline;
}

/* 送信ボタン */
form button {
  background: #F77051;
  border: none;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 14px;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  /* box-shadow: 0 4px #000000; */
  width: 40%;
}

form .submit {
  background: #E7643D;
  border: 2px solid #000000;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 14px;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px #000000;
  width: 70%;
}

form .submit:disabled {
  background: #ebebeb;
  color: #a9a9a9;
  cursor: initial;
  width: 70%;
  color: #A9A9A9;
  font-size: 16px;
  font-family: Noto Sans JP;
  font-weight: 700;
  box-shadow: none;
  border: none;
}

form .intention_submit {
  background: #00B900;
  border: none;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 14px;
  padding: 10px 25px;
  cursor: pointer;
  box-shadow: 0 4px #000000;
  width: 72%;
  display: flex;
  justify-content: center;
}

form button .icon_box .icon.right_arrow,
.modal_body button .icon_box .icon.right_arrow {
  transform: translateX(-25%) rotate(45deg);
}

form button:disabled {
  background: #ebebeb;
  color: #a9a9a9;
  cursor: initial;
  width: 60%;
  color: #A9A9A9;
  font-size: 20px;
  font-family: Noto Sans JP;
  font-weight: 700;
}

form .intention_submit:disabled {
  background: #ebebeb;
  color: #a9a9a9;
  cursor: initial;
  width: 61%;
  font-size: 20px;
  font-family: Noto Sans JP;
  font-weight: 700;
  box-shadow: none !important;
  display: flex;
  justify-content: center;
}

form button:disabled .icon_box .icon.right_arrow,
.modal_body button:disabled .icon_box .icon.right_arrow {
  border-top: 3px solid #a9a9a9;
  border-right: 3px solid #a9a9a9;
}

/* 予約時間表示箇所 */
#reservation .date_select {
  position: relative;
}

#primary_display_reservation_date,
#secondary_display_reservation_date {
  height: 56px;
  color: #000000;
  text-align: left;
  position: relative;
}

#reservation .date_select .icon_box,
fieldset.button .icon_box,
.modal_body button .icon_box {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#reservation .date_select .icon_box .icon,
fieldset.button .icon_box .icon,
.modal_body button .icon_box .icon {
  width: 8px;
  height: 8px;
  border-top: 3px solid #000000;
  border-right: 3px solid #000000;
  transform: rotate(135deg);
}

#primary_display_reservation_date::placeholder,
#secondary_display_reservation_date::placeholder {
  color: #a9a9a9;
}

#primary_input_reservation_date[value=''] + .date_select #primary_display_reservation_date,
#secondary_input_reservation_date[value=''] + .date_select #secondary_display_reservation_date {
  color: #a9a9a9;
}

/* モーダル */
dialog {
  box-sizing: border-box;
  width: 100%;
  max-width: 375px;
  box-shadow: 0 -2px 3px #00000014;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 0;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

dialog::backdrop {
  background-color: initial;
}

dialog .modal_header {
  padding: 18px 34px;
  border-bottom: 1px solid #dddddd;
  color: #626262;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

dialog .modal_header .modal_title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

dialog .modal_header #modal_close {
  cursor: pointer;
}

dialog .modal_body {
  padding: 18px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Datepickerスタイル */
.datepicker_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.datepicker_title div:first-child {
  color: #939393;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
}

.datepicker_title .date_value {
  color: #cccccc;
  font-size: 15px;
  line-height: 21px;
}

#datepicker input {
  border: none;
}

/* カレンダースタイル */
.ui-datepicker {
  box-sizing: border-box;
  width: 100% !important;
  flex: 0;
}

.ui-datepicker-header {
  background-color: #ffffff !important;
  border: none !important;
  color: #626262 !important;
  font-size: 15px;
  font-weight: 700;
}

/* カレンダー月切り替えアイコン */
.ui-datepicker-header .ui-datepicker-next.ui-corner-all {
  height: 20px;
  width: 21px;
  background-image: url('../img/form/calender_arrow_icon.svg') !important;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  cursor: pointer;
}

.ui-datepicker-header .ui-datepicker-prev.ui-corner-all {
  height: 20px;
  width: 21px;
  background-image: url('../img/form/calender_arrow_icon.svg') !important;
  top: 50%;
  left: 9px;
  transform: translateY(-50%) rotate(180deg);
  cursor: pointer;
}

.ui-datepicker-header .ui-datepicker-next .ui-icon.ui-icon-circle-triangle-e,
.ui-datepicker-header .ui-datepicker-prev .ui-icon.ui-icon-circle-triangle-w {
  display: none;
}

/* 現在月カレンダー表示時は戻るボタン非表示 */
.ui-datepicker-header .ui-datepicker-prev.ui-corner-all.ui-state-disabled {
  display: none;
}

/* カレンダー曜日 */
.ui-datepicker-calendar thead tr {
  color: #626262 !important;
  font-size: 14px;
  font-weight: 700;
}

.ui-datepicker-calendar thead tr th:first-child {
  color: #ff7269 !important;
}

.ui-datepicker-calendar thead tr th:last-child {
  color: #007fdd !important;
}

/* カレンダー日付 */
.ui-datepicker-calendar tbody tr:first-child .ui-datepicker-other-month.ui-state-disabled .ui-state-default,
.ui-datepicker-calendar
  tbody
  tr:last-child
  .ui-datepicker-other-month.ui-datepicker-unselectable.ui-state-disabled
  .ui-state-default {
  background-color: #ffffff !important;
  color: #c4c4c4 !important;
}

.ui-datepicker-calendar tbody tr:last-child .ui-datepicker-other-month.ui-state-disabled .ui-state-default {
  background-color: #fddf95 !important;
  color: #939393 !important;
}

.ui-datepicker-unselectable.ui-state-disabled {
  opacity: 1 !important;
}

.ui-state-default {
  box-sizing: border-box;
  height: 40px;
  width: 40px;
  border: none !important;
  background-color: #fddf95 !important;
  color: #939393 !important;
  font-size: 14px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.ui-state-disabled .ui-state-default {
  background-color: #ffefc8 !important;
  color: #c4c4c4 !important;
}

.ui-state-default.ui-state-active {
  background-color: #ffbd12 !important;
  color: #ffffff !important;
}

/* 予約時間セレクトボックス */
dialog .modal_body label {
  color: #939393;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  margin-bottom: 24px;
}

dialog .modal_body label select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: 1px solid #ffbd12;
  border-radius: 4px;
  margin-top: 8px;
  padding: 12px;
  background: #ffffff;
  color: #ffbd12;
  font-size: 15px;
  line-height: 21px;
  text-align: center;
  cursor: pointer;

  background-image: url('../img/form/select_arrow_drop_down.svg');
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

dialog .modal_body label select:focus {
  outline: none;
}

#reservation_time:focus {
  border: 1px solid #ffbd12;
  background: #ffffff;
}

dialog .modal_body label select:has(option[value='']:checked) {
  border: 1px solid #dddddd;
  color: #cccccc;
}

dialog .modal_body label select option {
  color: initial;
}

/* 完了ボタン */
dialog .modal_body .submit_form {
  padding: 0 calc((375px - 68px - 250px) / 2);
}

#submit_reservation_date {
  padding: 10px 0;
}

.modal_body button {
  width: 100%;
  background: #ffbd12;
  border: none;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 14px;
  padding: 10px 0;
  box-shadow: 0 4px #000000;
  position: relative;
  cursor: pointer;
}

.modal_body button:disabled {
  background: #ebebeb;
  color: #a9a9a9;
  box-shadow: none;
  cursor: initial;
}

#message_not_available_time {
  color: #e7643d;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 12px;
}

/* 完了ページ */
.container {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  flex: auto;
}

.message_body {
  box-sizing: border-box;
  min-width: 335px;
  color: #000000;
  background-color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.complete_message .reservation_display {
  border-radius: 8px;
  background: var(--complete-date-bg-color);
  padding: 9px 0 7px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.complete_message .reservation_display .calender_icon_circle {
  width: 29px;
  height: 29px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: var(--complete-calender-icon-image);
}

.complete_message .reservation_display .calender_icon {
  width: 16px;
  height: 16px;
}

#reservation_date {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.05em;
}

.complete_message .description {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.complete_message p {
  font-family: Noto Sans JP;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.05em;
  text-align: left;
}

.complete_message p span.tel {
  font-size: 21px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 1.05px;
}

.complete_message p span.tel span {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.05em;
}

/* ローディング ---------------------------- */
form .form .loading {
  position: relative;
}

form .form #reservation.over_lay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #405771;
  opacity: 0.7;
  z-index: 10;
}

form .form .loading::before {
  content: url('../img/form/loading.svg');
  position: absolute;
  top: calc(50% - 59px);
  left: calc(50% - (59px / 2));
  width: 59px;
  height: 59px;
  z-index: 20;

  animation: 3s linear infinite rotation;
}

/* seminarform */

.questionnaire_title {
  text-align: center;
  padding: 10px 6.5px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1px;
  border-radius: 5px;
  color: #fff;
  background-color: #333;
  font-family: 'Noto Sans JP';
  font-style: normal;
}

.questionnaire_text {
  display: flex;
  width: 287px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto;
  color: #000;
  background: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.7px;
}

.submit_button button {
  background: #ffbd12;
  border: none;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 14px;
  padding: 10px 10px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px #000000;
}

.fixed_wrapper {
  position: fixed;
  width: 100%;
  bottom: 0;
}

@keyframes rotation {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

form .form .loading::after {
  content: '空き時間を探しています...';
  position: absolute;
  top: 59%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 20;
  color: #ffffff;
  font-family: Noto Sans JP;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

/* --------------------------------------- */

@media screen and (min-width: 600px) {
  h1 {
    font-size: 24px;
    line-height: 34px;
    gap: 12px;
  }

  .circle_message {
    width: 64px;
    height: 64px;
    border-radius: 82px;
    font-size: 13px;
    line-height: 18px;
  }

  h1.thanks {
    margin: 0;
  }

  .complete_message h2 {
    font-size: 20px;
    margin: 0 0 32px;
  }

  .container {
    margin: 0 auto;
  }

  .form {
    max-width: 600px;
  }

  .form .label .radio label {
    font-size: 15px;
    line-height: 21px;
  }

  .form .note {
    font-size: 12px;
    line-height: 19px;
  }

  .form label .error_message {
    font-size: 14px;
    line-height: 22px;
  }

  .form .agree_checkbox label {
    font-size: 15px;
    line-height: 21px;
  }

  .attention {
    margin: 14px auto 40px;
    height: 160px;
    padding: 12px 16px;
  }

  dialog {
    max-width: 520px;
  }

  dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.2);
  }

  dialog .modal_body {
    padding: 16px 100px 30px;
  }

  .ui-datepicker-header {
    font-size: 16px;
  }

  .ui-datepicker-calendar thead tr {
    font-size: 15px;
  }

  .ui-state-default {
    height: 42px;
    width: 42px;
    font-size: 15px;
  }

  dialog .modal_body .submit_form {
    padding: 0;
  }
}

/* アコーディオン部分 */
.accordion-title {
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  cursor: pointer;
  gap: 20px;
}

/* safariで表示崩れる問題の対応 */
summary::-webkit-details-marker {
  display: none;
}
.accordion-title::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

.accordion-title:focus {
  outline: none;
}

.closed-icon {
  display: block;
}

.opened-icon {
  display: none;
}

.accordion-item[open] .accordion-title {
  border-radius: 8px 8px 0px 0px;
  background: var(--intensions-title-bg-color) !important;
  border-bottom: none;
}

.accordion-item[open] .intensions-title {
  border-radius: 8px 8px 0px 0px;
  background: var(--intensions-title-bg-color) !important;
  border-bottom: none;
}

.accordion-item[open] .closed-icon {
  display: none;
}

.accordion-item[open] .opened-icon {
  display: block;
}

.accordion-content {
  flex-shrink: 0;
  border-radius: 0px 0px 8px 8px;
  background: #fff;
  border: 2px solid #000;
  border-top: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.detail_container {
  gap: 12px;
  display: flex;
  flex-direction: column;
  padding: 18px 23px 18px 24px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.simple_arrow {
  margin: auto;
  width: 40px;
  height: 18px;
}

.selected_dateTime {
  display: flex;
  padding: 16px;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #ffefc8;
}

.selected_dateTime span {
  display: flex;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #000;

  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.8px;
}

.reservation_button {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* 予約可能時間入力フォーム */
.form label select[name='select_time'] {
  appearance: none;
  background-image: url('../img/form/form_pulldown_arrow.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
  color: #a9a9a9;
}

.form label select[name='select_time']:valid {
  color: #000;
}

.form label select[name='select_time']:invalid {
  color: #a9a9a9;
}

.form label select[name='select_time'] option:first-child {
  color: #a9a9a9;
}

.form label select[name='select_time'] option {
  color: #000;
}

@media screen and (min-width: 600px) {
  .survey-intro {
    max-width: 600px;
  }
}

.survey-intro {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.survey-title {
  padding: 10px;
  text-align: center;
}

.survey-title h1 {
  background-color: #333333;
  color: #ffffff;
  padding: 10px;
  font-size: 20px;
  border-radius: 4px;
  font-family: Noto Sans JP;
}

.survey-description {
  font-size: 14px;
  line-height: 23.8px;
  color: #000000;
  font-family: Noto Sans JP;
  font-weight: 400;
  text-align: left;
}

.reward {
  padding: 10px;
}

.reward p {
  color: #000000;
  font-size: 16px;
  font-family: Noto Sans JP;
  font-weight: 700;
}

.points {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  font-family: Noto Sans JP;
}

.points span {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  font-family: Noto Sans JP;
}

@media screen and (max-width: 600px) {
  .form fieldset.submit_button button span.icon_box {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form fieldset {
    background-color: #ffffff;
    padding: 10px 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #000;
    font-family: Noto Sans JP;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0.12px;
  }

  .container {
    padding: 0;
    display: block;
    flex-direction: initial;
    gap: 0;
    flex: initial;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 40px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
}

.modal-content p.title {
  color: var(--000, #000);
  text-align: center;
  font-family: 'Noto Sans JP';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.8px;
  padding: 0 40px 0 40px;
}

.modal-content p.content {
  color: var(--000, #000);
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.7px;
  text-align: start;
}

.modal-content div.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-content div.contact div.phone {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.modal-content div.contact div.phone p.phone_number,
.modal-content div.contact p.contact_time {
  color: var(--000, #000);
  text-align: center;
  font-family: 'Noto Sans JP';
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.8px;
}

.modal-content div.contact div.contact_mail {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.modal-content div.contact div.contact_mail p.mail {
  color: var(--000, #000);
  text-align: center;
  font-family: 'Noto Sans JP';
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.6px;
}

.modal-content button {
  display: flex;
  width: 250px;
  padding: 10px 40px;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  border: 1px solid var(--000, #000) !important;
  background: var(--Primary100, #ffbd12);
  box-shadow: 0px 4px 0px 0px #000;
}

.modal-content button p {
  color: var(--000, #000);
  text-align: center;
  font-family: 'Noto Sans JP';
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1px;
}

.close {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 20px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#modalCloseButton {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #E7643D;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

#modalCloseButton:hover {
  background-color: #F77051;
}

/* ローディング*/

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading-overlay.active {
  display: flex; 
  flex-direction: column;
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
#loading-text{
  text-align: center;
  font-size: 20px;
  color: #f3f3f3;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sk-chase {
  width: 40px;
  height: 40px;
  position: relative;
  animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
  content: '';
  display: block;
  width: 25%;
  height: 25%;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}
.sk-chase-dot:nth-child(2) {
  animation-delay: -1s;
}
.sk-chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}
.sk-chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}
.sk-chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}
.sk-chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}
.sk-chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}
.sk-chase-dot:nth-child(2):before {
  animation-delay: -1s;
}
.sk-chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}
.sk-chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}
.sk-chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}
.sk-chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes sk-chase {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot {
  80%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot-before {
  50% {
    transform: scale(0.4);
  }
  100%,
  0% {
    transform: scale(1);
  }
}

.fp-container {
  background-color: #ffffff;
  padding: 22px 3vw 16px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fp-text {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  font-weight: 700;
  margin: 0;
  font-family: 'Noto Sans JP';
}

.fp-image {
  width: auto;
  height: 17vh;
}

.agreement_error_message {
  text-align: center;
  display: none;
  color: #e7643d;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 430px) {
  form .intention_submit:disabled {
    background: #ebebeb;
    color: #a9a9a9;
    cursor: initial;
    width: 80%;
    font-size: 20px;
    font-family: Noto Sans JP;
    font-weight: 700;
    box-shadow: none !important;
  }

  form .intention_submit {
    background: #00B900;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.05em;
    text-align: center;
    border-radius: 14px;
    padding: 10px 25px;
    cursor: pointer;
    box-shadow: 0 4px #000000;
    width: 81%;
    display: flex;
    justify-content: center;
  }
}

.attention_wrapper {
  max-height: 100px; 
  overflow-y: auto; 
  background-color: var(--mc-attention-wrapper-bg-color); 
  padding: 10px; 
  border: 1px solid var(--mc-attention-border-color); 
  border-radius: 8px; 
  font-size: 14px; 
  line-height: 19.6px; 
  font-weight: 400;
}

.attention_wrapper a {
  color: #626262; 
  text-decoration: underline; 
}

.attention_wrapper p {
  margin: 0; 
  color: #333; 
}

.attention_label {
  padding: 10px 0;
}

.attention_sentence {
  font-weight: normal;
  padding: 15px 0 12px 0;
}