@charset "utf-8";

/* estimate */
.estimate {
  background: #F0F0F0;
  margin: 0;
  padding: 0 30px;
}

.estimate > .inner {
  max-width: 964px;
  margin: auto;
  padding: 50px 0;
}

.estimate > .inner .step-contents {
  display: flex;
  background: #fff;
  border-radius: 18px;
  min-height: 185px;
  padding: 24px;
  margin-bottom: 30px;
}

.estimate .step-contents .left-area {
  border-right: 1px solid #C8C8C8;
  padding-right: 20px;
  width: 20%;
}

.estimate .step-contents .right-area {
  padding-left: 26px;
  width: 80%;
}

.estimate .step-contents .left-area .left-info {
  display: flex;
  flex-flow: column;
  margin-bottom: 12px;
}

.estimate .step-contents .left-area .left-info-title {
  display: flex;
  color: #3A4AA0;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 8px;
}

.estimate .step-contents .left-area .left-info-title .step {
  margin-right: 8px;
}

.estimate .step-contents .left-area .left-info-title .number {
  font-size: 4rem;
}

.estimate .step-contents .left-area .left-info-text {
  display: flex;
  flex: 1;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0;
  line-height: 1.5;
}

.estimate .step-contents .left-area .left-info-text .small {
  font-size: 1.3rem;
}

/* ---------- 共通 ---------- */
.estimate .step-contents .form-radio {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  width: calc(100% + 24px);
  height: 100%;
}

.estimate .step-contents .form-radio .form-radio-list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
}

.estimate .step-contents .form-radio .form-radio-list > li {
  width: calc(50% - 24px);
  margin-right: 24px;
}

.estimate .step-contents .form-radio .form-radio-list > li label {
  cursor: pointer;
  display: block;
  height: 100%;
  position: relative;
  transition: opacity 0.2s ease-in-out;
}

.estimate .step-contents .form-radio .form-radio-list > li label input[type="radio"] {
  position: absolute;
  left: 0;
  height: 1em;
  width: 1em;
  opacity: 0;
}

.estimate .step-contents .form-radio .form-radio-list > li label input[type="radio"]:checked + .form-button {
  background: #EFF6FE;
  border-color: #3A4AA0;
  box-shadow: 0px 0px 12px #D9EBFF;
  -webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none
}

.estimate .step-contents .form-radio .form-radio-list .form-button {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 70px;
  border: 1px solid #C8C8C8;
  border-radius: 10px;
  padding: 20px 18px;
}

.estimate .step-contents .form-radio .form-radio-list .form-button-text {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  width: 100%;
}

.estimate .step-contents .form-radio .form-radio-list .form-button-text.large {
  display: block;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  width: 100%;
  margin-bottom: 10px;
}

