/* ===========================================================
   global settings
=========================================================== */

html {
  position: relative;
  min-height: 100%;
}

a.anchor {
  display: block;
  position: relative;
  top: -150px;
}

.card .card-header a[data-toggle="collapse"] {
  display: block;
  padding: .75rem 1.25rem;
  margin: -.75rem -1.25rem;
}

.card .card-header a[data-toggle="collapse"]:active,
.card .card-header a[data-toggle="collapse"]:hover,
.card .card-header a[data-toggle="collapse"]:focus {
  text-decoration: none;
}

.card-header {
  border-bottom: none;
}

.card-shadow-no {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.card-body {
  -ms-flex: 11 auto;
  flex: 11 auto;
  padding: 0rem;
}

.card-img {
  display: block;
}

.formError .formErrorContent {
  background: #3c3636;
  z-index: 15000;
}

.formError .formErrorArrow div {
  background: #3c3636;
  z-index: 15000;
}


::-ms-input-placeholder {
  color: #a0b3c2;
  opacity: 1;
}

-ms-input:focus::placeholder {
  color: transparent;
}

input:focus::placeholder {
  color: transparent;
}

i {
  font-family: FontAwesome;
  font-style: normal;
}

header {
  background: #ffffff;
  z-index: 1020;
}

footer {
  background: #d9d9d9;
}

.nav {
  flex-wrap: nowrap;
}

.no-js {
  display: none;
}

.no-script {
  margin-top: 10%;
}

.disabled-card {
  text-align: center;
  border: 1px solid #d42233;
  background: #fff8e5;
}

.card-cer {
  box-shadow: none;
}

.useInfo {
  font-weight: 400;
}

.link {
  text-decoration: underline;
}

h2 {
  text-decoration: underline;
  text-decoration-skip-ink: none!important;
}

p {
  display: block;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  margin-bottom: -0.1rem;
}

select {
  width: 100%;
}

.btn-gray {
  background-color: #4B515D;
}

.btn-red {
  padding: .5rem 1.6rem;
  font-size: 1rem;
  background-color: #811b1b !important;
}

.active.btn-red, .btn-red:active, .btn-red:focus {
  background-color: #811b1b;
}

.btn-red:hover {
  background-color: #d32f2f!important;
}

.border-bottom {
  border-bottom-width: 2px !important;
}

.border-contractNameButton {
  border: 1px solid #a0b3c2;
}

.form-group {
  margin-bottom: 0.3rem;
}

.btn-secondary {
  background-color: #6c757d!important;
}

#inquiry {
  padding: .5rem 1.6rem;
  font-size: 1rem;
  height: calc(2.25rem + 2px);
}

