@charset "UTF-8";
/*
 * DRESS SLEEVE PLUS CUSTOM EDITION (/custom/...): colour builder, cart, thanks page.
 * Monotone, photo first, no animation (a colour change is shown at once). Same type and spacing as item.css.
 * Everything is scoped to .ce-page; other pages are not affected.
 */
.ce-page {
	--ce-ink: #1a1a1a;
	--ce-sub: #6b6b6b;
	--ce-line: #e4e4e4;
	--ce-bg: #f4f4f2;
	--ce-font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	box-sizing: border-box;
	max-width: 1240px;
	margin: 0 auto 64px;
	padding: 0 16px;
	color: var(--ce-ink);
	font-family: var(--ce-font);
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: .04em;
}
.ce-page *, .ce-page *::before, .ce-page *::after { box-sizing: border-box; }
.ce-page h1, .ce-page h2 {
	margin: 0; padding: 0; border: 0; background: none; color: var(--ce-ink);
	font-family: var(--ce-font); font-weight: 500; text-align: left; line-height: 1.45;
}
.ce-page h1::before, .ce-page h1::after { content: none; }
.ce-page ul { margin: 0; padding: 0; list-style: none; }
.ce-page p { margin: 0; }
.ce-page a { color: inherit; }
.ce-page dl, .ce-page dd { margin: 0; }
.ce-page fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ce-page legend { padding: 0; }
.ce-page [hidden] { display: none !important; }
/* the theme switches span/div/ul/dl by language (base.css), not p */
.en .ce-page p.lang-ja { display: none; }
.en .ce-page p.lang-en { display: block; }

.ce-note { margin: 0 0 16px !important; padding: 8px 12px; background: #f1f1ef; color: var(--ce-sub); font-size: 12px; line-height: 1.6; text-align: center; }

/* ---- product page ---- */
.ce-layout { display: grid; grid-template-areas: "stage" "palettes" "info"; grid-template-columns: minmax(0, 1fr); gap: 24px; }
/* min-width 0: the scrolling thumbnail row must not widen the column on phones */
.ce-stage { grid-area: stage; margin: 0 -16px; min-width: 0; }
.ce-palettes { grid-area: palettes; display: grid; gap: 20px; }
.ce-info { grid-area: info; }

/* stacked layers: base, one image per part and colour (only the chosen one visible), overlay */
.ce-img { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--ce-bg); overflow: hidden; }
.ce-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.ce-img img[data-layer], .ce-img img[data-composite] { visibility: hidden; }
.ce-img img.on { visibility: visible; }