.estimate .step-contents .form-radio .form-radio-list .form-button-img {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ---------- STEP1 ---------- */
.estimate .step-contents .form-radio.step-01 {
  flex-flow: column;
  width: calc(100% + 8px);
  height: auto;
}

.estimate .step-contents .form-radio.step-01 .form-radio-list {
  margin-top: 6px;
}

.estimate .step-contents .form-radio.step-01 .form-radio-list li {
  width: calc(20% - 8px);
  margin-right: 8px;
}

.estimate .step-contents .form-radio.step-01 .form-radio-list .form-button {
  height: 54px;
  padding: 8px;
}

.estimate .step-contents .form-radio.step-01 .form-radio-list .form-button-text {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* ---------- STEP2 ---------- */
.estimate .step-contents .form-radio.step-02 .form-radio-list li label {
  text-align: center;
  width: 100%;
  height: 250px;
}

.estimate .step-contents .form-radio.step-02 .form-radio-list .form-button {
  height: 100%;
  padding: 18px 20px;
}

.estimate .step-contents .form-radio.step-02 .form-radio-list .form-button.is-adjust .form-button-text.large {
  padding: 15px 0;
}

.estimate .step-contents .form-radio.step-02 .form-radio-list .form-button-text.small {
  font-size: 1.2rem;
  margin: 10px auto;
}

.estimate .step-contents .form-radio.step-02 .form-radio-list .form-button.is-adjust .form-button-img {
  padding-top: 8px;
}

/* ---------- STEP3 ---------- */
.estimate .step-contents .form-radio.step-03 .form-radio-list .form-button {
  height: 100%;
}

.estimate .step-contents .form-radio.step-03 .form-radio-list .form-button-text.large {
  margin-bottom: 18px;
}

.estimate .step-contents .form-radio.step-03 .form-radio-list .form-button-img {
  width: 90%;
  max-height: 134px;
}

.estimate .step-contents .form-radio.step-03 .form-radio-list .form-button-img img {
  width: 100%;
}

/* ---------- STEP4 ---------- */

/* ---------- STEP5 ---------- */
.estimate .step-contents .form-radio.step-05 {
  width: calc(100% + 8px);
}

.estimate .step-contents .form-radio.step-05 .form-radio-list li {
  width: calc(33.3333% - 8px);
  margin-right: 8px;
}

/* ---------- STEP6 ---------- */
.estimate .step-contents .form-radio.step-06 .form-radio-list {
  flex-flow: wrap;
}

.estimate .step-contents .form-radio.step-06 .form-radio-list li {
  width: calc(50% - 24px);
  margin-right: 24px;
  margin-bottom: 24px;
}

.estimate .step-contents .form-radio.step-06 .form-radio-list li:nth-of-type(3),
.estimate .step-contents .form-radio.step-06 .form-radio-list li:nth-of-type(4) {
  margin-bottom: 0px;
}

/* ---------- STEP7 ---------- */


/* number-list */
.estimate .step-contents .range-number-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 550px;
  margin: 16px auto 4px;
  padding: 0 12px;
}

.estimate .step-contents .range-number-list li {
  position: relative;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.estimate .step-contents .range-number-list li.dot {
  background: #AFAFAF;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.estimate .step-contents .range-number-list li .bubble {
  display: block;
  position: absolute;
  background:#fff;
  bottom: -92px;
  left: 12px;
  width: 150px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  border: 2px solid #C8C8C8;
  border-radius: 10px;
  padding: 6px 12px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.estimate .step-contents .range-number-list li .bubble::before {
  content: "";
  display: block;
  position: absolute;
  top: -7px;
  right: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  background:#fff;
  border-top: 2px solid #C8C8C8;
  border-right: 2px solid #C8C8C8;
  transform: rotate(-45deg) skew(-10deg, -10deg);
}

.estimate .step-contents .range-number-list li .bubble.current {
  visibility: visible;
  opacity: 1;
}

.estimate .step-contents .range-number-list li .bubble.val-6 {
  left: -30px;
  transform: none;
  width: 110px;
}

.estimate .step-contents .range-number-list li .bubble.val-20 {
  left: auto;
  right: -30px;
  transform: none;
}

.estimate .step-contents .range-number-list li .bubble.val-6::before {
  right: auto;
  left: 28px;
}

.estimate .step-contents .range-number-list li .bubble.val-7::before {
  left: -16px;
}

.estimate .step-contents .range-number-list li .bubble.val-10::before {
  left: -4px;
}

.estimate .step-contents .range-number-list li .bubble.val-20::before {
  right: 28px;
  left: auto;
}

/* range */
.estimate .step-contents .form-range {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 40px;
  margin: 0 auto 60px;
}

.estimate .step-contents .form-range .form-range-bg {
  position: absolute;
  background: #D9D9D9;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  border-radius: 20px;
}

.estimate .step-contents .form-range .form-range-bar {
  position: absolute;
  background: #3B499F;
  top: 0;
  left: 0;
  width: 66.6667%;
  height: 40px;
  border-radius: 20px;
}

.estimate .step-contents .form-range input[type="range"] {
  background: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  padding: 0 8px;
}

.estimate .step-contents .form-range input[type="range"]:focus {
  outline: 0;
}

.estimate .step-contents .form-range input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-color: transparent;
  border: 0;
  color: transparent;
  width: 100%;
  height: 40px;
}

.estimate .step-contents .form-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background:#fff;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  margin-top: 7px;
}

.estimate .step-contents .form-range input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border-color: transparent;
  border: 0;
  color: transparent;
  width: 100%;
  height: 40px;
}

