/* ============================================================
   MY GEAR v6.0 → v7.1 — 見た目のすべて（スマホを先に書き、広い画面で足す）
   v7.1：書体を Inter＋端末の日本語に。太さを控えめに。PC の横幅は最大1440px（画面に合わせて列が増える）。
         ランキングは大きな順位の数字が写真の左後ろに重なるカード、アーティストの機材は写真の大きいカード、
         機材ページの「使っている人」は年代ごとの年表、出典はボタン1つ（押すと、ひとこと全文と出典の画像）。
   class 名は「mg-」で始まる。v5 の見た目のまま残すページ（ユーザーの自分のページ・編集画面・ログイン）だけ、
   v5 の CSS（parts/）もいっしょに読む。

   目次
     0. 色・書体・大きさ
     1. 土台（Cocoon の指定を打ち消す）
     2. ヘッダー・下のタブ・フッター
     3. 共通の部品（見出し・チップ・ボタン・写真の枠・顔・数字）
     4. 検索と候補
     5. ホーム
     6. アーティスト・機材・バンドのページ
     7. 出典をひらく画面
     8. 一覧（タイル・人のカード・バンド・絞り込み・ページ送り）
     9. ランキング・さがす
    10. コメント・固定ページ・お問い合わせ
   ============================================================ */

/* ---------- 0. 色・書体・大きさ ---------- */
:root {
	--mg-ink: #141414;
	--mg-ink2: #2e2e2b;
	--mg-sub: #5f5f59;
	--mg-mute: #85857f;
	--mg-line: #e6e6e1;
	--mg-line2: #efefeb;
	--mg-line-strong: #d9d9d3;   /* 見出しの下の線・検索窓の枠（v7.4） */
	--mg-tag: #ecece7;           /* 「出典」の札（v7.4：黄色をやめた） */
	--mg-tag-ink: #4a4a45;
	--mg-tile: #f3f3ef;
	--mg-bg: #f5f5f2;
	--mg-card: #ffffff;
	--mg-teal: #1f4f59;
	--mg-mark: #ffd60a;   /* v7.4 からは使っていない（黄色をやめた） */
	--mg-r: 12px;
	--mg-r-lg: 16px;
	--mg-ff: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mg-fl: var(--mg-ff);
	--mg-gold: #ecd89e;
	--mg-silver: #cfd8e1;
	--mg-bronze: #eccfb4;
	--mg-rankno: #ebebe6;
	--mg-max: 1440px;
	--mg-gut: 16px;
	--mg-hd: 56px;
	--mg-tab: 62px;
	--mg-safe: env(safe-area-inset-bottom, 0px);
}

/* ---------- 1. 土台 ---------- */
body.mygear-v6 {
	margin: 0;
	font-feature-settings: "palt" 0;
	background: var(--mg-bg);
	color: var(--mg-ink);
	font-family: var(--mg-ff);
	font-size: 15px;
	line-height: 1.7;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--mg-tab) + var(--mg-safe));
}
body.mygear-v6.mygear-legacy { padding-top: 0; }
body.mygear-v6 #container { background: var(--mg-bg); }
.mg-main, .mg-hd, .mg-tab, .mg-ft, .mg-sheet { box-sizing: border-box; font-family: var(--mg-ff); }
.mg-main *, .mg-main *::before, .mg-main *::after,
.mg-hd *, .mg-tab *, .mg-ft *, .mg-sheet * { box-sizing: border-box; }
.mg-main { display: block; color: var(--mg-ink); font-size: 15px; line-height: 1.7; padding-bottom: 48px; }
.mg-main a { color: inherit; text-decoration: none; }
.mg-main h1, .mg-main h2, .mg-main h3, .mg-main p, .mg-main figure, .mg-main dl, .mg-main dd { margin: 0; padding: 0; border: 0; background: none; }
.mg-main h1::before, .mg-main h1::after, .mg-main h2::before, .mg-main h2::after, .mg-main h3::before, .mg-main h3::after { content: none; }
.mg-main ul, .mg-main ol { list-style: none; margin: 0; padding: 0; }
.mg-main li { margin: 0; padding: 0; }
.mg-main img { max-width: 100%; height: auto; display: block; }
/* v8.5.1：ユーザーの編集画面（.mygear-my）・はじめての画面（.mygear-setup）のボタンは、自分の書式を使う（ここで上書きすると文字が消える） */
.mg-main button:where(:not(.mygear-my *, .mygear-setup *)) { font: inherit; color: inherit; cursor: pointer; }
.mg-main input { font: inherit; }
.mg-main [hidden] { display: none !important; }
.mg-ico { flex: none; display: block; }
.mg-main :focus-visible, .mg-hd :focus-visible, .mg-tab :focus-visible, .mg-ft :focus-visible, .mg-sheet :focus-visible { outline: 2px solid var(--mg-ink); outline-offset: 2px; border-radius: 6px; }
.mygear-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--mg-ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.mygear-skip:focus { left: 8px; }

.mg-wrap { max-width: var(--mg-max); margin: 0 auto; padding: 0 var(--mg-gut); }
.mg-narrow { max-width: 860px; }
@media (min-width: 768px) { :root { --mg-gut: 28px; } }
@media (min-width: 1024px) { :root { --mg-gut: 40px; } }
@media (min-width: 1440px) { :root { --mg-gut: 56px; } }
.mg-vh { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- 2. ヘッダー ---------- */
.mg-hd { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--mg-line); }
body.admin-bar .mg-hd { top: 46px; }
@media (min-width: 783px) { body.admin-bar .mg-hd { top: 32px; } }
.mg-hd__in { max-width: var(--mg-max); margin: 0 auto; height: var(--mg-hd); display: flex; align-items: center; gap: 12px; padding: 0 8px 0 var(--mg-gut); }
.mg-hd__logo { display: flex; align-items: center; color: var(--mg-ink); text-decoration: none; height: 44px; }
.mg-logo { display: block; height: 22px; width: auto; color: inherit; }
.mg-hd__nav { display: none; }
.mg-hd__search { display: none; position: relative; }
.mg-hd__end { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.mg-hd__icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--mg-ink); border-radius: 50%; }
.mg-hd__icon:hover { background: var(--mg-tile); }
.mg-hd__me { position: relative; }
.mg-hd__me > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.mg-hd__me > summary::-webkit-details-marker { display: none; }
.mg-hd__menu { position: absolute; right: 4px; top: 48px; width: 240px; background: #fff; border: 1px solid var(--mg-line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 8px; z-index: 95; }
.mg-hd__menu-name { margin: 4px 8px 8px; font-size: 13px; font-weight: 700; color: var(--mg-sub); }
.mg-hd__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 8px; color: var(--mg-ink); text-decoration: none; font-size: 14px; }
.mg-hd__menu a:hover { background: var(--mg-tile); }
@media (min-width: 1024px) {
	:root { --mg-hd: 64px; }
	.mg-hd__in { padding: 0 var(--mg-gut); gap: 24px; }
	.mg-logo { height: 24px; }
	.mg-hd__nav { display: flex; gap: 4px; }
	.mg-hd__link { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--mg-sub); text-decoration: none; font-size: 14px; font-weight: 700; }
	.mg-hd__link:hover { color: var(--mg-ink); background: var(--mg-tile); }
	.mg-hd__link.is-on { color: var(--mg-ink); background: var(--mg-tile); }
	.mg-hd__search { display: block; margin-left: auto; width: min(360px, 32vw); }
	.mg-hd__end { margin-left: 0; }
	.mg-hd__find { display: none; }
}
.mg-hd__searchbox { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-sub); cursor: text; transition: border-color .15s, box-shadow .15s; }
.mg-hd__searchbox input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; font-size: 14px; color: var(--mg-ink); padding: 0 !important; height: auto; margin: 0; }

/* 下のタブ（スマホ） */
@media (min-width: 1024px) {
	body.mygear-v6 { padding-bottom: 0; }
}
body.mygear-editing.mygear-v6 { padding-bottom: 0; }