.form-control::-webkit-input-placeholder { color: #a0b3c2; }
.form-control:-moz-placeholder { color: #a0b3c2; }
.form-control::-moz-placeholder { color: #a0b3c2; }
.form-control:-ms-input-placeholder { color: #a0b3c2; }
.form-control::-ms-input-placeholder { color: #a0b3c2; }

:not([disabled]):not(.disabled).active.btn-red, :not([disabled]):not(.disabled)
.btn-red:active, .show > .dropdown-toggle.btn-red {
  background-color: #d32f2f !important;
}

.input-group-prepend {
  max-width : 40%;
}

.input-group-prepend label {
  width: 100%;
  overflow: hidden;
}

.custom-control-label::before {
    position: relative;
    top: 1.1rem;
}
.custom-control-label::after {
    position: relative;
}

.circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.img-container {
  width: 288px;
}

.contractNameButtonColor:not([class~="active"]) {
    background-color: white !important;
    color:black;
}

/* ===========================================================
  sp settings
=========================================================== */

@media (max-width: 576px) {
  span {
    font-size: 0.7rem;
  }
  a[target="_blank"] {
    font-size: 0.7rem;
  }
  table th {
    width: 20%;
    font-weight: bold;
  }
  table td {
    max-width: 20px;
  }
  table.table td,
  table.table th {
    font-size: 0.7rem;
  }
  .table td,
  .table th {
    padding: 0rem!important;
  }
  .nav {
    padding: 0px;
  }
  .btn-top {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 5px 0px 0px 0px;
    width: 60px;
    height: 30px;
    color: #333;
  }
  -sm-6 {
    padding-right: 0px;
  }
  .nav-link {
    color: black;
  }
  footer {
    margin-bottom: 5em;
  }
  .container-footer {
    line-height: 1.5;
    font-size: 0.7rem;
    background-color: #d9d9d9;
    bottom: 0;
    position: absolute;
  }
  .required {
    color: red;
    text-align: right;
    margin: 0;
    font-weight: 300;
  }
  .input-group-text {
    font-size: 0.7rem;
    width: 100px;
    background-color: white;
  }
  #readMe {
    width: 100%;
    margin: auto;
    resize: none;
  }
  [data-tooltip] {
    position: relative;
  }
  [data-tooltip]:after {
    content: attr(data-tooltip);
    position: absolute;
    display: block;
    text-align: left;
    color: #212529;
    white-space: nowrap;
    z-index: 9999;
    margin-top: 5px;
    font-weight: normal;
  }
  #kenshin_top {
    font-weight: 900;
    font-size: 100%;
  }
}

@media (min-width: 576px) {
  .main {
    width: 540px;
  }
  span {
    font-size: 0.9rem;
  }
  a[target="_blank"] {
  }
  table th {
    width: 20%;
    font-weight: bold;
  }
  table.table td,
  table.table th {
  }
  table td {
    font-size: 0.7rem;
    padding: 0;
    max-width: 50px;
  }
  .nav-link {
    text-align: center;
    color: black;
  }
  .main {
    width: 540px;
  }
  footer {
    margin-bottom: 5em;
  }
  .container-footer {
    line-height: 1.6;
    background-color: #d9d9d9;
    bottom: 0;
    position: absolute;
  }
  .btn-top {
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .required {
    color: red;
    text-align: right;
    margin: 0;
    padding-left: 12px;
    font-weight: 300;
  }
  .input-group-text {
    font-size: 0.7rem;
    width: 100px;
    background-color: white;
  }
  .customer_spacing {
    margin-left: .25rem!important;
    margin-right: .25rem!important;
    margin-bottom: 0.5rem !important;
  }
  #readMe {
    width: 100%;
    margin: auto;
    resize: none;
  }
  #kenshin_top {
    font-weight: 900;
    font-size: 150%;
  }
}

@media (min-width: 768px) {
  .main {
    width: 546px;
  }
  table th {
    width: 20%;
    font-weight: bold;
  }
  table td {
    max-width: 50px;
  }
  .nav {
    width: 546px;
  }
  .nav-link {
    width: 182px;
    text-align: center;
    color: black;
  }
  .result {
    width: 546px;
  }
  footer {
    margin-bottom: 5em;
  }
  .container-footer {
    line-height: 2;
    background-color: #d9d9d9;
    bottom: 0;
    position: absolute;
  }
  .required {
    color: red;
    text-align: right;
    margin: 0;
    padding-left: 12px;
    font-weight: 300;
  }
  .input-group-text {
    width: 100px;
    background-color: white;
  }

  #readMe {
    width: 100%;
    margin: auto;
    resize: none;
  }
  #kenshin_top {
    font-weight: 900;
    font-size: 200%;
  }
}

@media (min-width: 992px) {
  .main {
    width: 714px;
  }
  span {
    font-size: 1rem;
  }
  a[target="_blank"] {
    font-size: 0.9rem;
  }
  table th {
    width: 20%;
    font-weight: bold;
  }
  table td {
    max-width: 50px;
  }
  table.table td,
  table.table th {
    font-size: 0.9rem;
  }
  .nav {
    width: 714px;
  }
  .nav-link {
    width: 238px;
    text-align: center;
    color: black;
  }
  .result {
    width: 714px;
  }
  footer {
    margin-bottom: 5em;
  }
  .container-footer {
    background-color: #d9d9d9;
    bottom: 0;
    position: absolute;
  }
  .btn-top {
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .required {
    color: #d32f2f;
    text-align: right;
    margin: 0;
    padding-left: 12px;
    font-weight: 300;
  }
  .input-group-text {
    font-size: 1rem;
    width: 100px;
    background-color: white;
  }
  #readMe {
    width: 100%;
    margin: auto;
    resize: none;
  }
  #kenshin_top {
    font-weight: 900;
    font-size: 200%;
  }
}