.estimate .step-contents .form-range input[type="range"]::-moz-range-thumb {
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  margin-top: 6px;
}

.estimate .step-contents .form-range input[type="range"]::-ms-track {
  background: transparent;
  border-color: transparent;
  border: 0;
  color: transparent;
  width: 100%;
  height: 40px;
}

.estimate .step-contents .form-range input[type="range"]::-ms-thumb {
  background: #fff;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.estimate .step-contents .form-range input[type="range"]::-ms-fill-lower {
  background: transparent;
}

.estimate .step-contents .form-range input[type="range"]::-ms-fill-upper {
  background: transparent;
}

.estimate .step-contents .form-range input[type="range"]::-ms-tooltip {
  display: none;
}

/* grade */
.estimate .step-contents .grade-text {
  background: #EFF6FE;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.4;
  padding: 20px;
  text-align: center;
}




@media only screen and (max-width: 767px) {

  /* estimate */
  .estimate {
    padding: 0 28px;
  }

  .estimate > .inner {
    max-width: 100%;
    padding: 36px 0;
  }

  .estimate > .inner .step-contents {
    display: flex;
    flex-flow: column;
    min-height: 168px;
    padding: 16px;
    margin-bottom: 20px;
  }

  .estimate .step-contents .left-area {
    border-right: none;
    border-bottom: 1px solid #C8C8C8;
    padding-right: 20px;
    width: 100%;
  }

  .estimate .step-contents .right-area {
    padding-left: 0;
    width: 100%;
  }

  .estimate .step-contents .left-area .left-info {
    flex-flow: row;
    margin-bottom: 0;
  }

  .estimate .step-contents .left-area .left-info-title {
    display: flex;
    align-items: baseline;
    width: 70px;
    margin-left: 6px;
  }

  .estimate .step-contents .left-area .left-info-title .step {
    font-size: 1.3rem;
    margin-right: 6px;
  }

  .estimate .step-contents .left-area .left-info-title .number {
    font-size: 2.4rem;
  }

  .estimate .step-contents .left-area .left-info-text {
    padding-top: 6px;
    margin-left: 14px;
    margin-bottom: 14px;
  }

  .estimate .step-contents .form-radio {
    width: calc(100% + 10px);
  }

  .estimate .step-contents .form-radio .form-radio-list {
    margin-top: 18px;
  }

  .estimate .step-contents .form-radio .form-radio-list .form-button {
    height: 58px;
    padding: 20px 18px;
  }

  .estimate .step-contents .form-radio .form-radio-list .form-button-text {
    font-size: 1.2rem;
  }

  /* ---------- STEP1 ---------- */
  .estimate .step-contents .form-radio.step-01 .form-radio-list {
    flex-flow: wrap;
    margin-top: 18px;
  }

  .estimate .step-contents .form-radio.step-01 .form-radio-list li {
    width: calc(50% - 10px);
    margin-right: 10px;
  }

  .estimate .step-contents .form-radio.step-01 .form-radio-list .form-button {
    height: 58px;
    padding: 8px 20px;
    margin-bottom: 10px;
  }

  /* ---------- STEP2 ---------- */
  .estimate .step-contents .form-radio.step-02 {
    width: 100%;
  }

  .estimate .step-contents .form-radio.step-02 .form-radio-list {
    flex-flow: column;
    margin-top: 18px;
  }

  .estimate .step-contents .form-radio.step-02 .form-radio-list li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
  }

  /* ---------- STEP3 ---------- */
  .estimate .step-contents .form-radio.step-03 .form-radio-list li {
    width: calc(50% - 10px);
    margin-right: 10px;
  }

  .estimate .step-contents .form-radio.step-03 .form-radio-list li label .form-button {
    padding: 14px 10px;
  }

  .estimate .step-contents .form-radio.step-03 .form-radio-list li label .form-button-text.large {
    font-size: 1.0rem;
    margin-bottom: 4px;
  }

  .estimate .step-contents .form-radio.step-03 .form-radio-list li label .form-button-img {
    width: 100%;
  }

  /* ---------- STEP4 ---------- */
  .estimate .step-contents .form-radio.step-04 .form-radio-list li {
    width: calc(50% - 10px);
    margin-right: 10px;
  }

  /* ---------- STEP5 ---------- */
  .estimate .step-contents .form-radio.step-05 .form-radio-list {
    flex-flow: wrap;
    margin-top: 18px;
  }

  .estimate .step-contents .form-radio.step-05 .form-radio-list li {
    width: calc(50% - 10px);
    margin-right: 10px;
  }

  .estimate .step-contents .form-radio.step-05 .form-radio-list .form-button {
    height: 58px;
    padding: 8px 20px;
    margin-bottom: 10px;
  }

  /* ---------- STEP6 ---------- */
  .estimate .step-contents .form-radio.step-06 .form-radio-list {
    margin-top: 18px;
  }

  .estimate .step-contents .form-radio.step-06 .form-radio-list li {
    width: calc(50% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .estimate .step-contents .form-radio.step-06 .form-radio-list li:nth-of-type(3),
  .estimate .step-contents .form-radio.step-06 .form-radio-list li:nth-of-type(4) {
    margin-bottom: 10px;
  }

  .estimate .step-contents .form-radio.step-06 .form-radio-list .form-button {
    height: 58px;
    padding: 8px 20px;
  }

  /* ---------- STEP7 ---------- */


  /* number-list */
  .estimate .step-contents .range-number-list {
    max-width: 600px;
    margin: 24px auto 6px;
    padding: 0 8px;
  }

  .estimate .step-contents .range-number-list li {
    font-size: 1.3rem;
  }

  .estimate .step-contents .range-number-list li.dot {
    width: 4px;
    height: 4px;
  }

  .estimate .step-contents .range-number-list li .bubble {
    bottom: -82px;
    left: 12px;
    font-size: 1.0rem;
  }

  .estimate .step-contents .range-number-list li .bubble.val-6 {
    left: -20px;
    width: 75px;
  }

  .estimate .step-contents .range-number-list li .bubble.val-6::before {
    left: 16px;
  }

  .estimate .step-contents .range-number-list li .bubble.val-7 {
    left: 35px;
  }

  .estimate .step-contents .range-number-list li .bubble.val-7::before {
    left: -62px;
  }

  .estimate .step-contents .range-number-list li .bubble.val-20 {
    right: -20px;
  }

  .estimate .step-contents .range-number-list li .bubble.val-20::before {
    right: 16px;
    left: auto;
  }

  /* range */
  .estimate .step-contents .form-range {
    max-width: 600px;
    height: 28px;
    margin: 0 auto 68px;
  }
  
  .estimate .step-contents .form-range .form-range-bg {
    height: 28px;
  }

  .estimate .step-contents .form-range .form-range-bar {
    height: 28px;
  }

  .estimate .step-contents .form-range input[type="range"] {
    height: 28px;
    padding: 0 4px;
  }

  .estimate .step-contents .form-range input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 28px;
  }

  .estimate .step-contents .form-range input[type="range"]::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: 7px;
  }

  .estimate .step-contents .form-range input[type="range"]::-moz-range-track {
    width: 100%;
    height: 28px;
  }

  .estimate .step-contents .form-range input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    margin-top: 6px;
  }

  .estimate .step-contents .form-range input[type="range"]::-ms-track {
    width: 100%;
    height: 28px;
  }

  .estimate .step-contents .form-range input[type="range"]::-ms-thumb {
    width: 12px;
    height: 12px;
  }

  /* grade */
  .estimate .step-contents .grade-text {
    font-size: 2.0rem;
    padding: 10px;
    margin-bottom: 10px;
  }
}
