.mypage {
  padding: 1.5rem;
}

.mypage-heading {
  padding-left: .5rem;
  border-bottom: 2px #000 solid;
  font-size: 1.6rem;
  font-family: "HiraKakuPro-W6", YuGothic, sans-serif;
}

.mypage-welcome {
  margin: 1rem 0;
  border-radius: 5px;
  line-height: 2rem;
  font-size: 1.2rem;
  background: #fdf9c8;
}

.mypage-welcome::before {
  content: url('../img/p-icon.png');
  display: inline-block;
  margin: 0 .3rem;
  vertical-align: sub;
}

.mypage-text {
  font-size: 1.2rem;
}

.mypage-history-table {
  width: 100%;
  margin: 2rem 0 1rem 0;
  border: 1px solid #95989a;
  border-collapse: collapse;
}

.mypage-history-table-heading {
  width: 20%;
  padding: .3rem .1rem;
  font-size: 1.1rem;
  background: #f8f8f8;
}

.mypage-history-table-data {
  padding: .3rem .1rem;
  word-break: break-all;
}

.mypage-history-table-data:first-of-type,
.mypage-history-table-data:last-of-type {
  text-align: center;
}

.mypage-history-table-data:nth-of-type(2) > a {
  color: #3d5de3;
}

.mypage-history-table-data:nth-last-of-type(2) {
  text-align: right;
}

/*----------history----------*/

.mypage-history-list {
  padding: 1rem;
  border: 1px solid #95989a;
  background: #f8f8f8;
}


.mypage-history-list-item {
  line-height: 2;
}

.mypage-history-list-item > a {
  display: inline-block;
}

.mypage-history-list-item-hilight {
  font-family: "HiraKakuPro-W6", YuGothic, sans-serif;
}

.mypage-detail-table,
.mypage-delivery-table {
  width: 100%;
  margin: 1.5rem 0;
  border: 1px solid #95989a;
  border-collapse: collapse;
}

.mypage-detail-table-heading,
.mypage-detail-table-footer:nth-of-type(odd),
.mypage-delivery-table-heading {
  padding: .5rem .3rem;
  font-family: "HiraKakuPro-W6", YuGothic, sans-serif;
  background: #f8f8f8;
}

.mypage-detail-table-data:last-of-type,
.mypage-detail-table-footer:nth-of-type(even) {
  padding: .5rem .3rem;
  text-align: right;
}

.mypage-detail-table-data {
  word-break: break-all;
}

.card-payment-button {
  width: 70%;
  margin: 0 auto;
  padding: .5rem 0;
  border-radius: 3px;
  color: #fff;
  font-size: 1.2rem;
  font-family: "HiraKakuPro-W6", YuGothic, sans-serif;
  text-align: center;
  background: #583240;
}

.mypage-message,
.mypage-delivery {
  padding: 1rem 0;
}

.mypage-message-heading,
.mypage-delivery-heading {
  padding: .5rem;
  border-bottom: 2px solid #85734d;
  font-size: 1.4rem;
  font-family: "HiraKakuPro-W6", YuGothic, sans-serif;
}

.mypage-delivery-table-heading {
  text-align: left;
}

.mypage-delivery-table-data {
  padding: .5rem .3rem;
}

.sphone-text-area {
  padding: 1rem;
  border: 1px solid #95989a;
  border-top: none;
}

.sphone-message-input {
  width: 80%;
  height: 2.4rem;
  padding: .5rem;
  border: 1px solid #95989a;
  border-radius: 3px;
  vertical-align: middle;
}

.sphone-submit-button {
  display: inline-block;
  width: 16%;
  height: 2.4rem;
  margin: 0 2%;
  padding: .3rem 0;
  border-radius: 3px;
  text-align: center;
  vertical-align: bottom;
  color: #fff;
  font-size: 1.2rem;
  font-family: "HiraKakuPro-W6", YuGothic, sans-serif;
  background: #2e9f3e;
}

.mypage-sub {
  margin: 1rem 0;
  font-family: "Hiragino Kaku Gothic Pro", YuGothic, sans-serif;
}

.mypage-sub-heading {
  padding-bottom: .5rem;
  border-bottom: 2px #85734d solid;
  font-size: 1.4rem;
}

/**********************************
 * Header Menu
 **********************************/
.mypage-sub-heading-menu-head {
  height: 40px;
}

.mypage-sub-heading-menu-head img {
  float:right;
  padding: 10px 20px 0 0;
}

.mypage-sub-heading-menu {
  border: solid #cccccc 1px;
  margin: 5px 0 15px 0;
  border-radius: 0.5em;
}

.mypage-sub-heading-menu ul li {
  border-bottom: solid #cccccc 1px;
  padding: 10px 0;
  font-size: 1.4rem;
}

.mypage-sub-heading-menu-list-check {
  background-color: #eeeeee;
}
/*
.mypage-sub-heading-menu ul li:first-child {
  border-top: solid #cccccc 1px;
}
*/

