.container_sim{
  width: 90%;
  background-color: #fff;
  margin: 0 auto;
}
.container_slider{
  width: 98%;
  background-color: #fff;
  margin: 0 auto 30px;
}
/* grid=========================================================================================== */
.grid{
  display: grid;
  grid-template:
  "none result1 result2 loan_btn" 110px
  "shin-chan1 result1 result2 shin-chan2" 200px
  /20% 30% 30% 20%;
}
.none {
  grid-area: none;
}
.shin-chan1 {
  grid-area: shin-chan1;
  position:relative;
  height: 200px;
}
.shin-chan1 a{
  display: block;
  position:absolute;
  bottom: 0;
}
.shin-chan1 img{
  padding-right: 8px;
}
.result1 {
  grid-area: result1;
}
.result2 {
  grid-area: result2;
}
.loan_btn {
  grid-area: loan_btn;
}
.loan_btn a{
  display: block;
  font-size: 2rem;
}
.shin-chan2{
  grid-area: shin-chan2;
  position:relative;
}
.shin-chan2 a{
  display: block;
  position:absolute;
  bottom: 0;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .grid{
    display: grid;
    grid-template:
    "result1 result1 result1" 275px
    "result2 result2 result2" 275px
    "shin-chan1 loan_btn shin-chan2"85px
    /25% 50% 25%;
  }
  .shin-chan1 {
    grid-area: shin-chan1;
    position:relative;
    height: 85px;
    display: flex;
    justify-content: center;

  }
  .shin-chan1 img{
    max-height: 85px;
    padding-right: 0;
  }
  .result1 {
    grid-area: result1;
    margin-left: 10%;
    /* margin-bottom: 200px; */
  }
  .result2 {
    grid-area: result2;
    margin-left: 10%;
    /* margin-bottom: 200px; */
  }
  .shin-chan2 {
    grid-area: shin-chan2;
    display: flex;
    justify-content: center;
  }
  .shin-chan2 img{
    max-height: 85px;
  }
  .loan_btn{
    grid-area: loan_btn;
    position:relative;
    max-height: 100px;
  }
  .loan_btn a{
    display: block;
    position:static;
    bottom: 0;
  }
}
/* grid=========================================================================================== */
/* range ================================================================================= */
/* grid_slider-------------------------------------------------- */
.grid_slider{
  display: grid;
  grid-template:
  "sliderImage_grid title_grid text_grid tani_grid"65px
  /15% auto 100px 40px;
  margin-top: 60px;
}
.title_grid, .tani_grid, .text_grid{
  display: flex;
  align-items: center;
  -webkit-appearance: none;
}
.text_grid, .sliderImage_grid{
  margin: auto 0;
}
/* イラスト */
.sliderImage_grid{
  grid-area: sliderImage_grid;
}
.sliderImage_grid img{
  max-height: 65px;
}
/* タイトル */
.title_grid{
  font-size: 20px;
  grid-area: title_grid;
  padding-right: 3px;
}
/* 値*/
.text_grid{
  grid-area: text_grid;
  max-height: 30px;
  margin: auto 0;
  font-size: 1.5rem;
}
/* 単位 */
.tani_grid, .tani_grid_year, .tani_grid_mon{
  grid-area: tani_grid;
  font-size: 18px;
  margin: auto 0;
  padding-left: 3px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .grid_slider{
    display: grid;
    grid-template:
    "sliderImage_grid title_grid text_grid tani_grid"40px
    /15% auto 120px 40px;
  }
  .sliderImage_grid img{
    max-height: 40px;
  }
  /* タイトル */
  .title_grid{
    font-size: 14px;
  }
  /* 単位 */
  .tani_grid, .tani_grid_year, .tani_grid_mon{
    grid-area: tani_grid;
    font-size: 12px;
  }
  /* 値*/
  .text_grid{
    grid-area: text_grid;
    max-height: 45px;
    margin: auto 0;
    font-size: 1.8rem;
  }
}
/* 期間のみグリッド=================================== */
.grid_slider_kikan{
  display: grid;
  grid-template:
  "sliderImage_grid title_grid text_grid_year tani_grid_year text_grid_mon tani_grid_mon"65px
  /15% auto 105px 30px 105px 40px;
  margin-top: 60px;
}
.text_grid_year{
  grid-area: text_grid_year;
  margin: auto 0;
  font-size: 1.5rem;
}
.text_grid_mon{
  grid-area: text_grid_mon;
  margin: auto 0;
  font-size: 1.5rem;
}
.tani_grid_year{
  grid-area: tani_grid_year;
}
.tani_grid_mon{
  grid-area: tani_grid_mon;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .grid_slider_kikan{
    display: grid;
    grid-template:
    "sliderImage_grid title_grid text_grid_year tani_grid_year"40px
    "sliderImage_grid title_grid text_grid_mon tani_grid_mon"40px
    /15% auto 95px 40px;
  }
}
/* 期間のみグリッド=================================== */
/* grid_slider-------------------------------------------------- */
/* ボタン＆スライダー */
.btn-rng-btn {
  display: flex;
  justify-content: center; /*左右中央揃え*/
  align-items: center;     /*上下中央揃え*/
  min-height: 40px;
  }
