.ec-historyRole .ec-historyRole__contents {
    padding-top: 1em;
    padding-bottom: 16px;
    border-top: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    color: #525263;
}

.mypage .ec-navlistRole ul {
    font-size: 1.3rem;
    letter-spacing: 0;
    display: table;
    width: 100%;
}

.mypage .ec-navlistRole ul li {
    display: table-cell;
    width: 16.6666667%;
    background: rgba(255, 255, 255, 0.85);
    vertical-align: middle;
}

.mypage .ec-navlistRole ul li:hover {
    background: #f5f7f8;
}

.mypage .ec-navlistRole ul li.active {
    background: #DE5D50;
    color: #FFFFFF;
}

.mypage .ec-navlistRole #nav_mypage_sln_edit_card {
    display: table-cell;
}

.mypage .ec-navlistRole ul li:hover {}

.mypage .ec-navlistRole ul li a {
    padding: 16px 5px;
    background: none;
}

.mypage .article-area .description {
    text-align: center;
    padding: 40px 0;
}

.mypage .article-area .description .ec-para-normal {
    margin-bottom: 0;
}

.mypage .article-area .btnBox ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.mypage .article-area .btnBox ul li {
    margin: 0 4% 0 0;
}

.mypage .article-area .btnBox ul li:last-child {
    margin: 0;
}

.mypage .article-area .btnBox ul li a {
    color: #fff;
    background-color: #5bb432;
    padding: 15px 25px;
    font-size: 1.6rem;
    display: block;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mypage .article-area .btnBox .sub ul {
    flex-direction: column !important;
    align-items: flex-end !important;
    width: 320px;
    margin: 0 auto !important;
}

.mypage .article-area .btnBox .sub ul li {
    width: 100% !important;
    margin:0 !important;
}

.mypage .article-area .btnBox .sub ul li a {
    color: inherit !important;
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: 600;
    max-width: inherit !important;
    width: auto !important;
    padding: 0 0 0 30px !important;
    background-color: inherit !important;
    margin: 0 !important;
    display: inline-block !important;

}

.txt-comp{
    padding: 25px 15px;
    text-align: center;
    background-color: #e3ffd6;
}
.ec-errorMessage{
    padding: 25px 15px;
    text-align: center;
    background-color: #ffeeee;
    color:#FF0000;
}
/*---------- 注文一覧 ----------*/
.mypage .ec-historyRole__contents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px dotted #ccc;
}

.mypage .ec-historyRole__contents .ec-historyRole__header {
    width: 23.4375%;
    /*240px*/
}

.mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader__date {
    font-size: 1.7rem;
}

.mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table {
    font-size: 1.5rem;
    border-collapse: separate;
    border-spacing: 0 5px;
    width: 100%;
}

.mypage .ec-historyRole__contents .ec-historyRole__header table tbody th,
.mypage .ec-historyRole__contents .ec-historyRole__header table tbody td {
    padding: 5px 10px;
}

.mypage .ec-historyRole__contents .ec-historyRole__header table tbody th {
    background: #fcefed;
    width: 100px;
}

.mypage .ec-historyRole__contents .ec-historyRole__header table tbody td {
    background: #FFFFFF;
}

