@charset "utf-8";

/*********************************************************************
*
*  For ALL
*
*********************************************************************/
label {
    font-weight: 400;
}

.pnow {
    font-size: 20pt;
}

.sort.desc:after {
    content: "▼";
}
.sort.asc:after {
    content: "▲";
}

.comp {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../img/ico/tangen.jpg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
#score::placeholder {
    text-align: left;
    font-size: 50%;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

.etc.is-show {
    display: block;
}

.etc {
    display: none;
}

.ja.is-show {
    display: block;
}

.ja {
    display: none;
}

.so.is-show {
    display: block;
}

.so {
    display: none;
}

.sc.is-show {
    display: block;
}

.sc {
    display: none;
}

.ma.is-show {
    display: block;
}

.ma {
    display: none;
}

.en.is-show {
    display: block;
}

.en {
    display: none;
}

.it.is-show {
    display: block;
}

.it {
    display: none;
}

/* ---------------------------------------------------- */
/* html body */
/* ---------------------------------------------------- */
html {
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    /* iPhone */
    overflow-y: scroll;
    font-size: 62.5%;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: #335371;
    line-height: 1.4;
    font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic,
        "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
        "MS Pゴシック", "MS PGothic", sans-serif;
    font-weight: 400;
    background-color: #f0f5fa;
    overflow: hidden;
}

body.hidden {
    visibility: hidden;
}

/* ---------------------------------------------------- */
/* img */
/* ---------------------------------------------------- */
img {
    display: block;
    width: 100%;
    height: auto;
}

nav img {
    display: block;
    width: unset;
    height: 100%;
}

/* ---------------------------------------------------- */
/* a */
/* ---------------------------------------------------- */
a {
    color: #335371;
    text-decoration: none;
    outline: none;
    transition: 0.3s ease-in-out;
}

a:hover {
    text-decoration: none;
}

/* ---------------------------------------------------- */
/* body_wrap */
/* ---------------------------------------------------- */
.body_wrap {
    max-height: 999999px;
    /* android chrome フォントサイズバグ回避 */
    opacity: 0;
}

/* ---------------------------------------------------- */
/* contents_wrap */
/* ---------------------------------------------------- */
.pt_1 .contents_wrap {
    padding-top: 80px;
}

.pt_2 .contents_wrap {
    padding-top: 70px;
}

/* ---------------------------------------------------- */
/* header_1 */
/* ---------------------------------------------------- */
.header_1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0px 5px 10px -5px rgba(51, 118, 170, 0.2);
    z-index: 100;
}

.header_1 .header_inner {
    position: relative;
    margin: 0 auto;
    min-width: 500px;
    height: 100%;
    display: flex;
    align-items: center;
}

