@charset "utf-8";
/* ============================================

/ 00.reset
/ 01.common
/ 02.header
/ 03.main

/* --------------------------------------------
   00.reset
----------------------------------------------- */

html, body, div, span, article, section, nav, header, footer, main, aside, h1, h2, h3, h4, h5, h6, form, fieldset, legend, label, dl, dt, dd, ol, ul, li, p, table, caption, tbody, thead, tfoot, tr, th, td, a, strong, em, mark, b, small, i, img, object, figure, figcaption, canvas, audio, video, iframe {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  border: 0;
  outline: 0;
  box-sizing: border-box;
}
body {
  line-height: 1;
}
article, section, nav, header, footer, main, aside, figure, figcaption {
  display: block;
}
ol, ul, li {
  list-style: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
}

/* --------------------------------------------
   01.common
----------------------------------------------- */

html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
}
body,
a {
  color: #262626;
}
a {
  display: block;
}
img,
video {
  width: 100%;
  vertical-align: bottom;
}
button,
input,
select,
textarea,
label {
  display: block;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: inherit;
  border: inherit;
  cursor: pointer;
  resize: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* -----[ layout ]----- */
.inner {
  width: 88%;
  margin: 0 auto;
}

/* -----[ btn ]----- */
.btn-wrap .btn {
  margin: 0 0 16px 0;
}
.btn-wrap .btn:last-child {
  margin: 0;
}
.btn-wrap .btn a,
.btn-wrap .btn button {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 5px;
  font-size: 2rem;
  line-height: 1.7;
  text-align: center;
  color: #FFFFFF;
  background: #000;
  border: solid 2px #000;
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

/* select */
.btn-wrap .btn.btn-select a {
  padding: 8px;
  color: #262626;
  background: #F8F8F8;
  border: solid 3px #F52E18;
}

/* top */
.btn-wrap .btn.btn-top a {
  width: 58px;
  height: 58px;
  margin: 0 0 0 auto;
  padding: 0;
  text-indent: -9999px;
  background: #F4F4F4;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.btn-wrap .btn.btn-top a::before {
  content: "";
  display: block;
  width: 21px;
  height: 25px;
  background: url("../img/common/btn-arrow.png") no-repeat center;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(270deg);
  transform: translate(-50%, -50%) rotate(270deg);
}

/* next */
.btn-wrap .btn.btn-next a,
.btn-wrap .btn.btn-next button {
  max-width: 246px;
}
.btn-wrap .btn.btn-next a::after,
.btn-wrap .btn.btn-next button::after {
  content: "";
  display: block;
  width: 8px;
  height: 10px;
  background: url("../img/common/btn-next.png") no-repeat center;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 19px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

/* close */
.btn-wrap .btn.btn-close a {
  max-width: 246px;
  color: #262626;
  background: #FFFFFF;
}

/* hard,easy */
.btn-wrap .btn.btn-hard a,
.btn-wrap .btn.btn-easy a {
  padding: 7px;
  font-size: 2.8rem;
  line-height: 1;
}
.btn-wrap .btn.btn-hard a {
  background: #FE4242;
  border-color: #FE4242;
}
.btn-wrap .btn.btn-easy a {
  background: #0F92D2;
  border-color: #0F92D2;
}
.btn-wrap .btn.btn-hard a span,
.btn-wrap .btn.btn-easy a span {
  display: block;
  margin: 0 0 6px 0;
  padding: 5px;
  font-size: 1.5rem;
  color: #262626;
  background: #FFFFFF;
  border-radius: 100px;
}
.btn-wrap .btn.btn-hard a span ruby,
.btn-wrap .btn.btn-easy a span ruby {
  margin: 0 2em 0 0;
}
.btn-wrap .btn.btn-hard a span ruby:last-child,
.btn-wrap .btn.btn-easy a span ruby:last-child {
  margin: 0;
}
@media screen and (min-width: 350px) {
  .btn-wrap .btn.btn-hard a span,
  .btn-wrap .btn.btn-easy a span {
    font-size: 1.8rem;
  }
}

/* question */
.btn-wrap .btn.btn-question a {
  padding: 11px 18px 11px 51px;
  font-size: 1.4rem;
  text-align: left;
  color: #262626;
  background: #FFFFFF;
}
.btn-wrap .btn.btn-question a::before {
  display: block;
  font-size: 2.4rem;
  position: absolute;
  top: 50%;
  left: 18px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.btn-wrap .btn.btn-question:nth-child(1) a::before {
  content: "A";
}
.btn-wrap .btn.btn-question:nth-child(2) a::before {
  content: "B";
}
.btn-wrap .btn.btn-question:nth-child(3) a::before {
  content: "C";
}
.btn-wrap .btn.btn-question a ruby {
  padding: calc(0.33em + (0.33em / 3)) 0 0 0;
}
.btn-wrap .btn.btn-question a ruby::before {
  -webkit-transform: scale(0.33);
  transform: scale(0.33);
}

/* link */
.btn-wrap .btn.btn-link {
  margin: 0 0 -1px 0;
}
.btn-wrap .btn.btn-link:last-child {
  margin: 0;
}
.btn-wrap .btn.btn-link a {
  padding: 26px 9px 26px 0;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-align: left;
  color: #262626;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.btn-wrap .btn.btn-link a::before {
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  background: #FFFFFF;
  border-top: solid 1px #CCCCCC;
  border-bottom: solid 1px #CCCCCC;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  z-index: -1;
}
.btn-wrap .btn.btn-link a::after {
  content: "";
  display: block;
  width: 9px;
  height: 11px;
  background: url("../img/common/btn-arrow.png") no-repeat center;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

/* -----[ form ]----- */

/* text */
form input[type="text"] {
  width: 100%;
  padding: 6px;
  background: #FFFFFF;
  border: solid 1px #CBCBCB;
}

/* radio label */
form input[type="radio"] {
  display: none;
}
form input[type="radio"]+label {
  position: relative;
  padding: 0 0 0 calc(20px + 16px);
}
form input[type="radio"]+label::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #FAFAFA;
  border: solid 4px #FAFAFA;
  box-shadow: 0 0 0 1px #CDD6DD;
  border-radius: 100%;
  box-sizing: border-box;
  position: absolute;
  top: calc((1em * 1.7) / 2);
  left: 0;
  -webkit-transform: translate(0,-50%);
  transform: translate(0,-50%);
}
form input[type="radio"]:checked+label::before {
  background: #004BB1;
}

/* -----[ tab ]----- */

/* btn */
.tab .tab-btn li {
  cursor: pointer;
}

/* content */
.tab .tab-content {
  display: none;
}
.tab .tab-content.active {
  display: block;
}

/* -----[ modal ]----- */

/* btn(close) */
.modal .modal-btn-close {
  position: absolute;
  width: 16px;
  height: 16px;
  text-indent: -9999px;
  cursor: pointer;
}
.modal .modal-btn-close::before,
.modal .modal-btn-close::after {
  content: "";
  display: block;
  width: 129%;
  height: 2px;
  background: #262626;
  position: absolute;
  top: 50%;
  left: 50%;
}
.modal .modal-btn-close::before {
  -webkit-transform: translate(-50%,-50%) rotate(45deg);
  transform: translate(-50%,-50%) rotate(45deg);
}
.modal .modal-btn-close::after {
  -webkit-transform: translate(-50%,-50%) rotate(-45deg);
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* content */
.modal .modal-content {
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

/* back */
.modal .modal-back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  text-indent: -9999px;
  z-index: -1;
}

/* -----[ toggle ]----- */

/* btn */
.toggle .toggle-btn {
  cursor: pointer;
}

/* -----[ ruby ]----- */

ruby {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  padding: calc(0.4em + (0.4em / 3)) 0 0 0;
  font: inherit;
  line-height: 1;
  text-align: center;
  color: inherit;
}
ruby::before {
  content: attr(data-ruby);
  display: block;
  -webkit-transform: scale(0.4);
  transform: scale(0.4);
  -webkit-transform-origin: top center;
  transform-origin: top center;
  position: absolute;
  top: 0;
  right: -100%;
  left: -100%;
}
ruby rt,
ruby rp {
  display: none;
}

/* --------------------------------------------
   03.main
----------------------------------------------- */

main {
  overflow: hidden;
}

/* -----[ main-wrap ]----- */
main .main-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* -----[ main-ttl ]----- */
main .main-ttl {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 12px 6%;
  background: #FE4242;
  z-index: 99;
}
main .main-ttl h2,
main .main-ttl h3 {
  font-size: 2.4rem;
  text-align: center;
  color: #FFFFFF;
}

/* -----[ main-content ]----- */
main .main-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  padding: 88px 0 24px 0;
}
