div.label_teacher_lesson,
div.label_teacher_all,
div.label_teacher_favorite {
    width: 33.33%;
    height: 40px;
    line-height: 40px;
    float: left;
    text-align: center;
    font-size: 16px;
    background-color: #f2eee7;
    margin: 2px 0 6px 0;
    cursor: pointer;
    border: 3px solid #cccccc;
    box-sizing: border-box;
}

@media screen and (max-width:767px) {
    div.label_teacher_lesson,
    div.label_teacher_all,
    div.label_teacher_favorite {
        font-size: 13px;
    }
}

div.label_teacher_lesson:hover,
div.label_teacher_all:hover,
div.label_teacher_favorite:hover {
    background-color: #ffda93;
}

div.label_teacher_lesson.active,
div.label_teacher_all.active,
div.label_teacher_favorite.active {
    background-color: #ffda93;
    color: #ffffff;
    font-weight: bold;
    cursor: default;
    border: 3px solid #f58221;
}

ul.date_list {
    width: 100%;
    clear: both;
}

ul.date_list li {
    float: left;
    width: 13.8%;
    text-align: center;
    padding: 17px 0;
    font-size: 16px;
    background-color: #f2eee7;
    margin: 0.2%;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

ul.date_list li.plus_1day p,
ul.date_list li.limit_out p,
ul.date_list li.holiday p {
    position: absolute;
    text-align: right;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 11px;
    background: linear-gradient(90deg, rgba(235, 111, 134, 0), rgba(235, 111, 134, 1));
    color: #ffffff;
    padding: 3px 4px 2px 0;
    font-weight: bold;
    line-height: 1;
}

ul.date_list li.limit_out p {
    background: linear-gradient(90deg, rgba(153, 153, 153, 0), rgba(153, 153, 153, 1));
}

ul.date_list li.holiday p {
    background: linear-gradient(90deg, rgba(200, 0, 0, 0), rgba(200, 0, 0, 0.5));
}

ul.date_list li p.week_limit {
    position: absolute;
    text-align: left;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    font-size: 11px;
    background: linear-gradient(90deg, rgba(153, 153, 153, 1), rgba(153, 153, 153, 0));
    color: #ffffff;
    padding: 3px 0 2px 4px;
    font-weight: bold;
    line-height: 1;
}

ul.date_list li:hover {
    background-color: #ffda93;
}

ul.date_list li.plus_1day {
    /*
    background-color:#ff95b3;
*/
}

ul.date_list li.w6 span.youbi {
    font-weight: bold;
    color: #3366ff;
}

ul.date_list li.w0 span.youbi {
    font-weight: bold;
    color: #ff6633;
}

ul.date_list li:nth-child(7n+1) {
    clear: both;
}

ul.date_list li.active,
ul.date_list li.active span.youbi {
    background-color: #f58221;
    color: #ffffff;
    font-weight: bold;
}

button.search_all,
button.search_first_half,
button.search_latter_half {
    font-size: 16px;
    padding: 10px 20px;
    margin: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #f2eee7;
    height: 68px;
}

button.search_all.active,
button.search_first_half.active,
button.search_latter_half.active {
    background-color: #f58221;
    color: #ffffff;
    font-weight: bold;
}

button.search_detail_disp {
    background-color: #f58221;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 20px;
    margin: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    height: 68px;
}

button.search_detail_disp.search_detail_open_btn {
    background-color: #f2eee7;
    color: #2b0d0d;
    font-weight: normal;
}

button.search_all:not(.active):hover,
button.search_first_half:not(.active):hover,
button.search_latter_half:not(.active):hover,
button.search_detail_disp.search_detail_open_btn:hover {
    background-color: #ffda93;
}

.search_detail {
    text-align: left;
    width: 100%;
    display: none;
}

.search_detail td {
    background-color: #ffebcd;
    width: 50%;
    vertical-align: top;
}

.search_detail td div {
    background-color: #ffffff;
    margin: 0 8px 10px 8px;
    padding: 8px;
    border-radius: 6px;
    font-size: 16px;
    height: 100%;
}

.search_detail input[name="name"] {
    margin-left: 10px;
    border-radius: 6px;
    padding: 6px;
    width: 500px;
}

.search_detail_disp {
    font-size: 16px;
    margin: 0 0 10px 0;
    padding: 2px 24px;
}

ul.teacher_list_appointment {
    clear: both;
}

ul.teacher_list_appointment li {
    float: left;
    width: 120px;
    height: 120px;
    margin: 1.4px;
    position: relative;
    overflow:hidden;
    border-radius:5px;
}

ul.teacher_list_appointment li div.picture {
    cursor: pointer;
    float: left;
    width: 120px;
    height: 120px;
    background-size: 100% 100%;
    background-position: center center;
    position: relative;
    transition: all 200ms;
}

ul.teacher_list_appointment li div.picture:hover {
    background-size: 103% 103%;
    opacity: 0.9;
}

ul.teacher_list_appointment p.name,
[id^='scroll_pic_teacher_id_'] p.name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24px;
    line-height: 24px;
    padding: 0 6px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-align: right;
    overflow: hidden;
}

