@charset "utf-8";

/* form
---------------------------------------------------- */

html,
body {
  height: 100%;
}

/* page-login */

.page-login {
  background-color: #f4f4f4;
}
.page-login .logo {
  background-color: #fff;
  line-height: 26px;
}
.page-login .panel {
  padding: 2.4em 2.8em;
}
.page-login .row {
  padding-top: .5rem;
  padding-bottom: .5rem;
}


/* panel  */

.panel {
  background-color: #fff;
  border: rgba(0,0,0,.1) solid 1px;
  margin-bottom: 2em;
  padding: 3em;
  box-shadow: 0 4px 16px -10px rgba(0,0,0,.2);
}
.panel.-order.mb-0 {
  margin-bottom: 0;
}
.panel.-login {
  line-height: 1.45;
}
.form-control {
  border: rgb(118, 118, 118) solid 1px;
  width: 100%;
  padding: .6rem .8rem; /* 1rem; */
  font-size: 1.6rem;
  /* line-height: 1.35; */
}
input.form-control {
  border-radius: initial;
}
.row-label {
  display: inline-block;
  margin-top: 2px;
  padding-top: .25em;
  padding-bottom: .25em;
  font-size: calc(1em + .1rem);
  font-weight: 500;
}
.panel .cell-numb {
  flex-grow: 0;
  width: 2.5em;
  padding-right: 1rem;
  font-weight: 500;
}

@media screen and (max-width: 991px) {
  .page-login .logo .header-logo {
    max-width: 140px;
  }
  .panel.-login {
    margin-left: 1em;
    margin-right: 1em;
    padding: 2em;
  }
  .page-form .btn-primary,
  .panel.-login .btn-primary {
    margin: 1em 1em;
  }

}

@media print, (min-width:992px) { /* for print, 992 < */
  .panel.-login {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 580px;
    transform: translate(-50%, -50%);
  }
  .panel.-login .panel-body {
    /* margin-left: 8.3333%;
    margin-right: 8.3333%; */
  }
  .panel.-login .btn-primary {
    width: auto;
    max-width: 100%;
    min-width: 260px;
    margin: 1em 1em .5em;
    padding-left: 1.25em;
    padding-right: 1.25em;
  }
} /* END for print, 992 < */


/* selectbox */

.selectbox::after {
  pointer-events: none;
}
.selectbox select {
  width: 100%;
  height: 32px;
  padding: .6rem .8rem;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
}


/* calender */

.row-datepicker-cal {
  position: relative;
}
.row-datepicker-cal .ui-datepicker-trigger {
  position: absolute;
  top: 4px;
  right: 7px;
  max-width: 24px;
  cursor: pointer;
}


/* radio + checkbox */

.-radio-select .tab-item {
  background-color: transparent;
  border-bottom: none;
}
.-radio-select .tab-item:hover {
  background-color: transparent;
  cursor: initial;
}
.-radio-select label {
  position: relative;
  display: block;
  border: #909090 solid 1px;
  border-radius: .4rem;
  padding: 1rem;
  cursor: pointer;
}
.-radio-select [type="radio"] + .label {
  display: inline-block;
  padding-top: 1.65em;
  position: relative;
  line-height: 1.65;
  cursor: pointer;
}
.-radio-select [type="radio"] + .label::before {
  content: "";
  position: absolute;
  background-color: #EDEAE8;
  border: #909090 solid 2px;
  width: 1.8rem;
  height: 1.8rem;
  top: 2px;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%) scale(1);
}
.-radio-select [type="radio"]:checked + .label::before {
  border-color: #DB4237;
}
.-radio-select [type="radio"]:checked + .label::after {
  content: "";
  position: absolute;
  background-size: contain;
  background-color: #DB4237;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translate(-50%, 60%);
}
.icon-credit::before {
  background: no-repeat center;
  background-image: url(../img/common/o-credit-142.png);
  content: "";
  display: block;
  height: 3.1rem;
  margin-left: auto;
  margin-right: auto;
  width: 7.2rem;
  height: 4.8rem;
  background-size: 7.2rem;
  margin-top: .5rem;
  margin-bottom: 1rem;
}


[type="checkbox"].form-control + label::before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: #fff;
  border: #ccc solid 1px;
  border-radius: 1px;
  transform: scale(1.75);
}
[type="checkbox"].form-control:checked + label::before {
  /* background-color: #000;
  border: #000 solid 1px; */
}
[type="checkbox"].form-control:checked + label::after {
  content: "";
  width: 6px;
  height: 10px;
  position: absolute;
  top: 2px;
  left: 6px;
  border-bottom: #000 solid 3px;
  border-right: #000 solid 2px;
  transform: rotate(45deg);
}

/* form-block ++ */

.input-description {
  padding: .7em .5em 0;
  font-size: 1.3rem;
  line-height: 1.45;
}
.form-block.-ctrl dt {
  align-items: flex-start;
  margin-top: .25em;
  padding-top: 1px;
  padding-right: 1em;
  text-align: start;
}
.form-block.-ctrl dt::after {
  top: -1px;
  right: auto;
}

@media screen and (max-width: 991px) {
  .form-block.-ctrl dt {
    align-items: flex-end;
  }
  .form-block.-ctrl dt::after {
    bottom: 1px;
  }
  .form-block.-ctrl dd + dt {
    margin-top: 1.2rem;
  }

}

@media print, (min-width:992px) { /* for print, 992 < */
  .input-description {
    padding-top: 1.2rem;
    padding-left: 1.5rem;
    font-size: 1.4rem;
  }
  .form-block.-ctrl .input-description {
    padding: .7em .5em 0;
  }

} /* END for print, 992 < */


/* error & valid */

.is-error:not(label) {
  background-color: rgba(255, 0, 0, .15);
}
.is-error:not(label):not(td) {
  border-color: transparent;
}
@media screen and (max-width: 991px) {
  .itemlist td.is-error {
    padding-bottom: 1.5rem;
  }

}

.form .error {
  display: none;
  padding: .35em .25em.25em;
  font-weight: 500;
  color: #d20;
}
.form .login-error {
  padding: .35em .25em.25em;
  font-weight: 500;
  color: #d20;
}

.form-block .form-group .error {
  margin-bottom: -.25em;
  padding-bottom: 0;
}
.form .is-error + .error {
  display: block;
}

.form .is-valid + .error {
  display: block;
  height: 0;
  text-indent: -9999em;
}
.is-valid + .error::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  content: "✔";
  background-color: limegreen;
  position: absolute;
  color: #fff;
  line-height: 1.2;
  text-indent: 0;
  border-radius: 1em;
}

@media screen and (max-width: 991px) {
  .is-valid + .error::after {
    top: -1.8em;
    right: 0;
    width: 1.5em;
    height: 1.5em;
  }
}

@media print, (min-width:992px) { /* for print, 992 < */
  .is-valid + .error::after {
    top: 0;
    left: calc(735px + 1em);
    width: 1.8em;
    height: 1.8em;
  }
  .-ctrl .is-valid + .error::after {
    left: calc(100% + 1em);
  }
  input[type="checkbox"]:focus + label,
  input[type="radio"]:focus + label {
    box-shadow: 0 0 0 2px #101010;
    /* box-shadow: 0 0 0 2px #e59700; */ /* chrome sp 表示 */
    border-radius: 1px;
  }

}

