@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  top: 0;
  left: 0;
  font: inherit;
  vertical-align: baseline;
  color: #222;
  box-sizing: border-box;
  line-height: 1.4;
  font-size: 1.6rem;
  letter-spacing: .2em;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  overflow: auto;
  height: 100%;
}
body.overflow {
  position: relative;
  overflow-y: hidden;
  -webkit-overflow-y: hidden;
  -moz-overflow-y: hidden;
}
html[lang="ja"] {
  font-size: 62.5%;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  object-fit: contain;
  vertical-align: middle;
  width: 100%;
}
a {
  text-decoration:none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
a[type="button"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

a[target="_blank"]::after{
 content: "\f35d";
 font-family: "Font Awesome 5 Free";
 font-weight: bold; /*指定しないと表示されない*/
 padding-left: .3em; /*文字とアイコンの間に隙間*/
}

button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
}

ruby {
  font-size: inherit;
}
:root {
  --elementary-bg: #EBFAF1;
  --elementary-local: #04BF55;
  --elementary-layout: #CDF2DD;
  --elementary-grid: #F0FBF5;
  --elementary-test: #68D999;
  --middle-bg: #FEFBF0;
  --middle-local: #F2C744;
  --middle-layout: #FCF4DA;
  --middle-grid: #FEFCF4;
  --middle-test: #F7DD8F;
  --high-bg: #FEF5F8;
  --high-local: #F280AA;
  --high-layout: #FCE6EE;
  --high-grid: #FEF9FB;
  --high-test: #F7B3CC;
  --btn: #3867F3;
  --test-worksheet: #E72D4F;
  --test-worksheet-rgba: 231, 45, 79;
}
/* ===================== bootstrap reset =====================*/
h1, h2, h3, h4, h5, h6 {
  font-weight: revert!important;
  line-height: revert!important;
  margin-bottom: 0!important;
}
ul, p {
  margin-bottom: 0!important;
}
a {
  color: #222;
}
a:hover {
  text-decoration: none!important;
}
.navbar-toggler-icon {
  width: 2em;
  height: 2em;
}
/* ===================== elementary middle high =====================*/
.elementary {
  background: var(--elementary-layout);
}
.middle {
  background: var(--middle-layout);
}
.high {
  background: var(--high-layout);
}
/* ===================== l-header =====================*/
.l-header {
  display: flex;
  position: fixed;
  align-items: center;
  top: 0;
  left: 0;
  height: 60px;
  width: 100%;
  z-index: 99999;
}
.l-header.page-top {
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .10));
  will-change: filter;
}
.l-header.secondary {
  position: fixed;
}
.elementary .l-header {
  background: var(--elementary-layout);
}
.middle .l-header {
  background: var(--middle-layout);
}
.high .l-header {
  background: var(--high-layout);
}
.l-header__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  overflow: hidden;
  padding: 8px 60px;
  width: 100%;
}
.l-grid__top .l-header__item,
.page-teach .l-header__item {
  background: #fff;
}
.l-header__item img {
  width: 92px;
}
.l-header__item .btn {
  display: none;
}
.l-header__item .btn.js-btn {
  top: 8px;
  right: 8px;
}
.l-header__item .item-flex,
.l-header__item .item-flex .item-flex__list {
/*  display: flex;*/
  align-items: center;
  justify-content: flex-end;
}
.l-header__item .item-flex {
  position: relative;
  width: calc(100% - 92px);
}
.l-header__item .item-flex .item-flex__list {
  font-weight: bold;
}
.l-header__item .item-flex .item-flex__list a {
  color: #222;
  padding: 16px;
  transition: .2s;
}
.l-header__item .item-flex .item-flex__list a:hover {
  text-decoration: unset;
  opacity: .6;
}
.l-header__item .item-flex .item-flex__name {
  font-weight: bold;
  background: rgba(56, 103, 243, .1);
  padding: 2px 12px;
  margin: 0 12px;
}
.l-header__login {
  justify-content: end;
  align-items: center;
  width: calc(100% - 92px);
}
.l-header__login .login-name {
  font-size: 1.6rem;
  font-weight: bold;
  background: #fff;
  padding: 8px;
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-bell {
	color: #FFCC00;
	font-size: 4rem !important;
}

.info-bell:hover {
  animation: shake 0.5s infinite;
}

.info-badge {
	vertical-align: top !important;
	margin-left: -20px;
}

@keyframes shake {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@media screen and (max-width: 1200px) {
  .l-header {
    height: auto;
  }
  .l-header__login .login-name {
    padding: 2px;
  }
  .l-header__inner {
    margin-right: 12px;
  }
}
@media screen and (max-width: 992px) {
  .l-header__item .item-flex {
    margin-top: 20px;
  }
  .l-header__item .item-flex .item-flex__list {
    align-items: flex-start;
  }
  .l-header__item .item-flex .item-flex__list a {
    padding: 12px 0;
  }
  .l-header__item .item-flex .item-flex__name {
    margin: 16px 0!important;
    width: fit-content;
  }
  .l-header__login {
    width: 100%;
  }
  .l-header__login .login-name {
    font-size: 1.4rem;
    padding: 2px 8px;
  }
  .l-header__login .login-name:first-child {
    margin-right: 0;
  }
  .l-header__item img {
    min-width: 120px;
  }
  .header-white{
	  background-color: #fff;
	  min-width: fit-content;
  }
}
@media screen and (max-width: 768px) {
  .l-header {
    height: fit-content;
  }
  .l-header__item {
    padding: 8px 16px;
    min-width: calc(100% - 32px);
  }
  .l-header__item img {
    min-width: 120px;
  }
  .l-header__item .item-flex {
    width: 100%;
  }
  .l-header__item .item-flex,
  .l-header__item .item-flex .item-flex__list {
    margin-top: 40px;
  }
  .l-header__login .login-name {
    font-size: 1.4rem;
    margin: 0;
  }
  .l-header__login {
    display: block;
  }
  .l-header__login .c-btn__local.tertiary {
    margin: 4px 0 0 0;
    max-width: 100%;
  }
  .header-white{
	  background-color: #fff;
	  min-width: fit-content;
  }
}
/* ===================== l-footer =====================*/
.l-footer {
  position: relative;
  padding: 24px 0 48px;
  z-index: 999;
}
.l-footer a {
  color: #222;
  transition: all .2s;
}
.l-footer a:hover {
  color: #222;
  text-decoration: unset;
  opacity: .4;
}
.l-footer__area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
  width: 82%;
}
.l-footer__area .area-item {
  width: 28%;
}
.l-footer__area .area-unit {
  width: 72%;
}
.l-footer__area .area-unit p {
  font-size: 1.4rem;
  text-align: right;
}
.l-footer__area .area-item .area-item__title a {
  font-size: 2rem;
  font-weight: bold;
}
.l-footer__area .area-item .area-item__lead {
  color: #666;
  font-size: 1.4rem;
  padding-top: 8px;
}
.l-footer__area .area-list {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  width: 100%;
}
.l-footer__area .area-list li {
  position: relative;
  padding: 0 16px;
}
.l-footer__area .area-list li:before {
  position: absolute;
  content: "";
  border-left: 1px solid #222;
  top: 0;
  left: 0;
  height: 20px;
}
.l-footer__area .area-list li:first-child:before {
  border-left: none;
}
.l-footer__area .area-list li a {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  margin-right: 20px;
}
.l-footer__area .area-list li a:after {
  position: absolute;
  content: "";
  background-image: url(../img/link.svg);
  top: 0;
  right: -20px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}
.l-footer__area .area-list li a.area-list__coach:after {
  height: 0;
  width: 0;
}
@media screen and (max-width: 1200px) {
  .l-footer__area {
    display: block;
  }
  .l-footer__area .area-item,
  .l-footer__area .area-unit {
    width: 100%;
  }
  .l-footer__area .area-unit {
    margin-top: 12px;
  }
  .l-footer__area .area-unit p {
    text-align: left;
  }
  .l-footer__area .area-list {
    margin-top: 4px;
    justify-content: flex-start;
  }
  .l-footer__area .area-list li:first-child {
    padding-left: 0;
    padding-right: 16px;
  }
}
@media screen and (max-width: 768px) {
  .l-footer__area {
    min-width: calc(100% - 32px);
  }
  .l-footer__area .area-list {
    display: block;
  }
  .l-footer__area .area-list li a {
    font-size: 1.2rem;
  }
  .l-footer__area .area-list li,
  .l-footer__area .area-list li:first-child  {
    padding: 4px 0 0;
  }
  .l-footer__area .area-list li:before {
    height: 0;
  }
}
/* ===================== l-grid =====================*/
.l-grid__top {
  background-color: #F8F8F8;
}
.l-grid {
  background-image:
    repeating-linear-gradient(30deg, rgb(255, 255, 255) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(-30deg, rgb(255, 255, 255) 0 1px, transparent 1px 23px),
    linear-gradient(to bottom, rgba(248, 248, 248, 1), rgba(255, 255, 255, 1));
  background-size: 46.19px 78px, 46.19px 78px, 100% 100%;
  border-radius: 20px;
  inset: 0;
  padding: 40px 0;
  background-blend-mode: normal;
}

.elementary .l-grid {
  background-color: var(--elementary-bg);
}
.middle .l-grid {
  background-color: var(--middle-bg);
}
.high .l-grid {
  background-color: var(--high-bg);
}
@media screen and (max-width: 768px) {
  .l-grid {
    padding: 60px 0 0;
  }
}
/* ===================== l-contents =====================*/
.l-contents {
  position: relative;
  text-align: left;
  line-height: 1.6;
  margin: 60px auto 0;
  width: 92%;
}
.l-contents__wrapper {
  margin-top: 60px;
}
@media screen and (max-width: 768px) {
  .l-contents {
    margin-top: 100px;
    min-width: calc(100% - 64px);
    width: 96%;
  }
  .page-teach .l-contents {
    margin: 12px auto 0;
  }
}
/* ===================== c-tab =====================*/
.c-tab {
  position: fixed;
  overflow: hidden;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
  text-align: -ms-center;
  padding-top: 60px;
  width: 100%;
  z-index: -1;
}
.c-tab__list {
  display: flex;
  justify-content: center;
  border-radius: 0 0 8px 8px;
  width: 86%;
  max-width: 1200px;
}
.c-tab__list li {
  font-size: 2.4rem;
  padding: 0 40px;
  padding-bottom: 4px;
  transition: .2s;
  display: flex;
  margin: 0 20px;
}
.c-tab__list li.high-active {
  border-bottom: 4px solid var(--high-local);
}
.c-tab__list li.middle-active {
  border-bottom: 4px solid var(--middle-local);
}
.c-tab__list li.elementary-active {
  border-bottom: 4px solid var(--elementary-local);
}
@media screen and (max-width: 768px) {
  .c-tab {
    padding-top: 40px;
  }
  .c-tab__list {
    padding: 0 20px;
    width: fit-content;
  }
  .c-tab__list li {
    font-size: 1.6rem;
  }
  .c-tab__list a {
    font-size: 2rem;
  }
}
/* ===================== c-breadcrumb =====================*/
.c-breadcrumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 0;
}
.c-breadcrumb__list {
  display: flex;
  margin: 0 auto;
  width: 92%;
  max-width: 1200px;
  overflow-x: auto;
  white-space: nowrap;
}
.c-breadcrumb__list li {
  display: inline-block;
}
.c-breadcrumb__list li,
.c-breadcrumb__list a {
  font-size: 2rem;
  color: #222;
  font-weight: 400;
}
.c-breadcrumb__list li a {
  color: #222;
  position: relative;
  transition: .2s;
}
.c-breadcrumb__list li a:after {
  content: "/";
  margin: 0 8px;
}
.c-breadcrumb__list li:last-child:after {
  content: "";
}
.c-breadcrumb__list .list-home:before {
  font-family: "Font Awesome 6 Free";
  content: "\e3af";
  font-weight: 900;
  padding-right: 8px;
  top: 0;
  left: -24px;
}
.c-breadcrumb__list a:hover {
  opacity: .4;
}
.c-breadcrumb__list.enquete {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .c-breadcrumb__list {
    min-width: calc(100% - 64px);
  }
  .c-breadcrumb__list li,
  .c-breadcrumb__list a {
    font-size: 1.6rem;
  }
}
/* ===================== page-top =====================*/
.page-top {
  background: #fff;
  padding: 48px;
  margin-top: 40px;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .10));
  will-change: filter;
}
.page-top__img {
  margin: 0 auto;
  width: 36%;
}
.page-top__title {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
}
.page-top__lead {
  text-align: center;
  font-weight: bold;
  padding-top: 20px;
}
.page-top__classcode {
  text-align: center;
  background: #fff;
  padding: 20px;
  margin: 20px auto 0;
  width: 40%;
}
.page-top__classcode p {
  font-size: 2.4rem;
  font-weight: bold;
}
.page-top__unit {
  justify-content: center;
  margin-top: 40px;
}
.page-top__unit.row-cols-4>* {
  width: 24%;
}
.page-top__unit .unit-item {
  text-align: center;
  border-radius: 28px;
  padding: 24px 20px 60px;
  margin: 20px 4px 0;
}
.page-top__unit .unit-title {
  font-size: 2.8rem;
  font-weight: bold;
  padding-top: 32px;
}
.page-top__unit .unit-btn {
  position: relative;
  margin-top: 12px;
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
}
.page-top__unit .unit-btn a {
  display: block;
  padding: 12px 36px;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: .08em;
  border: 2px solid var(--elementary-local);
  background: #fff;
  border-radius: 50px;
  margin-top: 28px;
  box-shadow: 0 8px 0 0 var(--elementary-local);
  -webkit-box-shadow: 0 8px 0 0 var(--elementary-local);
  -moz-box-shadow: 0 8px 0 0 var(--elementary-local);
  transition-property: background;
  transition: .2s;
  max-width: 240px;
}
.page-top__unit .unit-btn a:hover {
  transform: translate(0, 4px);
  -webkit-transform: translate(0, 4px);
  box-shadow: 0 4px 0 0 var(--elementary-local);
  -webkit-box-shadow: 0 4px 0 0 var(--elementary-local);
  -moz-box-shadow: 0 4px 0 0 var(--elementary-local);
}
.page-top__unit .unit-btn ruby {
  /* display: block; */
  letter-spacing: .12em;
}
@media screen and (max-width: 960px) {
  .page-top__title {
    font-size: 2.8rem;
  }
  .page-top__unit {
    margin-top: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .page-top__unit .unit-item {
    margin-top: 20px;
    width: 48%;
  }
}
@media screen and (max-width: 1200px) {
  .page-top {
    padding: 48px 20px;
  }
}
@media screen and (max-width: 768px) {
  .page-top {
    padding: 20px;
  }
  .page-top__title {
    font-size: 2rem;
    padding-top: 32px;
  }
  .page-top__img {
    margin: 0 auto;
    width: 48%;
  }
  .page-top__unit {
    margin-top: 0;
  }
  .page-top__unit .unit-item {
    padding: 12px 12px 40px;
    margin-top: 20px;
    width: 100%;
    max-width: unset;
  }
  .page-top__unit .unit-btn a {
    max-width: 100%;
  }
  .page-top__unit .unit-title {
    font-size: 2.4rem;
    padding-top: 20px;
  }
  .page-top__unit .unit-btn a {
    margin-top: 20px;
  }
  .page-top__classcode {
    padding: 8px;
    margin: 8px auto 0;
    width: 80%;
  }
  .page-top__classcode p {
    font-size: 1.6rem;
  }
}
/*----------- elementary ----------*/
.elementary-bg {
  background: var(--elementary-bg);
}
.elementary-local:before {
  background: var(--elementary-local);
}
.elementary-layout {
  background: var(--elementary-layout);
}
.elementary-test {
  background: var(--elementary-test);
}
/*----------- middle ----------*/
.middle-bg {
  background: var(--middle-bg);
}
.middle-local:before {
  background: var(--middle-local);
}
.middle-layout {
  background: var(--middle-layout);
}
.middle-test {
  background: var(--middle-test);
}
.middle-layout .unit-btn a {
  border: 2px solid var(--middle-local);
  box-shadow: 0 8px 0 0 var(--middle-local);
  -webkit-box-shadow: 0 8px 0 0 var(--middle-local);
  -moz-box-shadow: 0 8px 0 0 var(--middle-local);
}
.middle-layout .unit-btn a:hover {
  box-shadow: 0 4px 0 0 var(--middle-local);
  -webkit-box-shadow: 0 4 0 0 var(--middle-local);
  -moz-box-shadow: 0 4px 0 0 var(--middle-local);
}
/*----------- high ----------*/
.high-bg {
  background: var(--high-bg);
}
.high-local:before {
  background: var(--high-local);
}
.high-layout {
  background: var(--high-layout);
}
.high-test {
  background: var(--high-test);
}
.high-layout .unit-btn a {
  border: 2px solid var(--high-local);
  box-shadow: 0 8px 0 0 var(--high-local);
  -webkit-box-shadow: 0 8px 0 0 var(--high-local);
  -moz-box-shadow: 0 8px 0 0 var(--high-local);
}
.high-layout .unit-btn a:hover {
  box-shadow: 0 4px 0 0 var(--high-local);
  -webkit-box-shadow: 0 4px 0 0 var(--high-local);
  -moz-box-shadow: 0 4px 0 0 var(--high-local);
}
/* ===================== p-card =====================*/
.p-card {
  margin: 0 auto;
  padding: 20px 0 40px;
  width: 92%;
}
.p-card__lead {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}
.p-card__incorrect,
.p-card__incorrect ruby,
.p-card__correct,
.p-card__correct ruby {
  font-size: 3.6rem;
  color: var(--btn);
  text-align: center;
}
.p-card__correct,
.p-card__correct ruby,
.p-card__correct span {
  color: var(--test-worksheet);
}
.p-card__incorrect span {
  font-size: 4rem;
  color: var(--btn);
}
.p-card__correct span {
  font-size: 4rem;
}
.p-card__item {
  background: #fff;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .10));
  will-change: filter;
  padding: 32px;
}
.p-card__item.answer-choice,
.p-card__item.answer-incorrect {
  padding: 40px 60px;
}
.p-card__item:nth-child(n+2) {
  margin-top: 32px;
}
.p-card__item .item-title,
.enquete .item-title {
  position: relative;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: .16em;
  padding-left: 24px;
}
.p-card__item .item-title:before,
.enquete .item-title:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 8px;
  top: 0;
  left: 0;
}
.enquete .item-title:before {
  background-color: #222;
}
.p-card__item .item-flex {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.p-card__item .item-flex__detail {
  width: 32%;
}
.p-card__item .item-img {
  max-width: 360px;
}
.p-card__item .item-lead {
  font-size: 1.8rem;
  margin-top: 20px;
  max-width: 360px;
}
.p-card__item .item-flex__list,
.enquete .item-flex__list {
  border-radius: 16px;
  padding: 16px;
  height: fit-content;
  width: 66%;
}
.enquete .item-flex__list {
  margin-top: 40px;
  width: 100%;
  background-color: #f8f8f8;
}
.p-card__item .item-flex__list li,
.enquete .item-flex__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 12px 20px 36px;
}
.p-card__item .item-flex__list li:nth-of-type(2n),
.enquete .item-flex__list li:nth-of-type(2n) {
  background: #fff;
  border-radius: 16px;
}
.p-card__item .item-flex__list p,
.enquete .item-flex__list p {
  font-size: 2rem;
  font-weight: 600;
  padding-right: 4px;
}
.p-card__item.answer-incorrect .answer-area,
.p-card__item.answer-correct .answer-area {
  background: rgba(56, 103, 243, .06);
  border-radius: 12px;
  padding: 32px;
  margin-top: 16px;
}
.p-card__item.answer-correct .answer-area {
  background: rgba(var(--test-worksheet-rgba), .06);
}
.p-card__item.answer-incorrect .answer-area .answer-flex,
.p-card__item.answer-correct .answer-area .answer-flex {
  display: flex;
  align-items: baseline;
  border-bottom: 4px solid rgba(56, 103, 243, .2);
  padding-bottom: 20px;
}
.p-card__item.answer-correct .answer-area .answer-flex {
  border-bottom: 4px solid rgba(var(--test-worksheet-rgba), .2);
}
.p-card__item.answer-incorrect .answer-area .answer-title,
.p-card__item.answer-correct .answer-area .answer-title {
  margin-right: 12px;
}
.p-card__item.answer-incorrect .answer-area .answer-problem,
.p-card__item.answer-correct .answer-area .answer-problem {
  margin: 0;
}
.p-card__item.answer-incorrect .answer-area .answer-content,
.p-card__item.answer-correct .answer-area .answer-content {
  font-size: 1.6rem;
}
.p-card__item.answer-incorrect .answer-item dd p,
.p-card__item.answer-correct .answer-item dd p {
  font-size: 1.8rem;
}
.p-card__item.answer-incorrect .answer-area .answer-img,
.p-card__item.answer-correct .answer-area .answer-img {
  margin-left: 20px;
  width: 20%;
  min-width: 200px;
}
.p-card__item.answer-incorrect .answer-item,
.p-card__item.answer-correct .answer-item {
  padding-top: 20px;
}
.p-card__item.answer-incorrect .answer-item dl,
.p-card__item.answer-correct .answer-item dl {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  text-align: left;
  padding-left: 60px;
  width: 100%;
}
.p-card__item.answer-incorrect .answer-item dt,
.p-card__item.answer-incorrect .answer-item dd,
.p-card__item.answer-correct .answer-item dt,
.p-card__item.answer-correct .answer-item dd {
  font-size: 1.8rem;
  padding-bottom: 12px;
}
.p-card__item.answer-incorrect .answer-item dt,
.p-card__item.answer-correct .answer-item dt {
  width: 20%;
}
.p-card__item.answer-incorrect .answer-item dd,
.p-card__item.answer-correct .answer-item dd {
  width: 80%;
}
.p-card__item.answer-incorrect .answer-item .answer-item__incorrect,
.p-card__item.answer-correct .answer-item .answer-item__correct {
  position: relative;
}
.p-card__item.answer-correct .answer-item .answer-item__correct span {
  position: absolute;
  top: 2px;
  left: -28px;
  font-size: 2.4rem;
  color: var(--test-worksheet);
}
.p-card__item.answer-incorrect .answer-item .answer-item__incorrect span {
  position: absolute;
  top: 2px;
  left: -30px;
  font-size: 2.4rem;
  color: var(--btn);
}
.p-card__item.answer-incorrect .answer-item__flex,
.p-card__item.answer-correct .answer-item__flex {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 20px;
}
@media screen and (max-width: 960px) {
  .p-card {
    min-width: calc(100% - 120px);
  }
  .p-card__item .item-flex {
    display: block;
  }
  .p-card__item .item-flex__detail,
  .p-card__item .item-flex__list {
    width: 100%;
  }
  .p-card__item .item-lead {
    max-width: 100%;
  }
  .p-card__item .item-img {
    margin: 0 auto;
  }
  .p-card__item .item-flex__list {
    margin-top: 20px;
  }
  .p-card__item.answer-incorrect .answer-item dd,
  .p-card__item.answer-correct .answer-item dd {
    width: 100%;
  }
  .p-card__item.answer-incorrect .answer-item dl,
  .p-card__item.answer-correct .answer-item dl {
    padding-left: 20px;
  }
  .p-card__item.answer-incorrect .answer-item__flex,
  .p-card__item.answer-correct .answer-item__flex {

  }
}
@media screen and (max-width: 768px) {
  .p-card__item {
    padding: 20px 12px;
  }
  .p-card__item .item-lead {
    font-size: 1.6rem;
  }
  .p-card__item .item-flex__list p {
    font-size: 1.6rem;
  }
  .p-card__item .item-title {
    font-size: 1.8rem;
  }
  .p-card__item .item-flex__list li {
    display: block;
    padding: 16px 8px;
  }
  .p-card__item.answer-choice {
    padding: 16px 12px;
  }

}
/* ===================== test-list =====================*/
.p-card__item .item-flex__list.test-list {
  margin-top: 40px;
  width: 100%;
}
.p-card__item .item-flex__list.test-list .c-btn.secondary {
  max-width: fit-content;
  align-items: flex-end;
}
/* ===================== p-test =====================*/
.p-test {
  background: #fff;
  border-left: 12px solid #f2c744;
  margin: 40px auto 0;
  width: 92%;
}
.p-test__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}
.p-test__flex.secondary {
  border-bottom: 2px solid #888;
  padding: 40px 0 20px;
  margin: 0 40px;
}
.p-test__title {
  font-size: 2.4rem;
  font-weight: bold;
}
.p-test .c-btn.secondary {
  width: fit-content;
  max-width: 100%;
}
.p-test dl {
  background: #f5f5f5;
  display: flex;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-radius: 8px;
  width: 40%;
}
.p-test dt {
  width: 40%;
}
.p-test dd {
  text-align: right;
  width: 60%;
}
.p-test dd,
.p-test dt {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 2;
}
.p-test__btn {
  text-align: right;
  padding: 20px 40px 40px;
}
.p-test__btn.local {
  padding: 0;
}
@media screen and (max-width: 992px) {
  .p-test__flex.secondary {
    display: block;
  }
  .p-test dl {
    margin-top: 12px;
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .p-test .c-btn.secondary {
    max-width: fit-content;
  }
  .p-test__title {
    font-size: 1.8rem;
  }
  .p-test dl {
    padding: 6px 12px;
  }
  .p-test dd,
  .p-test dt {
    font-size: 1.4rem;
  }
  .p-test__btn {
    padding: 8px 12px 20px;
  }
  .p-test__flex {
    display: block;
    padding: 12px;
  }
  .p-test__flex.secondary {
    margin: 0 12px;
  }
}
/* ===================== p-score =====================*/
.p-score {
  font-weight: bold;
  padding: 40px 60px;
}
.p-score__text {
  font-size: 2rem;
  letter-spacing: .4rem;
  padding-top: 40px;
}
.p-score__text span {
  font-size: 4.8rem;
  letter-spacing: .2rem;
  color: var(--test-worksheet);
}
.p-score__title,
.p-score__text {
  text-align: center;
}
.p-score__title ruby {
  font-size: 3.6rem;
}
.p-score-lead {
  font-size: 1.8rem;
  padding-top: 32px;
}
.p-score__list {
  margin-top: 60px;
}
.p-score__list .list-incorrect,
.p-score__list .list-correct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(56, 103, 243, .06);
  border-radius: 8px;
  padding: 16px 24px;
  margin-top: 16px;
}
.p-score__list .list-incorrect:first-child,
.p-score__list .list-correct:first-child {
  margin-top: 0;
}
.p-score__list .list-correct {
  background: rgba(var(--test-worksheet-rgba), .06);
}
.p-score__list .list-number {
  font-size: 2.8rem;
  letter-spacing: .2rem;
  padding-right: 20px;
}
.p-score__list .list-title {
  width: 80%;
}
.p-score__list .list-result__incorrect,
.p-score__list .list-result__correct {
  font-size: 4rem;
  color: var(--btn);
}
.p-score__list .list-result__correct {
  color: var(--test-worksheet);
}
/*--------*/
.p-score__list--title {
  font-size: 1.8rem;
  text-align: center;
  background: rgba(var(--test-worksheet-rgba), .16);
  padding: 8px 0;
  width: 100%;
}
.p-score__list--table {
  background: rgba(var(--test-worksheet-rgba), .04);
  padding-bottom: 20px;
}
.p-score__list--table table {
  margin: 0 auto;
  width: 96%;
}
.p-score__list--table tr {
  border-bottom: 1px solid #cdcdcd;
  display: flex;
  justify-content: space-between;
}
.p-score__list--table td:first-child {
  font-weight: 400;
}
.p-score__list--table td,
.p-score__list--table th {
  padding: 12px 4px;
  width: 80%;
  word-break: break-all;
}
.p-score__list--table td:nth-child(n + 2),
.p-score__list--table th:nth-child(n + 2) {
  width: 20%;
}
/*--------*/
@media screen and (max-width: 768px) {
  .p-score {
    padding: 20px 12px;
  }
  .p-score__list {
    margin-top: 8px;
  }
  .p-score__list--table table {
    width: 92%;
  }
  .p-score__list--table tr {
    overflow: scroll;
    word-break: keep-all;
  }
  .p-score__title ruby {
    font-size: 1.8rem;
  }
  .p-score__text {
    font-size: 1.6rem;
    padding-top: 8px;
  }
  .p-score__text span {
    font-size: 2.8rem;
  }
  .p-score__list .list-number {
    font-size: 2rem;
  }
  .p-score__list .list-incorrect,
  .p-score__list .list-correct {
    padding: 12px;
  }
  .p-score__list .list-result__incorrect,
  .p-score__list .list-result__correct {
    font-size: 2.4rem;
  }
  .p-score__list .list-title {
    font-size: 1.4rem;
  }
}
/* ===================== c-btn =====================*/
.c-btn {
  position: relative;
  align-items: center;
  display: inline-flex;
  align-items: baseline;
  cursor: pointer;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  background: var(--btn);
  padding: 12px 24px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 0 0 #A7BBFA;
  -webkit-box-shadow: 0 4px 0 0 #A7BBFA;
  -moz-box-shadow: 0 4px 0 0 #A7BBFA;
  width: calc(100% - 200px);
  max-width: 210px;
  transition: .2s;
}
.c-btn.secondary {
  background: var(--test-worksheet);
  box-shadow: 0 4px 0 0 #FAA7BB;
  -webkit-box-shadow: 0 4px 0 0 #FAA7BB;
  -moz-box-shadow: 0 4px 0 0 #FAA7BB;
}
.c-btn.local {
  background: #eee;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
.c-btn.score {
  color: #222!important;
  background: #fbfbfb;
  box-shadow: 0 4px 0 0 #cdcdcd;
  -webkit-box-shadow: 0 4px 0 0 #cdcdcd;
  max-width: fit-content;
  transition: .2s;
}
.c-btn.local ruby {
  color: #222;
}
.c-btn.score p,
.c-btn.score ruby {
  color: #222;
}
.c-btn__play {
  position: relative;
  display: inline-block;
  color: #fff;
  height: 32px;
  width: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin-left: 8px;
}
.c-btn__play:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 32%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  border: .8rem solid transparent;
  border-left: 1.4rem solid currentColor;
  box-sizing: border-box;
}
.c-btn__arrow {
  position: relative;
  display: inline-block;
  color: #fff;
  width: 32px;
  height: 32px;
  margin-left: 8px;
}
.c-btn__arrow:before,
.c-btn__arrow:after {
  position: absolute;
  content: "";
  top: 50%;
}
.c-btn__arrow:before {
  background: #fff;
  border-radius: 2px;
  width: 24px;
  height: 4px;
  left: 0;
  transform: translateY(-50%);
}
.c-btn__arrow:after {
  border-radius: 2px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 16px;
  height: 16px;
  left: 8px;
  margin-top: -8px;
}
.c-btn p,
.c-btn ruby {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: inherit;
}
.c-btn ruby rt {
  font-size: 1.4rem;
}
.c-btn:hover {
  color: #fff;
  opacity: 1;
  transform: translate(0, 4px);
  -webkit-transform: translate(0, 4px);
  -moz-transform: translate(0, 4px);
  box-shadow: 0 0 0 0 #A7BBFA;
  -webkit-box-shadow: 0 0 0 0 #A7BBFA;
  -moz-box-shadow: 0 0 0 0 #A7BBFA;
}
.c-btn.local:hover {
  transform: translate(0);
  -webkit-transform: translate(0);
  -moz-transform: translate(0);
}
.c-btn__local {
  position: relative;
  display: block;
  font-weight: bold;
  text-align: center;
  border: 1px solid #222;
  border-radius: 50px;
  padding: 8px 20px;
  transition: .3s;
}
.c-btn__local:after {
  font-family: "Font Awesome 6 Free";
  content: "\f08e";
  font-weight: 900;
  padding-left: 4px;
  top: 0;
}
.c-btn__local:hover {
  border: 1px solid var(--elementary-local);
  background: var(--elementary-local);
  color: #fff;
}
.middle-local .c-btn__local:hover {
  border: 1px solid var(--middle-local);
}
.high-local .c-btn__local:hover {
  border: 1px solid var(--high-local);
}
.c-btn__local.secondary {
  border-radius: 4px;
}
.c-btn__local.secondary:hover {
  color: #fff;
  border: 1px solid var(--btn);
  background: var(--btn);
}
.c-btn__local.tertiary {
  color: #222;
  background: #fff;
  border: 1px solid #3867F3;
  height: fit-content;
  min-width: 220px;
}
.c-btn__local.tertiary:hover {
  text-decoration: unset;
  color: #fff;
  background: #3867F3;
}
.c-btn__login {
  font-weight: bold;
  text-align: center;
  margin-top: 32px;
}
.c-btn__login.secondary {
  text-align: right;
}
.c-btn__login.secondary ruby {
  color: #3867F3;
}
.c-btn__login a {
  color: #3867F3;
  border-bottom: 2px solid #3867F3;
  padding-bottom: 8px;
  display: inline-block;
  transition: .2s;
}
.c-btn__login a:hover {
  color: #3867F3;
  text-decoration: none;
  opacity: .6;
}
.c-btn__login.howto{
  margin-top: 2px;
  font-weight: revert;
}
.c-btn__login.howto a{
  padding: 2px;
}
.c-btn__code {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
  border: 1px solid #A1A1A1;
  border-radius: 4px;
  text-decoration: unset;
  background: #fff;
  padding: 8px 20px;
  margin-right: 12px;
  letter-spacing: .2em;
  width: fit-content;
  transition: .2s;
}
.c-btn__code:hover {
  color: #fff;
  text-decoration: unset;
  background: #666;
}
.c-btn__code.secondary {
  border: 1px solid var(--test-worksheet);
}
.c-btn__code.secondary:hover {
  background: var(--test-worksheet);
  -webkit-background: var(--test-worksheet);
}
.c-btn__code.tertiary{
  color: #fff;
  background: var(--btn);
  border: 1px solid var(--btn);
  cursor: default;
}
.c-btn__code.local {
  background: rgba(56, 103, 243, .1);
  border-color: var(--btn);
}
.c-btn__code.local:hover {
  color: #fff;
  background: var(--btn);
}
.c-btn__code.local.secondary {
  background: rgba(var(--test-worksheet-rgba), .1);
  border-color: var(--test-worksheet);
}
.c-btn__code.local.secondary:hover {
  background: var(--test-worksheet);
}
.c-btn__code.common {
  display: inline-block;
  border-color: #198754;
  margin-right: 0;
  margin-left: 0;
  width: fit-content;
  height: fit-content;
}
.c-btn__code.common:hover {
  background: #198754;
}
.c-btn__code.common.new {
  border: 1px solid #3867F3;
  margin-left: 0;
}
.c-btn__code.common.new:hover {
  background-color: #3867F3;
}
.c-btn__code.common.new.cursor {
  cursor: pointer;
}
.c-btn__code.warning {
  border-color: #F2C744;
}
.c-btn__code.warning:hover {
  color: #222;
  background: #F2C744;
}
.c-btn__code.update,
.c-btn__code.private {
  margin-right: 0;
}
.c-btn__code.update:after {
  font-family: "Font Awesome 6 Free";
  content: "\f2f9";
  font-weight: 900;
  padding-left: 4px;
  top: 0;
}
.c-btn__copy {
  position: relative;
  display: block;
  font-weight: bold;
  text-align: center;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 8px 20px;
  transition: .3s;
  color: #222;
  background: #fff;
  border: 1px solid #3867F3;
  width: 100%;
  margin-top: 40px;
}
.c-btn__copy:after {
  font-family: "Font Awesome 6 Free";
  content: "\f0c5";
  font-weight: 900;
  padding-left: 4px;
  top: 0;
}
.c-btn__copy:hover {
  text-decoration: unset;
  color: #fff;
  background: #3867F3;
  cursor: pointer;
}
.c-btn.enquete {
  display: block;
  font-size: 1.6rem;
  color: #222;
  background-color: #fff;
  padding: 8px;
  text-align: center;
  border: solid 2px #838383;
  box-shadow: 0 4px 0 0 #838383;
  -webkit-box-shadow: 0 4px 0 0 #838383;
  -moz-box-shadow: 0 4px 0 0 #838383;
  min-width: 220px;
}
.c-btn.enquete:hover {
  box-shadow: 0 0 0 0 #838383;
  -webkit-box-shadow: 0 0 0 0 #838383;
  -moz-box-shadow: 0 0 0 0 #838383;
}
.c-btn__code.private {
  color: #fff;
  background-color: #838383;
}
.c-btn__code.private:hover {
  color: #222;
  background-color: #fff;
}
.c-btn__code.open {
  display: inline-block;
  border-color: #198754;
  background: #198754;
  color: #fff;
  margin-right: 0;
  margin-left: 0;
  width: fit-content;
  height: fit-content;
}
.c-btn__code.open:hover {
  background: #fff;
  color: #000;
}
@media screen and (max-width: 1200px) {
  .c-btn.enquete {
    font-size: 1.4rem;
    padding: 4px 12px;
    margin-left: 0;
    margin-bottom: 8px;
  }
}
@media screen and (max-width: 960px) {
  .c-btn__local {
    padding: 4px 12px;
    max-width: 100%;
  }
  .p-card__item .item-flex__list.test-list .c-btn.secondary {
    max-width: 200px;
  }
  .c-btn.score {
    width: fit-content;
    max-width: fit-content;
  }
}
@media screen and (max-width: 768px) {
  .c-btn {
    font-size: 1.4rem;
    justify-content: space-between;
    padding: 8px 16px;
    margin-top: 8px;
    width: 100%;
  }
  .c-btn p,
  .c-btn ruby {
    font-size: 1.6rem;
  }
  .c-btn ruby rt {
    font-size: 1.2rem;
  }
  .c-btn__play {
    height: 24px;
    width: 24px;
  }
  .c-btn__play:before {
    border: .6rem solid transparent;
    border-left: 1rem solid currentColor;
  }
  .c-btn__local {
    font-size: 1.4rem;
  }
  .c-btn__local:last-child {
    margin-left: 0;
    margin-top: 16px;
  }
  .c-btn__local.tertiary {
    margin: 20px auto 0;
    height: fit-content;
  }
  .p-card__item .item-flex__list.test-list .c-btn.secondary {
    max-width: unset;
    width: 100%;
  }
  .c-btn.score {
    width: 100%;
  }
  .c-btn__code.common {
    margin-left: 0;
    margin-top: 8px;
  }
  .c-btn__unit {
    display: block;
  }
}
/* ===================== c-tab =====================*/
#c-tab.UpMove{
  animation: UpAnime .5s forwards;
  -webkit-animation: UpAnime .5s forwards;
  -moz-animation: UpAnime .5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
  }
}
#c-tab.DownMove{
  animation: DownAnime .5s forwards;
  -webkit-animation: DownAnime .5s forwards;
  -moz-animation: DownAnime .5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 0;
    transform: translateY(-100px);
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
  }
}
/* ===================== c-warning  =====================*/
.c-warning {
  margin: 0 auto;
  width: 92%;
  max-width: 1200px;
}
.c-warning p, .c-warning p ruby {
  font-size: 2rem;
  font-weight: bold;
  color: var(--test-worksheet);
  padding-top: 12px;
}
/* ===================== c-explanation  =====================*/
.c-explanation {
  margin-top: 60px;
}
.c-explanation__title {
  color: var(--test-worksheet);
  font-weight: bold;
}
.c-explanation__text {
  background: rgba(var(--test-worksheet-rgba), .06);
  border: 2px solid rgba(var(--test-worksheet-rgba), .4);
  border-radius: 8px;
  padding: 24px;
  margin-top: 4px;
}
@media screen and (max-width: 768px) {
  .c-explanation {
    margin-top: 20px;
  }
  .c-explanation__text {
    padding: 12px;
    word-break: break-all;
  }
}
/* ===================== page-teach =====================*/

