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

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

/* ===== PICK UP：縦長の写真を4列×2段、その下に横長の写真を3列×2段（全体が商品ページへのリンク） ===== */
#pickup ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
#pickup ul + ul { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
#pickup a { display: block; overflow: hidden; background: var(--base); }
#pickup img { width: 100%; aspect-ratio: 1200 / 1530; object-fit: cover; transition: transform .5s; }
#pickup ul + ul img { aspect-ratio: 1500 / 1200; }
#pickup a:hover img { transform: scale(1.03); }

/* ===== HOME・GOING OUT・OUTDOOR：6列。商品の写真と「類似商品をみる」 ===== */
#home .items, #goingout .items, #outdoor .items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 18px; }
#home li, #goingout li, #outdoor li { display: flex; flex-direction: column; }
#home img, #goingout img, #outdoor img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; transition: opacity .2s; }
#home li > a:first-child:hover img, #goingout li > a:first-child:hover img, #outdoor li > a:first-child:hover img { opacity: .8; }
#home li > a + a, #goingout li > a + a, #outdoor li > a + a { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--fs-s); letter-spacing: var(--ls-s); color: #333; }
#home li > a + a::after, #goingout li > a + a::after, #outdoor li > a + a::after { content: ""; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
#home li > a + a:hover, #goingout li > a + a:hover, #outdoor li > a + a:hover { color: var(--accent); }
/* OUTDOOR は下地を敷いて、続く3つの欄の区切りにする */
#outdoor { background: var(--base); margin-left: -24px; margin-right: -24px; padding: 56px 24px 64px; }
#outdoor img { background: #fff; }

/* ===== MORE ITEM：3列の行。左に写真、右に印・商品名・価格 ===== */
#moreitem .items { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--ink); }
#moreitem li { border-bottom: 1px solid var(--line); }
#moreitem a { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto 1fr; column-gap: 18px; padding: 16px 0; }
#moreitem img { grid-row: 1 / 4; width: 96px; aspect-ratio: 1; object-fit: contain; background: #fff; }
#moreitem small { font-family: var(--en); font-size: var(--fs-s); letter-spacing: var(--ls-m); color: var(--sub); text-transform: uppercase; }
#moreitem p { margin-top: 4px; font-size: var(--fs-m); line-height: 1.6; color: #333; }
#moreitem b { margin-top: 6px; font-family: var(--en); font-size: var(--fs-l); font-weight: 500; letter-spacing: var(--ls-s); }
#moreitem a:hover p { text-decoration: underline; text-underline-offset: 3px; }

/* ===== BRAND：文字の一覧（トップの BRANDS と同じ形） ===== */
#brand ul { columns: 4 200px; column-gap: 32px; border-top: 1px solid var(--ink); padding-top: 12px; }
#brand li { display: inline-block; width: 100%; 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) {
	#home .items, #goingout .items, #outdoor .items { grid-template-columns: repeat(3, 1fr); }
	#moreitem .items { grid-template-columns: repeat(2, 1fr); }
}

/* ===== スマホ（〜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, #pickup ul + ul { grid-auto-flow: column; grid-auto-columns: 58%; grid-template-columns: none; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; scroll-padding: 0 16px; }
	#pickup ul + ul { grid-auto-columns: 72%; margin-top: 10px; }
	#pickup ul::-webkit-scrollbar { display: none; }
	#pickup li { scroll-snap-align: start; }
	/* HOME・GOING OUT・OUTDOOR：3列×2段 */
	#home .items, #goingout .items, #outdoor .items { gap: 20px 10px; }
	#home li > a + a, #goingout li > a + a, #outdoor li > a + a { margin-top: 8px; padding: 8px 0; font-size: 10px; letter-spacing: 0; }
	#outdoor { margin-left: -16px; margin-right: -16px; padding: 40px 16px 44px; }
	/* MORE ITEM：1列 */
	#moreitem .items { grid-template-columns: 1fr; }
	#moreitem a { grid-template-columns: 80px 1fr; column-gap: 14px; padding: 12px 0; }
	#moreitem img { width: 80px; }
	#moreitem small { font-size: 10px; }
	#moreitem p { font-size: 12px; }
	#moreitem b { font-size: 13px; }
	/* BRAND：2列・カナは出さない */
	#brand ul { columns: 2; column-gap: 16px; }
	#brand a { padding: 8px 0; font-size: 12.5px; }
	#brand li small { display: none; }
}
