.estimate .estimate-desc p {
  line-height: 1.5em;
}
.estimate .estimate-desc p:not(:first-child) {
  margin-top: 15px;
}
.estimate .estimate-form {
  margin: clamp(1.563rem, 0.852rem + 3.03vw, 3.125rem) 0;
}
.estimate .estimate-form .estimate-block {
  border-top: 2px solid #efefef;
  padding: 25px 0;
}
.estimate .estimate-form .estimate-block:last-child {
  border-bottom: 2px solid #efefef;
}
.estimate .estimate-form .estimate-block__wrap {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .estimate .estimate-form .estimate-block__wrap {
    margin-top: 25px;
  }
}
.estimate .estimate-form .estimate-block__wrap .estimate-option {
  margin-top: 15px;
  width: calc(50% - 7.5px);
  margin-right: 15px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: clamp(0.813rem, 0.727rem + 0.36vw, 1rem);
  cursor: pointer;
  border: 2px solid #0F3092;
  padding: 10px;
  background: #fff;
  color: #0F3092;
  text-align: center;
  -webkit-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@media screen and (min-width: 768px) {
  .estimate .estimate-form .estimate-block__wrap .estimate-option {
    padding: 15px;
  }
}
@media screen and (min-width: 768px) {
  .estimate .estimate-form .estimate-block__wrap .estimate-option {
    width: calc(25% - 11.25px);
  }
}
.estimate .estimate-form .estimate-block__wrap .estimate-option:nth-child(2n) {
  margin-right: 0;
}
@media screen and (min-width: 768px) {
  .estimate .estimate-form .estimate-block__wrap .estimate-option:nth-child(2n) {
    margin-right: 15px;
  }
}
@media screen and (min-width: 768px) {
  .estimate .estimate-form .estimate-block__wrap .estimate-option:nth-child(4n) {
    margin-right: 0;
  }
}
.estimate .estimate-form .estimate-block__wrap .estimate-option:nth-child(-n+2) {
  margin-top: 0;
}
@media screen and (min-width: 768px) {
  .estimate .estimate-form .estimate-block__wrap .estimate-option:nth-child(-n+4) {
    margin-top: 0;
  }
}
.estimate .estimate-form .estimate-block__wrap .selected {
  background: #0F3092;
  color: #fff;
}
.estimate .estimate-summary {
  padding: 25px;
  background: #f7f7f7;
  -moz-text-align-last: center;
       text-align-last: center;
}
@media screen and (min-width: 1024px) {
  .estimate .estimate-summary {
    padding: 50px;
  }
}
.estimate .estimate-summary__title .text {
  font-size: 15px;
}
@media screen and (min-width: 1024px) {
  .estimate .estimate-summary__title .text {
    font-size: 20px;
  }
}
.estimate .estimate-summary__title .total {
  font-size: 25px;
  margin-top: 10px;
  letter-spacing: 0;
}
@media screen and (min-width: 1024px) {
  .estimate .estimate-summary__title .total {
    margin-top: 15px;
    font-size: 50px;
  }
}
.estimate .estimate-summary__btn {
  margin-top: 25px;
  max-width: 400px;
  margin-inline: auto;
}
@media screen and (min-width: 1024px) {
  .estimate .estimate-summary__btn {
    margin-top: 35px;
  }
}
.estimate .estimate-summary__btn a {
  display: block;
  padding: 15px;
  background: #0F3092;
  color: #fff;
}
@media screen and (min-width: 1024px) {
  .estimate .estimate-summary__btn a {
    padding: 25px;
  }
}
.estimate .top-back {
  margin-top: 50px;
  -moz-text-align-last: center;
       text-align-last: center;
}
.estimate .top-back a {
  position: relative;
  display: block;
  padding: 15px 0;
  border: 3px solid #0F3092;
}
.estimate .top-back a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0F3092;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: top;
          transform-origin: top;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), -webkit-transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@media screen and (min-width: 768px) {
  .estimate .top-back a {
    padding: 25px 0;
  }
}
@media screen and (min-width: 1024px) {
  .estimate .top-back a:hover:before {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
  .estimate .top-back a:hover span {
    color: #fff;
  }
}
.estimate .top-back a span {
  position: relative;
  z-index: 10;
  display: inline-block;
  font-family: "Anton", sans-serif;
  color: #0F3092;
  font-size: clamp(0.938rem, 0.511rem + 1.82vw, 1.875rem);
  -webkit-transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.estimate .form-style {
  margin-top: 50px;
}
.estimate .btn--back {
  display: none;
}

.confirm .btn--back {
  display: block;
}