.mypage .ec-historyRole__contents .ec-historyRole__detail {
    width: 100%;
    margin: 0 0 0 -23.4375%;
    /*240px*/
    padding: 0 0 0 25.87890625%;
    /*265px*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid {
    width: 62.5%;
    padding: 0 20px 0 0;
}

.mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid .ec-imageGrid__img {
    padding: 0px;
    width: 115px;
}

.mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid .ec-imageGrid__content {
    vertical-align: middle;
    display: table-cell;
    padding: 0 0 0 25px;
}

.mypage .ec-historyRole__contents .ec-historyRole__detail .ec-historyListHeader__action {}

/*---------- お届け先 ----------*/
.mypage .delivery .ec-addressList {
    padding: 40px 0;
}

.mypage .delivery .ec-addressList .ec-addressList__item {
    display: table;
    width: 100%;
    position: relative;
    border-bottom: 1px dotted #ccc;
    background: rgba(255, 255, 255, 0.85);
}

.mypage .delivery .ec-addressList .ec-addressList__item:first-child {
    border-top: 1px dotted #ccc;
}

.mypage .delivery .ec-addressList .ec-addressList__item a.ec-addressList__remove {
    padding: 15px;
    display: table-cell;
    vertical-align: middle;
}

.mypage .delivery .ec-addressList .ec-addressList__item .ec-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mypage .delivery .ec-addressList .ec-addressList__item .ec-addressList__address dl {
    margin: 0;
}

.mypage .delivery .ec-addressList .ec-addressList__item .ec-addressList__address dl dt {
    font-weight: 600;
    margin: 0 0 10px;
}

.mypage .delivery .ec-addressList .ec-addressList__item .ec-addressList__address dl dd {
    font-size: 1.4rem;
}

.mypage .delivery .ec-addressList .ec-addressList__action {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    top: 0px;
    padding-right: 10px;
}

/*---------- 注文履歴 ----------*/
.mypage .history .article-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mypage .history .article-body .detailBox {
    width: 61.601642710472284%;
    margin: 0 4.1067761806981515% 0 0;
    padding: 0;
    border-top: none;
}

.mypage .history .article-body .summaryBox {
    width: 34.29158110882957%;
}

.mypage .history .article-body .summaryBox .ec-totalBox {
    background: rgba(255, 255, 255, 0.75);
    padding: 25px;
    margin-bottom: 25px;
}

.mypage .history .article-box {
    margin: 0 0 25px;
}

.mypage .history .article-box:last-child {
    margin: 0;
}

.mypage .history .article-box h3 {
    font-size: 2rem;
    width: 100%;
    letter-spacing: 1px;
    font-weight: 600;
    background: inherit;
    position: relative;
    padding: 15px 0 15px 60px;
    margin: 0 0 25px;
    border-bottom: #ea7f85 solid 1px;
}

.mypage .history .article-box h3:before {
    position: absolute;
    content: "";
    background-image: url(../img/common/hana.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 25px;
    height: 24px;
    left: 20px;
    top: 15px;
}

.mypage .history .article-box .ec-imageGrid {
    background: rgba(255, 255, 255, 0.8);
}

.mypage .history .article-box .ec-imageGrid .ec-imageGrid__img {
    padding: 15px;
}

.mypage .history .article-box table {
    border-spacing: 0 5px;
    border-collapse: separate;
    width: 100%;
}

.mypage .history .article-box table th,
.mypage .history .article-box table td {
    padding: 12.5px 15px;
    vertical-align: top;
}

.mypage .history .article-box table th {
    background: #f5e6e6;
    width: 160px;
}

.mypage .history .article-box table td {
    background: #FFFFFF;
}

.mypage .history .mail .ec-orderMail {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.85);
}

.mypage .history .mail .ec-orderMail:first-of-type {
    border-top: 1px dotted #ccc;
}

.mypage .history .mail .ec-orderMail .ec-orderMail__time {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500 !important;
}

.mypage .history .mail .ec-orderMail .ec-orderMail__link {
    width: 100%;
    margin: 0;
}

.mypage .history .mail .ec-orderMail .ec-orderMail__body {
    font-size: 1.4rem;
    padding: 15px 0;
}

.mypage .history .mail .ec-orderMail .ec-orderMail__close {
    text-align: center;
    padding: 25px 0 0;
}

.mypage .history .mail .ec-orderMail .ec-orderMail__close a {
    background: #EFEFEF;
    color: #333333;
    padding: 5px 15px;
    display: inline-block;
}

.mypage .history .article-foot {
    padding: 40px 0 0;
}

.mypage .history .article-foot .btnBox ul li a {
    background-color: #525263;
    border-color: #525263;
    padding: 15px 25px;
    font-size: 1.6rem;
    max-width: 200px;
}

/*---------- 会員情報編集 ----------*/
.ec-welcomeMsg {
    margin: 40px auto;
    text-align: center;
}

#page_mypage_change_complete h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0 auto 40px;
    text-align: center;
}

#page_mypage_change_complete .ec-reportDescription {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 2;
}

/*---------- 退会手続き ----------*/
.mypage .withdraw .article-box {
    padding: 40px 0;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
}

.mypage .withdraw .article-box .box-head {
    text-align: center;
    margin: 0 0 25px;
}

.mypage .withdraw .article-box .box-head img {
    width: 100px;
    height: auto;
}

.mypage .withdraw .article-box .box-body {
    text-align: center;
}

