@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
* {
  color: #111111;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
}

body {
  background: #F8F8F8;
}

.flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

*, *::before, *::after, *:focus {
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  border-spacing: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.s1 {
  width: 100%;
  max-width: 750px;
  background: white;
  flex-direction: column;
  padding: 30px 16px 84px 16px;
  margin: 0 auto;
  margin-top: 50px;
  overflow: hidden;
}
.s1 h1 {
  font-family: "Inter", sans-serif;
  color: #BF9883;
  font-size: 48px;
  font-weight: 300;
}
.s1 h3 {
  font-size: 20px;
  margin-top: 14px;
  font-weight: 500;
}
.s1 p {
  color: rgba(0, 0, 0, 0.9);
  font-size: 15px;
  font-weight: 500;
  margin-top: 40px;
  text-align: center;
}
.s1 .warning {
  color: rgba(0, 0, 0, 0.5);
  width: 100%;
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
.s1 .custom-line {
  width: 100%;
  height: 30px;
  background: url("../../Media/custom-line.svg") no-repeat center;
  background-size: 100% 100%;
  display: inline-block;
}
.s1 .custom-line.first {
  margin-top: -7px;
}
.s1 .custom-line.second {
  margin-top: 72px;
}
.s1 form {
  width: 100%;
  max-width: 600px;
  margin-top: 46px;
  flex-direction: column;
  gap: 30px;
}
.s1 form .item {
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
}
.s1 form .item label {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.s1 form .item label .t1 {
  width: 40%;
  height: 30px;
  border-left: 5px solid #BF9883;
  justify-content: flex-start;
  padding-left: 12px;
  font-size: 17px;
  font-weight: 600;
}
.s1 form .item label input {
  height: 30px;
  margin-right: 3px;
  text-align: right;
  font-size: 17px;
  font-weight: 600;
}
.s1 form .item label input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}
.s1 form .item label input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.s1 form .item label input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.s1 form .item div {
  margin-top: 20px;
  gap: 10px;
}
.s1 form .item div input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: transparent;
  outline: none;
}
.s1 form .item div input[type=range]::-webkit-slider-runnable-track {
  background: #F5EFEB;
  border: 1px solid rgba(191, 152, 131, 0.2509803922);
  border-radius: 100px;
  height: 10px;
}
.s1 form .item div input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid #BF9883;
  border-radius: 100px;
  margin-top: -3.5px;
  cursor: pointer;
}
.s1 form .item div input[type=range]::-moz-range-track {
  background: #F5EFEB;
  border: 1px solid rgba(191, 152, 131, 0.2509803922);
  border-radius: 100px;
  height: 10px;
}
.s1 form .item div input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid #BF9883;
  border-radius: 100px;
  cursor: pointer;
}
.s1 form .item div input[type=range]::-moz-focus-outer {
  border: 0;
}
.s1 form .item div .icon {
  width: 25px;
  aspect-ratio: 1/1;
  display: inline-block;
  cursor: pointer;
}
.s1 form .item div .icon.minus {
  background: url("../../Media/slidebar-minus.svg") no-repeat center/contain;
}
.s1 form .item div .icon.plus {
  background: url("../../Media/slidebar-plus.svg") no-repeat center/contain;
}
.s1 form .line {
  width: 100%;
  height: 1px;
  border-top: 1px solid #CCCCCC;
}
.s1 form button {
  width: 100%;
  max-width: 500px;
  height: 63px;
  background: #BF9883;
  color: white;
  font-size: 23px;
  font-weight: 500;
  margin: 0 auto;
  margin-top: 72px;
  display: block;
  cursor: pointer;
}
.s1 form button:hover {
  background: #B58E77;
}
.s1 form button span {
  width: 9px;
  aspect-ratio: 7/14;
  background: url("../../Media/arrow.svg") no-repeat center/contain;
  display: inline-block;
  margin-right: 15px;
  margin-bottom: -1px;
}

