/* =========================================================
 * GENTIL BANDIT 新トップページ（白黒）
 * template-parts/gb-top.php
 * ========================================================= */
#gb-top{color:#000;-webkit-font-smoothing:antialiased}
#gb-top *,#gb-top *:before,#gb-top *:after{box-sizing:border-box}
#gb-top a{color:inherit;text-decoration:none}
#gb-top img{display:block;max-width:100%}
#gb-top h2,#gb-top h3,#gb-top p{margin:0}

/* セクション */
#gb-top .tp-sec{margin:0 56px;padding:96px 0}
#gb-top .tp-sec+.tp-sec{border-top:1px solid #000}
#gb-top .tp-sec--cat{padding-top:0;border-top:0!important}
#gb-top .tp-hd{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:40px;gap:24px}
#gb-top .tp-hd h2{font-size:26px;font-weight:400;letter-spacing:.2em;line-height:1.3}
#gb-top .tp-hd h2 small{display:block;font-size:11px;letter-spacing:.08em;color:#555;margin-top:10px;font-weight:400}
#gb-top .tp-more{display:inline-flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.2em;border-bottom:1px solid #000;padding-bottom:6px;white-space:nowrap}
#gb-top .tp-eb{font-size:10px;letter-spacing:.26em;color:#555}

/* NEW IN / POPULAR */
#gb-top .tp-tabs{display:flex;gap:28px}
#gb-top .tp-tabs button{background:none;border:0;border-bottom:1px solid transparent;padding:0 0 8px;font:inherit;font-size:26px;font-weight:400;letter-spacing:.2em;color:#b3b3b3;cursor:pointer;line-height:1.3}
#gb-top .tp-tabs button.on{color:#000;border-color:#000}
#gb-top .tp-tabs-sub{font-size:11px;color:#555;margin-top:10px}
#gb-top .tp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px 24px}
#gb-top .tp-grid[hidden]{display:none}
#gb-top .tp-p{display:flex;flex-direction:column;gap:12px}
#gb-top .tp-p .ph{background:#f4f4f4;aspect-ratio:5/4;overflow:hidden;position:relative}
#gb-top .tp-p img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .6s}
#gb-top .tp-p:hover img{transform:scale(1.04)}
#gb-top .tp-badge{position:absolute;top:12px;left:12px;font-size:10px;letter-spacing:.14em;background:#000;color:#fff;padding:4px 8px}
#gb-top .tp-p .nm{font-size:13px;line-height:1.6}
#gb-top .tp-p .nm small{display:block;font-size:10px;letter-spacing:.18em;color:#555;margin-bottom:2px}
#gb-top .tp-p .pr{font-size:13px}
#gb-top .tp-p .pr small{font-size:10px;color:#555;margin-left:2px}

/* カテゴリ */
#gb-top .tp-cat{display:grid;grid-template-columns:repeat(10,1fr);gap:16px}
#gb-top .tp-cat a{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:11px;text-align:center}
#gb-top .tp-cat .ph{width:100%;aspect-ratio:1;background:#f4f4f4;overflow:hidden}
#gb-top .tp-cat img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}

/* FEATURES */
#gb-top .tp-f{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
#gb-top .tp-f a{display:flex;flex-direction:column;gap:14px}
#gb-top .tp-f .ph{overflow:hidden;aspect-ratio:4/5;background:#eee}
#gb-top .tp-f img{width:100%;height:100%;object-fit:cover;transition:transform .9s}
#gb-top .tp-f a:hover img{transform:scale(1.03)}
#gb-top .tp-f small{font-size:10px;letter-spacing:.22em;color:#555}
#gb-top .tp-f span{font-size:15px;line-height:1.6}

/* CUSTOM ORDER */
#gb-top .tp-cu{margin:0 56px;border-top:1px solid #000;border-bottom:1px solid #000}
#gb-top .tp-cu .tp-sec{margin:0}
#gb-top .tp-cu .in{display:grid;grid-template-columns:1.1fr 1fr;gap:72px;align-items:center}
#gb-top .tp-cu .big{aspect-ratio:4/5;overflow:hidden;position:relative}
#gb-top .tp-cu .big .tag{position:absolute;left:12px;top:12px;background:#fff;color:#000;font-size:10px;letter-spacing:.14em;padding:5px 10px}
#gb-top .tp-cu .big img{width:100%;height:100%;object-fit:cover;object-position:center}
#gb-top .tp-cu h2{margin:16px 0 20px;font-size:clamp(22px,2.3vw,34px);font-weight:300;letter-spacing:.08em;line-height:1.5}
#gb-top .tp-cu h2 span{white-space:nowrap}
#gb-top .tp-cu p.d{margin:0 0 32px;font-size:14px;line-height:2;color:#222}
#gb-top .tp-cu .btns{display:flex;gap:12px;flex-wrap:wrap}
#gb-top .tp-btn{display:inline-flex;align-items:center;gap:12px;height:52px;padding:0 40px;background:#000;color:#fff;font-size:12px;letter-spacing:.2em;border:1px solid #000}
#gb-top .tp-btn.ol{background:transparent;color:#000}
#gb-top .tp-cu .arc{margin-top:44px;padding-top:28px;border-top:1px solid #000;display:flex;flex-direction:column;align-items:flex-start}
#gb-top .tp-cu .arc .tp-eb span{letter-spacing:.06em;margin-left:10px}
#gb-top .tp-cu .arc .row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 18px;width:100%}
#gb-top .tp-cu .arc a.c{display:flex;flex-direction:column;gap:6px;font-size:10px;letter-spacing:.14em;color:#555}
#gb-top .tp-cu .arc img{width:100%;aspect-ratio:1;object-fit:cover}
#gb-top .tp-cu+.tp-sec{border-top:0}

