.inner {
    margin: 0 auto;
    width: calc(100% - 30px);
    max-width: 1180px;
}
.inner::after {
    display: block;
    clear: both;
    content: '';
}
/* ============마이페이지 공통============ */

#container.mypage_container {
    padding-bottom: 70px;
    /* width: 100%; 마이페이지 css 리뉴얼 완료후 삭제해야함 */
    max-width:1180px;
    width: calc(100% - 20px);
    margin: 0 auto;
}
/* mypage_location */
.mypage_location {
    padding: 15px 0;
    min-height: 42px;
    font-size: 0;
    box-sizing: border-box;
}
.mypage_location span {
    display: inline-block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}
.mypage_location span + span::before {
    display: inline-block;
    padding: 0 6px;
    content: '>';
}
/* mypage_nav */
.mypage_nav {
    float: left;
    width: 180px;
}
/* mypage_main */
.mypage_main {
    float: right;
    width: calc(100% - 200px);
}
.mypage_title_row {
    margin: 20px 0;
}
.mypage_title_row .mypage_title {
    font-size: 26px;
    font-weight: 400;
}
.mypage_title_row .mypage_sub_desc {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.3;
}


/* 이용약관 */
.trems_tab_menu {
    box-sizing: border-box;
    width: 100%;
    margin: 15px 0;
}

.trems_tab_menu li {
    float: left;
    position: relative;
    box-sizing: border-box;
    width: 33.333333%;
    z-index: 1;
    border-bottom: 2px solid #7a101c;
}

.trems_tab_menu li.selected {
    border-bottom: none;
    z-index: 2;
}

.trems_tab_menu li.selected a {
    height: 37px;
    border: 2px solid #7a101c;
    border-bottom: none;
    background: #fff;
    color: #7a101c;
}

.trems_tab_menu li a {
    display: block;
    height: 36px;
    margin-left: -1px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f8f8f8;
    color: #333;
    text-align: center;
    font-weight: 500;
    line-height: 36px;
}
.trems_con {
    padding: 20px;
    border: solid 1px #ddd;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}


@media screen and (max-width: 850px) {
    #container.mypage_container {
        width: 100%;
    }
    .trems_tab_menu li a {
        font-size: 12px;
    }
    .trems_con {
        font-size: 12px;
    }
}

@media screen and (max-width: 380px) {
    .trems_tab_menu li a {
        font-size: 10px;
    }
}