@charset "utf-8";
/* CSS Document */
.section-calcuration {
  width: 100%;
}
.form-title__width {
  margin: 0 24px;
}
.calcuration-title {
  color: #111;
  position: relative;
  padding: 10px 0 2px 35px;
  border-bottom: 2px solid #facfe9;
  font-size: 1.9rem;
}
.calcuration-title:before, .calcuration-title:after {
  content: "";
  position: absolute;
  margin: auto;
}
.calcuration-title:before {
  width: 12px;
  height: 12px;
  top: 0;
  left: 14px;
  background: #facfe9;
  transform: rotate(50deg);
}
.calcuration-title:after {
  width: 8px;
  height: 8px;
  top: 18px;
  left: 6px;
  background: #facfe9;
  transform: rotate(20deg);
}
.section-calculator__discription {
  padding-top: 10px;
  margin: 0 0 20px 20px;
  line-height: 2.8rem;
}
.section-calculator__discription__small {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.backgroud-color__wrapper {
  background-color: #cfe9fa;
  width: 100%;
  flex-basis: 100%;
  justify-self: start;
  padding: 60px 0 30px 0;
}
.backgroud-color__inner {
  margin: 0 24px;
}
.section-calculator__labor-report, .entry__price {
  margin-bottom: 5px;
  padding: 20px 15px 18px;
  background-color: #fbfbfb;
  border-radius: 20px;
}
.period__input-area {
  margin-bottom: 30px;
  padding: 20px 15px 18px;
  background-color: #fbfbfb;
  border-radius: 20px;
}
.section-calculator__labor-report__flex-wrapper {
  display: flex;
  justify-content: space-between;
}
.comma-check__wrapper {
  text-align: right;
  width: 100%;
  height: 50px;
  margin: 10px 0;
}
.comma-check {
  font-size: 1.5rem;
  margin: 10px 0 10px auto;
}
.comma-display {
  position: relative;
  padding: 3px 1em 3px 1.5em;
  width: 123px;
  height: 25px;
}
.comma-display::after {
  position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: calc(100% - 1em);
  background-color: #fa96d2;
  border-radius: 4px;
}
.form__rate, .form__donation,.form__legaldy {
  width: 50px;
  height: 22px;
  /*  margin-left: 8px;*/
}
.input__price {
  width: 90px;
  height: 22px;
  margin-left: 8px;
}
.form__price {
  margin-top: 25px;
}
select {
  font-size: 1.7rem;
  padding: 3px 0;
  text-align: right;
}
input {
  font-size: 1.6rem;
  text-align: right;
}
.section-period__input-title {
  margin-bottom: 6px;
}
.midasi-wrapper {
  position: relative;
  padding-left: 4em;
}
.section-calculator__output__discription {
  margin-bottom: 20px;
  font-size: 1.5rem;
  padding-left: 4em;
}
.section-calculator__output__brackets {
  font-size: 1.5rem;
}
.durable-years__judge {
  margin: 0 24px 20px;
}
.durable-years__passing__flex-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0 14px 0;
  position: relative;
  padding: 16px 15px;
  border: 3px solid #d8d8d8;
  border-radius: 20px;
  background: #fbfbfb;
}
.durable-years__passing__flex-wrapper:before {
  position: absolute;
  bottom: -14px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #d8d8d8 transparent transparent transparent;
}
.durable-years__passing__flex-wrapper:after {
  position: absolute;
  bottom: -10px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #f9f9f9 transparent transparent transparent;
}
.durable-years__all {
  margin: 40px 0;
}
.durable-years__all__flex-wrapper {
  display: flex;
  justify-content: center;
  padding: 16px 15px;
  background-color: #fff;
  border-color: #cfe9fa;
  border-style: dashed;
  border-width: 4px;
  border-radius: 20px;
  margin: 0 24px 10px 24px;
}
.durable-years__part__discription {
  margin: 40px 24px 40px 34px;
}
.durable-years__part__discription__capital {
  margin: 40px 24px 20px 34px;
}
.section-calculator__output__title {
  margin: 0 0 0 10px;
}
.calcuration-button__flex-wrapper {
  display: flex;
}
.lump_calculation {
  margin-left: 18px;
}
/*ボタンを押されたときに計算結果を表示*/
.hidden_box {
  margin: 20px 0 20px; /*前後の余白*/
  padding: 0;
}
/*ボタン装飾*/
.hidden_box__button {
  display: block;
  height: 50px;
  padding: 8px;
  border: hidden;
  border-radius: 20px;
  cursor: pointer;
  background-color: #cffae0;
  text-align: center;
  margin: 40px auto 0 auto;
  font-size: 1.8rem;
  line-height: 5rem;
  flex-basis: 65%;
  width: calc(100% - 66px);
}
/*ボタンホバー時*/
.hidden_box__button:hover {
  background: #ffcfae;
}
/*チェックは見えなくする*/
.hidden_box__check, .hidden_box__check2, .hidden_box__check3 {
  display: none;
}
/*中身を非表示にしておく*/
.hidden_box .hidden_show, .hidden_box2 .hidden_show2, .hidden_box3 .hidden_show3 {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}
/*クリックで中身表示*/
.hidden_box__check:checked ~ .hidden_show, .hidden_box__check2:checked ~ .hidden_show2, .hidden_box__check3:checked ~ .hidden_show3 {
  padding: 10px 0;
  height: auto;
  opacity: 1;
}
/*ボタンを押されたときに計算結果を表示（終了）*/
.journal-entry__flex-items__account {
  margin-right: 15px;
}
.result__display {
  margin: 0 2px;
}
.brackets {
  margin: 0 3px 0 17px;
}
.duration-title {
  font-size: 1.6rem;
  margin-right: 15px;
}
.midasi {
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  padding: 0 1rem;
  color: #fff;
  background: #f2aaab;
}
.midasi:after {
  position: absolute;
  top: calc(50% - 7px);
  right: -11px;
  width: 0;
  height: 0;
  content: '';
  border-width: 7px 0 7px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #f2aaab;
}
.midasiato {
  padding-left: 130px;
}
.clearbutton {
  display: block;
  height: 60px;
  border: hidden;
  border-radius: 20px;
  background-color: #facfe9;
  text-align: center;
  font-size: 1.5rem;
  padding: 8px 8px 4px;
  width: calc(50% - 33px);
  margin: 0 auto 50px auto;
}
.blank__second, .blank__third {
  display: none;
}
@media(min-width:769px) {
  .results__flex-wrapper {
    display: flex;
    justify-content: space-between;
  }
  .journal-entry__flex-items__account {
    margin-right: 10px;
  }
  .journal-entry__flex-items__price {
    margin-right: 10px;
  }
  .section-calculator__labor-report, .period__input-area {
    width: 380px;
    padding: 20px 50px 18px;
    margin: 0 auto 40px;
  }
  .entry__price {
    width: 30%;
    padding: 20px 50px 18px;
    margin: 0 auto 10px;
  }
  .buttom-wrapper {
    justify-content: center;
  }
  .hidden_box__button {
    width: 464px;
    margin: 50px auto;
  }
  .durable-years__passing__flex-wrapper {
    width: 444px;
    margin: 0 auto 22px auto;
  }
  .section-durable__input-title {
    width: 170px;
  }
  .durable-years__all__flex-wrapper {
    width: 444px;
    margin: 0 auto;
  }
  .calcuration-title, .durable-years__part__discription {
    margin: 0 auto 14px auto;
    width: 444px;
  }
  .section-calculator__discription {
    margin: 0 auto 35px auto;
    width: 444px;
  }
  .section-calculator__output__title {
    width: 444px;
    margin: 0 auto;
  }
  .durable-years__judge {
    margin: 0;
  }
  .durable-years__part__discription {
    width: 444px;
    margin: 0 auto 50px auto;
  }
  .clearbutton {
    width: 160px;
  }
  .comma-check__wrapper {
    width: calc(30% + 100px);
    margin: 10px auto;
  }
  .comma-check {
    padding-right: 50px;
  }
  .em__insurance_rate_li__option {
    width: 60px;
  }
  .form__donation {
    width: 80px;
  }
}