/* STYLE */
#gb-top .tp-sty{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
#gb-top .tp-sty a{display:flex;flex-direction:column;gap:12px}
#gb-top .tp-sty .ph{aspect-ratio:3/4;overflow:hidden;position:relative}
#gb-top .tp-sty .ph img{width:100%;height:100%;object-fit:cover;transition:transform .9s}
#gb-top .tp-sty a:hover .ph img{transform:scale(1.03)}
#gb-top .tp-sty .tag{position:absolute;left:10px;top:10px;background:#fff;color:#000;font-size:10px;letter-spacing:.1em;padding:4px 8px}
#gb-top .tp-sty .mt{display:flex;flex-direction:column;gap:3px}
#gb-top .tp-sty .mt small{font-size:10px;letter-spacing:.18em;color:#555}
#gb-top .tp-sty .mt b{font-size:13px;font-weight:400;line-height:1.5}
#gb-top .tp-sty .mt em{font-style:normal;font-size:13px}
#gb-top .tp-sty .mt em i{font-style:normal;font-size:10px;color:#555;margin-left:2px}

/* STORE & EVENT */
#gb-top .tp-st{display:grid;grid-template-columns:1.3fr 1fr 1fr;border-top:1px solid #000;border-bottom:1px solid #000}
#gb-top .tp-st>div{padding:44px 40px;border-right:1px solid #000;display:flex;flex-direction:column;gap:14px}
#gb-top .tp-st>div:first-child{padding-left:0}
#gb-top .tp-st>div:last-child{border-right:0;padding-right:0}
#gb-top .tp-st h3{font-size:18px;font-weight:400}
#gb-top .tp-st p{font-size:13px;line-height:1.9;color:#222}
#gb-top .tp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
#gb-top .tp-days:empty{display:none}
#gb-top .tp-days div{border:1px solid #d6d6d6;padding:10px 0;text-align:center;font-size:12px;line-height:1.5}
#gb-top .tp-days div b{display:block;font-weight:500;font-size:14px}
#gb-top .tp-days div i{font-style:normal;font-size:10px}
#gb-top .tp-days div.off{background:#f4f4f4;color:#999}
#gb-top .tp-days div.rj{background:#000;color:#fff;border-color:#000}
#gb-top .tp-nw{display:block;border-bottom:1px solid #d6d6d6;padding:6px 0 14px}
#gb-top .tp-nw small{font-size:11px;color:#555}
#gb-top .tp-nw h3{margin-top:6px;font-size:15px;line-height:1.7}
#gb-top .tp-st .lk{margin-top:auto;align-self:flex-start}

/* タッチ端末では画像の拡大アニメーションを止める（はみ出しによる縦ずれ防止） */
@media (hover:none){
	#gb-top .tp-p:hover img,#gb-top .tp-f a:hover img,#gb-top .tp-sty a:hover .ph img{transform:none}
}

/* タブレット */
@media (max-width:1240px){
	#gb-top .tp-sec,#gb-top .tp-cu{margin:0 32px}
	#gb-top .tp-cu .tp-sec{margin:0}
	#gb-top .tp-cu .in{gap:40px}
	#gb-top .tp-cat{grid-template-columns:repeat(5,1fr)}
	#gb-top .tp-st>div{padding:36px 24px}
}

/* スマホ */
@media (max-width:900px){
	#gb-top .tp-sec,#gb-top .tp-cu{margin:0 20px}
	#gb-top .tp-sec{padding:64px 0}
	#gb-top .tp-sec--cat{padding-top:0}
	#gb-top .tp-hd{margin-bottom:24px;flex-wrap:wrap}
	#gb-top .tp-hd h2,#gb-top .tp-tabs button{font-size:19px}
	/* 横スクロール：縦方向には動かさない */
	#gb-top .tp-grid,#gb-top .tp-cat,#gb-top .tp-f{display:flex;overflow-x:auto;overflow-y:hidden;gap:12px;margin:0 -20px;padding:0 20px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
	#gb-top .tp-grid::-webkit-scrollbar,#gb-top .tp-cat::-webkit-scrollbar,#gb-top .tp-f::-webkit-scrollbar{display:none}
	#gb-top .tp-grid .tp-p{flex:0 0 62%}
	#gb-top .tp-cat a{flex:0 0 84px}
	#gb-top .tp-f a{flex:0 0 78%}
	#gb-top .tp-cu .in{grid-template-columns:1fr;gap:32px}
	#gb-top .tp-cu h2{font-size:24px}
	#gb-top .tp-sty{grid-template-columns:1fr 1fr}
	#gb-top .tp-st{grid-template-columns:1fr;border-bottom:0}
	#gb-top .tp-st>div{border-right:0;border-bottom:1px solid #000;padding:32px 0!important}
}
