main {
    background-color: #F5F3EE;
    margin-top: 102px;
    padding-top: 16px;
}
@media only screen and (max-width: 768px)
 {
    main {
        margin-top: 40px;
        padding-top: 30px;
    }
 }
.list-flex {
    display: flex;
}
.sidebar {
    width: 200px;
    margin-right: 30px;
}
.sidebar a:hover {
    color: #ECB935;
}
.mypage-body {
    width: calc( 100% - 230px );
}
#mypage-message-edit .mypage-body {
    display: flex;
}
.list {
    width: calc( 100% - 260px );
}
.user {
    width: 230px;
    margin-left: 30px;
}
.sidebar__wrapper {
    margin-bottom: 30px;
    margin-top: -29px;
}
.mypage-sidebar-tub {
    display: inline-block;
    background-color: #ECB935;
    border-radius: 10px 10px 0 0;
    color: #fff;
    padding: 4px 20px;
    font-size: 14px;
}
.mypage-sidebar-body {
    background-color: #FFF;
}
.mypage-sidebar-body > ul {
    margin: 0;
}
.mypage-sidebar-body > ul > li {
    border-bottom: 1px solid #ddd;
    width: 100%;
    display: block;
    position: relative;
}
.mypage-sidebar-body > ul > li:first-child {
    border-top: 1px solid #ddd;
}
.mypage-sidebar-menu {
    display: block;
    padding: 7px 15px 7px 30px;
    font-size: 12px;
    color: #866100;
}
.mypage-sidebar-menu__triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #866100;
    color: #866100;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.my-page__score-box .mypage-sidebar-parent {
    font-size: 0;
    width: 100%;
    color: #866100;
    padding: 7px 0;
}
.mypage-score-title {
    display: inline-block;
    width: calc( 50% - 20px );
    font-size: 12px;
    font-weight: bold;
    padding-left: 20px;
}
.mypage-score-result {
    display: inline-block;
    width: calc( 50% - 20px );
    font-size: 12px;
    text-align: right;
    padding-right: 20px;
}
@media only screen and (max-width: 992px) {
    .list {
        width: 100%;
    }
    .mypage-body {
        flex-direction: column;
    }
    .user {
        width: 100%;
        margin-left: 0;
    }
}
@media only screen and (max-width: 768px) {
    .list-flex {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        margin: 0;
        /* display: none; */
        /*order: 2;*/
    }
    .mypage-body {
        flex-direction: column;
        /*order: 1;*/
    }
    .sidebar__wrapper {
        margin-top: 0;
    }
}


/* user */
.user .sidebar__wrapper {
    text-align: right;
}
.user .mypage-sidebar-body {
    text-align: left;
}
.my-page__user-box {
    background-color: #FFFCE9;
    padding: 15px;
}
.mypage-user__icon {
    width: 100px;
    margin: 0 auto;
}
.mypage-user__icon img {
    border-radius: 50%;
}
.mypage-user__name {
    margin: 10px 0;
    color: #515151;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.mypage-user__sub {
    text-align: center;
    font-size: 12px;
}
.mypage-user__catch {
    text-align: center;
    font-size: 14px;
    color: #FE7676;
    font-weight: bold;
    margin: 20px 0;
}
.mypage-user__text {
    font-size: 12px;
    color: #515151;
}
.mypage-index {
    font-size: 14px;
    color: #866100;
    text-shadow: 0px 3px 6px rgba(0,0,0,0.3);
    display: block;
    margin-bottom: 10px;
    margin-top: 27px;
}
/*　メッセージ送信画面　*/
.message-to {
    font-size: 14px;
    font-weight: bold;
    color: #515151;
    margin-bottom: 10px;
}
.message-to img {
    width: 50px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}
.message-editor {
    width: 80%;
    margin: 20px auto 0;
    font-size: 0;
}
.message-editor textarea {
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 10px;
    width: calc( 100% - 20px);
    font-size: 14px;
    margin-bottom: 10px;
}
.message-button-left {
    display: inline-block;
    width: 50%;
}
.message-button-left input[type="submit"] {
    border: 2px solid #866100;
    font-size: 12px;
    font-weight: bold;
    color: #866100;
    border-radius: 3px;
    background-color: transparent;
    width: 100px;
}
.message-button-right {
    display: inline-block;
    width: 50%;
    text-align: right;
}
.message-button-right input[type="submit"] {
    border: 2px solid #ECB935;
    font-size: 12px;
    font-weight: bold;
    color: #FFF;
    border-radius: 3px;
    background-color: #4BCB92;
    width: 100px;
}
@media only screen and (max-width: 992px) {
    .user {
        margin-top: 60px;
    }
    .user .sidebar__wrapper {
        text-align: left;
    }
    .message-editor textarea {
        width: 100%;
    }
    .message-editor {
        width: 100%;
    }
}


