@charset "UTF-8";
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: Montserrat, sans-serif;
  margin: 0;
  background-color: #2a1a1a;
  background-image: url("img/bg.jpg");
  background-size: 206vh 100vh;
  background-position: top center;
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  body {
    background-size: 206vh 100vh;
    background-position: top center;
  }
}

a {
  text-decoration: none;
}

h1 {
  color: #333;
  text-align: center;
}

.aspect-wrapper {
  height: 100vh;
  container-type: inline-size;
  aspect-ratio: 3/2;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .aspect-wrapper {
    aspect-ratio: 0.563;
    height: auto;
    width: 100vw;
  }
}

.logo {
  width: 24.16cqw;
  aspect-ratio: 5.7;
  background-image: url("img/logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto;
  margin-top: 7.23cqw;
}
@media screen and (max-width: 768px) {
  .logo {
    width: 57.5cqw;
    margin-top: 12.7cqw;
  }
}

.templates {
  display: none;
}

.start-title {
  font-family: Cormorant SC;
  font-weight: 600;
  font-size: 5cqw;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  margin-top: 13cqw;
  margin-bottom: 2cqw;
}
@media screen and (max-width: 768px) {
  .start-title {
    font-size: 11vw;
    margin-bottom: 10cqw;
    margin-top: 55cqw;
  }
}

.start-subtitle {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #fff;
  margin: 0 auto;
  margin-bottom: 41px;
}
@media screen and (max-width: 768px) {
  .start-subtitle {
    font-size: 4vw;
    padding: 0 5vw;
    margin-bottom: 17cqw;
  }
}

.button {
  background-color: #75051d;
  display: block;
  color: #fff;
  border: 1px solid #fff;
  text-transform: uppercase;
  padding: 0.8cqw 2.8cqw;
  text-align: center;
  border-radius: 4cqw;
  font-size: 1.3cqw;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  transition: 0.2s ease;
}
.button:hover, .button:focus, .button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  transition: 0.2s ease;
}
@media screen and (max-width: 768px) {
  .button {
    font-size: 1cqw;
    padding: 1cqw 3cqw;
  }
}

.start-button {
  width: 326px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .start-button {
    font-size: 4cqw;
    padding: 4cqw 3cqw;
    width: 70cqw;
    border-radius: 10cqw;
  }
}

