/* ===========================================================
   global settings
=========================================================== */

html {
  position: relative;
  min-height: 100%;
}

.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: 0;
}

.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, sans-serif;
  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;
}

.link {
  text-decoration: underline;
}

h2 {
  text-decoration: underline;
  text-decoration-skip-ink: none !important;
}

p {
  display: block;
  margin-inline-start: 0;
  margin-inline-end: 0;
  margin-bottom: -0.1rem;
}

select {
  width: 100%;
}

select {
  -webkit-appearance: none
}

.btn-gray {
  background-color: #4B515D;
}

.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;
}

.input-group-prepend {
  max-width: 40%;
}

.input-group-prepend label {
  width: 100%;
  overflow: hidden;
}

.circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.img-container {
  width: 288px;
}

.contractNameButtonColor:not([class~="active"]) {
  background-color: white !important;
  color: black;
}

.infoLink {
  padding-bottom: 5px;
}

.row-fit{
  display:flex;
  flex-wrap:wrap;
}

.link-black{
  text-decoration: underline;
  color: #333;
}

/* ===========================================================
  sp settings
=========================================================== */

@media (max-width: 576px) {
  span {
    font-size: 0.7rem;
  }

  a[target="_blank"] {
    font-size: 80%;
  }

  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: 0 !important;
  }

  .nav {
    padding: 0;
  }

  .btn-top {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 5px 0 0 0;
    width: 60px;
    height: 30px;
    color: #333;
  }

  -sm-6 {
    padding-right: 0;
  }

  .nav-link {
    color: black;
  }

  footer {
    margin-bottom: 5em;
  }

  .container-footer {
    line-height: 1.5;
    font-size: 0.6rem;
    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"] {
    font-size: 80%;
  }

  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;
  }

  #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: 80%;
  }

  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%;
  }
}
