@charset "UTF-8";
/* --------------------------------------------------------------
# フォーム用共通CSS
-------------------------------------------------------------- */
/* フォーム入力項目
--------------------------------------------- */
[multiple],
[type=date],
[type=datetime-local],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.5rem;
  background-color: var(--white, #fff);
  border: 1px solid var(--gray-500, #acb5bd);
  border-radius: 0.5rem;
  /* バリデーションエラー時 */
}
[multiple]:focus,
[type=date]:focus,
[type=datetime-local]:focus,
[type=email]:focus,
[type=month]:focus,
[type=number]:focus,
[type=password]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=text]:focus,
[type=time]:focus,
[type=url]:focus,
[type=week]:focus,
select:focus,
textarea:focus {
  border-color: var(--main-color, #207ac7);
  outline: 2px solid var(--main-color, #207ac7);
  outline-offset: -2px;
}
[multiple].error,
[type=date].error,
[type=datetime-local].error,
[type=email].error,
[type=month].error,
[type=number].error,
[type=password].error,
[type=search].error,
[type=tel].error,
[type=text].error,
[type=time].error,
[type=url].error,
[type=week].error,
select.error,
textarea.error {
  border-color: var(--red, #d84910);
  outline: 2px solid var(--red, #d84910);
  outline-offset: -2px;
}
[multiple].w-auto,
[type=date].w-auto,
[type=datetime-local].w-auto,
[type=email].w-auto,
[type=month].w-auto,
[type=number].w-auto,
[type=password].w-auto,
[type=search].w-auto,
[type=tel].w-auto,
[type=text].w-auto,
[type=time].w-auto,
[type=url].w-auto,
[type=week].w-auto,
select.w-auto,
textarea.w-auto {
  width: auto;
}
[multiple].w-sm,
[type=date].w-sm,
[type=datetime-local].w-sm,
[type=email].w-sm,
[type=month].w-sm,
[type=number].w-sm,
[type=password].w-sm,
[type=search].w-sm,
[type=tel].w-sm,
[type=text].w-sm,
[type=time].w-sm,
[type=url].w-sm,
[type=week].w-sm,
select.w-sm,
textarea.w-sm {
  max-width: 7rem;
}

select {
  position: relative;
  /* padding-inline-end: 2.5rem; */
  padding-right: 2.5rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("../img/icons/dropdown.svg");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

/* フォームの進捗バー
--------------------------------------------- */
.form-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.form-progress li {
  /* padding-block: 0.5rem; */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-500, #acb5bd);
  text-align: center;
  background-color: var(--gray-700, #dde2e5);
}
.form-progress li.current {
  color: var(--main-color, #207ac7);
  background-color: var(--white, #fff);
}

/* フォームのボタン
--------------------------------------------- */
.form-button-wrap {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .form-button-wrap {
    flex-direction: row;
  }
  .form-button-wrap .button-inner {
    min-width: 19rem;
  }
  .form-button-wrap > *:not(:last-child) {
    margin-right: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .form-button-wrap > *:not(:first-child) {
    margin-bottom: 1rem;
  }
}

/* フォーム用レイアウト
--------------------------------------------- */
.message {
  color: var(--red, #d84910);
}

.error-message {
  /* padding-block: 0.75rem; */
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: var(--white, #fff);
  text-align: center;
  background-color: var(--red, #d84910);
}

.input-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  /* margin-block: 1rem; */
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@supports not (gap: 1rem) {
  .input-box {
    grid-gap: 1rem;
  }
}
@media screen and (min-width: 768px) {
  .input-box {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}
.input-box .input-box-inner > * + * {
  /* margin-block-start: 0.25rem; */
  margin-top: 0.25rem;
}
.input-box .label.required {
  /* 必須の時にrequiredクラスを付与する */
}
.input-box .label.required::after {
  /* margin-inline-start: 0.25em; */
  margin-left: 0.25em;
  color: var(--red, #d84910);
  content: "※";
}
.input-box .input > label {
  display: inline-block;
}
.input-box .input > label + label {
  /* カラム落ちする場合はセレクトボックス推奨 */
  /* margin-inline-start: 0.5rem; */
  margin-left: 0.5rem;
}
.input-box .input.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.input-box .error {
  /* バリデーションエラーメッセージ */
  display: none;
  color: var(--red, #d84910);
}

.help {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.help a {
  cursor: pointer;
  color: #060606;
}
.help a svg {
  width: 16px;
  height: 16px;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}
.password-container .toggle-password, .password-container .toggle-confirm-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  height: 24px;
  width: 24px;
}

/* contractInfoQuery bg color of order */
.notcancel {
  background-color: #fff !important;
}
.notcancel td {
  background-color: #fff !important;
}

.applycancel {
  background-color: #4682B4 !important;
}
.applycancel td {
  background-color: #4682B4 !important;
}

.canceled {
  background-color: #A6A6A6 !important;
}
.canceled td {
  background-color: #A6A6A6 !important;
}