/* rangeバックデザイン */
.rng_back{
  background: #E6F0F9;
  width: 100%;
  height: 45px;
  border-radius: 5px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .rng_back{
    height: 40px;
  }
}
/* blue ここから-----------------------------------------*/
/* スライダーアクティブ部分 */
.blue .ui-slider-range {
  background: #2e9be0;
}
/* スライダーつまみ部分 */
.blue .ui-slider-handle {
  border-color: #2e9be0;
  background:#2e9be0;
  border-radius: 10px;
  outline-style: none;
}
.blue .ui-slider-handle:hover {
  background: #0089df;
}
.blue .ui-slider-handle:focus {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #2e9be0;
}
/* スライダー位置 */
div.blue {
  margin: 18px 8px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  div.blue {
    margin-top: 14px;
  }
}
/* blueここまで -----------------------------------------*/
/* green ここから-----------------------------------------*/
/* スライダーアクティブ部分 */
.green .ui-slider-range {
  background: #71bb10;
}
/* スライダーつまみ部分 */
.green .ui-slider-handle {
  border-color: #71bb10;
  background:#71bb10;
  border-radius: 10px;
  outline-style: none;
}
.green .ui-slider-handle:hover {
  background: #4f8c00;
}
.green .ui-slider-handle:focus {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #71bb10;
}
/* スライダー位置 */
div.green {
  margin: 18px 8px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  div.green {
    margin-top: 14px;
  }
}
/* green ここまで---------------------------------------*/
.show-value {
  display: inline;
  position: relative;
  width: 60px;
  color: #fff;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background: #2c3e50;
  padding: 5px 10px;
  margin-left: 8px;
}
.show-value:after {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: 7px solid #2c3e50;
  border-bottom: 7px solid transparent;
  content: '';
}

::-moz-range-track {
  border: 0;
}