.header_1 .header_logo_school {
    display: flex;
    align-items: center;
    max-width: 200px;
    height: 35px !important;
    margin-left: 20px;
    padding-left: 1px;
    padding-right: 1px;
  }
  
  .site_ttl2 img {
    display: inline;
    height: 35px !important;
  }
  
  /* cross icon */
  .header_1 .header_logo_cross {
    display: inline-flex;
    width: 15px;
    height: 35px;
    margin-left: 8px;
    margin-right: 7px;
    margin-top: 2px;
    /* background-color: red; */
    align-items: center;
  }
  
  .header_1 .site_ttl_cross {
    display: flex;
    width: 15px;
    height: 15px;
    /* background-color: rgb(17, 0, 255); */
    background-image: url(../a/img/logo/cross_icon.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    opacity: 0.6;
  }
  

.header_1 .mybestie_ttl {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 35px;
    background-image: url(../img/logo/mybestie_header_logo.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
}

.header_1 .header_logo {
    display:inline-flex;
    width: 60px;
    margin-left: 20px;
    z-index: 2;
}

.header_1 .site_ttl {
    display: flex;
    width: 100%;
    height: 35px;
    background-image: url(../img/logo/home_blue.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    margin-left: 10px;
}

.header_1 .site_ttl2 {
    display: flex;
    width: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.header_1 .nav_h1_wrap {
    position: absolute;
    left: 120px;
    top: 0;
    height: 100%;
}

.header_1 .nav_h1_wrap_customlogo {
    margin-left: 120px;
}

.header_1 .nav_h1_wrap ul {
    display: flex;
    height: 100%;
}

.header_1 .nav_h1_wrap li + li {
    margin-left: 40px;
}

.header_1 .nav_h1_wrap a {
    display: flex;
    align-items: center;
    color: #007bc9;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: 0.1em;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.header_1 .nav_h1_wrap .is_current a {
    border-color: #007bc9;
}

.header_1 .myaccount_wrap {
    position: absolute;
    right: 0;
    top: 0;
}

.header_1 .myaccount_wrap .btn_toggle {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 80px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}

.header_1 .myaccount_wrap .btn_toggle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    display: block;
    width: 1px;
    height: 50px;
    background-color: #dddddd;
}

.header_1 .myaccount_wrap .btn_toggle::after {
    content: "";
    display: block;
    margin-left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 6px 0 6px;
    border-color: #007bc9 transparent transparent transparent;
}

.header_1 .myaccount_wrap .btn_toggle span {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.header_1 .myaccount_wrap .btn_toggle span::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../img/ico/myaccount_1.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.header_1 .myaccount_wrap .btn_toggle span::after {
    content: "マイアカウント";
    display: block;
    margin-left: 10px;
    font-size: 1.3rem;
    line-height: 1;
}

.header_1 .myaccount_wrap .toggle_wrap {
    display: none;
    position: absolute;
    right: 0;
    top: 80px;
    min-width: 180px;
    background-color: #fff;
    box-shadow: 0px 5px 10px -5px rgba(51, 118, 170, 0.2);
}

.header_1 .myaccount_wrap .nav_h2_wrap li + li {
    border-top: 1px solid #eeeeee;
}

.header_1 .myaccount_wrap .nav_h2_wrap a {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    font-size: 1.4rem;
    white-space: nowrap;
}

.header_1 .myaccount_wrap .nav_h2_wrap a::before {
    content: "";
    display: block;
    margin-right: 10px;
    width: 14px;
    height: 14px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.header_1 .myaccount_wrap .nav_h2_wrap .mydata a::before {
    background-image: url(../img/ico/mydata_1.svg);
}

.header_1 .myaccount_wrap .nav_h2_wrap .logout a::before {
    background-image: url(../img/ico/logout_1.svg);
}

.header_1 .myaccount_wrap .nav_h2_wrap .manual a::before {
    background-image: url(../img/ico/manual_2.svg);
}

/* ---------------------------------------------------- */
/* header_2 */
/* ---------------------------------------------------- */
.header_2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 70px;
    /* background: linear-gradient(270deg, rgba(88, 196, 220, 1) 0%, rgba(96, 143, 242, 1) 100%); */
    background-color: #2670FF;
    z-index: 100;
}

.header_2 .header_inner {
    position: relative;
    margin: 0 auto;
    height: 100%;
}

.header_2 .page_ttl {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    max-width: calc(100% - 325px);
    color: #fff;
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    word-break: break-all;
    margin: 0;
    width: 50%;
}

.result {
    min-width: 100%;
}
.header_2 .nav_h1_wrap {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

.header_2 .nav_h1_wrap ul {
    display: flex;
    height: 100%;
}

.header_2 .nav_h1_wrap li {
    width: 60px;
}

.header_2 .nav_h1_wrap a {
    display: block;
    height: 100%;
    width: 100%;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-position: center;
    background-size: 40px auto;
    background-repeat: no-repeat;
}

.header_2 .nav_h1_wrap .continue {
    width: auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 5px 3px;
}

.header_2 .nav_h1_wrap .keyboard {
    width: auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 5px 3px;
}

.header_2 .nav_h1_wrap .clock {
    width: auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 5px 3px;
}

.header_2 .nav_h1_wrap .timer {
    width: auto;
    display: grid;
    align-content: center;
    padding: 5px 3px;
}

.header_2 .nav_h1_wrap .continue label {
    color: white;
    font-size: 1.3rem;
}

.header_2 .nav_h1_wrap .keyboard label {
    color: white;
    font-size: 1.3rem;
}

.header_2 .nav_h1_wrap .larning a {
    background-image: url(../img/ico/view_learning.svg);
}

/* .header_2 .nav_h1_wrap .time a {
    background-image: url(../img/ico/clock1.svg);
}

.header_2 .nav_h1_wrap .time2 a {
    background-image: url(../img/ico/clock2.svg);
} */

.header_2 .nav_h1_wrap .stopwatch-icon a {
    background-image: url(../img/ico/clock1.svg);
}

.header_2 .nav_h1_wrap .stop a {
    background-image: url(../img/ico/keep.svg);
    background-size: contain;
}

.header_2 .nav_h1_wrap .question a {
    background-image: url(../img/ico/view_q.svg);
}

.header_2 .nav_h1_wrap .print a {
    background-image: url(../img/ico/print_1.svg);
}

.header_2 .nav_h1_wrap .bookmark a {
    background-image: url(../img/ico/star.svg);
}

.header_2 .nav_h1_wrap .close_a a {
    background-image: url(../img/ico/close_1.svg);
    /* background-color: #43afcc; */
    background-color: #1c4aa4;
}

.header_2 .nav_h1_wrap .close_a a:hover {
    background-color: #d82a2a;
    transition: background-color 0.3s;
    opacity: 1 !important;
}

.header_2 .nav_h1_wrap .close_q a {
    background-image: url(../img/ico/close_1.svg);
    /* background-color: #43afcc; */
    background-color: #2670FF;
}

.header_2 .nav_h1_wrap .close_q a:hover {
    background-color: #d82a2a;
    transition: background-color 0.3s;
    opacity: 1 !important;
}

.mondai_icon_1 {
    color: red;
    font-size: 20px;
    position: absolute;
}

.mondai_icon_2 {
    color: red;
    font-size: 25px;
    position: absolute;
}

.mondai_icon_3 {
    color: yellow;
    font-size: 25px;
    position: absolute;
}

/* ---------------------------------------------------- */
/* footer_1 */
/* ---------------------------------------------------- */
.footer_1 {
    padding-bottom: 20px;
}

.footer_1 .copyright {
    color: #798693;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: -35px;
}

/* 生徒トップ画面
  作成者 : GIC
  作成日付　: 2022年11月18日 */
/* Start ---------------------------------------------*/
#calendar-modal {
    background-color: #d7f0f2 !important;
}

#body-card {
    margin: 30px;
}

#tablelist > tbody > tr > td {
    padding: 10px 10px;
    width: 150px;
    font-size: 18px;
}
/* End ---------------------------------------------*/

.header_1 .header_logo1 {
    display: inline-flex;
    width: 50px;
    height: 100%;
    margin-left: 1000px;
}
/* ---------------------------------------------------- */
/* header */
/* ---------------------------------------------------- */
.noti-down-icon-l,
.calendar-down-icon-l {
    display: block;
    margin: 0 auto;
    width: 35px;
    height: 35px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 200px;
}

.today-down-icon-2 {
    display: block;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
}

.calendar-down-icon-l {
    right: 243px;
}

.today-down-icon-1,
.today-down-icon-2 {
    right: 263px;
}

.today-down-icon-1 {
    width: 13%;
}

.cs-ico-noti-1,
.cs-ico-calende-1 {
    display: block;
    margin: 0 auto;
    width: 36px;
    height: 36px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
}

.cs-ico-today-1,
.cs-ico-today-2 {
    display: block;
    margin: 0 auto;
    width: 37px;
    height: 37px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin-top: 1px;
}

.cs-ico-noti-1 {
    background-image: url(../img/ico/icon_bell.svg);
    transform: translateX(10%);
}

.cs-ico-calende-1 {
    background-image: url(../img/ico/icon_calendar.svg);
    transform: translateX(10%);
}

.cs-ico-today-1,
.cs-ico-today-2 {
    background-image: url(../img/ico/icon_curriculum.svg);
    transform: translateX(10%);
}

.cs-ico-today-1 {
    margin-left: 19px;
}

.cs-ico-today-2 {
    top: 11px;
    cursor: pointer;
}

.header_1 .noti-down-icon-l .toggle-wrap {
    display: none;
    position: absolute;
    right: -10px;
    top: 64px;
    min-width: 345px;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgb(51 118 170 / 20%);
    width: 340px;
    max-height: 350px;
    min-height: 20px;
    overflow: auto;
    border: 1px solid rgb(187 224 211);
    border-radius: 10px;
}

.header_1 .noti-down-icon-l .nav-h2-wrap a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 1.4rem;
    white-space: nowrap;
    z-index: 1;
}

.header_1 .noti-down-icon-l .nav-h2-wrap li:hover :not(.nav-border span) {
    opacity: 1;
    transition: 0.2s ease-in-out;
}

.noti-msg {
    background-color: transparent;
    border: none;
    color: black;
    padding: 15px 15px;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    width: 100%;
    border: 0.6px solid rgb(187 224 211);
    word-wrap: break-word;
}

.noti_color {
    background-color: #b7cfdc;
    color: black;
}

.noti-msg:hover {
    opacity: 0.6;
}

.noti_down {
    padding: 6px 12px;
    border-top: none;
    width: 300px;
    height: 350px;
    overflow: auto;
}

.nodata-list {
    text-align: center;
    background-color: #f5fffa;
    padding: 15px 15px;
    font-size: 14px;
    width: 100%;
    border: 0.6px solid rgb(187 224 211);
}

.notify-badge {
    text-align: center;
    color: white;
    font-size: 11px;
    border-radius: 13px;
    background: red !important;
    padding: 4px 0px 0px 0px;
    margin-left: 23px;
    box-shadow: 0 0 0 1px #fff;
    position: absolute;
    top: -5px;
    width: 20px;
    height: 20px;
}

.type {
    text-align: right;
    line-height: 2.5;
}

.type label {
    background: #009cff;
    color: white;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    margin: 0px 2px 5px 2px;
    border-radius: 50%;
    cursor: pointer;
}

.type input:checked + label {
    background: #111;
    color: #eee;
    border-radius: 50%;
}

.color-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-top: 25px;
    display: block;
    margin-left: -1px;
}
/* 生徒 Top 画面 start */
.no-data-txt {
    margin: 6% auto;
}

