@charset "UTF-8";
/* ==========================================================================
   guide.css：案内のページ（contents/guide.html・sizeguide.html・shopinfo.html）の見た目
   ヘッダー・フッター・ページの頭（パンくず・題名・前書き・このページの中）は common.css
   欄は .main の中の section ＋中のタグに当てる（class は使わない）。数字の id（01 など）は [id="01"] で当てる
   ========================================================================== */

/* ===== このページの中：前書きの無いページ（お買い物ガイド）は h1 のすぐ後に来るので、common.css と同じ形をここで当てる ===== */
.main > h1 + nav { margin: 40px 0 88px; }
.main > h1 + nav ul { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); counter-reset: n; }
.main > h1 + nav li { counter-increment: n; }
.main > h1 + nav li:not(:nth-child(6n+1)) { border-left: 1px solid var(--line); }
.main > h1 + nav li:nth-child(n+7) { border-top: 1px solid var(--line); }
.main > h1 + nav a { display: block; height: 100%; padding: 16px 18px 15px; font-family: var(--en); font-size: var(--fs-m); letter-spacing: var(--ls-m); transition: background .2s; }
.main > h1 + nav a::before { content: counter(n, decimal-leading-zero); display: block; margin-bottom: 4px; font-family: var(--num); font-size: 15px; letter-spacing: 0; color: var(--sub); }
.main > h1 + nav a:hover { background: var(--base); }
.main > h1 + nav small { display: block; margin-top: 2px; font-family: var(--ja); font-size: var(--fs-s); letter-spacing: var(--ls-s); color: var(--sub); }
/* 前書きが見出しだけのページ（お知らせ）は、下の余白を詰めない */
.main > h1 + p:has(> strong:only-child) strong { margin-bottom: 0; }

/* ===== 欄：左に見出し、右に本文（本文は 780px まで。表は右の幅いっぱい） ===== */
.main > section { position: relative; min-height: 120px; padding: 30px 0 0 300px; border-top: 1px solid var(--ink); }
.main > section > h2 { position: absolute; top: 30px; left: 0; width: 260px; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; font-size: var(--fs-xl); }
.main > section > :not(table) { max-width: min(100%, 780px); }
.main > section > :first-child + * { margin-top: 0; }

