.has-py-xl-sp {
  padding-bottom: 2rem;
}

.block-1,
.block-2 {
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .container {
    width: 90%;
  }
}

.col-12 {
  width: 100%;
  margin: 0 200px 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.input_block01 {
  max-width: 500px;
}

.text-end {
  width: 100%;
  text-align: right;
}

.d-block {
  display: block;
}

small {
  margin: 0 0 0 3px;
}

sup {
  font-size: 20px;
  margin: 0 3px;
}

.form_row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.pe-3 {
  font-size: 20px;
  width: 130px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 10px 0 0;
}
@media (max-width: 768px) {
  .pe-3 {
    font-size: 16px;
  }
}

sup {
  color: #df0000;
}

.input_block {
  width: 100%;
}

.input-in {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.input-in .pe-1 {
  margin: 0 0 0 10px;
}

.w100 {
  width: 100%;
}

.d-flex {
  display: flex;
}

.justify-content-start {
  justify-content: flex-start;
}

.flex-column {
  flex-direction: column;
}

.align-items-md-center {
  align-items: center;
}

.input_block_error {
  width: 100%;
  text-align: right;
}

.calculate-content .form_group .input-in {
  display: flex;
  align-items: center;
}

.calculate-content .form_group .input-in input[type=text] {
  background-color: #ffffff;
  border-radius: 5rem;
  padding: 0.75rem 1.25rem;
}

.calculate-content .form_group .input-in input {
  border: 0 !important;
  text-align: start;
  max-width: calc(100% - 15px);
  width: 100%;
}
@media (max-width: 768px) {
  .calculate-content .form_group .input-in input {
    max-width: none;
    width: 83%;
  }
}

.calculate-content .input-in input:focus {
  outline: none;
  box-shadow: none;
}

.calculate-content .form_row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.calculate-content .form_row.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.calculate-content .required_text {
  margin-bottom: 1rem;
  max-width: 100%;
}

.calculate-content .form_row .form_label {
  min-width: 100px;
  max-width: 100px;
  text-align: end;
}

.calculate-content .form_row .form_label.sp {
  min-width: 130px;
  text-align: end;
}

.calculate-content .input_block_error {
  color: #df0000;
  text-align: start;
}

.calculate-content .form_group .input_block_error {
  padding: 0 0 0 56%;
  margin: -10px 0 20px 0;
  text-align: start;
}
@media (max-width: 530px) {
  .calculate-content .form_group .input_block_error {
    padding: 0 0 0 47%;
  }
}
@media (max-width: 473px) {
  .calculate-content .form_group .input_block_error {
    padding: 0 0 0 40%;
  }
}
@media (max-width: 418px) {
  .calculate-content .form_group .input_block_error {
    padding: 0 0 0 31%;
  }
}

.calculate-content .oneRate_block input,
.calculate-content .twoRates_block input,
.calculate-content .choose_group .form-check-inline input,
.calculate-content .form_input .input-in input {
  text-align: start;
}

.calculate-content .twoRates_block input {
  width: 100px;
}

.calculate-content .twoRates_block {
  position: relative;
  left: -1.5rem;
}

.calculate-content .oneRate_block input:focus,
.calculate-content .twoRates_block input:focus,
.calculate-content .choose_group .form-check-inline input:focus,
.calculate-content .form_input .input-in input:focus {
  outline: none;
  box-shadow: none;
}

.calculate-content .choose_group .form-check-inline .btn-secondary {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #000000;
  border-radius: 5rem;
  padding: 0.5rem 1.25rem;
  border: 0 !important;
  cursor: pointer;
}

.calculate-content .choose_group .form-check-inline .btn-check:checked + .btn-secondary {
  background-color: #d91a1a;
  color: #ffffff;
}

.calculate-content .result_block table {
  width: 100%;
  background-color: transparent;
  border: 0;
}

.calculate-content .result_block table td,
.calculate-content .result_block table th {
  border: 0;
  text-align: center;
  text-wrap: nowrap;
}

.calculate-content .result_block tbody tr:first-child {
  color: #ffffff;
  position: relative;
}

.calculate-content .result_block tbody tr:first-child th {
  color: #ffffff;
  position: relative;
  z-index: 5;
  text-align: center;
  text-wrap: nowrap;
}

.calculate-content .result_block tbody tr:first-child::after {
  content: "";
  width: 100%;
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #cc0000;
  color: #ffffff;
  border-radius: 5rem;
}

.calculate-content .result_block tbody tr {
  height: 40px;
}

.calculate-content .result_block .mPayment > div,
.calculate-content .result_block tbody tr:not(:first-child) td {
  border-bottom: 1px solid #f9eae3;
}

.calculate-content .result_block tbody tr:last-child td {
  border-bottom: 0;
}

.calculate-content .result_block .card {
  padding: 1rem;
  border-radius: 2rem;
  background-color: white;
  border: 0;
  margin: 0 0 15px 0;
}

.calculate-content .result_block .card .form_label {
  font-size: 1.125rem;
  padding-left: 1rem;
}

.calculate-content .result_block .card .mPayment {
  font-size: 1.125rem;
  padding: 0.5rem 1rem;
}

.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.me-sm-4 {
  margin-right: 0.5rem;
}

.calculate-content .oneRate_block .input-in input {
  width: 100px;
}

.calculate-content .oneRate_block .input-in input[type=text] {
  background-color: #ffffff;
  border-radius: 5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  margin: 0 10px 0 0;
}

.calculate-content .twoRates_block .input-in input {
  width: 100px;
}

.calculate-content .twoRates_block .input-in input[type=text] {
  background-color: #ffffff;
  border-radius: 5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  margin: 0 10px;
}
@media (max-width: 420px) {
  .calculate-content .twoRates_block .input-in input[type=text] {
    padding: 0.75rem 0;
  }
}

.botton_block {
  width: 220px;
  margin: 20px auto;
}
@media (max-width: 500px) {
  .botton_block {
    width: 170px;
    margin: 15px auto;
  }
}

.width_w {
  width: 33%;
}
@media (max-width: 576px) {
  .width_w {
    width: 25%;
  }
}
@media (max-width: 527px) {
  .width_w {
    width: 19%;
  }
}
@media (max-width: 480px) {
  .width_w {
    width: 10%;
  }
}
@media (max-width: 438px) {
  .width_w {
    width: 10px;
  }
}

.ow-cols-2 {
  width: 100%;
}

.form_row01 .input-in01 {
  width: 360px !important;
}
@media (max-width: 530px) {
  .form_row01 .input-in01 {
    width: 334px !important;
  }
}
@media (max-width: 500px) {
  .form_row01 .input-in01 {
    width: 310px !important;
  }
}
@media (max-width: 460px) {
  .form_row01 .input-in01 {
    width: 272px !important;
  }
}
@media (max-width: 430px) {
  .form_row01 .input-in01 {
    width: 248px !important;
  }
}
@media (max-width: 400px) {
  .form_row01 .input-in01 {
    width: 220px !important;
  }
}
@media (max-width: 375px) {
  .form_row01 .input-in01 {
    width: 200px !important;
  }
}

.form_row01 .input-in01 input {
  width: 100% !important;
  border: 0 !important;
}

.w-100 {
  width: 100%;
  max-width: calc(100% - 15px);
}

.button {
  display: block;
  width: 100%;
  padding: 20px 0;
  background: #ff3334;
  border-radius: 50px;
  border: 5px solid #fff;
  color: #fff !important;
  font-size: 25px;
  text-align: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
  box-shadow: 5px 10px 7px rgba(153, 102, 102, 0.5);
}
@media (max-width: 500px) {
  .button {
    font-size: 18px;
    padding: 20px 0;
  }
}
.button:hover {
  color: #fff;
  box-shadow: 5px 5px 5px rgba(153, 102, 102, 0.5);
}

.button, .button:hover {
  transition: all 0.2s ease;
}

.button:focus, .button:hover {
  transform: translateY(5px);
}

.twoRates_block .input-in01 {
  width: auto !important;
}
.twoRates_block .form_label01 {
  min-width: 130px !important;
  max-width: 130px !important;
}
@media (max-widtH: 524px) {
  .twoRates_block .form_label01 {
    min-width: 96px !important;
    max-width: 96px !important;
  }
}
@media (max-width: 490px) {
  .twoRates_block .form_label01 {
    min-width: 66px !important;
    max-width: 66px !important;
  }
}
@media (max-width: 448px) {
  .twoRates_block .form_label01 {
    min-width: 33px !important;
    max-width: 33px !important;
  }
}
@media (max-widtH: 420px) {
  .twoRates_block .form_label01 {
    min-width: 60px !important;
    max-width: 60px !important;
  }
}
@media (max-width: 390px) {
  .twoRates_block .form_label01 {
    min-width: 35px !important;
    max-width: 35px !important;
  }
}
@media (max-width: 375px) {
  .twoRates_block .form_label01 {
    min-width: 24px !important;
    max-width: 24px !important;
  }
}
.twoRates_block .input-in01 input {
  width: 32px !important;
}
@media (max-widtH: 420px) {
  .twoRates_block .input-in01 input {
    width: 50px !important;
    text-align: center;
  }
}
.twoRates_block .text-nowrap01 {
  display: flex;
  justify-content: flex-start;
  width: auto;
}

.result_block {
  width: 100%;
  max-width: 700px;
}
.result_block .card {
  margin: 0 auto 15px !important;
}
.result_block .w-100 {
  max-width: calc(100% - 35px);
}
.result_block .form_label02 {
  margin: 0 0 15px 0;
  font-weight: bold;
}
.result_block .card .form_label {
  padding: 0;
  text-align: left;
}
.result_block .remark-text {
  font-size: 14px;
}
@media (max-width: 420px) {
  .result_block .table {
    font-size: 15px;
  }
}