/*
	CSS Document
	Author: nag-design.com
	version: 1.8
	Last Update: 2025-01-31
*/
/* =======================
	main
======================= */
body {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100lvh;
  color: #f4f4f4;
  background-color: #0f1417;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}
body::before {
  content: "";
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../images/background.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-device-pixel-ratio: 2), print {
  body::before {
    background-image: url(../images/background@2x.webp);
  }
}
@media screen and (min-width: 576px) {
  body::before {
    background-image: url(../images/background-tb.webp);
  }
}
@media screen and (min-width: 576px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 576px) and (min-resolution: 2dppx), screen and (min-width: 576px) and (min-device-pixel-ratio: 2) {
  body::before {
    background-image: url(../images/background-tb@2x.webp);
  }
}
@media screen and (min-width: 768px) {
  body::before {
    background-image: url(../images/background-md.webp);
  }
}
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 768px) and (min-resolution: 2dppx), screen and (min-width: 768px) and (min-device-pixel-ratio: 2) {
  body::before {
    background-image: url(../images/background-md@2x.webp);
  }
}

header {
  width: 100%;
  padding: 8px;
}
header .title {
  font-size: 12px;
  line-height: 1em;
  text-align: right;
  font-weight: 600;
}

/* =======================
	start
======================= */
.intro {
  width: 94%;
  max-width: 400px;
  margin: 0 auto;
  background-color: transparent;
  padding: 16px;
  text-align: center;
}
.intro.goddess {
  margin: 0 auto 24px;
}
.intro img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.startButton {
  display: block;
  margin: 0 auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 14px 24px;
  font-size: 16px;
  color: #202020;
  background-color: #8bded8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* =======================
	app
======================= */
#app {
  width: 94%;
  max-width: 400px;
  margin: 24px auto;
  background-color: transparent;
  padding: 16px;
  text-align: center;
}

#question {
  font-size: 16px;
  line-height: 2em;
  text-align: justify;
  margin-bottom: 24px;
  min-height: 60px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

@media (hover: hover) {
  .option-btn {
    width: 100%;
    margin: 6px 0;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px 12px;
    color: rgb(6, 42, 51);
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .option-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }
  .option-btn:active {
    background-color: rgb(255, 255, 255);
    transform: scale(1.05);
  }
}
@media (hover: none) {
  .option-btn {
    width: 100%;
    margin: 6px 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 12px;
    color: rgb(6, 42, 51);
    font-size: 15px;
    border: none;
    border-radius: 6px;
  }
  .option-btn:active {
    background-color: rgb(255, 255, 255);
    transform: scale(1.05);
  }
  .option-btn.active {
    background-color: rgb(255, 255, 255);
    transform: scale(1.05);
  }
}
#progress {
  margin-top: 12px;
  font-size: 14px;
  color: #7f8c8d;
}

.result-title {
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.mirror {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 450/700;
  margin: 0 auto 24px;
  z-index: 10;
}
.mirror .photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 58%;
  max-width: 260px;
  aspect-ratio: 260/450;
}
.mirror .photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.mirror .photo.photo2 {
  opacity: 0;
  animation: fade-in-out 10s infinite;
  animation-delay: 3s;
}
.mirror .job {
  position: absolute;
  top: auto;
  bottom: 28%;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-family: "Jacquard 24", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  color: #ced9dd;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
  z-index: 1;
}
.mirror::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 450/700;
  background: url(../images/mirror@2x.webp) center/contain no-repeat;
}

.result {
  width: 100%;
  height: auto;
  margin: 24px auto;
}
.result .job-name {
  margin: 0 auto 16px;
  font-weight: 600;
  font-size: 18px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
.result .job-description {
  font-weight: 300;
  font-size: 16px;
  line-height: 2em;
  text-align: justify;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
.result .secondary {
  margin: 16px auto;
  font-weight: 500;
  font-size: 14px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.advice-area {
  width: 100%;
  height: auto;
  aspect-ratio: 376/200;
  margin: 24px auto;
  padding: 20% 7% 6px 40%;
  background-image: url(../images/goddess-advice.webp);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-device-pixel-ratio: 2), print {
  .advice-area {
    background-image: url(../images/goddess-advice@2x.webp);
  }
}
.advice-area .advice-text {
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.5em;
  text-align: justify;
  color: rgba(0, 0, 0, 0.8);
}

.reload {
  margin: 32px auto;
  padding: 14px 24px;
  font-size: 16px;
  color: #202020;
  background-color: #8bded8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.closeButton {
  display: block;
  margin: 0 auto 32px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 14px 24px;
  font-size: 16px;
  color: #f0f0f0;
  background-color: #101010;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.footer {
  position: relative;
  margin: 40px auto 0;
  padding: 20px;
  font-size: 14px;
  text-align: center;
}
.footer__link {
  margin: 0.5em auto;
  font-size: 14px;
  line-height: 2em;
  color: rgba(255, 255, 255, 0.75);
}
.footer__link a {
  color: rgba(255, 255, 255, 0.75);
}
.footer__copyright {
  margin: 1.5em auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.footer__copyright a {
  color: rgba(255, 255, 255, 0.75);
}

@keyframes fade-in-out {
  0%, 55% {
    opacity: 0;
  }
  10%, 45% {
    opacity: 1;
  }
}/*# sourceMappingURL=style.css.map */