/* only mainpage */

#wrap {
    max-width:800px; 
    width:100%;
    margin:0 auto;
}

/*contents*/

.box {
    padding:30px 25px;
}

.contents_1 {
    background:#384b5c;
}

.contents_2 {
    background:url(../images/main_contents_2_bg.jpg) no-repeat center;
    background-size: cover;
}

.title {
    position:relative;
    padding-bottom:10px; 
    border-bottom:1px solid white;
}

.title h3 a {
    display:block;
    font-size:24px;
    font-weight:500;
    color:white;
    text-decoration:none; 
}

.title .btn_w {
    position:absolute;
    top:50%;
    right:0;
    transform: translateY(-55%);
    color:white;
}

.sub_tit,
.sub_tit a {
    position:relative;
    font-size:16px;
    font-weight:300;
    color:white;
    text-decoration:none;
}

.sub_tit > p {
    line-height:28px;   
}

.link_txt p a {
    display:block;
    font-size:14px;
    font-weight:300;
    color:#c9d3dc;
    line-height:22px;
    text-decoration:none; 
    
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.btn_down {
    position:absolute;
    right:-10px;
    bottom:-5px;
}

.contents_3 {
    background:#4f88a5;
}

.contents_3 .row .col-sm-6:nth-child(1) {
    padding-right:15px;
}

.contents_3 .row .col-sm-6:nth-child(2) {
    padding-left:15px;
}

.case_study {
    position:relative;
    background:#f7f7f7;
    padding:9px 20px;
    border-radius:10px;
    box-shadow:3px 0px 7px rgba(0, 0, 0, .11);
}

.case_study a:first-child {
    display:block;
    font-size:20px;
    font-weight:400;
    color:#4f88a5;
    text-decoration:none;
    
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.case_study span.sub_cate {
    display:inline-block;
    background:#4F88A5;
    padding:6px 17px;
    font-size:18px;
    font-weight:400;
    color:white;
    border-radius:5px; 
    margin-right:5px;
}

.contents_4 {
    background:#e3e3e3;
}

.contents_4 .title {
    position:relative;
    padding-bottom:10px; 
    border-bottom:1px solid #384b5c;
}

.contents_4 .title h3 a {
    display:block;
    font-size:24px;
    font-weight:500;
    color:#666;
    text-decoration:none; 
}

.contents_4 .title .btn_b {
    position:absolute;
    top:50%;
    right:0;
    transform: translateY(-55%);
    color:white;
}

.contents_4 .sub_tit {
    font-size:20px;
    font-weight:500;
    color:#4F88A5;
}

.txt_box {
    padding-right:40px;
    font-size:14px;
    font-weight:300;
    line-height:22px;
    letter-spacing:-0.05em;
}

.contents_4 .txt_box {
    line-height:24px; 
}

.txt_box span.writter {
    color:#636c76;
    font-weight:400;
}


.contents_5 {
    background:#f7f7f7;
}

.contents_5 .title {
    position:relative;
    padding-bottom:10px; 
    border-bottom:none;
}

.contents_5 .title h3 a {
    display:block;
    font-size:24px;
    font-weight:500;
    color:#666;
    text-decoration:none; 
}

.contents_5 .sub_tit {
    text-align:center;
    padding:8px 0;
    border-radius:8px;
}

.contents_5 .sub_tit a {
    display: block;
    font-size:18px;
    font-weight:400;
}

.contents_5 .sub_tit1 {
    background:#384b5c;
}

.contents_5 .sub_tit2 {
    background:#4f88a5;
}

.contents_5 .sub_tit3 {
    background:#17a8ae;
}

.link_box a {
    font-size:14px;
    font-weight:400;
    color:#666;
    line-height:22px;
    text-decoration:none; 
}

.link_box p {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap; 
}

.contents_6 {
    background:#82a3c1;
}

.contents_6 .txt_box {
    padding-right:0;
    font-size:15px;
    font-weight:300;
    line-height:22px;
    letter-spacing:inherit;
    color:white;
}

.contents_7 {
    background:url(../images/main_contents_7_bg.jpg) no-repeat center;
    background-size:cover;
}

.contents_8 {
    border-left:1px solid #e9e9e9;
    border-right:1px solid #e9e9e9;
}

.contents_8 .box {
    padding:30px 25px 20px 25px;
}

.contents_8 .box div:first-child a {
    font-size:18px;
    line-height:28px;
    margin-bottom:0; 
    color:#4F88A5;
    font-weight:500;
    text-decoration:none; 
    display:block;
}

.subscribe {
    font-size:14px;
}



@media (max-width: 576px) {

    .contents_3 .row .col-sm-6:nth-child(1) {
        padding-right:0;
        margin-bottom:15px;
    }

    .contents_3 .row .col-sm-6:nth-child(2) {
        padding-left:0;
    }

    .txt_box {
        padding-right:0;
        font-size:14px;
        font-weight:300;
        line-height:22px;
        letter-spacing:-0.05em;
    }
    
}