.typing_loader {
    width: 8px;
    height: 8px;
    -moz-border-radius: 50%;
         border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
    -moz-animation: Typing 1s linear infinite alternate;
    animation: typing 1s linear infinite alternate;
    margin: 10px 50px;
    position: relative;
    left: 0;
  }
   .topPg {
     height: 100vh !important;
     position: relative;
     background: url(../images/bkgMain_pc.jpg) bottom right;
     background-repeat: no-repeat;
     -moz-background-size: cover;
     background-size: cover;
 }

 @media only screen and (max-width: 768px) {

     /* For mobile phones: */
     .topPg {
         height: 100vh !important;
         position: relative;
         background: url(../images/bkgMain_sp.jpg) bottom right;
         background-repeat: no-repeat;
         background-size: contain;
        background-position: top;
     }
 }

  .chat_box {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    -webkit-transition: .3s ease all;
    -moz-transition: .3s ease all;
    transition: .3s ease all;
  }
  .chat_box.open {
    height: auto;
    -webkit-transition: .3s ease all;
    -moz-transition: .3s ease all;
    transition: .3s ease all;
  }
  .chat_box .col-md-12 {
    padding: 0;
  }
  .show_pc {
    display: none;
  }
  #chat_card, .chat_card {
    margin-bottom: 0;
  }
  #chat_card .card-header, .chat_card .card-header {
    background: #5AB388;
    cursor: pointer;
  }
  #chat_card .card-header .card_top, .chat_card .card-header .card_top {
    color: #fff;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #chat_card .card-header .card_top .right_box, .chat_card .card-header .card_top .right_box {
    margin: 0 0.65104vw;
  }
  #chat_card .card-header .card_top .left_box , .chat_card .card-header .card_top .left_box {
    width: 13vw;
  }
  #chat_card .card-header .card_top .meta_box{
    width: 16vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  #chat_card .card-header .card_top .right_box h3 , .chat_card .card-header .card_top .right_box h3{
    font-size: 4.3vw;
  }
  #chat_card .card-header .btn-tool, .chat_card .card-header .btn-tool {
    color: #fff;
  }
  #chat_card .card-body, .chat_card .card-body {
    background: #fff;
    /*height: 100vw;*/
    height: 480px;
    overflow-y: auto;
  }
  #chat_card .card-body .direct-chat-messages, .chat_card .card-body .direct-chat-messages {
    height: 100%;
  }
  #chat_card .direct-chat-text, .chat_card .direct-chat-text {
    color: #fff;
    background: #5AB388;
    font-size: 1.6rem;
    padding: 10px;
    -moz-border-radius: 10px;
         border-radius: 10px;
    border: none;
  }
  .direct-chat-text a{
    color: #fff;
    text-decoration: underline;
    background: none !important;
  }

  .direct-chat-text .p1{
    background: none !important;
  }

  .direct-chat-text a:hover{
    color: #fff;
    opacity: .7;
    text-decoration: none;
    background: none !important;
  }

  a.ui-state-default:hover {
    color: #000 !important;
  }
  
  #chat_card .direct-chat-text.campain_box, .chat_card .direct-chat-text.campain_box {
    background: #fff;
  }
  #chat_card .direct-chat-text:before, #chat_card .direct-chat-text:after, .chat_card .direct-chat-text:before, .chat_card .direct-chat-text:after {
    content: none;
  }
  #chat_card .direct-chat-msg.right, .chat_card .direct-chat-msg.right {
    /*width: 60%;*/
  }
  #chat_card .direct-chat-msg.right .direct-chat-text, .chat_card .direct-chat-msg.right .direct-chat-text {
    /*background: #fff;*/
    margin-right: 0;
    margin-left: 50px;
    color: #000;
  }
  #chat_card .direct-chat-msg.right.long_panel .direct-chat-text, .chat_card .direct-chat-msg.right.long_panel .direct-chat-text {
    margin-left: 0;
  }
  .chat_start_btn {
    position: absolute;
    right: 1.95313vw;
    bottom: 3.90625vw;
    color: #fff;
    font-size: 2.6rem;
    color: #fff;
  }
  .chat_start_btn a {
    color: #fff;
  }
  .chat_start_btn a:hover {
    color: #fff;
  }
  .list_course .list_course_item {
    height: 400px;
    overflow-y: auto;
  }
  .list_course .list_course_item .course_item {
    padding: 10px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .list_course .list_course_item .course_item .left {
    width: 70%;
  }
  .list_course .list_course_item .course_item .left span {
    color: #fff;
  }
  .list_course .list_course_item .course_item .left h3 {
    color: #fff;
    padding-left: 10px;
    border-left: 5px solid #fff;
  }
  .list_course .list_course_item .course_item .right {
    width: 28%;
  }
  .list_course .list_course_item .course_item .right img {
    width: 100%;
  }
  .list_course .list_course_item .course_item p {
    margin: 0;
    margin-top: 3px;
    font-size: 13px;
  }
  .list_course .list_course_item .course_item p span {
    margin-right: 10px;
  }
  .list_course .list_course_item .course_item .course_info {
    margin-top: 5px;
    padding: 5px;
    /*border-top: 1px solid #000;*/
    -moz-border-radius: 10px;
         border-radius: 10px;
    background: #fff;
  }
  .list_course .list_course_item .course_item .course_info p {
    padding-left: 10px;
    position: relative;
    color: #000;
  }
  .list_course .list_course_item .course_item .course_info p span {
    color: #000;
  }
  .list_course .list_course_item .course_item .course_info p:before {
    position: absolute;
    top: 8px;
    left: 0;
    content: "";
    width: 5px;
    height: 5px;
    -moz-border-radius: 50%;
         border-radius: 50%;
  }
  .list_course .list_course_item .course_item:nth-of-type(3n + 1) {
    background: #E87F9E;
  }
  .list_course .list_course_item .course_item:nth-of-type(3n + 1) p:before {
    background: #E87F9E;
  }
  .list_course .list_course_item .course_item:nth-of-type(3n + 2) {
    background: #F9BA1C;
  }
  .list_course .list_course_item .course_item:nth-of-type(3n + 3) {
    background: #96CBE5;
  }
  .time_table {
    width: 100%;
    border-collapse: collapse;
  }
  .time_table thead th {
    background: #EA63A0;
    border: 1px solid #ddd;
    text-align: center;
    color: #fff;
    padding: 3px;
  }
  .time_table tbody td {
    padding: 3px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
  }
  .time_table tbody td.bkgGray {
    background: #E8E8E8;
  }
  /*form element*/
  select.frmSelect {
    border: 1px solid #777777;
    -moz-border-radius: 5px;
         border-radius: 5px;
    max-height: 37px;
    padding: 5px;
    outline: none;
    margin-top: 5px;
    width: 100%;
    height: 37px;
    font-family: 'Noto Sans JP', sans-serif !important;
  }
  .form_box {
    background: #C7E0D0;
    color: #231815;
    padding: 5px;
    font-size: 1.4rem;
    -moz-border-radius: 7px;
         border-radius: 7px;
    /* .line_form .frm_radio label {
    width: auto;
    font-size: 0;
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    cursor: pointer;
  }*/
  }
  .form_box:not(:first-child) {
    margin-top: 10px;
  }
  .form_box .frm_radio label:not(:first-child) {
    margin-right: 15px;
  }
  .form_box .frm_radio .radio-field-text {
    font-weight: normal;
    position: relative;
    padding-left: 20px;
    display: block;
  }
  .form_box .frm_radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    outline: none;
  }
  .form_box .frm_radio input[type="radio"] + .radio-field-text:before {
    content: '';
    background: #fff;
    border: 1px solid #707070;
    -moz-border-radius: 100%;
    border-radius: 100%;
    overflow: hidden;
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    transition: all 250ms ease;
  }
  .form_box .frm_radio input[type="radio"]:checked + .radio-field-text:before {
    background-color: #777777;
    border-color: #777777;
    -moz-box-shadow: inset 0 0 0 4px #fff;
    box-shadow: inset 0 0 0 4px #fff;
  }
  .form_box .frm_radio input[type="radio"]:focus + .radio-field-text:before {
    outline: none;
  }
  .form_control {
    border: 1px solid #777777;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*height: 45px;*/
    max-height: 37px;
    /*margin-top: 5px;*/
    padding: 10px;
    outline: none;
    width: 100%;
  }
  .form_control.short_width {
    width: 50%;
  }
  .address_group .form_control:not(:first-child) {
    margin-top: 5px;
  }
  .time_pick span {
    font-size: 1.3rem;
  }
  .time_pick .short_width {
    width: 38%;
  }
  .btn_area {
    text-align: center;
    margin-top: 5px;
  }
  .btn_area .submit_btn {
    padding: 3px 30px;
    background: #90D8F6;
    color: #fff;
    -moz-border-radius: 20px;
         border-radius: 20px;
    border: none;
    font-size: 1.4rem;
    outline: none;
  }
  .btn_area .submit_btn:disabled {
    background: #c3bcbc;
  }
  .inline {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .inline .submit_btn {
    width: 48%;
  }
  .inline .form_box {
    margin-top: 0;
  }
  /*calendar*/
  .monthly-calendar .monthly-prev-next {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 10px;
  }
  .monthly-calendar .monthly-prev-next .monthly-current {
    font-size: 1.6rem;
  }
  .monthly-calendar .monthly-prev-next .monthly-prev,
  .monthly-calendar .monthly-prev-next .monthly-next {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .monthly-calendar .monthly-prev-next .monthly-prev.disable a,
  .monthly-calendar .monthly-prev-next .monthly-next.disable a {
    /*          background: #ddd;
          color: #404040;*/
    pointer-events: none;
  }
  .monthly-calendar .monthly-prev-next .monthly-prev a,
  .monthly-calendar .monthly-prev-next .monthly-next a {
    padding: 7px 20px;
    /*background: #7EB142;*/
    color: #000;
    height: 34px;
    font-size: 1.4rem;
    display: block;
    position: relative;
  }
  .monthly-calendar .monthly-prev-next .monthly-prev {
    margin-left: 0;
  }
  .monthly-calendar .monthly-prev-next .monthly-prev a:before {
    content: "";
    font-size: 2rem;
    color: #ddd;
    width: 11px;
    height: 19px;
    background: url(../images/ar_more.png);
    -webkit-transform: rotate(180deg);
       -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
    position: absolute;
    left: 5px;
    top: 5px;
  }
  .monthly-calendar .monthly-prev-next .monthly-next {
    margin-right: 0;
  }
  .monthly-calendar .monthly-prev-next .monthly-next a:after {
    content: "";
    font-size: 2rem;
    color: #ddd;
    width: 11px;
    height: 19px;
    background: url(../images/ar_more.png);
    position: absolute;
    right: 5px;
    top: 5px;
  }
  .monthly-calendar table {
    width: 100%;
    border-collapse: collapse;
  }
  .monthly-calendar table th {
    border: 1px solid #ddd;
    font-size: 1.6rem;
    padding: 5px;
    color: #555555;
    text-align: center;
  }
  .monthly-calendar table th.sun {
    color: #F1605B;
  }
  .monthly-calendar table th.sat {
    color: #458CFF;
  }
  .monthly-calendar table td.day-box {
    border: 1px solid #ddd;
    font-size: 1.4rem;
    /*background: #7EB142;*/
    text-align: center;
    position: relative;
  }
  .monthly-calendar table td.day-box.disable, .monthly-calendar table td.day-box.no-day {
    background: #fff;
  }
  .monthly-calendar table td.day-box .day-number {
    padding: 5px;
    background: #EEEEEE;
    /*height: 50px;*/
    cursor: pointer;
  }
  .monthly-calendar table td.day-box .day-number.choice {
    background: #90D8F6;
    color: #fff;
  }
  .monthly-calendar table td.day-box.sat .day-number {
    background: #DAE9FF;
    color: #458CFF;
  }
  .monthly-calendar table td.day-box.sun .day-number {
    background: #FFD9DA;
    color: #F1605B;
  }
  .monthly-calendar table td.day-box .calendar-mark {
    padding: 20px;
    min-height: 80px;
    text-align: center;
  }
  .monthly-calendar table td.day-box .calendar-mark a {
    color: #fff;
    display: block;
  }
  .day-calendar {
    padding: 30px 0;
  }
  .day-calendar .calendar-meta {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: relative;
  }
  .day-calendar .calendar-meta a {
    padding: 7px 20px;
    background: #006837;
    color: #fff;
    position: absolute;
    left: 0;
    /*top: 0;*/
    margin-left: 30px;
  }
  .day-calendar .calendar-meta a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: -20px;
    top: 0;
    border-style: solid;
    border-width: 17px 20px 17px 0;
    border-color: transparent #006837 transparent transparent;
  }
  .day-calendar .calendar-meta p {
    font-size: 3rem;
    font-weight: bold;
    color: #006837;
  }
  .day-calendar h3 {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
  }
  .day-calendar h3 span {
    color: #006837;
  }
  .day-calendar .day-calendar-inner {
    max-width: 500px;
    background: #fff;
    padding: 30px;
    margin: 0 auto;
  }
  .day-calendar .day-calendar-inner h4 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
  }
  .day-calendar .day-calendar-inner h4 span {
    color: #006837;
  }
  .day-calendar .day-calendar-inner table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
  }
  .day-calendar .day-calendar-inner table tr td,
  .day-calendar .day-calendar-inner table tr th {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding: 10px;
    font-size: 1.8rem;
  }
  .day-calendar .day-calendar-inner table th {
    border-right: 1px solid #ddd;
  }
  .day-calendar .day-calendar-inner table td {
    border-left: 1px solid #ddd;
  }
  .day-calendar .day-calendar-inner table .calendar-mark a {
    padding: 2px 15px;
    -moz-border-radius: 5px;
         border-radius: 5px;
    background: #AFCF6E;
    color: #006837;
  }
  .day-calendar .day-calendar-inner table .calendar-mark.full_pick a {
    background: #006837;
    color: #fff;
    pointer-events: none;
  }
}

