@charset "utf-8";

/* 초기 설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'NanumBarunGothic', sans-serif;
    color: #202634;
}

img {
    vertical-align: top;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin: 0;
}

.row {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

/* 초기 설정 */

/* 전체 박스 및 section별 공통 설정 */
.wrap {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    margin: 0 auto;
}

section {
/*    background: url(../images/bg.gif);*/
}

/* 전체 박스 및 section별 공통 설정 */

.explain {
    padding:60px;
    background:#f5f5f5;
    
    justify-content: space-between;
}

.explain > div > p:first-child {
    margin-bottom: 30px;
    /* width:calc(60% - 30px); */
/*    max-width:440px;*/
}

.explain p {
    font-size:18px;
    /* margin-bottom:12px; */
    letter-spacing: -0.02em;
    
    word-break: keep-all;
}

.explain .img_box {
    width:40%;
}



.contents {
    padding:20px 60px;
}


h1 {
    font-size:30px;
    color:#1a5cd4;
    font-weight:bold;
    
    margin:60px 0 20px;
    
    flex-wrap: wrap;
    flex-direction: row;
}

h1 p {
    font-size:15px;
    margin-left:20px;
    padding-top:8px;
    
    font-weight:normal; 
}

h1 span {
    color:#3498db;
}





.recommender_info div.input_area {
    display:flex;
    justify-content: space-between;
}

.recommender_info input {
    width:calc(50% - 7.5px);
    
    font-size:18px;
    padding:7px 15px;
    
    border:1px solid #999999;
    color:#999999;
}

.receiver_info input {
/*    width:32%;*/
    width:calc((100% - 32px) / 3);
    
    font-size:18px;
    letter-spacing:-0.04em;
    padding:7px 15px;
    
    border:1px solid #999;
    color:#454545;
    
    margin-bottom:14px;
}

.receiver_info .input_area div {
    width:100%;
    display:flex;
    justify-content: space-between;
}

.receiver_info input::placeholder {
    color:#999999;
}

.input_append_btn {
    display:block;
    width:100%;
    height:42px;
    border:1px solid #999;
    background:url(../img/add_btn.png) no-repeat 50% 50% #ededed;
    
    line-height:42px;
}


/*.contents .content-bottom form input[type="button"] {*/
.contents form input[type="submit"] {
    display: block;
    cursor: pointer;
    background: url(../img/btn.png) no-repeat;
    width: 300px;
    height: 70px;
    margin: 70px auto;
    margin-bottom: 30px;
    border: none;
}


/*recommend_done*/

.recommend_done p {
    margin:100px auto 40px;
    
    font-size:40px;
    font-weight:bold;
}

.recommend_done p span {
    color:#3297df;
}

.recommend_done div {
    margin-bottom:80px;
}

footer{
    background-color: #111;
    padding: 30px 0;
}
footer p{
    text-align: center;
    color: #fff;
    font-size: 15px;
}
footer p span{
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight:300;
}


@media (max-width:768px){
    
    h1 {
        flex-direction: column;
        font-size:21px;
    }
    
    h1 p {
        margin-left: 0;
        font-size:15px;
    }
    
    .explain {
        padding:60px 30px;
    }
    
    .explain.d-flex {
        display: block !important;
    }
    
    .explain > div:first-child,
    .explain .img_box {
        width:100%;
    }
    
    .contents {
        padding:20px 30px;
    }
    
    .recommender_info div.input_area {
        display:inherit;
    }
    
    .recommender_info input {
        width:100%;
        margin-bottom:15px;
    }
    
    .recommender_info input,
    .receiver_info input {
        font-size:15px;
        padding:5px 10px;
    }
    
    
    
}
@media(max-width:530px) {

    .content-top.d-flex {
        display: block !important;
    }

    .content-top img {
        display: block;
        margin-left: auto;
    }
    
    .recommend_done p {
        font-size:36px;
    }

}
