@charset "UTF-8";
/* CSS Document */
/* Y・PiECE EC 会員ページ専用（mypage / login / register / orders） */


/******************************************************

PC設定 1200px以上の場合に適用

*******************************************************/

/* バッジ（必須/任意） */
.yp-badge {
	font-size: 9px;
	padding: 1px 6px;
	border-radius: 3px;
	color: #fff;
	}

.yp-badge--req {
	background: #c0392b;
	}

.yp-badge--opt {
	background: #999;
	}

/* ===== 認証（ログイン／会員登録） ===== */

.yp-authtabs {
	display: flex;
	justify-content: center;
	border-bottom: 1px solid #e7eaf0;
	max-width: 520px;
	margin: 0 auto 60px;
	}

.yp-authtabs__tab {
	padding: 16px 40px;
	font-size: 18px;
	color: #9aa3b2;
	text-decoration: none;
	}

.yp-authtabs__tab--active {
	font-weight: 600;
	color: #1A2A5E;
	border-bottom: 2px solid #1A2A5E;
	margin-bottom: -1px;
	}

.yp-auth {
	max-width: 520px;
	margin: 0 auto;
	}

.yp-authalert {
	background: #f8d7da;
	border: 1px solid #f5c2c7;
	color: #842029;
	padding: 12px 16px;
	border-radius: 7px;
	margin-bottom: 16px;
	font-size: 14px;
	}

.yp-authfield {
	margin-bottom: 30px;
	}

.yp-authfield--last {
	margin-bottom: 30px;
	}

.yp-authfield__label {
	color: #555;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
	}

.yp-authinput {
	width: 100%;
	height: 46px;
	background: #f5f7fa;
	border: 1px solid #e7eaf0;
	border-radius: 4px;
	padding: 0 14px;
	color: #333;
	font-family: inherit;
	}

.yp-authinput:focus {
	border-color: #1A2A5E;
	background: #fff;
	outline: none;
	}

.yp-authhint {
	font-size: 12px;
	color: #9aa3b2;
	margin-top: 4px;
	}

.yp-authterms {
	font-size: 12px;
	color: #9aa3b2;
	margin-bottom: 16px;
	line-height: 1.7;
	}

.yp-authterms a {
	color: #1A2A5E;
	}



.yp-authalt {
	text-align: center;
	margin-top: 18px;
	}

.yp-authlink {
	font-size: 13px;
	color: #1A2A5E;
	}

/* ===== ダッシュボード（サイドバー＋本文） ===== */

.yp-mypage {
	display: grid;
	grid-template-columns: 220px 1fr;
	}

.yp-mysidebar {
	border-right: 1px solid #e7eaf0;
	padding: 32px 0;
	}

.yp-myuser {
	padding: 0 24px 24px;
	border-bottom: 1px solid #e7eaf0;
	margin-bottom: 8px;
	}

.yp-myuser__company {
	font-size: 14px;
	font-weight: 600;
	color: #1A2A5E;
	margin-bottom: 2px;
	}

.yp-myuser__name {
	font-size: 12px;
	color: #9aa3b2;
	}

.yp-mynav {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 24px;
	color: #555;
	text-decoration: none;
	}

.yp-mynav--active {
	font-weight: 600;
	color: #1A2A5E;
	background: #eef1f8;
	border-left: 3px solid #F5CD1A;
	}

.yp-mylogout {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 24px;
	color: #9aa3b2;
	text-decoration: none;
	margin-top: 8px;
	border-top: 1px solid #e7eaf0;
	}

.yp-mymain {
	padding: 32px 40px;
	}

.yp-mytitle {
	font-size: 20px;
	font-weight: 600;
	color: #1A2A5E;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #F5CD1A;
	}

.yp-myempty {
	text-align: center;
	padding: 60px 0;
	}

.yp-myempty__icon {
	margin-bottom: 16px;
	line-height: 0;
	}

.yp-myempty__title {
	font-weight: 600;
	color: #1A2A5E;
	margin-bottom: 8px;
	}

.yp-myempty .btn {
	margin-top: 50px;
	}


/* ===== 注文カード ===== */

.yp-orderlist {
	display: flex;
	flex-direction: column;
	gap: 16px;
	}

.yp-ordercard {
	border: 1px solid #e7eaf0;
	border-radius: 2px;
	overflow: hidden;
	}

.yp-ordercard__head {
	background: #f5f7fa;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #e7eaf0;
	flex-wrap: wrap;
	gap: 8px;
	}

.yp-ordercard__meta {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
	}

.yp-ordercard__no {
	font-size: 13px;
	font-weight: 600;
	color: #1A2A5E;
	}

.yp-ordercard__date {
	font-size: 12px;
	color: #9aa3b2;
	}

