﻿body {
    margin: 0;
}
.ceomob {
    width: 507px;
}

.ceomob2 {
    display: none;
}
#letter-main > h2, #letter-main > img, #letter-main > p {
    margin-bottom: 3rem;
}
.letterDesk img {
    float: right;
    margin: 1rem;
}

.letterDesk p {
    font-size: 24px;
}

#letter-main {
    padding: 4rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#letter-main > img {
    width: 100%;
}
.backArea {
    font-size: 22px;
    margin-bottom: 5rem;
}
.backArea a p {
    margin-top: -6px;
    margin-bottom:0;
}
    .backArea img {
        margin-right: 15px;
    }
.backArea a {
    text-decoration: none;
    color: #2393E9;
    display: flex;
    align-items: center;
}

#letter-main > p {
    font-size: 24px;
}

.ceodesk {
    display: none;
}

.bottomArea2 {
    display: none;
}

#letter-main > h2 {
    margin-bottom: 3rem;
    font-size: 43.64px;
    width: 36rem;
}


@media only screen and (max-width: 1024px) {

    .ceomob {
        float: unset;
        margin: unset;
        width: 100%;
        display: none;
    }

    .ceodesk {
        display: unset;
    }

    .letterDesk {
        flex-direction: column;
        row-gap: 2rem;
    }

    #letter-main > p {
        font-size: 20px;
    }

    .letterDesk p {
        font-size: 20px;
    }

    .backArea {
        margin-bottom: 2rem;
    }
}
@media only screen and (max-width: 768px) {
    #letter-main > h2 {
        margin-bottom: 3rem;
        font-size: 31.64px;
        width: 27rem;
    }
}
    @media only screen and (max-width: 590px) {
        #letter-main {
            padding: 2rem;
        }
        #letter-main > h2 {
            margin-bottom: 3rem;
            font-size: 22px;
            width: 19rem;
        }
        .bottomArea {
            display: none;
        }

        .bottomArea2 {
            display: unset;
        }

        .bottomArea2 p {
            display: inline;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .bottomArea2 p img {
            transform: rotate(180deg) scale(.7);
            position: absolute;
        }
    }


    @media only screen and (max-width:430px) {
        .backArea {
            font-size: 18px;
        }
        .backArea img {
            width: 18px;
        }
        #letter-main {
            padding: 1rem;
        }
        #letter-main > img {
            width: 100%;
        }

        #letter-main > h2 {
            font-size: 22px;
        }

        #letter-main > p {
            font-size: 20px;
        }
    }