@charset "utf-8";

.j_simu {
  margin: 0 auto 100px;
}

.j_simu input[type="text"] {
  width: 200px;
  padding: 0.5em 1em;
  border: solid 1px #999999;
  margin: 0 0.5em 1em 0;
}

.j_simu input[type="text"]::placeholder {
  color: #cccccc;
}

.j_simu input[type="text"].over50 {
  width: 60px;
  padding: 0.5em 0.75em;
}

.j_simu label {
  display: inline-block;
  margin: 1em 1.5em 1em 0;
  cursor: pointer;
}

.j_simu .select_outer {
  position: relative;
  z-index: 0;
  width: 300px;
  height: auto;
  min-height: 40px;
  margin: 0 0 1em;
}

.j_simu .select_outer::after {
  position: absolute;
  display: block;
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  border-right: solid 2px var(--corp_color);
  border-bottom: solid 2px var(--corp_color);
  transform: rotate(45deg);
  margin: auto;
  top: 0.75em;
  right: 2rem;
  pointer-events: none;
}

.j_simu .select_outer select {
  width: 100%;
  height: 50px;
  font-size: 1em;
  padding: 0 2em;
  color: var(--corp_color);
  border: solid 1px var(--corp_color);
  cursor: pointer;
}

.j_simu .select_outer select option {
  color: #333333;
}

.j_simu input[type="radio"]+span {
  position: relative;
  display: inline-block;
  padding: 0 0 0 1.8em;
}

.j_simu input[type="radio"]+span::before {
  position: absolute;
  display: block;
  content: "";
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  border: solid 1px var(--corp_color);
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
}

.j_simu input[type="radio"]:checked+span::before {
  box-shadow: inset 0 0 0 5px var(--corp_color);
}

.j_simu input[type="radio"]+span span {
  display: block;
  font-size: 0.8em;
}

.j_simu .method_box {
  margin: 50px 0 100px;
}

.j_simu .simu_list {
  width: 100%;
  max-width: 700px;
  margin: 0 0 50px;
}

.j_simu .simu_list dt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px var(--corp_color);
  padding: 0 0 0.25em;
  margin: 0 0 1.5em;
}

.j_simu .simu_list dt span:nth-of-type(1) {
  color: var(--corp_color);
  font-weight: 700;
  font-size: 1.2em;
}

.j_simu .simu_list dt span:nth-of-type(2) {
  font-weight: 500;
}

.j_simu .simu_list dd label {
  margin-top: 0;
}

.j_simu .simu_form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.j_simu .simu_form dt {
  width: 300px;
  padding: 0.5em 20px;
}

.j_simu .simu_form dt span {
  display: inline-block;
  color: #ffffff;
  width: 50px;
  height: 25px;
  line-height: 25px;
  font-size: 0.9em;
  font-weight: 500;
  text-align: center;
  background: #ff0000;
  margin: 0 1em 0 0;
}

.j_simu .simu_form dt .error_msg {
  color: #ff0000;
  margin: 0.5em 0 0;
}

.j_simu .simu_form dd {
  width: calc(100% - 300px);
}

.j_simu .simu_form dd>.input_area {
  display: inline-block;
}

.j_simu .simu_cond {
  display: none;
  margin: -150px 0 30px;
  padding: 150px 0 0;
}

.j_simu .simu_cond:nth-of-type(2) {
  display: block;
}

.j_simu .simu_cond>dt {
  position: relative;
  z-index: 0;
  font-size: 1.1em;
  font-weight: 500;
  border: solid 1px #cccccc;
  background: #ebf2f8;
  padding: 0.5em 1em;
  cursor: pointer;
}

