@charset "UTF-8";
/* ==========================================================================
   wallet.css：財布特集（contents/wallet.html）だけの見た目
   ヘッダー・フッター・ページの頭（パンくず・題名・この特集の中）・ほかの特集の一覧は common.css
   欄は id（pickup・type・material・color・price・brand）＋中のタグに当てる
   ========================================================================== */

/* 欄の前書き */
.main > section > h2 + p { max-width: 780px; margin: -12px 0 28px; color: #333; line-height: 1.9; }

/* ===== PICK UP：4列。写真・英字の名前・カナ・説明（全体が検索へのリンク） ===== */
#pickup ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
#pickup a { display: block; }
#pickup img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
#pickup a:hover img { opacity: .85; }
#pickup b { display: block; margin-top: 14px; font-family: var(--en); font-size: var(--fs-l); font-weight: 500; letter-spacing: var(--ls-m); }
#pickup small { display: block; font-size: var(--fs-s); color: var(--sub); }
#pickup p { margin-top: 8px; font-size: var(--fs-m); line-height: 1.8; color: #333; }

/* ===== TYPE：4列。番号・写真・名前・説明・MENS／LADIES ===== */
#type ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; counter-reset: t; }
#type li { display: flex; flex-direction: column; counter-increment: t; }
#type img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
#type h3 { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 500; }
#type h3::before { content: counter(t, decimal-leading-zero); font-family: var(--num); font-size: 18px; font-weight: 400; color: var(--sub); }
#type p { margin-top: 8px; font-size: var(--fs-m); line-height: 1.8; color: #333; }
#type p:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 16px; }
#type p:last-child a { display: block; padding: 11px 0; border: 1px solid var(--ink); text-align: center; font-family: var(--en); font-size: var(--fs-s); letter-spacing: var(--ls-l); transition: background .2s, color .2s; }
#type p:last-child a:hover { background: var(--ink); color: #fff; }

/* ===== MATERIAL：4列。線画・名前・説明（全体が検索へのリンク） ===== */
#material ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
#material li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#material a { display: block; height: 100%; padding: 24px 22px 26px; transition: background .2s; }
#material a:hover { background: var(--base); }
#material img { width: 60%; margin: 0 auto 16px; mix-blend-mode: multiply; }
#material h3 { font-size: 15px; font-weight: 500; }
#material h3::after { content: " →"; font-family: var(--en); font-weight: 300; color: var(--sub); }
#material p { margin-top: 8px; font-size: var(--fs-m); line-height: 1.8; color: #333; }

/* ===== COLOR：4列×2段。色見本（正方形）・英字・カナ・一言 ===== */
#color ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
#color li { border-bottom: 1px solid var(--line); }
#color a { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; padding: 20px 16px 20px 0; transition: background .2s; }
#color a:hover { background: var(--base); }
#color img { grid-row: 1 / 3; width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); }
#color b { font-family: var(--en); font-size: var(--fs-m); font-weight: 500; letter-spacing: var(--ls-m); }
#color small { margin-left: 8px; font-family: var(--ja); font-size: var(--fs-s); font-weight: 400; letter-spacing: var(--ls-s); color: var(--sub); }
#color p { grid-column: 2; margin-top: 4px; font-size: var(--fs-m); line-height: 1.7; color: #333; }

/* ===== PRICE：3列×2段の行 ===== */
#price ul { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--ink); }
#price li { border-bottom: 1px solid var(--line); }
#price a { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-family: var(--en); font-size: var(--fs-l); letter-spacing: .06em; }
#price a::after { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
#price a:hover { color: var(--accent); }

/* ===== BRAND：文字の一覧（トップの BRANDS と同じ形） ===== */
#brand ul { columns: 4 200px; column-gap: 32px; border-top: 1px solid var(--ink); padding-top: 12px; }
#brand li { break-inside: avoid; }
#brand a { display: block; padding: 7px 0; font-family: var(--en); font-size: var(--fs-m); letter-spacing: .03em; }
#brand a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
#brand small { margin-left: 8px; font-family: var(--ja); font-size: var(--fs-s); color: var(--sub); }

/* ===== ほかの特集：読み込んだ中の見出し・上の3本・「すべての特集」は出さず、目次だけ ===== */
#tokushu [data-part] > h2, #tokushu .banners, #tokushu [data-part] > h3 { display: none; }
#tokushu ol { border-top: 1px solid var(--ink); }

/* ===== 間の幅 ===== */
@media (max-width: 1023px) {
	#pickup ul, #type ul { grid-template-columns: repeat(2, 1fr); }
	#material ul, #color ul { grid-template-columns: repeat(2, 1fr); }
	#color a { padding-left: 16px; }
}

/* ===== スマホ（〜767px） ===== */
@media (max-width: 767px) {
	.main > section > h2 + p { margin: -8px 0 20px; font-size: var(--fs-m); line-height: 1.8; }
	/* PICK UP：横に流す（右端が切れて見えることで続きがあると分かる） */
	#pickup ul { grid-auto-flow: column; grid-auto-columns: 68%; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
	#pickup ul::-webkit-scrollbar { display: none; }
	#pickup li { scroll-snap-align: start; }
	#pickup b { margin-top: 10px; font-size: 13px; }
	#pickup p { font-size: 11.5px; line-height: 1.7; }
	/* TYPE：2列 */
	#type ul { gap: 28px 12px; }
	#type h3 { margin-top: 10px; font-size: 13.5px; gap: 6px; }
	#type h3::before { font-size: 15px; }
	#type p { font-size: 11.5px; line-height: 1.7; }
	#type p:last-child { gap: 6px; padding-top: 12px; }
	#type p:last-child a { padding: 9px 0; font-size: 10px; letter-spacing: .12em; }
	/* MATERIAL：2列 */
	#material a { padding: 16px 12px 18px; }
	#material img { width: 72%; margin-bottom: 10px; }
	#material h3 { font-size: 13.5px; }
	#material p { font-size: 11px; line-height: 1.7; }
	/* COLOR：1列（一言が読めるように） */
	#color ul { grid-template-columns: 1fr; }
	#color a { grid-template-columns: 32px 1fr; column-gap: 14px; padding: 11px 0; }
	#color img { width: 32px; height: 32px; }
	#color p { font-size: 11.5px; margin-top: 2px; }
	/* PRICE：2列 */
	#price ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
	#price a { padding: 14px 2px; font-size: 12.5px; letter-spacing: .02em; }
	/* BRAND：2列・カナは出さない */
	#brand ul { columns: 2; column-gap: 16px; }
	#brand a { padding: 8px 0; font-size: 12.5px; }
	#brand li small { display: none; }
}
