main {
  font-family: "Roboto", sans-serif;
}

/* ==========
    page1
==========*/
html {
  background-color: #142337;
  color: #fff;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.button {
  background-color: #657282;
  border-radius: 4px;
  display: inline-block;
  -webkit-box-shadow: 0 3px 5px 0 rgba(255, 255, 255, 0.2);
          box-shadow: 0 3px 5px 0 rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}
.button a {
  font-weight: 700;
}

.page__container {
  display: block;
  padding: 94px 20px 60px 21px;
  margin-left: auto;
  margin-right: auto;
}

.page__number-box {
  width: 312px;
  height: 183px;
  background-color: #adc2dd;
  border-radius: 4px;
}

.page__number {
  font-size: 77px;
  color: #142337;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 39px;
  font-weight: 700;
}

.page1__text {
  text-align: center;
  font-size: 20px;
  padding-block: 27px;
  font-weight: 700;
}

.page1__button-wrap {
  margin-right: auto;
  margin-left: auto;
}

.large-button__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.button-large {
  width: 311px;
  height: 225px;
  text-align: center;
  font-size: 116px;
  margin-bottom: 24px;
  color: #fff;
  font-weight: 700;
}

.button-mid__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.button-mid {
  width: 145.67px;
  height: 225px;
  font-size: 116px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  font-weight: 700;
}

/* ==========
    page2
==========*/
.page2__container {
  display: block;
  padding: 40px 20px 60px 21px;
  margin-left: auto;
  margin-right: auto;
}

.back__button {
  background-color: #217ea9;
  border-radius: 17px;
  display: inline-block;
  text-align: center;
  padding: 10px 18px 9px 33px;
  margin-bottom: 11px;
  position: relative;
}
.back__button ::before {
  content: "";
  position: absolute;
  left: 15.22px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 10px;
  height: 14px;
  background: #fff;
  -webkit-clip-path: polygon(100% 0, 30% 50%, 100% 100%, 70% 100%, 0% 50%, 70% 0);
          clip-path: polygon(100% 0, 30% 50%, 100% 100%, 70% 100%, 0% 50%, 70% 0);
}

.back-button__text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.page1__text {
  text-align: center;
  font-size: 20px;
  padding-block: 27px;
  font-weight: 700;
}

.page2__button-wrap {
  margin-right: auto;
  margin-left: auto;
  margin-top: 78px;
  margin-bottom: 38px;
}

.button-small__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(83.33px, 1fr));
  -webkit-column-gap: 28px;
     -moz-column-gap: 28px;
          column-gap: 28px;
  row-gap: 31px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 700;
}

.button-small {
  width: 83.33px;
  height: 83.33px;
  font-size: 66.67px;
  text-align: center;
  padding-top: 4px;
  font-weight: 700;
  color: #fff;
}

/* ==========
    page3
==========*/
.page3__container {
  display: block;
  position: relative;
  padding: 40px 20px 60px 21px;
  margin-left: auto;
  margin-right: auto;
}

.page3__text {
  text-align: center;
  padding-block: 21.5px;
  font-size: 29px;
  color: #fd5442;
  font-weight: 700;
}

.button-small__wrap3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -webkit-column-gap: 28px;
     -moz-column-gap: 28px;
          column-gap: 28px;
  row-gap: 31px;
}

.button-small__wrap3 :nth-child(10) {
  grid-column: 2;
}

.top-button__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.page3__button-wrap {
  margin-right: auto;
  margin-left: auto;
}

.delete__button {
  border: 1.5px solid #fff;
  background: #142337;
  border-radius: 17px;
  display: inline-block;
  text-align: center;
  padding: 8.5px 18px 7.5px 33px;
  font-size: 20px;
  margin-bottom: 11px;
  position: relative;
}
.delete__button ::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  height: 15px;
  background: #fff;
  -webkit-clip-path: polygon(30% 0, 0 50%, 30% 100%, 50% 100%, 30% 60%, 100% 60%, 100% 40%, 30% 40%, 50% 0);
          clip-path: polygon(30% 0, 0 50%, 30% 100%, 50% 100%, 30% 60%, 100% 60%, 100% 40%, 30% 40%, 50% 0);
}

.done-button__text {
  font-weight: 700;
}

.bottom-button__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  position: relative;
}

.done__button {
  background-color: #fd5442;
  border-radius: 17px;
  display: inline-block;
  text-align: center;
  padding: 8px 29px 7px 9px;
  font-size: 25px;
  margin-bottom: 11px;
  position: absolute;
  top: -45px;
}
.done__button ::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 10px;
  height: 14px;
  background: #fff;
  -webkit-clip-path: polygon(30% 0, 100% 50%, 30% 100%, 0% 100%, 70% 50%, 0% 0%);
          clip-path: polygon(30% 0, 100% 50%, 30% 100%, 0% 100%, 70% 50%, 0% 0%);
}

/* ==========
    page4
==========*/
.page4__container {
  display: block;
  padding: 40px 20px 60px 21px;
}

.page4__result {
  text-align: center;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 5px;
}

.page4__yajirusi {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 43px;
  text-align: center;
}

.page4__number-box {
  margin-left: auto;
  margin-right: auto;
  width: 312px;
  height: 183px;
  background-color: #adc2dd;
  border-radius: 4px;
}

.page4__number {
  text-align: center;
  font-size: 93px;
  color: #142337;
  font-weight: 700;
  padding-top: 37px;
}

.page4__big-text {
  margin-top: 27px;
}
.page4__big-text p {
  font-size: 30px;
  font-weight: 700;
}

.page4__small-wrap {
  margin-right: auto;
  margin-left: auto;
  margin-top: 39px;
  margin-bottom: 55px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.page4__small-text {
  text-align: left;
  font-size: 23px;
}

.big-button__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.re-edit__button {
  background-color: #fd5442;
  border-radius: 17px;
  line-height: 1.9;
  display: inline-block;
  text-align: center;
  padding: 15px 20px 15px 20px;
  font-size: 33px;
  margin-bottom: 11px;
  position: relative;
  min-width: 150px;
}

.re-edit-button__text {
  font-weight: 700;
}

.end__button {
  border: 1.5px solid #fff;
  background: #142337;
  border-radius: 17px;
  display: inline-block;
  text-align: center;
  padding: 13.5px 20px 13.5px 20px;
  line-height: 1.9;
  font-size: 33px;
  margin-bottom: 11px;
  position: relative;
  min-width: 150px;
}

.end-button__text {
  font-weight: 700;
}