@charset "utf-8";

html,
body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1; /* コンテンツ領域を伸縮させる */
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 25vh;
}

/* -- form#reset-form -------------------------------------------------------------------------------- */

form#reset-form {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: auto;
  margin: 50px auto;
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding: 45px;
}

form#login-form {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: auto;
  margin: 50px auto;
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding: 45px;
}

@media (max-width: 440px) {
  .sp_p10{
    padding: 10px !important;
  }
}

dl {
  margin-bottom: 15px;
}
dl dt {
  flex: 0 0 8em;
  text-align: left;
  padding-right: 0.75rem;
}

dl dd {
  margin: 0;
  padding: 0;
}

input {
  display: block;
  width: 100%;
  padding: 2px 2%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  line-height: 3;
}

input:focus {
  box-shadow: 0px 0px 5px #55ccff;
  border: 1px solid #55ccff;
  background: #ffffff;
}

p.submit {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 0;
}

p.submit input {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  padding: 20px 45px;
  vertical-align: middle;
  line-height: 1;
  border-radius: 3px;
  color: #ffffff;
  font-family: inherit;
  background: #f35d40;
  border: 1px solid #f35d40;
}

p.submit input:hover {
  cursor: pointer;
  background: #f07861;
  border: 1px solid #f35d40;
}

/* ワンタイムパスワード */
.otp-wrapper {
  margin: 0;
}
.otp-wrapper dt {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.otp-wrapper dd {
  margin: 0;
}

.otp-inputs {
  display: flex;
  gap: 0.5em;
}

.otp-input {
  width: 2.5em !important;
  height: 2.5em !important;
  padding: 0 !important;
  font-size: 1.5em !important;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-input:focus {
  border-color: #66afe9;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

#resend-code {
  background-color: #fff;
  border-color: #333;
  color: #333;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

#resend-code:hover,
#resend-code:focus {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

/* -- 送信エラー ------*/

@keyframes border {
  0% {
    border: medium solid #da3c41;
  }
  100% {
    border: medium solid #da3c4152;
  }
}

div.notinput {
  width: 100%;
  color: #da3c41;
  line-height: 2;
  padding: 25px !important;
  animation: border 0.5s ease infinite alternate;
  text-align: center;
}

div.notinput ul{
  list-style: none;
}

div.notinput p.blinking {
  display: inline-block;
  text-align: left;
  margin: 0 0 1em;
  font-weight: bold;
  line-height: 1.45;
  padding-left: 1em;
  text-indent: -1em;
}

div.notinput ul.error-list {
  display: inline-block;
  margin: 0 auto;
  padding-left: 1.2em;
  text-align: left;
  list-style-type: square;
  list-style-position: outside;
}

div.notinput ul.error-list li {
  margin: 0.5em 0;
  line-height: 1.45;
}

/* ===========================
   Password Reset (Bootstrap5)
   =========================== */

.password-toggle {
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  padding: .375rem .5rem;
  color: var(--bs-secondary-color);
  text-decoration: none;
}
.password-toggle:hover { color: var(--bs-body-color); }

/* 注意パネル*/
.password-note {
  background: #f4f5f7;
  border: 1px solid #edf1f8;
  border-radius: .5rem;
  padding: 1rem;
}

/* ---- チェック条件リスト---- */
.checklist{
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist > li{
  display: flex;
  align-items: baseline;
  gap: .35rem;
  line-height: 1.7;
  margin: .25rem 0 0.25em 0.25em;
  /* --shift: .18em;
  --dot: 1rem;
  --stroke: 2px;
  --color-off: #8db2ff;
  --color-on: var(--bs-success); */
}

/* .checklist > li::before{
  content: "";
  width: var(--dot);
  height: var(--dot);
  display: inline-block;
  border: var(--stroke) solid var(--color-off);
  border-radius: 50%;
  background: #fff;
  vertical-align: baseline;
  transform: translateY(var(--shift));
} */

/* 達成時（.is-ok を付与） */
/* .checklist > li.is-ok::before{
  border-color: var(--color-on);
  background: var(--color-on);
} */
/* .checklist > li.is-ok{
  font-weight: 500;
  color: var(--bs-body-color);
} */

/* 小パネル（禁止事項） */
/* .password-note .border {
  border-color: #d7e3ff !important;
} */


/* フッター/ヘッダーの薄いライン色を統一 */
/* .app-header.border-bottom,
footer.border-top {
  --bs-border-color: #e9ecef;
} */


/* --responsive------------------------------------------- */

/* 1000pixel start */
@media screen and (max-width: 1000px) {
  form#reset-form {
    margin: 15px auto;
    padding: 15px;
  }

  div.notinput {
    padding: 15px !important;
  }
}
/* 1000pixel end */


@media screen and (max-width: 576px) {
  main {
    padding-left: 15px;
    padding-right: 15px;
  }
}
