/*
#QuestionAndScore {
  display: inline;
  border: 3px solid #14d7e3;
  margin-bottom: 10px;
  padding: 0px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:15px;

}
*/

#QuestionAndScore {
    display: inline;
    margin-bottom: 10px;
    padding: 0px;
    border-left: 2px solid #0097A7;
    max-height: 32px;
}

#QuestionAndScore p {
    border: none;
    width: auto;
    color: #00aab5;
    font-size: 13px;
    padding: 7px;
    margin: 0;
}

#AnswerFieldset {
    /*
  border: 2px solid rgba(0, 255, 240, 0.19);
  padding: 20px;
  background-color: rgb(217, 246, 255);
*/
    padding: 5px;
    border-radius: 8px;
    transition: 0.3s;
}

#AnswerFieldset legend {
    border: none;
    width: auto;
    font-size: 16px;
    padding: 0 10px;
    /*  margin: 0 auto 0 0;*/
}

#AnswerFieldset #radio-label-style {
    width: 100%
}

.panel-body_q {
    margin: 5px;
}


/*
#CourseList {
  border: 2px solid rgba(68, 137, 148, 0.21);
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  transition: 0.3s;
}

#CourseList legend{
  border: none;
  width: 100%;
  font-size: 16px;
  padding: 7px;
  margin: 0 auto 0 0;
}
*/

#CourseList {
    /*  border: 2px solid rgba(68, 137, 148, 0.21);*/
    /*  padding: 20px;*/
    border-radius: 0px;
    /*  background-color: #FFFFFF;*/
    transition: 0.3s;
}

#CourseList legend {
    border: none;
    width: 100%;
    font-size: 16px;
    padding: 7px;
    margin: 0 auto 0 0;
}

#radio-label-style {
    font-size: 16px;
    font-weight: 10;
}

.Table-Content {
    border: 2px solid #cffced;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.Content-result-style a {
    color: white;
    padding: 7px;
    border-radius: 8px;
    background-color: #ff7039;
}

.under-menubar {
    margin-bottom: 45px;
    margin-top: 10px;
}

.time-all-day {
    color: #1ABB9C;
    font-size: 20px;
}

.time-today {
    font-size: 20px;
}

.users-number {
    font-size: 20px;
}

.under-menubar div.screen-box {
    display: inline-table;
    /* border-left: 2px solid #333; */
}

.time-table-allday {
    width: 18%;
    margin: 2px;
}

.time-table-today {
    width: 18%;
}

.all-user {
    float: right;
    padding-left: 30px;
    padding-right: 40px;
}

@media only screen and (max-width:768px) {
    .time-all-day {
        color: #1ABB9C;
        font-size: 14px;
    }
    .time-today {
        font-size: 14px;
    }
    .users-number {
        font-size: 14px;
    }
    .under-menubar div.screen-box {
        display: inline-table;
        /* border-left: 2px solid #333; */
        overflow: hidden;
        padding-top: 10px;
    }
    .time-table-allday {
        padding-left: 10px;
        padding-right: 10px;
    }
    .time-table-today {
        padding-left: 10px;
        padding-right: 10px;
    }
    .all-user {
        float: right;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 9px;
    }
}

.grid-container {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 5 10 40 10px;
    margin: 0px;
}

.grid-container-cont {
    /*    display: grid;*/
    grid-gap: 15px;
    grid-template-columns: 80%;
    margin: 5 10 40 10px;
    margin: 0px;
}

.grid-container-info {
    /* margin: 20px; */
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr;
    /* margin: 5 10 40 10px; */
    border-radius: 10px;
    /* border: 2px solid #e2f6fd; */
    border-radius: 10px;
    /* text-align: center; */
    /* background-color: #e2f6fd; */
}

.grid-table {
    border: 1px black solid;
}

.grid-table-top {
    border: 1px black solid;
}

