@charset "UTF-8";
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Zen Dots", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #f4f5f7;
  color: #222;
  overflow-x: hidden;
}

.pc-top-bar {
  display: none;
}
@media (min-width: 768px) {
  .pc-top-bar {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: #000000;
    z-index: 20;
    overflow: hidden;
  }
}

.side-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url("./question/back_grid.png");
  background-repeat: repeat;
  background-size: 404px 549px;
}
@media (max-width: 767px) {
  .side-panel {
    display: none;
  }
}
@media (min-width: 768px) {
  .side-panel {
    display: flex;
    flex-direction: column;
    top: 42px;
    width: calc(50% - 380px / 2);
    background-position: 0 -5px;
  }
}

.side-panel-left {
  left: 0;
  border-right: 8px solid #000000;
}

.side-panel-right {
  right: 0;
  border-left: 8px solid #000000;
}

.side-panel-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.side-panel-footer {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  height: 42px;
  background: #000000;
  overflow: hidden;
}

.marquee-bg {
  width: 100%;
  height: 100%;
  background-image: url("./top/text_title_loop.svg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: auto 32px;
  animation: marquee-bg-scroll 26s linear infinite;
}

@keyframes marquee-bg-scroll {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -661.2px;
  }
}
.side-panel-left-image {
  display: block;
  width: 90%;
  max-width: 412px;
  max-height: 250px;
}

.side-panel-right-chara {
  display: block;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  max-height: 255px;
  margin: 0 auto 30px;
}

.side-panel-right-sns-label {
  display: block;
  margin: 0 auto 30px;
}

.side-panel-right-sns-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.side-panel-right-sns-row img {
  display: block;
  max-height: 50px;
  max-width: 100%;
}

.sp-frame {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  background: #f4f5f7;
}
@media (min-width: 768px) {
  .sp-frame {
    max-width: 380px;
    margin-top: 42px;
    height: calc(100vh - 42px);
    overflow-y: auto;
    /* スクロールを有効にする */
    overflow: auto;
    /* Firefox */
    scrollbar-width: none;
    /* Internet Explorer / Edge */
    -ms-overflow-style: none;
    /* Chrome, Safari, Edge */
  }
  .sp-frame::-webkit-scrollbar {
    display: none;
  }
}

.main {
  padding: 0;
}

h1 {
  font-size: 20px;
  margin-bottom: 24px;
}

.screen.hidden {
  display: none;
}

#app.hidden {
  display: none;
}

.error-message {
  color: #c0392b;
  background: #fdecea;
  border-radius: 6px;
  padding: 12px 16px;
}
.error-message.hidden {
  display: none;
}

.start-btn {
  display: block;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.start-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.top-caption {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin: 0;
  letter-spacing: 2px;
}

.top-hero {
  background-color: #ffffff;
  background-image: url("./question/back_grid.png");
  background-repeat: repeat-y;
  background-size: 404px 549px;
  background-position: top center;
}
@media (min-width: 768px) {
  .top-hero {
    display: flex;
    flex-direction: column;
    background-size: 408px 549px;
    background-position: -1px -1px;
  }
}

.top-hero-media {
  position: relative;
}

.top-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.top-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  text-align: center;
}

.top-hero-title {
  display: block;
  width: 75%;
  height: auto;
}

.top-hero-overlay .start-btn {
  width: 75%;
}