/* 文 */
.main > section p { margin-bottom: 16px; line-height: 1.95; color: #333; }
.main > section p:last-child { margin-bottom: 0; }
.main > section strong { font-weight: 600; color: var(--ink); }
.main > section p a, .main > section li a, .main > section td a { text-decoration: underline; text-underline-offset: 3px; }
.main > section p a:hover, .main > section li a:hover { color: var(--accent); }
.main > section h3 { margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; letter-spacing: var(--ls-s); }
.main > section h4 { margin: 24px 0 6px; font-size: 13px; font-weight: 600; }
.main > section h3 + h4 { margin-top: 0; }

/* 箇条書き */
.main > section > ul { margin-bottom: 16px; padding-left: 1.3em; list-style: disc; color: #333; }
.main > section > ul li { padding: 3px 0; line-height: 1.9; }
.main > section > ul li::marker { color: var(--sub); }

/* 名前と中身の組（領収書） */
.main > section > dl { display: grid; grid-template-columns: 9em 1fr; margin-bottom: 16px; border-top: 1px solid var(--line); }
.main > section > dl dt, .main > section > dl dd { padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.main > section > dl dt { font-weight: 500; }
.main > section > dl dd { color: #333; }

/* 画像（文の幅まで。2枚を並べるときは p に入れる） */
.main > section img { margin-bottom: 20px; }
.main > section p > img { margin: 0; }
.main > section p:has(> img + img) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== 表：細い線。左の列（th）は下地の色 ===== */
.main table { width: 100%; margin: 0 0 24px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: var(--fs-m); line-height: 1.8; }
.main th, .main td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.main th { width: 26%; background: var(--base); font-weight: 500; }
.main tr > th + th { width: auto; }
.main td { color: #333; }
.main td + td { border-left: 1px solid var(--line); }
.main td[rowspan] { border-right: 1px solid var(--line); }
.main thead th { font-weight: 500; }
/* 1列の表（代金引換の説明） */
.main tr:only-child > th:only-child, .main tr > th:only-child:not(:first-child) { width: auto; }
.main table tr:first-child > th:only-child { width: auto; }

/* 離島の表（お買い物ガイド）：都道府県・市区郡は折り返さない */
[id="08"] table th { width: auto; }
[id="08"] table:last-child { font-size: 12px; line-height: 1.6; }
[id="08"] table:last-child th, [id="08"] table:last-child td { padding: 7px 12px; }
[id="08"] table td:not(:last-child) { white-space: nowrap; }

/* ===== サイズ表：数字は真ん中に揃え、同じ幅で並べる ===== */
#shoes table { table-layout: fixed; font-family: var(--en); }
#shoes th, #shoes td { width: auto; padding: 12px 4px; text-align: center; font-variant-numeric: tabular-nums; }
#shoes tr > :first-child { width: 64px; }
#shoes thead th { background: var(--ink); color: #fff; }
#shoes h3 { margin-top: 0; border: 0; padding: 0; font-family: var(--en); letter-spacing: var(--ls-m); }
#shoes table + h3 { margin-top: 36px; }

/* ===== スタッフの履き比べ：1ブランド＝1行（左にロゴと名前、右にモデルと感想） ===== */
#model ul, #apparel ul { max-width: none; padding: 0; list-style: none; }
#model ul { border-top: 1px solid var(--ink); }
#model li { display: grid; grid-template-columns: 200px 1fr; align-items: start; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
#model h4 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--en); font-size: var(--fs-l); font-weight: 500; letter-spacing: .04em; }
#model h4 img { width: 44px; height: 44px; margin: 0; object-fit: contain; }
#model dt { font-family: var(--en); font-weight: 500; letter-spacing: .03em; }
#model dd { margin: 2px 0 14px; color: #333; line-height: 1.85; }
#model dd:last-child { margin-bottom: 0; }
#model h3 { border: 0; padding: 0; margin-bottom: 12px; font-size: 14px; }

/* ===== アパレル・バッグ：採寸の図を3つ並べる ===== */
#apparel ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#apparel img { width: 100%; margin: 0; border: 1px solid var(--line); }

/* ===== お知らせ（shopinfo.html）：前は文字入りの画像だった所を文字で ===== */
/* 配送・ラッピング：要点3つを横に並べる（上に小さな字、下に大きな字） */
#gift ul { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; padding: 0; list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
#gift li { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px 18px 20px; line-height: 1.6; }
#gift li + li { border-left: 1px solid var(--line); }
#gift li small { font-size: var(--fs-m); color: var(--sub); }
#gift li strong { font-size: 22px; font-weight: 600; letter-spacing: .06em; }
/* 発送日の異なる商品：左が別々の買い物カゴ、右が同じ買い物カゴ。商品の下に矢印と届く時期 */
#separate ul { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 20px; padding: 0; list-style: none; }
#separate li { padding: 0; }
#separate li > strong { display: block; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: var(--fs-l); }
#separate dl { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: 1fr; gap: 0 12px; }
#separate dt { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 10px; background: var(--base); text-align: center; line-height: 1.6; font-weight: 500; }
#separate dd { position: relative; margin-top: 30px; padding: 10px; border: 1px solid var(--ink); text-align: center; font-weight: 600; }
#separate dd::before { content: "↓"; position: absolute; top: -28px; left: 0; right: 0; color: var(--sub); }
#separate dd:first-of-type { color: var(--accent); border-color: var(--accent); }   /* 前の画像で赤だった所（各カゴの1つ目）を店の紺に */
/* 飛脚ゆうパケット：題字 */
#yupacket > h2 + p { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#yupacket > h2 + p small { font-family: var(--en); font-size: var(--fs-m); letter-spacing: var(--ls-m); color: var(--sub); }
#yupacket > h2 + p strong { font-size: 26px; font-weight: 600; letter-spacing: .1em; }

/* ===== 間の幅（〜1023px）：見出しを本文の上へ ===== */
@media (max-width: 1023px) {
	.main > h1 + nav ul { grid-template-columns: repeat(4, 1fr); }
	.main > h1 + nav li:not(:nth-child(6n+1)) { border-left: 0; }
	.main > h1 + nav li:nth-child(n+7) { border-top: 0; }
	.main > h1 + nav li:not(:nth-child(4n+1)) { border-left: 1px solid var(--line); }
	.main > h1 + nav li:nth-child(n+5) { border-top: 1px solid var(--line); }
	.main > section { min-height: 0; padding: 26px 0 0; }
	.main > section > h2 { position: static; width: auto; flex-direction: row; align-items: baseline; gap: 4px 16px; margin-bottom: 24px; }
}

/* ===== スマホ（〜767px） ===== */
@media (max-width: 767px) {
	.main > h1 + nav { margin: 28px 0 56px; }
	.main > h1 + nav ul { grid-template-columns: repeat(3, 1fr); }
	.main > h1 + nav li:not(:nth-child(4n+1)) { border-left: 0; }
	.main > h1 + nav li:nth-child(n+5) { border-top: 0; }
	.main > h1 + nav li:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
	.main > h1 + nav li:nth-child(n+4) { border-top: 1px solid var(--line); }
	.main > h1 + nav a { padding: 12px 10px 11px; font-size: 11px; letter-spacing: .1em; }
	.main > h1 + nav a::before { font-size: 13px; }
	.main > h1 + nav small { font-size: 10px; letter-spacing: 0; }
	.main > section { padding-top: 22px; }
	.main > section > h2 { margin-bottom: 20px; }
	.main > section p, .main > section > ul { font-size: 13px; line-height: 1.85; }
	.main > section h3 { margin-top: 36px; font-size: 14px; }
	.main > section p:has(> img + img) { gap: 8px; }
	.main > section > dl { grid-template-columns: 7.5em 1fr; }
	/* 表：文字を小さく、左の列を細く（横にはみ出さない） */
	.main table { font-size: 12px; line-height: 1.7; }
	.main th, .main td { padding: 10px; }
	.main th { width: 34%; }
	.main td { word-break: break-word; }
	[id="08"] table:last-child { font-size: 11px; }
	[id="08"] table:last-child th, [id="08"] table:last-child td { padding: 6px; }
	#shoes table { font-size: 11px; }
	#shoes th, #shoes td { padding: 9px 0; }
	#shoes tr > :first-child { width: 30px; }
	/* 履き比べ：ロゴと名前を上、モデルと感想を下 */
	#model li { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
	#model h4 img { width: 36px; height: 36px; }
	#model dd { font-size: 12.5px; }
	#apparel ul { grid-template-columns: 1fr; gap: 12px; }
	/* お知らせ：要点3つは縦に（左に小さな字、右に大きな字）。カゴの図も縦に */
	#gift ul { grid-template-columns: 1fr; }
	#gift li { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; }
	#gift li + li { border-left: 0; border-top: 1px solid var(--line); }
	#gift li small { font-size: 12px; }
	#gift li strong { flex-shrink: 0; font-size: 18px; }
	#separate ul { grid-template-columns: 1fr; gap: 28px; }
	#separate dt { min-height: 60px; font-size: 12.5px; }
	#separate dd { font-size: 13px; }
	#yupacket > h2 + p strong { font-size: 21px; }
}