input::-moz-focus-inner,
input::-moz-focus-outer {
  border: 0;
}
/* range *================================================================================ */
/* ボタン枠 ===============================================================================*/
button{
  background-color: #fff;
  z-index: 5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  height: 45px;
  width: 45px;
  padding: 10px 3px 0 0;
  box-shadow: 2px 2px 5px rgb(25 48 135 / 12%), 2px 2px 5px rgb(25 48 135 / 12%), -2px -2px 5px #fff, -2px -2px 5px #fff;
  margin: 4px 3px 0;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  button{
    height: 40px;
    width: 45px;
    padding: 2px 3px 0 0;
  }
}
button:hover{
  box-shadow: 0 3px 5px rgb(116 116 116 / 50%);
}
/* ボタン枠 ===============================================================================*/
/* プラスボタン============================================================================ */
/* blue */
.op_plus_blue {
  display: inline-block;
  position: relative;
  width: 15px;
  height: 18px;
}
.op_plus_blue:before, .op_plus_blue:after {
  display: block;
  content: '';
  background-color: #2e9be0;
  border-radius: 10px;
  position: absolute;
  width: 18px;
  height: 5px;
  top: 7px;
  left: 0;
}
.op_plus_blue:before {
  width: 5px;
  height: 18px;
  top: 0;
  left: 7px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .op_plus_blue {
    margin: 3px 5px 0;
  }
}
/* green */
.op_plus_green {
  display: inline-block;
  position: relative;
  width: 15px;
  height: 18px;
}
.op_plus_green:before, .op_plus_green:after {
  display: block;
  content: '';
  background-color: #71bb10;
  border-radius: 10px;
  position: absolute;
  width: 18px;
  height: 5px;
  top: 7px;
  left: 0;
}
.op_plus_green:before {
  width: 5px;
  height: 18px;
  top: 0;
  left: 7px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .op_plus_green {
    margin: 3px 5px 0;
  }
}
/* プラスボタン============================================================================ */
/* マイナスボタン=========================================================================== */
/* blue */
.op_minus_blue {
  display: inline-block;
  position: relative;
  width: 15px;
  height: 18px;
}
.op_minus_blue:after {
  display: block;
  content: '';
  background-color: #2e9be0;
  border-radius: 10px;
  position: absolute;
  width: 18px;
  height: 5px;
  top: 7px;
  left: 0;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .op_minus_blue {
    margin: 3px 5px 0;
  }
}
/* green */
.op_minus_green {
  display: inline-block;
  position: relative;
  width: 15px;
  height: 18px;
}
.op_minus_green:after {
  display: block;
  content: '';
  background-color: #71bb10;
  border-radius: 10px;
  position: absolute;
  width: 18px;
  height: 5px;
  top: 7px;
  left: 0;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .op_minus_green {
    margin: 3px 5px 0;
  }
}
/* マイナスボタン=========================================================================== */
/* 「条件入力」中央寄せ====================================================================== */
.center {
  text-align: center;
}
.sub_title p{
  text-align: center;
  color: #0168b7;
  font-size: 2rem;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .sub_title p{
    font-size: 1.5rem;
  }
}
/* 「条件入力」中央寄せ====================================================================== */
/* 「ローン一覧へ」ボタン==================================================================== */
.loan_btn {
  display: flex;
  justify-content: center;
}
.loan_btn a {
  height: 65px;
  color: #0168b7;
  background-color: #fff;
  line-height: 65px;
  font-size: 1.5rem;
  border-radius: 5px;
  border: 2px solid #0168b7;
  width: 100%;
  text-align: center;
  box-shadow: 0px 4px 0px #e4e4e4;
}
.loan_btn a:hover {
  color: #fff;
  background-color: #0168b7;
  cursor: pointer;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .loan_btn a{
    width: 90%;
    height: 40px;
    line-height: 40px;
    font-size: 1.25rem;
    border: 1px solid #0168b7;
    margin-top: 10%;
  }
}
/* 「ローン一覧へ」ボタン================================================================== */
/*お好きな条件を設定できます ==============================================================*/
.none {
  position: relative;
}
.none a{
  display: inline-block;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #fff;
  background: #ec7000;
  text-align: center;
  height: min-content;
  border-radius: 20px;
}

