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

/* ===== CATEGORY：MENS・WOMEN の小見出しと、6列の写真＋名前 ===== */
#category h3, #mens h3, #women h3 { font-family: var(--en); font-size: var(--fs-s); font-weight: 500; letter-spacing: var(--ls-m); color: var(--sub); }
#category h3 { padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 20px; }
#category ul + h3 { margin-top: 48px; }
#category ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 20px; }
#category a { display: block; font-size: var(--fs-m); }
#category img { width: 100%; aspect-ratio: 580 / 380; object-fit: contain; background: #fff; margin-bottom: 10px; transition: opacity .2s; }
#category a:hover img { opacity: .8; }
#category a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== MENS・WOMEN：用途ごとに 写真（左）｜名前・文・OTHER ITEM（右）、下に商品の並び ===== */
#women > .picture { display: block; margin-bottom: 56px; }
#mens > div, #women > div { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto 1fr; column-gap: 48px; align-items: start; }
#mens > div + div, #women > div + div { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
#mens > div > img, #women > div > img { grid-row: 1 / 4; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
#mens h3, #women h3 { font-family: var(--ja); font-size: var(--fs-xl); font-weight: 500; letter-spacing: var(--ls-s); color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
#mens > div > p, #women > div > p { margin-top: 16px; line-height: 1.95; color: #333; }
#mens > div > a, #women > div > a { justify-self: start; margin-top: 20px; padding: 11px 36px; border: 1px solid var(--ink); font-family: var(--en); font-size: var(--fs-s); letter-spacing: var(--ls-l); transition: background .2s, color .2s; }
#mens > div > a:hover, #women > div > a:hover { background: var(--ink); color: #fff; }
#mens .items, #women .items { grid-column: 1 / -1; margin-top: 40px; }

/* 商品の並び（トップの新着・ランキングと同じ形。写真に枠は付けない） */
.items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 18px; }
.items a { display: block; }
.items img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; transition: opacity .2s; }
.items a:hover img { opacity: .8; }
.items p { margin-top: 12px; font-size: var(--fs-m); font-weight: 500; line-height: 1.6; }
.items small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: var(--fs-s); line-height: 1.7; color: var(--sub); }
.items b { display: block; margin-top: 8px; font-family: var(--en); font-size: var(--fs-l); font-weight: 500; letter-spacing: var(--ls-s); }

/* ===== FABRIC：3列。線画・名前・MENS／WOMEN ===== */
#fabric ul { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
#fabric li { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 24px; align-items: center; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#fabric img { grid-row: 1 / 3; width: 96px; mix-blend-mode: multiply; }
#fabric h3 { font-size: 15px; font-weight: 500; }
#fabric p { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
#fabric p a, #price li a { display: block; padding: 10px 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; }
#fabric p a:hover, #price li a:hover { background: var(--ink); color: #fff; }

/* ===== PRICE：1行＝価格帯｜MENS｜WOMEN ===== */
#price ul { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--ink); }
#price li { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
#price b { grid-column: 1 / -1; font-family: var(--en); font-size: var(--fs-l); font-weight: 500; letter-spacing: .06em; margin-bottom: 4px; }

/* ===== 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) {
	#category ul { grid-template-columns: repeat(3, 1fr); }
	.items { grid-template-columns: repeat(3, 1fr); }
	#mens > div, #women > div { column-gap: 28px; }
	#fabric ul { grid-template-columns: 1fr; }
	#price ul { grid-template-columns: 1fr; }
}

/* ===== スマホ（〜767px） ===== */
@media (max-width: 767px) {
	/* CATEGORY：3列 */
	#category ul { gap: 18px 10px; }
	#category ul + h3 { margin-top: 32px; }
	#category h3 { margin-bottom: 14px; }
	#category a { font-size: 11px; line-height: 1.5; }
	#category img { margin-bottom: 6px; }
	/* MENS・WOMEN：写真→名前→文→OTHER ITEM→商品（横に流す） */
	#women > .picture { margin: 0 -16px 32px; }
	#women > .picture img { width: 100%; }
	#mens > div, #women > div { grid-template-columns: 1fr; grid-template-rows: none; }
	#mens > div + div, #women > div + div { margin-top: 48px; padding-top: 36px; }
	#mens > div > img, #women > div > img { grid-row: auto; margin-bottom: 18px; }
	#mens h3, #women h3 { font-size: 15px; padding-bottom: 10px; }
	#mens > div > p, #women > div > p { margin-top: 12px; font-size: var(--fs-m); line-height: 1.85; }
	#mens > div > a, #women > div > a { margin-top: 16px; padding: 10px 28px; }
	#mens .items, #women .items { margin-top: 24px; }
	.items { grid-auto-flow: column; grid-auto-columns: 42%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
	.items::-webkit-scrollbar { display: none; }
	.items li { scroll-snap-align: start; }
	.items p { margin-top: 8px; font-size: 12px; line-height: 1.5; }
	.items small { font-size: 10.5px; line-height: 1.6; }
	.items b { font-size: 13px; margin-top: 6px; }
	/* FABRIC：1列 */
	#fabric li { grid-template-columns: 64px 1fr; column-gap: 16px; padding: 14px 12px; }
	#fabric img { width: 64px; }
	#fabric h3 { font-size: 13.5px; }
	#fabric p { margin-top: 8px; gap: 6px; }
	#fabric p a, #price li a { padding: 9px 0; font-size: 10px; letter-spacing: .12em; }
	/* PRICE：1行に 価格帯｜MENS｜WOMEN */
	#price li { grid-template-columns: 1fr 72px 72px; align-items: center; padding: 10px 0; }
	#price b { grid-column: auto; margin: 0; 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; }
}