.mypage-sub-heading-menu ul li:last-child {
  border-bottom: none;
}

.mypage-sub-heading-menu ul li span::before{
  content: "";
  background-color: #f48fb1;
  border-radius: 3px;
  display: inline-block;
  height: 6px;
  width: 6px;
  margin-right: 3px;
  position: relative;
  top: -1px;
}
.mypage-sub-heading-menu ul li:nth-child(2) span::before{ background-color: #a08ff4;}
.mypage-sub-heading-menu ul li:nth-child(3) span::before{ background-color: #f48fb1;}
.mypage-sub-heading-menu ul li.mypage-sub-heading-menu-list-check span::before{ background-color: #000000;}
.mypage-sub-heading-menu ul li span{ padding-left: 20px;}

/**********************************
 * Favorite
 **********************************/
.favorite-list{
  border: solid #cccccc 1px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.4);
  margin-bottom: 5px;
}

.favorite-list-off{
  background-color: #bbbbbb;
}

.favorite-list li{
  padding: 3px 5px;
}

.favorite-list-product-name {
  font-size: 1.4rem;
}

.favorite-list-product-link {
  text-decoration: underline;
  color: #0033cc;
}

.favorite-list-product-link a {
  color: #0033cc;
}

.favorite-list-baseinfo{
  text-align: right;
  font-size: 1.2rem;
  border-bottom: solid #cccccc 1px;
}

.favorite-list-comment4{
  font-size: 1.1rem;
}

.favorite-list li.favorite-list-create-date{
  padding: 6px 5px 3px 10px;
}

.favorite-count {
  margin: 5px 0;
  font-size: 1.4rem;
}

.favorite-count span {
  color: #ff0000;
}

.favorite-list-create-date {
  text-align: right;
  font-size: 1.2rem;
  border-top: solid #cccccc 1px;
  display:inline-block;
  width:100%;
}

.favorite-list-create-date img {
  margin-left:20px;
  float:right;
}

.favorite-list-create-date span {
  float:right;
}

.favorite-list li.favorite-list-action{
  padding: 10px 5px;
  text-align: center;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}

.favorite-list-action-btn{
  float:left;
}

.favorite-list-action-cart {
  font-size: 1.3rem;
  background: #e50d0e none repeat scroll 0 0;
  color: #ffffff;
  width: 140px;
}

.favorite-list-action-cart-off {
  font-size: 1.3rem;
  background: #cccccc none repeat scroll 0 0;
  color: #ffffff;
  width: 140px;
}

.favorite-list-action-cart::before,
.favorite-list-action-cart-off::before{
  content: url("../img/basket.png");
  display: inline-block;
  height: 30px;
  vertical-align: middle;
  position: relative;
  top: 3px;
}

.favorite-list-action-price {
  font-size: 1.7rem;
  display: inline-block;
  float: right;
  vertical-align: middle;
  color: #ff0000;

}

.favorite-list-action-link{
  color: #0000ff;
  text-decoration: underline; 
}

#favorite-sort {
  margin-bottom:20px;
  border: solid #ccc 1px;
  padding: 15px;
  border-radius: 0.5em;
}

/*
.favorite-search-icn {
  background: url("../img/sub_search.png") no-repeat 13px 13px;
  border: 1px solid #ccc;
  border-radius: 70px;
  display: block;
  height: 38px;
  padding: 40px 20px 20px;
  text-align: center;
  transition: background-color 0.5s ease-in 0s;
  width: 60px;
  margin-bottom: 10px;
  display: inline-block;
}
*/

.favorite-search-icn {
  background: url("../img/my_sub_menu.png") no-repeat 18px 20px;
  border: 1px solid #ccc;
  border-radius: 70px;
  display: block;
  height: 38px;
  padding: 40px 20px 20px;
  text-align: center;
  transition: background-color 0.5s ease-in 0s;
  width: 60px;
  margin-bottom: 10px;
  display: inline-block;
}


.favorite-search-btn {
  display: inline-block;
  background-color: #583240;
  border-radius: 0.3rem;
  color: #fff;
  text-align: center;
  width: 20%;
  font-size: 1.3rem;
  padding: 5px 0;
}

.btn_area {
  margin-top: 10px;
}

.change-back {
  display: inline-block;
  width: 100%;
  height: 30px;
  border-radius: 3px;
  line-height: 27px;
  color: #fff;
  font-family: "Hiragino Kaku Gothic Std", YuGothic, sans-serif;
  background: #aaa;
}

.change-next {
  width: 100%;
  height: 30px;
  color: white;
  font-family: "Hiragino Kaku Gothic Std", YuGothic, sans-serif;
  background: #2e9f3e;
  margin-bottom: 10px;
  border-radius: 3px;
  border: .1rem solid #95989A;
}
.pagenumber_area{
  padding-top: 5px;
  padding-bottom: 5px;
  background: url("../img/background/line_dot_01.gif") repeat-x bottom ;
}

.pagenumber_area a{
  display: inline-block;
}
