.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 span {
    font-size:14px;
}

.content {
    padding-right:34px;
}

.v_subject {
    padding:0 18px 20px;
    border-bottom:2px solid #DBDBDB;
}

.v_subject h3 {
    font-size:24px;
}

.v_content {
    padding: 30px 18px;
    border-bottom:2px solid #dbdbdb;
    margin-bottom:20px;
}

.v_content p, .v_content li {
    font-size:18px;
    line-height:200%;
}

.v_content li {
    text-indent:16px;
}

.buttonbox {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.listbtn {
    width:108px; height:34px;
    border:1px solid #333;
    background:#fff;
    font-size:14px;
}

.buttonbox .edit button {
    background:#404357;
    color:#fff;
    font-size:14px;
    width:90px;
    height:34px;
    margin-left:6px;
}

.gray {
    color:#7A7A7A;
}

#popup {
    width:520px;
    height:240px;
    background: #FFFFFF;
    border: 1px solid #BFBFBF;
    border-radius: 2px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:40px;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    z-index:10001;
}

#popup p {
    width:100%;
    font-size:18px;
    text-align:center;
}

.p_buttonbox {
    display:flex;
    gap:60px;
}

#popup .delete {
    width:85px; height:34px;
    background: #404357;
    border: 1px solid #333;
    box-shadow: 0px 2px 4px rgba(171, 171, 171, 0.25);
    border-radius: 2px;
    color:#fff;
    font-size:18px;

}

#popup .cancel {
    width:85px; height:34px;
    background: #FFFFFF;
    border: 1px solid #333;
    box-shadow: 0px 2px 4px rgba(171, 171, 171, 0.25);
    border-radius: 2px;
    font-size:18px;
}

#popup {
    display:none;
}

@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) {
    .title {
        margin-bottom:40px;
    }

    #popup {
        width:310px;
        height:200px;
        gap:20px;
    }
    
    #popup p {
        font-size:16px;
    }
    
    .p_buttonbox {
        gap:20px;
    }
    
    #popup .delete {
        width:80px; height:30px;
        font-size:16px;
    
    }
    
    #popup .cancel {
        width:80px; height:30px;
        font-size:16px;
    }
}

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

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

    .v_subject {
        padding:0 0 10px;
    }

    .v_content {
        padding:20px 12px;
    }

    .v_subject, .v_content {
        border-bottom:1px solid #DBDBDB;
    }

    .v_subject h3 {
        font-size:18px;
    }

    .v_content p, .v_content li {
        font-size:14px;
    }

}

@media all and (max-width:359px) {
    .buttonbox .edit button {
        width:70px;
    }
}