body {
  color: #000;
  background-image: url(../../img/beerstyle/personal/bg_splash.png), url(../../img/beerstyle/personal/bg_polka-dots.jpg);
}

.quiz-wrapper {
  overflow: hidden;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
}
.quiz-wrapper .beer-img {
  position: absolute;
  top: 5vw;
  max-width: 600px;
  width: 45%;
  z-index: -1;
}
@media (max-width: 480px) {
  .quiz-wrapper .beer-img {
    top: 20vw;
  }
}
.quiz-wrapper .beer-img.left {
  left: -10%;
}
@media (max-width: 1600px) {
  .quiz-wrapper .beer-img.left {
    left: -14%;
  }
}
@media (max-width: 880px) {
  .quiz-wrapper .beer-img.left {
    left: -17%;
  }
}
.quiz-wrapper .beer-img.right {
  right: -10%;
}
@media (max-width: 1600px) {
  .quiz-wrapper .beer-img.right {
    right: -14%;
  }
}
@media (max-width: 880px) {
  .quiz-wrapper .beer-img.right {
    right: -17%;
  }
}

p {
  line-height: 1.6;
}

main {
  max-width: 550px;
  width: 95%;
  margin: auto;
}

.ttl {
  padding: 120px 0 0;
  text-align: center;
}
@media (max-width: 480px) {
  .ttl {
    padding: 80px 0 0;
  }
}
.ttl img {
  width: 90%;
  height: auto;
}
@media (max-width: 480px) {
  .ttl img {
    width: 80%;
  }
}

.quiz-container,
.result-container {
  margin: 0 auto;
  padding: 2rem 0;
}

.progress-bar {
  position: relative;
  height: 20px;
  width: 60%;
  background: #fff;
  border-radius: 10px;
  margin: 2rem auto;
}
.progress-bar .progress-fill {
  height: 100%;
  width: 0%;
  background: #deb406;
  border-radius: 10px;
  transition: width 0.3s;
}
.progress-bar .progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 0;
  line-height: 20px;
}

.question .question-number {
  font-weight: bold;
  font-size: 20px;
  color: #d19a00;
  margin: 2rem 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}
.question .question-number span {
  font-size: 30px;
}
.question p.question-text {
  color: #000;
  font-size: clamp(16px, 8vw, 42px);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.3;
  font-weight: 800;
}

button.choice,
#download,
.result-container .result-buttons .buttons-wrapper .sub .btn {
  text-decoration: none;
  color: #000;
  width: 60%;
  padding: 16px 20px;
  font-size: clamp(16px, 6vw, 24px);
  border: none;
  border-radius: 40px;
  background-color: #fff;
  cursor: pointer;
  margin: 10px auto;
  border: solid 3px #000;
  box-shadow: 2px 4px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  box-sizing: border-box;
  display: block;
  letter-spacing: 0.1em;
  position: relative;
  transition: 0.3s;
}
button.choice:hover,
#download:hover,
.result-container .result-buttons .buttons-wrapper .sub .btn:hover {
  background: #f5e4b5;
}
button.choice span,
#download span,
.result-container .result-buttons .buttons-wrapper .sub .btn span {
  position: relative;
  z-index: 2;
}
button.choice:before,
#download:before,
.result-container .result-buttons .buttons-wrapper .sub .btn:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  border-radius: 40px;
  background-image: url(../../img/beerstyle/personal/bg_polka-dots_02.jpg);
  background-size: 5%;
}

#download {
  width: 100%;
}