/* フッター */
.mg-ft { background: var(--mg-ink); color: #c9c9c2; margin-top: 24px; }
.mg-ft__in { max-width: var(--mg-max); margin: 0 auto; padding: 40px var(--mg-gut) 28px; display: grid; gap: 28px; }
.mg-ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.mg-ft__head { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #fff; }
.mg-ft__col ul { list-style: none; margin: 0; padding: 0; }
.mg-ft__col li { margin: 0 0 8px; }
.mg-ft__col a { color: #c9c9c2; text-decoration: none; font-size: 13.5px; }
.mg-ft__col a:hover { color: #fff; }
.mg-ft__copy { margin: 0; font-size: 12px; color: #8e8e88; letter-spacing: .04em; }
@media (min-width: 768px) {
	.mg-ft__in { grid-template-columns: 1fr 1.6fr; padding: 56px var(--mg-gut) 32px; }
	.mg-ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-ft__copy { grid-column: 1 / -1; }
}

/* ---------- 3. 共通の部品 ---------- */
.mg-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mg-sub); line-height: 1.4; }

/* パンくず */
.mg-main .rl-crumbs { margin: 0 0 10px; overflow-x: auto; scrollbar-width: none; }
.mg-main .rl-crumbs::-webkit-scrollbar { display: none; }
.mg-main .rl-crumbs__list { display: flex; gap: 0; white-space: nowrap; font-size: 12px; color: var(--mg-mute); }
.mg-main .rl-crumbs__item { display: flex; align-items: center; }
.mg-main .rl-crumbs__item + .rl-crumbs__item::before { content: "›"; margin: 0 7px; color: var(--mg-line); font-size: 14px; }
.mg-main .rl-crumbs__item a { color: var(--mg-sub); text-decoration: none; }
.mg-main .rl-crumbs__item a:hover { color: var(--mg-ink); text-decoration: underline; }

/* ページの見出し */
.mg-phead { padding: 18px 0 6px; }
.mg-phead__title { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin-top: 4px !important; word-break: break-word; }
.mg-phead__lead { margin-top: 8px !important; font-size: 14px; color: var(--mg-sub); line-height: 1.8; max-width: 640px; }
.mg-phead__lead a { text-decoration: underline !important; }
@media (min-width: 768px) { .mg-phead { padding-top: 28px; } .mg-phead__title { font-size: 32px; } }

/* 区画の見出し */
.mg-sec { margin-top: 44px; }
.mg-sec--first { margin-top: 8px; }
.mg-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--mg-line-strong); }
.mg-main .mg-sechead__title, .mg-sechead__title { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; min-width: 0; max-width: 100%; padding: 9px 16px 8px; border-radius: 8px 8px 0 0; background: var(--mg-ink); color: #fff; }
.mg-sechead__en { font-family: "Inter", var(--mg-ff); font-size: 18px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #fff; line-height: 1.2; }
.mg-sechead__en--ja { font-family: var(--mg-ff); font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.mg-sechead__ja { font-size: 11.5px; line-height: 1.4; font-weight: 500; color: #c4c4bd; line-break: strict; }
@media (min-width: 768px) { .mg-sechead__en { font-size: 21px; } .mg-sechead__en--ja { font-size: 18px; } .mg-sechead__ja { font-size: 12px; } }
.mg-sechead__link { flex: none; display: inline-flex; align-items: center; gap: 2px; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--mg-sub) !important; padding: 6px 0; }
.mg-sechead__link:hover { color: var(--mg-ink) !important; }
.mg-sec__note { font-size: 12px; color: var(--mg-mute); margin: -8px 0 10px !important; }
.mg-fine { font-size: 12px; color: var(--mg-mute); line-height: 1.7; margin-top: 10px !important; }
.mg-empty { padding: 20px; background: var(--mg-card); border-radius: var(--mg-r); color: var(--mg-sub); font-size: 14px; margin-top: 16px !important; }
.mg-empty p + p { margin-top: 10px; }
.mg-empty a { text-decoration: underline !important; }

/* チップ */
.mg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--mg-gut)); margin-right: calc(-1 * var(--mg-gut)); padding: 2px var(--mg-gut); }
.mg-chips--scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .mg-chips--scroll { margin-left: 0; margin-right: 0; padding: 2px 0; flex-wrap: wrap; } }
.mg-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--mg-line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--mg-ink) !important; white-space: nowrap; line-height: 1; }
.mg-chip b { font-weight: 500; font-size: 12px; color: var(--mg-mute); font-variant-numeric: tabular-nums; }
.mg-chip:hover { border-color: var(--mg-ink); }
.mg-chip.is-on, .mg-chip--dark { background: var(--mg-ink); border-color: var(--mg-ink); color: #fff !important; }
.mg-chip.is-on b, .mg-chip--dark b { color: #b9b9b2; }
.mg-chip--lg { height: 38px; padding: 0 14px; font-size: 13.5px; }

/* ボタン */
.mg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border: 1px solid var(--mg-line); border-radius: var(--mg-r); background: #fff; color: var(--mg-ink) !important; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; }
.mg-btn:hover { border-color: var(--mg-ink); }
.mg-btn--wide { display: flex; width: 100%; }
.mg-more { display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px; min-height: 46px; margin-top: 12px; border: 1px solid var(--mg-line); border-radius: var(--mg-r); background: #fff; font-size: 14px; font-weight: 700; color: var(--mg-ink); }
.mg-more:hover { border-color: var(--mg-ink); }

/* 写真の枠（機材の写真は背景が透けているので、うすい灰色の上に置く） */
.mg-thumb { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--mg-tile); border-radius: 10px; overflow: hidden; }
.mg-tile__img { background: var(--mg-card); box-shadow: inset 0 0 0 1px var(--mg-line2); }
.mg-thumb img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; color: transparent; font-size: 0; }
.mg-thumb.is-empty { background: var(--mg-line2); }

/* 顔 */
.mg-av { position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--mg-tile); color: #fff; font-weight: 700; font-size: 15px; line-height: 1; }
.mg-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-av--init span { position: relative; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.mg-av--xs { width: 20px; height: 20px; font-size: 9px; }
.mg-av--sm { width: 32px; height: 32px; font-size: 12px; }
.mg-av--md { width: 44px; height: 44px; }
.mg-av--lg { width: 64px; height: 64px; font-size: 20px; }
.mg-av--xl { width: 84px; height: 84px; font-size: 28px; }
.mg-av--more { background: var(--mg-ink); color: #fff; font-size: 9px; }
.mg-faces { display: inline-flex; align-items: center; }
.mg-faces .mg-av { width: 22px; height: 22px; font-size: 9px; box-shadow: 0 0 0 2px #fff; }
.mg-faces .mg-av + .mg-av { margin-left: -6px; }
.mg-faces--lg .mg-av { width: 34px; height: 34px; font-size: 12px; }
.mg-faces--lg .mg-av + .mg-av { margin-left: -9px; }

/* 数字（箱。バンドのページなど） */
.mg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); margin-top: 18px !important; }
.mg-stats > div { padding: 12px 0 12px 12px; border-left: 1px solid var(--mg-line); min-width: 0; }
.mg-stats > div:first-child { border-left: 0; padding-left: 0; }
.mg-stats dt { font-size: 11px; font-weight: 700; color: var(--mg-sub); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-stats dd { font-size: 24px; font-weight: 700; line-height: 1.2; margin-top: 4px !important; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mg-stats dd small { font-family: var(--mg-ff); font-size: 12px; font-weight: 700; margin-left: 2px; color: var(--mg-sub); }

.mg-intro { margin-top: 16px !important; font-size: 14px; line-height: 1.85; color: var(--mg-ink2); }
@media (min-width: 1024px) { .mg-intro { font-size: 14.5px; } }
.mg-clamp { max-height: calc(1.85em * 3); overflow: hidden; position: relative; }
.mg-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.85em; background: linear-gradient(rgba(245,245,242,0), var(--mg-bg)); pointer-events: none; }
.mg-clamp.is-open, .mg-clamp.is-short { max-height: none; }
.mg-clamp.is-open::after, .mg-clamp.is-short::after { display: none; }
.mg-clamp__btn { display: inline-flex; align-items: center; min-height: 36px; margin-top: 2px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--mg-ink) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mg-intro p { margin: 0 0 .6em; }
.mg-intro p:last-child { margin-bottom: 0; }
.mg-intro a { text-decoration: underline; text-decoration-color: var(--mg-line); text-underline-offset: 3px; }
.mg-intro a:hover { text-decoration-color: var(--mg-ink); }

/* ランキングのカード（v7.1：v5.6 の形を戻した）
   大きな順位の数字が、透過写真の左後ろに重なる。1〜3位は金・銀・銅。
   is-scroll … スマホは横に流す（広い画面では5列）／is-grid … 並べる */
.mg-rcards.is-scroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(-1 * var(--mg-gut)); padding: 2px var(--mg-gut) 10px; }
.mg-rcards.is-scroll::-webkit-scrollbar { display: none; }
.mg-rcards.is-scroll > .mg-rcard { flex: none; width: 152px; scroll-snap-align: start; }
.mg-rcards.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .mg-rcards.is-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; } }
@media (min-width: 1024px) {
	.mg-rcards.is-scroll { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; overflow: visible; margin: 0; padding: 0; }
	.mg-rcards.is-scroll > .mg-rcard { width: auto; }
}
.mg-rcard { min-width: 0; }
.mg-rcard__a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px 12px 12px; border: 1px solid var(--mg-line); border-radius: 18px; background: var(--mg-card); color: var(--mg-ink) !important; transition: border-color .15s, box-shadow .15s; }
.mg-rcard__a:hover { border-color: #c4c4bd; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.mg-rcard__top { position: relative; display: block; height: 104px; }
.mg-rcard__no { position: absolute; left: -3px; bottom: -4px; z-index: 0; font-family: "Inter", system-ui, sans-serif; font-size: 92px; font-weight: 800; line-height: .8; letter-spacing: -.06em; color: var(--mg-rankno); user-select: none; font-variant-numeric: tabular-nums; }
.mg-rcard__no.is-wide { font-size: 70px; letter-spacing: -.07em; }
.mg-rcard__no.is-1 { color: var(--mg-gold); }
.mg-rcard__no.is-2 { color: var(--mg-silver); }
.mg-rcard__no.is-3 { color: var(--mg-bronze); }
.mg-rcard__img { position: absolute; top: 0; bottom: 0; left: 26%; right: 0; z-index: 1; display: block; }
.mg-rcard__no.is-wide + .mg-rcard__img { left: 44%; }
.mg-rcard__img img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); color: transparent; font-size: 0; }
.mg-rcard__maker { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mg-sub); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-rcard__name { margin-top: 2px; font-size: 14.5px; font-weight: 700; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
/* v7.5：重なった顔の右に「○人が使用」 */
.mg-rcard__name { margin-bottom: 10px; }
.mg-rcard__use { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--mg-line2); font-size: 11.5px; color: var(--mg-sub); white-space: nowrap; }
.mg-rcard__use > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mg-rcard__use .mg-faces:empty { display: none; }
.mg-rcard__use b { font-size: 15px; font-weight: 700; color: var(--mg-ink); margin-right: 1px; font-variant-numeric: tabular-nums; }
.mg-rcard__use .mg-faces { flex: none; }
.mg-rcard__use .mg-faces .mg-av { width: 22px; height: 22px; font-size: 9px; }
.mg-rcard__use .mg-faces .mg-av + .mg-av { margin-left: -7px; }
.mg-rcard__a:hover .mg-rcard__name { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .mg-rcard__top { height: 120px; } .mg-rcard__no { font-size: 108px; } .mg-rcard__no.is-wide { font-size: 82px; } }

