/*============================ START school.xhtml STYLE ==========================*/
body a {
    text-decoration: none;
    color: inherit;
}
.mulberry {
    margin-bottom: 20px;
    padding: 0;
}
.mulberry h1.new-margin{
    margin-top: 0;
}
.no-padding-top-sm{
    padding-top: 0;
    padding-bottom: 0;
}
.about-teacher .margin-bottom-teacher{
    padding: 0.5em 0 1.5em 0;
}
/*.text-school-intro a{
    color: #FB745C;
}*/
.text-school-intro a:hover{
    color: #FB745C;
}
.prefecture-list-wrap{
    background-color: rgba(255, 255, 255, 0.5);
    width: calc(12.5% - 14px);
    margin: 7px;
    display: flex;
}
.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;
}
.total-pref-wrap{
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    background-color: #FDFDFD;
}
.sch-top-ttl span{
    color: #1B1B1B;
}
.sch-top-ttl a{
    color: #1B1B1B;
}
.sch-top-ttl a:hover{
    color: #f25e2a;
}
.address-map-link .map-link p:hover{
    color: #f25e2a;
}
.list-link-maps .map-link p:hover{
    color: #f25e2a;
}
.hover-sch-ttl .caption .name:hover{
    color: #f25e2a;
}
.title-space h1{
    margin-top: 0px;
}
/*.title span.ttl-tc {
    line-height: 2em;
}*/

.teacher-sns {
    margin-top: .5em;
    margin-bottom: 1em;
}

.list-link-maps li::marker {
    font-size: 16px;
    color: #E8472A;
}
.list-link-maps li {
    list-style-type: ">";
    margin-right: 1em;
}
.list-link-maps a {
    display: block;
}
a.map-link {
    display: flex;
    margin-top: 1.2em;
    align-items: center;
}
.address-map-link a.map-link {
    display: flex;
    margin-top: 0em;
    margin-left: 10.7em;
}
.map-link .maps-arrow {
    max-width: 15px;
    height: 15px;
    margin-right: 0.4em;
}
.margin-bottom-loc a.map-link{
    margin-bottom: 0.7em;
}
.right-section .small-margin-top{
    margin-top: 1.5em;
}

.address .loc1 p:first-child, .address .loc2 p:first-child, .address .loc3 p:first-child {
    font-size: 16px;
}

.tag-icon{
    padding: 4px 4px 4px 0px;
    margin-right: 2px;
    width: 20px;
    height: auto;
}

.mulberry .tags{
    display: flex;
    align-items: flex-start;
    color: #FB745C;
    margin-bottom: 0.3em;
    margin-right: 0.9em;
}
.mulberry.hidden-line p{
    padding: 21px 0 0;
    border-bottom: none;
}
.wrap-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.3em;
    border-bottom: 1px solid #c1c1c1;
    padding-bottom: 1.4em;
}
.wrap-tags-sch {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.3em;
}
.mulberry.mulberry-no-border-btm{
    border-bottom: none;
    padding-bottom: 0em;
}
.margin-share-button-no-pad {
    margin-bottom: 0;
}
.mulberry.mulberry-margin-bottom{
    margin-bottom: 15px;
}
.mulberry.mulberry-margin-bottom.border-bottom-share{
    border-bottom: 1px solid #c1c1c1;
    padding-bottom: 1.4em;
    margin-bottom: 24px;
}
.mulberry.padding-top-p p{
    padding: 0;
}

.about-teacher .left p {
    padding: 0;
    margin: 0;
}
.ttl-tc {
    display: block;
    margin-top: 8px;
    line-height: 1.5;
    font-weight: bold;
}

.teacher-head {
    margin-bottom: 10px;
}
.about-class {
    margin-bottom: 5px;
}
.teacher-detail-page .wrap-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher-detail-page .flex-control-thumbs li{
    color: white;
    border: 0px solid transparent;
    height: 0;
    padding-bottom: 16.5%;
    position: relative;
}
.teacher-detail-page .flex-control-thumbs li img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.workshop-slider {
    margin-bottom: 41px;
}
.workshop-content {
    margin-bottom: 40px;
}
.maps-address {
    margin-bottom: 0;
}
form.button-school {
    margin-top: 4em;
    display: block;
    width: 100%;
    float: left;
}
.address .loc3 a{
    word-break: break-all;
    color: #FB745C;
}
.address .loc3 a:hover{
    color: rgba(242, 94, 42, 1);
}
.school-page .about-teacher  .wrapper-school-teach:not(:first-of-type) .teacher-head .left h2 {
    display: none
}
.school-page .about-teacher .wrapper-school-teach:not(:first-of-type) .teacher-head .left {
    margin-top: 24px;
}
.school-page .about-teacher .wrapper-school-teach:not(:first-of-type) .teacher-head {
    margin-top: 14px;
}

