
@keyframes hover {
  0% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
  100% {
    scale: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (min-width: 769px) {
  .main_outer {
    min-height: calc(100dvh - 17.5rem);
    margin-top: -2.5rem;
    padding: 7.5rem 0 4rem;
  }
}
@media (max-width: 768px) {
  .main_outer {
    min-height: calc(100dvh - 31.942rem);
    margin-top: -5.5rem;
    padding: 23.1rem 0 12rem;
  }
}

.js-selectParent:not(.is-active) {
  display: none;
}

.select_section {
  position: relative;
}

.select_box {
  position: relative;
  background-color: rgba(15, 15, 15, 0.08);
  background-image: url(/ssp/gc_diagnosis/img/question/select_bg.png);
  background-position: center center;
  background-repeat: repeat;
  border: 1px solid;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .select_box {
    background-size: 1.6rem auto;
    border-radius: 2.2rem;
    max-width: 110rem;
    padding: 3.9rem 3.9rem 7.4rem;
  }
}
@media (max-width: 768px) {
  .select_box {
    background-size: 3.2rem auto;
    border-radius: 3.4rem;
    width: 66rem;
    padding: 3.8rem 4.3rem 7.3rem;
  }
}

.select_title {
  position: absolute;
  z-index: 5;
}
@media (min-width: 769px) {
  .select_title {
    width: 21.3rem;
    right: -1.9rem;
    top: -5.8rem;
  }
}
@media (max-width: 768px) {
  .select_title {
    width: 37.2rem;
    left: 0;
    top: -22.7rem;
  }
}

.select_head {
  display: flex;
  align-items: flex-end;
  position: relative;
}
@media (min-width: 769px) {
  .select_head {
    gap: 2rem;
    margin-bottom: 5.5rem;
  }
}
@media (max-width: 768px) {
  .select_head {
    flex-direction: column;
    align-items: center;
    gap: 2.7rem;
    margin-bottom: 5.9rem;
  }
}
.select_head p {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.1em;
  position: relative;
  background: #e64682;
  border: 1px solid #0f0f0f;
  line-height: 1;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  color: #fff;
}
@media (min-width: 769px) {
  .select_head p {
    border-radius: 1.6rem 1.6rem 0 1.6rem;
    width: 12.6rem;
    height: 7rem;
    padding: 0.9rem 0;
    font-size: 5rem;
  }
}
@media (max-width: 768px) {
  .select_head p {
    border-radius: 1.6rem 1.6rem 1.6rem 0;
    width: 17rem;
    height: 9.2rem;
    padding: 1.1rem 0;
    font-size: 6.6rem;
  }
}
.select_head p strong {
  min-width: 1.5em;
  font-weight: inherit;
}
@media (min-width: 769px) {
  .select_head p small {
    font-size: 0.44em;
  }
}
@media (max-width: 768px) {
  .select_head p small {
    font-size: 0.455em;
  }
}
.select_head h2 {
  position: relative;
  width: 100%;
  letter-spacing: 0.05em;
  font-weight: 900;
}
@media (min-width: 769px) {
  .select_head h2 {
    padding-bottom: 1.4rem;
    line-height: 1.087;
    font-size: 4.6rem;
  }
}
@media (max-width: 768px) {
  .select_head h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 17rem;
    padding-bottom: 2.2rem;
    line-height: 1.276;
    font-size: 5.8rem;
    text-align: center;
  }
}
.select_head h2::before {
  content: "";
  position: absolute;
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: auto 100%;
  height: 0;
  left: 0;
  right: 0;
}
@media (min-width: 769px) {
  .select_head h2::before {
    background-image: url(/ssp/gc_diagnosis/img/question/line_pc.svg);
    height: 3px;
    bottom: -1px;
  }
}
@media (max-width: 768px) {
  .select_head h2::before {
    background-image: url(/ssp/gc_diagnosis/img/question/line_sp.svg);
    height: 0.4rem;
    bottom: -0.1rem;
  }
}

.select_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
@media (min-width: 769px) {
  .select_buttons {
    gap: 2.4rem;
  }
}
@media (max-width: 768px) {
  .select_buttons {
    gap: 4rem 2.6rem;
  }
}
.select_buttons > li {
  opacity: 0;
}
@media (min-width: 769px) {
  .select_buttons > li {
    width: 22rem;
  }
}
@media (max-width: 768px) {
  .select_buttons > li {
    width: 27rem;
  }
}
.select_box.is-animated .js-selectParent.is-active .select_buttons > li {
  animation: fadeIn 0.2s ease-out 1 forwards;
}
.select_buttons > li:nth-child(1) {
  animation-delay: 0.2s !important;
}
.select_buttons > li:nth-child(2) {
  animation-delay: 0.4s !important;
}
.select_buttons > li:nth-child(3) {
  animation-delay: 0.6s !important;
}
.select_buttons > li:nth-child(4) {
  animation-delay: 0.8s !important;
}
.select_buttons.is-hide {
  display: none;
}
@media (min-width: 769px) {
  .select_buttons.is-hide + .select_links {
    padding-top: 7.4rem;
  }
}
@media (max-width: 768px) {
  .select_buttons.is-hide + .select_links {
    padding-top: 15.3rem;
  }
}

.select_button {
  display: block;
  position: relative;
  border-radius: 50%;
  width: 100%;
  cursor: pointer;
}
@media (min-width: 769px) {
  .select_button {
    box-shadow: 0.5rem 0.5rem 0 #0f0f0f;
  }
}
@media (max-width: 768px) {
  .select_button {
    box-shadow: 0.6rem 0.6rem 0 #0f0f0f;
  }
}
.select_button::before {
  content: "";
  position: absolute;
  background: #fff;
  border: 1px solid;
  border-radius: 50%;
  inset: 0;
}
.select_button > input {
  position: absolute;
  opacity: 0;
}
.select_button > p {
  position: relative;
  pointer-events: none;
}
.select_button > p::before {
  content: "";
  position: absolute;
  background: #ffd231;
  border: 1px solid;
  border-radius: 50%;
  transition: 0.2s linear;
}
@media (min-width: 769px) {
  .select_button > p::before {
    inset: 0.7rem;
  }
}
@media (max-width: 768px) {
  .select_button > p::before {
    inset: 1rem;
  }
}
.select_button > p::after {
  content: "";
  position: absolute;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  inset: 0;
}
.select_button > p img {
  position: relative;
  z-index: 2;
}
.select_button:has(input[value=A]) > p::after {
  background-image: url(/ssp/gc_diagnosis/img/question/q_a.png);
}
.select_button:has(input[value=B]) > p::after {
  background-image: url(/ssp/gc_diagnosis/img/question/q_b.png);
}
.select_button:has(input[value=C]) > p::after {
  background-image: url(/ssp/gc_diagnosis/img/question/q_c.png);
}
.select_button:has(input[value=D]) > p::after {
  background-image: url(/ssp/gc_diagnosis/img/question/q_d.png);
}
.select_button:hover {
  animation: hover 0.4s ease 0s 1;
}
.select_button:hover > p::before {
  background: #ffedad;
}

.select_img {
  position: absolute;
}
@media (min-width: 769px) {
  .select_img.img1 {
    width: 3.6rem;
    right: 23.3rem;
    top: -7.2rem;
  }
}
@media (max-width: 768px) {
  .select_img.img1 {
    width: 7.1rem;
    right: 1.8rem;
    top: -10.8rem;
  }
}
@media (min-width: 769px) {
  .select_img.img2 {
    width: 10.6rem;
    left: -12.5rem;
    top: 0.5rem;
  }
}
@media (max-width: 768px) {
  .select_img.img2 {
    width: 14rem;
    left: -6.4rem;
    top: 2.5rem;
  }
}
@media (min-width: 769px) {
  .select_img.img3 {
    width: 8.6rem;
    right: -11.6rem;
    top: 4.3rem;
  }
}
@media (max-width: 768px) {
  .select_img.img3 {
    width: 11.3rem;
    right: -6.8rem;
    top: 6.1rem;
  }
}
@media (min-width: 769px) {
  .select_img.img4 {
    width: 8.1rem;
    right: -6.9rem;
    top: 14.2rem;
  }
}
@media (max-width: 768px) {
  .select_img.img4 {
    width: 9.4rem;
    right: -3.7rem;
    bottom: 60.7rem;
  }
}
@media (min-width: 769px) {
  .select_img.img5 {
    width: 3.7rem;
    left: -8.2rem;
    bottom: 6.7rem;
  }
}
@media (max-width: 768px) {
  .select_img.img5 {
    width: 4.9rem;
    left: -5.2rem;
    bottom: 5.3rem;
  }
}
@media (min-width: 769px) {
  .select_img.img6 {
    width: 6.9rem;
    right: -8.9rem;
    bottom: -8.8rem;
  }
}
@media (max-width: 768px) {
  .select_img.img6 {
    width: 9.2rem;
    right: -1rem;
    bottom: -31.6rem;
  }
}
@media (min-width: 769px) {
  .select_img.img7 {
    width: 9.9rem;
    left: -6.1rem;
    bottom: -5rem;
  }
}
@media (max-width: 768px) {
  .select_img.img7 {
    width: 13.4rem;
    left: -6.4rem;
    bottom: -7.1rem;
  }
}

.select_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .select_copy {
    gap: 0.4rem;
    max-width: 110rem;
    padding-top: 1.4rem;
  }
}
@media (max-width: 768px) {
  .select_copy {
    gap: 0.8rem;
    width: 66rem;
    padding-top: 2.6rem;
  }
}
@media (min-width: 769px) {
  .select_copy strong {
    width: 25.4rem;
  }
}
@media (max-width: 768px) {
  .select_copy strong {
    width: 41.9rem;
  }
}
.select_copy span {
  letter-spacing: 0.1em;
  line-height: 1;
  font-weight: 500;
}
@media (min-width: 769px) {
  .select_copy span {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .select_copy span {
    font-size: 2rem;
  }
}
@media (min-width: 769px) {
  .select_copy + .select_buttons {
    margin-top: -0.8rem;
  }
}
@media (max-width: 768px) {
  .select_copy + .select_buttons {
    margin-top: 6.9rem;
  }
}

.select_back {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  position: relative;
  background: transparent;
  border: 0;
  padding-right: 1.643em;
  letter-spacing: 0.05em;
  line-height: 1;
  fill: #fff;
  color: #fff;
  transition: 0.2s linear;
  appearance: none;
  cursor: pointer;
}
@media (min-width: 769px) {
  .select_back {
    width: 26rem;
    height: 5.6rem;
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .select_back {
    width: 42rem;
    height: 10rem;
    font-size: 2.8rem;
  }
}
.select_back::before {
  content: "";
  position: absolute;
  background: #0f0f0f;
  inset: 0;
  transition: 0.2s linear;
}
@media (min-width: 769px) {
  .select_back::before {
    border-radius: 5.6rem;
  }
}
@media (max-width: 768px) {
  .select_back::before {
    border-radius: 10rem;
  }
}
.select_back svg {
  position: relative;
  width: 1.143em;
  height: 0.572em;
}
.select_back strong {
  position: relative;
}
.select_back:hover {
  fill: #ffd231;
  color: #ffd231;
}
.select_back:hover::before {
  scale: 1.2;
}

.select_links {
  display: flex;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .select_links {
    max-width: 120rem;
    padding-top: 2.6rem;
  }
}
@media (max-width: 768px) {
  .select_links {
    justify-content: center;
    padding-top: 18rem;
  }
}

.select_link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7em;
  position: relative;
  padding: 0 1px 0 0;
  letter-spacing: 0.05em;
  line-height: 1;
  font-weight: 500;
}
@media (min-width: 769px) {
  .select_link {
    width: 16rem;
    height: 3.8rem;
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  .select_link {
    width: 30rem;
    height: 7rem;
    font-size: 2.4rem;
  }
}
.select_link::before {
  content: "";
  position: absolute;
  background: #fff;
  border: 1px solid;
  inset: 0;
  transition: 0.2s linear;
}
@media (min-width: 769px) {
  .select_link::before {
    border-radius: 3.8rem;
  }
}
@media (max-width: 768px) {
  .select_link::before {
    border-radius: 7rem;
  }
}
.select_link svg {
  fill: #0f0f0f;
  position: relative;
  width: 1.143em;
  height: 0.572em;
}
.select_link span {
  position: relative;
}
.select_link:hover::before {
  scale: 1.2;
}



