@charset "utf-8";

@font-face {
  font-family: "SenobiGothic";
  src: url("./fonts/Senobi-Gothic-Regular-Subset.ttf") format("truetype");
  src: url("./fonts/Senobi-Gothic-Regular-Subset.woff") format("woff");
  font-weight: 400;
}
@font-face {
  font-family: "SenobiGothic";
  src: url("./fonts/Senobi-Gothic-bold-Subset.ttf") format("truetype");
  src: url("./fonts/Senobi-Gothic-bold-Subset.woff") format("woff");
  font-weight: 600;
}
@font-face {
  font-family: "SenobiGothic";
  src: url("./fonts/Senobi-Gothic-Medium-Subset.ttf") format("truetype");
  src: url("./fonts/Senobi-Gothic-Medium-Subset.woff") format("woff");
  font-weight: 500;
}

:root {
  --orange: #ffac12;
  --paleblue: #54c3f1;
  --blue: #0068b7;
  --sanserif: "Noto Sans Japanese", Avenir, "Open Sans", "Helvetica Neue",
    Helvetica, Arial, Verdana, Roboto, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

html {
  font-size: 10px;
}

/* style無効 */
body,
#contents,
div,
form {
  background: transparent;
  color: #0d0d0d;
  font-size: 1.6rem;
  font-family: "SenobiGothic", sans-serif;
  font-weight: 300;
  line-height: 1;
  min-width: unset;
  text-align: left;
}
p {
  font-weight: 300;
}

.state {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: center;
}
.comment {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -2px;
  margin-top: 40px;
  text-align: center;
}

.title {
  display: block;
  margin: 40px auto 24px;
  max-width: 600px;
}

.contents {
  position: relative;
}

/* 検定画面 */

.form {
  height: 225px;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
}

.wrap {
  background-color: #fff;
  border-radius: 10px;
  left: 50%;
  margin: 0 auto 20px;
  max-width: 750px;
  padding: 40px 15px 20px;
  position: absolute;
  transform: translate(-50%);
  width: calc(100% - 20px);
  z-index: 10;
}

.wrap.m-none {
  cursor: none;
  opacity: 0;
  pointer-events: none;
}
.wrap.m-show {
  cursor: auto;
  opacity: 1;
  pointer-events: auto;
}

.number {
  align-items: center;
  background-color: var(--orange);
  border-radius: 30px;
  color: #fff;
  display: flex;
  font-weight: bold;
  height: 30px;
  justify-content: center;
  left: 14px;
  position: absolute;
  top: 12px;
  width: 30px;
}

.button {
  background: none;
  border: none;
  bottom: 20px;
  padding: 0;
  position: absolute;
  z-index: 99;
}
.button.before {
  left: 20px;
}
.button.after {
  right: 20px;
}
.button.after.pre {
  filter: grayscale(100%);
  pointer-events: none;
}

.selectbox:nth-child(-n + 2) {
  margin-bottom: 20px;
}
.selectbox {
  align-items: center;
  display: flex;
  justify-content: right;
  width: 50%;
}
.selectbox .cap {
  font-size: 2.4rem;
  margin-right: 20px;
}

.submit {
  background-color: #fff;
  bottom: -80px;
  border: 3px solid var(--paleblue);
  border-radius: 40px;
  color: var(--paleblue);
  cursor: pointer;
  font-size: 2.4rem;
  left: 50%;
  padding: 10px 40px;
  position: absolute;
  transform: translate(-50%);
  transition: all 0.3s;
}
.submit:hover {
  background-color: var(--paleblue);
  color: #fff;
}

input[type="radio"] {
  display: none;
}
.choice,
.choice ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.choice ul {
  margin: 0 auto;
  width: 560px;
}
.label {
  border: 2px solid var(--paleblue);
  border-radius: 40px;
  color: var(--paleblue);
  display: block;
  font-size: 2.8rem;
  padding: 10px 60px;
}
.label.check {
  background-color: var(--paleblue);
  color: #fff;
}

/* 結果画面 */
.wrap.rslt {
  left: 0;
  padding: 10px 30px 40px;
  position: relative;
  transform: translate(0);
}

.rsltbox {
  border-bottom: 1px solid var(--paleblue);
  padding: 20px 10px;
  width: calc(100% - 20px);
}
.rsltbox.last {
  border: none;
}

.hl {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -5px;
  margin-bottom: 15px;
}
.gradebox {
  padding-bottom: 40px;
  position: relative;
}
.gradebox .hl {
  margin-bottom: 25px;
}
.grade {
  color: var(--orange);
  font-size: 5.4rem;
  font-weight: bold;
  letter-spacing: -5px;
  margin-bottom: 25px;
  text-align: center;
}
.gradetxt {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: -4px;
  text-align: center;
}
.gradebox .popper {
  bottom: 20px;
  position: absolute;
}
.gradebox .popper.left {
  left: 20px;
  transform: scaleX(-1);
}
.gradebox .popper.right {
  right: 20px;
}

.trivia {
  padding: 20px 0;
  width: 100%;
}
.trivia .hl {
  margin-left: 10px;
}
.trivia .inbox {
  align-items: center;
  display: flex;
  justify-content: space-between;
  line-height: 1.5;
}
.trivia > .inbox {
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  line-height: 1.5;
  width: 100%;
}
.trivia .theme {
  color: var(--paleblue);
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: -5px;
  margin: 0;
}
.trivia .text {
  font-family: var(--sanserif);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-right: 15px;
}
.trivia .img {
  width: 100px;
}

.paper {
  line-height: 1.5;
}
.paper .inbox {
  align-items: center;
  display: flex;
  line-height: 1.5;
  justify-content: space-between;
}
.paper .hl {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 0;
}
.paper .cap {
  font-family: var(--sanserif);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-top: 10px;
}
.paper .count {
  font-size: 1.5rem;
}
.paper .count li {
  align-items: center;
  display: flex;
  font-weight: bold;
}
.paper .count li img {
  height: auto;
  margin-right: 5px;
  width: 6px;
}
.paper .sum {
  align-items: center;
  background-color: var(--orange);
  border-radius: 45px;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 90px;
  justify-content: center;
  margin: 0 20px;
  width: 90px;
}
.paper .sum .span {
  display: block;
  font-size: 5rem;
  letter-spacing: -0.1em;
  margin-right: 5px;
}
.paper .roll {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  max-width: 150px;
}
.paper .roll img {
  margin-bottom: 4px;
  margin-right: 6px;
  width: 20px;
}

.recommend .hl {
  color: var(--paleblue);
}
.recommend > .inbox {
  align-items: center;
  justify-content: space-evenly;
}
.recommend .inbox {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.recommend .inbox .link {
  align-items: center;
  display: flex;
  max-width: calc(100% / 3 - 20px);
}
.recommend .inbox .link > img {
  height: 120px;
  margin-right: 19px;
  width: auto;
}
.recommend .link .inbox {
  flex-direction: column;
  font-family: sans-serif;
  font-size: 1.4rem;
}
.recommend .link .inbox h3 {
  line-height: 1.5;
  margin-bottom: 5px;
}
.recommend .link .inbox span {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 5px;
}
.recommend .btn,
.about .btn {
  align-items: center;
  background-color: var(--orange);
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  font-family: var(--sanserif);
  font-size: 1.2rem;
  justify-content: space-between;
  letter-spacing: 0.1em;
  padding: 7px 12px;
  text-decoration: none;
}
.recommend .btn img {
  width: 14px;
}
.recommend .share {
  display: none;
}
.recommend .share .hl {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
  position: relative;
  text-align: center;
}
.recommend .share .hl:before,
.recommend .share .hl:after {
  background-color: var(--paleblue);
  content: "";
  display: block;
  height: 60px;
  position: absolute;
  top: 0;
  width: 1px;
}
.recommend .share .hl:before {
  left: 20px;
  transform: rotate(-15deg);
}
.recommend .share .hl:after {
  transform: rotate(15deg);
  right: 20px;
}
.recommend .share p,
.recommend .sharebtn {
  font-family: var(--sanserif);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}
.recommend .share p {
  margin-bottom: 15px;
}
.recommend .sharebtn {
  align-items: center;
  color: var(--paleblue);
  display: flex;
  justify-content: center;
}
.recommend .share .sharebtn img {
  margin-right: 5px;
  width: 24px;
}

.corelex {
  padding-bottom: 0;
  position: relative;
}
.corelex .about {
  margin-left: 15px;
  margin-top: 15px;
  max-width: 445px;
}
.corelex .about .jlp {
  margin-bottom: 20px;
  max-width: 300px;
}
.corelex .about .btn {
  background-color: var(--blue);
}
.corelex .about > div {
  margin-bottom: 20px;
}
.corelex .about .logo {
  margin-bottom: 15px;
  width: 175px;
}
.corelex .about p {
  font-family: var(--sanserif);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 15px;
}
.corelex .twitter {
  height: 510px;
  overflow-y: scroll;
  position: absolute;
  right: -20px;
  top: -24px;
  transform: scale(80%);
  width: 320px;
}
.corelex .twitter span {
  font-size: 14px !important;
}

a.back {
  background-color: #fff;
  border: 2px solid var(--paleblue);
  border-radius: 30px;
  color: var(--paleblue);
  display: block;
  margin: 0 auto 20px;
  max-width: 200px;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  transition: 0.2s;
}
a.back:hover {
  background-color: var(--paleblue);
  border-color: #fff;
  color: #fff;
  opacity: 1;
}
.copy {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.m-sp {
  display: none;
}

@media screen and (max-width: 480px) {
  .contents {
    margin-bottom: 60vh;
  }
  .contents.rslt {
    margin-bottom: 20px;
  }
  .wrap {
    padding-bottom: 60px;
    padding-top: 50px;
    width: calc(100% - 60px);
  }

  /* 検定画面 */

  .h1 .title {
    margin-top: 20px;
    width: calc(100% - 50px);
  }

  .state {
    font-size: 2.2rem;
  }
  .choice,
  .choice ul {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .choice div > .label {
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
    padding: 10px 0;
    width: calc(100% - 20px);
  }
  .choice div:last-child {
    margin-bottom: 0;
  }
  .label {
    margin-bottom: 20px;
    text-align: center;
  }
  .selectbox .label {
    margin-bottom: 0;
    padding: 6px 60px;
  }
  .selectbox:nth-child(3) {
    margin-bottom: 20px;
  }
  .selectbox .cap {
    font-size: 1.6rem;
  }
  .selectbox:last-child {
    margin-bottom: 0;
  }
  .comment {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-top: 20px;
  }

  /* 結果画面 */
  .wrap.rslt {
    padding-left: 15px;
    padding-right: 15px;
  }

  .rsltbox,
  .inbox {
    flex-direction: column;
  }

  .gradebox {
    padding-bottom: 30px;
  }
  .gradebox .hl,
  .gradebox .grade,
  .gradebox .gradetxt {
    position: relative;
    z-index: 3;
  }
  .gradebox .hl {
    margin-bottom: 20px;
    text-align: center;
  }
  .gradebox .grade {
    font-size: 3.6rem;
    margin-bottom: 20px;
  }
  .gradebox .gradetxt {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .gradebox .popper {
    width: 70px;
  }
  .gradebox .popper.left {
    left: 0;
  }
  .gradebox .popper.right {
    right: 0;
  }

  .trivia .hl {
    margin-left: 0;
    text-align: center;
  }
  .trivia .inbox .inbox {
    flex-direction: column-reverse;
  }
  .trivia .inbox .inbox br {
    display: none;
  }
  .trivia .text {
    font-size: 1.6rem;
    margin: 0;
  }
  .trivia .img {
    height: 100px;
    margin: 20px 0;
    width: auto;
  }

  .paper {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  .paper .inbox .inbox {
    flex-direction: row;
    margin: 20px 0 10px;
    width: 100%;
  }
  .paper .count li {
    font-size: 1.5rem;
  }
  .paper .roll {
    max-width: 110px;
  }
  .paper .roll img {
    width: 16px;
  }
  .paper .sum {
    height: 80px;
    margin: 0;
    width: 80px;
  }
  .paper .sum .span {
    font-size: 4rem;
  }
  .paper .cap {
    font-size: 1.2rem;
  }

  .recommend {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    width: 100%;
  }
  .recommend > .hl {
    margin-bottom: 20px;
  }
  .recommend .inbox .link {
    margin-bottom: 20px;
    margin-right: 0;
    max-width: 100%;
  }
  .recommend .link .inbox span {
    font-size: 1.2rem;
  }
  .recommend .share {
    width: 100%;
  }
  .recommend .share .hl {
    font-size: 2.6rem;
  }
  .recommend .share .hl:before,
  .recommend .share .hl:after {
    height: 80px;
  }
  .recommend .share .hl:before {
    left: 10px;
  }
  .recommend .share .hl:after {
    right: 10px;
  }

  .corelex {
    text-align: center;
  }
  .corelex .about {
    margin: 0;
  }
  .corelex .about .btn {
    background-color: var(--blue);
    border-radius: 10px;
    font-size: 1.4rem;
    padding: 10px 12px;
    width: calc(100% - 25px);
  }
  .corelex .about .btn img {
    width: 14px;
  }
  .corelex .about .logo {
    display: block;
    margin: 20px auto;
  }
  .corelex .about p br {
    display: none;
  }
  .corelex .twitter {
    height: 500px;
    left: -50%;
    margin: 20px auto 0;
    position: relative;
    right: 0;
    top: 0;
    transform: translateX(50%);
    width: 100%;
  }

  .m-pc {
    display: none;
  }
  .m-sp {
    display: block;
  }
}
