@charset "utf-8";

@font-face {
  font-family: "Qbook";
  src: url("../font/Q.woff2") format("woff2"), url("../font/Q.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 10px;
  height: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #101010;
  display: flex;
  flex-direction: column;
}

a{
  color: #e18286;
}

a:hover{
  color:#101010;
}

.wrapper {
  flex: 1;
  background-image: url(../images/bg3.jpg);
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.check2022,
.check2022-result {
  width: 90%;
  max-width: 1140px;
  margin: auto;
  padding: 6em 1em;
  font-size: 1.8rem;
  line-height: 1.6;
}

.check2022-result {
  padding: 0 1em 6em;
}

.check2022.inner {
  padding: 1em 0;
}

.bg-white {
  padding: 4rem 8rem;
  background-image: url(../images/box.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.c22-title h2 {
  text-align: center;
  font-size: 6.8rem;
  font-weight: bold;
  margin-bottom: 1em;
  padding: 1em 0 0;
  line-height: 1.3;
}

.c22-title.inner h2 {
  font-size: 4rem;
  position: relative;
  width: 90%;
  margin: 0 auto 1em;
  padding-top: 1.5em;
}
.c22-title.inner h2 div {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 1.8rem;
  color: #666666;
  font-style: italic;
  font-weight: normal;
}

.check2022 .c22-top {
  padding-bottom: 2em;
}

.check2022 .c22-top p {
  font-size: 2.6rem;
  text-align: center;
  line-height: 2;
  color: #101010;
}
.check2022 .c22-top p.small {
  font-size: 1.6rem;
}

/*** 問題文 ***/

#page2,
#page3,
#page4,
#page5,
#page6 {
  display: none;
}

.check2022 .q h3 {
  font-family: "Qbook", sans-serif;
  font-size: 46px;
  position: relative;
  padding: 0 65px;
  text-align: center;
  letter-spacing: 3px;
}

.check2022 .q h3:before,
.check2022 .q h3:after {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 40%;
  height: 1px;
  content: "";
  background: #5c5c5c;
}
.check2022 .q h3:after {
  left: 60%;
}

.check2022 .q h3 span {
  position: relative;
  padding: 0 4em;
  background: transparent;
}

.check2022 .q p {
  font-size: 2.2rem;
  text-align: left;
  padding: 1em 0;
  line-height: 1.6;
}

.c22-select {
  width: 80%;
  margin: 1em auto 3em;
  overflow: hidden;
}

.c22-select .child {
  width: 25%;
  float: left;
  min-height: 110px;
  position: relative;
}

.c22-select .child label {
  cursor: pointer;
  /* padding-left: 30px; */
}

.c22-select .child label span {
  display: block;
  padding-top: 110px;
  text-align: center;
  font-size: 13px;
}

.c22-select .child label::before,
.c22-select .child label::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.c22-select .child label::before {
  background: radial-gradient(circle, #fff 25%, #ddd 15%);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.c22-select .child label::after {
  background: #666;
  border-radius: 50%;
  opacity: 0;
  width: 100px;
  height: 100px;
}

.c22-select .child input:checked + label::after {
  opacity: 1;
  transition: 0.7s all ease-out;
}

.c22-select .child input {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}

/*** ボタンデザイン ***/

.c22-button {
  padding: 2em 0;
}

.c22-button button,
.c22-button a {
  display: block;
  background-color: #e18286;
  background-image: url(../images/arrow.png);
  background-repeat: no-repeat;
  background-position: 90% 50%;
  color: #fff;
  width: 80%;
  max-width: 800px;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  padding: 1em;
  border: 2px solid #e18286;
  border-radius: 9999px;
  text-decoration: none;
  margin: auto;
  transition: 0.4s all ease-out;
}

.c22-button a:hover,
.c22-button button:hover {
  cursor: pointer;
  color: #e18286;
  background-color: #fff;
  transition: 0.4s all ease-out;
}

.check2022.inner .c22-button {
  padding: 3em 0 8em;
}

p.attention {
  width: 60%;
  font-size: 1.4rem;
  margin: 1em auto;
}

/**** 結果ページ　******/

.chart-container {
  position: relative;
  margin: 0 auto 3em;
  width: 70%;
}

.chart-container a {
  display: block;
  background-color: rgba(0, 0, 0, 0);
  width: 150px;
  height: 50px;
  position: absolute;
  text-indent: -99999px;
}

.chart-container a#r-a1 {
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
}

.chart-container a#r-a2 {
  top: 22%;
  right: -2%;
}

.chart-container a#r-a3 {
  top: 68%;
  right: -2%;
}

.chart-container a#r-a4 {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.chart-container a#r-a5 {
  top: 68%;
  left: -2%;
}