select[name="schooltime_from"],
select[name="schooltime_to"] {
    font-size: 18px;
    padding: 5px;
}

.search_detail label[class="gender"],
.search_detail label[class="lesson"],
.search_detail label[class="children"],
.search_detail label[class="age"],
.search_detail select {
    display: inline-block;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.5;
}
.search_detail select {
    padding: 0 4px;
    height:35px;
}

label[class="gender"]:hover,
label[class="lesson"]:hover,
label[class="children"]:hover,
label[class="age"]:hover {
    background-color: #f2eee7;
}

label[class="gender"],
label[class="lesson"],
label[class="children"],
label[class="age"] {
    opacity: 0.5;
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: baseline;
}

.overview {
    font-size: 16px;
}

ul.teacher_list_appointment li .favorite {
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(235, 111, 134, 0.66);
    color: #ffffff;
    text-align: center;
    padding: 2px 0;
}

.search_status {
    display: none;
    margin: 5px;
    font-size: 14px;
    background-color: #ffD7D7;
    padding: 8px;
    line-height: 1.4;
    font-size: 16px;
}

.modal_header {
    font-size: 24px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: dashed 2px #f1af00;
}

.modal_header .skype_name {
    font-size: 18px;
}

.modal_icon .plus1_need_ticket_count {
    display: inline-block;
    background-color: #ff69b4;
    border-radius: 5px;
    padding: 9px 1px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
}

.modal_scroll_area .modal_hobby {
    background-color: #f2eee7;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    line-height: 1.5;
    margin-bottom: 10px;
    clear: both;
}

.modal_scroll_area .left_contents {
    width: 25%;
    float: left;
}

.modal_scroll_area .right_contents {
    width: 75%;
    float: left;
}

.modal_scroll_area .modal_teacher_image {
    width: 100%;
    margin-bottom: 10px;
}

.modal_appointment_btn {
    cursor: pointer;
    border: none;
    background-color: #ffebcd;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 4px;
    font-size: 16px;
}

.modal_appointment_btn.plus1 {
    background-color: #ff95b3;
}

.modal_appointment_btn.limit_out {
    background-color: #cccccc;
}

.modal_appointment_btn:hover:not(.limit_out) {
    background-color: #f58220;
    color: #ffffff;
}

.modal_appointment_btn.plus1:hover {
    background-color: #ff69b4;
}

.modal_availability_btn {
    border: none;
    cursor: pointer;
    text-align: center;
    background-color: #ffeecd;
    padding: 10px 6px;
    font-size: 14px;
    margin: 2px;
    border-radius: 6px;
    width: 13.4%;
}

.modal_availability_btn.null {
    background-color: #dddddd;
    color: #ffffff;
    cursor: default;
}

.modal_availability_btn.plus_1day,
.modal_availability_btn.disp_only {
    background-color: #ff95b3;
}

.modal_availability_btn:hover:not(.null) {
    background-color: #996633;
    color: #ffffff;
}

.modal_availability_time button {
    cursor: pointer;
    border: none;
    background-color: #e1f4c5;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 4px;
    font-size: 16px;
}

.modal_availability_time.plus_1day button {
    background-color: #ff95b3;
}

.modal_availability_time.disp_only button {
    background-color: #cccccc;
    cursor: default;
}

.modal_availability_time:not(.plus_1day):not(.disp_only) button:hover {
    color: #ffffff;
    background-color: #88cd1d;
}

.modal_availability_time.plus_1day button:hover {
    color: #ffffff;
}

button.modal_availability_date_back_btn {
    display: block;
    background-color: #eeeeee !important;
}

button.modal_availability_date_back_btn:hover {
    background-color: #dddddd !important;
    color: #000000 !important;
}

.youtube_area {
    position: relative;
}

.modal_youtube {}

.modal_debut_date {
    font-size: 14px;
}

.modal_fixed .fixed_frame {
    border: solid 3px #ffda93;
    font-size: 16px;
    border-radius: 6px;
    padding: 12px;
    margin: 10px;
    line-height: 1.5;
}

.youtube_area div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.youtube_area div p {
    position: absolute;
    background-color: #ff0000;
    color: #ffffff;
    width: 40%;
    height: 35%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    border-radius: 25%;
    opacity: 0.5;
}

.youtube_area div p span {
    position: absolute;
    display: table;
    transform: rotate(90deg);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    font-size: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
}