/* メッセージ一覧 */
.message-list__wrapper {
    margin-bottom: 40px;
    background-color: #fff;
}
.message-item {
    border-bottom: 1px dashed #dedede;
    font-size: 0;
    padding: 8px 0;
}
.message-link {
    color: #866100;
}
.message-link:hover {
    color: #AB914D;
}
.message-link:hover img {
    opacity: 0.8;
}
.message-item:first-child {
    border-top: 1px dashed #dedede;
}
.message-user,
.message-username,
.message-body {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}
.message-user {
    width: 50px;
    margin-left: 20px;
    margin-right: 20px;
}
.message-user img {
    width: 46px;
    border-radius: 50%;
}
.message-username {
    width: calc( 50% - 90px );
}
.message-username .new,
.mypage-sidebar-body .new-badge,
.mypage-service-list__item .new-badge {
    background: #fe7676;
    color: #fff;
    padding: 3px 10px;
    font-size: 80%;
    margin: 0 6px;
    border-radius: 50px;
    letter-spacing: 1px;
}
.message-body {
    font-size: 12px;
    width: calc( 50% - 20px);
    text-align: right;
    margin-right: 20px;
}
@media only screen and (max-width: 992px) {
    .message-body {
        display: block;
        width: 100%;
        margin-right: 20px;
        padding-right: 20px;
        margin-top: 10px;
    }
    .message-username {
        width: calc( 100% - 90px);
    }
}

@media only screen and (max-width: 768px) {
    .mypage-body {
        width: 100%;
    }
}

/* 出品リスト　*/
#mypage-service-list .pagenation__area {
    padding: 40px 0;
}
.mypage-service-list {
    font-size: 14px;
    width: 100%;
    margin-bottom: 40px;
}
.mypage-service-list__item {
    border-bottom: 1px dashed #dedede;
    font-size: 0;
    padding: 20px 0;
}
.mypage-service-list__item.first-row {
    border-top: 1px dashed #dedede;
}
.mypage-service-list__item a {
    color: #866100
}
.mypage-service-list__item a:hover {
    color: #ECB935;
    text-decoration: none;
}
.mypage-service-list__button {
    padding: 20px;
}
.mypage-service-list__publish,
.mypage-service-list__cat,
.mypage-service-list__title {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}
.mypage-service-list__publish {
    width: 120px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}
.mypage-service-list__cat {
    width: calc( 35% - 160px );
    margin-right: 20px;
    text-align: center;
}
.mypage-service-list__title {
    font-size: 14px;
    width: calc( 65% - 40px);
    margin-right: 20px;
}
.mypage-service-list__icon {
    font-size: 12px;
    border: 2px solid #ECB935;
    border-radius: 5px;
    color: #ECB935;
    text-align: center;
    width: 90px;
    display: inline-block;
}
.mypage-service-list__icon--private {
    border: 2px solid #4BCB92;
    color: #4BCB92;
}
.mypage-service-list__customer {
    font-size: 12px;
    margin-bottom: 5px;
}
.mypage-service-list__cat {
    font-size: 12px;
    font-weight: bold;
}

@media only screen and (max-width: 992px) {
    .mypage-service-list__publish {
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
        text-align: left;
    }
    .mypage-service-list__cat {
        width: auto;
        margin-right: 20px;
    }
    .mypage-service-list__title {
        width: 100%;
        padding: 10px 20px 0;
    }
}

.pagenation__area {
    margin-bottom: 40px;
    text-align: center;
}
.pagenation__area span {
    margin: 0 10px;
    font-weight: bold;
}
.pagenation__area span a:hover {
    opacity: .7;
}
.pagenation-arrow {
    width: 30px;
    text-align: center;
}
.pagenation-arrow img {
    width: 12px;
    height: auto
}
.pagenation-number a {
    color: #4BCB92;
}
.pagenation-number.active a {
    color: #515151;
}