.grid-content {
    text-align: center;
    /*  font-size: 25px;*/
    font-size: 30px;
    padding: 15px;
    background: #e27272;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}

.grid-content-info {
    text-align: center;
    /*  font-size: 25px;*/
    font-size: 30px;
    padding: 15px;
    background: #68c0cabd;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}

.grid-content-course {
    text-align: center;
    /*  font-size: 25px;*/
    font-size: 30px;
    padding: 15px;
    background: #4368B6;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}

.grid-content-course_h {
    border: none;
    width: auto;
    border: 1px solid transparent;
    /*    background-color: #0086c0;*/
    background-repeat: repeat-x;
    margin: auto;
    padding: 10px 0px 0px 10px;
    overflow: hidden;
}

h3.grid-content-course_h {
    text-align: left;
}

p.grid-content-course_h {
    text-align: center;
}

.course_h {
    padding: 0 10px;
    margin: 0 0 0 0px !important;
    padding: 7px;
    /*    color: white;*/
    display: inline;
    line-height: 1.5em;
}

.grid-title {
    text-align: center;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

.grid-title-top {
    text-align: center;
    font-size: 20px;
    border-top: 1px solid black;
    padding: 10px;
    cursor: pointer;
}

.grid-title-cont {
    text-align: center;
    font-size: 20px;
    /*    padding: 10px;*/
    cursor: pointer;
}

.grid-infos {
    padding: 20px;
}

.label-block {
    background: #90CAF9;
    color: white;
    grid-column: 1/4;
    font-size: 25px #ffffff;
    padding: 15px;
    border-radius: 5px;
}

.label-block-cont {
    margin-top: 150px;
}

.grid-course {
    padding: 0px 0px 30px 0px;
}

.grid-course:hover {
    background-color: #CE93D8;
}

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
        /**grid-template-rows: auto; **/
    }
    .label-block {
        grid-column: 1/3;
    }
}

@media (max-width: 500px) {
    .grid-container {
        grid-template-columns: 1fr;
        /**grid-template-rows: auto; **/
    }
    .label-block {
        grid-column: 1/2;
    }
}

@media (max-width: 450px) {
    .all-user {
        float: none;
    }
}

.custom-progress {
    /*  height: 35px;*/
    width: 150px;
    margin: 5px;
}

.progress-right {
    float: right;
    margin-right: 15px;
    margin-top: 10px;
}

.progress-cont {
    float: left;
    margin-right: 15px;
    margin-top: -20px;
}

.users-courses-index {
    margin-top: 20px;
    margin: 10px;
}

.iconinfo {
    background: #26C6DA;
    text-align: center;
    padding: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    float: left;
}

.info {
    text-align: center;
    font-size: 16px;
    margin: 5px;
    margin-top: 30px;
    color: #fff;
}

h3.info {
    margin-top: 5px;
    font-weight: 700;
    text-align: center;
    padding-top: 3px;
    color: #1d1a6b;
}

h3.info-cont {
    margin-top: 15px;
    font-weight: 700;
    font-size: 16px;
}

.iconcourse {
    background: #f34e1b;
    text-align: center;
    padding: 5px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.iconcontent {
    background: #81D4FA;
    text-align: center;
    padding: 10px;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    margin: auto;
    transition: 2s;
    transform: rotateZ( 0deg);
    position: absolute;
    bottom: 220px;
    left: -10px;
    z-index: 10;
}

.iconcontent:hover {
    transform: rotateZ( 360deg);
}

.iconcontent img {
    width: 100%
}

.testcolor {
    background: #AED581;
}

.content-grid {
    /*    margin: 5px;*/
}

.btn-square-pop {
    position: absolute;
    width: 100%;
    top: 0;
    /*  display: inline-block;*/
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #FFF;
    background: #FFCA28;
    /*背景色*/
    border-bottom: solid 2px #FFC107;
    /*少し濃い目の色に*/
    border-radius: 10px 10px 0 0;
    /*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
    min-height: 70px;
}

.btn-square-pop:active {
    border-bottom: solid 2px #FFB300;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

.course_i {
    background-color: #CE93D8;
    border-radius: 10px;
    float: left;
}

.img-box {
    position: relative;
}

.img-box .active {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.img-box:hover .active {
    opacity: 1;
}

.course_t {
    padding: 10px 8px;
    float: left;
    min-width: 250px;
}

@media only screen and (max-width:650px) {
    .course_t {
        min-width: 200px;
    }
}

.course_bar {
    margin-right: 5px;
    margin-bottom: 5px;
}

.course_p {
    width: 240px;
    margin: 0 0 0 0px !important;
    display: flex;
}

.badge_i {
    border-radius: 50px;
    padding: 2px 7px;
    font-weight: bold;
}


/* スポンサー情報 */

.sponsor-area {
    margin: auto;
    width: 98%;
    /*    border: 1px solid darkblue;*/
    text-align: center;
}

.sponsor-title {
    margin: auto;
    width: 100%;
    font-size: 2.0rem;
    height: 5.0rem;
    padding-top: 1.5rem;
    text-align: center;
}

.sponsor-image {
    margin: auto;
    text-align: center;
    margin: 5px;
    /*    width: 85%; */
    min-width: 300px;
    max-width: 300px;
}

.sponsor-image:active,
.sponsor-image:hover {
    cursor: pointer;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

.iconsponsor {
    background: #e57373;
    text-align: center;
    padding: 10px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.list-group-item-course {
    position: relative;
    display: block;
    padding: 5px;
    background-color: #ddd0;
    border: 1px solid #ddd0;
    color: #333333;
}

.list-group-item-course:hover {
    color: white;
}

h3.list-group-item-course {
    text-align: left;
}

a.list-group-item-course {
    text-decoration: none;
}

.list-group-item-content {
    position: relative;
    display: block;
    padding: 50px 0 20px 0;
    margin-bottom: 10px;
    background-color: #fff;
    margin-bottom: 100px;
    /*    color: #555555;*/
    min-height: 250px;
    max-width: 80%;
    margin-top: 150px;
}

.list-group-item-content:hover {
    background-color: #FFE082;
}

.grid-test {
    margin: 15px;
}

.label-block-info {
    background: #26C6DA;
    color: white;
    grid-column: 1/4;
    font-size: 25px #ffffff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin: 10px;
    font-weight: bold;
}

.grid-container-infos {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0px;
}

.grid-container-infos_view {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0px;
    max-width: 900px;
    justify-items: auto;
}


/*
.btn-q{
    color: black;
    background-color: white;
    border-color: dimgrey;
    border-radius: 5px;
    border-style: solid;
}
.btn-q:hover {
     color: black;
     text-decoration: none;
    background-color: dimgray
}

.btn-q input[type="radio"]:checked + .switch-on {

    background-color: #a1b91d;

    color: #fff;

}
*/

.q_no {
    background-color: #0D47A1;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 5px;
}

.bg-explanation {
    background-color: #E6EE9C;
    margin: 5px;
    margin-bottom: 10px;
}

.bg-correct {
    background-color: #80DEEA;
    margin: 5px;
    margin-bottom: 10px;
}

.panel-q {
    margin: 5px;
}

#ContentsQuestionIndexForm {
    margin: 0;
    width: 100%;
}

#ContentsQuestionRecordForm {
    margin: 0;
    width: 100%;
}

.body-q {
    margin-bottom: 30px;
}

.stop-question {
    margin-left: -75px;
    background-color: #E91E63 !important;
}

.explain-btn {
    margin-left: -75px;
    background-color: #2196F3 !important;
}

.AfterCheck-img {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 60%;
    width: 100%;
    overflow: auto;
    /*background-color: rgba(0,0,0,0.5);    */
}

@media (orientation: landscape) {
    .AfterCheck-img {
        height: initial;
        overflow: initial;
    }
}

.correct-img-box,
.wrong-img-box {
    background-color: white;
    width: 240px;
    height: 90px;
    padding: 10px;
    margin: 50% auto;
    border-radius: 10px;
    border-style: solid;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4);
}

@media (orientation: landscape) {
    .correct-img-box,
    .wrong-img-box {
        margin: 20% auto;
    }
}

@media (orientation: landscape) and (min-width: 992px) {
    .correct-img-box,
    .wrong-img-box {
        margin: 25% auto;
    }
}

.correct-img-box {
    border-color: #05228c;
}

.wrong-img-box {
    border-color: red;
}

.box-img {
    float: left;
}

.box-img-text {
    float: right;
    vertical-align: middle;
    text-align: center;
    width: 60%;
    margin-top: 15px;
    font-size: 25px;
}

.box-text-correct {
    color: #2e70c0;
}

.box-text-wrong {
    color: red;
}

.panel-body .forgot-password-msg {
    margin: 10px;
    text-align: center;
}

.forgot-password {
    background-color: #00BCD4;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    margin: 5px;
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
}


/*アコーディオン*/

.accbox {
    /*
    margin: 2em 0;
    padding: 0;
*/
    /*    max-width: 400px;*/
}

.accbox label {
    display: block;
    position: relative;
    margin: 25px 5px 0;
    padding: 11px 12px;
    color: #0D47A1;
    font-weight: bold;
    background: #BBDEFB;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: all 0.5s;
    min-height: 100px;
}

@media (max-width:768px) and (max-height:1024px) {
    .accbox label {
        min-height: 120px;
    }
    .course_p {
        width: 175px !important;
    }
    .custom-progress {
        width: 100px;
    }
    .time-table-allday {
        width: 22%;
    }
    .time-table-today {
        width: 22%;
    }
}

@media (max-width: 736px) and (max-height: 414px) {
    .course_p {
        width: 310px !important;
    }
    .sub-lesson-card__anwer {
        display: flex;
    }
    .progress-cont {
        margin-top: -13px;
    }
}

@media (max-width: 414px) and (max-height: 736px) {
    .progress-cont {
        margin-top: -13px;
    }
    .time-table-allday {
        width: 45%;
        margin-right: 27.5%;
        margin-left: 27.5%;
        margin-bottom: 10px;
    }
    .time-table-today {
        width: 45%;
        margin-right: 27.5%;
        margin-left: 27.5%;
    }
}

.accbox label:hover {
    background: #85baef;
}

.accbox input {
    display: none;
}

.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

.cssacc:checked+.accshow {
    height: auto;
    margin: 0 5px;
    padding: 5px;
    background: #eaeaea;
    opacity: 1;
}

.accbox h2 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
}

.c_ribbon-content {
    position: absolute;
    top: -21px;
    right: -6px;
    width: 89px;
    height: 91px;
    overflow: hidden;
}

.c_ribbon {
    display: inline-block;
    position: absolute;
    padding: 7px 0;
    left: -23px;
    top: 22px;
    width: 160px;
    text-align: center;
    font-size: 18px;
    line-height: 16px;
    background: #FBC02D;
    color: #fff;
    letter-spacing: 0.05em;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.c_ribbon:before,
.c_ribbon:after {
    position: absolute;
    content: "";
    border-top: 4px solid #b2751b;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    bottom: -4px;
}

.c_ribbon:before {
    left: 14px;
}

.c_ribbon:after {
    right: 20px;
}

.grpname {
    background-color: #0D47A1;
    margin: -26px -12px;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.grp_i {
    /*    background-color: #CE93D8;*/
    border-radius: 10px;
    float: left;
    margin: 10px;
    top: -15px;
}

.clear_i {
    /*    background-color: #CE93D8;*/
    border-radius: 10px;
    float: left;
    margin: 10px;
    top: -30px;
}

.comp {
    position: absolute;
    font-weight: bold;
    color: crimson;
    font-size: 3.5vw;
    text-align: center;
    bottom: 20%;
    z-index: 20;
    opacity: 0.6;
}

@media (max-width: 1200px) {
    .comp {
        font-size: 6vw;
    }
}

@media (max-width: 500px) {
    .comp {
        font-size: 11vw;
    }
    .list-group-item-content {
        max-width: 90%;
    }
    .iconcontent {
        background: #81D4FA;
        bottom: 235px;
        left: -10px;
    }
}

div .list-group-item-content:nth-of-type(2n+1) {
    /*  background-color: pink;*/
}

div .list-group-item-content:nth-of-type(2n+1)::after {
    background-color: #BDBDBD;
    content: '';
    display: block;
    /* left: -50%; */
    top: 280px;
    width: 80%;
    height: 10%;
    overflow: hidden;
    position: absolute;
    -webkit-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    z-index: -2;
    transform: rotate(40deg);
}

div .list-group-item-content:nth-of-type(2n) {
    margin: 0 0 0 auto;
}

div .list-group-item-content:nth-of-type(2n)::after {
    background-color: #BDBDBD;
    content: '';
    display: block;
    /* left: -50%; */
    top: 280px;
    width: 80%;
    height: 10%;
    overflow: hidden;
    position: absolute;
    -webkit-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    z-index: -2;
    transform: rotate(-40deg);
}


/*
div .list-group-item-content:nth-last-of-type(3){
color: red;
}
*/

div .list-group-item-content:nth-last-of-type(1)::after {
    display: none;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: #fff;
    cursor: default;
    background-color: #5bc1c1;
    border: 1px solid #5bc1c1;
    border-bottom-color: transparent;
}

.nav-tabs>li>a,
.nav-tabs>li>a,
.nav-tabs>li>a {
    font-size: 20px;
    font-weight: 700;
    padding: 30px 15px 20px;
}


/*
.nav-tabs{
  border-bottom: 4px solid #5bc1c1;
}
*/

.ib-col-action {
    width: 220px;
    text-align: center;
}


/* .nav-tabs-name-customs{
  width: 50%;
} */

.nav-tabs>li>a {
    margin: 0;
    border-radius: 0;
}

.nihongo {
    border-top: solid 10px #ff7d6e;
    border-radius: 10px;
}

.manners {
    border-top: solid 10px #ff757c;
    border-radius: 10px;
}

.nav-tabs>li:nth-child(1).active>a,
.nav-tabs>li:nth-child(1).active>a:focus,
.nav-tabs>li:nth-child(1).active>a:hover {
    color: #fff;
    cursor: default;
    background-color: #8BC7F8;
    border: 1px solid #8BC7F8;
    border-bottom-color: transparent;
}

.tab-content>.active {
    display: block;
    margin-top: -18px;
    padding-top: 20px;
}

#N {
    /*
        background: #8BC7F8;
        padding-bottom: 30px;

*/
    border-top: 4px solid #8BC7F8;
}

#B {
    /*
        background: #5bc1c1;
        padding-bottom: 30px;
*/
    border-top: 4px solid #5bc1c1;
}

#B .accbox label {
    color: #017f95;
    background: #cfefea;
}

#B .grpname {
    background-color: #017f95;
}