.mypage .withdraw .article-box .box-body .ec-withdrawRole__title {
    font-size: 2rem;
    margin: 0 0 20px;
    font-weight: 600;
}

.mypage .withdraw .article-box .box-foot {
    padding: 40px 0 0;
    text-align: center;
}

.mypage .withdraw .article-box .box-foot ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    max-width: 640px;
}

.mypage .withdraw .article-box .box-foot ul li {
    margin: 0 4% 0 0;
    width: 48%;
}

.mypage .withdraw .article-box .box-foot ul li a {
    margin: 0 !important;
}

.mypage .withdraw .article-box .box-foot ul li:last-child {
    margin: 0;
}

.mypage .withdraw .article-box .box-foot .ec-blockBtn--cancel {
    max-width: 350px;
    font-size: 1.7rem;
    margin: 0 auto;
}

.mypage .withdraw .article-box .box-foot .ec-blockBtn {
    font-size: 1.7rem;
}

@media screen and (max-width: 1280px) {

    /*---------- 注文一覧 ----------*/
    .mypage .ec-historyRole__contents .ec-historyRole__header {
        width: 24.896265560165975%;
        /*240px*/
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail {
        margin: 0 0 0 -24.896265560165975%;
        /*240px*/
        padding: 0 0 0 27.4896265560166%;
        /*265px*/
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid {
        width: 66.39004149377593%;
    }

}

@media screen and (max-width: 1136px) {

    /*---------- 注文一覧 ----------*/
    .mypage .ec-historyRole__contents .ec-historyRole__header {
        width: 28.708133971291865%;
        /*240px*/
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail {
        margin: 0 0 0 -28.708133971291865%;
        /*240px*/
        padding: 0 0 0 31.698564593301437%;
        /*265px*/
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid {
        width: 66.39004149377593%;
    }

}

@media screen and (max-width: 1024px) {
    .mypage .article-area .description {
        padding: 30px 0;
    }

    .mypage .delivery .ec-addressList {
        padding: 30px 0;
    }

    .mypage .history .article-box h3 {
        font-size: 1.8rem;
        padding: 15px 0 15px 50px;
    }

    .mypage .history .article-box h3:before {
        width: 20px;
        height: 19px;
        left: 15px;
        top: 15px;
    }

    .mypage .history .article-foot {
        padding: 30px 0 0;
    }

    /*---------- 退会手続き ----------*/
    .mypage .withdraw .article-box {
        padding: 30px 0;
    }

    .mypage .withdraw .article-box .box-head img {
        width: 75px;
    }

    .mypage .withdraw .article-box .box-foot {
        padding: 30px 0 0;
    }

    /*---------- 会員情報編集 ----------*/
    .ec-welcomeMsg {
        margin: 30px auto;
    }

    #page_mypage_change_complete h3 {
        font-size: 2.2rem;
        margin: 0 auto 30px;
    }

    #page_mypage_change_complete .ec-reportDescription {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 960px) {
    .mypage .ec-navlistRole ul {
        flex-wrap: wrap;
        display: flex;
    }

    .mypage .ec-navlistRole ul li {
        width: 33.3333%;
        display: block;
    }

    .mypage .ec-navlistRole #nav_mypage_sln_edit_card {
        display: block;
    }
}

@media screen and (max-width: 835px) {

    /*---------- 注文一覧 ----------*/
    .mypage .ec-historyRole__contents .ec-historyRole__header {
        width: 30.967741935483872%;
        /*240px*/
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail {
        margin: 0 0 0 -30.967741935483872%;
        /*240px*/
        padding: 0 0 0 34.193548387096776%;
        /*265px*/
        border-top: none !important;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid {
        width: 82.58064516129032%;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid .ec-imageGrid__content {
        padding: 0 0 0 15px;
    }

    /*---------- 注文履歴 ----------*/
    .mypage .history .article-body {
        flex-direction: column;
    }

    .mypage .history .article-body .detailBox {
        width: 100%;
        margin: 0 0 25px;
    }

    .mypage .history .article-body .summaryBox {
        width: 100%;
    }


    .mypage .history .article-box table {
        border-spacing: 0 3px;
    }

    .mypage .history .article-box table th,
    .mypage .history .article-box table td {
        padding: 5px 15px;
    }

    .mypage .history .mail .ec-orderMail {
        padding: 15px;
    }

    /*---------- 会員情報編集 ----------*/
    #page_mypage_change_complete h3 {
        font-size: 2rem;
    }

}

@media screen and (max-width: 750px) {

    /*---------- 注文一覧 ----------*/
    .mypage .ec-historyRole__contents {
        flex-direction: column;
        padding: 15px;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header {
        width: 100%;
        margin: 0 0 15px;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader p {
        font-size: 1.5rem;
        width: 145px;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table {
        font-size: 1.5rem;
        display: inline-block;
        width: auto;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table tr {
        display: inline-block;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table th,
    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table td {
        display: inline-block;
        padding: 10px;
        line-height: 1;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail {
        margin: 0;
        padding: 0;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid {
        width: 82.58064516129032%;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid .ec-imageGrid__img {
        padding: 0px;
        width: 80px;
    }

    .ec-navlistRole .ec-navlistRole__item a {
        padding: 10px 5px;
    }

    .mypage .article-area .description {
        padding: 25px 0;
    }

    .mypage .delivery .ec-addressList {
        padding: 25px 0;
    }

    .mypage .delivery .ec-addressList__action .ec-inlineBtn {
        font-size: 13px;
        padding: 5px 10px;
    }


    .mypage .history .article-box h3 {
        font-size: 1.7rem;
        padding: 10px 0 10px 42px;
        letter-spacing: 0;
        margin: 0 0 20px;
    }

    .mypage .history .article-box h3:before {
        width: 18px;
        height: 17px;
        left: 12.5px;
        top: 10px;
    }


    .mypage .history .article-foot {
        padding: 25px 0 0;
    }

    /*---------- 退会手続き ----------*/
    .mypage .withdraw .article-box {
        padding: 25px 0;
    }

    .mypage .withdraw .article-box .box-head {
        margin: 0 0 20px;
    }

    .mypage .withdraw .article-box .box-head img {
        width: 50px;
    }

    .mypage .withdraw .article-box .box-body .ec-withdrawRole__title {
        font-size: 1.8rem;
    }

    .mypage .withdraw .article-box .box-foot {
        padding: 25px 0 0;
        letter-spacing: 0;
    }

    .mypage .withdraw .article-box .box-foot .ec-blockBtn--cancel {
        font-size: 1.5rem;
    }

    .mypage .withdraw .article-box .box-foot .ec-blockBtn {
        font-size: 1.5rem;
    }

    /*---------- 会員情報編集 ----------*/
    .ec-welcomeMsg {
        margin: 25px auto;
    }

    #page_mypage_change_complete h3 {
        font-size: 1.8rem;
        margin: 0 auto 25px;
    }

    #page_mypage_change_complete .ec-reportDescription {
        margin-bottom: 25px;
        font-size: 15px;
    }
}

@media screen and (max-width: 640px) {
    .mypage .ec-navlistRole ul li a {
        padding: 8px 2.5px;
    }

    /*---------- 注文一覧 ----------*/
    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader p,
    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table {
        font-size: 1.4rem;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table th,
    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table td {
        padding: 7.5px;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__header .ec-historyListHeader table th {
        width: 85px
    }

    .mypage .history .article-box table {
        border-collapse: collapse;
    }

    .mypage .history .article-box table th,
    .mypage .history .article-box table td {
        display: block;
        width: 100%;
    }

    .mypage .history .article-box table th {
        background-color: #fcefed;
        border-bottom: 0.5px solid #CCCCCC;
        vertical-align: middle;
        padding: 7.5px 15px;
        line-height: 1;
    }

    .mypage .history .article-box table td {
        background-color: #ffffff;
        vertical-align: middle;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .mypage .ec-navlistRole ul li {
        width: 50%;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-imageGrid {
        width: 100%;
        margin: 0 0 15px;
        padding: 0;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-historyListHeader__action {
        text-align: center;
        width: 100%;
    }

    .mypage .ec-historyRole__contents .ec-historyRole__detail .ec-historyListHeader__action .ec-inlineBtn {
        padding: 5px 15px;
        max-width: 150px;
        width: 100%;
    }

    .mypage .withdraw .article-box .box-foot ul {
        flex-direction: column;
    }

    .mypage .withdraw .article-box .box-foot ul li {
        margin: 0 0 15px;
        width: 100%;
    }

    .mypage .withdraw .article-box .box-foot .ec-blockBtn--cancel {
        max-width: inherit;
    }
}