.title_txt {
    text-align: center;
    font-size: 30px;
    margin-top: 10px;
    margin-left: 33px;
    color: #50cfcb;
    font-weight: bold;
}

.clear {
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    background-image: url(../img/ico/clear.png);
    transform: translateX(-30%);
    display: flex;
    color: white;
    width: 200px;
    height: 200px;
}

.parent {
    position: relative;
}

.child {
    position: absolute;
    left: 32px;
    top: -27px;
}

.rep-table {
    position: relative;
    top: 3px;
    left: 13px;
    display: -webkit-flex;
    flex-wrap: wrap;
    justify-content : center;
}

.rep-table-cols > .rep-cell {
    width: 28%;
    margin-top: 18px;
    margin-left: 1px;
    margin-right: 18px;
    border-radius: 10px;
    padding: 0.2em 0.7em;
    overflow: hidden;
    border: solid 1px white;
    background-color: white;
    text-align: center;
    border-left: 1px solid #80808054;
    border-top: 1px solid #80808054;
    border-right: 2px solid #00000061;
    border-bottom: 2px solid #00000061;
}

.rep-cell {
    margin-top: 18px;
    margin-left: 18px;
    margin-right: 18px;
    border-radius: 10px;
    padding: 0.8em 1.2em;
    overflow: hidden;
    border: solid 1px white;
    height: 140px;
    background-color: white;
    text-align: center;
    border-left: 1px solid #80808054;
    border-top: 1px solid #80808054;
    border-right: 2px solid #00000061;
    border-bottom: 2px solid #00000061;
}

