@charset "UTF-8";

/**
 * 
 */
.tool_select {
  background-color: #ffba00;
  padding: 10px;
  margin-bottom: 20px;
}
.tool_select select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  border: none;
  border-radius: 0;
  background: #fff url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALlJREFUeNpiTEtLm8DAwMADxL8ZSAOCQLyXBUjIAnEQA3lgMxOQiATi92RoXgnES0EG/ALiDBI1/wHiXBCDCSqwCojPkGBALRC/RjYABBKJ1PwQiDtgHGQDrgDxHCIMSEPmMKFJFgPxVzyadwLxLnwGfALiUjwGpKILMGFRNB2Ib2AR7wbix8QYAALpaPxXQFyJTSEuAw4B8QYkfg4Q/yXFABDIhNL3gXg1LkUseAx4AfX3MXxxChBgAGTTIQ2txaGwAAAAAElFTkSuQmCC') no-repeat right 10px center / 8px auto;
  padding: 10px 35px 10px 15px;
  font-size: 1.2em;

  -webkit-appearance:none;
  -moz-appearance:none;
  -o-appearance:none;
  -ms-appearance:none;
  appearance:none;
}
.tool_btns {
  text-align: center;
}
.tool_btn {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  width: 355px;
  max-width: 90%;
  margin: 10px;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: -2px -2px 1px 0 rgba(0,0,0,0.15) inset;
  color: #fff;
}
.tool_btn::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  width: 0;
  height: 0;
  border: solid 4px transparent;
  border-left: solid 6px #fff;
  margin: auto;
  content: '';
}
.tool_btn:hover {
  color: #fff;
}
.tool_btn_g {
  background-color: #37933d;
}
.tool_btn_p {
  background-color: #e952b2;
}
.tool_btn_r {
  background-color: #ec3c3c;
}

.tool_head {
  display: inline-block;
  background-color: #fffef1;
  border: solid 1px #cbd9db;
  border-radius: 4px;
  padding: 0px 15px;
}
.tool_keisan {
  background-color: #e9feff;
  border: solid 1px #cbd9db;
  padding: 10px;
}
.tool_keisan_select {
  display: flex;
}
.tool_keisan_select > div {
  width: 50%;
  white-space: nowrap;
}
.tool_keisan_select select {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 3em);
  font-size: 0.85em;
}
.tool_answer_box {
  display: none;
}
.tool_answer_box p {
  background-color: none;
  border: none;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #4c0092;
}
.tool_answer_box .tool_answer {
  background-color: #fff;
  border: solid 1px #cbd9db;
  border-radius: 4px;
  padding: 5px 5px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 21px;
  color: #000;
}
.tool_answer_box table {
  box-sizing: border-box;
  background-color: #fff;
  border: solid 1px #cbd9db;
  border-radius: 4px;
}
.tool_answer_box tr:nth-child(odd) {
  background-color: #fffef1;
}
.tool_answer_box td {
  padding: 3px 10px;
  border: none;
}
.tool_answer_box td:last-child {
  text-align: right;
}