.none:before {
  content: "";
  position: absolute;
  border: 15px solid transparent;
  border-top: 15px solid #ec7000;
  top: 62%;
  left: 43px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .none{
    display: none;
  }
}
/*お好きな条件を設定できます ==========================================================*/
/* css/midashi06の反転バージョン ===================================================*/
.midashi06_2{
/* 背景色＋下線 */
  line-height: 70px;
  background: #E6F0F9;
  border-bottom: solid 4px #0068B7;
  margin-bottom: 10px;
  padding-left: 20px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .midashi06_2 {
      font-size: 1.5rem;
      line-height: 40px;
      background: #E6F0F9;
      border-bottom: solid 4px #0068B7;
      margin-bottom: 5px;
      padding-left: 20px;
      text-align: center;
  }
}
/* css/midashi06の反転バージョン ===================================================*/
/* ボーナスcomment */
.container_slider p{
  text-align: end;
  color: #0068B7;
  padding-top: 3px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .container_slider p{
    text-align: center;
    font-size: 12px;
  }
}
/* 切り捨てcomment */
.com{
  font-size: 14px;
  margin-bottom: 10px;
  text-align: end;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .com{
    font-size: 12px;
    text-align: center;
  }
}


/* container_slider */
.container_slider input{
  margin-left: 2px;
  width: 70px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .container_slider input{
    margin-left: 2px;
    width: 65px;
    font-size: 2rem;
    padding: 2px 2px;
  }
}
.text_grid_year input{
  margin-left: 2px;
  width: 54px;
  justify-content: end;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .text_grid_year input{
    margin-left: 2px;
    width: 40px;
  }
}
.text_grid_mon input{
  margin-left: 2px;
  width: 54px;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .text_grid_mon input{
    margin-left: 2px;
    width: 40px;
  }
}

/* 結果表示テキストボックス================================================== */
.wrapper-result input{
  width: 80%;
  font-size: 2.4rem;
  padding: 0 10px;
  text-align: right;
  background: #e5ebee;
  border: none;
  padding: 3px;
}
.result_tani{
  margin-left: 3px;
  font-size: 1.5rem;
  -webkit-appearance: none;
  vertical-align: baseline;
}
/* 結果表示テキストボックス================================================== */
/* type="number"上下ボタン消去============================================== */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance:textfield;
    text-align: center;
}
/* type="number"上下ボタン消去============================================== */
/* 入力数値のscale ==========================================================*/
.scale {
  position: relative;
  margin: 0 5% 20px 5%;
}
.scale .scale_s {
  position: absolute;
  left: 0;
  color: #999;
}
.scale .scale_l {
  position: absolute;
  right: 0;
  color: #999;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .scale {
    position: relative;
    margin: 0 8% 20px 8%;
  }
  .scale_l, .scale_s{
    font-size: 1rem;
  }
}
/* 入力数値のscale========================================================== */

/* IEで表示されるページのスタイル ============================================*/
@media all and (-ms-high-contrast: none) {
  .ie_only{
    margin: 50px;
    padding: 50px;
  }
  .ie_meg{
    font-size: 4rem;
  }
  .top_back{
    font-size: 4rem;
    display: block;
    margin: 30px;
    position: relative;
    color: #fff;
    letter-spacing: 0rem;
    background: #2e9be0;
    padding: 16px 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 0px #E4E4E4;
  }
  .top_back:hover{
    background-color: #55bbfa;
    transition: all 0.3s ease;
  }
  body>*:not(.ie_only) {
    display: none;
  }
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .ie_only{
    display: none;
  }
}
/* IEで表示されるページのスタイル ============================================*/
/* 計算結果に戻るボタン　===================================================== */
.result_cvr img{
  width: 130px;
  margin: 60px auto;
}
@media screen and (max-width: 767px) {/* 767px以下でスマホ画面時(ipad含まない)*/
  .result_cvr img{
  width: 90px;
  }
}
/* 計算結果に戻るボタン　===================================================== */
/* エラーメッセージ ===========================================================*/
#error_bonus, #error_atamakin, #error_kikan {
  color: red;
  font-size: small;
}
/* エラーメッセージ ===========================================================*/
/* sp.cssで適応されなかった */
.mb-20{
  margin-bottom: 20px;
}