
/* common_section */
/*---------------------------------*/
.common_section.estimate_section .section_header {
  background-color: #616D3D;
}

#estimate .section_body a {
  color: #32ABFF;
  text-decoration: underline;
}

.caucion {
	color: #CB0303;
	line-height: 1.8em;
}

/* estimate */
/*---------------------------------*/
#estimate .section_body {
}

#estimate .section_lead {
}

#estimate .section_lead .step {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 1rem 0 2rem;
}

#estimate .section_lead .step li {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  height: 3rem;
  background-color: #eee;
  padding: 0 1em;
  border: 1px solid #aaa;
  border-radius: 10px;
  color: #999;
  font-size: 1.06rem;
  line-height: 1.4em;
  -webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .1));
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .1));
}

#estimate .section_lead .step li.current {
  background-color: #436998;
  border-color: #436998;
  color: #fff;
  font-weight: 700;
}

#estimate .section_lead .step li:not(:last-child) {
  position: relative;
  margin-right: 3rem;
}

#estimate .section_lead .step li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 0;
  right: -1.8rem;
  bottom: 0;
  display: block;
  width: .8rem;
  height: .8rem;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  margin: auto;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#estimate .form_block {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 1rem;
  border-top: 1px solid #ccc;
}

#estimate .form_block:nth-child(even) {
  background-color: #F6F7F9;
}

#estimate .form_block > dt {
  position: relative;
  width: 250px;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: right;
}

#estimate .form_block.comfilm > dt {
  width: 220px;
  text-align: left;
}

#estimate .form_block.must > dt:before {
  content: "\5FC5\9808";
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  background-color: #C43C2A;
  padding: 0 .5em;
  border-radius: 3px;
  color: #fff;
  font-size: .8rem;
}

#estimate .form_block > dd {
  width: calc(100% - 250px);
  padding-left: 2rem;
}

#estimate .form_block label {
  position: relative;
}

#estimate .form_block input[type="radio"] {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #fff;
  margin-right: .5em;
  border: 1px solid #ccc;
  border-radius: 50%;
}

#estimate .form_block input[type="radio"]:disabled {
  border-color: #fff;
}

#estimate .form_block input[type="radio"]:checked + span:before {
  content: "";
  position: absolute;
  top: .3rem;
  left: .36rem;
  display: block;
  width: .8rem;
  height: .8rem;
  background-color: #00A0E3;
  border-radius: 50%;
}

#estimate .form_block .label {
  margin-right: .3rem;
}

#estimate .form_block select {
  height: 2.5rem;
  padding: 0 .5rem;
}

#estimate .form_block input[type="text"] {
  width: 100%;
  max-width: 260px;
  height: 2.5rem;
  padding: 0 .5rem;
  border: 1px solid #ccc;
}

#estimate .form_block input[type="text"].s {
  max-width: 140px;
}
#estimate .form_block input[type="text"].l {
  max-width: 100%;
}

#estimate .form_block textarea {
  width: 100%;
  max-width: 600px;
  height: 8rem;
  padding: .5rem;
  border: 1px solid #ccc;
}

#estimate .form_block .inner_box:not(:last-child),
#estimate .form_block .vertical li:not(:last-child) {
  margin-bottom: .5em;
  padding-bottom: .5em;
  border-bottom: 1px solid #ccc;
}

#estimate .form_block .vertical.photo img {
  max-width: 300px;
}

#estimate .form_block .innner_list {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#estimate .form_block .innner_list:not(:last-child) {
  margin-bottom: .5rem;
}

#estimate .form_block .innner_list dt {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  height: 2.5rem;
  background-color: #616D3D;
  margin-bottom: 1rem;
  padding: 0 1em;
  border-radius: 5px;
  color: #fff;
}

#estimate .form_block .innner_list dd {
  width: 30%;
  margin-bottom: 1rem;
}

#estimate .form_block .innner_list dd:not(:nth-child(3n+1)) {
  margin-right: 5%;
}

#estimate .form_block .innner_list dd label {
  display: -webkit-flex;
  display: flex;
  margin-top: .5rem;
  font-size: .93rem;
  line-height: 1.4em;
}

#estimate .form_block .note {
  color: #CB0303;
  font-size: .8rem;
  line-height: 1.4em;
}

#estimate .form_block .pref {
  font-size: .8rem;
  line-height: 1.4em;
}

#estimate .form_block .error {
  color: #CB0303;
  line-height: 1.4em;
}

#estimate .form_block.total {
  background-color: #FFF7CE;
  border-bottom: 1px solid #ccc;
}

#estimate .form_block.total #total {
  color: #CB0303;
  font-size: 1.4rem;
  font-weight: 700;
}

#estimate .form_block.note {
  background-color: #DCFFFF;
  margin-top: 1rem;
  border-top: 0;
}

#estimate .message {
  font-size: .93rem;
  text-align: center;
}

#estimate .submit {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 2rem 0;
}

#estimate .submit input[type="submit"] {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  height: 3rem;
  background-color: #eee;
  margin: 0 1rem;
  padding: 0 1em;
  border: 1px solid #aaa;
  border-radius: 10px;
  font-size: 1.06rem;
  -webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .1));
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .1));
  transition: background .3s, border .3s, color .3s;
}

#estimate .submit input[type=submit]:hover {
  background-color: #32ABFF;
  border-color: #32ABFF;
  color: #fff;
}

@media screen and (max-width: 640px) {
  #estimate .section_lead .step li {
    height: auto;
    padding: .5em;
    font-size: .93rem;
  }

  #estimate .section_lead .step li:not(:last-child) {
    margin-right: 1rem;
  }

  #estimate .section_lead .step li:not(:last-child):after {
    right: -.7rem;
    width: .6rem;
    height: .6rem;
  }

  #estimate .form_block > dt {
    width: 100%;
    padding-bottom: .5em;
    text-align: left;
  }

  #estimate .form_block.comfilm > dt {
    width: 100%;
  }

  #estimate .form_block.must > dt:before {
    right: 0;
    left: auto;
  }

  #estimate .form_block > dd {
    width: 100%;
    padding-left: 0;
  }

  #estimate .form_block input[type="text"] {
    max-width: 100%;
  }

  #estimate .form_block input[type="text"].s {
    max-width: 50%;
  }

  #estimate .form_block textarea {
    max-width: 100%;
  }

  #estimate .form_block .innner_list dt {
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex-direction: column;
    flex-direction: column;
    height: auto;
    padding: .5em 1em;
    line-height: 1.4em;
  }

  #estimate .form_block .innner_list dd {
    width: 48%;
  }

  #estimate .form_block .innner_list dd:not(:nth-child(3n+1)) {
    margin-right: 0;
  }

  #estimate .form_block .innner_list dd:not(:nth-child(2n+1)) {
    margin-right: 4%;
  }

  #estimate .form_block .note {
    margin: .3em 0;
  }

  #estimate .form_block .pref {
    margin: .3em 0;
  }

  #estimate .submit input[type="submit"] {
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
  }

  #estimate .submit input[type="submit"]:not(:last-child) {
    margin-bottom: .5rem;
  }
}

#estimate .message_box {
  padding: 2rem 1rem 3rem;
  background-color: #DCFFFF;
  text-align: center;
}

#estimate .message_box h3 {
  margin-bottom: 1rem;
}