.comp-content {
    position: absolute;
    font-weight: bold;
    color: crimson;
    font-size: 8vw;
    text-align: center;
    bottom: 20%;
    z-index: 20;
    opacity: 0.6;
}

@media (max-width: 1200px) {
    .comp-content {
        font-size: 6vw;
    }
    .course_p {
        width: 215px;
    }
}

@media (max-width:812px) and (max-height:375px) {
    .course_p {
        width: 210px;
    }
    .custom-progress {
        width: 135px;
    }
    b {
        font-size: 16px;
    }
    /************************************************contents****************************************************/
    progress.custom-progress.contents {
        margin-top: 10px;
    }
}

@media (max-width:375px) and (max-height:812px) {
    .progress-cont {
        margin-top: -10px;
    }
    b {
        font-size: 16px;
    }
    .time-table-allday {
        width: 45%;
        margin-right: 27.5%;
        margin-left: 27.5%;
        margin-bottom: 10px;
    }
    .time-table-today {
        width: 45%;
        margin-right: 27.5%;
        margin-left: 27.5%;
    }
}

@media (max-width:667px) and (max-height:375px) {
    progress.custom-progress.contents {
        margin-left: 0px;
        width: 68px;
    }
    .time-table-allday {
        width: 25%;
    }
    .time-table-today {
        width: 25%;
    }
}

@media (max-width: 350px) {
    .comp-content {
        font-size: 6vw;
    }
}

@media (max-width: 450px) {
    .custom-progress {
        /* height: 35px; */
        width: 110px;
        margin: 5px;
    }
}

@media (max-width: 750px) {
    .custom-progress {
        /* height: 35px; */
        width: 90px;
        margin: 5px;
    }
    .sub-lesson-card__anwer {
        font-size: 0.75rem;
        display: block;
    }
    .course_p {
        display: flex;
        padding: 0px;
    }
}