@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

#mainContent {
    background: url("../../common/images/bg-error.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    padding-bottom: 201px;
    margin-bottom: 0px !important;
}

#mainContent > .wrap {
    padding: 0px;
}

.main {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main .title {
    font-family: 'adobe-garamond-pro', serif;
    font-size: 40px;
    font-weight: 600;
    margin-top: 180px;
    text-align: center;
    text-wrap: balance;
    line-height: 48px;
}

.main .sub-text-wrapper {
    margin-top: 32px;
    padding-bottom: 64px;
    position: relative;
    margin-bottom: 74px;
}

.main .sub-text-wrapper .white-line {
    width: 72px;
    height: 1px;
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main .sub-text {
    text-align: center;
    font-family: Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    line-height: 24px;
}

.header {
    color: white;
}

.header .title {
    font-family: 'adobe-garamond-pro', serif;
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    text-wrap: balance;
    line-height: 60px;
    display: flex;
    flex-direction: column;
}

.header .sub-text {
    font-family: 'jost', sans-serif;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 56px;
}

.error .hdrMenu:after {
    color: #222;
}

.card-page {
    background-color: white;
    opacity: .85;
    padding: 96px 90px;
    display: grid;
    gap: 56px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.sub-card .wrapper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #C0C0C0;
    align-items: center;
    margin-bottom: 24px;
}

.sub-card .wrapper a {
    font-family: 'jost', sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
    color: #222222;
}

.sub-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-card ul li a {
    font-family: Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    color: #003399;
}

.SP {
    display: none !important;
}

@media screen and (max-width: 860px) {
    #mainContent {
        background: url("../../common/images/bg-error-SP.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        background-color: #02234C;
        padding-bottom: 30px;
    }

    .main .title {
        font-size: 32px;
        margin-top: 80px;
        display: block;
        max-width: 330px;
    }

    .main .sub-text-wrapper {
        margin-top: 16px;
        padding-bottom: 40px;
        margin-bottom: 47px;
    }

    .main .sub-text {
        text-wrap: balance;
    }

    .header .title {
        font-size: 28px;
        line-height: 33px;
    }

    .header .sub-text {
        font-size: 22px;
        margin-top: 19px;
        margin-bottom: 110px;
        line-height: 30px;
    }

    .card-page {
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 37px;
    }

    .sub-card .wrapper {
        padding-bottom: 21px;
        margin-bottom: 16px;
    }

    .SP {
        display: block !important;
    }

    .PC {
        display: none !important;
    }
}
