@charset "UTF-8";
#contentsWrapper .c-shindan {
  padding: 2em;
  background: #f1d9f8;
  border-radius: 1.67em;
}

#contentsWrapper .c-shindan dt, #contentsWrapper .c-shindan dd {
  text-align: center;
  padding-top: 1em;
}

#contentsWrapper .c-shindan dt {
  font-weight: bold;
}

#contentsWrapper .c-shindan dt + dd {
  margin-top: 0.5em;
}

#contentsWrapper .c-shindan dd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5em;
  font-size: 40px;
  padding: 0 4em;
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}

#contentsWrapper .c-shindan dd + dt {
  margin-top: 2.5em;
}

#contentsWrapper .c-shindan dd:before, #contentsWrapper .c-shindan dd:after {
  position: absolute;
  top: 0;
  bottom: 0;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  font-size: 40%;
}

#contentsWrapper .c-shindan dd:before {
  content: '当てはまらない';
  left: 0;
  color: green;
}

#contentsWrapper .c-shindan dd:after {
  content: '当てはまる';
  right: 0;
  color: purple;
}

#contentsWrapper .c-shindan input[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-size: inherit;
  width: 1em;
  height: 1em;
  color: #f3303f;
  background: #ccc;
  background-position: center;
  border: 0.08em solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#contentsWrapper .c-shindan input[type='radio']:hover, #contentsWrapper .c-shindan input[type='radio']:checked {
  background: currentColor url(../images/shindan/icon_check.svg) no-repeat center/50%;
}

#contentsWrapper .c-shindan input[type='radio']:checked {
  -webkit-animation: checked 0.5s ease 0s 1 normal forwards running;
          animation: checked 0.5s ease 0s 1 normal forwards running;
}

@-webkit-keyframes checked {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  10% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes checked {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  10% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

#contentsWrapper .c-shindan label:nth-child(1) input {
  width: 1.8em;
  height: 1.8em;
  color: #75a808;
}

#contentsWrapper .c-shindan label:nth-child(2) input {
  width: 1.4em;
  height: 1.4em;
  color: #90c31f;
}

#contentsWrapper .c-shindan label:nth-child(4) input {
  width: 1.4em;
  height: 1.4em;
  color: #d138c9;
}

#contentsWrapper .c-shindan label:nth-child(5) input {
  width: 1.8em;
  height: 1.8em;
  color: #af22a9;
}

#contentsWrapper .c-shindan .c-button {
  font-size: 30px;
}

@media screen and (max-width: 1220px) {
  #contentsWrapper .c-shindan dd {
    font-size: 4.5vw;
    gap: 1em;
  }
  #contentsWrapper .c-shindan .c-button {
    font-size: 2.5vw;
  }
}

@media screen and (max-width: 800px) {
  #contentsWrapper .c-shindan dl {
    font-size: 3.7vw;
  }
  #contentsWrapper .c-shindan dd {
    font-size: 7vw;
    padding: 0 0 1em;
  }
  #contentsWrapper .c-shindan dd:before, #contentsWrapper .c-shindan dd:after {
    top: auto;
  }
  #contentsWrapper .c-shindan button {
    font-size: 4vw;
  }
  #contentsWrapper .c-shindan .c-button {
    font-size: 3.75vw;
  }
}

#contentsWrapper .p-shindan {
  padding-top: 150px;
  font-size: 24px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

#contentsWrapper .p-shindan h4 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 0.5em;
  position: relative;
}

#contentsWrapper .p-shindan h4:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 2em;
  height: 4px;
  border-radius: 2px;
  background: var(--maincolor);
}

#contentsWrapper .p-shindan .introduction {
  text-align: center;
}

#contentsWrapper .p-shindan .introduction .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  max-width: 600px;
  margin: 0 auto;
}

#contentsWrapper .p-shindan .introduction .img img {
  width: calc(calc(100% - 2em) / 3);
}

#contentsWrapper .p-shindan .introduction .s {
  font-size: 75%;
  display: inline-block;
}

@media screen and (max-width: 1220px) {
  #contentsWrapper .p-shindan {
    padding-top: 15%;
    font-size: 2vw;
  }
  #contentsWrapper .p-shindan h4 {
    font-size: 2.5vw;
  }
}

@media screen and (max-width: 800px) {
  #contentsWrapper .p-shindan {
    padding-top: 20%;
    font-size: 3.5vw;
  }
  #contentsWrapper .p-shindan h2 {
    font-size: 6vw;
  }
  #contentsWrapper .p-shindan h3 {
    font-size: 4.5vw;
  }
  #contentsWrapper .p-shindan h4 {
    font-size: 5vw;
  }
}

/* modal */
.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  opacity: 0;
  pointer-events: none;
  z-index: 502;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.c-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  -webkit-animation: modalOpen 0.5s ease 0s 1 normal forwards running;
          animation: modalOpen 0.5s ease 0s 1 normal forwards running;
}

.c-modal_close {
  position: absolute;
  top: -3em;
  right: 0;
  width: 2.5em;
  height: 2.5em;
  cursor: pointer;
  z-index: 503;
}

.c-modal_close:before, .c-modal_close:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 0.15em;
  background: #fff;
}

.c-modal_close:before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.c-modal_close:after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

#is-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 501;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

@-webkit-keyframes modalOpen {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes modalOpen {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