.j_simu .simu_cond>dt p {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  right: 1em;
  font-size: 0.9em;
  /* height: 1.2em; */
  line-height: 1.2em;
  padding: 0 0 0 1.5em;
  margin: auto;
  background: url("ico_delete.svg") no-repeat left center / auto 40%;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.j_simu .simu_cond>dd {
  display: none;
  border: solid 1px #cccccc;
  border-top: none;
  border-bottom: none;
}

.j_simu .simu_cond.open>dd {
  display: block;
}

.j_simu .simu_cond>dd .simu_form {
  padding: 20px 0;
  border-bottom: solid 1px #cccccc;
}

.j_simu .simu_cond>dd .simu_form dt {
  padding-top: 1em;
}

.j_simu .add_cond {
  color: var(--corp_color);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.j_simu .add_cond::before {
  content: "＋";
}

.j_simu .calc {
  width: 300px;
  text-align: center;
  margin: 50px auto;
  display: block;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
  border: solid 1px var(--corp_color);
  border-radius: 999px;
  color: var(--corp_color);
  padding: 1.2em;
  transition: 0.5s;
  cursor: pointer;
}

.j_simu .calc:hover {
  background: #306bac;
  color: #ffffff;
}

.j_simu .result_box table {
  table-layout: fixed;
  width: 100% !important;
}

.j_simu .result_box table th {
  text-align: center;
}

.j_simu .result_box table th:nth-of-type(2) {
  width: 300px;
}

.j_simu .result_box table td {
  text-align: center;
  vertical-align: middle;
}

.j_simu .result_box table td:nth-of-type(1) {
  position: relative;
  z-index: 0;
  text-align: left;
  padding-right: 7em;
}

.j_simu .result_box table td:nth-of-type(1) .smoothScrolls {
  position: absolute;
  z-index: 1;
  height: 1em;
  line-height: 1;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 1em;
  text-decoration: underline;
  cursor: pointer;
}

.j_simu .result_box table .simu_total td {
  text-align: center;
  background: #eaeaea;
  padding: 1em;
}

.j_simu .result_box table .simu_total td:nth-of-type(2) {
  width: 300px;
  padding-right: 1em;
}

.j_simu .result_box ul.bg_box {
  list-style-type: disc;
}

.j_simu .result_box ul.bg_box li {
  font-weight: 400;
  padding: 0;
  margin-left: 1.2em;
  font-size: 1.5rem;
}

.j_simu .result_box ul.bg_box li::before {
  content: none;
}

@media screen and (max-width: 767px) {
  .j_simu {
    margin: 0 auto 50px;
  }

  .j_simu .editor_contents p {
    font-size: 1.4rem;
  }

  .j_simu .select_outer select {
    height: 40px;
  }

  .j_simu .method_box {
    margin: 30px 0 50px;
  }

  .j_simu .simu_list {
    margin: 0 0 30px;
  }

  .j_simu .simu_list dt {
    display: block;
  }

  .j_simu .simu_list dt span {
    display: block;
  }

  .j_simu .simu_list dt span:nth-of-type(2) {
    text-align: right;
  }

  .j_simu .simu_list,
  .j_simu .simu_form {
    font-size: 1.4rem;
  }

  .j_simu .simu_list br {
    display: none;
  }

  .j_simu .simu_form {
    display: block;
  }

  .j_simu .simu_form dt {
    width: 100%;
    padding: 0;
  }

  .j_simu .simu_form dt .error_msg {
    font-size: 1em;
  }

  .j_simu .simu_form dd {
    width: 100%;
  }

  .j_simu .simu_form dd>.input_area {
    display: block;
  }

  .j_simu .simu_cond {
    margin: -80px 0 20px;
    padding: 80px 0 0;
  }

  .j_simu label {
    display: block;
    margin: 0.75em 0;
  }

  .j_simu .simu_form dd>.input_area label {
    display: inline-block;
    margin: 0 10px 0 0;
  }

  .j_simu .simu_cond>dd .simu_form {
    padding: 15px 0;
  }

  .j_simu .simu_cond>dd .simu_form dt {
    padding: 0 15px !important;
  }

  .j_simu .simu_cond>dd .simu_form dd {
    padding: 0 15px;
  }

  .j_simu .calc {
    width: 240px;
    margin: 30px auto;
    font-size: 1.6rem;
    transition: 0s;
  }

  .j_simu .calc:hover {
    background: none;
    color: var(--corp_color);
  }

  /*.j_simu .result_box table tr {display: block;}*/

  .j_simu .result_box table th {
    font-size: 1.4rem !important;
  }

  /*.j_simu .result_box table th:nth-of-type(1) ,
  .j_simu .result_box table td:nth-of-type(1) {width: calc(100% - 120px)!important;} */
  .j_simu .result_box table td:nth-of-type(1) {
    padding: 1em 1em 2.5em;
  }

  .j_simu .result_box table th:nth-of-type(2),
  .j_simu .result_box table td:nth-of-type(2) {
    width: 120px !important;
  }

  .j_simu .result_box table td {
    font-size: 1.4rem !important;
  }

  .j_simu .result_box table td:nth-of-type(1) .smoothScrolls {
    top: auto;
    bottom: 1em;
    right: 1em;
  }

  .j_simu .result_box table .simu_total td:nth-of-type(1) {
    padding: 1em;
  }

  .j_simu .result_box ul.bg_box li {
    font-size: 1.3rem;
  }
}

/* Custom CSS */
.custom_error_denotation {
  color: #ff0000;
  text-align: center;
  width: 100%;
}

.use-annotation h2 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
  text-align: left;
}

.use-annotation p {
  padding-left: 4em;
  text-align: left;
  text-indent: -3em;
}