/* CSS Document */

.sp_br{
  display: none;
}
.pc_br{
  display: inherit;
}

@media screen and (max-width: 768px){
  .sp_br{
    display:inherit;
  }
  .pc_br{
    display: none !important;
  }
}

.simulation .link:hover{
  opacity: 0.8;
}

/* flexbox
=========================================== */
.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
@media only screen and (max-width: 768px) {
  .flex {
    flex-direction: column;
  }
}

.flex.flex-between {
  justify-content: space-between;
}

/* note
=========================================== */

.notes{
  width: calc(100% - 690px);
  margin-top: 20px;
}

.notes p{
  font-size: 16px;
}

.notes li{
  list-style: disc;
  margin-top: 15px;
  font-size: 15px;
}

@media only screen and (max-width: 1020px) {
  .notes {
    max-width: 660px;
    width: 96%;
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 20px;
  }
}


/* フォーム
=========================================== */

.mr10{
  margin-right: 10px;
}
.mb10{
  margin-bottom: 10px;
}

#formBG{
  background: #ececec;
  margin-top: 20px;
  text-align: center;
  width: 660px;
  padding: 49px;
}

.table-form {
  width: 100%;
  background: #fff;
  padding: 30px 22px;
  margin: 0 auto;
  text-align: left;
}


.inputarea {
  border: #cccccc solid 1px;
  background: #fefaee;
}

.table-form input{
  box-sizing: border-box;
  padding: 10px;
  border: #bbb solid 1px;
  width: 193px;
  margin-right: 13px;
  font-size: 16px;
  vertical-align: middle;
}

.table-form select {
  box-sizing: border-box;
  padding: 10px;
  border: #bbb solid 1px;
  width: 193px;
  font-size: 16px;
  background: url("../img/help/simulation/arrow_down.png") right 7px center no-repeat #fefaee;
  background-size: 10px auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


.table-form dl {
  border-bottom: 1px solid #e1e1e1;
  width: 100%;
  padding: 20px 0;
}
.table-form dt{
  width: 48%;
  font-size: 16px;
  line-height: 1.6;
  text-align: right;
  padding-top: 8px;
}

.table-form dd {
  width: 48%;
}

.table-form dd p.size span{
  display: inline-block;
  width: 100px;
  padding: 5px 0;
  background: #215078;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  margin: 0 auto;
}

.table-form p.size input{
  width: 80px;
  font-size: 16px;
  vertical-align: middle;
  margin-left: 13px;
}

ul.list_radio.flex{
  padding-left: 0;
  justify-content: flex-start;
  margin-top: 7px;
}

ul.list_radio li{
  display: inline-block;
  padding-left: 12px;
  margin-right: 5px;
}

ul.list_radio li label {
  display: block;
}

ul.list_radio input[type=radio] {
  visibility: hidden;
  position: absolute;
}

ul.list_radio input[type=radio]:checked + span:after {
  opacity: 1;
}

ul.list_radio li label{
  cursor: pointer;
}

ul.list_radio li span {
  line-height: 22px;
  position: relative;
  padding-left: 23px;
  padding-right: 26px;
  display: block;
}
ul.list_radio li span:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 100%;
  border: 1px solid #aaaaaa;
}

ul.list_radio li span:after {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: #212836;
  opacity: 0;
  -webkit-transition: opacity .2s;
  -o-transition: opacity .2s;
  transition: opacity .2s;
  border-radius: 100%;
}

.table-form input:-ms-input-placeholder {
  font-size: 16px;
}

.table-form input::placeholder {
  font-size: 16px;
}

.txt_center{
  text-align: center;
  padding-top: 40px;
}

input[type="text"],input[type="submit"],input[type="checkbox"],select,textarea{
   border-radius: 0;
}

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;
}

.error {
    color: #f00;
    margin: 10px 0 0 0 !important;
    font-size: 13px !important;
    text-align: right;
    width: 100%;
}