/* product photos over the colour preview, thumbnails under it (same look as the other product pages, item.css .pd-thumbs) */
.ce-view { position: relative; }
.ce-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; background: var(--ce-bg); }
.ce-viewcount { position: absolute; right: 16px; top: 16px; padding: 0 10px; background: rgba(255,255,255,.85); font-size: 11px; line-height: 24px; letter-spacing: .1em; color: var(--ce-sub); }
.ce-page .ce-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 0; scrollbar-width: none; }
.ce-thumbs::-webkit-scrollbar { display: none; }
.ce-thumbs li { flex: 0 0 56px; }
.ce-thumbs button {
	position: relative; /* keeps the hidden labels (.ce-sr) inside the scrolling row */
	display: block; width: 56px; height: 56px; padding: 0; border: 1px solid transparent;
	background: var(--ce-bg); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s;
}
.ce-thumbs button[aria-current="true"], .ce-thumbs button:hover { opacity: 1; border-color: var(--ce-ink); }
.ce-thumbs button > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ce-mini { position: relative; display: block; width: 100%; height: 100%; }
.ce-mini img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; visibility: hidden; }
.ce-mini img.on { visibility: visible; }
.ce-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ce-palette legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.ce-count { color: var(--ce-sub); font-size: 11px; font-weight: 400; }
.ce-swatches { display: grid; grid-template-columns: repeat(var(--cols, 8), minmax(0, 44px)); gap: 8px; justify-content: start; }
.ce-swatch { position: relative; display: block; aspect-ratio: 1 / 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ce-swatch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ce-chip { position: absolute; inset: 4px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.ce-chip.light { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); }
/* selected: a clear black ring around the chip */
.ce-swatch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; pointer-events: none; }
.ce-swatch:has(input:checked)::after { border-color: var(--ce-ink); }
.ce-swatch input:focus-visible + .ce-chip { outline: 2px solid #4a90d9; outline-offset: 4px; }
@media (hover: hover) { .ce-swatch:hover::after { border-color: #b5b5b5; } .ce-swatch:has(input:checked):hover::after { border-color: var(--ce-ink); } }
.ce-cname { margin: 6px 0 0 !important; font-size: 13px; letter-spacing: .12em; }

.ce-cat { color: var(--ce-sub); font-size: 11px; letter-spacing: .12em; }
.ce-page .ce-name { margin: 4px 0 0; font-size: 20px; letter-spacing: .06em; }
.ce-name-ja { margin: 2px 0 0 !important; color: var(--ce-sub); font-size: 12px; }
.ce-selected { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 20px 0 0 !important; padding: 14px 0; border-top: 1px solid var(--ce-line); border-bottom: 1px solid var(--ce-line); font-size: 12px; }
.ce-selected dt { color: var(--ce-sub); letter-spacing: .08em; }
.ce-selected dd { font-weight: 500; letter-spacing: .12em; }
.ce-price { margin: 16px 0 0 !important; font-size: 20px; letter-spacing: .06em; }
.ce-price small { margin-left: 2px; font-size: 12px; color: var(--ce-sub); }
.ce-tag { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid #bbb; color: var(--ce-sub); font-size: 11px; line-height: 1.6; vertical-align: 3px; }
.ce-ship { color: var(--ce-sub); font-size: 12px; }

.ce-buy { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.ce-buy .ce-btn { flex: 1 1 160px; white-space: nowrap; }
.ce-qty { display: inline-flex; align-items: stretch; border: 1px solid #cfcfcf; height: 48px; flex: none; }
.ce-qty button { width: 40px; border: 0; background: #fff; color: var(--ce-ink); font-size: 16px; cursor: pointer; }
.ce-qty input, .ce-qty output { width: 40px; border: 0; text-align: center; font: inherit; font-size: 15px; -moz-appearance: textfield; appearance: textfield; display: flex; align-items: center; justify-content: center; }
.ce-qty input::-webkit-inner-spin-button, .ce-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ce-btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--ce-ink); background: var(--ce-ink); color: #fff !important; font: inherit; font-size: 13px; letter-spacing: .16em; text-decoration: none; cursor: pointer; }
.ce-btn:hover { background: #333; }
.ce-btn:disabled { background: #999; border-color: #999; cursor: default; }
.ce-btn-line { background: #fff; color: var(--ce-ink) !important; }
.ce-btn-line:hover { background: #f5f5f5; }
.ce-msg { margin: 12px 0 0 !important; font-size: 12px; line-height: 1.7; }
.ce-msg a { text-decoration: underline; }
.ce-error { color: #b00020; }
.ce-cartlink { margin: 12px 0 0 !important; font-size: 12px; letter-spacing: .08em; }
.ce-cartlink a { text-decoration: underline; text-underline-offset: 3px; }
.ce-desc { margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ce-line); color: #333; font-size: 13px; }
.ce-desc p + p { margin-top: 8px; }

/* ---- cart / thanks ---- */
.ce-page .ce-title { margin: 8px 0 24px; font-size: 20px; letter-spacing: .12em; }
.ce-empty { padding: 32px 0; text-align: center; }
.ce-empty .ce-btn { flex: none; margin-top: 20px; }
.ce-lines { border-top: 1px solid var(--ce-line); }
.ce-line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ce-line); }
.ce-lines-static .ce-line { grid-template-columns: 1fr; }
.ce-line-img { display: block; }
.ce-line-name { font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.ce-line-colors { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; margin: 4px 0 0 !important; font-size: 12px; }
.ce-line-colors dt { color: var(--ce-sub); }
.ce-line-colors dd { font-weight: 500; letter-spacing: .1em; }
.ce-line-unit { margin: 4px 0 0 !important; font-size: 12px; color: var(--ce-sub); }
.ce-line-foot { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; }
.ce-line-foot .ce-qty { height: 36px; }
.ce-line-foot .ce-qty button { width: 34px; }
.ce-line-foot .ce-qty output { width: 32px; }
.ce-remove { border: 0; background: none; padding: 0; color: var(--ce-sub); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.ce-line-total { margin-left: auto !important; font-size: 14px; }
.ce-summary { margin: 24px 0 0; }
.ce-summary dl, .ce-summary-static { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 0 0 20px !important; font-size: 13px; }
.ce-summary-static { margin-top: 16px !important; }
.ce-summary dd, .ce-summary-static dd { text-align: right; }
.ce-ship-note { display: block; color: var(--ce-sub); font-size: 11px; line-height: 1.5; }
.ce-total { padding-top: 10px; border-top: 1px solid var(--ce-line); font-size: 16px; }
.ce-summary .ce-btn { width: 100%; }
.ce-small { margin: 12px 0 0 !important; color: var(--ce-sub); font-size: 11px; line-height: 1.8; }
.ce-small a { text-decoration: underline; }
.ce-back { margin: 32px 0 0 !important; font-size: 12px; }
.ce-back a { text-decoration: underline; text-underline-offset: 3px; }
.ce-lead { font-size: 13px; }
.ce-orderno { display: flex; gap: 16px; margin: 20px 0 16px !important; padding: 12px 16px; background: var(--ce-bg); font-size: 13px; }
.ce-orderno dt { color: var(--ce-sub); }
.ce-orderno dd { font-weight: 500; letter-spacing: .1em; }
.ce-thanks { max-width: 640px; }

/* ---- phone: palettes fit the width (no horizontal scrolling), big touch targets ---- */
@media screen and (max-width: 899px) {
	/* the same chip size in both palettes: 8 columns, the 6-colour palette simply ends earlier */
	.ce-swatches { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; max-width: 480px; }
	.ce-palettes { gap: 16px; }
}

/* ---- PC: palettes | image | purchase ---- */
@media screen and (min-width: 900px) {
	.ce-page { padding: 0 32px; }
	.ce-layout { grid-template-areas: "palettes stage info"; grid-template-columns: 212px minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
	.ce-stage { margin: 0; }
	.ce-page .ce-thumbs { padding: 12px 0 0; flex-wrap: wrap; overflow: visible; }
	.ce-thumbs li { flex-basis: 64px; }
	.ce-thumbs button { width: 64px; height: 64px; }
	.ce-palettes { gap: 36px; padding-top: 8px; }
	.ce-swatches { grid-template-columns: repeat(4, 44px); gap: 12px 12px; }
	.ce-info, .ce-palettes { position: sticky; top: 24px; }
	.ce-page .ce-name { font-size: 24px; }
	.ce-price { font-size: 22px; }
	.ce-cart { max-width: 880px; }
	.ce-cart-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
	.ce-cart-body .ce-summary { margin: 0; position: sticky; top: 24px; }
	.ce-cart-body .ce-back { grid-column: 1; margin-top: 0 !important; }
	.ce-line { grid-template-columns: 120px 1fr; }
}
@media screen and (min-width: 1200px) {
	.ce-layout { grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 64px; }
}

/* sales terms (2026-11-10): product page block, cart returns */
.ce-terms { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px 12px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ce-line); font-size: 12px; line-height: 1.8; color: #333; }
.ce-terms dt { color: var(--ce-sub); }
.ce-terms dd { margin: 0; }
.ce-tline { display: block; }
.ce-returns strong { display: block; color: #333; font-weight: bold; }
/* the longer shipping note must not squeeze the labels (小計 / 送料 / 合計（税込）) */
.ce-summary dl { grid-template-columns: auto minmax(0, 1fr); }
.ce-summary dd { padding-left: 16px; }
.ce-summary dt { white-space: nowrap; }


/* ---- product page layout (2026-11-10 13:36): image → 上パーツ → 下パーツ → シリコン → photos 1〜10 | purchase ---- */
.ce-layout { grid-template-areas: "main" "info"; }
.ce-main { grid-area: main; display: grid; gap: 24px; min-width: 0; }
/* inside the main column the parts simply follow each other (the old named areas no longer apply) */
.ce-main > .ce-stage, .ce-main > .ce-palettes, .ce-main > .ce-gallery { grid-area: auto; }
.ce-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0 !important; }
.ce-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--ce-bg); }
@media screen and (min-width: 900px) {
	.ce-layout { grid-template-areas: "main info"; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
	.ce-palettes { position: static; gap: 28px; padding-top: 0; }
	.ce-swatches { grid-template-columns: repeat(var(--cols, 8), 44px); gap: 12px; }
	.ce-gallery { gap: 12px; }
}
@media screen and (min-width: 1200px) {
	.ce-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
}

/* one blank line above (2026-11-10: セカンドケースやプレゼントにも最適です。) */
.ce-desc p.ce-desc-gap { margin-top: 1.7em; }

/* one blank line between the description and the line above the terms (2026-11-10) */
.ce-page .ce-terms { margin-top: 25px !important; }

/* ---- phone (2026-11-10 14:16): the simulation image and the three palettes fit on one screen ---- */
@media screen and (max-width: 899px) {
	.ce-main { gap: 14px; }
	.ce-stage .ce-view { padding: 10px 0; background: var(--ce-bg); }
	.ce-stage .ce-img { width: 62%; max-width: 300px; margin: 0 auto; }
	.ce-palettes { gap: 10px; }
	.ce-palette legend { margin: 0 0 2px; }
	.ce-cname { margin: 0 !important; font-size: 12px; line-height: 1.4; }
	.ce-swatches { max-width: 400px; }
}

/* description of the regular DRESS SLEEVE PLUS, above the shipping row (2026-11-10) */
.ce-about section { margin: 25px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ce-line); }
.ce-page .ce-about h2 { margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--ce-sub); }
.ce-about-text { font-size: 12px; line-height: 1.9; color: #333; overflow-wrap: anywhere; }
.ce-about-text p { margin: 0 0 .8em; }
.ce-about-text p:last-child { margin-bottom: 0; }
.ce-about-text ul { margin: 0; padding: 0; list-style: none; }
.ce-about-text img { display: block; max-width: 100%; height: auto; margin: 12px auto; }

/* phone (2026-11-10 14:42): the chosen colours under the palettes; the 3rd photo is not shown */
.ce-main > .ce-picked { margin: 0 !important; }
@media screen and (min-width: 900px) { .ce-main > .ce-picked { display: none; } }

/* PC (2026-11-10 14:51): the simulation image at 80% of the column */
@media screen and (min-width: 900px) {
	.ce-stage .ce-view { background: var(--ce-bg); }
	.ce-stage .ce-img { width: 80%; margin: 0 auto; }
}