.lbl-subject {
    color: white;
    margin: 10px auto;
    text-align: center;
}

.lbl-subject-text {
    font-size: 16px;
    font-weight: bold;
    padding: 4px 6px;
}

.lbl-section {
    font-size: 12px;
}

.cs_ico_answer {
    background-image: url(../img/ico/answer.png);
    display: block;
    width: 30px;
    height: 35px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    display: inline-block;
}

.link_disabled {
    opacity: 0.3;
}

.curriculum-title {
    color: #2670FF;
}
@media print {
    #cwm1 {
        display: none;
    }
    #cbw2 {
        display: none;
    }
    .footer_1 {
        display: none;
    }
    .header_2 {
        display: none;
    }
    label {
        display: none;
    }
    radio {
        display: none;
    }
    body {
        background-color: white;
    }
    .header_inner {
        display: none;
    }
    .error {
        display: none;
    }
    .cs_widget_score_1 {
        display: none;
    }
    #prn {
        width: 98%;
        float: none;
        box-shadow: none;
    }
    .cs_sec_wrap {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .contents_wrap {
        padding-top: 0px;
    }
}

@media (min-width: 1040px) {
    body {
        min-width: 1040px;
        font-size: 1.6rem;
    }

    .rep-table-cols > .rep-cell {
        width: 28%;
        margin-top: 18px;
        margin-left: 1px;
        margin-right: 18px;
        border-radius: 10px;
        padding: 0.2em 0.7em;
        overflow: hidden;
        border: solid 1px white;
        background-color: white;
        text-align: center;
        border-left: 1px solid #80808054;
        border-top: 1px solid #80808054;
        border-right: 2px solid #00000061;
        border-bottom: 2px solid #00000061;
        cursor: pointer;
    }
}

