div.firstview {
    background-image: url('../images/traning_03_v3.jpg');
    background-position: 50% 0;
}

div.brochure_link {
    display: block;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    text-align: left;
}

a.brochure {
    display: block;
    width: 270px;
    height: 55px;
    background-color: #289f4f;
    position: relative;
    margin: 10px 0 50px;
}

a.brochure > p {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    width: 100%;
    text-align: center;
    color: white;
}

div.course-wrap > table th,
div.course-wrap > table td{
    padding: 10px 5px;
}

div.course-wrap > table td:nth-of-type(1) {
    padding: 10px 20px;
    padding-bottom: 40px;
}


div.course-wrap > table tr > th:nth-of-type(1) {
    width: 55%;
} 

div.course-wrap > table tr > th:nth-of-type(2) {
    width: 21%;
}

div.course-wrap > table tr > th:nth-of-type(3),
div.course-wrap > table tr > th:nth-of-type(4),
div.course-wrap > table tr > th:nth-of-type(5){
    width: 8%;
}





@media(max-width: 767px){
    div.course-wrap > table tr > td:nth-of-type(2):before {
        content: '日程・時間・場所';
        display: block;
        color: #289f4f;
    }
    
    div.course-wrap > table tr > td:nth-of-type(3):before {
        content: '日数';
        display: block;
        color: #289f4f;
    }
    
    div.course-wrap > table tr > td:nth-of-type(4):before {
        content: '定員';
        display: block;
        color: #289f4f;
    }
    
    div.course-wrap > table tr > td:nth-of-type(5):before {
        content: '受講料';
        display: block;
        color: #289f4f;
    }
    
    div.course-wrap > table td:nth-of-type(1) {
        padding: 0px 10px;
        padding-bottom: 40px;
    }
}

.waiting
{
    width: 80%;
    margin: auto;
    max-width: 1000px;
}

span.schedule
{
    display: inline;
}

tbody > tr:first-of-type td:first-of-type div
{
    bottom: 10px;
    line-height: 1.8;
    position: absolute;
    text-align: right;
    width: calc(100% - 3em);
}

@media(max-width: 767px){
    tbody > tr:first-of-type td:first-of-type div {
        width: calc(100% - 20px);
    }
}

tbody > tr > td:nth-of-type(2)
{
    overflow-wrap: break-word;
    word-break: keep-all;
}

.schedule-wrap
{
    text-align: center;
}

@media(max-width: 767px){
    .schedule-wrap{
        text-align: left;
    }
}

.entry .apply {
    background-color: #289f4f;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: inline-block;
    padding: 1px 9px 0;
}

.entry .apply::after {
    content: "受講申込";
}

.closed .apply {
    color: red;
}

.closed .apply::after {
    content: "受付終了";
}

.red
{
    color: red;
}