.result-container {
  display: none;
}
.result-container h2 {
  margin: 2rem 0 0;
  font-size: clamp(16px, 8vw, 42px);
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .result-container h2 {
    margin: 0;
  }
}
.result-container .result-buttons h2 {
  font-size: clamp(16px, 6.8vw, 34px);
  letter-spacing: 0.05em;
}
.result-container .result-buttons .hashtag {
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 800;
  font-size: clamp(16px, 6.5vw, 24px);
}
.result-container .result-buttons .buttons-wrapper {
  text-align: center;
  margin: 2rem 0;
}
.result-container .result-buttons .buttons-wrapper #download,
.result-container .result-buttons .buttons-wrapper .sub .btn {
  font-size: clamp(16px, 5vw, 24px);
}
.result-container .result-buttons .buttons-wrapper .share-buttons {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.result-container .result-buttons .buttons-wrapper .share-buttons div {
  margin: 1rem 0;
  background: #fff;
  width: 48%;
  padding: 2rem;
  border-radius: 16px;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .result-container .result-buttons .buttons-wrapper .share-buttons div {
    width: 100%;
  }
}
.result-container .result-buttons .buttons-wrapper .share-buttons div h3 {
  margin-bottom: 1.6rem;
}
.result-container .result-buttons .buttons-wrapper .share-buttons div h3 + p {
  margin-bottom: 1rem;
}
.result-container .result-buttons .buttons-wrapper .share-buttons div h3 + p span {
  font-weight: 900;
}
.result-container .result-buttons .buttons-wrapper .share-buttons .btn {
  max-width: 100%;
  background: #fff;
  transition: 0.3s;
  text-align: center;
  border-radius: 40px;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.2;
  padding: 1.8rem 3rem;
  font-weight: 800;
  box-shadow: 2px 4px 0 0 #000;
  border: solid 3px #000;
}
@media (max-width: 480px) {
  .result-container .result-buttons .buttons-wrapper .share-buttons .btn {
    max-width: 260px;
  }
}
.result-container .result-buttons .buttons-wrapper .share-buttons .btn.ig-btn {
  background: linear-gradient(135deg, #4C64D3 0%, #CF2E92 70%) no-repeat;
  color: #fff;
}
.result-container .result-buttons .buttons-wrapper .share-buttons .btn.fb-btn {
  background: #1877f2;
  color: #fff;
}
@media (max-width: 480px) {
  .result-container .result-buttons .buttons-wrapper .share-buttons .btn {
    margin: 1rem auto 0;
    width: 100%;
  }
}
.result-container .result-buttons .buttons-wrapper .sub .btn {
  max-width: 300px;
  width: 100%;
}
.result-container .result-buttons .buttons-wrapper h2#acbe {
  padding: 2rem 0 1rem;
  font-size: clamp(16px, 4.7vw, 24px);
  letter-spacing: 0;
}
.result-container .result-buttons .buttons-wrapper h2#acbe + p {
  text-align: center;
  font-size: clamp(14px, 4vw, 16px);
  font-feature-settings: "palt";
  margin-bottom: 2rem;
}
.result-container .ranking-list {
  text-align: left;
  margin-bottom: 2rem;
}
.result-container .ranking-list .rank-item {
  background: #fff;
  border-radius: 12px;
  margin: 1rem 0;
  text-align: center;
  padding: 1rem 0 1rem 1rem;
}
.result-container .ranking-list .rank-item a {
  text-decoration: none;
}
.result-container .ranking-list .rank-item h3 {
  margin: 1rem 0 0;
  font-family: "Rampart One", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 8vw, 30px);
}
.result-container .ranking-list .rank-item h3 + p {
  padding: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.result-container .ranking-list .rank-item .beer-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.result-container .ranking-list .rank-item .beer-scroll::-webkit-scrollbar {
  display: none;
}
.result-container .ranking-list .rank-item .beer-scroll .beer-card {
  flex: 0 0 auto;
  width: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 0.2s;
}
@media (max-width: 480px) {
  .result-container .ranking-list .rank-item .beer-scroll .beer-card {
    width: 120px;
  }
}
.result-container .ranking-list .rank-item .beer-scroll .beer-card:hover {
  transform: translateY(-4px);
}
.result-container .ranking-list .rank-item .beer-scroll .beer-card img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
}
.result-container .ranking-list .rank-item .beer-scroll .beer-card .beer-info {
  padding: 8px 12px;
  line-height: 1.3;
}
.result-container .ranking-list .rank-item .beer-scroll .beer-card .beer-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0;
}
.result-container .ranking-list .rank-item .beer-scroll .beer-card .beer-info p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.3;
}
.result-container canvas {
  margin-top: 1rem;
  border-radius: 2rem;
}/*# sourceMappingURL=style.css.map */