#submit_button{
  -webkit-appearance: none;
  display: block;
  position: relative;
  cursor:pointer;
  padding: 15px 40px;
  font-size: 24px;
  width: 90%;
  margin: 30px auto 60px auto;
  color: #fff;
  border: none !important;
  background: #215078;
  text-align: center;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#submit_button:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px){
  #formBG{
    width: 100%;
    max-width: 660px;
    padding: 0;
    border: 10px solid #ececec;
  }
  .table-form {
    padding: 5px 22px;
  }
  .table-form input{
    width: 173px;
  }
  .table-form dt{
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
  .table-form dd {
    width: 97%;
    margin-left: 3%;
  }
  .table-form dd select {
    max-width: 90%;
    margin-right: 5px !important;
  }
  .table-form dd p.size span{
    width: 80px;
    font-size: 14px;
  }
  .table-form p.size input{
    width: 60px;
  }
  .txt_center{
    padding-top: 20px;
  }
  ul.list_radio li{
    margin-bottom: 15px;
  }
  ul.list_radio li span {
    line-height: 29px;
  }
  ul.list_radio li span:before {
    top: 3px;
  }
  ul.list_radio li span:after {
    top: 9px;
  }
  .error {
    text-align: left;
  }
  #submit_button{
    font-size: 18px;
  }
}


/* 結果
=========================================== */

.fukidashi {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 30px;
  width: 100%;
  font-size: 16px;
  background: #f0f0f0;
}

.fukidashi:not(.customer):before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #f0f0f0;
}

.fukidashi .flex{
  align-items: center;
}

/* 英語用 */
@media screen and (min-width: 769px){
  .fukidashi-en .flex{
    justify-content: flex-start;
  }
  .fukidashi-en div.flex{
    width: calc(100% / 3);
  }
  .fukidashi-en div.flex:first-child dd{
    font-size: 20px;
  }
}

.fukidashi dt{
  font-size: 18px;
  font-weight: normal;
  margin-right: 10px;
}

.fukidashi dd{
  font-size: 22px;
  font-weight: bold;
  color: #224f78;
  margin-right: 15px;
}

.fukidashi .box{
  border: 1px solid #f5cd56;
  background: #fff;
  padding: 15px 20px 10px 20px;
  margin-top: 20px;
}

.fukidashi .box ul{
  margin: 15px 0;
}

.fukidashi .box li{
  list-style: disc;
  font-size: 16px;
}
.fukidashi.customer .box p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #f00;
    margin: 0;
}
.fukidashi.customer .box p a {
    color: #f00;
}
.attention {
  margin-top: 20px;
  font-weight: bold;
}
.resultlist.flex{
  justify-content: flex-start;
}

.resultlist div{
  width: 320px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/*SP*/
@media screen and (max-width: 768px){
  .resultlist div{
  width: 100%;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: 20px;
 }
}

.resultlist dt{
  background: #f5cd56;
  font-size: 20px;
  font-weight: bold;
  color: #224f78;
  line-height: 43px;
  padding: 0 20px;
}
.resultlist dt span{
  font-size: 20px;
  color: #fff;
}

.resultlist dd{
  border: 1px solid #f5cd56;
  display: block;
  position: relative;
}

.resultlist p.result{
  background: #fefaee;
  font-size: 36px;
  font-weight: bold;
  color: #224f78;
  padding: 30px 0;
  text-align: center;
  margin: 0 auto;
  line-height: 1;
}

.resultlist p.result.print_only{
  padding: 20px 0 40px;
}

.resultlist p.result i{
  margin-right: 10px;
}

.resultlist p.result + p.note{
  position: absolute;
  top: 49px;
  width: 100%;
  text-align: center;
  color: #224f78;
}

.resultlist p.price{
  background: #fff;
  padding: 15px 20px 10px 20px;
  line-height: 1;
  align-items: center;
  margin-bottom: 0;
}

.resultlist p.price span{
  font-size: 18px;
}

.resultlist p.price span.en > span{
  font-size: 30px;
  color: #e94947;
  font-weight: bold;
  margin-right: 5px;
}

.resultlist .impossible dt{
  background: #cccccc;
  color: #999999;
}

.resultlist .impossible dd{
  border: 1px solid #f0f0f0;
}

.resultlist .impossible p.result{
  background: #f0f0f0;
  color: #999999;
}

.resultlist .impossible p.price{
  background: #f0f0f0;
  color: #999999;
}

.resultlist .impossible p.price span.en > span{
  color: #999999;
}

@media screen and (max-width: 768px){
  .fukidashi .flex{
    align-items: center;
    flex-direction: row;
  }
  .fukidashi dt{
    font-size: 16px;
    line-height: 1;
  }
  .fukidashi dd{
    font-size: 18px;
  }
  .resultlist.flex{
    justify-content: flex-start;
    flex-direction: row;
  }
  .resultlist p.price.flex{
    flex-direction: row;
  }
}