/* タブ（切り替え） */
.mg-seg { display: inline-flex; gap: 2px; padding: 3px; background: #e9e9e4; border-radius: 11px; margin-bottom: 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mg-seg::-webkit-scrollbar { display: none; }
.mg-seg__btn { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 600; color: var(--mg-sub) !important; white-space: nowrap; text-decoration: none; cursor: pointer; }
.mg-seg__btn[aria-selected="true"], .mg-seg__btn[aria-pressed="true"], .mg-seg__btn[aria-current] { background: #fff; color: var(--mg-ink) !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mg-seg--sm .mg-seg__btn { height: 32px; padding: 0 11px; font-size: 12.5px; }

/* 横に流れる人の並び */
.mg-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 8px; }
.mg-people--scroll { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; margin: 0 calc(-1 * var(--mg-gut)); padding: 0 var(--mg-gut); }
.mg-people--scroll::-webkit-scrollbar { display: none; }
.mg-people--scroll li { flex: none; width: 92px; }
.mg-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px 2px; }
.mg-person__name { font-size: 12.5px; font-weight: 700; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mg-person__sub { font-size: 11px; color: var(--mg-mute); line-height: 1.3; margin-top: -4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
@media (min-width: 768px) { .mg-people--scroll { margin: 0; padding: 0; flex-wrap: wrap; } }

/* 人の行（メンバーなど） */
.mg-plist li { border-bottom: 1px solid var(--mg-line2); }
.mg-plist__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 0; color: var(--mg-ink); }
.mg-plist__id { display: flex; flex-direction: column; min-width: 0; }
.mg-plist__id b { font-size: 15px; font-weight: 700; line-height: 1.35; }
.mg-plist__id span { font-size: 12px; color: var(--mg-sub); }
.mg-plist__n { font-size: 12px; color: var(--mg-sub); white-space: nowrap; }
.mg-plist__n b { font-size: 17px; color: var(--mg-ink); margin-right: 1px; }
.mg-plist__row > .mg-ico { color: var(--mg-mute); }
.mg-plist__row:hover b { text-decoration: underline; }

/* 小さな案内（行） */
.mg-cta { display: flex; align-items: center; gap: 12px; padding: 14px; margin-top: 14px; border: 1px solid var(--mg-line); border-radius: var(--mg-r-lg); background: #fff; color: var(--mg-ink) !important; }
.mg-cta:hover { border-color: var(--mg-ink); }
.mg-cta__ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--mg-ink); color: #fff; }
.mg-cta__body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.mg-cta__body b { font-size: 15px; font-weight: 700; }
.mg-cta__body span { font-size: 12.5px; color: var(--mg-sub); }
.mg-cta > .mg-ico { color: var(--mg-mute); }

/* 棒（割合） */
.mg-bars { display: grid; gap: 10px; margin-top: 12px !important; }
.mg-bars__row { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) 3.4em; align-items: center; gap: 10px; }
.mg-bars__label { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.mg-bars__label:hover { text-decoration: underline !important; }
.mg-bars__track { height: 8px; background: var(--mg-tile); border-radius: 999px; overflow: hidden; }
.mg-bars__track span { display: block; height: 100%; background: var(--mg-ink); border-radius: 999px; min-width: 4px; }
.mg-bars__n { font-size: 13px; font-weight: 600; text-align: right; color: var(--mg-sub); }

/* ---------- 4. 検索と候補 ---------- */
/* v7.4：検索窓はどこでも同じ形（白・細い線・丸い角。押すボタンは置かず、Enter／キーボードの「検索」で探す） */
.mg-search { position: relative; margin-top: 18px; }
.mg-search__box { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-sub); cursor: text; box-shadow: 0 1px 2px rgba(20, 20, 20, .04); transition: border-color .15s, box-shadow .15s; }
.mg-search__box input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; font-size: 16px; color: var(--mg-ink); padding: 0 !important; margin: 0; height: auto; }
.mg-search__box input::placeholder { color: var(--mg-mute); }
.mg-search__box:hover { border-color: #c4c4bd; }
.mg-search__box:focus-within, .mg-hd__searchbox:focus-within { border-color: var(--mg-ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.mg-search--hero .mg-search__box { height: 56px; padding: 0 22px; box-shadow: 0 6px 20px rgba(20, 20, 20, .06); }
.mg-search--big { margin-bottom: 14px; }
.mg-search--big .mg-search__box { height: 54px; }
.mg-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 80; background: #fff; border: 1px solid var(--mg-line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.14); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; }
.mg-hd__search .mg-suggest { width: 380px; left: auto; right: 0; }
.mg-suggest__h { margin: 8px 10px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--mg-mute); text-transform: uppercase; }
.mg-suggest__row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-suggest__row:hover, .mg-suggest__row.is-on { background: var(--mg-tile); }
.mg-suggest__row .mg-thumb { width: 36px; border-radius: 8px; flex: none; }
.mg-suggest__row .mg-av { width: 36px; height: 36px; font-size: 13px; }
.mg-suggest__t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.mg-suggest__t b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-suggest__t span { font-size: 11.5px; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-suggest__t mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--mg-ink); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.mg-suggest__n { font-size: 11.5px; color: var(--mg-mute); white-space: nowrap; }
.mg-suggest__all { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 10px; border-top: 1px solid var(--mg-line2); border-radius: 0 0 10px 10px; font-size: 13.5px; font-weight: 700; color: var(--mg-ink) !important; }
.mg-suggest__all:hover, .mg-suggest__all.is-on { background: var(--mg-tile); }
.mg-suggest__none { padding: 12px 10px; font-size: 13px; color: var(--mg-sub); }

/* ---------- 5. ホーム ---------- */
/* 上の部分（v7.4）：左に見出し・数（3つ）・検索、右（PC）／下（スマホ）に「注目のアーティスト」を横にめくる形で */
.mg-hero { padding: 26px 0 6px; }
.mg-hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; }
.mg-hero__main { min-width: 0; }
.mg-main .mg-hero__title { margin-top: 10px !important; font-size: 30px; line-height: 1.34; font-weight: 700; letter-spacing: -.02em; color: var(--mg-ink); text-wrap: balance; }
/* 数（v7.5：小さなカード3つ。絵・数・名前） */
.mg-main .mg-hero__note { margin-top: 12px !important; font-size: 12.5px; line-height: 1.7; color: var(--mg-sub); }
.mg-search--hero { max-width: 620px; margin-top: 18px; }
@media (min-width: 900px) {
	.mg-hero { padding: 52px 0 12px; }
	.mg-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; }
	.mg-main .mg-hero__title { font-size: 46px; }
	.mg-main .mg-hero__note { font-size: 13px; }
}
@media (min-width: 1200px) { .mg-hero__in { grid-template-columns: minmax(0, 1fr) 500px; gap: 72px; } .mg-main .mg-hero__title { font-size: 54px; } }

/* 注目のアーティスト（横にめくる。v7.4） */
.mg-home__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.mg-home__main, .mg-home__side, .mg-split__side, .mg-split__main, .mg-rk__main, .mg-rk__side, .mg-results, .mg-rail { min-width: 0; }
.mg-home__side { display: flex; flex-direction: column; gap: 0; margin-top: 44px; }
.mg-home__side > * + * { margin-top: 24px; }
.mg-home__side .mg-sec--side { margin-top: 36px; }
@media (min-width: 1024px) {
	.mg-home__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
	.mg-home__side { margin-top: 44px; }
	.mg-home__side .mg-people--scroll { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; }
	.mg-home__side .mg-people--scroll li { width: auto; }
}
@media (min-width: 1360px) { .mg-home__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }

/* カテゴリー */
.mg-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .mg-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1200px) { .mg-cats--pic { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mg-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 10px 14px; border: 1px solid var(--mg-line); border-radius: 14px; background: var(--mg-card); color: var(--mg-ink) !important; }
.mg-cat:hover { border-color: var(--mg-ink); }
.mg-cats--pic .mg-cat { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "img name" "img n"; align-items: center; column-gap: 10px; row-gap: 0; padding: 8px 12px 8px 8px; }
.mg-cats--pic .mg-cat__img { grid-area: img; }
.mg-cats--pic .mg-cat__name { grid-area: name; align-self: end; }
.mg-cats--pic .mg-cat__n { grid-area: n; align-self: start; font-size: 12px; color: var(--mg-mute); }
.mg-cat__img { flex: none; width: 44px; border-radius: 10px; }
.mg-cat__name { flex: 1; font-size: 14.5px; font-weight: 700; line-height: 1.3; display: flex; flex-direction: column; min-width: 0; }
.mg-cat__name i { font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--mg-mute); text-transform: uppercase; }
.mg-cat__n { font-size: 13px; font-weight: 500; color: var(--mg-sub); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* マイギア（v7.3：v5.6 と同じく、枠の中を縦にスクロールするタイムライン） */
.mg-tline { position: relative; border: 1px solid var(--mg-line); border-radius: 16px; background: var(--mg-card); overflow: hidden; }
.mg-main .mg-tline__list { display: flex; flex-direction: column; }
.mg-tline.is-scroll .mg-tline__list { max-height: 480px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (min-width: 1024px) { .mg-tline.is-scroll .mg-tline__list { max-height: 560px; } }
.mg-tline__row + .mg-tline__row { border-top: 1px solid var(--mg-line2); }
.mg-tline__post { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 14px 14px 14px 12px; color: var(--mg-ink) !important; }
.mg-tline__post:hover { background: #fafaf8; }
.mg-tline__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mg-tline__meta { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.mg-tline__meta b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-tline__meta span { font-size: 12px; color: var(--mg-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-tline__text { font-size: 13px; line-height: 1.65; color: var(--mg-ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mg-tline__media { display: flex; align-items: center; gap: 10px; max-width: 420px; margin-top: 4px; padding: 6px; border: 1px solid var(--mg-line2); border-radius: 12px; background: var(--mg-bg); }
.mg-tline__photo { flex: none; width: 64px; height: 64px; border-radius: 9px; overflow: hidden; background: var(--mg-tile); }
.mg-tline__photo img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; }
.mg-tline__cap { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.mg-tline__cap i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-tline__cap b { font-size: 13.5px; font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mg-tline__post:hover .mg-tline__cap b { text-decoration: underline; text-underline-offset: 3px; }
.mg-main .mg-tline__hint { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 8px; border-top: 1px solid var(--mg-line2); background: var(--mg-card); font-size: 11.5px; color: var(--mg-sub); }
.mg-tline__hint::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }

/* ---------- 6. アーティスト・機材・バンドのページ ---------- */
.mg-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 14px; }
.mg-split__main { min-width: 0; margin-top: 24px; }
@media (min-width: 1024px) {
	.mg-split { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 28px; }
	.mg-split__side { padding-bottom: 12px; }
	.mg-split__main { margin-top: 0; }
}
@media (min-width: 1360px) { .mg-split { grid-template-columns: 400px minmax(0, 1fr); gap: 72px; } }

/* アーティストのページ：上に顔と紹介、下に機材のカード（広い画面でも1列。カードの列が増える）
   v7.4：左に顔、右に名前・よみ・パート・リンク。その下に紹介文、バンドと数（PC は紹介文を名前のすぐ下に） */
.mg-artist .mg-split { display: block; }
.mg-artist .mg-split__side { position: static; max-height: none; overflow: visible; padding-bottom: 0; }
.mg-artist .mg-split__main { margin-top: 26px; }
@media (min-width: 900px) {
	.mg-artist .mg-split__main { margin-top: 36px; }
}
/* 公式のリンク（色のついたアイコン。class に「sns」を使わない） */
.mg-main .mg-plinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.mg-plink { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff !important; transition: transform .15s, opacity .15s; }
.mg-plink:hover { transform: translateY(-1px); opacity: .88; }
.mg-plink svg { width: 17px; height: 17px; }
.mg-plink.is-yt { background: #ff0033; }
.mg-plink.is-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.mg-plink.is-x { background: #000; }
/* バンド（v7.4：頭文字の枠をやめ、名前と › の札に） */
.mg-main .mg-bandlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mg-bandlink { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 8px 0 13px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: var(--mg-card); font-size: 13px; font-weight: 700; color: var(--mg-ink) !important; white-space: nowrap; transition: border-color .15s; }
.mg-bandlink .mg-ico { color: var(--mg-mute); }
.mg-bandlink:hover { border-color: var(--mg-ink); }

/* バンドのページ：左に紹介・メンバー、右にメンバーの機材（v7.1：PC の幅を使う） */
.mg-band .mg-split { padding-top: 0; }
.mg-band .mg-split__main { margin-top: 8px; }
@media (min-width: 1024px) { .mg-band .mg-split__main { margin-top: 28px; } .mg-band .mg-split__main .mg-sec--first { margin-top: 0; } }

/* カテゴリーへ飛ぶ */
.mg-jump { position: sticky; top: var(--mg-hd); z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--mg-gut)); padding: 10px var(--mg-gut); background: rgba(245,245,242,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mg-line2); }
body.admin-bar .mg-jump { top: calc(var(--mg-hd) + 46px); }
.mg-jump::-webkit-scrollbar { display: none; }
.mg-jump__item { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--mg-line); border-radius: 999px; background: var(--mg-card); font-size: 13px; font-weight: 600; color: var(--mg-ink) !important; white-space: nowrap; }
.mg-jump__item b { font-size: 12px; font-weight: 500; color: var(--mg-sub); font-variant-numeric: tabular-nums; }
.mg-jump__item:hover { background: var(--mg-ink); color: #fff !important; }
.mg-jump__item:hover b { color: #b9b9b2; }
@media (min-width: 1024px) { .mg-jump { margin: 0; padding: 0 0 8px; position: static; background: none; backdrop-filter: none; flex-wrap: wrap; border-bottom: 0; } }
@media (min-width: 783px) { body.admin-bar .mg-jump { top: calc(var(--mg-hd) + 32px); } }

.mg-cat-sec { margin-top: 30px; scroll-margin-top: calc(var(--mg-hd) + 64px); }
/* 小見出し（v7.5：アーティスト・ユーザーのページで同じ形。名前 ── 線 ── 数） */
.mg-main .mg-subh { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; }
.mg-subh > span { flex: none; max-width: 70%; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--mg-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-subh > i { flex: 1; height: 1px; background: var(--mg-line-strong); }
.mg-subh > small { flex: none; font-size: 12.5px; font-weight: 600; color: var(--mg-sub); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .mg-subh > span { font-size: 17px; } }

/* 使用機材のカード（アーティストのページ。v7.2：v5.6 の形 / v7.3：小さめに）
   上：左に写真（横にスクロールすると出典の画像。操作は写真の下にまとめる）、右にショップのロゴのボタン4つ（縦・小さめ）
   下：メーカー・名前・ひとこと（全文）。スマホ1列、PC は画面の幅に合わせて（1440px で4列） */
.mg-gcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .mg-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .mg-gcards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; } }
.mg-main .mg-gcard { display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 14px; border: 1px solid var(--mg-line); border-radius: 18px; background: var(--mg-card); }
.mg-gcard__top { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 8px; align-items: start; }
.mg-gcard__a { display: flex; flex-direction: column; min-width: 0; padding: 12px 4px 0; color: var(--mg-ink) !important; }
.mg-gcard__maker { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mg-sub); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-gcard__maker i { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mg-mute); }
.mg-gcard__maker i::before { content: "·"; margin-right: 6px; }
.mg-gcard__name { margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.35; word-break: break-word; }
.mg-gcard__a:hover .mg-gcard__name { text-decoration: underline; text-underline-offset: 3px; }
.mg-main .mg-gcard__note { margin: 8px 4px 0 !important; padding-top: 9px; border-top: 1px solid var(--mg-line2); font-size: 13px; line-height: 1.75; color: var(--mg-ink2); }

/* 写真と出典の画像（横にスクロール） */
.mg-media { position: relative; min-width: 0; }
.mg-slides { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 14px; aspect-ratio: 1 / 1; background: var(--mg-tile); overscroll-behavior-x: contain; }
.mg-slides::-webkit-scrollbar { display: none; }
.mg-slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0 !important; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.mg-slide--src { background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line2); }
.mg-slide__a { position: absolute; inset: 0 0 44px; display: block; }
.mg-slide__a img { width: 100%; height: 100%; object-fit: contain; object-position: center top; color: transparent; font-size: 0; }
.mg-slide__noimg { display: grid; place-items: center; height: 100%; padding: 16px; font-size: 13px; color: var(--mg-sub); text-align: center; }
.mg-slide__cap { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #fff; border-top: 1px solid var(--mg-line2); font-size: 11px; line-height: 1.35; color: var(--mg-ink2); }
.mg-slide__cap span { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mg-slide__cap .mg-ico { flex: none; color: var(--mg-sub); }
.mg-media__year { position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 1px 3px rgba(0,0,0,.1); font-size: 11.5px; font-weight: 600; color: var(--mg-ink2); pointer-events: none; transition: opacity .2s; }
.mg-media.is-src .mg-media__year { opacity: 0; }
/* 操作（v7.3：写真の下の1か所。左に「出典 ○件」、右に ‹ ›） */
.mg-media__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.mg-media__count { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--mg-ink2); white-space: nowrap; }
.mg-media__count b { padding: 2px 7px; border-radius: 6px; background: var(--mg-tag); font-size: 11px; font-weight: 700; color: var(--mg-tag-ink); font-variant-numeric: tabular-nums; }
.mg-media__nav { flex: none; display: inline-flex; gap: 6px; }
.mg-media__btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--mg-line); border-radius: 50%; background: var(--mg-card); color: var(--mg-ink); cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
.mg-media__btn:hover:not(:disabled) { border-color: var(--mg-ink); }
.mg-media__btn.is-next { background: var(--mg-ink); border-color: var(--mg-ink); color: #fff; }
.mg-media__btn:disabled { opacity: .35; cursor: default; }

/* ショップのロゴのボタン（写真の右に縦に5つ。v7.4：写真の高さとそろえる） */
.mg-gcard { --sb: 38px; --sg: 6px; }
@media (max-width: 639px) { .mg-gcard { --sb: 44px; } }
.mg-gcard .mg-slides { aspect-ratio: auto; height: calc(var(--sb) * 5 + var(--sg) * 4); }
.mg-shopbtns.mg-shopbtns--col { display: flex; flex-direction: column; gap: var(--sg, 6px); margin: 0; }
.mg-shopbtns--col .mg-shopbtn { flex: none; height: var(--sb, 38px); min-height: 0; padding: 0 5px; border-radius: 9px; }
.mg-shopbtns--col .mg-shopbtn img { height: 20px; }
.mg-shopbtn__t { font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--mg-ink); white-space: nowrap; }
.mg-shopbtns--col .mg-shopbtn__t { font-size: 10.5px; letter-spacing: 0; }

/* 機材のページ（v7.3：写真を小さめに。数は1つの枠に並べる） */
.mg-gear > .mg-wrap { padding-top: 14px; }
@media (min-width: 900px) { .mg-gear > .mg-wrap { padding-top: 28px; } }
.mg-gtop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 4px; }
@media (min-width: 900px) { .mg-gtop { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 8px; } }
@media (min-width: 1360px) { .mg-gtop { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 60px; } }
.mg-main .mg-ghero { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 240px; margin: 0 !important; background: var(--mg-card); border: 1px solid var(--mg-line); border-radius: 18px; overflow: hidden; }
.mg-ghero img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; color: transparent; font-size: 0; }
.mg-main .mg-ghero.is-empty { display: grid; place-items: center; aspect-ratio: auto; height: 120px; color: var(--mg-mute); }
@media (min-width: 900px) { .mg-main .mg-ghero { aspect-ratio: 1 / 1; max-height: none; border-radius: 20px; } }
.mg-gtop__info { min-width: 0; max-width: 760px; }
.mg-gtop .mg-ghead { margin-top: 0; }
@media (min-width: 900px) { .mg-gtop__info { padding-top: 6px; } }
.mg-ghead { margin-top: 16px; }
.mg-ghead .mg-eyebrow { font-size: 11px; }
.mg-ghead__maker { display: inline-block; font-size: 12px; font-weight: 600; color: var(--mg-sub) !important; letter-spacing: .04em; text-transform: uppercase; }
.mg-ghead__maker:hover { color: var(--mg-ink) !important; text-decoration: underline !important; }
.mg-main .mg-ghead__name { font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; margin: 2px 0 10px !important; word-break: break-word; }
@media (min-width: 768px) { .mg-main .mg-ghead__name { font-size: 30px; } }
.mg-main .mg-gfacts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; margin-top: 12px !important; }
.mg-gfact { display: inline-flex; align-items: baseline; gap: 2px; font-size: 13px; font-weight: 600; color: var(--mg-ink2) !important; white-space: nowrap; }
.mg-gfact b { margin: 0 2px; font-family: "Inter", var(--mg-ff); font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--mg-ink); font-variant-numeric: tabular-nums; }
.mg-gfact + .mg-gfact { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--mg-line-strong); }
a.mg-gfact:hover { text-decoration: underline; text-underline-offset: 4px; }
.mg-gtop .mg-intro { margin-top: 14px !important; }
.mg-gtop .mg-shops { margin-top: 16px; }
.mg-gtop .mg-shopbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-gtop .mg-shopbtn { flex: 0 0 auto; width: 96px; height: 38px; padding: 0 8px; border-radius: 10px; }
.mg-gtop .mg-shopbtn img { height: 22px; }   /* v7.5：ボタンを小さく（大きすぎたため） */
.mg-gbody { min-width: 0; }
.mg-gbody > .mg-sec:first-child { margin-top: 40px; }
.mg-shops { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--mg-line); }
.mg-shops__h { font-size: 12px; font-weight: 600; color: var(--mg-sub); }
.mg-shopbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
@media (min-width: 520px) { .mg-shopbtns { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mg-split__side .mg-shopbtns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mg-shopbtn { display: flex; align-items: center; justify-content: center; height: 44px; padding: 4px 10px; border: 1px solid var(--mg-line); border-radius: 12px; background: var(--mg-card); font-size: 13px; font-weight: 600; color: var(--mg-ink) !important; transition: border-color .15s, box-shadow .15s; }
.mg-shopbtn img { width: auto; max-width: 100%; height: 26px; object-fit: contain; display: block; }
.mg-shopbtn:hover { border-color: var(--mg-ink); box-shadow: 0 3px 10px rgba(0,0,0,.06); }

/* 使っている人（機材のページ。v7.4：1人（1本）を1行に。出典はアーティストのページで見る）
   年式の分かるものが多いときは、年代（大きな数字）ごとに白い枠。PC は枠の中を2列に */
.mg-main .mg-whos { display: grid; grid-template-columns: minmax(0, 1fr); padding: 2px 16px; border: 1px solid var(--mg-line); border-radius: 16px; background: var(--mg-card); }
.mg-whos > li { min-width: 0; border-bottom: 1px solid var(--mg-line2); }
.mg-whos > li:last-child { border-bottom: 0; }
@media (min-width: 900px) {
	.mg-main .mg-whos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; padding: 2px 22px; }
	.mg-whos > li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.mg-who { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 0; color: var(--mg-ink) !important; }
.mg-who > .mg-av { margin-top: 1px; }
.mg-who__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mg-who__top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; line-height: 1.4; }
.mg-who__top b { font-size: 15px; font-weight: 700; }
.mg-who__top span { flex: 0 1 auto; font-size: 12px; color: var(--mg-sub); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-who__note { font-size: 13px; line-height: 1.7; color: var(--mg-ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mg-who__year { flex: none; align-self: center; margin-left: auto; padding: 2px 9px; border: 1px solid var(--mg-line-strong); border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--mg-ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-who:hover .mg-who__top b { text-decoration: underline; text-underline-offset: 3px; }

/* 動画（押すと読み込む） */
.mg-videos { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; }
.mg-videos::-webkit-scrollbar { display: none; }
.mg-videos .mg-yt { flex: none; width: 78%; max-width: 300px; scroll-snap-align: start; }
.mg-videos.is-1 .mg-yt { width: 100%; max-width: 420px; }
@media (min-width: 768px) { .mg-videos { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } .mg-videos .mg-yt { width: auto; max-width: none; } .mg-videos.is-1 { grid-template-columns: minmax(0, 420px); } }
.mg-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.mg-yt__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.mg-yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.mg-yt__btn:hover img { opacity: 1; }
.mg-yt__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 46px; margin: -23px 0 0 -32px; display: grid; place-items: center; border-radius: 14px; background: rgba(17,17,17,.85); color: #fff; }
.mg-yt__btn:hover .mg-yt__play { background: #e00; }
.mg-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 7. 出典の画面（v7.1：ひとこと全文・年式・出典をまとめて） ---------- */
@keyframes mg-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
html.mg-noscroll, html.mg-noscroll body { overflow: hidden; }

/* ---------- 8. 一覧 ---------- */
.mg-filter { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mg-filter__q { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--mg-line); border-radius: var(--mg-r); background: var(--mg-card); color: var(--mg-sub); cursor: text; flex: 1; min-width: 0; }
.mg-filter__q input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; font-size: 16px; color: var(--mg-ink); padding: 0 !important; margin: 0; height: auto; }
.mg-filter__q--sm { height: 38px; margin: 6px 0 8px; }
.mg-filter__q--sm input { font-size: 14px; }
.mg-filter .mg-seg { margin-bottom: 0; align-self: flex-start; }
@media (min-width: 768px) { .mg-filter { flex-direction: row; align-items: center; } .mg-filter__q { max-width: 420px; } }
.mg-listbox > .mg-chips--scroll { margin-top: 12px; }
.mg-count { font-size: 13px; color: var(--mg-sub); margin: 14px 0 10px !important; }
.mg-count span { font-size: 18px; font-weight: 700; color: var(--mg-ink); margin-right: 2px; }
.mg-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 10px; }
.mg-bar .mg-count { margin: 0 !important; }
.mg-bar .mg-seg { margin: 0; }
.mg-bar__link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--mg-sub) !important; }
.mg-moreways { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--mg-line); }
.mg-moreways__h { font-size: 12px; font-weight: 700; color: var(--mg-sub); margin-bottom: 10px !important; }

/* 機材のタイル */
.mg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
@media (min-width: 640px) { .mg-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 14px; } }
.mg-tiles--scroll { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin: 0 calc(-1 * var(--mg-gut)); padding: 0 var(--mg-gut) 4px; }
.mg-tiles--scroll::-webkit-scrollbar { display: none; }
.mg-tiles--scroll .mg-tile { flex: none; width: 124px; }
@media (min-width: 1024px) { .mg-tiles--scroll { margin: 0; padding: 0 0 6px; scrollbar-width: thin; } .mg-tiles--scroll .mg-tile { width: 150px; } }
.mg-tile { display: flex; flex-direction: column; min-width: 0; color: var(--mg-ink) !important; }
.mg-tile__img { border-radius: 14px; }
.mg-tile__maker { font-size: 11px; font-weight: 600; color: var(--mg-sub); margin-top: 9px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-tile__name { font-size: 13.5px; font-weight: 700; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.mg-tile__use { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11px; color: var(--mg-sub); white-space: nowrap; }
.mg-tile__use .mg-faces .mg-av { width: 18px; height: 18px; }
@media (max-width: 639px) { .mg-tiles:not(.mg-tiles--scroll) .mg-tile__use .mg-faces { display: none; } }
.mg-tile:hover .mg-tile__name { text-decoration: underline; }

/* 人のカード */
.mg-pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 768px) { .mg-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1100px) { .mg-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mg-pcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av id n" "av gears gears"; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mg-line2); color: var(--mg-ink) !important; }
.mg-pcard > .mg-av { grid-area: av; align-self: start; }
.mg-pcard__id { grid-area: id; display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.mg-pcard__name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pcard__sub { font-size: 12px; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pcard__gears { grid-area: gears; display: flex; gap: 6px; }
.mg-pcard__gears .mg-thumb { width: 48px; background: var(--mg-card); }
.mg-pcard__n { grid-area: n; font-size: 12px; color: var(--mg-sub); white-space: nowrap; }
.mg-pcard__n b { font-size: 17px; color: var(--mg-ink); margin-right: 1px; }
.mg-pcard:hover .mg-pcard__name { text-decoration: underline; }
@media (min-width: 768px) { .mg-pcard { padding: 14px; border: 1px solid var(--mg-line); border-radius: 14px; } .mg-pcard:hover { border-color: var(--mg-ink); } }
.mg-pcard[hidden] { display: none !important; }

/* バンド */
.mg-bandgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .mg-bandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mg-bandgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mg-bandcard { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--mg-line); border-radius: 14px; background: #fff; color: var(--mg-ink) !important; min-width: 0; }
.mg-bandcard:hover { border-color: var(--mg-ink); }
.mg-bandcard__name { font-size: 15px; font-weight: 700; line-height: 1.35; word-break: break-word; }
.mg-bandcard__n { font-size: 12px; color: var(--mg-sub); margin-top: -6px; }
.mg-bandcard[hidden] { display: none !important; }

/* メーカー一覧 */
.mg-abc { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 8px; }
.mg-abc a { min-width: 34px; height: 34px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--mg-tile); font-size: 14px; font-weight: 600; color: var(--mg-ink) !important; }
.mg-abc a:hover { background: var(--mg-ink); color: #fff !important; }
.mg-group { margin-top: 22px; scroll-margin-top: calc(var(--mg-hd) + 16px); }
.mg-group__h { display: flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 700; padding-bottom: 6px !important; margin-bottom: 10px !important; border-bottom: 2px solid var(--mg-ink) !important; }
.mg-group__h span { font-family: var(--mg-ff); font-size: 12px; font-weight: 700; color: var(--mg-sub); }
.mg-chip[hidden] { display: none !important; }

/* 機材一覧の絞り込み */
.mg-browse { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (min-width: 1024px) { .mg-browse { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; } .mg-rail { position: sticky; top: calc(var(--mg-hd) + 16px); } }
.mg-rail__box { border: 1px solid var(--mg-line); border-radius: 14px; background: #fff; }
.mg-rail__toggle { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.mg-rail__toggle::-webkit-details-marker { display: none; }
.mg-rail__box[open] .mg-rail__toggle .mg-ico { transform: rotate(180deg); }
.mg-rail__group { padding: 4px 8px 12px; border-top: 1px solid var(--mg-line2); }
.mg-rail__label { display: flex; justify-content: space-between; margin: 10px 6px 4px !important; font-size: 11.5px; font-weight: 700; color: var(--mg-sub); }
.mg-rail__label span { font-weight: 600; color: var(--mg-mute); }
.mg-rail__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--mg-ink) !important; }
.mg-rail__item b { font-size: 12px; font-weight: 600; color: var(--mg-mute); }
.mg-rail__item:hover { background: var(--mg-tile); }
.mg-rail__item.is-on { background: var(--mg-ink); color: #fff !important; }
.mg-rail__item.is-on b { color: #b9b9b2; }
.mg-rail__nest { margin: 2px 0 4px 10px; padding-left: 8px; border-left: 2px solid var(--mg-line); }
.mg-rail__nest .mg-rail__item { font-size: 12.5px; padding: 5px 8px; }
.mg-rail__scroll { max-height: 320px; overflow-y: auto; scrollbar-width: thin; }
.mg-active { margin-bottom: 4px; align-items: center; }
.mg-active .mg-chip { gap: 4px; }
.mg-active__clear { font-size: 13px; font-weight: 700; color: var(--mg-sub) !important; text-decoration: underline !important; margin-left: 4px; }
#mygear-gear-app.is-swapping .mg-results { opacity: .45; transition: opacity .15s; }

/* ページ送り（部品は v5 と同じ mygear_render_pager） */
.mg-main .rl-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 32px 0 0; }
.mg-main .rl-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--mg-line); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; color: var(--mg-ink); text-decoration: none; }
.mg-main .rl-pager a.page-numbers:hover { border-color: var(--mg-ink); }
.mg-main .rl-pager .current { background: var(--mg-ink); border-color: var(--mg-ink); color: #fff; }
.mg-main .rl-pager .dots { border: 0; min-width: 20px; padding: 0; }
.mg-main .rl-pager .is-off { opacity: .35; }
.mg-main .rl-pager .rl-pager__txt { font-family: var(--mg-ff); font-size: 13px; font-weight: 700; }
.mg-main .rl-pager__info { text-align: center; font-size: 12px; color: var(--mg-mute); margin-top: 10px; }
@media (max-width: 420px) { .mg-main .rl-pager .rl-pager__txt { display: none; } }

/* ---------- 9. ランキング・さがす ---------- */
.mg-ranking .mg-tabs { margin-top: 18px; }
.mg-rk { padding-top: 6px; }
.mg-rk__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) { .mg-rk__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; } .mg-rk__side { position: sticky; top: calc(var(--mg-hd) + 24px); } }
.mg-rk__side { padding: 18px; border: 1px solid var(--mg-line); border-radius: var(--mg-r-lg); }
.mg-rk__side .mg-fine { margin-top: 4px !important; }
.mg-rk__foot { margin-top: 28px !important; }

.mg-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.mg-door { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--mg-line); border-radius: var(--mg-r-lg); background: #fff; color: var(--mg-ink) !important; }
.mg-door:hover { border-color: var(--mg-ink); }
.mg-door__n { font-size: 26px; font-weight: 700; line-height: 1.15; }
.mg-door__n small { font-family: var(--mg-ff); font-size: 12px; font-weight: 700; color: var(--mg-sub); margin-left: 2px; }
.mg-door__name { font-size: 14px; font-weight: 700; }
.mg-door .mg-ico { position: absolute; right: 12px; bottom: 16px; color: var(--mg-mute); }
@media (min-width: 768px) { .mg-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 10. コメント ---------- */
.mg-comments__box { border: 1px solid var(--mg-line); border-radius: var(--mg-r-lg); background: var(--mg-card); }
.mg-comments__box > *:not(summary) { margin-left: 16px; margin-right: 16px; }
.mg-comments__box > *:last-child { margin-bottom: 16px; }
.mg-comments__note { font-size: 12.5px; color: var(--mg-sub); margin-bottom: 12px !important; }
.mg-comments .yt-posted { padding: 10px 12px; border-radius: 10px; background: var(--mg-tile); font-size: 13px; margin-bottom: 12px; }
.mg-comments .yt-add { display: flex; gap: 10px; align-items: flex-start; }
.mg-comments .yt-add__avatar, .mg-comments .yt-add .avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--mg-tile); }
.mg-comments .yt-add__box { flex: 1; min-width: 0; }
.mg-comments .yt-add__input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--mg-line) !important; border-radius: 10px !important; background: #fff !important; font-size: 15px; resize: vertical; box-shadow: none !important; }
.mg-comments .yt-add__actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.mg-comments .yt-add__submit { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--mg-ink); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.mg-comments .yt-add__replycancel { font-size: 12px; color: var(--mg-sub); }
.mg-comments .yt-add--guest { align-items: center; padding: 10px 12px; border: 1px solid var(--mg-line); border-radius: 10px; color: var(--mg-sub) !important; font-size: 14px; }
.mg-comments .yt-add--guest .yt-add__avatar--ph { width: 28px; height: 28px; }
.mg-comments .yt-list { margin-top: 16px !important; }
.mg-comments .yt-list .children { list-style: none; margin: 8px 0 0 40px; padding: 0; }
.mg-comments .yt-list .children.is-collapsed { display: none; }
.mg-comments .yt-c { padding: 10px 0; }
.mg-comments .yt-c__row { display: flex; gap: 10px; }
.mg-comments .yt-c__avatar img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.mg-comments .yt-c__body { flex: 1; min-width: 0; }
.mg-comments .yt-c__head { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mg-sub); }
.mg-comments .yt-c__name { font-weight: 700; color: var(--mg-ink); font-size: 13px; }
.mg-comments .yt-c__badge { padding: 1px 6px; border-radius: 4px; background: var(--mg-ink); color: #fff; font-size: 10px; font-weight: 700; }
.mg-comments .yt-c__text { font-size: 14px; line-height: 1.75; margin-top: 2px; word-break: break-word; }
.mg-comments .yt-c__text p { margin: 0 0 .4em; }
.mg-comments .yt-c__actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12px; }
.mg-comments .yt-c__actions a, .mg-comments .yt-c__actions button { font-size: 12px; font-weight: 700; color: var(--mg-sub); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.mg-comments .yt-c__actions svg, .mg-comments .yt-c__hearted svg { width: 16px; height: 16px; display: block; }
.mg-comments .yt-c__heart .yt-c__heart-on { display: none; }
.mg-comments .yt-c__heart.is-on .yt-c__heart-on { display: inline; color: #e0245e; }
.mg-comments .yt-c__heart.is-on .yt-c__heart-empty { display: none; }
.mg-comments .yt-c__hearted { color: #e0245e; }
.mg-comments .yt-c__del svg { width: 15px; height: 15px; }
.mg-comments .yt-c__replies-toggle { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 0 44px; border: 0; background: none; font-size: 12.5px; font-weight: 700; color: var(--mg-ink); cursor: pointer; }
.mg-comments .yt-c__replies-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.mg-comments .yt-c__replies-toggle.is-open svg { transform: rotate(180deg); }

/* 固定ページの本文（運営者情報・利用規約など） */
.mg-doc { margin-top: 20px; font-size: 15px; line-height: 1.9; color: var(--mg-ink2); }
.mg-doc h2 { font-size: 20px; line-height: 1.4; font-weight: 700; margin: 36px 0 12px !important; padding-bottom: 8px !important; border-bottom: 2px solid var(--mg-ink) !important; color: var(--mg-ink); }
.mg-doc h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px !important; color: var(--mg-ink); }
.mg-doc p { margin: 0 0 1em !important; }
.mg-doc ul, .mg-doc ol { margin: 0 0 1em !important; padding-left: 1.5em !important; }
.mg-doc ul { list-style: disc; }
.mg-doc ol { list-style: decimal; }
.mg-doc li { margin: 0 0 .4em; }
.mg-doc a { text-decoration: underline; text-underline-offset: 3px; }
.mg-doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14px; }
.mg-doc th, .mg-doc td { border-bottom: 1px solid var(--mg-line); padding: 10px 8px; text-align: left; vertical-align: top; }
.mg-doc th { width: 30%; font-weight: 700; color: var(--mg-ink); background: var(--mg-tile); }
.mg-doc .toc { border: 1px solid var(--mg-line); border-radius: var(--mg-r); padding: 14px 16px; margin: 0 0 24px; background: #fff; }
.mg-doc .toc-title { font-weight: 700; font-size: 14px; }
.mg-doc .toc-checkbox { display: none; }
.mg-doc .toc-list { margin: 8px 0 0 !important; font-size: 14px; }

/* お問い合わせ */
.mg-doc .mygear-mform { display: grid; gap: 16px; margin-top: 12px; }
.mg-doc .mygear-mform__row { display: grid; gap: 6px; }
.mg-doc .mygear-mform__label { font-size: 13px; font-weight: 700; color: var(--mg-ink); }
.mg-doc .mygear-mform input[type="text"], .mg-doc .mygear-mform input[type="email"], .mg-doc .mygear-mform input[type="url"], .mg-doc .mygear-mform select, .mg-doc .mygear-mform textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--mg-line); border-radius: 10px; background: #fff; font-size: 16px; color: var(--mg-ink); box-shadow: none; }
.mg-doc .mygear-mform textarea { min-height: 160px; }
.mg-doc .mygear-mform__msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.mg-doc .mygear-mform__msg--ok { background: #eef7ee; }
.mg-doc .mygear-mform__msg--error { background: #fdeeee; }
.mg-doc .mygear-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--mg-r); background: var(--mg-ink); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.mg-doc .mygear-cform__hp { position: absolute; left: -9999px; }

/* 404 */
.mg-404__links { margin-top: 20px; }

/* 印刷 */
@media print { .mg-hd, .mg-tab, .mg-ft, .mg-sheet, .mg-comments, .mg-mpost { display: none !important; } body.mygear-v6 { padding: 0; } }

.mg-main img, .mg-sheet img { color: transparent; }
html { scroll-padding-top: calc(var(--mg-hd) + 12px); scroll-padding-bottom: calc(var(--mg-tab) + 12px); }
@media (min-width: 1024px) { html { scroll-padding-bottom: 12px; } }
.mygear-login__logo--svg { display: flex; justify-content: center; color: #111; } .mygear-login__logo--svg .mg-logo { height: 34px; width: auto; }
.mg-search__box input:focus-visible, .mg-filter__q input:focus-visible, .mg-hd__searchbox input:focus-visible { outline: none; }
.mg-filter__q:focus-within { border-color: var(--mg-ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }

/* AVIF を表示できない古い端末（iOS 15 まで など）：写真の代わりに灰色の枠だけを出す */
.no-avif .mg-thumb img, .no-avif .mg-ghero img, .no-avif .mg-rcard__img img, .no-avif .mg-slide img, .no-avif .mg-srcs__img img, .no-avif .mg-tile__img img, .no-avif .mg-pick__img img, .no-avif .mg-acard__g img { visibility: hidden; }

/* ---------- ユーザーのページ（v7.5：アーティストのページと同じ部品） ---------- */
.mg-bandlink.is-text { padding: 0 12px; border-color: transparent; background: var(--mg-tile); font-weight: 600; }   /* リンクではないバンド名 */
.mg-plink.is-web { background: var(--mg-ink); }
.mg-main .mg-slide--photo { display: block; width: 100%; padding: 0; border: 0; background: var(--mg-tile); cursor: zoom-in; }
.mg-slide--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; }
.mg-slide__noimg .mg-ico { color: var(--mg-mute); }


/* ---------- 機材のページの年表（v7.5：1本の線。点ごとに年の札、横に人） ----------
   スマホ：線は左。PC：線を真ん中にして、人を左右に振り分ける（少し重ねて詰める） */
.mg-main .mg-years { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.mg-years::before { content: ""; position: absolute; left: 31px; top: 14px; bottom: 14px; width: 2px; border-radius: 1px; background: var(--mg-line-strong); }
.mg-years__item, .mg-years__dec { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.mg-years__y { position: relative; z-index: 1; grid-column: 1; grid-row: 1; justify-self: center; min-width: 54px; padding: 4px 9px; border-radius: 999px; background: var(--mg-ink); color: #fff; font-family: "Inter", var(--mg-ff); font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 4px var(--mg-bg); }
.mg-years__item.is-noyear .mg-years__y { min-width: 0; width: 12px; height: 12px; padding: 0; border: 2px solid #b4b4ad; background: var(--mg-bg); box-shadow: 0 0 0 3px var(--mg-bg); }
.mg-years__card { position: relative; grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--mg-line); border-radius: 14px; background: var(--mg-card); color: var(--mg-ink) !important; transition: border-color .15s, box-shadow .15s; }
.mg-years__card:hover { border-color: #c4c4bd; box-shadow: 0 6px 18px rgba(0, 0, 0, .05); }
.mg-years__card:hover .mg-who__top b { text-decoration: underline; text-underline-offset: 3px; }
.mg-years__dec { margin: 14px 0 2px; }
.mg-years__dec:first-child { margin-top: 0; }
.mg-years__dec::before { content: ""; position: relative; z-index: 1; grid-column: 1; grid-row: 1; justify-self: center; width: 16px; height: 16px; border-radius: 50%; background: var(--mg-ink); box-shadow: 0 0 0 5px var(--mg-bg); }
.mg-years__dec span { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: 1px; font-family: "Inter", var(--mg-ff); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #cfcfc8; font-variant-numeric: tabular-nums; }
.mg-years__dec span small { font-size: .5em; font-weight: 700; letter-spacing: 0; color: #c0c0b9; }
.mg-years__dec.is-none::before { width: 12px; height: 12px; border: 2px solid #b4b4ad; background: var(--mg-bg); }
.mg-years__dec.is-none span { font-family: var(--mg-ff); font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--mg-sub); }
@media (min-width: 900px) {
	.mg-main .mg-years { gap: 12px; }
	.mg-years::before { left: 50%; margin-left: -1px; }
	.mg-years__item, .mg-years__dec { grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); column-gap: 0; }
	.mg-years__y, .mg-years__dec::before { grid-column: 2; }
	.mg-years__item.is-r .mg-years__card { grid-column: 3; }
	.mg-years__item.is-l .mg-years__card { grid-column: 1; grid-template-columns: minmax(0, 1fr) 44px; text-align: right; }
	.mg-years__item.is-l .mg-years__card > .mg-av { order: 2; }
	.mg-years__item.is-l .mg-who__top { justify-content: flex-end; }
	/* 札とカードをつなぐ短い線 */
	.mg-years__card::before { content: ""; position: absolute; top: 50%; width: 24px; height: 1px; background: var(--mg-line-strong); }
	.mg-years__item.is-r .mg-years__card::before { right: 100%; }
	.mg-years__item.is-l .mg-years__card::before { left: 100%; }
	/* 左右で少し重ねて、縦を詰める */
	.mg-years__item + .mg-years__item { margin-top: -34px; }
	.mg-years__dec span { grid-column: 3; padding-left: 4px; font-size: 40px; }
	.mg-years__dec.is-none span { font-size: 15px; }
}

/* ============================================================
 * コラム（/column/。v8.10.0）
 * ============================================================ */
.mg-collist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.mg-collist__link { display: grid; gap: 6px; padding: 16px 18px; background: var(--mg-card); border: 1px solid var(--mg-line); border-radius: var(--mg-r); color: var(--mg-ink); text-decoration: none; }
.mg-collist__link:hover { border-color: var(--mg-line-strong); }
.mg-collist__title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.mg-collist__desc { font-size: 13px; line-height: 1.7; color: var(--mg-sub); }
.mg-col__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 13px; color: var(--mg-mute); }
.mg-col__more { margin-top: 48px; }
.mg-col .mg-col-lead { font-size: 16px; color: var(--mg-ink); }
.mg-col .mg-col-note { margin: 0 0 1.4em; padding: 12px 14px; border-radius: 10px; background: var(--mg-tile); font-size: 13px; line-height: 1.8; color: var(--mg-sub); }
.mg-col .mg-dt { font-size: 14px; }
.mg-col .mg-dt th { width: auto; white-space: nowrap; }
.mg-col .mg-dt td.n, .mg-col .mg-dt th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-col .mg-dt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; }
.mg-col .mg-dt-wrap table { margin: 0; }
.mg-col .mg-dt-wrap table.wide { min-width: 520px; }
.mg-col .mg-bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--mg-teal); vertical-align: middle; margin-right: 6px; }
.mg-col figure { margin: 0 0 1.4em; }
.mg-col figcaption { font-size: 12px; color: var(--mg-mute); margin-top: 6px; }

/* ============================================================
 * コラムの見た目（v8.11.0）：結論を先に・数字を大きく・表は横棒つき
 * ============================================================ */
.mg-chead { padding-top: 4px; }
.mg-chead .mg-chead__kicker { display: inline-block !important; margin-bottom: 0 !important; line-height: 1.6; margin: 14px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--mg-teal) !important; color: #fff !important; font-size: 12px !important; font-weight: 700; letter-spacing: .04em; }
.mg-chead__title { margin: 10px 0 0; font-size: 26px; line-height: 1.45; font-weight: 800; letter-spacing: .01em; text-wrap: balance; color: var(--mg-ink); }
@media (min-width: 768px) { .mg-chead__title { font-size: 32px; } }
.mg-col { font-size: 16px; line-height: 1.95; max-width: 760px; }
.mg-col p { margin: 0 0 1.1em !important; }
.mg-col h2 { font-size: 21px; margin: 48px 0 16px !important; padding: 0 0 10px !important; border-bottom: 0 !important; position: relative; }
.mg-col h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--mg-teal); }
.mg-col h3 { font-size: 17px; margin: 28px 0 8px; }
.mg-col a { color: var(--mg-teal); text-decoration: underline; text-decoration-color: rgba(31, 79, 89, .3); text-underline-offset: 3px; }
.mg-col a:hover { text-decoration-color: currentColor; }
.mg-col .mg-col-lead { font-size: 17px; line-height: 1.9; color: var(--mg-ink); margin: 18px 0 20px !important; }

/* この記事のポイント */
.mg-col-points { margin: 0 0 24px; padding: 18px 20px 14px; border-radius: 14px; background: #eef4f4; border: 1px solid #d6e4e5; }
.mg-col-points__h { margin: 0 0 8px !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--mg-teal); }
.mg-col-points ul { margin: 0; padding: 0; list-style: none; }
.mg-col-points li { position: relative; padding-left: 26px; margin: 0 0 8px; font-weight: 600; line-height: 1.75; }
.mg-col-points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--mg-teal); border-bottom: 3px solid var(--mg-teal); transform: rotate(-45deg); }

