a:hover {
    opacity: .6;
}

body header .top-link.red .top-link-red-text p {
    font-size: 14px;
}

.open-modal {
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .5);
}

.modal-content {
    background-color: #FFF;
    max-width: 93%;
    width: 768px;
    height: 430px;
    margin: 10% auto 0;
    position: relative;
    z-index: 100;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 100;
}

.modal-check-button {
    position: absolute;
    display: inline-block;
    right: 60px;
    bottom: 50px;
    width: 322px;
    height: 40px;
    font-size: 20px;
    background-color: #000;
    color: #FFF;
    padding-top: 10px;
    text-align: center;
    border-radius: 40px;
    text-decoration: none;
    border: none;
}

.modal-check-button img {
    margin-left: 6px;
}

.modal-flex {
    display: flex;
    justify-content: space-between;
}

.modal-left {
    width: 53%;
    margin: 20px auto;
}

.modal-left h3 {
    font-size: 25px;
    margin: 0 0 6px;
}

.modal-left p {
    font-size: 16px;
    font-weight: bold;
}

.green-bg {
    color: #FFF;
    font-size: 16px;
    background-color: #A2BC45;
    width: 180px;
    text-align: center;
    padding: 10px 14px;
    border-radius: 40px;
    margin: 0 0 20px;
}

.modal-course {
    margin-bottom: 18px;
}

.modal-course h4 {
    margin: 0;
    margin-left: 16px;
    position: relative;
}

.modal-course h4::before {
    content: "";
    position: absolute;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #C94C27;
    left: -16px;
    top: 4px;
}

.modal-course ul {
    list-style: none;
    margin: 0;
    padding-left: 16px;
}

.modal-course ul li {
    padding-left: 0;
    font-weight: bold;
}

.modal-benefits h4 {
    margin: 0;
    margin-left: 16px;
    position: relative;
}

.modal-benefits h4::before {
    content: "";
    position: absolute;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #C94C27;
    left: -16px;
    top: 4px;
}

.modal-benefits p {
    padding-left: 16px;
    margin: 0;
}

.modal-right img {
    height: 430px;
    width: auto;
}

body main .seventh .wrapper table tbody tr.third-row td {
    padding: 16px;
}

body main .seventh .wrapper td,
body main .seventh .wrapper th {
    padding: 13px;
}

body main .sixth .wrapper .sixth-main-area .sixth-layer .sixth-main-content .sixth-main-title-area .sixth-option {
    margin-right: 10px;
}

.flow-sp-img {
    display: none;
}

body main .seventh .wrapper table {
    max-width: 990px;
    width: 100%;
    margin: 40px auto 0;
}

.table-sp {
    display: none;
}

@media screen and (max-width: 768px) {
    body header .top-link.gold {
        display: flex;
        top: 100%;
        left: 0;
        right: auto;
        transform: translate(0, -100%);
        border-radius: 0;
        width: 50vw;
    }
    body header .top-link.gold p {
        font-size: 14px;
    }
    body header .top-link.red {
        display: block;
        top: 100%;
        right: 0;
        left: auto;
        transform: translate(0, -100%);
        border-radius: 0;
        width: 50vw;
        text-align: center;
    }
    body header .top-link.red .top-link-red-text {
        width: 65%;
        margin: 9px auto 0;
    }
    body header .top-link.red .top-link-red-text img {
        height: 22px;
    }
    body header .top-link.red p {
        font-size: 12px;
        margin-top: 0;
    }
    body header .top-link.red .top-link-red-text p {
        font-size: 10px;
        margin-top: 0;
    }
    body main .fourth .wrapper .fourth-content .fourth-content-text {
        margin-bottom: 20px;
    }
    body main .fourth .wrapper .fourth-content .fourth-main .fourth-flow-img {
        display: none;
    }
    .flow-sp-img {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    .table-container {
        overflow-x: scroll;
    }
    body main .seventh .wrapper table {
        width: 100%;
        display: block;
        border-collapse: collapse;
        white-space: nowrap;
        border: none;
        margin-left: 5%;
    }
    body main .seventh .wrapper table tbody tr th {
        font-size: 14px;
    }
    body main .seventh .wrapper table tbody tr td {
        font-size: 12px;
    }
    body main .seventh .wrapper table tbody tr.seventh-row span {
        font-size: 18px;
    }
    .table-sp {
        display: block;
    }
    body main .seventh .wrapper table tbody tr.third-row {
        height: auto;
    }
    .modal-content {
        width: 100%;
        margin: 15% auto;
        padding-bottom: 115px;
    }
    .close-modal {
        top: 15px;
    }
    .modal-left {
        width: 90%;
        /* text-align: left; */
    }
    .modal-left h3 {
        margin-top: 10px;
        font-size: 20px;
        text-align: center;
    }
    .modal-left h4 {
        width: 150px;
    }
    .modal-right {
        display: none;
    }
    .modal-left .green-bg {
        /* width: 100%; */
        margin: auto;
    }
    .modal-check-button {
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        margin-bottom: 40px;
    }
}