.pet-comparison { margin: 18px 0 24px; min-width: 0; }
.pet-comparison-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #c8dbe3; border-radius: 8px; }
.pet-comparison-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 6px 0; }
.pet-comparison-navigation button { min-width: 36px; min-height: 32px; border: 1px solid #aebbc4; border-radius: 6px; background: #fff; color: #145e78; cursor: pointer; }
.pet-comparison:not(:has(thead [data-comparison-column]:not([hidden]) ~ [data-comparison-column]:not([hidden]))) .pet-comparison-navigation { display: none; }
.pet-comparison-scroll:focus-visible { outline: 2px solid #145e78; outline-offset: 2px; }
.pet-comparison-scroll table { min-width: calc(84px + var(--comparison-columns, 1) * 120px); }
.pet-comparison table {
    width: 100%; margin: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0;
    font-size: 12px;
}
.pet-comparison th, .pet-comparison td {
    padding: 7px 5px; border: 0; border-right: 1px solid #dce6ea; border-bottom: 1px solid #dce6ea;
    text-align: center; vertical-align: middle; font-size: inherit; line-height: 1.4; overflow-wrap: anywhere;
}
.pet-comparison tr > :last-child { border-right: 0; }
.pet-comparison tbody tr:last-child > * { border-bottom: 0; }
.pet-comparison thead th { background: #edf6f9; vertical-align: top; }
.pet-comparison th:first-child {
    position: sticky; left: 0; z-index: 1; width: 84px; box-sizing: border-box; padding: 7px 5px;
}
.pet-comparison th:first-child:where(:not(.pet-comparison-price)) { background: #e5f0f5; }
.pet-comparison thead a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 5px; font-size: inherit; overflow-wrap: anywhere; }
.pet-comparison thead img { display: block; width: 100%; height: 60px; object-fit: contain; margin: 0 auto 4px; background: #fff; }
.pet-comparison .pet-comparison-rank { display: inline-block; padding: 1px 8px; border-radius: 12px; background: #145e78; color: #fff; font-size: inherit; }
.pet-comparison-price { background: #fffaf1; }
.pet-comparison-price strong { display: block; font-size: 14px; }
.pet-comparison td small { display: block; margin-top: 3px; font-size: 11px; }
.pet-comparison .pet-comparison-dim { background: #f2f2f2; }
.pet-comparison .pet-comparison-fit th,
.pet-comparison .pet-comparison-fit td,
.pet-comparison .pet-comparison-size-row th,
.pet-comparison .pet-comparison-sizes .pet-comparison-size-match { background: #fbede2; color: #8a3a00; }
.pet-comparison .pet-comparison-fit-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pet-comparison .pet-comparison-fit-label { display: block; white-space: nowrap; }
.pet-comparison .pet-comparison-fit-label br { display: none; }
.pet-comparison .pet-comparison-fit td strong, .pet-comparison-stock { color: #8a3a00; }
.pet-comparison .pet-comparison-sizes {
    margin: 4px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.4;
}
.pet-comparison .pet-comparison-sizes li {
    padding: 3px 1px; border-top: 1px solid #dce6ea; font-size: inherit; line-height: inherit;
}
.pet-comparison .pet-comparison-size-row td { vertical-align: top; }
.pet-comparison .pet-comparison-type-row td,
.pet-comparison .pet-comparison-size-row td,
.pet-comparison .pet-comparison-category-row td { font-size: 13px; }
.pet-comparison .pet-comparison-size-range { display: block; font-size: inherit; line-height: inherit; }
.pet-comparison .pet-comparison-sizes .pet-comparison-size-match { font-weight: bold; }
.pet-comparison .pet-comparison-size-match .pet-comparison-size-range { color: inherit; }
.pet-comparison-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; font-size: 13px; }
.pet-comparison-sort button {
    min-height: 36px; padding: 4px 12px; border: 1px solid #aebbc4; border-radius: 999px;
    background: #fff; color: #262626; font: inherit; cursor: pointer;
}
.pet-comparison-sort button[aria-pressed="true"] { border-color: #0a7ba8; background: #e6f4fb; color: #145e78; font-weight: bold; }
.pet-comparison [hidden] { display: none !important; }
.pet-comparison-sort { padding: 4px; background: #e5eaed; border-radius: 999px; }
.pet-comparison-sort button { flex: 1; border: 0; background: transparent; }
.pet-comparison-sort button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px #0003; }
.pet-comparison-sort strong { padding: 0 8px; }
.pet-comparison-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; }
.pet-comparison-filters button { min-height: 36px; padding: 4px 12px; border: 1px solid #aebbc4; border-radius: 999px; background: #fff; color: #262626; font: inherit; font-size: 15px; cursor: pointer; }
.pet-comparison-filters button[aria-pressed="true"] { background: #0a7ba8; border-color: #0a7ba8; color: #fff; font-weight: bold; }
.pet-comparison-effect { color: #0a7ba8; font-weight: bold; }
.pet-comparison thead th[data-comparison-column]:not(:has(.pet-comparison-rank))::before {
    content: ""; display: inline-block; height: calc(1.4em + 2px);
}
.pet-comparison .pet-comparison-rank[data-rank="1"] { background: #886000; }
.pet-comparison .pet-comparison-rank[data-rank="2"] { background: #626a70; }
.pet-comparison .pet-comparison-rank[data-rank="3"] { background: #8a5328; }
@media (max-width: 768px) {
    .pet-comparison-sort, .pet-comparison-filters { font-size: 12px; }
    .pet-comparison-sort button, .pet-comparison-filters button { padding-right: 7px; padding-left: 7px; }
}

.mypet-list-controls {
	min-width: 0; --mypet-card-height: 54px; --mypet-card-width: calc((100% / 4) - 7px);
	/* 文字サイズ（ペット名と体重入力は同じ値を参照） */
	--mypet-fs-title: 16px; --mypet-fs-name: 15px; --mypet-fs-meta: 12px; --mypet-fs-ui: 13px;
}
.mypet-list-controls .mypet-order-pet-form { display: contents; }
.mypet-list-controls .mypet-weight-form {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin: 8px 0;
	box-sizing: border-box; width: fit-content; max-width: 100%; min-height: var(--mypet-card-height);
	padding: 3px 8px; border: 1px solid #aebbc4; border-radius: 12px; background: #fff; color: #262626;
}
.mypet-list-controls .mypet-order-pets .mypet-weight-form,
.mypet-list-controls .mypet-order-pets .mypet-order-pet { flex: 0 0 auto; width: var(--mypet-card-width); }
.mypet-list-controls .mypet-order-pets .mypet-weight-form { margin: 0; }
.mypet-list-controls .mypet-weight-fields, .mypet-list-controls .mypet-weight-actions {
	flex-wrap: wrap; max-width: 100%; min-width: 100%;
}
.mypet-list-controls .mypet-weight-fields, .mypet-list-controls .mypet-weight-actions,
.mypet-list-controls .mypet-weight-form label {
	display: flex; align-items: center; justify-content: center; gap: 4px;
}
.mypet-list-controls .mypet-weight-form input { width: 3.5em; text-align: center; }
.mypet-list-controls .mypet-weight-form input, .mypet-list-controls .mypet-weight-form select,
.mypet-list-controls .mypet-weight-form button { box-sizing: border-box; min-height: 22px; font: inherit; font-size: var(--mypet-fs-ui); }
.mypet-list-controls .mypet-weight-form label { align-items: baseline; font-size: var(--mypet-fs-ui); line-height: 1.4; }
.mypet-list-controls .mypet-weight-fields input { padding: 1px 4px; font-size: var(--mypet-fs-name); line-height: 0.5; font-size: 16px;background: #f4f4f4; border-radius: 6px; margin-bottom: 1px; }
.mypet-list-controls .mypet-weight-form .mypet-weight-submit {
    width: 100%;;
	padding: 2px 8px; border: 0; border-radius: 10px; background: #0a7ba8; color: #fff;
	font-weight: bold; line-height: 1.5; white-space: nowrap; cursor: pointer;
}
.mypet-list-controls .mypet-weight-form .mypet-weight-clear {
	padding: 0 3px; border: 1px solid #b9dce9; border-radius: 5px;
	background: #e5f3f8; color: #145e78; line-height: 1.5; white-space: nowrap; cursor: pointer;
}
.mypet-list-controls .mypet-weight-clear:hover { background: #d4eaf3; }
.mypet-list-controls .mypet-weight-clear:focus-visible { outline: 2px solid #1a6dc4; outline-offset: 1px; }
.item_price .mypet-list-price-total { white-space: nowrap; }
.item_price .mypet-list-price-note { display: block; font-size: 12px; line-height: 1.4; }
.item_price .mypet-list-price-size {
	display: table; margin: 0 0 6px auto; padding: 3px 8px; border-radius: 5px;
	background: #fbede2; color: #8a3a00; font-size: 12px; font-weight: bold; line-height: 1.4;
}
.item_price .mypet-list-sold-out { display: block; margin-bottom: 4px; color: #8a3a00; font-size: 12px; font-weight: bold; }
.new_prd_list.yoko .item_stock.mypet-list-stock-out {
	width: auto; min-width: 60px; height: auto; padding: 6px 4px;
	border-color: #8a3a00; background: #8a3a00; color: #fff;
}
#mypet_list_261110 .pet-comparison-title { margin: 18px 0 10px; }
.mypet-list-controls .mypet-order-panel, .mypet-list-controls .mypet-order-guest {
	padding: 12px 16px; background: #eef4f8; border: 1px solid #cddde7; border-radius: 12px;
}
.mypet-list-controls .mypet-order-top, .mypet-list-controls .mypet-order-pets { display: flex; align-items: center; gap: 8px; }
.mypet-list-controls .mypet-order-top { justify-content: space-between; min-height: 32px; }
.mypet-list-controls .mypet-order-top > strong { font-size: var(--mypet-fs-title); line-height: 1.4; }
.mypet-list-controls .mypet-order-pets { align-items: stretch; flex-wrap: wrap; margin-top: 8px; }
.mypet-list-controls .mypet-order-pet, .mypet-list-controls .mypet-order-clear {
	border: 1px solid #aebbc4; background: #fff; color: #262626; cursor: pointer; font: inherit;
}
.mypet-list-controls .mypet-order-pet {
	box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px;
	min-height: var(--mypet-card-height); max-width: 100%;
	padding: 5px 12px 5px 6px; border-radius: 12px; text-align: left; overflow-wrap: anywhere; line-height: 1.4;
}
.mypet-list-controls .mypet-weight-form:focus-within,
.mypet-list-controls .mypet-weight-form.mypet-weight-active,
.mypet-list-controls .mypet-order-pet[aria-pressed="true"] { border-color: #0a7ba8; background: #e6f4fb; box-shadow: inset 0 0 0 1px #0a7ba8; }
.mypet-list-controls .mypet-order-pet img {
	flex: none; width: 38px; height: 38px; padding: 1px; box-sizing: border-box;
	object-fit: cover; border-radius: 8px; background: #e1e8ed;
}
.mypet-list-controls .mypet-order-pet > span { min-width: 0; }
.mypet-list-controls .mypet-order-pet strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--mypet-fs-name); }
.mypet-list-controls .mypet-order-pet small { display: block; color: #555; font-size: var(--mypet-fs-meta); }
.mypet-list-controls .mypet-order-clear { min-height: 32px; padding: 2px 12px; border-radius: 999px; white-space: nowrap; font-size: var(--mypet-fs-ui); }
.mypet-list-controls .mypet-order-edit {
	display: block; width: fit-content; max-width: 100%; margin: 8px 0 0 auto; text-align: right; font-size: var(--mypet-fs-ui);
}
.mypet-list-controls .mypet-order-guest a { display: inline-block; margin-left: 12px; }
@media (max-width: 768px) {
	.mypet-list-controls {
		margin-right: 6px; margin-left: 6px;
		--mypet-fs-title: 15px; --mypet-fs-name: 13px; --mypet-fs-meta: 11px; --mypet-fs-ui: 12px;
	}
	.mypet-list-controls .mypet-order-panel { padding: 6px 8px 4px; }
	.mypet-list-controls .mypet-order-pets { flex-wrap: nowrap; gap: 6px; margin-top: 4px; overflow-x: auto; padding: 2px; }
	.mypet-list-controls .mypet-order-pet { flex: 0 0 auto; gap: 6px; padding: 3px 10px 3px 3px; font-size: 12px; line-height: 1.3; }
	.mypet-list-controls .mypet-order-guest a { display: block; margin: 6px 0 0; }
}