@charset "UTF-8";
/* CSS Document */

.back {
    background-image: url(../img/history_back.png);
    background-size: 4465px 4417px;
    background-repeat: no-repeat;
    background-position: center top;
}
#contents img {
    width: 100%;
    height: auto;
}

#contents h1 {
    font-size: 0;
    display: block;
    text-align: center;
    padding: 96px 0 50px;
}
#contents h1 .tt {
    width: 581px;
    height: auto;
}
#contents h1 .timg {
    width: 448px;
    height: auto;
    margin-top: 54px;
}
#contents h1 + p {
    font-size: 30px;
    line-height: 1.5;
    text-align: center;
    padding-bottom: 50px;
}

#contents .wbase {
    position: relative;
    overflow: visible;
    background-color: #FFF;
    border-radius: 54px;
    padding: 35px 40px;
}
#contents .wbase img {
    width: 100%;
    height: auto;
}

#contents .btns {
    justify-content: center;
    gap: 33px;
    padding: 300px 0 68px;
}
#contents .btns img {
    width: auto;
    height: 279px;
}

@media screen and (max-width: 1023px) {
    .back {
        background-image: none;
    }
    #contents h1 {
        padding: 50px 0 30px;
    }
    #contents h1 .tt {
        width: 100%;
    }
    #contents h1 .timg {
        width: 100%;
        margin-top: 30px;
    }
    #contents h1 + p {
        font-size: 14px;
        line-height: 1.8;
        padding-bottom: 30px;
    }
    #contents .wbase {
        border-radius: 15px;
        padding: 15px 10px;
    }
    #contents .btns {
        padding: 50px 0;
        gap: 5px;
        align-items: center;
    }
    #contents .btns img {
        width: auto;
        height: 220px;
    }
}