/*add by dini (4/26)*/
.course-section {
    border-top: 1px solid #c1c1c1;
    padding-top: 26px;
    margin-bottom: 35px;
}
.course-section .teacher-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 1em;
}
.course-section .teacher-name {
    font-size: 15px;
}
.course-section .teacher-org {
    font-size: 14px;
    display: block;
    color: #FB745C;
}
.course-section .about-lesson {
    margin-bottom: 26px;
}
.course-section .event-img-course {
    height: 14px;
    margin-right: 6px;
}
.course-section .course-event-label {
    font-size: 14px;
    display: flex;
    align-items: center;
    border: 1px solid #727272;
    border-radius: 4px;
    width: max-content;
    padding: 1px 8px;
/*    margin-left: 28px;*/
}
.course-section .course-ttl {
    width: 45px;
    margin-left: auto;
}
.course-section .course-ttl img {
    width: 52px;
}
.course-section .border-bottom-brown {
    display: grid;
}
.course-section .desc-course {
    gap: 12px;
    flex: 1;
    display: flex;
    align-items: baseline;
    /*    margin-top: 11px;*/
}
/*.image-right-part .title-lesson hr {
    border-top: 1px solid #cacaca;
    margin: 2em auto 0;
}*/
.course-note hr{
    border-top: 1px solid #cacaca;
    margin: .5em auto 1.5em;
}
.course-section .course-box-1 {
    border: 1px solid #BBBBBB;
    padding: 10px;
    margin-bottom: 20px;
}
.course-section .image-right-part {
    /*    padding-right: 2em;*/
    /*    width: 35%;*/
    min-width: 260px;
    display: flex;
    align-items: center;
    padding: 0 0.5em;
}
.image-right-part .teacher-profile-img{
    width: 35%;
}
.image-right-part .title-lesson{
    width: 65%;
    padding-left: 2em;
}
.image-lesson-course{
    width: 35%;
}
.course-note{
    width: 65%;
    padding-left: 2em;
}
.course-section .text-left-part {
    flex: 1;
    display: flex;
    padding-top: 0;
}
.trial-label{
    background-color: #15993A;
    color: white;
    padding: 5px 10px;
    word-break: keep-all;
}
.left-auto{
    margin-left: auto;
}
.course-section .course-item-content {
    margin-bottom: 1em;
}
.course-section .free-trial {
    width: 100%;
    background: #FB745C;
    height: 35px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    line-height: 35px;
    position: absolute;
    top: 0;
    left: 0;
}
.course-section .school-studio-img {
    position: relative;
}
.course-section .time-course {
    padding-right: 35px;
}
/*end add by dini (4/26)*/