.beginner_icon {
    height: 18px;
    vertical-align: middle;
}

.status_icon {
    position: absolute;
    right: 0;
    bottom: 24px;
}

.favorite_area {
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
}

.description {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    background-color: rgba(245, 130, 32, 0.8);
    text-align: left;
    white-space: nowrap;
    border-radius: 6px;
}

.description p {
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
    margin: 7px;
}

table.time_list {
    width: 130px;
}

table.time_list td {
    text-align: center;
    position: relative;
    height: 36px;
}

.time_list button {
    font-size: 14px;
    border: none;
    width: 96%;
    margin:2px auto;
    padding:7px;
    color: #ffffff;
}

.time_list button.modal_appointment_btn:not([disabled="disabled"]):hover {
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}

.time_list .user_lesson {
    background-color: #f58220;
    color: #ffffff;
    width: 100%;
    position: absolute;
    font-size: 10px;
    text-align: left;
    top: -22px;
    left: -11px;
    line-height: 27px;
    height: 20px;
    transform: rotate(-20deg);
    padding-left: 9px;
}
.teacher_name{
    display:inline-block;
    padding:6px 0;
}
@media screen and (max-width:1050px) {
    .teacher_detail{
        font-size:14px;
        padding:4px 6px;
    }
}

@media screen and (max-width:767px) {
    ul.date_list li {
        margin: 0.24%;
        font-size: 12px;
        height: 50px;
        padding: 0;
        display: table;
    }
    ul.date_list li div {
        display: table-cell;
        vertical-align: middle;
    }
    ul.date_list li.active,
    ul.date_list li.active span {
        font-weight: normal;
    }
    ul.date_list li.plus_1day p,
    ul.date_list li.limit_out p,
    ul.date_list li.holiday p {
        padding-top: 2px;
        padding-bottom: 1px;
        line-height: 1;
    }
    .search_timezone button[class^="search_"] {
        font-size: 10px;
        padding: 7px;
        width: 70%;
        height: 44px;
    }
    .search_timezone button[class^="search_"] .spmin {
        font-size: 10px;
    }
    ul.teacher_list_appointment {
        max-width: 375px;
        margin: 0 auto;
    }
    ul.teacher_list_appointment li {
        width: 90px;
        height: 90px;
        margin: 1.5px;
    }
    ul.teacher_list_appointment li div.picture {
        width: 90px;
        height: 90px;
    }
    ul.teacher_list_appointment p.name,
    [id^='scroll_pic_teacher_id_'] p.name {
        height: 16px;
        line-height: 17px;
        font-size: 10px;
    }
    ul.teacher_list_appointment li .favorite {
        font-size: 10px;
    }
    .search_detail input[name="name"] {
        width: auto;
    }
    .search_detail select[name="schooltime_from"],
    select[name="schooltime_to"] {
        font-size: 14px;
        padding: 4px 0;
    }
    label[class="gender"],
    label[class="lesson"],
    label[class="children"],
    label[class="age"],
    select {
        padding: 4px;
    }
    .search_detail td div {
        padding: 8px 4px;
        font-size: 14px;
    }
    .modal_header {
        font-size: 18px;
    }
    .modal_header .skype_name {
        font-size: 14px;
    }
    .modal_icon img {
        width: 34px;
        margin-right: 2px !important;
    }
    .modal_icon .plus1_need_ticket_count {
        font-size: 8px;
    }
    .modal_scroll_area .modal_hobby {
        font-size: 14px;
        padding: 6px;
    }
    .modal_scroll_area .modal_information,
    .modal_scroll_area .modal_introduction_j,
    .modal_scroll_area .modal_introduction_e {
        font-size: 14px;
    }
    .youtube_area div p span {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
    .modal_scroll_area .left_contents {
        width: 100%;
        float: none;
    }
    .modal_scroll_area .right_contents {
        width: 100%;
        float: none;
        clear: both;
    }
    .modal_scroll_area .modal_teacher_image {
        width: 40%;
        float: left;
    }
    .modal_scroll_area .youtube_area {
        width: 54%;
        float: left;
        margin-left: 4%;
    }
    .modal_appointment_btn {
        font-size: 12px;
        padding: 10px 8px;
        margin: 1.5px;
    }
    .modal_fixed .fixed_frame {
        padding: 6px;
        margin: 8px;
        font-size: 14px;
    }
    .beginner_icon {
        height: 12px;
    }
    .status_icon {
        bottom: 16px;
    }
    .favorite_area {
        position: relative;
        top: 0;
    }
    .description p {
        font-size: 14px;
    }
    table.time_list {
        width: 90px;
        margin-bottom: 20px;
    }
    table.time_list td {
        height: 40px;
    }
    .search_result {
        clear: both;
    }
    .time_list .user_lesson {
        top: -15px;
    }
}