/* 数字のカード */
.mg-col .mg-cstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 24px; }
.mg-col .mg-cstat { padding: 14px 16px; border-radius: 12px; background: var(--mg-card); border: 1px solid var(--mg-line); min-width: 0; }
.mg-cstat b { display: block; font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--mg-ink); font-variant-numeric: tabular-nums; }
.mg-cstat b small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.mg-cstat span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--mg-sub); }
.mg-cstat a { color: inherit; }

/* ランキングの表 */
.mg-col .mg-dt { font-size: 14px; border-collapse: separate; border-spacing: 0; width: 100%; }
.mg-col .mg-dt th { background: transparent; color: var(--mg-mute); font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--mg-line); padding: 8px 10px; }
.mg-col .mg-dt td { padding: 10px; border-bottom: 1px solid var(--mg-line); vertical-align: middle; background: var(--mg-card); }
.mg-col .mg-dt-wrap { border: 1px solid var(--mg-line); border-radius: 12px; background: var(--mg-card); margin: 0 0 1.6em; }
.mg-col .mg-dt tr:last-child td { border-bottom: 0; }
.mg-col .mg-rk { min-width: 560px; }
.mg-rk td.n b { font-size: 16px; }

/* 使い方の例 */
.mg-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 0 0 1.6em; }
.mg-case { padding: 14px 16px; border-radius: 12px; background: var(--mg-tile); min-width: 0; }
.mg-case__who { margin: 0 0 4px !important; font-size: 14px; font-weight: 800; }
.mg-case p:last-child { margin: 0 !important; font-size: 14px; line-height: 1.8; }