/* ===================== p-section =====================*/
.p-section {
  position: relative;
  margin-top: 40px;
}
.p-section__card {
  background: #fff;
  border-left: 12px solid var(--elementary-local);
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .10));
  will-change: filter;
  padding: 36px 60px;
  margin-top: 24px;
}
.p-section__card:first-child {
  margin-top: 0;
}
.p-section__card.middle-local {
  border-left: 12px solid var(--middle-local);
}
.p-section__card.high-local {
  border-left: 12px solid var(--high-local);
}
.p-section__card .card-flex {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #222;
  padding-bottom: 20px;
}
.p-section__card .card-flex__title {
  font-size: 2.8rem;
  font-weight: bold;
}
.p-section__card .card-flex__item {
  display: flex;
  margin-left: 40px;
}
.card-inner {
  margin-top: 36px;
}
.card-inner__list {
  display: flex;
  align-items: baseline;
  margin-top: 24px;
}
.card-inner__list dt {
  width: 20%;
}
.card-inner__list dd {
  width: 80%;
}
.card-inner__list dt {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: end;
}
.card-inner__list .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 24px;
  margin-left: 40px;
}
.card-inner__list .list-item:nth-child(n + 2) {
  padding-top: 24px;
}
.card-inner__list .list-item.secondary {
  display: block;
}
.card-inner__list .list-item p {
  font-weight: bold;
}
.card-inner__list .list-item .list-item__btn {
  display: flex;
}
.card-inner__list .list-item__ws {
  font-size: 2rem;
  padding-bottom: 20px;
}
.card-inner__list .list-item__flex {
  display: flex;
  justify-content: space-between;
}
.card-lead {
  text-align: center;
  font-weight: bold;
  font-size: 2.2rem;
  padding-bottom: 20px;
}
@media screen and (max-width: 1200px) {
  .p-section__card .card-flex__item {
    padding-top: 24px;
    margin-left: 0;
  }
  .p-section__card .card-flex {
    display: block;
  }
  .card-inner__list {
    display: block;
  }
  .card-inner__list dt,
  .card-inner__list dd {
    width: 100%;
  }
  .card-inner__list dt {
    text-align: left;
  }
  .card-inner__list dd {
    margin-top: 20px;
  }
  .card-inner__list .list-item {
    margin-left: 20px;
  }
}
@media screen and (max-width: 960px) {
  .p-section__card {
    padding: 36px 40px;
  }
  .card-inner__list .list-item {
    display: block;
  }
  .card-inner__list .list-item p,
  .card-inner__list .list-item .list-item__btn {
    width: 100%;
  }
  .card-inner__list .list-item .list-item__btn {
    padding-top: 16px;
  }
}
@media screen and (max-width: 768px) {
  .p-section__card {
    border-left: 4px solid var(--elementary-local);
    padding: 16px 20px;
  }
  .p-section__card .card-flex__title {
    font-size: 2rem;
  }
  .p-section__card .card-flex__item,
  .card-inner__list .list-item .list-item__btn {
    display: block;
    padding-top: 20px;
  }
  .card-inner__list dt {
    font-size: 1.8rem;
  }
  .card-inner__list dd {
    margin-top: 8px;
  }
  .card-inner__list .list-item {
    margin-left: 0;
  }
  .p-section__card .col-2,
  .p-section__card .col-10,
  .p-section__card .col-6 {
    width: 100%;
  }

  .card-inner__list .list-item__ws {
    font-size: 1.6rem;
  }
  .card-inner__list .list-item__flex {
    display: block;
  }
}
/* ===================== p-login =====================*/
.p-login {
  background: #fff;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .10));
  will-change: filter;
  padding: 40px;
  margin-top: 40px;
}
.p-login.secondary {
  margin: 20px auto 0;
  width: 80%;
}
.p-login .form-signin {
  margin: 0 auto;
  width: 60%;
  max-width: 400px;
}
.p-login .form-label {
  font-size: 1.8rem;
}
.p-login .form-unit {
  margin-top: 32px;
}
.p-login label {
  margin-bottom: .4rem;
}
.p-login input {
  font-size: 1.8rem;
}
.p-login ::placeholder {
  color: #cdcdcd;
}
.p-login .form-control {
  border: 2px solid #CDCDCD;
  border-radius: 8px!important;
  height: 40px;
  width: 100%;
}
.p-login .form-group {
  margin-bottom: 16px;
}
.form-group .confirm {
  padding-top: 8px;
}
.p-login .btn-primary {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: .08rem;
  color: #222;
  background-color: #fff;
  border: 2px solid #3867F3;
  border-radius: 8px!important;
  margin-top: 40px;
  width: 100%;
}
.p-login .btn-primary:hover {
  color: #fff;
  background: var(--btn);
}
.p-login .btn-lg {
  padding: 8px 0;
}
.p-login .text-divider {
  margin: 64px auto 0;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  color: #666;
}
.p-login .text-divider::before ,.text-divider::after{
  content: '';
  height: 1px;
  background-color: #666;
  flex-grow: 1;
}
.p-login .text-divider::before {
  margin-right: 10px;
}
.p-login .text-divider::after{
  margin-left: 10px;
}
.p-login .howto-link{
  margin: 40px auto 0;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 16px;
  text-align: center;
}
.howto-link .fa-up-right-from-square{
  color: #3867F3;
}
.link-title{
  font-weight: bold;
}
.p-login .teacher-mov{
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .p-login {
    padding: 20px;
  }
  .p-login .form-signin {
    width: 100%;
  }
  .p-login.secondary {
    width: 100%;
  }
}
/* ===================== p-table =====================*/
.p-table {
  background-color: #fff;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .1));
  will-change: filter;
  padding: 40px;
  margin-top: 40px;
  min-height: 480px;
}
.p-table.table-responsive {
  padding: 36px 60px;
}
.p-table.table-responsive h2 {
  font-size: 2.4rem;
  padding-bottom: 20px;
}
.p-table .table {
  font-weight: bold;
}
.p-table .table td,
.p-table  .table th,
.p-table .table thead th {
  word-break: keep-all;
  border: none;
  vertical-align: middle;
  padding: 8px;
}
.p-table .table-striped tbody tr:nth-of-type(odd) {
  /*background-color: rgba(56, 103, 243, .1);*/
}
.p-table .table-category {
  display: block;
}
.p-table .table-category div {
  display: flex;
  padding-bottom: 8px;
}
.p-table .table-category div:last-child {
  padding-bottom: 0;
}
.p-table .table-category div p {
  word-break: keep-all;
}
.p-table .table-category p:first-child {
  margin-right: 12px;
}
.p-table .table-control {
  display: flex;
  align-items: center;
  justify-content: end;
}
.p-table .table-control__btn {
  display: flex;
  justify-content: center;
  word-break: keep-all;
}
.p-table .table-control__link {
  color: #3F5BEC;
  text-decoration: underline;
  border-radius: 4px;
  transition: .2s;
}
.p-table .table .table-control__link:hover {
  text-decoration: underline!important;
  opacity: .6;
}
.p-table .table .table-control__edit {
  color: #3F5BEC;
  text-decoration: underline;
  word-break: keep-all;
  border-radius: 4px;
  margin-right: 40px;
  transition: .2s;
}
.p-table .table .table-control__edit:hover {
  text-decoration: underline!important;
  opacity: .6;
}
.p-table .c-btn__code.secondary,
.p-table .c-btn__code.tertiary,
.p-table .c-btn__code.warning {
  margin-right: 0;
  word-break: keep-all;
}
.p-table .c-btn__code.danger {
  margin-right: 12;
  background-color: #dc3545;
  color: white;
}
.p-table .c-btn__code.sub.secondary,
.p-table .c-btn__code.sub.tertiary {
  min-width: 160px;
  text-align: center;
}
.p-table__title {
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .p-table .table td {
   /* display: inline-block;*/
  }
  .p-table.table-responsive {
    padding: 16px;
    margin-top: 20px;
  }
  .p-table.table-responsive h2 {
    font-size: 2rem;
    padding-bottom: 8px;
  }
}
/* ===================== modal =====================*/
#modal-overlay {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0, .8 );
  margin: 20px auto;
  overflow-y: hidden;
  z-index: 9999;
}
#modal-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  flex: 1 1 auto;
  width: 100%;
  max-width: 1020px;
}
.modal-wrapper iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.modal-wrapper .answer-free,
.modal-wrapper .answer-choice {
  display: none;
}
.modal-wrapper {
  position: relative;
  padding: 56.25% 0 0 0;
}
.modal-wrapper.ws-free,
.modal-wrapper.ws-choice {
  padding: 60px 0 40px;
  background: #fff;
}
.modal-wrapper.ws-free .answer-free,
.modal-wrapper.ws-choice .answer-choice {
  display: block;
  margin: 0 auto;
  width: 92%;
}
.modal-wrapper.ws-free iframe,
.modal-wrapper.ws-choice iframe {
  display: none;
}
.modal-close__btn {
  position: absolute;
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
  top: -5.2rem;
  right: -.4rem;
  left: auto;
  cursor: pointer;
  transition: .3s;
}
a.modal-close__btn:not([href]):not([tabindex]) {
  color: #fff;
}
a.modal-close__btn:hover:not([href]):not([tabindex]) {
  color: #fff;
  opacity: .4;
}
@media screen and (max-width: 920px) {
  #modal-content {
    width: 60%;
  }
  .modal-close__btn {
    font-size: 3rem;
    top: -4rem;
  }
}
@media screen and (max-width: 768px) {
  #modal-content {
    width: 62%;
    top: 40%;
  }
  .modal-close__btn {
    font-size: 3.2rem;
    top: -4rem;
  }
}
@media screen and (max-width: 520px) {
  #modal-content {
    width: 100%;
    top: 50%;
  }
}
/* ===================== answer =====================*/
.answer-title {
  position: relative;
  font-size: 2.4rem;
  font-weight: bold;
  padding-bottom: 12px;
}
.answer-area {
  margin-top: 16px;
}
.answer-area .answer-content {
  font-size: 2rem;
  font-weight: bold;
}
.answer-area .answer-problem {
  justify-content: space-between;
  margin: 40px 0;
}
.answer-problem .answer-img {
  width: 30%;
  min-width: 360px;
}
.answer-choice .answer-img {
  margin-left: 20px;
  width: 30%;
  min-width: 320px;
}
.answer-item {
  text-align: center;
  font-size: 2.4rem;
  font-weight: bold;
  padding-top: 40px;
}
.answer-area__item {
  background: #f5f5f5;
  padding: 12px;
  justify-content: space-between;
}
.answer-area__item p {
  font-size: 2rem;
  font-weight: bold;
}
.form-btn {
  text-align: right;
  margin-top: 40px;
}
.form-btn .c-btn__code {
  margin: 0;
}
.form-btn .c-btn {
  width: fit-content;
  max-width: unset;
}
.form-btn.secondary .c-btn.secondary {
  color: #222;
  background: #F2C744;
  box-shadow: 0 4px 0 0 rgba(242, 199, 68, .3);
  -webkit-box-shadow: 0 4px 0 0 rgba(242, 199, 68, .3);
  -moz-box-shadow: 0 4px 0 0 rgba(242, 199, 68, .3);
}
.form-btn.secondary .c-btn.secondary:hover {
  box-shadow: 0 0 0 0 rgba(242, 199, 68, .3);
  -webkit-box-shadow: 0 0 0 0 rgba(242, 199, 68, .3);
  -moz-box-shadow: 0 0 0 0 rgba(242, 199, 68, .3);
}
.form-btn.secondary .c-btn.secondary ruby {
  color: #222;
}
.answer-correct,
.answer-incorrect {
  position: relative;
  z-index: 999;
}
.answer-correct__inner {
  position: absolute;
  width: 28em;
  height: 28em;
  border-radius: 50%;
  border: 40px solid rgba(var(--test-worksheet-rgba), .3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, 20%);
}
.answer-incorrect__inner:before,
.answer-incorrect__inner:after {
  position: absolute;
  display: block;
  content: "";
  width: 30em;
  height: 40px;
  background: #C3D1FC;
}
.answer-incorrect__inner {
  position: fixed;
  top: 46%;
  left: 30%;
}
.answer-incorrect__inner:before {
  transform: rotate(-45deg);
}
.answer-incorrect__inner:after {
  transform: rotate(45deg);
}

