.visual {
    background:url('../img/visual4.jpg') 50% 50% no-repeat;
    background-size:cover;
    height:430px;
}

main {
    background:#fff;
    display:flex;
    gap:60px;
    position:relative;
    top:-30px;
    z-index:6000;
}

article {
    width:210px;
    height:auto;
    margin-top:70px;
    margin-left:34px;
}

article li {
    margin-bottom:26px;
    position:relative;
}

article li a {
    color:#686868;
    display:block;
}

article li.now a {
    color:#fff;
    font-weight:700;
    z-index:7000;
}

article li.now:after {
    content:'';
    display:block;
    position:absolute;
    z-index:-1;
    background:#00a19a;
    width:210px;
    height:26px;
    top:-1px;
    left:-12px;
}

section {
    margin-top:70px;
    width:calc(100% - 270px);
}

.title h2 {
    width:100%;
    font-size:24px;
    font-weight:500;
    padding-bottom: 12px;
    border-bottom:2px dashed #dbdbdb;
}

.title {
    position:relative;
    margin-bottom:70px;
    padding-right:34px;
}

.title span {
    position:absolute;
    top:12px;
    right:34px;
    font-size:14px;
    color:#686868;
}

.content {
    padding-right:34px;
}

.tablebox {
    margin-bottom:10px;
}

.tablebox .tr {
    display:grid;
    grid-template-columns:70px calc(100% - 370px) 300px;
}

.tablebox .td:not(.subject), .tablebox .th {
    text-align:center;
}

.tablebox .td, .tablebox .th {
    height:50px;
    line-height:50px;
}

.tablebox .th {
    color:#fff;
    background:#2C2E83;
}

.tablebox .td {
    border-bottom:1px solid #cbcbcb;
}

.gray {
    color:#7A7A7A;
}

.mobilepage {
    display:none;
}

.searchbox {
    margin-top:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
}

#search {
    width:calc(100% - 105px);
    max-width:232px;
    height:34px;
    border:1px solid #ddd;
    font-size:14px;
    font-weight:350;
}

#search::placeholder {
    color:#a7a7a7;
}

.searchbtn {
    font-size:16px;
    color:#fff;
    background:#95c11e;
    width:90px;
    height:34px;
}

.tablebox .td.subject a, .tablebox .td {
    display:block;
    width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.wrapbutton {
    display:flex;
    justify-content:flex-end;
    margin-bottom:50px;
}

.write {
    font-size:14px;
    width:150px;
    height:34px;
    border:1px solid #333;
}

@media all and (max-width:1024px) {
    article {
        display:none;
    }

    main {
        background:#fff;
        gap:0;
        position:static;
        justify-content:center;
    }

    .title span {
        left:0;
        top:-24px;
    }

    .title, .content {
        padding-right:0;
    }

    section {
        width:100%;
    }

}

@media all and (max-width:720px) {
    .pcpage {
        display:none;
    }

    .mobilepage {
        display:flex;
    }

    .tablebox .hide {
        display:none;
    }

    .tablebox .tr {
        display:grid;
        grid-template-columns:70px calc(100% - 70px);
    }

    .title {
        margin-bottom:34px;
    }

    .wrapbutton {
        margin-bottom:36px;
    }
}

@media all and (max-width:560px) {
    .title h2 {
        font-size:20px;
    }

    .title span {
        font-size:12px;
    }

    .tablebox .td, .tablebox .th {
        font-size:14px;
    }

    .tablebox .tr {
        grid-template-columns:50px calc(100% - 50px);
    }

}