@charset "utf-8";

.estimation {
  text-align: center;
/*  color: #0dac67;*/
}

.estimation--fixed {
  display: none;/*scrollで表示するため*/
  position: fixed;
  top: 200px;
  right: 30px;
  width: 220px;
  height: auto;
  /*border: 2px solid #0dac67;*/
  z-index: 99999;

  border-radius: 3px;
}

#estimation-content{/*追加*/
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  background:#fff;
}

.estimation--fixed.is-animation {
  display: block;/*scrollで表示*/
}

.page-id-2124 .estimation--fixed.is-animation {/*見積ページで非表示*/
  display: none;/*scrollで表示*/
}

.estimation--inline {
  position: relative;
}

/*.estimation--inline .estimation__header,
 .estimation--inline .estimation__inputs {
  width: 300px;
}*/

.estimation__header {
    background: #f9f9f9;
    padding: 10px 6px;
    border: 1px solid #cbcbcb;
    border-bottom: none;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.estimation__main {
  border: 1px solid #cbcbcb;
  border-top: none;
  padding: 10px 6px 20px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.estimation--inline .estimation__output {
  position: absolute;
  top: 20px;
  right: 15px;
}

.estimation__header {
}

/*.estimation__text {
  font-size: 2rem;
  vertical-align: bottom;
}*/

/*.estimation__text--alert {
  background: #da4127;
  color: #fff;
  font-size: 1em;
  padding: 0 0.3em;
  border-radius: 8px;
}*/

/*.estimation__title {
  color: #0dac67;
  font-size: 30px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
}*/

.estimation__title {
  display: block;
  background: #e8e8ea;
  padding: 3px 0px;
  border-radius: 4px;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 1px 3px 0 rgba(0,0,0,.07);
}

.estimation__title:before {
    content: "\f002";
    font-family: fontawesome;
}

.estimation__inputs {
  display: flex;
  justify-content: space-between;
}

.estimation__label {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  font-weight: normal;
  font-size: 15px;
  color: #808080;
}

label.estimation__label.estimation__result {
  font-size: 17px;
  font-weight: bold;
  margin-top: 10px;
}

.estimation__input {
  height: 40px;
  width: 100%;
  padding: 3px 5px 3px 15px;
}

.estimation__input--result {
  text-align: center;
}

.estimation__btn {
  display: inline-block;
  /*border: 1px solid #333;*/
  font-size: 15px;
  margin-top: 20px;
  padding: 1px 8px;
  /*box-shadow: 0 1px 5px #151515;*/
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);/*追加*/
  background: #0e96a7;
  color: #fff;
}

.estimation__btn:hover,
.estimation__btn:focus{
  background: #00b9d0;
  color: #fff;
}



span.est-btn:after {/*追加*/
    content: "\f04b";
    font-family: fontawesome;
    margin-left: 10px;
    font-size: 13px;
}

.estimation__close-btn {
  display:  none;
  position: absolute;
  top: 14px;
  right: 0px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
}

.estimation__icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 40px;
  color: #0dac67;
  opacity: 0.8;
}
.estimation__icon:hover {
  opacity: 1;
}

.estimation.estimation--fixed input{
  box-shadow: inset 0 1px 3px 0 rgba(0,0,0,.07);
}

@media only screen and (max-width:1600px) {
  .estimation--fixed {
    right: 0;
  }
}

/* Mobile for estimation--fixed */
@media only screen and (max-width:1360px) {
  .estimation--fixed {
    top: unset;
    right: unset;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
  }

  .estimation__header, .estimation__main{
    padding-left: 50px;
    padding-right: 50px;
  }

  .estimation.estimation--fixed input{
    height: 40px;
  }

  .estimation--fixed.estimation {
    display: none;
  }

  .estimation--fixed.estimation--show {
    display: block;
  }
  .estimation--fixed .estimation__close-btn {
    display: block;
  }
  .estimation__btn {
    padding: 10px 20px;
  }
}

/* Mobile for estimation--inline */
@media only screen and (max-width:700px) {
  .estimation--inline .estimation__output {
    position: static;
  }

  .estimation--inline .estimation__header,
  .estimation--inline .estimation__inputs {
    width: 100%;
  }
}