.test-button {
  width: 11cqw;
  margin-left: auto;
  margin-top: 0;
  z-index: 3000;
  position: absolute;
  pointer-events: none;
  background-color: #443639;
  right: 9cqw;
  bottom: 3cqw;
}
.test-button.allowed {
  pointer-events: auto;
  background-color: #75051d;
}
@media screen and (max-width: 768px) {
  .test-button {
    margin-right: auto;
    margin-left: 0;
    width: 21cqw;
    font-size: 3cqw;
    padding: 1.5cqw 5cqw;
    bottom: 5cqw;
    right: 6cqw;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
  padding: 1cqw;
  flex-wrap: wrap;
  color: #75051d;
}
@media screen and (max-width: 768px) {
  .overlay-content {
    padding: 5cqw;
  }
}

.overlay-inner {
  background: #e4d3c2;
  background-image: url("img/qbg.jpg");
  width: 100cqw;
  aspect-ratio: 1156/625;
  padding: 4% 5% 1% 5%;
  position: relative;
  overflow: hidden;
  background-size: cover;
}
@media screen and (max-width: 768px) {
  .overlay-inner {
    aspect-ratio: 340/498;
  }
}

.overlay-close {
  color: #fff;
  position: absolute;
  right: 1.6cqw;
  top: -1cqw;
  font-family: "Montserrat";
  font-weight: 100;
  font-size: 2cqw;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .overlay-close {
    font-size: 4.9cqw;
    right: 5.2cqw;
  }
}

.test {
  height: 100%;
  position: relative;
}

.test-rightpic {
  position: absolute;
  right: 0;
  width: 25cqw;
  background-size: contain;
  top: 0.5cqw;
  aspect-ratio: 0.5;
  background-repeat: no-repeat;
  background-position: top right;
}
@media screen and (max-width: 768px) {
  .test-rightpic[data-num="1"] {
    background-size: 52cqw;
  }
}
.test-rightpic[data-num="2"] {
  background-size: 15cqw;
}
@media screen and (max-width: 768px) {
  .test-rightpic[data-num="2"] {
    background-size: 35cqw;
  }
}
.test-rightpic[data-num="3"] {
  background-size: 18cqw;
}
@media screen and (max-width: 768px) {
  .test-rightpic[data-num="3"] {
    background-size: 37cqw;
  }
}
.test-rightpic[data-num="4"] {
  background-size: 9cqw;
  top: 0;
}
@media screen and (max-width: 768px) {
  .test-rightpic[data-num="4"] {
    background-size: 11cqw;
  }
}
.test-rightpic[data-num="5"] {
  background-size: 12cqw;
}
@media screen and (max-width: 768px) {
  .test-rightpic[data-num="5"] {
    background-size: 24cqw;
  }
}
@media screen and (max-width: 768px) {
  .test-rightpic {
    width: 36cqw;
  }
}

.test-items {
  display: flex;
  gap: 1cqw;
  flex-wrap: wrap;
  height: 40cqw;
  z-index: 2500;
  position: relative;
  width: 87cqw;
}
@media screen and (max-width: 768px) {
  .test-items {
    height: 91cqw;
    width: 82cqw;
  }
}
.test-items .test-item {
  display: flex;
  gap: 3%;
  align-items: center;
  cursor: pointer;
  color: #75051d;
  width: 48%;
  overflow: hidden;
}
.test-items .test-item:hover .test-item-pic, .test-items .test-item:focus .test-item-pic, .test-items .test-item:active .test-item-pic {
  background-size: 24cqw;
  transition: 0.3s ease;
}
@media screen and (max-width: 768px) {
  .test-items .test-item:hover .test-item-pic, .test-items .test-item:focus .test-item-pic, .test-items .test-item:active .test-item-pic {
    background-size: 42vw;
  }
}
@media screen and (max-width: 768px) {
  .test-items .test-item {
    flex-wrap: wrap;
    gap: 0;
    display: block;
  }
}
.test-items .test-item .test-item-pic {
  width: 22.83cqw;
  aspect-ratio: 1.32;
  background-position: center;
  flex-shrink: 0;
  background-size: 23cqw;
  transition: 0.3s ease;
}
@media screen and (max-width: 768px) {
  .test-items .test-item .test-item-pic {
    height: auto;
    width: 100%;
    background-size: 40vw;
  }
}
.test-items .test-item .test-item-text {
  width: 40%;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 1.3cqw;
  line-height: 130%;
  letter-spacing: 0%;
  padding-left: 2cqw;
  position: relative;
}
@media screen and (max-width: 768px) {
  .test-items .test-item .test-item-text {
    width: 100%;
    font-size: 2.5cqw;
    padding-left: 4cqw;
    margin-top: 2cqw;
  }
}
.test-items .test-item .test-item-text:before {
  content: "◯";
  font-size: 1.3cqw;
  position: absolute;
  left: 0;
  top: 0;
}
@media screen and (max-width: 768px) {
  .test-items .test-item .test-item-text:before {
    font-size: 2.5cqw;
  }
}
.test-items .test-item.selected .test-item-text:after {
  content: "●";
  font-size: 1.3cqw;
  position: absolute;
  left: 0.3cqw;
  top: -0.11cqw;
  color: #75051d;
}
@media screen and (max-width: 768px) {
  .test-items .test-item.selected .test-item-text:after {
    font-size: 2.5cqw;
    left: 0.6cqw;
    top: -0.1cqw;
  }
}

.test-title {
  font-family: Cormorant SC;
  font-weight: 500;
  font-size: 2.83cqw;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #75051d;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .test-title {
    font-size: 4.5cqw;
    margin-bottom: 5cqw;
    width: 60%;
    margin-top: 9cqw;
  }
  .test-title[data-num="4"] {
    width: 96%;
  }
  .test-title[data-num="2"] {
    width: 62%;
  }
  .test-title[data-num="1"] {
    width: 63%;
  }
}
.test-title .test-title-num {
  margin-right: 5px;
}
.test-title .test-title-num:after {
  content: ".";
}