@media (max-width: 1039px) {
    body {
        min-width: 320px;
        font-size: 1.6rem;
    }

    .pt_1 .contents_wrap {
        padding-top: 60px;
    }

    .pt_2 .contents_wrap {
        padding-top: 60px;
    }

    .header_1 {
        height: 70px;
    }

    .header_1 .header_inner {
        min-width: auto;
    }

    .header_1 .header_logo {
        width: 45px;
        margin-left: 15px;
    }

    .header_1 .nav_h1_wrap {
        left: 70px;
    }

    .header_1 .nav_h1_wrap li + li {
        margin-left: 15px;
    }

    .header_1 .nav_h1_wrap a {
        font-size: 1.6rem;
    }

    .header_1 .myaccount_wrap .btn_toggle {
        width: 70px;
        height: 70px;
    }

    .header_1 .myaccount_wrap .btn_toggle::before {
        top: 10px;
        height: 50px;
    }

    .header_1 .myaccount_wrap .btn_toggle::after {
        margin-left: 8px;
    }

    .header_1 .myaccount_wrap .btn_toggle span::after {
        display: none;
    }

    .header_1 .myaccount_wrap .toggle_wrap {
        top: 70px;
        min-width: auto;
    }

    .header_2 {
        height: 60px;
    }

    .header_2 .page_ttl {
        left: 10px;
        max-width: calc(100% - 285px);
        font-size: 1.6rem;
        letter-spacing: 0em;
    }

    .header_2 .nav_h1_wrap li {
        width: 55px;
    }

    .header_2 .nav_h1_wrap a {
        background-size: 35px auto;
    }

    .header_2 .nav_h1_wrap .continue label {
        font-size: 1.2rem;
    }

    .header_2 .nav_h1_wrap .keyboard label {
        font-size: 1.2rem;
    }

    .footer_1 .copyright {
        font-size: 1.1rem;
    }

    .noti-down-icon-l {
        top: 17px;
        right: 90px;
    }

    .calendar-down-icon-l {
        top: 17px;
        right: 130px;
    }

    .cs-ico-noti-1,
    .cs-ico-calende-1 {
        width: 33px !important;
        height: 33px !important;
    }

    .color-dot {
        margin-top: 22px;
    }

    .cs-ico-today-1,
    .cs-ico-today-2 {
        width: 35px !important;
        height: 35px !important;
    }

    .today-down-icon-1,
    .today-down-icon-2 {
        right: 146px;
    }

    .cs-ico-today-2 {
        top: 11px;
        cursor: pointer;
    }
}

@media (max-width: 1208px)  and (min-width: 1038px) { 
    .header_2 .page_ttl {
        font-size: 2rem;
    }

    .header_2 .nav_h1_wrap a {
        background-size: 35px auto;
    }

    .header_2 .nav_h1_wrap li {
        width: 55px;
    }
}

@media (min-width: 767px)  and (max-width: 1038px) { 
   .header_2 .nav_h1_wrap a {
        background-size: 35px auto;
    }

    .header_2 .nav_h1_wrap li {
        width: 55px;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 640px;
        margin: 80px auto;
    }
}