/* まとめ */
.mg-col-sum { margin: 40px 0 0; padding: 20px 22px; border-radius: 14px; background: var(--mg-ink); color: #fff; }
.mg-col-sum__h { margin: 0 0 8px !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #bfe0e4; }
.mg-col-sum ul { margin: 0; padding-left: 1.2em; }
.mg-col-sum li { margin: 0 0 6px; line-height: 1.8; }
.mg-col-sum a { color: #fff; }
.mg-col .mg-col-note { margin: 28px 0 0 !important; font-size: 12px; }
.mg-col-next { margin: 20px 0 0 !important; font-size: 14px; }

/* 一覧 */
.mg-collist { grid-template-columns: 1fr; }
@media (min-width: 768px) { .mg-collist--grid { grid-template-columns: 1fr 1fr; } }
.mg-collist__kicker { justify-self: start; padding: 2px 8px; border-radius: 999px; background: #eef4f4; color: var(--mg-teal); font-size: 11px; font-weight: 800; }
.mg-collist__link { padding: 18px 20px; transition: border-color .15s, transform .15s; }
.mg-collist__link:hover { transform: translateY(-1px); }
.mg-collist__title { font-size: 17px; }

.mg-col .mg-cstat { display: flex; flex-direction: column; }
.mg-col .mg-cstat b { order: 1; }
.mg-col .mg-cstat span { order: 2; }
.mg-col .mg-dt th, .mg-col .mg-dt td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; width: auto; }
.mg-col .mg-col-points ul, .mg-col .mg-col-points li { padding-left: 0; margin-left: 0; }
.mg-col .mg-col-points li { padding-left: 26px; }
.mg-col .mg-cases .mg-case p { margin: 0 !important; }
.mg-col .mg-cases .mg-case p.mg-case__who { margin-bottom: 4px !important; }
.mg-col .mg-col-points ul { padding-left: 0 !important; margin-left: 0 !important; }
@media (max-width: 767px) { .mg-chead__title { font-size: 23px; } .mg-col h2 { font-size: 19px; } }
.mg-col p.mg-col-next { margin-top: 20px !important; }
@media (max-width: 600px) {
	.mg-col .mg-rk { min-width: 0; }
	.mg-col .mg-dt td, .mg-col .mg-dt th { padding: 9px 8px; }
}

/* ============================================================
 * コラム：note のような読みやすい形（v8.12.0）
 *   白い紙に1段組み・大きめの文字と広い行間・箱は少なく、うすく。表はリストにして6位以下はたたむ
 * ============================================================ */
.mg-paper { margin: 12px 0 0; background: var(--mg-card); border-radius: 16px; padding: 0 0 40px; overflow: hidden; }
@media (max-width: 767px) { .mg-paper { margin: 8px -16px 0; border-radius: 0; } }
.mg-paper > .mg-chead, .mg-paper > .mg-col { max-width: 680px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
@media (max-width: 767px) { .mg-paper > .mg-chead, .mg-paper > .mg-col { padding-left: 18px; padding-right: 18px; } }
.mg-chead { padding-top: 0; }
.mg-chead__eye { margin: 0 -24px 24px; aspect-ratio: 1200 / 630; background: var(--mg-tile); }
@media (max-width: 767px) { .mg-chead__eye { margin: 0 -18px 20px; } }
@media (min-width: 768px) { .mg-chead__eye { margin: 28px 0 28px; border-radius: 12px; overflow: hidden; } }
.mg-chead__eye img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mg-paper .mg-chead .mg-chead__kicker { display: inline-block !important; margin: 0 !important; padding: 0 !important; background: none !important; color: var(--mg-teal) !important; font-size: 13px !important; font-weight: 700; letter-spacing: .06em; }
.mg-paper .mg-chead__title { margin: 6px 0 0; font-size: 28px; line-height: 1.5; font-weight: 800; letter-spacing: .02em; }
@media (max-width: 767px) { .mg-paper .mg-chead__title { font-size: 23px; } }
.mg-paper .mg-col__meta { margin: 14px 0 0; padding: 0 0 22px; border-bottom: 1px solid var(--mg-line); gap: 4px 12px; font-size: 13px; }
.mg-col__by { font-weight: 700; color: var(--mg-sub); }

.mg-paper .mg-col { font-size: 17px; line-height: 2; letter-spacing: .02em; max-width: 680px; padding-top: 8px; color: var(--mg-ink); }
@media (max-width: 767px) { .mg-paper .mg-col { font-size: 16px; line-height: 1.95; } }
.mg-paper .mg-col p { margin: 0 0 1.6em !important; }
.mg-paper .mg-col .mg-col-lead { font-size: inherit; line-height: inherit; margin: 24px 0 1.6em !important; }
.mg-paper .mg-col h2 { font-size: 22px; line-height: 1.55; margin: 3em 0 1em !important; padding: 0 !important; font-weight: 800; }
.mg-paper .mg-col h2::after { display: none; }
@media (max-width: 767px) { .mg-paper .mg-col h2 { font-size: 20px; } }
.mg-paper .mg-col h3 { font-size: 18px; line-height: 1.6; margin: 2.2em 0 .7em; font-weight: 800; }
.mg-paper .mg-col ul, .mg-paper .mg-col ol { margin: 0 0 1.6em; }

/* 目次 */
.mg-paper .mg-col .toc { margin: 8px 0 2em; padding: 18px 20px; border: 0 !important; border-radius: 12px; background: var(--mg-tile); font-size: 15px; line-height: 1.8; }
.mg-paper .mg-col .toc-title { font-size: 14px; font-weight: 800; }
.mg-paper .mg-col .toc-list { margin: 6px 0 0; }
.mg-paper .mg-col .toc-list a { color: var(--mg-ink); text-decoration: none; }

/* この記事でわかること */
.mg-paper .mg-col-points { margin: 0 0 2em; padding: 0 0 0 18px; border: 0; border-left: 3px solid var(--mg-teal); border-radius: 0; background: none; }
.mg-paper .mg-col-points__h { font-size: 14px; letter-spacing: .04em; margin: 0 0 6px !important; }
.mg-paper .mg-col .mg-col-points li { padding-left: 1.1em !important; font-weight: 400; line-height: 1.9; margin: 0 0 6px; }
.mg-paper .mg-col-points li::before { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--mg-teal); transform: none; left: 0; top: .8em; }

/* 数字：カードをやめて、1行の大きな数字に */
.mg-paper .mg-col .mg-cstats { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 2em; border-top: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); }
.mg-paper .mg-col .mg-cstat { flex: 1 1 140px; padding: 16px 12px; border: 0; border-radius: 0; background: none; text-align: center; }
.mg-paper .mg-col .mg-cstat + .mg-cstat { border-left: 1px solid var(--mg-line); }
.mg-paper .mg-cstat b { font-size: 30px; }
.mg-paper .mg-cstat span { font-size: 12px; }
@media (max-width: 480px) { .mg-paper .mg-cstat b { font-size: 24px; } .mg-paper .mg-col .mg-cstat { padding: 14px 6px; } }

/* ランキング：リスト */
.mg-rlw, .mg-blw { margin: 0 0 2em; }
.mg-paper .mg-col ol.mg-rl, .mg-paper .mg-col ol.mg-bl { list-style: none; margin: 0 !important; padding: 0 !important; }
.mg-rl__i { display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--mg-line); line-height: 1.5; margin: 0 !important; }
.mg-rl__no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mg-tile); font-size: 13px; font-weight: 800; color: var(--mg-sub); }
.mg-rl--1 .mg-rl__no { background: var(--mg-gold); color: var(--mg-ink); }
.mg-rl--2 .mg-rl__no { background: var(--mg-silver); color: var(--mg-ink); }
.mg-rl--3 .mg-rl__no { background: var(--mg-bronze); color: var(--mg-ink); }
.mg-rl__img img, .mg-rl__noimg { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--mg-tile); }
.mg-rl__body { display: grid; gap: 2px; min-width: 0; }
.mg-paper .mg-col .mg-rl__name a { font-size: 15px; font-weight: 700; color: var(--mg-ink); text-decoration: none; }
.mg-rl__who { font-size: 12px; color: var(--mg-mute); line-height: 1.6; }
.mg-paper .mg-col .mg-rl__who a { color: var(--mg-mute); text-decoration: none; }
.mg-rl__bar, .mg-bl__bar { display: block; height: 4px; border-radius: 2px; background: var(--mg-tile); overflow: hidden; margin-top: 4px; }
.mg-rl__bar i, .mg-bl__bar i { display: block; height: 100%; background: var(--mg-teal); border-radius: 2px; }
.mg-rl__n { font-size: 13px; color: var(--mg-sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-rl__n b { font-size: 18px; color: var(--mg-ink); margin-right: 1px; }
.mg-bl__h { margin: 0 0 4px !important; font-size: 13px; font-weight: 800; color: var(--mg-mute); letter-spacing: .04em; }
.mg-bl__i { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--mg-line); font-size: 15px; line-height: 1.5; margin: 0 !important; }
.mg-bl__i .mg-bl__bar { grid-column: 1 / -1; }
.mg-paper .mg-col .mg-bl__name a { color: var(--mg-ink); text-decoration: none; font-weight: 700; }
.mg-bl__n { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--mg-sub); font-size: 13px; }
.mg-bl__n b { font-size: 16px; color: var(--mg-ink); }
.mg-bl__n small { margin-left: 2px; font-size: 12px; }
.mg-fold summary { cursor: pointer; list-style: none; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--mg-teal); }
.mg-fold summary::-webkit-details-marker { display: none; }
.mg-fold summary::before { content: "＋"; margin-right: 6px; }
.mg-fold[open] summary::before { content: "－"; }
.mg-fold[open] summary { border-bottom: 1px solid var(--mg-line); }