.result {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .result {
    display: block;
    position: relative;
    height: 122cqw;
  }
}
.result .result-title {
  width: 100%;
  font-family: Cormorant SC;
  font-size: 2.8cqw;
  margin-bottom: 2cqw;
}
@media screen and (max-width: 768px) {
  .result .result-title {
    font-size: 5vw;
    margin-bottom: 1.5vw;
    margin-top: 3vw;
  }
}
.result .result-pic {
  width: 55.5cqw;
}
@media screen and (max-width: 768px) {
  .result .result-pic {
    width: 100%;
  }
}
.result .result-pic .result-pic-pic {
  width: 100%;
  aspect-ratio: 2.34;
  background-size: cover;
}
.result .result-pic .result-pic-text {
  font-size: 1.3cqw;
  text-align: center;
  width: 100%;
  margin-top: 1.1cqw;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .result .result-pic .result-pic-text {
    font-size: 3.5vw;
    text-align: left;
  }
}
.result .result-text {
  width: 30.6cqw;
  padding-left: 2%;
  font-size: 1cqw;
}
@media screen and (max-width: 768px) {
  .result .result-text {
    width: 100%;
    padding-left: 0;
    padding-top: 2vw;
    font-size: 2.6vw;
  }
}
.result .result-text h3 {
  margin-top: 0;
  margin-bottom: 0.3cqw;
}
.result .result-text p {
  margin-top: 0;
  margin-bottom: 0.8cqw;
}
.result .result-buttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.3vw;
  position: absolute;
  bottom: 2cqw;
  left: 0;
}
@media screen and (max-width: 768px) {
  .result .result-buttons {
    position: absolute;
    bottom: 0;
  }
}
.result .result-buttons .result-button {
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
  .result .result-buttons .result-button {
    font-size: 2.5vw;
  }
}
.result .result-buttons .result-button.button-secondary {
  color: #75051d;
  background: #e2cdb8;
  border-color: #75051d;
  margin-left: 2vw;
}

.end {
  color: #fff;
  text-align: center;
}
.end .end-inner {
  width: 50.83cqw;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .end .end-inner {
    width: calc(100% - 30px);
  }
}
.end .end-title {
  font-family: Cormorant SC;
  font-weight: 600;
  font-size: 4.16cqw;
  line-height: 130%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #fff;
  margin: 0 auto;
  margin-top: 3.75cqw;
  margin-bottom: 1.33cqw;
}
@media screen and (max-width: 768px) {
  .end .end-title {
    font-size: 6.1vw;
  }
}
.end .end-item {
  margin-bottom: 2cqw;
  container-type: inline-size;
  padding-top: 3cqw;
  position: relative;
}
.end .end-item .button {
  padding: 2cqw 5cqw;
  border-radius: 5cqw;
  font-size: 2.5cqw;
}
@media screen and (max-width: 768px) {
  .end .end-item .button {
    font-size: 3.7cqw;
    padding: 4cqw 5cqw;
    border-radius: 8cqw;
  }
}
@media screen and (max-width: 768px) {
  .end .end-item {
    margin-bottom: 10cqw;
    margin-top: 9cqw;
  }
}
.end .end-item.end-item-first .end-logo {
  background-image: url("img/tp.svg");
}
.end .end-item .end-logo {
  background-image: url("img/mone.svg");
  width: 100cqw;
  background-size: 25cqw;
  background-repeat: no-repeat;
  position: absolute;
  margin: 0 auto;
  height: 10cqw;
  background-position: bottom center;
  top: -0.5cqw;
}
@media screen and (max-width: 768px) {
  .end .end-item .end-logo {
    top: -3.2cqw;
  }
}
.end .end-item .end-logo:before {
  content: "";
  position: absolute;
  width: 35cqw;
  height: 1px;
  background: #fff;
  top: 6.3cqw;
  right: 0;
}
.end .end-item .end-logo:after {
  content: "";
  position: absolute;
  width: 35cqw;
  height: 1px;
  background: #fff;
  top: 6.3cqw;
  left: 0;
}
.end .end-item .end-item-inner {
  padding: 5cqw 5cqw 2cqw 5cqw;
  border-color: #fff;
  border-width: 1px;
  border-style: solid;
  border-top: none;
}
.end .end-item .end-item-inner .end-item-text {
  margin-bottom: 2cqw;
  font-size: 2.8cqw;
}
@media screen and (max-width: 768px) {
  .end .end-item .end-item-inner .end-item-text {
    font-size: 3.7cqw;
  }
}
.end .end-item .end-item-inner .end-button {
  width: 60cqw;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .end .end-item .end-item-inner .end-button {
    width: 86cqw;
  }
}

/*# sourceMappingURL=style.css.map */
