@font-face {
    font-family: 'Cafe24Ssurround';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%; 
}
#wrap {
    position: relative;
}
header {
    padding: 1.5rem;
    border-bottom: 1px solid #cfcfcf;
}

header img {
    width: 30%;
}

main {
    flex: 1; 
    padding: 20px;
}

footer {
    border: 1px solid #f0f0f0;
    background-color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
}
footer p{
    line-height: 1.1;
    font-size: 1.1rem;
}

.content1 {
    padding: 1.5rem 1.5rem 10rem;
}
.content1 .txt{
    font-size: 1.6rem;
    line-height: 1.5;
}
.content1 .th {
    display: block;
    margin: 0 auto; 
    text-align: center; 
    width: 80%;
}
.content1 .con {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
}
.content1 .con:nth-child(1){
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 0;
}
.content1 .sub_title {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-top: 2rem;
}
.content1 .bold {
    font-size: 1.6rem;
    font-weight: 500;
    color: #038f8d;
}
.content1 .sub_title .deco{
    width: 6%;
    margin-right: .5rem;
}
.section_A .content1 .box:nth-of-type(1) {
    margin-top: 0;
}
.content1 .box {
    margin-top: 2rem;
}
.content1 .btn_wrap {
    margin: 4rem 0;
}
/* .content1 .btn_wrap:nth-of-type(1) {
    margin: 2rem 0;
} */
.content1 a {
    position: relative;
    margin-top: 1.5rem;
    display: block;
}
.content1 .img {
    width: 100%;
    margin-top: 3rem;
}
.content1 .btn {
    width: 100%;
}
.text-overlay {
    position: absolute;
    top: 20%;
    left: 2%;
    color: #f1fdb7;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.8rem;
    font-weight: 600;
}
.content1 .btn_wrap2 {
    margin: 2rem 0;
}