.top-step {
  background: #eff6f7;
  padding: 30px 0;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-track img {
  display: block;
  height: 28px;
  width: 578.52px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.top-step-inner {
  padding: 24px 0 0;
  width: 100%;
  margin: 0;
}

.step-carousel {
  margin: 0 0 16px 7.5%;
}

.step-carousel-slide {
  width: 85%;
  margin-right: 30px;
}

.step-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.step-carousel-track .slick-dots {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 4px;
  list-style: none;
}
.step-carousel-track .slick-dots li {
  width: 8px;
  height: 8px;
  margin: 0;
}
.step-carousel-track .slick-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d0d5d8;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
.step-carousel-track .slick-dots li.slick-active button {
  background: #000000;
}

.top-step-inner .top-caption {
  width: 85%;
  margin: 32px auto 16px;
  text-align: center;
  letter-spacing: 2px;
}

.top-step-inner .start-btn {
  display: block;
  width: 75%;
  margin: 0 auto 30px;
}

.top-about {
  background: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.top-about-label {
  display: block;
  margin: 0 auto 8px;
}

.top-about-content {
  width: 85%;
  margin: 0 auto;
}

.top-about-title {
  display: block;
  max-width: 100%;
  margin: 0 auto 20px;
}

.top-about-product {
  display: block;
  width: 100%;
  margin: 0 auto 20px;
}

.top-about-text {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  text-align: left;
  margin: 0 0 12px;
}

.top-about-note {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
  color: #000000;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

.top-about-detail-link {
  display: block;
  box-sizing: border-box;
  width: 60%;
  margin: 20px auto 0;
  padding: 14px 16px;
  border: 3px solid #000000;
  border-radius: 40px;
  background: #ffffff;
  color: #000000;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

#quiz {
  background-image: url("./question/back_grid.png");
  background-repeat: repeat;
  background-size: 404px 549px;
  background-position: top center;
  padding: 20px 0 40px;
  text-align: center;
  min-height: 100vh;
  max-width: 100%;
}

.question-logo {
  display: block;
  width: 60%;
  margin: 0 auto 20px;
}

.question-content {
  padding: 0 0 20px;
}

.question-block {
  margin-bottom: 20px;
}

.question-card {
  position: relative;
  width: 86%;
  min-height: 120px;
  margin: 0 auto;
  background: #000000;
  border: 4px solid #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 16px;
}

.question-q-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  min-width: 44px;
  padding: 4px 0;
  background: #ffffff;
  color: #000000;
  font-family: "Zen Dots", sans-serif;
  font-size: 28px;
  font-weight: normal;
  text-align: center;
  border-radius: 0 0 10px 0;
}

.question-text {
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.12;
  text-align: center;
  margin: 0;
}

.question-character {
  position: absolute;
  top: 35px;
  right: -5%;
  width: 15%;
  min-width: 40px;
  animation: question-character-jump 2.6s ease-in-out infinite;
}

.question-character-image,
.question-character-fallback {
  display: block;
  width: 100%;
  height: auto;
}

.question-character-fallback {
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--variant-color, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

@keyframes question-character-jump {
  0%, 55% {
    transform: rotate(12deg) translateY(0);
  }
  70% {
    transform: rotate(12deg) translateY(-14px);
  }
  85%, 100% {
    transform: rotate(12deg) translateY(0);
  }
}
.question-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.question-option {
  display: flex;
  align-items: stretch;
  width: 75%;
  min-height: 70px;
  border: 3px solid #000000;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
  text-align: left;
  touch-action: manipulation;
}

.question-option-label {
  flex: 0 0 90%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  background: var(--variant-color, #3b82f6);
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
}

.question-option-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.question-option-arrow img {
  width: 50%;
  height: auto;
}

.question-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 86%;
  margin: 16px auto 0;
}

.question-option-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 3px solid #000000;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #ffffff;
  text-align: center;
  touch-action: manipulation;
}

.question-option-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 4px 8px;
  background: var(--variant-color, #3b82f6);
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
}

.question-option-card-media {
  position: relative;
  display: block;
}

.question-option-card-image {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
  padding: 2px 0;
}

.question-option-card-arrow {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: auto;
}

.character-1 .question-option-label,
.character-1 .question-option-card-label,
.character-2 .question-option-label,
.character-2 .question-option-card-label,
.character-4 .question-option-label,
.character-4 .question-option-card-label,
.character-5 .question-option-label,
.character-5 .question-option-card-label,
.character-7 .question-option-label,
.character-7 .question-option-card-label,
.character-8 .question-option-label,
.character-8 .question-option-card-label,
.character-9 .question-option-label,
.character-9 .question-option-card-label {
  color: #000000;
}

.question-back-btn {
  display: block;
  width: 30%;
  margin: 0 auto;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.question-back-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url("./question/back_grid.png");
  background-repeat: repeat;
  background-size: 404px 549px;
  background-position: top center;
  text-align: center;
}

.loading-content {
  width: 80%;
}

.loading-logo-wrap {
  position: relative;
  margin: 0 auto 24px;
}

.loading-logo {
  display: block;
  width: 100%;
  height: auto;
}

.loading-product {
  position: absolute;
  left: 8.7248%;
  top: 6.8182%;
  width: 16.7785%;
  height: auto;
}

.loading-bar-track {
  width: 100%;
  height: 7px;
  background: #707070;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.loading-bar-fill {
  width: 100%;
  height: 100%;
  background: #000000;
  transform-origin: left center;
  transform: scaleX(0);
}

.loading-text {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 11px;
  color: #000000;
  text-align: center;
  margin: 12px 0 0;
  font-weight: 700;
}

.result-page {
  text-align: center;
}

.result-hero {
  padding-bottom: 20px;
}

.result-top-bar {
  width: 100%;
  height: 12px;
  background: #000000;
  margin-bottom: 20px;
}

#result-hero .marquee {
  height: 32px;
}

#result-hero .marquee-track img {
  height: 32px;
  width: 661.16px;
}

.result-badge {
  display: inline-block;
  background: #000;
  border-radius: 4px;
  padding: 8px 10px 4px;
  width: 80%;
  margin: 10px auto 0;
}
.result-badge img {
  width: 100%;
}

.result-card {
  width: 90%;
  margin: -25px auto 10px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 8px;
  padding: 40px 20px 20px;
}

.result-main-image {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.result-hashtag {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--result-theme-color, #3b82f6);
  text-align: center;
  margin: 16px 0 20px;
}
.result-hashtag.prd_5 {
  color: #000000;
}

.result-hr {
  width: 90%;
  height: 2px;
  background: #000;
  border: none;
  margin: 0 auto 20px;
}

.result-name-image {
  display: block;
  max-width: 100%;
  margin: 0 auto 20px;
}

.result-developer-box {
  background: #eff6f7;
  padding: 10px 16px;
  text-align: center;
  margin-bottom: 10px;
}

.result-developer-comment {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 6px;
}

.result-developer-credit {
  font-size: 12px;
  color: #000000;
  margin: 0;
}

.result-description {
  font-size: 14px;
  line-height: 1.7;
  color: #000000;
  text-align: left;
  margin: 0 0 20px;
}

.result-media-placeholder {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.result-media-col {
  flex: 1;
  aspect-ratio: 1/0.8;
  background: #e5e8ea;
  border-radius: 0;
  overflow: hidden;
}
.result-media-col.hidden {
  display: none;
}

.result-media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /*
  &.prd_1 { object-position: center 20%; }
  &.prd_2 { object-position: center 8%; }
  &.prd_3 { object-position: center 8%; }
  &.prd_4 { object-position: center 20%; }
  &.prd_5 { object-position: center 20%; }
  &.prd_6 { object-position: center 10%; }
  &.prd_7 { object-position: center 16%; }
  &.prd_8 { object-position: center 16%; }
  &.prd_9 { object-position: center 16%; }
  &.prd_10 { object-position: center 16%; }
  */
}

.result-media-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.result-buy-now-label {
  display: block;
  max-width: 100%;
  margin: 0 auto 10px;
}

.result-amazon-link {
  display: block;
}

.result-amazon-image {
  display: block;
  width: 100%;
}

.result-recommended {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  background: url("./result/back_recommended.webp") no-repeat center/cover;
}

.result-recommended > img {
  display: block;
  max-width: 100%;
  margin: 0 auto 20px;
}

.result-recommended-frame {
  width: 95%;
  margin: 0 auto;
  padding: 20px 0;
  border: 3px solid #000;
  border-radius: 0;
  background-color: #ffffff;
  overflow: hidden;
}

.result-recommended-image {
  display: block;
  width: 60%;
  margin: 0 auto;
}

.result-styled-by > img:first-child {
  display: block;
  max-width: 100%;
  margin: 0 auto 20px;
}

.result-styled-by-image {
  display: block;
  width: 25%;
  margin: 0 auto 10px;
}

.result-salon-comment {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  text-align: left;
  margin: 0 auto 30px;
  width: 80%;
}

.result-back-top {
  display: block;
  cursor: pointer;
  margin-bottom: 30px;
}
.result-back-top img {
  display: block;
  max-width: 60%;
  margin: 0 auto;
}

.site-footer {
  background: #eff6f7;
  padding: 40px 0 0;
}

.site-footer-heading {
  display: block;
  max-width: 100%;
  margin: 0 auto 30px;
}

.site-footer-sns-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  margin-bottom: 40px;
  max-width: 100%;
}
.site-footer-sns-row img {
  display: block;
  height: 50px;
}

.site-footer-bar {
  width: 100%;
  height: 12px;
  background: #000;
}
