@charset "utf-8";

.messe-photo-area {
        max-width: 1200px;
        margin: 8rem auto;
        padding: 1px;
}

.messe-text-area {
        max-width: 1040px;
        padding-left: 20px;
        padding-right: 20px;
        margin: 8rem auto;
}

.top-photo {
        width: 100%;
}

div.colorbox {
        position: relative;
        width: 100%;
}

div.colorbox div.color {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        background-color: #171C61;
}

div.colorbox img {
        display: block;
        width: 100%;
}

.mein-messe {
        margin-bottom: 5.5rem;
        font-size: 2.8rem;
        line-height: 1.6em;
        letter-spacing: 0.15em;
}

.text-style {
        margin-bottom: 3.5rem;
        font-size: 1.6rem;
        line-height: 1.7em;
        letter-spacing: 0.15em;
        text-align: justify;
}

.top-name {
        width: 30%;
        margin: 0 0 0 auto;
        margin-top: 10rem;
}

.top-name-img {
        width: 100%;
}

@media screen and (max-width:1024px) {
        .messe-photo-area {
                margin: 1rem 0;
                padding: 1rem;
        }

        .messe-text-area {
                margin: 5rem auto;
        }

        .top-name {
                width: 40%;
        }

}

@media screen and (max-width:599px) {

        .messe-text-area {
                margin: 2rem auto 10rem;
        }

        .mein-messe {
                margin-bottom: 5rem;
                text-align: justify;
                font-size: 1.7rem;
        }

        .text-style {
                margin-bottom: 2rem;
                font-size: 1.4rem;
                letter-spacing: 0.1em;
        }

        .top-name {
                width: 75%;
                margin-top: 5rem;
        }
}