.chart-container a#r-a6 {
  top: 22%;
  left: -2%;
}

.result-txt-wrapper {
  padding: 4rem;
  background-image: url(../images/box.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.result-txt {
  margin-bottom: 4%;
}

.result-txt h3 {
  border-top: 2px solid #909090;
  border-bottom: 2px solid #909090;
  text-align: center;
  color: #101010;
  font-weight: bold;
  font-size: 2.4rem;
  padding: 1em 0;
}

.result-txt h4 {
  text-align: center;
  color: #8a8a8a;
  font-size: 1.6rem;
  font-weight: normal;
  padding: 1.6em 1em 0;
}

.result-txt p {
  padding: 1em 0;
  line-height: 1.8;
  text-align: justify;
}

.att2 {
  font-size: 2.2rem;
  text-align: center;
  padding: 4em 0 0;
}

/***** footer *****/
footer {
  color: #fff;
  background-color: #101010;
  font-size: 1.2rem;
  text-align: center;
  padding: 65px 1em 35px;
}

.error {
  display: none;
  opacity: 0;
  background-color: #fff;
  text-align: center;
  padding: 0.5em 1em;
  width: 60%;
  margin: 1em auto;
  color: #e18286;
}
.error.enabled {
  display: block;
  opacity: 1;
  transition: 0.4s all ease-out;
}

.hidden {
  display: none;
}

.pc {
  display: block;
}
.sp {
  display: none;
}

@media screen and (max-width: 830px) {
  html {
    font-size: 8px;
  }
  .check2022,
  .check2022-result {
    max-width: none;
  }
  .check2022 .q h3 {
    font-size: 4rem;
    padding: 0 3rem;
    letter-spacing: 0;
  }
  .c22-select {
    width: 90%;
  }
  .bg-white {
    width: 96%;
    margin: auto;
    padding: 6rem 1rem;
  }
}

@media screen and (max-width: 430px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  html {
    font-size: 6px;
  }
  .check2022,
  .check2022-result {
    width: 100%;
    padding: 6em 0.5em;
  }
  .check2022-result {
    padding: 0 0.5em 6em;
  }
  .c22-title h2 {
    font-size: 5rem;
  }
  .c22-button button,
  .c22-button a {
    font-size: 3rem;
    padding: 0.8em 1em;
    background-size: 10px auto;
  }
  .check2022 .c22-top p {
    font-size: 2.3rem;
  }
  p.attention {
    width: 90%;
    font-size: 2rem;
  }
  .check2022 .q p {
    font-size: 2.2rem;
  }

  .c22-select {
    width: 100%;
  }
  .c22-select .child {
    width: 25%;
  }
  .c22-select .child label::before,
  .c22-select .child label::after {
    transform: translate(-50%, 0);
    top: 20px;
    left: 50%;
  }
  .c22-select .child label::before,
  .c22-select .child label::after {
    width: 70px;
    height: 70px;
  }
  .c22-select .child label span {
    /* padding-top: 90px; */
    font-size: 1.3rem;
  }
  .chart-container {
    width: 100%;
  }
  .result-txt h3 {
    font-size: 3.2rem;
  }
  .result-txt h4 {
    text-align: left;
    color: #8a8a8a;
    font-size: 2rem;
    padding: 1.6em 0 0;
  }
  .result-txt p {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 376px) {
  .c22-button button,
  .c22-button a {
    width: 90%;
    font-size: 2.8rem;
  }
}