@media screen and (max-width: 1200px) {
  .answer-incorrect__inner {
    left: 20%;
  }
}
@media screen and (max-width: 768px) {
  .answer-title,
  .answer-item {
    font-size: 1.8rem;
  }
  .answer-area__item.d-flex {
    display: block!important;
  }
  .answer-area__item p {
    font-size: 1.6rem;
  }
  .answer-incorrect__inner {
    left: 12%;
  }
  .answer-choice .answer-img {
    padding-top: 12px;
    margin: 0 auto;
    min-width: 200px;
  }
  .answer-area .answer-content {
    font-size: 1.6rem;
  }
  .answer-area .answer-problem.d-flex {
    display: block!important;
    margin: 20px 0;
  }
  .form-btn {
    margin-top: 20px;
  }

}
/*--- free ---*/
.answer-free .answer-area .form-control {
  box-sizing: border-box;
  font-size: 1.6rem;
  border: 2px solid #CDCDCD;
  border-radius: 8px;
  background: #FBFBFB;
  padding: 8px;
  margin-top: 40px;
  width: 100%;
}

.answer-free .form-control {
  font-size: 1.6rem;
}

/*--- choice ---*/
.answer-choice #radio-form {
  margin-top: 40px;
}
.answer-choice .radio-img {
  margin: 20px auto;
  width: 50%;
}
.answer-choice input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cdcdcd;
  vertical-align: -4px;
  margin: 2px;
  outline: none;
}
.answer-choice input[type="radio"]:before {
  display: block;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: var(--test-worksheet);
  transform: translate(2px, 2px) scale(0);
  transform-origin: center;
  transition: all .3s cubic-bezier(.25, .25, .56, 2);
}
.answer-choice input[type="radio"]:checked {
  border: 2px solid var(--test-worksheet);
}
.answer-choice input[type="radio"]:checked::before {
  transform: translate(2px, 2px) scale(1);
}
.answer-choice label {
  display: block;
  border: 2px solid #cdcdcd;
  border-radius: 12px;
  cursor: pointer;
  padding: 16px 24px;
  margin-top: 12px;
}
.answer-choice #check-form label {
  padding: 16px 24px;
}
#check-form input[type="checkbox"] {
  opacity:0;
  appearance: none;
  position: absolute;
  margin-top: 0.4rem;
  margin-left: -2.4rem;
}
#check-form .form-check-text {
  display: inline-block;
  position: relative;
  padding-left: 32px;
  line-height: 2.2;
}
#check-form .form-check-text:before,
#check-form .form-check-text:after {
  position: absolute;
  top: 8px;
  width: 20px;
  height: 20px;
  transition: .3s;
}
#check-form span.form-check-text:before {
  content: "";
  border: 2px solid #eee;
  background: #fff;
  left: 0;
}
#check-form span.form-check-text:after {
  content: "\02713";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--test-worksheet);
  left: 2px;
  opacity: 0;
}
#check-form input[type="checkbox"]:checked + span.form-check-text:after {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .l-header__item .btn {
    display: block;
    position: fixed;
    top: 32px;
    right: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
  }
  .btn-line {
    display: block;
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #d6d5d5;
    transition: .2s;
  }
  .btn-line:before , .btn-line:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #d6d5d5;
    transition: .2s;
    left: 0;
  }
  .btn-line:before {
    transform: translateY(-16px);
  }
  .btn-line:after {
    transform: translateY(16px);
  }
  .btn-line.open {
    background-color: transparent;
  }
  .btn-line.open:before , .btn-line.open:after {
    content: "";
    background-color: #333;
    transition: .2s;
  }
  .btn-line.open:before {
    transform: rotate(45deg);
  }
  .btn-line.open:after {
    transform: rotate(-45deg);
  }
  .menu {
    display: flex;
    left: -100%;
    height: 100vh;
    background-color: #fff;
    transition: .3s;
  }
  .menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .menu-list:hover {
    background-color: rgba(255, 255, 255, .5);
    color: #333;
    cursor: pointer;
    transition: .3s;
  }
  .menu.open {
    position: absolute;
    left: 0;
    text-align: center;
  }
  .item-flex__name.menu-list {
    display: initial;
  }
  .answer-choice #check-form label {
    padding: 8px 16px;
  }
  .answer-choice .radio-img {
    width: 100%;
  }
}
/* ===================== work sheet modal.scssのデザイン修正内容 =====================*/
.modal {
  padding-top: 60px;
}
.modal-dialog {
  max-width: 520px;
}
.modal-content {
  border: none;
  border-radius: 0;
}
.modal-content .answer-free {
  margin: auto;
  width: 84%;
  padding: 60px 0;
}
.modal-body .text-end {
  font-size: 2.4rem;
}
@media screen and (max-width: 768px) {
  .modal {
    padding-top: 100px;
  }
}
@media screen and (min-width: 576px) {
  .modal.show .modal-dialog {
    width: 100%;
    max-width: 1020px;
  }
}
/* ===================== 指導者画面(/teacher/classcode/create) card.scss/border.scssの修正内容 =====================*/
/*-- border.scss --*/
.border-success {
  border: 2px solid #28a745;
  border-radius: 8px;
}
.border-warning {
  border: 2px solid #ffc107;
  border-radius: 8px;
}
/*-- card.scss --*/
.card {
  padding: 36px 60px;
}
/*    bootstrap reset    */
.card {
  border: none;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, .1));
  will-change: filter;
}
.card-header {
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  border-bottom: 0;
  padding: 16px;
}
.card-body .form-label {
  font-weight: bold;
}
.card-body .mb-3:last-child {
  margin-bottom: 12px;
}
.card-body .card-item,
.card-body .card-item .card-item__unit,
.card-body .card-item .card-item__unit .col-10 {
  margin-top: 16px;
  margin-right: 0;
  margin-left: 0;
}
.card-body .card-item .card-item__unit .p-3.bg-body {
  margin-left: 12px;
}
.card-body .form-check-input {
  margin-top: .4rem;
}
.card-body .form-check-label {
  padding-left: 4px;
  margin-bottom: 4px;
  width: 100%;
}
.card-body .d-grid.gap-2.col-6.mx-auto {
  text-align: center;
  padding-top: 32px;
  width: fit-content;
}
.card-body .btn-primary {
  font-weight: bold;
  font-size: 1.6rem;
  letter-spacing: .2rem;
  color: #222;
  border-color: var(--btn);
  background: #fff;
  padding: 8px;
}
.card-body .btn-primary:hover {
  color: #fff;
  background: var(--btn);
}
.card-body .form-control {
  padding: 8px;
  font-size: 1.6rem;
}
.card-body table th {
  font-weight: bold;
}
.card-body form h3 {
  padding-bottom: 8px;
}
.card-body .form-label {
  margin-bottom: 8px;
}
.card-body__key {
  width: 4%;
}
.card-body__id {
  width: 14%;
}
@media screen and (max-width: 768px) {
  .card {
    padding: 16px;
  }
  .card-header {
    font-size: 1.8rem;
  }
  .card-body {
    overflow: scroll;
  }
  .card-body .mb-3 .col-2 {
    padding: 0!important;
    width: 100%;
  }
}
.table>:not(caption)>*>* {
  padding: 12px;
}
.card.ws .table>:not(caption)>*>* {
  white-space: break-spaces;
  line-break: anywhere;
}
/*    reload-btn    */
.reload-btn {
  display: inline-flex;
  background: #fff;
  padding: 8px;
  border: 1px solid #222;
  border-radius: 4px;
  margin-left: 20px;
  transition: .2s;
}
.reload-btn:hover {
  opacity: .8;
  color: #444;
}
.reload-btn img {
  width: 18px;
}
.p-select {
  border: solid 1px #A1A1A1;
  border-radius: 4px;
  font-size: 1.6rem;
  padding: 8px 20px;
}
@media screen and (max-width: 768px) {
  .reload-btn {
    display: block;
    margin-left: 0;
    margin-top: 12px;
  }
  .card.ws .table>:not(caption)>*>* {
    line-break: unset;
  }
}
.subtitle{
font-size: 2.2rem;
border-left: 6px solid #222;
padding-left: 12px;
}

/*    question    */
select.form-select {
  font-size: 1.6rem;
  height: 100%;
}

.table-cell-ellipsis {
  white-space: nowrap; /* テキストを折り返さずに1行で表示 */
  overflow: hidden; /* テキストがはみ出た場合に隠す */
  text-overflow: ellipsis; /* テキストがはみ出た場合に省略記号 (...) を表示 */
}