@media (max-width: 767px) {
    body {
        min-width: 280px;
        font-size: 1.5rem;
    }

    .rep-table {
        max-height: 250px !important;
        overflow-y: scroll;
    }
    .modal-dialog {
        width: 70%;
        margin: 80px auto;
    }

    .title_txt {
        font-size: 20px;
        margin-left: 10px;
    }

    .rep-table-cols > .rep-cell {
        width: 30%;
        margin-left: 7px;
        margin-right: 3px;
    }

    .clear {
        display: block;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        background-image: url(../img/ico/clear.png);
        transform: translateX(-32%);
        display: flex;
        color: white;
        width: 200px;
        height: 200px;
    }

    .lbl-section {
        font-size: 11px;
        float: left;
        display: contents;
    }

    .lbl-subject {
        margin-top: 12px !important;
    }

    .cs-ico-today-1 {
        margin-left: 0px;
    }

    .noti-down-icon-l {
        top: 16px;
        /* right: 65px; */
        right: 75px;
    }

    .calendar-down-icon-l {
        top: 16px;
        /* right: 95px; */
        /* right: 115px; */
        right: 125px;   
    }

    .cs-ico-noti-1,
    .cs-ico-calende-1 {
        /* width: 25px !important;
        height: 25px !important; */
        width: 29px !important;
        height: 29px !important;
    }

    .color-dot {
        margin-top: 16px;
    }

    .cs-ico-today-1,
    .cs-ico-today-2 {
        /* width: 26px !important;
        height: 26px !important; */
        width: 30px !important;
        height: 30px !important;
    }

    .cs-ico-today-2 {
        top: 14px;
        cursor: pointer;
    }

    .mondai_icon_1,
    .mondai_icon_2,
    .mondai_icon_3 {
        font-size: 14px;
    }

    .header_2 .page_ttl {
        max-width: calc(100% - 100px);
        font-size: 1.2rem;
        padding-right: 21%;
    }

    .header_2 .page_ttl {
        max-width: calc(100% - 100px);
        font-size: 1.2rem;
        padding-right: 21%;
        line-height: 15px;
    }

    div#answer_print span, div#answer_print input[type="number"] {
        font-size: 1.2rem!important;
    }

    div#answer_print  .btn{
        font-size: 8px!important;
    }
    
    .header_2 .nav_h1_wrap .continue label {
        font-size: 1rem;
    }

    .header_2 .nav_h1_wrap .keyboard label {
        font-size: 1rem;
    }

    .header_2 .nav_h1_wrap .continue {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 9px 1px;
        width: 10;
        margin-right: 7px;
        /* width: 30%; */
    }

    .header_2 .nav_h1_wrap .keyboard {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 9px 1px;
        width: 10;
        margin-right: 7px;
        /* width: 30%; */
    }
    
    .header_2 .nav_h1_wrap .clock {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 9px 1px;
        width: 10;
        margin-right: 7px;
        /* width: 30%; */
    }

    .header_2 .nav_h1_wrap .timer {
        width: auto !important;
        display: grid;
        align-content: center;
        padding: 5px 3px;
    }

    .styled-clock {
        padding: 4px 8px !important;
    }

    #nextSubLabel {
        font-size: 1.1rem;
    }

    .next-text {
        font-size: 1.1rem;
    }

    .footer_1 .copyright {
        font-size: 1.0rem;
    }

    .today-down-icon-1,
    .today-down-icon-2 {
        /* right: 100px; */
        /* right: 145px; */
        right: 155px;
    }

    .no-data-txt {
        font-size: 15px;
    }

    .header_2 {
        height: 55px;
    }

    .header_2 .nav_h1_wrap li {
        width: 40px;
    }

    .header_2 .nav_h1_wrap a {
        background-size: 30px auto;
    }

    /*.header_2 .nav_h1_wrap .continue label {
        font-size: 1.1rem;
    }*/

    .pt_1 .contents_wrap {
        padding-top: 60px;
    }

    .pt_2 .contents_wrap {
        padding-top: 50px;
    }

    .header_1 {
        height: 60px;
    }

    .header_1 .header_inner {
        min-width: auto;
    }

    .header_1 .header_logo {
        margin-left: 10px;
        width: 50px;
    }

    .header_1 .nav_h1_wrap {
        left: 60px;
    }

    .header_1 .nav_h1_wrap li + li {
        margin-left: 10px;
    }

    .header_1 .nav_h1_wrap a {
        font-size: 1.4rem;
        letter-spacing: 0;
    }

    .header_1 .myaccount_wrap .btn_toggle {
        width: 55px;
        height: 60px;
    }

    .header_1 .myaccount_wrap .btn_toggle::before {
        top: 10px;
        height: 40px;
    }

    .header_1 .myaccount_wrap .btn_toggle::after {
        margin-left: 5px;
    }

    .header_1 .myaccount_wrap .btn_toggle span::after {
        display: none;
    }

    .header_1 .myaccount_wrap .toggle_wrap {
        top: 60px;
        min-width: auto;
    }

    .cs_data_1 .form_wrap .datepicker {
        display: flex;
        align-items: center;
    }

    .cs_profile_1 .graph {
       width: 70%; 
    }

    .cs_btn_4>*>.col:nth-of-type(1) {
        width: 25%;
    }

    @media screen and (orientation: landscape) {
        .cs_flex_wrap_1 {
            display: flex;
            justify-content: space-between;
        }
    
        .cs_flex_wrap_1>.cs_col_1 {
            width: 78%;
        }
        
        .cs_flex_wrap_1>.cs_col_2 {
            margin-top: 0px;
            width: 20%;
        }

        .header_1 .nav_h1_wrap li {
            padding: 0px 10px;
        }

        /* 成績画面（生徒側） */
        .cs_table_1 table {
            table-layout: fixed;
        }

        .cs_table_1 {
            overflow-x: hidden;
            text-overflow: ellipsis;
            white-space: normal;
        }
    }
}