.yp-ordercard__total {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #1A2A5E;
	}

.yp-ordercard__status {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 11px;
	border-radius: 2px;
	}

.yp-ordercard__status--pending,
.yp-ordercard__status--payment_wait {
	background: #fff8cc;
	color: #7a6000;
	}

.yp-ordercard__status--paid {
	background: #e6f7ee;
	color: #1a7a4a;
	}

.yp-ordercard__status--in_production {
	background: #e8f0fb;
	color: #1A2A5E;
	}

.yp-ordercard__status--shipped {
	background: #d1e7dd;
	color: #0f5132;
	}

.yp-ordercard__status--delivered {
	background: #e2e3e5;
	color: #41464b;
	}

.yp-ordercard__status--cancelled {
	background: #f8d7da;
	color: #842029;
	}

.yp-ordercard__progress {
	padding: 18px 20px 14px;
	}

.yp-ordercard__body {
	padding: 8px 20px;
	}

.yp-ordercard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	border-top: 1px solid #e7eaf0;
	}

.yp-ordercard__foot-label {
	font-size: 13px;
	color: #9aa3b2;
	}

.yp-ordercard__foot-total {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: #1A2A5E;
	}

/* 注文明細 */
.yp-orderitem {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	border-bottom: 1px solid #e7eaf0;
	}

.yp-orderitem:last-child {
	border-bottom: none;
	}

.yp-orderitem__thumb {
	width: 56px;
	height: 56px;
	border-radius: 2px;
	background: #eef0f4;
	flex-shrink: 0;
	}

.yp-orderitem__info {
	flex: 1;
	}

.yp-orderitem__name {
	font-size: 14px;
	font-weight: 600;
	color: #1A2A5E;
	}

.yp-orderitem__meta {
	font-size: 13px;
	color: #9aa3b2;
	margin-top: 2px;
	}

.yp-orderitem__price {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1A2A5E;
	}

/* 進捗バー */
.yp-progress {
	display: flex;
	align-items: center;
	}

.yp-progress__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	}

.yp-progress__dot {
	width: 13px;
	height: 13px;
	border-radius: 999px;
	background: #dde3ea;
	margin-bottom: 5px;
	}

.yp-progress__step--done .yp-progress__dot {
	background: #1A2A5E;
	}

.yp-progress__step--active .yp-progress__dot {
	width: 15px;
	height: 15px;
	background: #F5CD1A;
	border: 2px solid #1A2A5E;
	}

.yp-progress__label {
	font-size: 10px;
	color: #9aa3b2;
	text-align: center;
	white-space: nowrap;
	}

.yp-progress__step--done .yp-progress__label,
.yp-progress__step--active .yp-progress__label {
	color: #1A2A5E;
	}

.yp-progress__step--active .yp-progress__label {
	font-weight: 600;
	}

.yp-progress__bar {
	flex: 1;
	height: 2px;
	background: #dde3ea;
	margin-bottom: 16px;
	}

.yp-progress__bar--done {
	background: #1A2A5E;
	}

/* 会員情報テーブル */
.yp-infotable {
	border: 1px solid #e7eaf0;
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 24px;
	}

.yp-inforow {
	display: grid;
	grid-template-columns: 160px 1fr;
	font-size: 13px;
	border-bottom: 1px solid #e7eaf0;
	}

.yp-inforow:last-child {
	border-bottom: none;
	}

.yp-inforow__key {
	background: #eef1f8;
	color: #1A2A5E;
	padding: 13px 16px;
	font-weight: 600;
	}

.yp-inforow__val {
	padding: 13px 16px;
	color: #444;
	}

.yp-mybtn-outline {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 24px;
	border: 1px solid #1A2A5E;
	color: #1A2A5E;
	border-radius: 2px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	}

.yp-mybtn-outline:hover {
	background: #eef1f8;
	}



/******************************************************

タブレットの設定 960px〜1199pxの場合に適用

*******************************************************/

@media screen and (max-width: 1199px){



}



/******************************************************

タブレットの設定 768px〜959pxの場合に適用

*******************************************************/

@media screen and (max-width: 959px){

.yp-mypage {
	grid-template-columns: 1fr;
	}

.yp-mysidebar {
	border-right: none;
	border-bottom: 1px solid #e7eaf0;
	}

}



/******************************************************

SPの設定 767px以下の場合に適用

*******************************************************/

@media screen and (max-width: 767px){

.container--tight {
	padding-top: 30px;
	}

.yp-myempty .btn {
	margin-top: 20px;
	}

.yp-mymain {
	padding: 24px 20px;
	}

.yp-inforow {
	grid-template-columns: 110px 1fr;
	}

.yp-progress__label {
	font-size: 9px;
	}

}
