@charset "utf-8";


#primary {
    margin-top: 0;
}


.legacy-lay-left {
    font-size: 15.96px;
    text-align: center;
    color: #60503f;
    margin-top: 30px;
}
.event-bn .legacy-lay-left{
    font-weight: bold;
    text-align: left;
}
#primary #content div.entry-content2 .event-bn .legacy-lay-right p {
    margin-top: 1.5em;
}
.legacy-lay-right {
    margin-top: 20px;
}
@media (min-width:768px){
    .legacy-lay {
        display: flex;
        flex-wrap: wrap;
        margin-top: 0px;
        margin-bottom: 50px;
    }
    .legacy-lay-left {
        margin-top: 0px;
        width: 200px;
        padding-right: 40px;
        vertical-align: top;
        text-align: left;
        flex-shrink: 0;
    }
    .legacy-lay-right {
        margin-top: 0px;
        max-width: 720px;
    }

    .legacy-lay-left_e2 {
        width: 150px;
    }
    .legacy-lay-right_e2 {
        width: 770px;
        max-width: 770px;
    }


    .event-bn .legacy-lay-right{
        margin-bottom: 50px;
    }
    .event-bn .legacy-lay-left{
        font-weight: normal;
        margin-bottom: 50px;
    }
}

/**** サムネール用 **************************************/

.list-photo2 {
    display: grid;
    grid-column-gap: 10%;
    grid-row-gap: 1em;
    grid-template-columns: 45% 45%;
    width: 100%;
}
.list-photo2 figure {
    margin: 0 auto 1em auto;
    width: 100%;
    /*aspect-ratio: 1;*/
}

.list-photo2 figure a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid #dcdcdc;
    box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px;
    transition: 0.5s;
}
.list-photo2 figure a img{
    width: 90%;
}

.list-photo2 figure a:hover {
    box-shadow: rgb(200, 200, 200) 0px 0px 5px 0px;
}
.list-photo2 figcaption {
    margin-top: 0.5em;
    line-height: 1.4;
    font-size: 80%;
}
@media (min-width:768px){
    .list-photo2 {
        grid-column-gap: 4%;
        grid-row-gap: 1.5em;
        grid-template-columns: 22% 22% 22% 22%;
    }
    .list-photo2 figure {
        width: 100%;
    }

}
/**** 講師プロフィール ************************************/

.profile {
    margin-bottom: 2.5em;
}
.profile-portrait {
    width: 100%;
    margin-bottom: 0.5em;
}
.profile-name {
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 0.5em;
}
.profile-subject {
    
}

@media (min-width:768px){
    .profile {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
		align-items: flex-start;
    }
    .profile-portrait {
        max-width: 50%;
    }

    .profile-subject {
        max-width: 45%;
    }
}
/****************************************/
.size-thumbnail {
    width: 100%;
    height: auto;
}
.ch-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #dcdcdc;
}
.ch-item-subj {
    margin-top: 10px;
    padding-bottom: 10px;
}

@media (min-width:768px){
    .ch-item {
        margin-bottom: 23px;
        display: flex;
        border-bottom: none;
        width: 100%;
    }
    .ch-item-img {
        width: 156px;
        height: 156px;
        padding: 0;
        margin-right: 20px;
        border: 7px solid white;
        box-shadow:  0px 0px 2px 0px rgba(0, 0, 0, 0.5);
        overflow: visible;
        flex-shrink: 0;
        border-radius: 2px;
        transition-duration: 500ms;
    }
    .ch-item-img:hover {
        box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    }
    .ch-item-img .w-imageBox {
        
    }
    .ch-item-subj {
        margin-top: 0px;
        padding-bottom: 0px;
    }
}


@media (min-width:768px){
    .size-thumbnail {
        width: 156px;
    }
}