@media (max-width: 600px) {
    .modal-dialog {
        width: 300px !important;
        margin: 80px auto !important;
    }

    .title_txt {
        text-align: end !important;
        font-size: 14px !important;
        color: #50cfcb;
        font-weight: bold;
        position: relative;
        left: 12px !important;
    }

    .clear {
        display: block;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        background-image: url(../img/ico/clear.png);
        transform: translateX(-28%);
        display: flex;
        color: white;
        width: 110px;
        height: 200px;
        margin-top: -27px;
    }

    .parent {
        position: relative;
    }

    .child {
        position: absolute;
        left: 16px;
        top: -27px;
    }

    .rep-table {
        position: relative;
        top: -1px;
        left: -17px;
        display: -webkit-flex;
        flex-wrap: wrap;
        justify-content : center;
        width: 120%;
    }

    .rep-table-cols > .rep-cell {
        width: 30%;
        margin-top: 18px;
        margin-left: 1px;
        margin-right: 18px;
        border-radius: 10px;
        padding: 0.2em 0.8em;
        overflow: hidden;
        border: solid 1px white;
        height: 90px;
        background-color: white;
        text-align: center;
        border-left: 1px solid #80808054;
        border-top: 1px solid #80808054;
        border-right: 2px solid #00000061;
        border-bottom: 2px solid #00000061;
    }

    .rep-cell {
        margin-top: 13px;
        margin-left: 13px;
        margin-right: 13px;
        border-radius: 9px;
        padding: 0.3em 0.6em;
        overflow: hidden;
        border: solid 1px white;
        height: 80px;
        background-color: white;
        text-align: center;
        border-left: 1px solid #80808054;
        border-top: 1px solid #80808054;
        border-right: 2px solid #00000061;
        border-bottom: 2px solid #00000061;
    }

    .txt-div {
        margin-top: -12px;
    }

    .lbl-subject {
        color: white;
        margin: 3px auto;
        text-align: center;
    }

    .lbl-subject-text {
        font-size: 10px;
        font-weight: bold;
        padding: 2px 3px;
    }

    .lbl-section {
        font-size: 10px;
        width: 75px;
        height: 45px;
        margin-top: 1px;
        margin-left: -7px;
        display: contents;
    }

    .curriculum-title {
        font-size: 1.2rem;
        padding-top: 8px;
        padding-left: 20px;
    }

    .no-data-txt {
        font-size: 11px;
    }

     .header_2 .nav_h1_wrap {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 100%;
    }

    .header_2 .nav_h1_wrap ul {
        display: flex;
        justify-content: right;
        height: 100%;
    }

    .header_2 .nav_h1_wrap a {
         background-size: 19px auto;
    }
    
    .header_2 .nav_h1_wrap li {
        width: 25px!important;
    }

    .cs_profile_1 .graph {
        width: 70%; 
    }

    .cs_btn_4>*>.col:nth-of-type(1) {
        width: 25%;
    }
}

@media (max-width: 495px){
    .today-down-icon-1,
    .today-down-icon-2 {
        /* right: 82px; */
        /* right: 125px; */
        right: 140px;
        top: 1px;
    }

    .calendar-down-icon-l {
        /* right: 100px; */
        right: 115px;
    }

    .noti-down-icon-l {
        /* right: 55px; */
        right: 70px;
        z-index: 9999;
    }

    .cs_profile_1 .graph {
        width: 70%; 
    }

    .cs_btn_4>*>.col:nth-of-type(1) {
        width: 25%;
    }
}

@media (max-width: 420px){
    .header_1 .noti-down-icon-l .toggle-wrap {
        right: -16px;
        width: 280px;
        min-width: 280px;
    }

    .learning-pencil {
        margin: auto;
        font-size: 10px !important;
    }
    
    .learning-eraser {
        margin: auto;
        font-size: 10px !important;
    }

    .learning-stamp {
        margin: auto;
        font-size: 10px !important;
    }

    .cs_profile_1 .graph {
        width: 70%; 
    }

    .cs_btn_4>*>.col:nth-of-type(1) {
        width: 25%;
    }
}