@-webkit-keyframes typing {
  0% {
    background-color: #5AB388;
    box-shadow: 12px 0px 0px 0px rgba(48, 113, 185, 0.2), 24px 0px 0px 0px rgba(48, 113, 185, 0.2);
  }
  25% {
    background-color: rgba(48, 113, 185, 0.4);
    box-shadow: 12px 0px 0px 0px #5AB388, 24px 0px 0px 0px rgba(48, 113, 185, 0.2);
  }
  75% {
    background-color: rgba(48, 113, 185, 0.4);
    box-shadow: 12px 0px 0px 0px rgba(48, 113, 185, 0.2), 24px 0px 0px 0px #5AB388;
  }
}

@-moz-keyframes typing {
  0% {
    background-color: white;
    -moz-box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2), 24px 0px 0px 0px rgba(255, 255, 255, 0.2);
         box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2), 24px 0px 0px 0px rgba(255, 255, 255, 0.2);
  }
  25% {
    background-color: rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 12px 0px 0px 0px white, 24px 0px 0px 0px rgba(255, 255, 255, 0.2);
         box-shadow: 12px 0px 0px 0px white, 24px 0px 0px 0px rgba(255, 255, 255, 0.2);
  }
  75% {
    background-color: rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2), 24px 0px 0px 0px white;
         box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2), 24px 0px 0px 0px white;
  }
}

@keyframes typing {
  0% {
    background-color: #5AB388;
    -moz-box-shadow: 12px 0px 0px 0px rgba(48, 113, 185, 0.2), 24px 0px 0px 0px rgba(48, 113, 185, 0.2);
         box-shadow: 12px 0px 0px 0px rgba(48, 113, 185, 0.2), 24px 0px 0px 0px rgba(48, 113, 185, 0.2);
  }
  25% {
    background-color: rgba(48, 113, 185, 0.4);
    -moz-box-shadow: 12px 0px 0px 0px #5AB388, 24px 0px 0px 0px rgba(48, 113, 185, 0.2);
         box-shadow: 12px 0px 0px 0px #5AB388, 24px 0px 0px 0px rgba(48, 113, 185, 0.2);
  }
  75% {
    background-color: rgba(48, 113, 185, 0.4);
    -moz-box-shadow: 12px 0px 0px 0px rgba(48, 113, 185, 0.2), 24px 0px 0px 0px #5AB388;
         box-shadow: 12px 0px 0px 0px rgba(48, 113, 185, 0.2), 24px 0px 0px 0px #5AB388;
  }