/*============================ START teacherList.xhtml STYLE ==========================*/
.ui-g-12.ui-lg-9.ui-md-9.ui-sm-12.left {
    margin-bottom: 2em;
}
.hover-bc-teacher .small-top-ttl a{
    color: #1b1b1b;
}
.hover-bc-teacher .small-top-ttl a:hover{
    color: #f25e2a;
}
.hover-bc-tchr .small-top-ttl a{
    color: #1b1b1b;
}
.hover-bc-tchr .small-top-ttl a:hover{
    color: #f25e2a;
}
.hover-bc-tchr .small-top-ttl span{
    color: #1b1b1b;
}
.tc .caption .hover-teacher-name:hover{
    color: #f25e2a;
}
.list-icon-badge .badge-tc {
    display: inline-table;
}
.hover-teacher-name .caption .name:hover{
    color: #f25e2a;
}
.item-list.tc .teacherlist-link .caption .teacher-name{
    font-size: 15px;
}
.nav-teacher p {
    gap: 50px;
}
.item-list.tc .caption{
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 0 12px;
}
.item-list.tc .row-genre{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.item-list.tc p{
    text-align: center;
    min-height: 24px;
    margin: 8px auto;
    font-weight: bold;
}
.item-list.tc h5{
    text-align: center;
    font-weight: normal;
}
.item-list.tc .item-genre{
    margin: 0 4px;
    width: 40px;
    height: 40px;
}
.badge-tc{
    display: flex;
    min-height: 50px;
}

/*teacher list update design (4/24))*/
.tc-prefecture-list-wrap{
    background-color: rgba(255, 255, 255, 0.5);
    width: calc(12.5% - 14px);
    margin: 7px;
    display: flex;
}
.tc-prefecture-list-wrap a{
    padding: 0 0 0 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: rgba(242, 94, 42, 1);
    align-items: center;
}
.tc-total-pref-wrap{
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    background-color: #FDFDFD;
}
.count-genre {
    color: #F25E2A;
    margin: 8px auto 4px;
}
.genre.sch a {
    padding: 10px 5px 10px;
}
.genre.sch .icon-fit {
    width: 40%;
    padding-bottom: 40%;
    margin: auto;
}
.school-prefectures .genre.sch {
    height: 45px;
}
.school-prefectures .genre-name {
    font-size: 15px;
}
.genre.sch a:hover {
    background-color: rgba(242, 96, 42, 0.2);
}
/* end teacher list update design (4/24))*/
/*============================ END teacherList.xhtml STYLE ==========================*/


/*============================ START teacher.xhtml STYLE ==========================*/
.section-article-tc-wrap{
    flex-wrap: wrap;
    display: flex;
    align-items: flex-start;
    width: calc(100% + 18px);
    margin-left: -9px;
    margin-top: 26px;
}
.image-article-tc{
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    height: 0;
    color: white;
    border: 1px solid transparent;
}
.image-article-tc img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.item-article-tc{
    margin-bottom: 5px;
    padding: 8px;
}
.item-article-tc .title{
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin: 10px 0 8px;
    display: -webkit-inline-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.item-article-tc .time{
    color: #727272;
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
}
.teacher-course-wrap{
    margin-top: 1em;
}
.label-course-name{
    display: flex;
    align-items: center;
}
.tc-course-title{
    font-weight: bold;
    font-size: 16px;
    margin-top: 8px;
}
.tc-course-name{
    margin-left: 5px;
}
.item-teacher-course{
    border-bottom: 1px solid #C1C1C1;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.item-teacher-course a:hover{
    color: #f25e2a;
}
.item-teacher-course:last-child{
    border-bottom: none;
}
.image-category-symb{
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: inline-block;
}
.button-category-course{
    background-color: transparent;
    border-radius: 5px;
    height: fit-content;
    width: fit-content;
    border: 1px solid #727272;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
}
.button-category-course span{
    color: #1B1B1B;
    font-size: 12px;
    word-break: keep-all;
    padding-left: 5px;
}
.tc-class-course{
    display: flex;
    flex-wrap: wrap;
    padding-right: 0;
}
.tc-class-course.display-lg{
    display: flex !important;
    padding-left: 0;
}
.tc-class-course.display-sm{
    display: none !important;
}
.right-section.teacher{
    padding-top: 0;
    padding-left: 15px;
}
.about-teacher p{
    margin-top: .5em;
}
.teacher-details-profile{
    /*border-bottom: 1px dashed grey;*/
    padding: 0;
}
.tc-detail .profile-tc{
    width: 100%;
    padding-bottom: 100%;
}
.tc-detail .profile-tc > img{
    margin-top: 0;
}
.teacher-sns.tc{
    margin: 20px auto 0;
}
.teacher-sns.tc a img{
    margin: 0 7px;
}
.tc-detail{
    display: flex;
    flex-flow: column;
}
.teacher-head.tc > div{
    padding: 0;
}
.img-qualifi-tc{
    width: 45px;
    margin-right: 1em;
}
.icon-tc-course-detail{
    width: 40px;
    margin-right: 8px;
}
.class-course{
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    border: 1px solid #f25e2a;
    padding: 10px;
    width: calc(50% - 8px);
}
.class-course p{
    font-size: 14px;
    font-weight: bold;
}
.tc-class-course > a:nth-child(even){
    margin-left: .5em;
}
.tc-class-course > a:nth-child(odd){
    margin-right: .5em;
}
.ttl-class-course{
    margin-top: 1em;
    padding-left: 0;
}
.ttl-class-course h2{
    margin: 0 0 18px 0;
}
.ttl-class-course h2 span{
    color: #f25e2a;
    font-size: 14px;
}
.ttl-article-tc h2 span{
    color: #f25e2a;
    font-size: 14px;
}
h2.sub-title span{
    text-transform: capitalize;
}
.teacher-head.tc h2{
    margin: 0 0 16px 0;
}
.teacher-head.tc .title{
    margin: 0 0 16px 0;
}
.teacher-head.tc{
    margin-bottom: 1.5em;
}
.teacher-head.tc > div.left {
    padding-right: 1em;
}
p.flex-caption {
    color: #777777;
}
.tc-detail .bg-x-twitter {
    background: black;
    width: 25px;
    border-radius: 50px;
}
.tc-detail .icon-x-twitter {
    width: 17px;
    margin: 15% 4px !important;
}
.mulberry {
    margin-bottom: 0px;
    padding: 0;
}

.tag-icon{
    padding: 4px 4px 4px 0px;
    margin-right: 2px;
}

.mulberry .tags{
    display: flex;
    align-items: flex-start;
    color: #FB745C;
    margin-bottom: 0.3em;
    margin-right: 0.9em;
}

.wrap-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.3em;
    border-bottom: 1px dashed grey;
    padding-bottom: 1.4em;
}
.other-prefectures-wrap {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.other-prefectures {
    width: 16.6667%;
    padding-right: 0.5em;
    padding-bottom: 0.5em;
    display: inline;
}
.other-prefectures .badge-tc {
    min-height: unset;
    margin-top: 4px;
}
.other-prefectures .name {
    margin-top: 7px;
}
.other-prefectures .title {
    font-size: 12px;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.other-prefectures .item-genre {
    margin-right: 5px;
}
.title-part-other {
    margin-bottom: 20px;
}
.separator-line {
    border: none;
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 50px;
    margin-top: 30px;
}
.inline-flex-center.qualification-hover a:hover{
    color: #f25e2a;
}
.inline-flex-center.qualification-hover a{
    color: #1b1b1b;
}
.no-padding .centered-wrapper .button.icon.home{
    background-image: url("../resources/handmate/img/icon-home.png");
    width: 40px;
    height: 40px;
}
.new-home-breadcrumb{
    display: flex;
    align-items: center;
}
/*.home-new{
    width: 32%;
    margin-left: -0.5em;
    margin-right: -0.2em;
    margin-bottom: 0.2em;
    height: auto;
}
.home-new-tchr{
    width: 32%;
    margin-left: -0.5em;
    margin-right: -0.4em;
    margin-bottom: 0.2em;
}
.margin-right-breadcrumb{
    margin-right: -4em;
}*/
.margin-breadcrumb{
    margin-right: 0.5em;
}
.margin-breadcrumb-left{
    margin-left: 0.5em;
}
.margin-right-breadcrumb-list{
    margin-right: -4.3em;
}
/*============================ END teacher.xhtml STYLE ==========================*/

/*ipad pro screen*/
@media only screen and (max-width: 1024px) {
    /*============================ START teacherList.xhtml STYLE (max-width: 1024px) ==========================*/
    /*teacher list update design (4/24))*/
    .genre.sch {
        width: calc(16.6667% - 14px);
    }
    .list-genre-wrapper {
        padding: 16px;
    }
    .tc-total-pref-wrap{
        width: 37px;
        height: 37px;
    }
    /* end teacher list update design (4/24))*/
    /*============================ END teacherList.xhtml STYLE (max-width: 1024px) ==========================*/
}

/*ipad screen*/
@media only screen and (max-width: 768px) {
    /*============================ START teacherList.xhtml STYLE (max-width: 768px) ==========================*/

    /*============================ END teacherList.xhtml STYLE (max-width: 768px) ==========================*/


    /*============================ START teacher.xhtml STYLE (max-width: 768px) ==========================*/

    .tc-prefecture-list-wrap a{
        padding: 0 0 0 10px;
    }
    .tc-prefecture-list-wrap{
        width: calc(13.14% - 6px);
    }
    .tc-prefecture-list-wrap a h5{
        font-size: 13px !important;
    }
    .tc-total-pref-wrap{
        width: 23px;
        height: 32px;
    }
    .tc-class-course > a:nth-child(odd){
        margin-right: 0;
    }
    .tc-class-course > a:nth-child(even){
        margin-left: 0;
    }
    .class-course{
        width: 100%;
    }

    /*============================ END teacher.xhtml STYLE (max-width: 768px) ==========================*/
}

/*smartphone screen*/
@media screen and (max-width: 40.063em) {
    /*============================ START teacherList.xhtml STYLE (max-width: 40.063em) ==========================*/
    .tc-detail .bg-x-twitter {
        width: 28px;
        height: 28px;
    }
    .tc-detail .icon-x-twitter {
        width: 18px;
    }
    .small-top-ttl {
        margin-top: 16px;
        margin-bottom: 14px;
    }
    .teacher .about-teacher .teacher-head .left .title .ttl-tc.ttl-tc-margin {
        line-height: 1.3em;
        margin-top: 15px;
    }
    .tc-prefecture-list-wrap a{
        padding: 0 0 0 10px;
    }
    .tc-prefecture-list-wrap{
        width: calc(100% - 14px);
    }
    .tc-total-pref-wrap{
        height: 38px;
        width: 38px;
    }
    .school-prefectures .list-genre-inner.teacher-prefec{
        grid-gap: 0;
    }
    .badge-tc{
        min-height: 0px;
    }
    .item-list.tc .caption{
        padding: 0 7px;
    }
    .teacher-head.tc .title{
        text-align: left;
        margin: auto;
        width: -webkit-fill-available;
    }
    .teacher-head.tc {
        margin-bottom: 0.8em;
    }
    .qual p{
        padding: 0;
    }
    .tc-detail .profile-tc{
        width: 55%;
        padding-bottom: 55%;
        margin: auto;
        margin-bottom: 1em;
    }
    .teacher-sns.tc{
        margin: auto;
        width: auto;
    }
    .tc-margin-sm{
        margin-top: 2em;
    }
    .tc-margin-sm .mulberry h1{
        font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Noto Sans CJK JP", Osaka, Meiryo, メイリオ, "MS PGothic", "ＭＳ Ｐゴシック", YuGothic, "Yu Gothic", "Hiragino Sans GB", "Helvetica Neue", HelveticaNeue, Helvetica, "Noto Sans", Roboto, Arial, "Arial Unicode MS", sans-serif;
    }
    .ttl-class-course{
        border-top: 1px dashed grey;
        margin-top: 2em;
        padding: 2em 0 0 0;
        display: block;
    }
    .tc-class-course{
        padding: 0;
    }
    .ttl-class-course.display-lg{
        display: none;
    }
    .tc-class-course.display-lg{
        display: none !important;
    }
    .tc-class-course.display-sm{
        display: block !important;
    }
    .teacher-details-profile{
        padding: 0;
    }
    .teacher-head.tc > div{
        padding: .5em 0;
    }
    .teacher-head.tc .ttl-tc{
        font-weight: bold;
        font-size: 24px;
    }
    .right-section.teacher{
        padding-left: 0;
    }

    /*teacher list update design (4/24))*/
    .list-genre-wrapper.sch {
        overflow: hidden;
    }
    .list-genre-inner.sch {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, auto);
        width: 100%;
        grid-gap: 12px;
    }
    .genre.sch {
        margin: 0;
        width: auto;
        height: 100.34px;
        background-color: rgba(255, 255, 255, 1);
    }
    .genre.sch a {
        flex-direction: unset;
        flex-wrap: wrap;
    }
    .genre.sch .count-genre {
        margin: 8px 8px 4px 0px;
    }
    .genre.sch .genre-name {
        margin: auto;
        font-size: 70%;
        text-align: center;
        min-width: 50px;
    }
    .school-prefectures .genre.sch .genre-name {
        font-size: 15px;
    }
    /*end teacher list update design (4/24))*/
    /*============================ END teacherList.xhtml STYLE (max-width: 40.063em) ==========================*/


    /*============================ START teacher.xhtml STYLE (max-width: 40.063em) ==========================*/
    .teacher-head.tc > div.left {
        padding-right: 0;
    }
    .set-layout-sm{
        display: flex;
        flex-direction: column;
    }
    .set-layout-sm .right-section {
        order: 1;
    }
    .set-layout-sm .left-section {
        order: 2;
    }
    .set-layout-sm .other-prefectures-section {
        order: 3;
    }
    .separator-line {
        margin-bottom: 33px;
    }
    .sliding-on-sm {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow: scroll;
        margin-left: 0;
        margin-right: 0;
    }
    .sliding-on-sm > a {
        width: 57vw;
        min-width: 57vw;
        padding: 0 2px;
    }
    .sliding-on-sm > a:first-child {
        margin-left: -2px;
    }
    .over-wrapper-sm {
        width: calc(100% + 30px);
        margin-left: -15px;
    }
    .sliding-on-sm::-webkit-scrollbar {
        display: none;
    }
    .other-prefectures .caption {
        margin-left: 12px;
        margin-right: 12px;
    }
    .qualification-hover a:hover{
        color: #f25e2a;
    }
    /*============================ END teacher.xhtml STYLE (max-width: 40.063em) ==========================*/
}