/* アーティストの例：引用のような形 */
.mg-paper .mg-cases { display: block; margin: 0 0 2em; }
.mg-paper .mg-case { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 3px solid var(--mg-line-strong); border-radius: 0; background: none; }
.mg-paper .mg-col .mg-case__who { font-size: 14px; margin: 0 0 2px !important; }
.mg-paper .mg-col .mg-case p:last-child { font-size: 15px; line-height: 1.85; color: var(--mg-sub); }

/* まとめ：うすい箱 */
.mg-paper .mg-col-sum { margin: 3em 0 0; padding: 20px 22px; border-radius: 12px; background: var(--mg-tile); color: var(--mg-ink); }
.mg-paper .mg-col-sum__h { color: var(--mg-teal); font-size: 14px; }
.mg-paper .mg-col-sum li { font-size: 16px; line-height: 1.85; }
.mg-paper .mg-col-sum a { color: var(--mg-teal); }
.mg-paper .mg-col p.mg-col-next { margin: 1.6em 0 0 !important; font-size: 15px; }
.mg-paper .mg-col .mg-col-note { margin: 1.6em 0 0 !important; padding: 0; background: none; font-size: 12px; line-height: 1.8; color: var(--mg-mute); }

/* 機材の写真カード [[cards]] */
.mg-cgears { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 2em; }
@media (max-width: 520px) { .mg-cgears { gap: 8px; } .mg-cgear__name { font-size: 12px; } }
.mg-paper .mg-col a.mg-cgear { display: grid; align-content: start; gap: 4px; color: var(--mg-ink); text-decoration: none; min-width: 0; }
.mg-cgear__img { display: block; position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--mg-tile); overflow: hidden; }
.mg-paper .mg-col .mg-cgear__img img { position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; max-width: none; object-fit: contain; margin: 0; }
.mg-cgear__name { overflow-wrap: anywhere; }
.mg-cgear__name { font-size: 13px; font-weight: 700; line-height: 1.5; }
.mg-cgear__cap { font-size: 12px; line-height: 1.5; color: var(--mg-mute); }

/* 一覧のカード（見出しの画像つき） */
.mg-collist__link { padding: 0; overflow: hidden; gap: 0; }
.mg-collist__eye { display: block; aspect-ratio: 1200 / 630; background: var(--mg-tile); }
.mg-collist__eye img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mg-collist__text { display: grid; gap: 6px; padding: 14px 18px 18px; }
.mg-collist__kicker { padding: 0; background: none; font-size: 12px; letter-spacing: .04em; }
.mg-collist__title { font-size: 16px; line-height: 1.55; }
.mg-collist__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-paper .mg-col .mg-cstats { flex-wrap: nowrap; }
.mg-paper .mg-col .mg-cstat { flex: 1 1 0; min-width: 0; }
.mg-bl__i { padding: 10px 0 12px; }
.mg-paper .mg-chead__eye { margin-bottom: 24px !important; }
@media (min-width: 768px) { .mg-paper .mg-chead__eye { margin-top: 28px !important; margin-bottom: 28px !important; } }
