/* ===================================================
   applications.css
   mypage 全体用 + 申請履歴用
=================================================== */


/* ===================================================
   01. mypage 全体レイアウト
=================================================== */

body.woocommerce-account .entry-body,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce {
	box-sizing: border-box !important;
}

body.woocommerce-account .entry-body,
body.woocommerce-account .entry-content {
	width: 100% !important;
	max-width: 1120px !important;
	margin: 0 auto !important;
	padding: 28px 24px 64px !important;
}

body.woocommerce-account .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

/* WooCommerce標準の左メニュー＋右コンテンツを解除 */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none !important;
	width: 100% !important;
	max-width: 920px !important;
	margin: 0 auto 26px !important;
	padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	max-width: 920px !important;
	margin: 0 auto !important;
	padding: 28px !important;
	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 20px !important;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
	box-sizing: border-box !important;
}


/* ===================================================
   02. 重要なお知らせ
=================================================== */

body.woocommerce-account .lub-box,
body.woocommerce-account .lub-important-notice,
body.woocommerce-account .lub-notice-box,
body.woocommerce-account .order-lub-important-notice {
	box-sizing: border-box !important;
}

body.woocommerce-account .lub-box:first-of-type,
body.woocommerce-account .lub-important-notice,
body.woocommerce-account .lub-notice-box,
body.woocommerce-account .order-lub-important-notice {
	max-width: 1120px !important;
	margin: 0 auto 28px !important;
	padding: 24px 28px !important;
	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-left: 5px solid #333 !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

body.woocommerce-account .lub-box:first-of-type h2,
body.woocommerce-account .lub-important-notice h2,
body.woocommerce-account .lub-notice-box h2,
body.woocommerce-account .order-lub-important-notice h2 {
	margin: 0 0 16px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px solid #e5edf3 !important;
	color: #14213d !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
}

body.woocommerce-account .lub-box:first-of-type p,
body.woocommerce-account .lub-important-notice p,
body.woocommerce-account .lub-notice-box p,
body.woocommerce-account .order-lub-important-notice p {
	margin: 0 !important;
	color: #263238 !important;
	font-size: 14px !important;
	line-height: 1.9 !important;
}


/* ===================================================
   03. mypage メニュー
=================================================== */

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 14px !important;

	margin: 0 !important;
	padding: 0 !important;
	border: none !important;

	list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	list-style: none !important;
	box-shadow: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-top: none !important;
	border-bottom: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation::before,
body.woocommerce-account .woocommerce-MyAccount-navigation::after,
body.woocommerce-account .woocommerce-MyAccount-navigation ul::before,
body.woocommerce-account .woocommerce-MyAccount-navigation ul::after,
body.woocommerce-account .woocommerce-MyAccount-navigation li::before,
body.woocommerce-account .woocommerce-MyAccount-navigation li::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;

	min-height: 92px !important;
	padding: 18px 16px !important;

	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 18px !important;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;

	color: #14213d !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	text-decoration: none !important;

	box-sizing: border-box !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	transform: translateY(-2px) !important;
	border-color: #b8c7d6 !important;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
	text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: #fffafa !important;
	border-color: #b91c1c !important;
	color: #8a1c1c !important;
	box-shadow: 0 10px 26px rgba(185, 28, 28, 0.08) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	display: block !important;
	margin: 0 0 8px !important;
	font-size: 24px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	opacity: 0.8 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--applications a::before {
	content: "📋" !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before {
	content: "🛒" !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before {
	content: "📦" !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before {
	content: "👤" !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
	content: "↪" !important;
}


/* ===================================================
   04. WooCommerce通知・空メッセージ
=================================================== */

body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error {
	margin: 0 !important;
	padding: 18px 20px !important;
	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 16px !important;
	color: #263238 !important;
	line-height: 1.8 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-info {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
}

body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before {
	position: static !important;
	margin: 0 8px 0 0 !important;
	color: #2f73d9 !important;
}

body.woocommerce-account .woocommerce-info .button,
body.woocommerce-account .woocommerce-message .button {
	float: none !important;
	margin: 0 0 0 auto !important;
	white-space: nowrap !important;
}


/* ===================================================
   05. ボタン
=================================================== */

body.woocommerce-account .button,
body.woocommerce-account button.button,
body.woocommerce-account input.button,
body.woocommerce-account a.button,
body.woocommerce-account .lub-button,
body.woocommerce-account .lub-button-sub {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-height: 42px !important;
	padding: 0 22px !important;

	background: #2f73d9 !important;
	border: none !important;
	border-radius: 10px !important;

	color: #fff !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;

	box-shadow: none !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}

body.woocommerce-account .button:hover,
body.woocommerce-account button.button:hover,
body.woocommerce-account input.button:hover,
body.woocommerce-account a.button:hover,
body.woocommerce-account .lub-button:hover,
body.woocommerce-account .lub-button-sub:hover {
	background: #1f5fb8 !important;
	color: #fff !important;
	text-decoration: none !important;
}


/* ===================================================
   06. 会員登録内容変更フォーム
=================================================== */

body.woocommerce-account form.woocommerce-EditAccountForm,
body.woocommerce-account form.edit-account,
body.woocommerce-account form.woocommerce-address-fields {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.woocommerce-account form .form-row {
	margin: 0 0 18px !important;
	padding: 0 !important;
}

body.woocommerce-account form label {
	display: block !important;
	margin: 0 0 7px !important;
	color: #14213d !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

body.woocommerce-account form input.input-text,
body.woocommerce-account form input[type="text"],
body.woocommerce-account form input[type="email"],
body.woocommerce-account form input[type="password"],
body.woocommerce-account form input[type="tel"],
body.woocommerce-account form select,
body.woocommerce-account form textarea {
	width: 100% !important;
	min-height: 44px !important;
	padding: 10px 13px !important;

	background: #fff !important;
	border: 1px solid #cfd8e3 !important;
	border-radius: 10px !important;

	color: #111827 !important;
	font-size: 15px !important;
	line-height: 1.5 !important;

	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.woocommerce-account form input.input-text:focus,
body.woocommerce-account form input[type="text"]:focus,
body.woocommerce-account form input[type="email"]:focus,
body.woocommerce-account form input[type="password"]:focus,
body.woocommerce-account form input[type="tel"]:focus,
body.woocommerce-account form select:focus,
body.woocommerce-account form textarea:focus {
	border-color: #2f73d9 !important;
	box-shadow: 0 0 0 3px rgba(47, 115, 217, 0.12) !important;
	outline: none !important;
}

body.woocommerce-account fieldset {
	margin: 24px 0 0 !important;
	padding: 22px !important;
	background: #f8fafc !important;
	border: 1px solid #e5edf3 !important;
	border-radius: 16px !important;
	box-sizing: border-box !important;
}

body.woocommerce-account fieldset legend {
	padding: 0 8px !important;
	color: #14213d !important;
	font-size: 15px !important;
	font-weight: 800 !important;
}


/* ===================================================
   07. お届け先リスト
=================================================== */

/*
   実HTML：
   <div class="u-columns woocommerce-Addresses col2-set addresses">
     <div class="u-column1 col-1 woocommerce-Address">
     <div class="u-column2 col-2 woocommerce-Address">
*/

.u-columns.woocommerce-Addresses.col2-set.addresses {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 32px !important;
	align-items: flex-start !important;
	justify-content: space-between !important;

	width: 100% !important;
	max-width: 100% !important;
	margin: 26px 0 0 !important;
	padding: 0 !important;

	float: none !important;
	clear: both !important;

	box-sizing: border-box !important;
}

.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1.col-1.woocommerce-Address,
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2.col-2.woocommerce-Address,
.u-columns.woocommerce-Addresses.col2-set.addresses > .woocommerce-Address {
	display: block !important;

	float: none !important;
	clear: none !important;

	flex: 0 0 calc(50% - 16px) !important;
	width: calc(50% - 16px) !important;
	max-width: calc(50% - 16px) !important;
	min-width: 0 !important;

	margin: 0 !important;
	padding: 0 !important;

	position: static !important;
	left: auto !important;
	right: auto !important;

	box-sizing: border-box !important;
}

.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;

	width: 100% !important;
	margin: 0 0 14px !important;
	padding: 0 0 12px !important;

	border-bottom: 2px solid #2f73d9 !important;
	box-sizing: border-box !important;
}

.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title h2 {
	display: block !important;

	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;

	margin: 0 !important;
	padding: 0 !important;
	border: none !important;

	color: #14213d !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;

	text-align: left !important;
	white-space: normal !important;
	writing-mode: horizontal-tb !important;
}

.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title a.edit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	flex: 0 0 auto !important;

	min-height: 34px !important;
	padding: 0 12px !important;

	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 9px !important;

	color: #52616f !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address address {
	display: block !important;

	width: 100% !important;
	max-width: 100% !important;
	min-height: 132px !important;

	margin: 0 !important;
	padding: 22px !important;

	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 16px !important;

	color: #263238 !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 1.9 !important;
	text-align: left !important;
	writing-mode: horizontal-tb !important;

	box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
	margin: 0 0 24px !important;
	color: #263238 !important;
	font-size: 14px !important;
	line-height: 1.8 !important;
}


/* ===================================================
   08. 注文履歴・注文詳細テーブル
=================================================== */

body.woocommerce-account table.shop_table,
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account .lub-applications-table {
	width: 100% !important;
	margin: 18px 0 0 !important;

	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 16px !important;
	overflow: hidden !important;

	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
	box-sizing: border-box !important;
}

body.woocommerce-account table.shop_table th,
body.woocommerce-account table.woocommerce-orders-table th,
body.woocommerce-account .lub-applications-table th {
	padding: 14px 16px !important;
	background: #f8fafc !important;
	border: none !important;
	border-bottom: 1px solid #d9e2ec !important;
	color: #14213d !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	text-align: left !important;
}

body.woocommerce-account table.shop_table td,
body.woocommerce-account table.woocommerce-orders-table td,
body.woocommerce-account .lub-applications-table td {
	padding: 14px 16px !important;
	border: none !important;
	border-top: 1px solid #edf2f7 !important;
	color: #263238 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	vertical-align: middle !important;
}

body.woocommerce-account table.shop_table a:not(:where(.button, .lub-button, .lub-button-sub)),
body.woocommerce-account table.woocommerce-orders-table a:not(:where(.button, .lub-button, .lub-button-sub)),
body.woocommerce-account .lub-applications-table a:not(:where(.button, .lub-button, .lub-button-sub)) {
	color: #1f5fb8 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.woocommerce-account table.shop_table a:not(:where(.button, .lub-button, .lub-button-sub)):hover,
body.woocommerce-account table.woocommerce-orders-table a:not(:where(.button, .lub-button, .lub-button-sub)):hover,
body.woocommerce-account .lub-applications-table a:not(:where(.button, .lub-button, .lub-button-sub)):hover {
	text-decoration: underline !important;
}


/* ===================================================
   09. 見出し
=================================================== */

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-order-details h2,
body.woocommerce-account .woocommerce-customer-details h2,
body.woocommerce-account .woocommerce-column__title {
	margin: 0 0 20px !important;
	padding: 0 0 12px !important;
	border-bottom: 2px solid #2f73d9 !important;
	color: #14213d !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
}


/* ===================================================
   10. 申請・注文状況サマリー
=================================================== */

body.woocommerce-account .lub-order-summary {
	margin: 0 0 30px !important;
	padding: 26px 28px !important;
	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 18px !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
	box-sizing: border-box !important;
}

body.woocommerce-account .lub-order-summary h2 {
	margin: 0 0 20px !important;
	padding: 0 0 12px !important;
	border-bottom: 2px solid #2f73d9 !important;
	color: #14213d !important;
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
}

body.woocommerce-account .lub-status-grid {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 14px !important;
	margin: 0 0 18px !important;
}

body.woocommerce-account .lub-status-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;

	min-height: 92px !important;
	padding: 16px 12px !important;

	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 16px !important;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04) !important;

	color: #14213d !important;
	text-align: center !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
}

body.woocommerce-account .lub-status-card--payment-waiting {
	background: #fffafa !important;
	border-color: #e7b8b8 !important;
	color: #8a1c1c !important;
}

body.woocommerce-account .lub-status-label {
	display: block !important;
	margin: 0 0 8px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

body.woocommerce-account .lub-status-count {
	display: block !important;
	font-size: 20px !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
}


/* ===================================================
   11. 申請履歴ページ
=================================================== */

.lub-applications-page {
	padding: 26px 28px !important;
	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 18px !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
	box-sizing: border-box !important;
}

.lub-applications-lead {
	margin: 0 0 20px !important;
	color: #52616f !important;
	line-height: 1.8 !important;
}

.lub-applications-filter {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin: 0 0 20px !important;
}

.lub-applications-filter a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-height: 38px !important;
	padding: 0 14px !important;

	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 999px !important;

	color: #52616f !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.lub-applications-filter a:hover,
.lub-applications-filter a.is-active {
	background: #8a1c1c !important;
	border-color: #8a1c1c !important;
	color: #fff !important;
	text-decoration: none !important;
}

.lub-status-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-height: 28px !important;
	padding: 0 11px !important;

	background: #f2f4f7 !important;
	border-radius: 999px !important;

	color: #52616f !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
}

.lub-status-badge--on-hold {
	background: #fffafa !important;
	color: #8a1c1c !important;
	border: 1px solid #e4b7b7 !important;
}

.lub-table-link {
	color: #1f5fb8 !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

.lub-table-link:hover {
	text-decoration: underline !important;
}

.lub-empty-message {
	margin: 0 !important;
	padding: 20px !important;
	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 16px !important;
	color: #52616f !important;
	line-height: 1.8 !important;
}


/* ===================================================
   12. キャンセル申請
=================================================== */

.order-lub-cancel-request-box {
	margin: 28px 0 0 !important;
	padding: 18px 20px !important;
	background: #f8fafc !important;
	border: 1px solid #d5dde5 !important;
	border-radius: 14px !important;
	box-sizing: border-box !important;
}

.order-lub-cancel-request-box p {
	margin: 0 0 14px !important;
	color: #52616f !important;
	font-size: 14px !important;
	line-height: 1.8 !important;
}

.order-lub-cancel-request-box--done p {
	margin: 0 !important;
}

.order-lub-cancel-request-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-height: 40px !important;
	padding: 0 20px !important;

	background: #6b7280 !important;
	border-radius: 9px !important;

	color: #fff !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

.order-lub-cancel-request-button:hover {
	background: #4b5563 !important;
	color: #fff !important;
	text-decoration: none !important;
}


/* ===================================================
   13. レスポンシブ
=================================================== */

@media (max-width: 1024px) {
	body.woocommerce-account .lub-status-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	body.woocommerce-account .entry-body,
	body.woocommerce-account .entry-content {
		padding: 22px 15px 48px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		min-height: 86px !important;
		padding: 15px 10px !important;
		border-radius: 14px !important;
		font-size: 13px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 20px 16px !important;
		border-radius: 16px !important;
	}

	body.woocommerce-account .woocommerce-info {
		display: block !important;
	}

	body.woocommerce-account .woocommerce-info .button {
		width: 100% !important;
		margin: 14px 0 0 !important;
	}

	.u-columns.woocommerce-Addresses.col2-set.addresses {
		display: block !important;
	}

	.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1.col-1.woocommerce-Address,
	.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2.col-2.woocommerce-Address,
	.u-columns.woocommerce-Addresses.col2-set.addresses > .woocommerce-Address {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 24px !important;
	}

	body.woocommerce-account .lub-status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.woocommerce-account table.shop_table:not(.woocommerce-table--order-details),
	body.woocommerce-account table.woocommerce-orders-table,
	body.woocommerce-account .lub-applications-table {
		display: block !important;
		overflow-x: auto !important;
		white-space: nowrap !important;
	}

	.order-lub-cancel-request-button {
		width: 100% !important;
	}
}

@media (max-width: 480px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-account .lub-status-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ===================================================
   mypage お届け先リスト：左右ズレ微調整
=================================================== */

/* 住所2カラムの幅を安定させる */
.u-columns.woocommerce-Addresses.col2-set.addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 24px !important;
	row-gap: 24px !important;
	align-items: start !important;

	width: 100% !important;
	max-width: 100% !important;
	margin: 26px 0 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* flex指定を解除してgridの列幅に合わせる */
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1.col-1.woocommerce-Address,
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2.col-2.woocommerce-Address,
.u-columns.woocommerce-Addresses.col2-set.addresses > .woocommerce-Address {
	display: block !important;

	float: none !important;
	clear: none !important;

	flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;

	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* 見出し行の高さ・横位置を揃える */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;

	width: 100% !important;
	min-height: 40px !important;
	margin: 0 0 12px !important;
	padding: 0 0 10px !important;

	border-bottom: 2px solid #2f73d9 !important;
	box-sizing: border-box !important;
}

/* 見出しの余白を完全統一 */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title h2 {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;

	font-size: 20px !important;
	line-height: 1.4 !important;
}

/* 編集ボタンの高さを揃える */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title a.edit {
	min-height: 32px !important;
	height: 32px !important;
	padding: 0 12px !important;
	line-height: 1 !important;
}

/* 住所カードの高さを揃える */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address address {
	min-height: 118px !important;
	padding: 20px !important;
	box-sizing: border-box !important;
}

/* SPは1カラム */
@media (max-width: 768px) {
	.u-columns.woocommerce-Addresses.col2-set.addresses {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
}

/* ===================================================
   mypage 申請状況：枠の重複整理
=================================================== */

/* 申請状況ページの内側カードを解除 */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page {
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* 申請状況サマリーのカード枠も解除 */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-order-summary {
	margin: 0 0 28px !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* 申請・注文状況の見出し */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-order-summary h2 {
	margin: 0 0 18px !important;
	padding: 0 0 12px !important;
	border-bottom: 2px solid #2f73d9 !important;
	color: #14213d !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
}

/* ステータスカードは残す */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-status-grid {
	margin: 0 0 18px !important;
}

/* 申請履歴を見るボタンはこの中では不要なら非表示 */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-order-summary .lub-summary-note,
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-order-summary .lub-button,
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-order-summary .lub-button-sub {
	display: none !important;
}

/* 申請履歴ページ側のリード文 */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-lead {
	margin: 0 0 18px !important;
	color: #52616f !important;
	font-size: 14px !important;
	line-height: 1.8 !important;
}

/* 「すべての履歴を見る」ボタン周辺 */
body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-filter {
	margin: 0 0 22px !important;
}

/* 空メッセージは控えめな1枠だけ */
body.woocommerce-account .woocommerce-MyAccount-content .lub-empty-message {
	margin: 0 !important;
	padding: 18px 20px !important;
	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	color: #52616f !important;
	line-height: 1.8 !important;
}

/* ===================================================
   mypage お届け先リスト：左右配置の強制修正
=================================================== */

/* 親を2カラムgridに固定 */
.u-columns.woocommerce-Addresses.col2-set.addresses {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: 24px !important;
	align-items: start !important;

	width: 100% !important;
	max-width: 100% !important;
	margin: 26px 0 0 !important;
	padding: 0 !important;

	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
}

/* 請求先住所を左に固定 */
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1.col-1.woocommerce-Address {
	grid-column: 1 !important;
	grid-row: 1 !important;
}

/* お届け先住所を右に固定 */
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2.col-2.woocommerce-Address {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

/* 子要素のfloat・幅・余白を完全解除 */
.u-columns.woocommerce-Addresses.col2-set.addresses > .woocommerce-Address,
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1,
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2,
.u-columns.woocommerce-Addresses.col2-set.addresses > .col-1,
.u-columns.woocommerce-Addresses.col2-set.addresses > .col-2 {
	display: block !important;

	float: none !important;
	clear: none !important;

	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;

	flex: none !important;
	flex-basis: auto !important;
	flex-grow: 0 !important;
	flex-shrink: 1 !important;

	margin: 0 !important;
	padding: 0 !important;

	position: static !important;
	left: auto !important;
	right: auto !important;

	box-sizing: border-box !important;
}

/* 見出し行 */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;

	width: 100% !important;
	min-height: 38px !important;
	margin: 0 0 12px !important;
	padding: 0 0 10px !important;

	border-bottom: 2px solid #2f73d9 !important;
	box-sizing: border-box !important;
}

/* 見出し */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title h2 {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;

	color: #14213d !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	text-align: left !important;
	white-space: normal !important;
}

/* 編集ボタン */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address-title.title a.edit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	flex: 0 0 auto !important;
	height: 32px !important;
	min-height: 32px !important;
	padding: 0 12px !important;

	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 9px !important;

	color: #52616f !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

/* 住所カード */
.u-columns.woocommerce-Addresses.col2-set.addresses .woocommerce-Address address {
	display: block !important;

	width: 100% !important;
	max-width: 100% !important;
	min-height: 118px !important;

	margin: 0 !important;
	padding: 20px !important;

	background: #f8fafc !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 16px !important;

	color: #263238 !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 1.9 !important;
	text-align: left !important;

	box-sizing: border-box !important;
}

/* SPは1カラム */
@media (max-width: 768px) {
	.u-columns.woocommerce-Addresses.col2-set.addresses {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1.col-1.woocommerce-Address,
	.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2.col-2.woocommerce-Address {
		grid-column: 1 !important;
		grid-row: auto !important;
	}
}
/* ===================================================
   SP最適化：mypage モバイルファースト調整
=================================================== */

@media (max-width: 768px) {

	/* ---------- マイページメニュー：SPは2カラム ---------- */

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		max-width: 100% !important;
		margin: 0 auto 22px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		min-height: 76px !important;
		padding: 12px 8px !important;
		border-radius: 14px !important;
		font-size: 12px !important;
		font-weight: 800 !important;
		box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05) !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
		margin-bottom: 6px !important;
		font-size: 20px !important;
	}

	/* ログアウトが1個だけ余る場合も、幅は半分のまま */
	body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		grid-column: auto !important;
	}


	/* ---------- SP：本文カードを少し軽く ---------- */

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 18px 14px !important;
		border-radius: 16px !important;
		box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
	}


	/* ---------- SP：申請・注文状況を簡素化 ---------- */

	body.woocommerce-account .lub-order-summary {
		margin: 0 0 22px !important;
		padding: 0 !important;
		background: transparent !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	body.woocommerce-account .lub-order-summary h2 {
		margin: 0 0 14px !important;
		padding: 0 0 10px !important;
		border-bottom: 2px solid #2f73d9 !important;
		font-size: 18px !important;
		line-height: 1.4 !important;
	}

	body.woocommerce-account .lub-status-grid {
		display: block !important;
		margin: 0 !important;
	}

	body.woocommerce-account .lub-status-card {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;

		width: 100% !important;
		min-height: 48px !important;
		margin: 0 0 8px !important;
		padding: 0 14px !important;

		background: #f8fafc !important;
		border: 1px solid #d9e2ec !important;
		border-radius: 12px !important;
		box-shadow: none !important;

		color: #14213d !important;
		text-align: left !important;
	}

	body.woocommerce-account .lub-status-card:hover {
		transform: none !important;
		box-shadow: none !important;
	}

	body.woocommerce-account .lub-status-label {
		margin: 0 !important;
		font-size: 13px !important;
		font-weight: 800 !important;
		line-height: 1.4 !important;
	}

	body.woocommerce-account .lub-status-count {
		margin: 0 !important;
		font-size: 16px !important;
		font-weight: 900 !important;
		line-height: 1.2 !important;
	}

	body.woocommerce-account .lub-status-card--payment-waiting {
		background: #fffafa !important;
		border-color: #e7b8b8 !important;
		color: #8a1c1c !important;
	}


	/* ---------- SP：申請状況ページ内の重複感を減らす ---------- */

	body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page {
		padding: 0 !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-page .lub-order-summary {
		margin-bottom: 20px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-lead {
		margin: 18px 0 14px !important;
		font-size: 13px !important;
		line-height: 1.8 !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .lub-applications-filter {
		margin: 0 0 16px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .lub-empty-message {
		padding: 16px !important;
		border-radius: 12px !important;
		font-size: 13px !important;
	}
}
/* ===================================================
   WP管理バー：マイページCSSの影響除外
=================================================== */

body.woocommerce-account #wpadminbar,
body.woocommerce-account #wpadminbar * {
	box-sizing: content-box !important;
}

/* 管理バー内の検索フォーム全体をWP標準寄りに戻す */
body.woocommerce-account #wpadminbar #adminbarsearch {
	position: relative !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* 検索フォーム */
body.woocommerce-account #wpadminbar #adminbarsearch form {
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* 検索input */
body.woocommerce-account #wpadminbar input.adminbar-input {
	width: 0 !important;
	height: 32px !important;
	min-height: 0 !important;
	padding: 0 3px 0 24px !important;

	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;

	color: #ccc !important;
	font-size: 13px !important;
	line-height: 32px !important;

	box-shadow: none !important;
	box-sizing: border-box !important;
}

/* hover/focus時のWP標準に近い挙動 */
body.woocommerce-account #wpadminbar #adminbarsearch:hover input.adminbar-input,
body.woocommerce-account #wpadminbar input.adminbar-input:focus {
	width: 200px !important;
	background: #fff !important;
	color: #000 !important;
	outline: none !important;
	box-shadow: none !important;
}

/* 検索アイコン位置 */
body.woocommerce-account #wpadminbar #adminbarsearch:before {
	position: absolute !important;
	top: 0 !important;
	left: 6px !important;
	width: 20px !important;
	height: 32px !important;
	line-height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* 注文詳細は横スクロール用のブロック表にせず、常に2列の表として表示する。 */
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    white-space: normal !important;
}

body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td {
    display: table-cell !important;
    float: none !important;
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    vertical-align: top !important;
}

body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead th:first-child {
    width: 62% !important;
}

body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details .button {
    max-width: 100%;
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 16px !important;
    margin: 4px 4px 4px 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    /* 既存のインラインCSSによる操作行のgrid化を解除し、表の列を保つ。 */
    body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:has(.button) {
        display: table-row !important;
    }

    body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:has(.button) th,
    body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr:has(.button) td {
        display: table-cell !important;
        width: auto !important;
    }

    body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th,
    body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td {
        padding: 12px 10px !important;
    }
}