@media (max-width: 600px) {
    .header_1 .header_logo_school {
        display: flex;
        align-items: center;
        max-width: 150px;
        height: 25px !important;
        margin-left: 10px;
        padding-left: 1px;
        padding-right: 1px;
    }

    .site_ttl2 img {
        display: inline;
        height: 25px !important;
    }

    .header_1 .site_ttl {
        height: 25px;
    }

    .header_1 .header_logo_cross {
        margin-right: 3px;
        width: 10px;
        height: 10px;
        margin-top: 3px;
    }

    .header_1 .nav_h1_wrap {
        left: 16%;
    }
}

@media (max-width: 350px) {
    .today-down-icon-1,
    .today-down-icon-2 {
        right: 65px;
        top: 1px;
    }

    .calendar-down-icon-l {
        right: 63px;
    }

    .noti-down-icon-l {
        right: 35px;
        z-index: 9999;
    }

    .header_1 .nav_h1_wrap a {
        font-size: 1.3rem;
    }

    .notify-badge {
        width: 15px;
        height: 18px;
        border-radius: 9px;
    }

    .cs-ico-today-1,
    .cs-ico-today-2,
    .cs-ico-noti-1,
    .cs-ico-calende-1 {
        width: 23px !important;
    }

    .header_1 .myaccount_wrap .btn_toggle {
        width: 40px;
    }

    .learning-pencil {
        margin: auto;
        font-size: 12px !important;
    }
    
    .learning-eraser {
        margin: auto;
        font-size: 12px !important;
    }

    .learning-stamp {
        margin: auto;
        font-size: 12px !important;
    }

    .header_1 .header_logo_cross {
        margin-left: 4px;
    }

    .dropbtn {
        margin-right: 110px !important;
        margin-left: -15px;
    }
}

@media (max-width: 320px) {
    .mondai_icon_1,
    .mondai_icon_2,
    .mondai_icon_3 {
        font-size: 10px;
        left: 50px;
    }

    .header_2 .page_ttl {
        max-width: calc(100% - 170px);
        font-size: 0.9rem;
        padding-right: 4%;
    }

    .header_2 .nav_h1_wrap .continue label {
        font-size: 0.8rem;
    }

    .header_2 .nav_h1_wrap .keyboard label {
        font-size: 0.8rem;
    }

    .header_2 .nav_h1_wrap .continue {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 11px 1px;
        width: 10;
        width: 30%;
    }

    .header_2 .nav_h1_wrap .keyboard {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 11px 1px;
        width: 10;
        width: 30%;
    }

    .header_2 .nav_h1_wrap .clock {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-content: center;
        padding: 11px 1px;
        width: 10;
        width: 30%;
    }

    .header_2 .nav_h1_wrap .timer {
        width: auto !important;
        display: grid;
        align-content: center;
        padding: 5px 3px;
    }

    .styled-clock {
        padding: 4px 8px !important;
    }

    #nextSubLabel {
        font-size: 0.9rem;
    }

    .next-text {
        font-size: 0.9rem;
    }

    .footer_1 .copyright {
        font-size: 0.7rem;
    }
}

.dropdown {
    display: none;
}

@media (max-width: 470px) {
    #navigationitems {
        display: none;
    }

    .dropbtn {
        color: #007bc9;
        padding: 15px;
        font-size: medium;
        border: none;
        background: none;
        width: 100px;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        min-width: 150px;
        z-index: 1;
        text-align: left;
        margin-left: 30px;
        line-height: 1.4;
        margin-top: 7px;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #ddd;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.6); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loaded {
    opacity: 0;
    visibility: hidden;
}

.std-spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
  }
  @keyframes sp-anime {
    100% { 
      transform: rotate(360deg);
    }
  }
  .is-hide{
    display:none;
  }

.expired::before {
    content: "";
    display: inline-block;
    left: 0;
    width: 10px;
    background-image: url(../img/ico/warning_red.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    vertical-align: middle;
    margin-right: 1px;
}

.flex-small {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    font-size: 12px;
    white-space: nowrap;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-large {
    flex: 1;
    padding: 0 10px;
}

.mark-icon {
    border-radius: 50%;
    border: 1px solid black;
}
