html {
  height: 100%;
  margin: 0;
  padding: 0 15px;
  background-color: #FEFFC1;
  font-size: 16px;
}
body {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 765px;
  margin: 0 auto;
  font-size: 16px;
  font-family: sans-serif;
}

img {
  vertical-align: bottom;
}

.illust {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
  height: 30%;
  overflow: hidden;
}

.form-label,
.page-title {
  display: block;
  text-align: center;
  padding: 1em;
  font-size: 1.3rem;
  font-weight: bold;
}

.step {
  padding-bottom: 10px;
}

.step-count {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.step-circle {
  display: flex;
  align-items: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #FFE100;
}
.step-circle + .step-circle::before {
  content: '';
  display: block;
  width: 14px;
  height: 2px;
  transform: translateX(-12px);
  background-color: #FFE100;
}
.step-circle.--active {
  background-color: #FFE100;
}

.contents,
.result {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .03);
}

.form-input {
  padding-block: 5px;
  font-size: 1.2rem;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  button,
  input[type=submit],
  .btn {
    min-width: 135px;
    padding: .5em 1em;
    background-color: #161E35;
    border: 0;
    border-radius: 5px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
  }
  .prev {
    background-color: #eee;
    color: #161E35;
  }
  .show-price {
    background-color: #FF0000;
  }
}

.result {

}
.result__text {
  display: block;
  margin-top: 1.3rem;
}
.--right {
  text-align: right;
}
.result__price {
  display: grid;
  gap: 8px;
  margin-top: 1.3rem;
}
.result__label {
  display: flex;
  align-items: center;
  gap: .2em;
  font-weight: bold;
  .icon {
    flex-shrink: 0;
  }
}
.result__price-items {
  width: fit-content;
  margin-inline: auto;
}
.result__price-text {
  display: block;
  width: fit-content;
  padding: 5px 10px;
  background-color: #FFE100;
  border-radius: 5px;
  font-weight: bold;
  color: #161E35;
  font-size: 1rem;
  line-height: 1;
}
.result__price-text.--small {
  font-size: 1rem;
}
.result__price-price {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
  .--small {
    font-size: 1.8rem;
  }
}
.result__price-price::before {
  content: attr(before);
  font-size: 1.3rem;
  margin-right: .2em;
}
.result__price-price::after {
  content: attr(after);
  font-size: 1.3rem;
  margin-left: .2em;
}

.result__form {
  margin-top: 15px;
}
.form-item + .form-item {
  margin-top: 15px;
}
.form-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  align-items: center;
}
.form-item__label {
  font-weight: bold;
}
.form-item__input {
  margin-top: 5px;
  input {
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .03);
    border: 1px solid #161E35;
    box-sizing: border-box;
  }
}
#formWrap {
  padding-bottom: 20px;
}
.page-text {
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 13px;
  }
}