.other-prefectures-wrap {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.other-prefectures {
    width: 16.6667%;
    padding-right: 1em;
    padding-bottom: 0.5em;
    display: inline;
}
.other-prefectures .badge-tc {
    min-height: unset;
    margin-top: 4px;
}
.other-prefectures .name {
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.other-prefectures .title {
    font-size: 12px;
    margin-top: 7px;
}
.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: 0;
}
.school-page .right-section {
    margin-bottom: 40px;
}
.inquiry {
    margin-bottom: 0;
}

/*add by dini (5/18)*/
.lesson-button-apply .button {
    width: calc(50% - 7px);
    margin-bottom: 0.5em;
    margin-top: 1.5em;
}
.lesson-button-apply form .button:nth-of-type(odd) {
    margin-right: 7px;
}
.lesson-button-apply form .button:nth-of-type(even) {
    margin-left: 7px;
}
.lesson-button-apply {
    padding-top: 0;
    padding-bottom: 0;
    padding: 0;
    margin-top: 2em;
}
/*end add by dini (5/18)*/

/* add by risma (5/24)*/
.school-page .about-class h2.sub-title span, .school-page .about-news h2.sub-title span,
.school-page .about-teacher h2.sub-title span, .school-page .about-lesson h2.sub-title span,
.ttl-class-course h2.sub-title span, .school-page .about-event h2.sub-title span {
    text-transform: capitalize;
}
/*============================ END school.xhtml STYLE ==========================*/



/*============================ START schoolList.xhtml STYLE ==========================*/
.count-genre{
    color: #F25E2A;
    margin: 8 auto 4px;
}
.genre.sch{
    background-color: rgba(255, 255, 255, 0.5);
    width: calc(12.5% - 14px);
    height: 124.25px;
    margin: 7px;
    display: flex;
}
.genre.sch .icon-fit{
    position: relative;
    width: 40%;
    height: 0;
    padding-bottom: 40%;
    margin: auto;
}
.genre.sch a{
    padding: 10px 5px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}
.genre.sch a:hover{
    background-color: rgba(242, 96, 42, 0.2);
}
.school-prefectures .genre.sch {
    height: 45px;
}
.school-prefectures .genre-name {
    font-size: 15px;
}
.padding-page-sm .hover-bc-school a{
    color: #1B1B1B;
}
.padding-page-sm .hover-bc-school a:hover{
    color: #f25e2a;
}
.item-list .hover-popular-class:hover{
    color: #F25E2A;
}
.item-list .hover-new-class:hover{
    color: #F25E2A;
}
.new-home-breadcrumb{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
/*.home-new{
    width: 32%;
    margin-left: -0.5em;
    margin-right: -0.2em;
    margin-bottom: 0.2em;
}
.home-new-tchr{
    width: 32%;
    margin-left: -0.5em;
    margin-right: -0.4em;
    margin-bottom: 0.2em;
}*/
/*.margin-right-breadcrumb{
    margin-right: -4.3em;
}*/
.margin-breadcrumb{
    margin-right: 0.5em;
}
.margin-breadcrumb-left{
    margin-left: 0.5em;
}
.margin-left-qualification{
    margin-left: auto;
}
.teacher-qualification-logo{
    display: flex;
    align-items: center;
}
.event-caption .event-ttl-wrap .event-ttl a:hover{
    color: #F25E2A;
}

/*============================ END schoolList.xhtml STYLE ==========================*/

@media screen and (max-width: 1024px) {
    .total-pref-wrap{
        width: 37px;
        height: 37px;
    }
    .genre.sch{
        width: calc(16.6667% - 14px);
    }
    .list-genre-wrapper{
        padding: 16px;
    }
    .school-page .about-teacher .teacher-head:not(:first-of-type) .left {
        margin-top: 0;
    }

    /*add by dini (4/26)*/
    .course-section .time-course {
        padding-right: 0;
    }
    /*end add by dini (4/26)*/
}
@media screen and (max-width: 768px){
    .total-pref-wrap{
        width: 23px;
        height: 32px;
    }
    .total-prefecture{
        font-size: 14px;
    }
    .prefecture-list-wrap{
        width: calc(13.14% - 6px);
    }
    .list-genre-wrapper{
        padding: 16px;
    }
    .prefecture-list-wrap a{
        padding: 0 0 0 10px;
    }
    .prefecture-list-wrap a h5{
        font-size: 13px;
    }

    /*add by dini (4/26)*/
    .course-section .course-box-1 {
        flex-flow: column;
    }
    .course-section .image-right-part {
        min-width: unset;
    }
    /*end add by dini (4/26)*/
}
@media screen and (max-width: 40.063em) {
    /*============================ START school.xhtml STYLE (max-width: 40.063em) ==========================*/
    .wrap-tags-sch {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0.3em;
        margin-top: 1em;
    }
    .school-page .border-btm-sm{
        border-bottom: 1px solid #c1c1c1;
    }
    .teacher-sns .icon{
        width: 29px;
    }
    .prefecture-list-wrap{
        width: calc(100% - 14px);
    }
    .prefecture-list-wrap a{
        padding: 0px 0 0 10px;
    }
    .total-pref-wrap{
        height: 38px;
        width: 38px;
    }
    .address-map-link a.map-link {
        margin-left: 7.7em;
    }
    .profile-tc {
        float: left;
        width: 29%;
        padding-bottom: 29%;
        margin-right: 1em;
    }
    .about-teacher .left p {
        font-size: 14px;
        width: calc(71% - 1em);
        margin-right: 0;
        margin-left: auto;
    }
    .about-news {
        /*border-bottom: 1px solid #c1c1c1;*/
        padding: 0em 0 6px 0;
        margin-bottom: 10px;
    }
    .right-section{
        padding-left: 0;
        padding-top: 0;
    }
    .mulberry{
        padding: 0;
        margin-bottom: 10px;
    }
    .teacher-sns {
        width: calc(71% - 1em);
        margin-right: 0;
        margin-left: auto;
    }
    .school-prefectures .genre.sch .genre-name {
        font-size: 15px;
    }
    .school-page .about-teacher .teacher-head:not(:first-of-type) {
        margin-top: 0;
    }
    .school-page .about-teacher .teacher-head:not(:first-of-type) .left {
        margin-top: 7px;
    }
    .school-page .about-teacher p.p-line-height {
        padding: 0.5em 0 1em;
    }
    .school-page .about-teacher .wrapper-school-teach:not(:first-of-type) .teacher-head {
        margin-top: 0px;
    }
    .school-page .about-teacher .wrapper-school-teach:not(:first-of-type) .teacher-head .left {
        margin-top: 14px;
    }

    /*add by dini (4/26)*/
    .course-section .image-right-part {
        width: 100%;
        padding-right: .5em;
        display: block;
    }
    .image-right-part .teacher-profile-img{
        width: 100%;
    }
    .image-right-part .title-lesson{
        width: 100%;
        padding-left: .5em;
        position: relative;
    }
    .position-trial-sm{
        position: absolute;
        top: -45px;
    }
    .image-lesson-course{
        width: 100%;
    }
    .course-section .desc-course {
        flex-flow: column;
        margin-top: 0;
        align-items: baseline;
    }
    .course-section .course-event-label {
        margin-left: 0;
        margin-top: 1em;
    }
    .course-section .course-ttl {
        /*      padding-right: 0;
                position: absolute;
                top: -9px;
                right: 0;*/
        margin-left: auto;
    }
    .course-note{
        width: 100%;
        padding-left: .5em;
    }
    .course-section .course-ttl img {
        width: 45px;
    }
    .course-section .border-bottom-brown {
        position: relative;
    }
    .course-section .about-lesson {
        margin-bottom: 2px;
    }
    .course-section {
        padding-top: 11px;
        margin-bottom: 13px;
    }
    .course-section .text-left-part {
        padding-top: 0;
    }
    /*end add by dini (4/26)*/
    .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;
        padding-left: 16px;
        padding-right: 16px;
    }
    .separator-line {
        margin-bottom: 25px;
    }
    .sliding-on-sm::-webkit-scrollbar {
        display: none;
    }
    .other-prefectures .caption {
        margin-left: 12px;
        margin-right: 12px;
    }
    .school-page .right-section {
        margin-bottom: 0;
    }
    .inquiry {
        margin-bottom: 1em;
    }

    /*add by dini (5/18)*/
    .lesson-button-apply .button {
        width: 100%;
        margin-bottom: 1em;
    }
    .lesson-button-apply form .button:nth-of-type(odd) {
        margin-right: 0;
    }
    .lesson-button-apply form .button:nth-of-type(even) {
        margin-left: 0;
        margin-top: 0;
    }
    /*end add by dini (5/18)*/
    /*============================ END school.xhtml STYLE (max-width: 40.063em) ==========================*/


    /*============================ START schoolList.xhtml STYLE (max-width: 40.063em) ==========================*/
    .genre.sch{
        /*        margin: 0;*/
        width: auto;
        height: 100.34px;
        background-color: rgba(255, 255, 255, 1);
    }
    .list-genre-inner.sch{
        grid-auto-flow: row;
        grid-template-columns: repeat(3, auto);
        width: 100%;
        grid-gap: 0px;
    }
    .genre.sch .genre-name{
        margin: auto;
        font-size: 70%;
        text-align: center;
        min-width: 50px;
    }
    .list-genre-wrapper.sch{
        overflow: hidden;
    }
    .genre.sch a{
        flex-direction: unset;
        flex-wrap: wrap;
    }
    .genre.sch .count-genre{
        margin: 8px 8px 4px 0px;
    }

    .list-genre-wrapper.second .genre.sch a{
        display: flex;
        flex-direction: unset;
        flex-wrap: unset;
        align-items: center;
    }
    .list-genre-wrapper.second .genre.sch{
        width: 100%;
        height: fit-content;
        margin: 0;
    }
    .list-genre-wrapper.second .list-genre-inner.sch{
        grid-template-columns: repeat(2, auto);
        grid-gap: 8px;
    }
    .list-genre-wrapper.second .genre .icon-fit{
        min-width: 15%;
        max-width: 15%;
        width: 15%;
        padding-bottom: 15%;
        float: left;
        margin: 0 5px 0 0;
    }
    .list-genre-wrapper.second .genre.sch .genre-name{
        margin: 0
    }

    /*============================ END schoolList.xhtml STYLE (max-width: 40.063em) ==========================*/
}