@media (max-width: 750px) {
  .s1 {
    margin-top: 0;
  }
  .s1 .custom-line {
    background-position: right center;
    background-size: auto;
  }
}
@media (max-width: 550px) {
  .s1 p {
    margin-top: 25px;
  }
  .s1 form {
    margin-top: 25px;
  }
  .s1 form button {
    margin-top: 40px;
  }
  .s1 .custom-line.first {
    margin-top: 0px;
  }
}
.s2 {
  display: none;
  width: 100%;
  max-width: 750px;
  background: white;
  flex-direction: column;
  padding: 16px;
  padding-bottom: 100px;
  gap: 100px;
  position: relative;
  margin: 0 auto;
  margin-bottom: 100px;
  overflow: hidden;
}
.s2.active {
  display: flex;
}
.s2 .step {
  width: 100%;
  max-width: 600px;
  gap: 100px;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  z-index: 2;
}
.s2 .step .title {
  width: 100%;
  height: auto;
  justify-content: flex-start;
  padding-left: 15px;
  border-left: 5px solid #BE907B;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.s2 .step .text-box {
  width: 100%;
  height: auto;
  background: #fbf7f7;
  border: 2px solid #e8e7e7;
  padding: 30px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  line-height: 33px;
}
.s2 .step .text-box .indent-1 {
  margin-left: 8px;
}
.s2 .step .text-box .indent-2 {
  margin-left: 16px;
}
.s2 .step .text-box .indent-3 {
  margin-left: 24px;
}
.s2 .step .text-box .square {
  width: 10px;
  aspect-ratio: 1/1;
  background: #BE907B;
  margin: 0 7px 1px 0;
}
.s2 .step .text-box .highlight {
  color: #B38570;
  font-size: 19px;
  font-weight: 600;
  padding: 0 3px;
  text-decoration: underline;
  text-decoration-color: #F0D5CC;
  text-decoration-thickness: 3px;
  text-underline-offset: 0px;
}
.s2 .step .text-box .number {
  background: white;
  border: 1px solid rgba(240, 213, 204, 0.5019607843);
  border-radius: 3px;
  font-family: "Nunito", sans-serif;
  color: #BE907B;
  font-size: 20px;
  letter-spacing: 0;
  font-weight: 700;
  padding: 0 5px;
  margin: 0 3px;
}
.s2 .step .text-box .small-text {
  font-size: 15px;
  line-height: 23px;
  display: inline-block;
}
.s2 .step .text-box .spacer {
  height: 18px;
}
.s2 .step .text-box .memo {
  background: #BE907B;
  border-radius: 3px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  padding: 2px 4px 2px 4px;
  position: relative;
  bottom: -2px;
}
.s2 .step .text-box .memo::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #BE907B;
}
.s2 .step .text-box .icon-character {
  width: 100px;
  height: 85px;
  background: url("../../Media/character.png") no-repeat center/cover;
  display: block;
  margin-top: -5px;
  margin-bottom: -15px;
}
.s2 .step .text-box .point-btn {
  display: block;
  width: 150px;
  height: 30px;
  background: #BE907B;
  color: white;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
}
.s2 .step .text-box .point-btn:hover {
  background: #AB7963;
}
.s2 .step .text-box .point-btn span {
  width: 7px;
  aspect-ratio: 7/14;
  background: url("../../Media/arrow.svg") no-repeat center/contain;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: -1px;
  transform: rotate(90deg);
}
.s2 .step .text-box .point-text {
  width: 100%;
  max-height: 0;
  background: #FFF4ED;
  border: 0 solid #BE907B;
  box-sizing: border-box;
  padding: 0 15px;
  font-size: 15px;
  line-height: 23px;
  transition: max-height 0.5s ease, padding 0.5s ease, border 0s;
  overflow: hidden;
}
.s2 .step .text-box .point-text.active {
  max-height: 500px;
  border: 1px solid #BE907B;
  padding: 15px 15px;
}
.s2 .step .text-box .karute-input {
  width: 100%;
  margin-top: 20px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}
.s2 .step .text-box .karute-input span {
  background: white;
  border: 2px solid #e8e7e7;
  padding: 10px 20px;
  color: #111111;
  font-size: 19px;
  font-weight: 600;
}
.s2 .step .text-box .karute-input span small {
  font-weight: 600;
}
.s2 .step .text-box .karute-input span input {
  width: 80px;
  height: 30px;
  border-bottom: 2px solid #e8e7e7;
  padding: 0 7.5px;
  margin-right: 5px;
  margin-left: 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}
.s2 .step .text-box .karute-input span input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}
.s2 .step .text-box .karute-input span input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.s2 .step .text-box .karute-input span input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.s2 .step .text-box .karute-input .save-btn {
  width: 170px;
  height: 32px;
  background: #BE907B;
  color: white;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.s2 .step .text-box .karute-input .save-btn:hover {
  background: #AB7963;
}

@media (max-width: 750px) {
  .s2 {
    padding: 0 16px 100px 16px;
  }
}
@media (max-width: 582px) {
  .s2 .step .text-box {
    width: 100%;
    padding: 25px;
    padding-right: 15px;
    font-size: 16px;
    line-height: 28px;
  }
  .s2 .step .text-box .indent-1, .s2 .step .text-box .indent-2, .s2 .step .text-box .indent-3 {
    margin-left: 0;
  }
  .s2 .step .text-box .highlight {
    font-size: 17px;
  }
  .s2 .step .text-box .number {
    font-size: 18px;
  }
  .s2 .step .text-box .small-text {
    font-size: 13px;
  }
  .s2 .step .text-box .karute-input {
    height: auto;
    margin-top: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
  }
  .s2 .step .text-box .karute-input .save-btn {
    height: 30px;
  }
  .s2 .step .top {
    gap: 30px;
  }
}