/* ============================================================
 * MY GEAR v8.1 の見た目（mygear-v6.css の上に重ねる）
 *   v8.1：MY GEAR の形（黒い帯の見出し・大きな数字のランキング・暗いフッター・丸み）に戻し、
 *         WEAR のよいところ（ヘッダーの下のタブ・細い線・行の一覧・3列の写真・端末の書体）を残した
 *
 *   ・白い地に、細い線と灰色の面。文字は #333、補足は #888
 *   ・見出しは日本語の太字（英字は上に小さく）。「すべて見る」は色の文字
 *   ・書体は Helvetica / Arial ＋ 端末の日本語（ヒラギノ・BIZ UDPゴシック・メイリオ）
 *   ・PC は左に「さがす」の列、右に白い面。スマホはヘッダーの下にタブ、左上のメニューに同じ「さがす」
 * ============================================================ */

/* ---------- 0. 色・書体 ---------- */
:root {
	/* v8.1：MY GEAR の暖かい灰色とインクの黒に戻した（書体は v8 のまま端末のもの） */
	--mg-ink: #141414;
	--mg-ink2: #2e2e2b;
	--mg-sub: #66665f;   /* 白地で読める濃さ（コントラスト 4.5:1 以上） */
	--mg-mute: #8b8b84;
	--mg-line: #e6e6e1;
	--mg-line2: #efefeb;
	--mg-line-strong: #d9d9d3;
	--mg-tile: #f3f3ef;
	--mg-bg: #ffffff;
	--mg-card: #ffffff;
	--mg-gray: #f5f5f2;
	--mg-accent: #1f5f6b;   /* MY GEAR の青緑（v7 の --mg-teal と同じ系統） */
	--mg-accent-ink: #164852;
	--mg-tag: #ecece7;
	--mg-tag-ink: #4a4a45;
	--mg-ff: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
	--mg-num: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mg-r: 12px;
	--mg-r-lg: 16px;
	--mg-hd: 56px;
	--mg-gnav: 42px;
	--mg-gut: 16px;
}
html, body { background: var(--mg-gray) !important; }   /* v8.2：地は暖かい灰色、項目は白いカード（v7 の形） */
.mg-sechead__en { font-family: var(--mg-num); }
body, .mg-main, .mg-hd, .mg-ft, .mg-drawer { font-family: var(--mg-ff) !important; color: var(--mg-ink); }
body { padding-bottom: 0 !important; -webkit-font-smoothing: antialiased; }
.mg-main { font-size: 14px; line-height: 1.6; }
.mg-main a { color: inherit; }
.mg-main b, .mg-main strong { font-weight: 700; }

/* ---------- 1. 外枠（v8.1：左の列はやめた。中身は真ん中に） ---------- */
.mg-layout { max-width: 1440px; margin: 0 auto; }
.mg-main .mg-wrap, .mg-layout .mg-wrap { max-width: none; padding-left: var(--mg-gut); padding-right: var(--mg-gut); }
@media (min-width: 1024px) {
	.mg-main { min-width: 0; padding: 0 0 48px; }
	.mg-main .mg-wrap, .mg-layout .mg-wrap { padding-left: 40px; padding-right: 40px; }
}

/* ---------- 2. ヘッダー（v8.1：左にロゴ・右に黒いログイン。スマホは下にタブ、PC はロゴの右にタブ） ---------- */
.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); box-shadow: none; }
.mg-hd__in { display: flex; align-items: center; gap: 8px; height: var(--mg-hd); max-width: 1440px; margin: 0 auto; padding: 0 8px 0 var(--mg-gut); }
.mg-hd__logo { display: flex; align-items: center; height: 44px; color: var(--mg-ink) !important; }
.mg-hd__logo .mg-logo { width: auto; height: 22px; }
.mg-hd__nav, .mg-hd__search, .mg-hd__post { display: none !important; }
.mg-hd__end { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.mg-hd__icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mg-ink) !important; cursor: pointer; }
.mg-hd__icon:hover { background: var(--mg-tile); }
.mg-hd__me summary { list-style: none; cursor: pointer; padding: 6px; }
.mg-hd__me summary::-webkit-details-marker { display: none; }
.mg-hd__searchbox { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--mg-line-strong) !important; border-radius: 999px; background: #fff !important; color: var(--mg-mute); box-shadow: none !important; }
.mg-hd__searchbox input { font-size: 13.5px; }
.mg-hd__searchbox:focus-within { border-color: var(--mg-ink) !important; }
/* スマホ：ヘッダーの下のタブ（太字・黒い下線） */
.mg-gnav { border-top: 1px solid var(--mg-line2); background: #fff; }
.mg-gnav__in { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 calc(var(--mg-gut) - 8px); }
.mg-gnav__in::-webkit-scrollbar { display: none; }
.mg-gnav__item { position: relative; flex: 1 0 auto; display: grid; place-items: center; height: var(--mg-gnav); padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--mg-mute) !important; white-space: nowrap; }
.mg-gnav__item.is-on { color: var(--mg-ink) !important; }
.mg-gnav__item.is-on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--mg-ink); }
@media (min-width: 1024px) {
	:root { --mg-hd: 64px; --mg-gnav: 0px; }
	.mg-gnav { display: none; }
	.mg-hd__in { gap: 20px; padding: 0 40px; }
	.mg-hd__logo .mg-logo { height: 24px; }
	.mg-hd__nav { display: flex !important; align-self: stretch; align-items: stretch; height: var(--mg-hd); gap: 2px; margin: 0 0 0 8px; padding: 0; }
	.mg-hd__link { position: relative; display: flex; align-items: center; height: 100%; min-height: 0; margin: 0; padding: 0 12px; line-height: 1; border-radius: 0; background: none !important; font-size: 14px; font-weight: 700; color: var(--mg-mute) !important; }
	.mg-hd__link:hover { color: var(--mg-ink) !important; }
	.mg-hd__link.is-on { color: var(--mg-ink) !important; }
	.mg-hd__link.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--mg-ink); }
	.mg-hd__search { display: block !important; position: relative; margin-left: auto; width: min(300px, 26vw); }
	.mg-hd__end { margin-left: 0; gap: 8px; }
	.mg-hd__find { display: none !important; }
	.mg-hd__post { display: inline-flex !important; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--mg-ink); border-radius: 999px; color: var(--mg-ink) !important; font-size: 13px; font-weight: 700; }
	.mg-hd__post:hover { background: var(--mg-tile); }
}

/* ---------- 4. 共通の部品 ---------- */
/* パンくず（小さく、目立たせない） */
.mg-main .rl-crumbs { margin: 0 0 6px; padding-top: 12px; }
.mg-main .rl-crumbs__list { font-size: 11.5px; color: var(--mg-mute); }
.mg-main .rl-crumbs__item + .rl-crumbs__item::before { color: #ccc; margin: 0 6px; }
.mg-main .rl-crumbs a { color: var(--mg-sub) !important; }

.mg-eyebrow { font-family: var(--mg-num); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--mg-mute); }

/* 小見出し（カテゴリーなど） */
.mg-main .mg-subh { margin: 0 0 12px !important; gap: 10px; }
.mg-subh > span { font-size: 15px; }
.mg-subh > i { background: var(--mg-line); }
.mg-subh > small { font-size: 12px; font-weight: 400; color: var(--mg-mute); }

/* 切り替え（下線のタブ） */
.mg-seg { display: flex; gap: 0; padding: 0; margin: 0 0 14px; border-radius: 0; background: none; border-bottom: 1px solid var(--mg-line); overflow-x: auto; }
.mg-seg__btn { position: relative; flex: 1 0 auto; height: 42px; padding: 0 14px; border-radius: 0; background: none !important; font-size: 14px; font-weight: 400; color: var(--mg-mute) !important; box-shadow: none !important; justify-content: center; }
.mg-seg__btn[aria-selected="true"], .mg-seg__btn[aria-pressed="true"], .mg-seg__btn[aria-current] { color: var(--mg-ink) !important; font-weight: 700; }
.mg-seg__btn[aria-selected="true"]::after, .mg-seg__btn[aria-pressed="true"]::after, .mg-seg__btn[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--mg-ink); }
/* 並べ替え（文字だけの小さなもの） */
.mg-seg--sm { border-bottom: 0; gap: 14px; margin: 0; }
.mg-seg--sm .mg-seg__btn { flex: none; height: 30px; padding: 0; font-size: 12.5px; }
.mg-seg--sm .mg-seg__btn::after { display: none; }
.mg-seg--sm .mg-seg__btn[aria-pressed="true"], .mg-seg--sm .mg-seg__btn[aria-current] { color: var(--mg-accent) !important; font-weight: 700; }
/* ボタン */
.mg-btn { min-height: 46px; border-radius: 4px; border: 1px solid var(--mg-line-strong); font-size: 14px; font-weight: 700; }
.mg-btn--primary { background: var(--mg-accent); border-color: var(--mg-accent); color: #fff !important; }
.mg-btn--primary:hover { background: var(--mg-accent-ink); border-color: var(--mg-accent-ink); }
.mg-btn--line { background: #fff; border-color: var(--mg-accent); color: var(--mg-accent) !important; }
.mg-more { min-height: 44px; margin-top: 16px; border: 0; border-radius: 0; background: none; font-size: 13.5px; font-weight: 700; color: var(--mg-ink); }
.mg-more:hover { text-decoration: underline; }

/* 検索窓（灰色の丸い面。WEAR と同じ） */
.mg-search { margin-top: 14px; }
.mg-search__box, .mg-search--hero .mg-search__box, .mg-search--big .mg-search__box { height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: var(--mg-gray); box-shadow: none !important; color: var(--mg-mute); }
.mg-search__box input { font-size: 15px; }
.mg-search__box:hover { border-color: transparent; }
.mg-search__box:focus-within { background: #fff; border-color: var(--mg-accent); box-shadow: none !important; }
.mg-filter__q { height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; background: var(--mg-gray); box-shadow: none; }
.mg-filter__q:focus-within { background: #fff; border-color: var(--mg-accent); box-shadow: none; }
.mg-filter__q input { font-size: 14px; }
.mg-suggest { border-radius: 8px; border-color: var(--mg-line); box-shadow: 0 8px 28px rgba(0, 0, 0, .12); }
.mg-suggest__t mark { text-decoration-color: var(--mg-accent); }

/* 件数と並べ替え（WEAR：「6,550,029 件」と「人気順」） */
.mg-count { margin: 12px 0 8px !important; font-size: 12px; color: var(--mg-sub); }
.mg-count span { font-family: var(--mg-num); font-size: 15px; font-weight: 700; color: var(--mg-ink); margin-right: 3px; }
.mg-bar { margin: 12px 0 8px; }

/* 顔（丸） */
.mg-av { box-shadow: none; }
.mg-faces .mg-av { box-shadow: 0 0 0 2px #fff; }

/* 説明・空・注記 */
.mg-intro { font-size: 14px; line-height: 1.8; color: var(--mg-ink2); }
.mg-clamp::after { background: linear-gradient(rgba(255,255,255,0), #fff); }
.mg-clamp__btn { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--mg-ink) !important; }
.mg-clamp__btn::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.mg-clamp__btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.mg-empty { padding: 24px 16px; border-radius: 0; background: none; text-align: center; color: var(--mg-sub); font-size: 13.5px; }
.mg-fine { font-size: 11.5px; color: var(--mg-mute); }

/* ページ送り */
.mg-main .rl-pager .page-numbers { min-width: 38px; height: 38px; border-radius: 4px; border-color: var(--mg-line); font-family: var(--mg-num); font-size: 13px; }
.mg-main .rl-pager .current { background: var(--mg-ink); border-color: var(--mg-ink); }

/* ほかの探し方 */
.mg-moreways { border-top: 8px solid var(--mg-gray); margin: 40px calc(-1 * var(--mg-gut)) 0; padding: 20px var(--mg-gut) 0; }
@media (min-width: 1024px) { .mg-moreways { border-top: 1px solid var(--mg-line); margin: 40px 0 0; padding: 20px 0 0; } }

/* ---------- 5. 一覧の行（WEAR のユーザー一覧・ブランド一覧） ---------- */
.mg-pgrid { gap: 0; }
@media (min-width: 900px) { .mg-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.mg-pcard { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "av id gears"; align-items: center; gap: 0 12px; padding: 12px 0; border: 0 !important; border-bottom: 1px solid var(--mg-line2) !important; border-radius: 0; background: none; box-shadow: none !important; }
.mg-pcard > .mg-av { width: 48px; height: 48px; font-size: 17px; align-self: center; }
.mg-pcard__name { font-size: 15px; font-weight: 700; }
.mg-pcard__sub { font-size: 12px; color: var(--mg-sub); }
.mg-pcard__gears { grid-area: gears; gap: 4px; }
.mg-pcard__gears .mg-thumb { width: 38px; border-radius: 4px; background: var(--mg-tile); box-shadow: none; }
.mg-pcard__n { display: none; }
.mg-pcard:hover { background: none; }
.mg-pcard:hover .mg-pcard__name { text-decoration: none; color: var(--mg-accent); }
@media (max-width: 380px) { .mg-pcard__gears .mg-thumb:nth-child(3) { display: none; } }

.mg-plist li { border-bottom: 1px solid var(--mg-line2); }
.mg-plist__row { padding: 12px 0; }
.mg-plist__id b { font-size: 15px; }
.mg-plist__n b { font-family: var(--mg-num); font-size: 15px; }
.mg-plist__row:hover b { text-decoration: none; color: var(--mg-accent); }

/* 人の丸い顔の並び（WEAR の「人気のユーザー」） */
.mg-people--scroll { gap: 10px; }
.mg-people--scroll li { width: 84px; }
.mg-person .mg-av--lg { width: 72px; height: 72px; font-size: 24px; }
.mg-person__name { font-size: 12.5px; font-weight: 400; color: var(--mg-ink); }
.mg-person__sub { font-size: 10.5px; color: var(--mg-mute); }
.mg-person:hover .mg-person__name { color: var(--mg-accent); }

/* ---------- 6. 機材のタイル（WEAR のアイテム一覧：3列、写真の下に小さな文字） ---------- */
.mg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 3px; margin-left: calc(-1 * var(--mg-gut)); margin-right: calc(-1 * var(--mg-gut)); }
@media (min-width: 640px) { .mg-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; margin-left: 0; margin-right: 0; } }
@media (min-width: 1100px) { .mg-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mg-tile { gap: 0; }
.mg-tile__img, .mg-tile .mg-thumb { border-radius: 0; background: var(--mg-tile) !important; box-shadow: none !important; }
@media (min-width: 640px) { .mg-tile__img, .mg-tile .mg-thumb { border-radius: var(--mg-r); } }
.mg-tile__maker { margin-top: 7px; padding: 0 6px; font-size: 11px; font-weight: 400; color: var(--mg-sub); }
.mg-tile__name { padding: 0 6px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--mg-ink); }
.mg-tile__use { padding: 0 6px; margin-top: 3px; font-size: 11.5px; color: var(--mg-accent); }
.mg-tile__use .mg-faces { display: none; }
.mg-tile:hover .mg-tile__name { text-decoration: none; color: var(--mg-accent); }
@media (min-width: 640px) { .mg-tile__maker, .mg-tile__name, .mg-tile__use { padding: 0; } }
.mg-tiles--scroll { gap: 8px; margin-left: calc(-1 * var(--mg-gut)); margin-right: calc(-1 * var(--mg-gut)); padding: 0 var(--mg-gut) 4px; }
.mg-tiles--scroll .mg-tile { width: 116px; }
.mg-tiles--scroll .mg-tile__img { border-radius: var(--mg-r); }
.mg-tiles--scroll .mg-tile__maker, .mg-tiles--scroll .mg-tile__name, .mg-tiles--scroll .mg-tile__use { padding: 0; }

/* ---------- 8. テーマ（Cocoon）側の調整 ---------- */
body.mygear-v6 .mobile-footer-menu-buttons, body.mygear-v6 #go-to-top { display: none !important; }   /* テーマのスマホ用の下のボタン */
body.mygear-v6 .mg-main a, body.mygear-v6 .mg-hd a, body.mygear-v6 .mg-gnav a, body.mygear-v6 .mg-side a, body.mygear-v6 .mg-drawer a, body.mygear-v6 .mg-ft a { text-decoration: none; }
body.mygear-v6 .container, body.mygear-v6 #container { background: transparent !important; }   /* v8.2：スマホも灰色の地 */

/* 人の行（WEAR のユーザー一覧） */
.mg-main .mg-plist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mg-line2); }
.mg-plist__row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 2px; color: var(--mg-ink) !important; }
.mg-plist__row .mg-av--md { width: 42px; height: 42px; font-size: 15px; }
.mg-plist__id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.mg-plist__id b { font-size: 14.5px; font-weight: 700; }
.mg-plist__id span { font-size: 11.5px; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-plist__row > .mg-ico { flex: none; color: #c4c4c4; }

/* ---------- 11. アーティストのページ ---------- */
/* プロフィール（スマホは真ん中にそろえる。WEAR のユーザーページ） */
.mg-prof8 { padding-bottom: 4px; }
.mg-prof8__grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-top: 8px; }
.mg-prof8__av.mg-av--xl { width: 84px; height: 84px; font-size: 30px; }
.mg-prof8__id { display: flex; flex-direction: column; align-items: center; min-width: 0; margin-top: 12px; }
.mg-main .mg-prof8__name { margin: 0 !important; font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: .01em; }
.mg-main .mg-prof8__sub { margin: 3px 0 0 !important; font-size: 12px; color: var(--mg-sub); }
.mg-main .mg-prof8__pos { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 6px 0 0 !important; font-size: 12.5px; }
.mg-prof8__pos a, .mg-prof8__pos span { display: inline-flex; align-items: center; gap: 5px; color: var(--mg-ink) !important; }
.mg-prof8__pos i { width: 7px; height: 7px; border-radius: 50%; }
.mg-prof8__pos a:hover { color: var(--mg-accent) !important; }
.mg-prof8 .mg-plinks { justify-content: center; gap: 8px; margin-top: 12px !important; }
.mg-prof8 .mg-plink { width: 32px; height: 32px; border-radius: 8px; }
.mg-prof8 .mg-plink svg { width: 16px; height: 16px; }
.mg-main .mg-prof8__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 16px 0 0; padding: 10px 0; list-style: none; border-top: 1px solid var(--mg-line2); border-bottom: 1px solid var(--mg-line2); }
.mg-prof8__nums li + li { border-left: 1px solid var(--mg-line2); }
.mg-prof8__nums a, .mg-prof8__num { display: flex; flex-direction: column; align-items: center; line-height: 1.3; color: var(--mg-ink) !important; }
.mg-prof8__nums b { font-family: var(--mg-num); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mg-prof8__nums span span, .mg-prof8__nums a span { font-size: 11px; color: var(--mg-sub); }
.mg-prof8__nums a:hover b { color: var(--mg-accent); }
.mg-prof8__rest { width: 100%; margin-top: 14px; text-align: left; }
.mg-prof8 .mg-intro { font-size: 13.5px; line-height: 1.8; color: var(--mg-ink); }
.mg-prof8 .mg-clamp__btn { margin-top: 2px; }
.mg-prof8 .mg-bandlinks { gap: 6px; margin-top: 12px !important; }
.mg-bandlink { gap: 6px; height: 32px; padding: 0 14px 0 11px; border-color: var(--mg-line-strong); border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.mg-bandlink .mg-ico { color: var(--mg-sub); }
.mg-bandlink:hover { border-color: var(--mg-accent); color: var(--mg-accent) !important; }
.mg-bandlink:hover .mg-ico { color: var(--mg-accent); }
@media (min-width: 1024px) {
	.mg-prof8__grid { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "av id" "av nums" "av rest"; column-gap: 28px; justify-items: start; text-align: left; padding-top: 12px; }
	.mg-prof8__av { grid-area: av; align-self: start; }
	.mg-prof8__av.mg-av--xl { width: 112px; height: 112px; font-size: 40px; }
	.mg-prof8__id { grid-area: id; align-items: flex-start; margin-top: 4px; }
	.mg-main .mg-prof8__name { font-size: 24px; }
	.mg-main .mg-prof8__pos { justify-content: flex-start; }
	.mg-prof8 .mg-plinks { justify-content: flex-start; }
	.mg-main .mg-prof8__nums { grid-area: nums; display: flex; gap: 24px; width: auto; margin-top: 14px; padding: 0; border: 0; }
	.mg-prof8__nums a, .mg-prof8__num { flex-direction: row; align-items: baseline; gap: 4px; }
	.mg-prof8__nums span span, .mg-prof8__nums a span { font-size: 12px; }
	.mg-prof8__rest { grid-area: rest; max-width: 46em; margin-top: 12px; }
}

/* 使用機材 */
.mg-amain { margin-top: 32px; scroll-margin-top: calc(var(--mg-hd) + 8px); }
.mg-jump { gap: 6px; padding: 8px var(--mg-gut); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--mg-line2); }
.mg-jump__item { height: 32px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--mg-gray); font-size: 13px; font-weight: 400; color: var(--mg-ink) !important; }
.mg-jump__item b { font-size: 11.5px; font-weight: 400; color: var(--mg-mute); }
.mg-jump__item:hover { background: #ebebeb; color: var(--mg-ink) !important; }
.mg-jump__item:hover b { color: var(--mg-mute); }
@media (min-width: 1024px) { .mg-jump { padding: 0 0 4px; border: 0; background: none; } }
.mg-cat-sec { margin-top: 28px; scroll-margin-top: calc(var(--mg-hd) + 60px); }
.mg-main .mg-cat-sec > .mg-subh { display: flex; align-items: baseline; gap: 6px; margin: 0 0 4px !important; }
.mg-cat-sec > .mg-subh > span { font-size: 16px; font-weight: 700; }
.mg-cat-sec > .mg-subh > i { display: none; }
.mg-cat-sec > .mg-subh > small { font-size: 12px; color: var(--mg-mute); }

/* 機材のカード（枠をなくし、上の線で区切る） */
.mg-gcards { gap: 0; }
@media (min-width: 640px) { .mg-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } }
@media (min-width: 1200px) { .mg-gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; } }
.mg-main .mg-gcard { padding: 16px 0 20px; border: 0; border-top: 1px solid var(--mg-line2); border-radius: 0; background: none; }
.mg-gcard__top { grid-template-columns: minmax(0, 1fr) 58px; gap: 6px; }
.mg-gcard { --sb: 40px; --sg: 5px; }
@media (max-width: 639px) { .mg-gcard { --sb: 42px; } }
.mg-gcard .mg-slides, .mg-slides { border-radius: 4px; }
.mg-shopbtns--col .mg-shopbtn { padding: 0 5px; border-radius: 4px; border-color: var(--mg-line); }
.mg-shopbtns--col .mg-shopbtn img { height: 18px; }
.mg-shopbtn:hover { border-color: var(--mg-accent); box-shadow: none; }
.mg-media__year { left: 6px; top: 6px; height: 20px; padding: 0 7px; border-radius: 3px; box-shadow: none; background: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 400; color: var(--mg-ink); }
.mg-media__bar { margin-top: 6px; }
.mg-media__count { gap: 5px; font-size: 11.5px; color: var(--mg-sub); }
.mg-media__count b { padding: 1px 6px; border: 1px solid var(--mg-line-strong); border-radius: 3px; background: none; font-size: 10.5px; font-weight: 400; color: var(--mg-ink2); }
.mg-media__btn { width: 30px; height: 30px; border-color: var(--mg-line-strong); }
.mg-media__btn.is-next { background: #fff; border-color: var(--mg-ink); color: var(--mg-ink); }
.mg-media__btn:hover:not(:disabled) { border-color: var(--mg-accent); color: var(--mg-accent); }
.mg-slide__cap { font-size: 11px; color: var(--mg-ink2); }
.mg-gcard__a { padding: 10px 0 0; }
.mg-gcard__maker { gap: 5px; font-size: 11.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mg-sub); }
.mg-gcard__maker i::before { margin-right: 5px; }
.mg-gcard__name { margin-top: 1px; font-size: 15px; }
.mg-gcard__a:hover .mg-gcard__name { text-decoration: none; color: var(--mg-accent); }
.mg-main .mg-gcard__note { margin: 6px 0 0 !important; padding: 0; border: 0; font-size: 13px; line-height: 1.75; color: #555; }
.mg-fine { margin-top: 16px !important; }

/* ---------- 12. 機材のページ（WEAR のアイテムのページ） ---------- */
.mg-gtop { gap: 14px; }
.mg-main .mg-ghero { aspect-ratio: 4 / 3; max-height: 250px; margin: 0 calc(-1 * var(--mg-gut)) !important; width: auto; border: 0; border-radius: 0; background: var(--mg-tile); }
.mg-ghero img { mix-blend-mode: multiply; }
@media (min-width: 640px) { .mg-main .mg-ghero { margin: 0 !important; border-radius: var(--mg-r); } }
@media (min-width: 900px) {
	.mg-gtop { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; }
	.mg-main .mg-ghero { aspect-ratio: 1 / 1; max-height: none; border-radius: var(--mg-r); }
}
@media (min-width: 1360px) { .mg-gtop { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 44px; } }
.mg-main .mg-ghead__mk { margin: 0 !important; }
.mg-ghead__maker { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mg-accent) !important; }
.mg-ghead__maker:hover { color: var(--mg-accent-ink) !important; text-decoration: underline !important; }
.mg-main .mg-ghead__name { margin: 2px 0 8px !important; font-size: 22px; letter-spacing: 0; }
@media (min-width: 768px) { .mg-main .mg-ghead__name { font-size: 26px; } }
.mg-main .mg-gtags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; }
.mg-gtag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--mg-line-strong); border-radius: 3px; font-size: 11.5px; color: var(--mg-ink2) !important; }
.mg-gtag:hover { border-color: var(--mg-accent); color: var(--mg-accent) !important; }
.mg-main .mg-gfacts { margin-top: 14px !important; padding: 10px 0; border-top: 1px solid var(--mg-line2); border-bottom: 1px solid var(--mg-line2); }
.mg-gfact { font-size: 12.5px; font-weight: 400; color: var(--mg-sub) !important; }
.mg-gfact b { font-family: var(--mg-num); font-size: 19px; letter-spacing: 0; }
.mg-gfact + .mg-gfact { border-left-color: var(--mg-line2); }
a.mg-gfact:hover { text-decoration: none; }
a.mg-gfact:hover b { color: var(--mg-accent); }
.mg-gtop .mg-intro { font-size: 13.5px; }
.mg-gtop .mg-shops { margin-top: 18px; padding-top: 0; border-top: 0; }
.mg-shops__h { margin-bottom: 8px !important; font-size: 13px; font-weight: 700; color: var(--mg-ink); }
.mg-gtop .mg-shopbtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 520px) { .mg-gtop .mg-shopbtns { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mg-gtop .mg-shopbtn { width: auto; height: 40px; border-radius: 4px; border-color: var(--mg-line-strong); }
.mg-gtop .mg-shopbtn img { height: 20px; }
.mg-gbody { margin-top: 8px; }

/* 年表（1本の線）：黒い札をやめて、白地に細い線の札。カードは薄い線 */
.mg-years::before { width: 1px; background: var(--mg-line); }
.mg-years__y { padding: 3px 8px; border: 1px solid var(--mg-line-strong); border-radius: 3px; background: #fff; color: var(--mg-ink); font-family: var(--mg-num); font-size: 11.5px; font-weight: 700; }
.mg-years__dec::before { width: 9px; height: 9px; background: var(--mg-ink); box-shadow: 0 0 0 4px #fff; }
.mg-years__dec span { font-family: var(--mg-num); font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--mg-ink); }
.mg-years__dec span small { font-size: .75em; color: var(--mg-ink); }
.mg-years__card { padding: 12px; border-color: var(--mg-line2); border-radius: var(--mg-r); }
.mg-years__card:hover { border-color: var(--mg-line-strong); box-shadow: none; }
.mg-years__card:hover .mg-who__top b, .mg-who:hover .mg-who__top b { text-decoration: none; color: var(--mg-accent); }
.mg-who__top b { font-size: 14px; }
.mg-who__top span { font-size: 11.5px; }
.mg-who__note { font-size: 12.5px; color: #555; }
@media (min-width: 900px) { .mg-years__dec span { font-size: 20px; } .mg-years__card::before { background: var(--mg-line); } }
.mg-main .mg-whos { padding: 0; border: 0; border-radius: 0; border-top: 1px solid var(--mg-line2); }
@media (max-width: 639px) { .mg-main .mg-ghero { aspect-ratio: auto; height: 230px; max-height: none; width: calc(100% + 2 * var(--mg-gut)); } }
@media (min-width: 640px) and (max-width: 899px) { .mg-main .mg-ghero { aspect-ratio: auto; height: 260px; max-height: none; width: 100%; } }

/* ---------- 13. 一覧ページ（機材・バンド・メーカー） ---------- */
@media (min-width: 1024px) { .mg-tiles--scroll { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-padding-inline: 0; } }
.mg-filter + .mg-chips, .mg-filter + .mg-rail, .mg-filter ~ .mg-chips { margin-top: 10px; }

/* バンド：WEAR のブランド一覧のような行（名前・顔・人数・＞） */
.mg-bandgrid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--mg-line2); }
@media (min-width: 640px) { .mg-bandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) { .mg-bandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mg-bandcard { flex-direction: row; align-items: center; gap: 10px; min-height: 56px; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--mg-line2); border-radius: 0; background: none; }
.mg-bandcard:hover { border-color: var(--mg-line2); }
.mg-bandcard .mg-faces { order: 2; flex: none; }
.mg-bandcard .mg-faces--lg .mg-av { width: 26px; height: 26px; font-size: 10px; }
.mg-bandcard .mg-faces--lg .mg-av + .mg-av { margin-left: -7px; }
.mg-bandcard__name { order: 1; flex: 1; min-width: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-bandcard__n { order: 3; flex: none; min-width: 2.6em; margin: 0; font-family: var(--mg-num); font-size: 12.5px; text-align: right; }
.mg-bandcard::after { content: ""; order: 4; flex: none; width: 7px; height: 7px; margin: 0 4px 0 2px; border-top: 1.5px solid #c4c4c4; border-right: 1.5px solid #c4c4c4; transform: rotate(45deg); }
.mg-bandcard:hover .mg-bandcard__name { color: var(--mg-accent); }

/* メーカー：頭文字の見出しは細い線に。頭文字の目次は文字だけ */
.mg-abc { gap: 2px; }
.mg-abc a { min-width: 32px; height: 32px; padding: 0 6px; border-radius: 4px; background: none; font-family: var(--mg-num); font-size: 14px; font-weight: 400; color: var(--mg-ink) !important; }
.mg-abc a:hover { background: var(--mg-gray); color: var(--mg-accent) !important; }
.mg-main .mg-group__h { font-family: var(--mg-num); font-size: 18px; padding-bottom: 6px !important; border-bottom: 1px solid var(--mg-line) !important; }
.mg-group__h span { font-weight: 400; color: var(--mg-mute); }

/* ---------- 15. ユーザーのページ（WEAR のユーザーページ：写真を格子に） ---------- */
.mg-prof8 .mg-bandlink.is-text { padding: 0 14px 0 11px; border: 1px solid var(--mg-line-strong); background: none; font-weight: 700; }
.mg-prof8__nums:has(li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* バンドのページ：数は真ん中にそろえる */
.mg-main .mg-stats { margin-top: 16px !important; padding: 10px 0; border-top: 1px solid var(--mg-line2); border-bottom: 1px solid var(--mg-line2); }
.mg-stats > div { display: flex; flex-direction: column-reverse; align-items: center; padding: 0; border-left: 1px solid var(--mg-line2); }
.mg-stats > div:first-child { padding-left: 0; }
.mg-stats dt { font-size: 11px; font-weight: 400; color: var(--mg-sub); }
.mg-main .mg-stats dd { margin-top: 0 !important; font-family: var(--mg-num); font-size: 17px; letter-spacing: 0; }
.mg-stats dd small { display: none; }

/* ---------- 16. さがす（行の一覧に） ---------- */
.mg-doors { gap: 6px; margin-top: 16px; }
.mg-door { padding: 14px 16px; border: 0; border-radius: var(--mg-r); background: var(--mg-gray); }
.mg-door:hover { background: #ececec; }
.mg-door__n { font-family: var(--mg-num); font-size: 21px; }
.mg-door__n small { font-weight: 400; }
.mg-door__name { font-size: 12.5px; font-weight: 400; color: var(--mg-sub); }
.mg-door .mg-ico { color: #c4c4c4; }
.mg-explore .mg-cats { gap: 0 28px; border-top: 1px solid var(--mg-line2); }
@media (min-width: 640px) { .mg-explore .mg-cats { gap: 0 28px; } }
.mg-explore .mg-cat { min-height: 52px; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--mg-line2); border-radius: 0; background: none; }
.mg-explore .mg-cat:hover { border-color: var(--mg-line2); }
.mg-explore .mg-cat:hover .mg-cat__name { color: var(--mg-accent); }
.mg-explore .mg-cat__name { font-size: 14px; }
.mg-explore .mg-cat__name i { font-size: 10px; letter-spacing: .04em; }
.mg-explore .mg-cat__n { font-family: var(--mg-num); font-size: 12.5px; font-weight: 400; }
.mg-explore .mg-cat__img { border-radius: 4px; }
.mg-cta { border-radius: var(--mg-r-lg); }
.mg-cta { border-color: var(--mg-line2); } .mg-cta:hover { border-color: var(--mg-accent); } .mg-cta__ico { border-radius: 50%; background: var(--mg-accent); }

/* v8.0.0：機材の写真がまだ無いとき（空の枠に、写真の印と「写真は準備中」） */
.mg-slide--gear:empty, .mg-thumb:empty, .mg-pick__img:empty, .mg-rcard__img:empty {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b9c2' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center 42%; background-size: 26% auto;
}
.mg-pk__img:empty { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b9c2' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 26% auto; }

/* ---------- 9. ホーム（v8.1） ---------- */
/* 探し方：絵のカード（スマホ 2×2、PC は見出しの右に 2×2） */
.mg-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mg-way { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--mg-line); border-radius: var(--mg-r-lg); background: #fff; color: var(--mg-ink) !important; transition: box-shadow .2s; }
.mg-way__art { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.mg-way__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mg-way--artist .mg-way__art { background: #384069; }
.mg-way--gear .mg-way__art { background: #96474c; }
.mg-way--effects .mg-way__art { background: #e8873a; }
.mg-way--band .mg-way__art { background: #2f5d68; }
.mg-way__txt { display: flex; flex-direction: column; padding: 9px 28px 10px 12px; line-height: 1.35; }
.mg-way__txt b { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.mg-way__txt small { margin-top: 1px; font-size: 11px; color: var(--mg-sub); }
.mg-way > .mg-ico { position: absolute; right: 8px; bottom: 16px; color: var(--mg-mute); }
.mg-way:hover { box-shadow: 0 8px 22px rgba(20, 20, 20, .09); }
.mg-way:hover .mg-way__art img { transform: scale(1.04); }
@media (max-width: 359px) { .mg-way__txt b { font-size: 12.5px; } }
@media (min-width: 1024px) {
	.mg-ways { gap: 14px; }
	.mg-way__txt { padding: 12px 34px 13px 15px; }
	.mg-way__txt b { font-size: 15px; }
	.mg-way__txt small { font-size: 12px; }
	.mg-way > .mg-ico { right: 12px; bottom: 20px; }
}

/* PICK UP：注目のアーティストを横に並べたカード（大きな写真1枚＋小さな写真2枚） */
.mg-picks .mg-sechead { align-items: flex-end; }
.mg-picks__nav { display: none; gap: 6px; padding-bottom: 6px; }
.mg-picks__btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--mg-line-strong); border-radius: 50%; background: #fff; color: var(--mg-ink); cursor: pointer; }
.mg-picks__btn:disabled { opacity: .35; cursor: default; }
.mg-picks__btn:not(:disabled):hover { border-color: var(--mg-ink); }
@media (min-width: 768px) { .mg-picks__nav { display: flex; } }
.mg-main .mg-picks__track { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; margin: 0 calc(-1 * var(--mg-gut)) !important; padding: 2px var(--mg-gut) 6px !important; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mg-gut); scrollbar-width: none; }
.mg-picks__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .mg-main .mg-picks__track { grid-auto-columns: calc((100% - 2 * var(--mg-gut) - 24px) / 2.3); } }
@media (min-width: 1024px) { .mg-main .mg-picks__track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; margin: 0 !important; padding: 2px 0 6px !important; scroll-padding-inline: 0; } }
.mg-pk { min-width: 0; scroll-snap-align: start; }
.mg-pk__a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--mg-line); border-radius: var(--mg-r-lg); background: #fff; color: var(--mg-ink) !important; }
.mg-pk__art { display: grid; gap: 2px; aspect-ratio: 3 / 2; background: #fff; }
.mg-pk__art--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.mg-pk__art--3 .mg-pk__img:first-child { grid-row: 1 / 3; }
.mg-pk__art--2 { grid-template-columns: 1fr 1fr; }
.mg-pk__img { position: relative; display: block; min-height: 0; background: var(--mg-tile); overflow: hidden; }
.mg-pk__img img { position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; object-fit: contain; color: transparent; font-size: 0; transition: transform .35s ease; }
.mg-pk__art--3 .mg-pk__img:first-child img { left: 8%; top: 7%; width: 84%; height: 86%; }
.mg-pk__a:hover .mg-pk__img img { transform: scale(1.04); }
.mg-pk__n { flex: none; align-self: flex-start; padding-top: 2px; font-size: 11.5px; color: var(--mg-sub); }
.mg-pk__n b { margin-right: 1px; font-family: var(--mg-num); font-size: 18px; font-weight: 700; color: var(--mg-ink); }
.mg-pk__main { display: block; padding: 2px 14px 13px 64px; font-size: 11.5px; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 見出しの下の線と帯（v7 の形）。PC の右の列の見出しは少し小さく */
.mg-home__side .mg-sechead__en { font-size: 17px; }


/* ---------- 17. v8.2：灰色の地に白いカード ---------- */
:root { --mg-gray: #efefea; --mg-card-r: 16px; }
.mg-cardbox, .mg-prof8, .mg-main .mg-gcard, .mg-gtop, .mg-who, .mg-years__card, .mg-main .mg-pgrid, .mg-main .mg-plist, .mg-main .mg-rows, .mg-rk__side, .mg-mcard, .mg-tline { background: #fff; border-radius: var(--mg-card-r); }
/* アーティストのプロフィール */
.mg-prof8 { margin-top: 2px; padding: 16px 16px 18px; }
.mg-prof8__grid { padding-top: 0; }
@media (min-width: 1024px) { .mg-prof8 { padding: 28px 32px; } }
.mg-artist .rl-crumbs, .mg-gear .rl-crumbs { padding-top: 12px; }
/* 使用機材の見出しとカテゴリーの切り替え */
.mg-jump { background: rgba(239, 239, 234, .96); border-bottom: 0; }
.mg-jump__item { background: #fff; }
.mg-jump__item:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line-strong); }
.mg-cat-sec > .mg-subh { padding: 0 2px; }
/* 機材のカード（白いカード。写真・ショップ → 名前 → ひとこと → 出典） */
.mg-gcards { gap: 12px; }
@media (min-width: 640px) { .mg-gcards { gap: 14px; } }
@media (min-width: 1200px) { .mg-gcards { gap: 16px; } }
.mg-main .mg-gcard { padding: 12px 12px 12px; border: 0; }
.mg-gcard { --sb: 40px; --sg: 6px; }
.mg-gcard__top { grid-template-columns: minmax(0, 1fr) 60px; gap: 8px; }
.mg-gphoto { position: relative; display: block; min-width: 0; height: calc(var(--sb) * 5 + var(--sg) * 4); border-radius: 10px; background: #f7f7f4; overflow: hidden; }
.mg-gphoto img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; color: transparent; font-size: 0; transition: transform .35s ease; }
.mg-gphoto:hover img { transform: scale(1.03); }
.mg-gphoto__none { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #b4b9c2; }
.mg-gphoto__none small { font-size: 12px; color: var(--mg-sub); }
.mg-gphoto .mg-media__year { left: 8px; top: 8px; height: 22px; padding: 0 8px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); font-size: 11px; font-weight: 700; }
.mg-shopbtns--col .mg-shopbtn { border-radius: 8px; border-color: var(--mg-line); background: #fff; }
.mg-gcard__a { padding: 12px 2px 0; }
.mg-main .mg-gcard__note { margin: 6px 2px 0 !important; font-size: 13px; line-height: 1.75; color: var(--mg-ink2); }
/* 出典の画像を大きく見る */
.mg-srcview { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.mg-srcview[hidden] { display: none; }
.mg-srcview__back { position: absolute; inset: 0; background: rgba(20, 20, 20, .72); }
.mg-srcview__panel { position: relative; display: flex; flex-direction: column; width: min(720px, 100%); max-height: calc(100vh - 32px); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.mg-srcview__img { min-height: 0; overflow: auto; background: var(--mg-gray); }
.mg-srcview__img img { display: block; width: 100%; height: auto; }
.mg-srcview__foot { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 16px; }
.mg-main .mg-srcview__label, .mg-srcview__label { margin: 0; font-size: 13px; line-height: 1.6; color: var(--mg-ink); }
.mg-srcview__link { align-self: flex-start; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--mg-ink); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.mg-srcview__close { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); font-size: 22px; line-height: 1; color: var(--mg-ink); cursor: pointer; }
html.is-srcview, html.is-srcview body { overflow: hidden; }
/* 機材のページ */
.mg-gtop { margin-top: 2px; padding: 14px; }
@media (min-width: 900px) { .mg-gtop { padding: 28px 32px; } }
.mg-main .mg-ghero { border: 0; background: #f7f7f4; }
.mg-who { border: 0 !important; }
.mg-years__card { border: 0 !important; }
/* 一覧（行）を白い面に */
.mg-main .mg-pgrid, .mg-main .mg-plist, .mg-main .mg-rows { padding: 2px 16px; border-top: 0; }
@media (min-width: 900px) { .mg-main .mg-pgrid { padding: 6px 24px; } }
.mg-pcard:last-child, .mg-plist li:last-child, .mg-rows li:last-child { border-bottom: 0 !important; }
@media (min-width: 900px) { .mg-pgrid .mg-pcard:nth-last-child(2):nth-child(odd) { border-bottom: 0 !important; } }
/* 機材の写真の一覧（白いタイル） */
.mg-tiles { gap: 14px 8px; margin-left: 0; margin-right: 0; }
.mg-tile__img, .mg-tile .mg-thumb { border-radius: 12px !important; background: #fff !important; }
.mg-tile__maker, .mg-tile__name, .mg-tile__use { padding: 0 2px; }
.mg-tiles--scroll .mg-tile__img { background: #fff !important; }
/* さがす */
.mg-door { background: #fff; }
.mg-door:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line-strong); }
.mg-explore .mg-cats { padding: 2px 16px; border-top: 0; border-radius: var(--mg-card-r); background: #fff; }
/* ランキングの横の面・ユーザーのページ */
.mg-rk__side { border: 0 !important; }
/* ホーム：v7 のカードは枠の線をやめて、白いカードだけに */
.mg-hero__stats > li, .mg-way, .mg-pk__a { border-color: transparent; }
.mg-rcard__a, .mg-cat { border-color: transparent !important; }
.mg-tline { border: 0 !important; }
/* 灰色の地の上の検索窓は白く */
.mg-search__box, .mg-search--hero .mg-search__box, .mg-search--big .mg-search__box, .mg-filter__q { background: #fff !important; border: 1px solid transparent; }
.mg-search__box:focus-within, .mg-filter__q:focus-within { border-color: var(--mg-ink) !important; }
/* バンドのページ：名前・数・紹介を白いカードに */
.mg-bandbox { margin-top: 2px; padding: 16px 16px 18px; border-radius: var(--mg-card-r); background: #fff; }
.mg-bandbox .mg-phead { padding: 0; }
.mg-bandbox .mg-phead__title { margin-top: 0 !important; }
.mg-bandbox .mg-stats { margin-top: 12px; }
.mg-bandbox .mg-intro { margin: 12px 0 0 !important; }
@media (min-width: 1024px) { .mg-bandbox { padding: 24px 28px; } }


/* ---------- 18. v8.3 ---------- */
/* 探し方の絵：少し引いて（横長 3:2） */
.mg-way__art { aspect-ratio: 3 / 2; }
/* トップの数：縦をつめる（左に印、右に数と名前） */
.mg-main .mg-hero__note { margin-top: 10px !important; font-size: 13px; font-weight: 600; line-height: 1.7; color: var(--mg-ink2); }
@media (min-width: 1024px) { .mg-main .mg-hero__note { font-size: 13.5px; } }

/* アーティストのプロフィール：左に顔、右に名前・パート・SNS（縦をつめる） */
.mg-prof8 { padding: 14px 14px 16px; }
.mg-prof8__grid { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "av id" "nums nums" "rest rest"; column-gap: 14px; justify-items: stretch; text-align: left; }
.mg-prof8__av { grid-area: av; align-self: start; }
.mg-prof8__av.mg-av--xl { width: 64px; height: 64px; font-size: 24px; }
.mg-prof8__id { grid-area: id; flex-direction: row; flex-wrap: wrap; align-items: center; align-self: center; column-gap: 10px; row-gap: 2px; margin-top: 0; }
.mg-main .mg-prof8__name { flex: 0 0 100%; font-size: 19px; line-height: 1.3; }
.mg-main .mg-prof8__sub { margin: 0 !important; font-size: 12px; }
.mg-main .mg-prof8__pos { justify-content: flex-start; margin: 0 !important; font-size: 12px; }
.mg-prof8 .mg-plinks { flex: 0 0 100%; justify-content: flex-start; gap: 6px; margin-top: 6px !important; }
.mg-prof8 .mg-plink { width: 28px; height: 28px; border-radius: 7px; }
.mg-prof8 .mg-plink svg { width: 14px; height: 14px; }
.mg-main .mg-prof8__nums { grid-area: nums; display: flex; width: 100%; margin: 12px 0 0; padding: 8px 0; }
.mg-prof8__nums li { flex: 1; }
.mg-prof8__nums a, .mg-prof8__num { flex-direction: row; justify-content: center; align-items: baseline; gap: 3px; }
.mg-prof8__nums b { font-size: 16px; }
.mg-prof8__rest { grid-area: rest; margin-top: 10px; }
.mg-prof8 .mg-intro { font-size: 13.5px; }
@media (min-width: 1024px) {
	.mg-prof8 { padding: 22px 28px; }
	.mg-prof8__grid { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "av id" "av nums" "av rest"; column-gap: 22px; }
	.mg-prof8__av.mg-av--xl { width: 88px; height: 88px; font-size: 32px; }
	.mg-main .mg-prof8__name { font-size: 22px; }
	.mg-main .mg-prof8__nums { justify-content: flex-start; gap: 22px; width: auto; margin-top: 10px; padding: 0; border: 0; }
	.mg-prof8__nums li { flex: none; }
	.mg-prof8__nums li + li { border-left: 0; }
	.mg-prof8__rest { max-width: 52em; }
}

/* 出典：見出しの行（黒い「出典」の札・何件目か・‹ ›）。2件以上は次の出典が右に少し見える */
.mg-srcs8 { margin-top: auto; padding-top: 12px; }
.mg-srcs8__head { display: flex; align-items: center; gap: 8px; min-height: 24px; margin-bottom: 6px; }
.mg-srcs8__tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 6px; border-radius: 5px; background: var(--mg-ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.mg-srcs8__tag .mg-ico { width: 12px; height: 12px; }
.mg-srcs8__pos { font-family: var(--mg-num); font-size: 12px; font-weight: 700; color: var(--mg-ink); }
.mg-srcs8__hint { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--mg-sub); }
.mg-srcs8__hint::after { content: "→"; font-size: 12px; animation: mg-nudge 1.6s ease-in-out infinite; }
@keyframes mg-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(3px); } }
@media (min-width: 1024px) { .mg-srcs8__hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .mg-srcs8__hint::after { animation: none; } }
.mg-srcs8__nav { display: flex; gap: 4px; margin-left: auto; }
.mg-srcs8__btn { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid var(--mg-line-strong); border-radius: 50%; background: #fff; color: var(--mg-ink); cursor: pointer; }
.mg-srcs8__btn:hover { border-color: var(--mg-ink); }
.mg-srcs8.is-first [data-src-prev], .mg-srcs8.is-last [data-src-next] { opacity: .3; pointer-events: none; }
.mg-srcs8__track { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mg-srcs8__track::-webkit-scrollbar { display: none; }
.mg-src8 { flex: 0 0 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 8px 10px 8px 8px; border-radius: 10px; background: var(--mg-gray); scroll-snap-align: start; }
.mg-srcs8.is-multi .mg-src8 { flex-basis: calc(100% - 30px); }
.mg-src8__img { position: relative; display: block; width: 64px; height: 48px; padding: 0; border: 1px solid var(--mg-line); border-radius: 6px; background: #fff; overflow: hidden; cursor: zoom-in; }
.mg-src8__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mg-src8__img > i { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); color: var(--mg-ink); }
.mg-src8__img.is-none { display: grid; place-items: center; color: var(--mg-mute); cursor: default; }
.mg-src8__img:not(.is-none):hover { border-color: var(--mg-ink); }
.mg-src8__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--mg-ink) !important; }
.mg-src8__t .mg-ico { display: inline; margin-left: 3px; vertical-align: -1px; color: var(--mg-mute); }
a.mg-src8__t:hover { text-decoration: underline !important; }
.mg-srcs8__dots { display: flex; justify-content: center; gap: 5px; padding-top: 8px; }
.mg-srcs8__dots i { width: 6px; height: 6px; border-radius: 3px; background: #d4d4cd; cursor: pointer; transition: width .2s; }
.mg-srcs8__dots i.is-on { width: 16px; background: var(--mg-ink); }

/* PICK UP：カードを少し小さくして次の人が見えるように。何人目か・‹ ›・点（スマホでも出す） */
.mg-picks__nav { display: flex !important; align-items: center; gap: 6px; padding-bottom: 6px; }
.mg-picks__pos { margin-right: 2px; font-family: var(--mg-num); font-size: 12.5px; font-weight: 700; color: var(--mg-ink); }
.mg-picks__btn { width: 32px; height: 32px; }
.mg-main .mg-picks__track { grid-auto-columns: 74%; }
@media (min-width: 640px) { .mg-main .mg-picks__track { grid-auto-columns: calc((100% - 2 * var(--mg-gut) - 24px) / 2.4); } }
@media (min-width: 1024px) { .mg-main .mg-picks__track { grid-auto-columns: calc((100% - 32px) / 3); } }
.mg-pk__a { box-shadow: 0 1px 2px rgba(20, 20, 20, .04); transition: box-shadow .2s, transform .2s; }
.mg-pk__a:hover { box-shadow: 0 10px 26px rgba(20, 20, 20, .1); }
.mg-pk__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 0 14px 14px; }
.mg-pk__av { grid-column: 1; grid-row: 1; margin-top: -24px; line-height: 0; }
.mg-pk__av .mg-av--md { width: 50px; height: 50px; font-size: 18px; box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, .12); }
.mg-pk__n { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 1px; height: 26px; padding: 0 6px 0 10px; border-radius: 999px; background: var(--mg-gray); font-size: 11.5px; color: var(--mg-ink2); }
.mg-pk__n b { margin-right: 2px; font-family: var(--mg-num); font-size: 14px; font-weight: 700; color: var(--mg-ink); }
.mg-pk__name { grid-column: 1 / -1; margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pk__band { grid-column: 1 / -1; font-size: 12px; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pk__main { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; margin-top: 10px; padding: 9px 0 0; border-top: 1px solid var(--mg-line2); font-size: 11.5px; color: var(--mg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pk__main .mg-ico { flex: none; color: var(--mg-mute); }
.mg-pk__a:hover .mg-pk__name { text-decoration: underline; }
.mg-picks__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.mg-picks__dots i { width: 6px; height: 6px; border-radius: 3px; background: #d4d4cd; cursor: pointer; transition: width .25s, background .25s; }
.mg-picks__dots i.is-on { width: 20px; background: var(--mg-ink); }

/* ランキング：2けた（10位から）も1けたと同じ大きさで、数字の間をつめる */
.mg-rcard__no { font-family: var(--mg-num); }
.mg-rcard__no.is-wide { font-size: 92px; letter-spacing: -.12em; transform: scaleX(.84); transform-origin: left bottom; }
.mg-rcard__no.is-wide + .mg-rcard__img { left: 42%; }
@media (min-width: 1024px) { .mg-rcard__no.is-wide { font-size: 108px; } }

/* 自分の機材ページの案内（目立つ帯） */
.mg-cta8 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: center; margin-top: 40px; padding: 22px 18px 22px 20px; border-radius: 20px; background: linear-gradient(135deg, #22565f 0%, #173d45 100%); color: #fff; overflow: hidden; }

.mg-cta8__body { position: relative; min-width: 0; }
.mg-main .mg-cta8__eyebrow { display: inline-flex; align-items: center; gap: 5px; margin: 0 !important; padding: 3px 10px 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; color: #fff; }
.mg-main .mg-cta8__title { margin: 10px 0 0 !important; font-size: 21px; font-weight: 800; line-height: 1.38; letter-spacing: -.01em; color: #fff; }
.mg-cta8__btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px; background: #fff; color: var(--mg-ink) !important; font-size: 14px; font-weight: 800; box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.mg-cta8__btn:hover { background: #f3f3ef; }
@media (min-width: 640px) { .mg-cta8 { grid-template-columns: minmax(0, 1fr) 150px; padding: 28px; } .mg-main .mg-cta8__title { font-size: 24px; } }
@media (min-width: 1024px) { .mg-cta8 { grid-template-columns: minmax(0, 1fr) 180px; margin-top: 44px; padding: 32px 44px; } .mg-main .mg-cta8__title { font-size: 27px; } }

/* スマホの「機材を投稿」ボタン（右下に浮かぶ） */

/* よく使われるエフェクター：ギタリスト／ベーシストの切り替えを大きなボタンに */
.mg-seg.mg-seg--pill { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 14px; padding: 4px; border: 0; border-radius: 999px; background: #fff; overflow: visible; }
.mg-seg--pill .mg-seg__btn { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none !important; font-size: 14px; font-weight: 700; color: var(--mg-sub) !important; cursor: pointer; }
.mg-seg--pill .mg-seg__btn[aria-selected="true"] { background: var(--mg-ink) !important; color: #fff !important; }
.mg-seg--pill .mg-seg__btn::after { display: none !important; }
.mg-seg--pill .mg-seg__btn:not([aria-selected="true"]):hover { color: var(--mg-ink) !important; }
@media (min-width: 640px) { .mg-seg.mg-seg--pill { max-width: 380px; } }

/* ---------- 19. v8.4 ---------- */
/* トップの見出し：大きく。説明文はスマホで読点のところで折り返す。数はひかえめに1行 */
.mg-main .mg-hero__title { margin-top: 12px !important; font-size: 36px; font-weight: 800; line-height: 1.24; letter-spacing: -.04em; }
.mg-hero__title span { display: inline-block; }
@media (min-width: 768px) { .mg-main .mg-hero__title { font-size: 48px; } }
@media (min-width: 1024px) { .mg-main .mg-hero__title { font-size: 56px; } }
@media (min-width: 1200px) { .mg-main .mg-hero__title { font-size: 64px; } }
.mg-main .mg-hero__note { margin-top: 14px !important; font-size: 13.5px; font-weight: 600; line-height: 1.75; color: var(--mg-ink2); }
.mg-hero__note span { display: inline-block; }
@media (min-width: 1024px) { .mg-main .mg-hero__note { font-size: 14px; } }
.mg-main .mg-hero__count { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; margin: 10px 0 0 !important; font-size: 12px; color: var(--mg-sub); }
.mg-hero__count span { display: inline-flex; align-items: baseline; gap: 5px; }
.mg-hero__count span + span::before { content: ""; align-self: center; width: 1px; height: 11px; margin: 0 12px; background: var(--mg-line-strong); }
.mg-hero__count b { font-family: var(--mg-num); font-size: 13.5px; font-weight: 700; color: var(--mg-ink); font-variant-numeric: tabular-nums; }
.mg-hero .mg-search { margin-top: 16px; }
/* 機材の写真の帯（ゆっくり横に流れる） */
.mg-ribbon { margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mg-ribbon__track { display: flex; width: max-content; animation: mg-ribbon 80s linear infinite; }
.mg-ribbon__item { position: relative; flex: none; width: 76px; height: 76px; margin-right: 10px; border-radius: 14px; background: #fff; overflow: hidden; }
.mg-ribbon__item img { position: absolute; left: 11%; top: 11%; width: 78%; height: 78%; object-fit: contain; }
@keyframes mg-ribbon { to { transform: translateX(-50%); } }
@media (min-width: 1024px) { .mg-ribbon { margin-top: 44px; } .mg-ribbon__item { width: 104px; height: 104px; margin-right: 14px; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .mg-ribbon__track { animation: none; } }

/* 機材のタイル（一覧・同じメーカー など）：白いカードに入れ、使っている人の顔を小さく出す */
.mg-tiles { gap: 8px; }
@media (min-width: 640px) { .mg-tiles { gap: 12px; } }
.mg-tile { display: flex; flex-direction: column; min-width: 0; padding: 8px 8px 10px; border-radius: 14px; background: #fff; }
.mg-tile__img, .mg-tile .mg-thumb { border-radius: 10px !important; background: #f7f7f4 !important; }
.mg-tile__maker { margin-top: 8px; padding: 0 2px !important; }
.mg-tile__name { padding: 0 2px !important; }
.mg-tile__use { display: flex; align-items: center; gap: 5px; margin-top: auto; padding: 8px 2px 0 !important; font-size: 11px; color: var(--mg-ink2); }
.mg-tile__use > span:last-child { white-space: nowrap; }
.mg-tile__use .mg-faces { display: inline-flex !important; }
.mg-tile__use .mg-faces .mg-av { width: 18px; height: 18px; font-size: 8px; }
.mg-tiles--scroll { gap: 8px; }
.mg-tiles--scroll .mg-tile { width: 136px; }

/* PICK UP：「○点の機材」は白い札に線で（写真の色とまぎれないように） */
.mg-pk__n { background: #fff; border: 1px solid var(--mg-line-strong); }

/* 自分の機材ページの案内：文言と絵は v7 のもの */
.mg-main .mg-cta8__eyebrow { padding: 0; border-radius: 0; background: none; font-family: var(--mg-num); font-size: 11px; letter-spacing: .14em; color: #9ec3c9; }
.mg-cta8__svg { position: relative; justify-self: end; width: 100px; height: auto; }
@media (min-width: 640px) { .mg-cta8__svg { width: 128px; } }
@media (min-width: 1024px) { .mg-cta8__svg { width: 150px; } }
.mg-cta8__btn .mg-ico { margin-left: 2px; }

/* よく使われるエフェクター：切り替え（白いつまみが横にすべる） */
.mg-seg.mg-seg--pill { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 0; width: min(100%, 300px); max-width: none; margin: 0 0 16px; padding: 3px; border-radius: 999px; background: #e3e3dd; }
.mg-seg.mg-seg--pill::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(20, 20, 20, .14), 0 0 0 .5px rgba(20, 20, 20, .04); transform: translateX(calc(var(--seg-i, 0) * 100%)); transition: transform .3s cubic-bezier(.3, .7, .2, 1); }
.mg-seg--pill .mg-seg__btn { position: relative; z-index: 1; height: 36px; padding: 0 10px; border-radius: 999px; background: none !important; font-size: 13.5px; font-weight: 700; color: var(--mg-sub) !important; transition: color .2s; }
.mg-seg--pill .mg-seg__btn[aria-selected="true"] { background: none !important; color: var(--mg-ink) !important; }
.mg-tabs__panel:not([hidden]) { animation: mg-fade .28s ease; }
@keyframes mg-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mg-seg.mg-seg--pill::before { transition: none; } .mg-tabs__panel:not([hidden]) { animation: none; } }

/* 自分のページ（はじめの設定・編集）：新しい見た目に */
.mg-mypage .mg-phead { padding-top: 22px; }
.mg-main .mg-mypage__eyebrow { margin: 0 0 2px !important; font-family: var(--mg-num); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--mg-sub); }
.mg-mypage .mg-phead__lead a { color: var(--mg-accent) !important; font-weight: 700; text-decoration: underline !important; }
.mg-mypage__card { margin-top: 16px; padding: 20px 16px 22px; border-radius: var(--mg-card-r); background: #fff; }
.mg-mypage__edit { margin-top: 12px; }
@media (min-width: 1024px) { .mg-mypage > .mg-wrap { max-width: 920px; margin: 0 auto; } .mg-mypage__card { padding: 28px 32px; } }
.mg-mypage .mygear-btn { background: var(--mg-ink) !important; color: #fff !important; border-radius: 999px; }
.mg-mypage .mygear-btn:hover { background: #333 !important; }
/* 編集画面：上の黒い帯（戻る・保存）を、ヘッダーの下に貼りつく明るい帯に。余白をつめる */
.mg-mypage .rl-shell--mypage { padding: 0 !important; }
.mg-mypage .mygear-my { padding-top: 0 !important; }
.mg-mypage .mygear-editbar { position: sticky; top: calc(var(--mg-hd) + var(--mg-gnav)); left: auto; right: auto; z-index: 80; height: 52px; margin: 0 calc(-1 * var(--mg-gut)) 12px; padding: 0 var(--mg-gut); background: rgba(239, 239, 234, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mg-line); }
body.admin-bar .mg-mypage .mygear-editbar { top: calc(var(--mg-hd) + var(--mg-gnav) + 46px); }
@media (min-width: 783px) { body.admin-bar .mg-mypage .mygear-editbar { top: calc(var(--mg-hd) + var(--mg-gnav) + 32px); } }
.mg-mypage .mygear-editbar__back { color: var(--mg-sub) !important; }
.mg-mypage .mygear-editbar__back:hover { color: var(--mg-ink) !important; }
.mg-mypage .mygear-editbar__title { color: var(--mg-ink) !important; font-weight: 700; }
.mg-mypage .mygear-editbar__save { height: 36px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--mg-ink) !important; color: #fff !important; font-weight: 700; }
.mg-mypage .mg-mypage__head + .mg-mypage__edit { margin-top: 4px; }
.mg-mypage .mygear-editbar__title { visibility: hidden; }


/* ---------- 20. v8.5 ---------- */
/* ヘッダーのロゴを大きく */
.mg-hd__logo .mg-logo { height: 26px; }
@media (min-width: 1024px) { .mg-hd__logo .mg-logo { height: 29px; } }
/* 機材の写真の帯：触っても止まらない（押せるものと見まちがえないように）。少し小さく、数を多く */
.mg-ribbon { pointer-events: none; user-select: none; -webkit-user-select: none; }
.mg-ribbon__track { animation-duration: 110s; }
.mg-ribbon__item { width: 62px; height: 62px; margin-right: 8px; border-radius: 12px; }
@media (min-width: 1024px) { .mg-ribbon__item { width: 84px; height: 84px; margin-right: 10px; border-radius: 14px; } }
/* 自分の機材ページの案内：絵（紙が3枚重なる） */
.mg-cta8__svg { width: 104px; }
@media (min-width: 640px) { .mg-cta8__svg { width: 132px; } }
@media (min-width: 1024px) { .mg-cta8__svg { width: 152px; } }
/* 小さい版（アーティスト・機材のページ） */
.mg-cta8--sm { grid-template-columns: minmax(0, 1fr) 84px; margin-top: 16px; padding: 18px 16px 18px 18px; border-radius: 16px; }
.mg-cta8--sm .mg-cta8__title { margin-top: 6px !important; font-size: 17px; }
.mg-cta8--sm .mg-cta8__btn { height: 40px; margin-top: 12px; padding: 0 16px 0 18px; font-size: 13.5px; }
.mg-cta8--sm .mg-cta8__svg { width: 84px; }
@media (min-width: 640px) { .mg-cta8--sm { grid-template-columns: minmax(0, 1fr) 104px; padding: 22px 26px; } .mg-cta8--sm .mg-cta8__svg { width: 104px; } .mg-cta8--sm .mg-cta8__title { font-size: 19px; } }
/* コメント：いつも開いた形。入力欄はふつうの枠、ログインしていないときは押すとログインへ */
.mg-comments__box { padding: 16px; border: 0; border-radius: var(--mg-card-r); background: #fff; }
.mg-comments__box > *:not(summary) { margin-left: 0; margin-right: 0; }
.mg-comments__box > *:last-child { margin-bottom: 0; }
.mg-comments__top { margin-bottom: 14px; }
.mg-main .mg-comments__count { margin: 0 !important; font-size: 14px; font-weight: 700; }
.mg-comments__count b { margin-right: 2px; font-family: var(--mg-num); font-size: 17px; }
.mg-main .mg-comments__note { margin: 4px 0 0 !important; font-size: 12px; line-height: 1.7; color: var(--mg-sub); }
.mg-comments .yt-add { max-width: none; gap: 10px; }
.mg-comments .yt-add__avatar, .mg-comments .yt-add .avatar { width: 36px; height: 36px; }
.mg-comments .yt-add__input { min-height: 76px; padding: 10px 12px; border: 1px solid var(--mg-line-strong) !important; border-radius: 12px !important; font-size: 14.5px; line-height: 1.6; }
.mg-comments .yt-add__input:focus { border-color: var(--mg-ink) !important; outline: none; }
.mg-comments .yt-add__submit { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--mg-ink) !important; color: #fff !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; }
.mg-comments .yt-add--guest { align-items: flex-start; padding: 0; border: 0; border-radius: 0; color: inherit !important; font-size: inherit; }
.mg-comments .yt-add--guest .yt-add__avatar--ph { display: grid; place-items: center; width: 36px; height: 36px; color: #b4b4ad; background: var(--mg-gray); }
.mg-comments .yt-add__fake { display: block; min-height: 76px; padding: 10px 12px; border: 1px solid var(--mg-line-strong); border-radius: 12px; background: #fafaf8; font-size: 14.5px; color: var(--mg-mute) !important; text-decoration: none !important; cursor: text; }
.mg-comments .yt-add__fake:hover { border-color: var(--mg-ink); }
.mg-main .mg-comments__empty { margin: 14px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--mg-line2); font-size: 13px; color: var(--mg-sub); text-align: center; }
.mg-comments .yt-list { margin-top: 14px !important; padding-top: 4px; border-top: 1px solid var(--mg-line2); }

/* ---------- 21. v8.5.1 ---------- */
/* ページ送り：Cocoon の .page-numbers（幅46px・行の高さ44px・「…」の灰色）を打ち消す。PC は「‹ 前へ」「次へ ›」、スマホは矢印だけ */
.mg-main .rl-pager { align-items: center; gap: 6px; }
.mg-main .rl-pager .page-numbers { box-sizing: border-box; width: auto; min-width: 38px; height: 38px; margin: 0; padding: 0 12px; border: 1px solid var(--mg-line); border-radius: 8px; background: #fff; line-height: 1; white-space: nowrap; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-main .rl-pager .page-numbers.current { background: var(--mg-ink); border-color: var(--mg-ink); color: #fff !important; }
.mg-main .rl-pager .page-numbers.prev, .mg-main .rl-pager .page-numbers.next { gap: 6px; padding: 0 14px; font-size: 16px; }
.mg-main .rl-pager .page-numbers.dots { min-width: 22px; padding: 0 2px; border: 0; background: transparent; color: var(--mg-mute) !important; }
.mg-main .rl-pager .page-numbers.is-off { opacity: .4; cursor: default; }
.mg-main .rl-pager .rl-pager__txt { display: inline; font-size: 13px; font-weight: 700; }
@media (max-width: 420px) {
  .mg-main .rl-pager { gap: 5px; }
  .mg-main .rl-pager .rl-pager__txt { display: none; }
  .mg-main .rl-pager .page-numbers { min-width: 36px; height: 36px; padding: 0 10px; }
  .mg-main .rl-pager .page-numbers.prev, .mg-main .rl-pager .page-numbers.next { padding: 0 12px; }
}
/* ユーザーの編集画面：保存ボタンは上も下も同じ文字の形（太さ・大きさ・書体） */
.mg-mypage .mygear-editbar__save, .mg-mypage .mygear-my__save .mygear-btn { font-family: var(--mg-ff); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
/* ユーザーの機材の「演奏」リンク（出典の列と同じ形。サムネは押すと動画が開く） */
.mg-src8__img.is-play { cursor: pointer; }
.mg-src8__img.is-play > i { left: 50%; top: 50%; right: auto; bottom: auto; width: 20px; height: 20px; transform: translate(-50%, -50%); background: rgba(20, 20, 20, .78); color: #fff; box-shadow: none; }
.mg-src8__img.is-play > i .mg-ico { width: 10px; height: 10px; margin-left: 1px; }
.mg-src8__img.is-play.is-none { background: #fff; }
.mygear-play-row + .mygear-play-row { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rl-line, #e2e2dc); }
.mg-main .rl-pager .page-numbers.prev > span[aria-hidden], .mg-main .rl-pager .page-numbers.next > span[aria-hidden], .mg-main .rl-pager .page-numbers.is-off > span:not(.rl-pager__txt) { position: relative; top: -1px; }
.mg-srcs8__tag { flex: 0 0 auto; white-space: nowrap; }
/* v8.37.5：ユーザーのページの演奏の列も、アーティストのページの出典と同じ大きさにした（小さくする指定は消した） */

/* ---------- 22. v8.5.2 ---------- */
/* 年表：縦の線を太く濃く、年の札は黒。札とカードをつなぐ横の線をスマホにも出す */
.mg-years::before { width: 2px; background: #c6c6be; }
.mg-years__y { padding: 4px 9px; border: 0; border-radius: 999px; background: var(--mg-ink); color: #fff; font-size: 11.5px; box-shadow: none; }
.mg-years__item.is-noyear .mg-years__y { width: 12px; height: 12px; padding: 0; border: 2px solid #a9a9a1; background: var(--mg-gray); box-shadow: 0 0 0 3px var(--mg-gray); }
.mg-years__dec::before { width: 11px; height: 11px; background: var(--mg-ink); box-shadow: 0 0 0 4px var(--mg-gray); }
.mg-years__dec.is-none::before { border: 2px solid #a9a9a1; background: var(--mg-gray); }
.mg-years__card::before { content: ""; position: absolute; top: 50%; right: 100%; width: 18px; height: 2px; margin-top: -1px; background: #c6c6be; }
.mg-years__item.is-noyear .mg-years__card::before { width: 14px; }
@media (min-width: 900px) {
  .mg-years__card::before { width: 26px; height: 2px; background: #c6c6be; }
  .mg-years__item.is-l .mg-years__card::before { left: 100%; right: auto; }
}
/* ヘッダーの「機材を投稿」（スマホ・PC とも）。未ログインは黒、ログイン中は枠線 */
.mg-hd__post { display: inline-flex !important; align-items: center; gap: 4px; height: 34px; padding: 0 14px 0 11px; border: 1px solid var(--mg-ink); border-radius: 999px; background: #fff; color: var(--mg-ink) !important; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none !important; }
.mg-hd__post .mg-ico { width: 16px; height: 16px; flex: 0 0 auto; }
.mg-hd__post:hover { background: var(--mg-tile); }
.mg-hd__post.is-guest { margin-left: 2px; background: var(--mg-ink); color: #fff !important; }
.mg-hd__post.is-guest:hover { background: #333; }
@media (max-width: 359px) { .mg-hd__post:not(.is-guest) { width: 34px; padding: 0; justify-content: center; } .mg-hd__post:not(.is-guest) span { display: none; } }
@media (min-width: 1024px) { .mg-hd__post { height: 36px; padding: 0 16px 0 13px; } }

/* ---------- 23. v8.5.3 ---------- */
/* はじめの設定（初ログイン）：白い枠に内側の余白をとり、PC は幅を絞って真ん中に */
.mg-mypage .rl-shell--mypage.mg-mypage__card { margin-top: 18px; padding: 24px 18px 26px !important; }
.mg-mypage__card .mygear-setup { max-width: none; }
.mg-mypage__start .mg-phead__lead { text-wrap: balance; }
.mg-mypage__card .mygear-setup__steps { gap: 26px; }
.mg-mypage__card .mygear-setup__step { gap: 12px; }
.mg-mypage__card .mygear-setup__no { width: 24px; height: 24px; font-size: 12.5px; }
.mg-mypage__card .mygear-setup__body { gap: 10px; }
.mg-mypage__card .mygear-setup__label { line-height: 24px; }
.mg-mypage__card .mygear-setup__foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--mg-line2); }
.mg-mypage__card .mygear-setup__foot .mygear-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; min-height: 0; padding: 0 28px; line-height: 1; font-family: var(--mg-ff); font-size: 14.5px; font-weight: 700; }
@media (max-width: 600px) {
  .mg-mypage__card .mygear-setup__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .mg-mypage__card .mygear-setup__later { align-self: center; padding: 4px 8px; }
}
@media (min-width: 640px) {
  .mg-mypage > .mg-wrap.mg-mypage__start { max-width: 640px; margin: 0 auto; }
  .mg-mypage .rl-shell--mypage.mg-mypage__card { padding: 32px 36px 32px !important; }
}

/* ---------- 20. v8.8 PC の見え方（1024px 以上だけ。スマホは今までどおり） ---------- */
.mg-bandcard__who, .mg-bandcard__gear { display: none; }
@media (min-width: 1024px) {
	/* 全体：中身の幅を 1320px までにして、文字を一段大きく */
	.mg-main .mg-wrap, .mg-layout .mg-wrap { max-width: 1400px; margin-left: auto; margin-right: auto; }
	.mg-main { font-size: 15px; }
	.mg-main .mg-phead__title { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
	.mg-main .mg-phead__lead { margin-top: 10px !important; font-size: 15px; color: var(--mg-ink2); }
	.mg-sechead__title { min-height: 48px; }
	.mg-sechead__en { font-size: 24px !important; }
	.mg-sechead__ja { font-size: 13px !important; }
	.mg-sechead__link { font-size: 14px; }
	.mg-filter__q { height: 52px; font-size: 16px; }
	.mg-filter__q input { font-size: 16px; }
	.mg-main .mg-count { font-size: 14px; }
	.mg-main .mg-count b, .mg-main .mg-count span { font-size: 18px; }

	/* アーティストのページ：上の名札を大きく */
	.mg-prof8 { padding: 40px 48px 36px; }
	.mg-prof8__grid { grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-areas: "av id nums" "av rest rest"; column-gap: 36px; align-items: start; }
	.mg-prof8__av.mg-av--xl { width: 150px; height: 150px; font-size: 56px; box-shadow: 0 6px 18px rgba(20, 20, 20, .12); }
	.mg-prof8__id { align-self: center; row-gap: 6px; }
	.mg-main .mg-prof8__name { font-size: 42px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
	.mg-main .mg-prof8__sub { font-size: 16px; color: var(--mg-sub); }
	.mg-main .mg-prof8__pos { font-size: 15px; font-weight: 600; gap: 4px 16px; }
	.mg-prof8__pos i { width: 10px; height: 10px; }
	/* SNS：アイコンだけのボタン（大きめ・丸く。名前の文字は出さない） */
	.mg-prof8 .mg-plinks { gap: 10px; margin-top: 14px !important; }
	.mg-prof8 .mg-plink { width: 44px; height: 44px; border-radius: 12px; }
	.mg-prof8 .mg-plink svg { width: 21px; height: 21px; }
	.mg-prof8 .mg-plink:hover { filter: brightness(1.08); transform: translateY(-1px); }
	/* 数（機材・出典・バンド）：右上に大きく */
	.mg-main .mg-prof8__nums { grid-area: nums; align-self: center; display: flex; gap: 0; margin: 0; padding: 0; border: 0; }
	.mg-prof8__nums li { flex: none; padding: 4px 28px; }
	.mg-prof8__nums li + li { border-left: 1px solid var(--mg-line2) !important; }
	.mg-prof8__nums li:last-child { padding-right: 0; }
	.mg-prof8__nums a, .mg-prof8__num { flex-direction: column; align-items: center; gap: 2px; }
	.mg-prof8__nums b { font-size: 34px; line-height: 1.1; }
	.mg-prof8__nums span span, .mg-prof8__nums a span { font-size: 13px; }
	.mg-prof8__rest { grid-area: rest; max-width: 46em; margin-top: 22px; }
	.mg-prof8 .mg-intro { font-size: 16px; line-height: 1.95; }
	.mg-prof8 .mg-clamp__btn { font-size: 14px; }
	.mg-prof8 .mg-bandlinks { gap: 8px; margin-top: 18px !important; }
	.mg-bandlink { height: 40px; padding: 0 18px 0 14px; font-size: 14.5px; }
	/* カテゴリーのチップ・見出し・機材のカード */
	.mg-jump { gap: 8px; }
	.mg-jump__item { height: 40px; padding: 0 18px; font-size: 15px; }
	.mg-jump__item b { font-size: 13px; }
	.mg-main .mg-cat-sec > .mg-subh { margin: 0 0 10px !important; }
	.mg-cat-sec > .mg-subh > span { font-size: 22px; font-weight: 800; }
	.mg-cat-sec > .mg-subh > small { font-size: 14px; }
	.mg-gcard__maker { font-size: 13px; }
	.mg-gcard__name { font-size: 18px; font-weight: 700; line-height: 1.4; }
	.mg-main .mg-gcard__note { font-size: 14.5px; line-height: 1.85; }
	.mg-src8__t { font-size: 13.5px; }
	.mg-more { height: 52px; font-size: 15px; }

	/* 検索結果などのバンドの行（.mg-bands の外）は、文字だけ大きく */
	.mg-bandcard__name { font-size: 16px; }

	/* バンドのページ・人の一覧 */
	.mg-main .mg-bandbox .mg-intro { font-size: 15.5px; line-height: 1.9; }
	.mg-main .mg-stats { padding: 14px 0; }
	.mg-main .mg-stats dd { font-size: 28px; }
	.mg-stats dt { font-size: 13px; }
	.mg-main .mg-plist__row { min-height: 72px; gap: 16px; }
	.mg-main .mg-plist__row .mg-av--md { width: 52px; height: 52px; font-size: 19px; }
	.mg-main .mg-plist__id b { font-size: 17px; }
	.mg-main .mg-plist__id span { font-size: 13px; }
	.mg-main .mg-plist__n b { font-size: 18px; }
	.mg-main .mg-pcard .mg-av--md { width: 52px; height: 52px; font-size: 19px; }
	.mg-main .mg-pcard__name { font-size: 17px; }
	.mg-main .mg-pcard__sub { font-size: 13px; }
	.mg-pcard__gears .mg-thumb { width: 52px; height: 52px; }
	.mg-tile__name { font-size: 15px; }
	.mg-tile__maker { font-size: 12.5px; }

	/* チップ・並べ替え・2列のページ（バンド・機材）の左の列 */
	.mg-chips { gap: 10px; }
	.mg-chip { height: 40px; padding: 0 17px; font-size: 14.5px; }
	.mg-chip b { font-size: 13px; }
	.mg-seg--sm .mg-seg__btn { height: 36px; font-size: 14px; }
	.mg-seg__btn { height: 48px; font-size: 15px; }
	.mg-split { grid-template-columns: 420px minmax(0, 1fr); gap: 48px; }
	.mg-main .mg-bandbox .mg-phead__title { font-size: 36px; line-height: 1.2; }
	/* 機材のページ */
	.mg-ghead__maker { font-size: 15px; }
	.mg-main .mg-ghead__name { font-size: 38px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
	.mg-gtag { font-size: 13px; }
	.mg-main .mg-gtop .mg-intro, .mg-main .mg-gbody .mg-intro, .mg-main .mg-gtop__info .mg-intro { font-size: 15.5px; line-height: 1.9; }
	.mg-gfacts { font-size: 15px; }
	.mg-gfact b { font-size: 26px; }
	.mg-main .mg-who__top b { font-size: 17px; }
	.mg-main .mg-who__top span { font-size: 13px; }
	.mg-main .mg-who__note { font-size: 14px; line-height: 1.8; }
	.mg-who .mg-av, .mg-years__card .mg-av { width: 48px; height: 48px; font-size: 17px; }
	.mg-hd__link { white-space: nowrap; }
	.mg-main .rl-crumbs__list { font-size: 13px; }
}
@media (min-width: 1280px) {
	/* 上の帯（メニュー）：少し高く、文字を大きく（幅に余裕があるときだけ） */
	:root { --mg-hd: 72px; }
	.mg-hd__logo .mg-logo { height: 28px; }
	.mg-hd__link { padding: 0 14px; font-size: 15.5px; }
	.mg-hd__link.is-on::after { left: 14px; right: 14px; }
	.mg-hd__searchbox { height: 44px; }
	.mg-hd__searchbox input { font-size: 14.5px; }
	.mg-hd__post, .mg-hd__login { height: 42px; font-size: 14px; }
}

/* ---------- 21. v8.9 トップ（PC は文字を太く大きく。数は枠に入れる） ---------- */
.mg-main .mg-hero__count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 18px 0 18px !important; }
.mg-hero__count span { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 20, .05), inset 0 0 0 1px var(--mg-line2); font-size: 11.5px; font-weight: 700; color: var(--mg-sub); line-height: 1.3; }
.mg-hero__count span + span::before { display: none; }
.mg-hero__count b { font-family: var(--mg-num); font-size: 22px; font-weight: 800; color: var(--mg-ink); letter-spacing: -.01em; line-height: 1.15; }
@media (min-width: 1024px) {
	.mg-main .mg-hero__title { font-weight: 900; }
	.mg-main .mg-hero__note { margin-top: 18px !important; font-size: 17px; font-weight: 700; line-height: 1.8; color: var(--mg-ink); }
	.mg-main .mg-hero__count { gap: 12px; max-width: 560px; margin: 26px 0 26px !important; }
	.mg-hero__count span { padding: 14px 20px 12px; border-radius: 16px; font-size: 13px; }
	.mg-hero__count b { font-size: 34px; }
	.mg-search--hero .mg-search__box { height: 58px; padding: 0 22px; box-shadow: 0 2px 10px rgba(20, 20, 20, .06) !important; }
	.mg-search--hero .mg-search__box input { font-size: 16.5px; }
	.mg-way__txt b { font-size: 17px; font-weight: 800; }
	.mg-way__txt span, .mg-way__txt small { font-size: 13px; }
	/* 自分の機材ページの案内 */
	.mg-cta8 { padding: 40px 52px; }
	.mg-main .mg-cta8__eyebrow { font-size: 12.5px; padding: 4px 12px 4px 10px; }
	.mg-main .mg-cta8__title { font-size: 36px; font-weight: 900; line-height: 1.3; }
	.mg-cta8__btn { height: 54px; margin-top: 20px; padding: 0 26px 0 22px; font-size: 16px; }
	/* ランキング・チャートのカード、カテゴリー、新着、PICK UP */
	.mg-rcard__maker { font-size: 12px; }
	.mg-rcard__name { font-size: 16.5px; font-weight: 800; }
	.mg-rcard__use { font-size: 12.5px; }
	.mg-rcard__use b { font-size: 17px; }
	.mg-cat__name { font-size: 16px; font-weight: 800; }
	.mg-cat__n { font-size: 13px; }
	.mg-person__name { font-size: 14px; font-weight: 700; }
	.mg-person__sub { font-size: 12px; }
	.mg-pk__name { font-size: 18px; font-weight: 800; }
	.mg-pk__band { font-size: 13px; }
	.mg-pk__main { font-size: 12.5px; }
	.mg-tline__text { font-size: 14.5px; }
	.mg-sec { margin-top: 56px; }
}
/* 出典の画像：ほんの少し大きく（64×48 → 76×57、PC は 84×63） */
.mg-src8 { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.mg-src8__img { width: 76px; height: 57px; }
@media (min-width: 1024px) { .mg-src8 { grid-template-columns: 84px minmax(0, 1fr); } .mg-src8__img { width: 84px; height: 63px; } }

/* v8.12.0：スマホの機材ページで、写真の枠が白いカードの左右からはみ出していた（カードの内側の余白 14px に合わせる） */
@media (max-width: 639px) {
	.mg-main .mg-gtop .mg-ghero { margin: -14px -14px 0 !important; width: calc(100% + 28px); border-radius: var(--mg-card-r) var(--mg-card-r) 0 0; }
}
/* v8.12.0：フッターのロゴを消したので、案内の列を横いっぱいに */
@media (min-width: 768px) { .mg-ft__in { grid-template-columns: minmax(0, 1fr); } .mg-ft__cols { grid-template-columns: repeat(3, minmax(0, 220px)); } }

/* ============================================================
 * v8.14.0 トップの上の部分（v8.15.0 で重ね書きを1つにまとめた。見た目は同じ）
 *   見出し「アーティストの／機材データベース」（2行とも同じ大きさ・色）・「検索」ボタンつきの検索・数のカード・絵のカードに淡い光
 * ============================================================ */
.mg-hero--v14 { position: relative; overflow: hidden; }
.mg-hero--v14::before { content: ""; position: absolute; z-index: 0; right: -120px; top: -80px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 93, 104, .16), rgba(47, 93, 104, 0)); pointer-events: none; }
.mg-hero--v14::after { content: ""; position: absolute; z-index: 0; left: -160px; bottom: 40px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 135, 58, .10), rgba(232, 135, 58, 0)); pointer-events: none; }
.mg-hero--v14 > * { position: relative; z-index: 1; }
/* 見出し */
.mg-main .mg-hero--v14 .mg-hero__title--db { margin: 0 !important; font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.18; }
@media (min-width: 768px) { .mg-main .mg-hero--v14 .mg-hero__title--db { font-size: 54px; } }
@media (min-width: 1200px) { .mg-main .mg-hero--v14 .mg-hero__title--db { font-size: 60px; } }
@media (max-width: 374px) { .mg-main .mg-hero--v14 .mg-hero__title--db { font-size: 34px; } }
/* v8.32.0：2行目が「使用機材データベース」（10文字）になったので、スマホでは画面の幅に合わせて文字を小さくする（はみ出さないように） */
@media (max-width: 767px) { .mg-main .mg-hero--v14 .mg-hero__title--db { font-size: min(40px, calc((100vw - 44px) / 10.3)); } }
.mg-hero__title--db span { display: block; }
.mg-hero__t1 { margin-bottom: 0; font-size: 1em; font-weight: 900; letter-spacing: -.03em; color: var(--mg-ink); }
.mg-hero__t2 { color: var(--mg-ink); }
.mg-main .mg-hero--v14 .mg-hero__note { margin-top: 16px !important; font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--mg-ink2); }
@media (min-width: 1024px) { .mg-main .mg-hero--v14 .mg-hero__note { font-size: 16px; } }
/* 検索：ボタンつき（枠線と影は下の「検索窓」の項） */
.mg-hero--v14 .mg-search { margin-top: 22px; max-width: 600px; }
.mg-hero--v14 .mg-search__box { height: 56px !important; padding: 0 6px 0 20px !important; border-radius: 999px; }
.mg-hero--v14 .mg-search__box input { min-width: 0; font-size: 16px; }
.mg-search__go { flex: none; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--mg-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background .15s; }
.mg-search__go:hover { background: var(--mg-teal); }
.mg-search .mg-search__go { color: #fff !important; }
@media (min-width: 1024px) { .mg-hero--v14 .mg-search__box { height: 62px !important; } .mg-search__go { height: 50px; padding: 0 28px; font-size: 15px; } }
@media (max-width: 767px) { .mg-hero--v14 .mg-search__box input { font-size: 15px; } .mg-search__go { padding: 0 18px; } }
/* 数：白い小さなカードを横に3つ（数字の下に言葉） */
.mg-main .mg-hero--v14 .mg-hero__count--v14 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 600px; margin: 18px 0 0 !important; }
.mg-hero__count--v14 span { position: relative; display: flex; flex-direction: column; flex-wrap: wrap; align-items: flex-start; gap: 3px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 0 0 1px var(--mg-line2); font-size: 11.5px; font-weight: 700; color: var(--mg-sub); }
.mg-hero__count--v14 span::before { display: none !important; }
.mg-hero__count--v14 b { font-family: var(--mg-num); font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: var(--mg-ink); }
@media (min-width: 1024px) { .mg-hero__count--v14 span { padding: 16px 20px; font-size: 13px; } .mg-hero__count--v14 b { font-size: 32px; } }
/* 右の絵のカード：影をやわらかく、さわると浮く */
.mg-hero--v14 .mg-way { box-shadow: 0 10px 30px rgba(20, 20, 20, .08); transition: box-shadow .2s, transform .2s; }
.mg-hero--v14 .mg-way:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(20, 20, 20, .12); }
@media (min-width: 1024px) { .mg-hero--v14 .mg-ways { gap: 16px; } .mg-hero--v14 .mg-hero__in { align-items: center; } }
/* スマホ：絵のカードは低くして、最初の画面に収まりやすく */
@media (max-width: 767px) {
	.mg-hero--v14 { padding-top: 22px; }
	.mg-hero--v14 .mg-way__art { aspect-ratio: 16 / 10; }
	.mg-hero--v14::before { width: 420px; height: 420px; right: -180px; top: -120px; }
	.mg-hero__count--v14 b { font-size: 19px; }
}
/* 機材の写真の帯：左右の端をふわっと消す */
.mg-hero--v14 .mg-ribbon { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }

/* ============================================================
 * v8.14.0 ほかのページもトップとそろえる
 *   見出しは太く詰めて、入り口のカードは白い角丸に影
 * ============================================================ */
.mg-main .mg-phead__title { font-weight: 900; letter-spacing: -.03em; }
.mg-door { border-color: transparent !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 0 0 1px var(--mg-line2) !important; transition: box-shadow .2s, transform .2s; }
.mg-door:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 20, 20, .10) !important; }
.mg-door__n { font-family: var(--mg-num); font-weight: 800 !important; letter-spacing: -.01em; }

/* 検索窓（全ページ）：白い丸い欄。さわる前からうすい枠線、さわると黒い枠 */
.mg-filter__q, .mg-main .mg-search__box { background: #fff !important; }
.mg-filter__q { height: 44px; }
.mg-filter__q, .mg-main .mg-search__box, .mg-hd__searchbox { border: 1px solid #d3d3cc !important; box-shadow: 0 2px 8px rgba(20, 20, 20, .04) !important; }
.mg-filter__q:hover, .mg-main .mg-search__box:hover, .mg-hd__searchbox:hover { border-color: #b9b9b2 !important; }
.mg-filter__q:focus-within, .mg-main .mg-search__box:focus-within, .mg-hd__searchbox:focus-within { border-color: var(--mg-ink) !important; box-shadow: 0 0 0 3px rgba(20, 20, 20, .08) !important; }
.mg-hero--v14 .mg-search__box { border: 1px solid #d3d3cc !important; box-shadow: 0 8px 24px rgba(20, 20, 20, .08) !important; }
.mg-hero--v14 .mg-search__box:focus-within { border-color: var(--mg-ink) !important; box-shadow: 0 8px 24px rgba(20, 20, 20, .08), 0 0 0 3px rgba(20, 20, 20, .08) !important; }

/* ===== v8.14.0 コラムの一覧：PCで3列のカード（note などの読みもの一覧の形） ===== */
.mg-colwide { max-width: 1120px; }
.mg-colwide .mg-collist--grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .mg-colwide .mg-collist--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .mg-colwide .mg-collist--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; } }
.mg-colwide .mg-collist__item { min-width: 0; display: flex; }
.mg-colwide .mg-collist__link { width: 100%; grid-template-rows: auto 1fr; border-color: transparent; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(20,20,20,.05), 0 0 0 1px var(--mg-line2); transition: transform .15s, box-shadow .15s; }
.mg-colwide .mg-collist__link:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,20,20,.08), 0 0 0 1px var(--mg-line2); }
.mg-colwide .mg-collist__eye { border-radius: 16px 16px 0 0; overflow: hidden; }
.mg-colwide .mg-collist__text { align-content: start; gap: 8px; padding: 16px 18px 20px; }
.mg-colwide .mg-collist__title { font-size: 16px; font-weight: 800; line-height: 1.6; letter-spacing: -.01em; text-wrap: pretty; }
.mg-colwide .mg-collist__desc { -webkit-line-clamp: 2; font-size: 13px; }
@media (min-width: 1024px) { .mg-colwide .mg-collist__title { font-size: 17px; } }
.mg-collist__t1, .mg-collist__t2 { display: block; }
.mg-collist__t2 { margin-top: 2px; font-size: .84em; font-weight: 700; color: var(--mg-sub); line-height: 1.55; }

/* ===== v8.14.0（2回目）機材とランキングの切り替え・機材の入口のランキング ===== */
.mg-gswitch { display: flex; gap: 6px; margin: 4px 0 20px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--mg-line2), 0 2px 8px rgba(20, 20, 20, .04); width: fit-content; max-width: 100%; }
.mg-gswitch__a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--mg-sub); text-decoration: none; white-space: nowrap; }
.mg-gswitch__a:hover { color: var(--mg-ink); background: var(--mg-gray, #f4f4f1); }
.mg-gswitch__a[aria-current="page"] { background: var(--mg-ink); color: #fff; }
.mg-gswitch__a svg { flex: none; }
@media (max-width: 374px) { .mg-gswitch__a { padding: 0 12px; font-size: 13px; } }

/* ============================================================
 * v8.15.0 PICK UP：スマホは細めのカードにして、2枚と少しが見えるように（縦長。写真は大1枚＋小2枚を上下に）
 * ============================================================ */
@media (max-width: 639px) {
	.mg-main .mg-picks__track { grid-auto-columns: 164px; gap: 10px; }
	.mg-pk__art { aspect-ratio: 1 / 1.08; }
	.mg-pk__art--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
	.mg-pk__art--3 .mg-pk__img:first-child { grid-row: auto; grid-column: 1 / 3; }
	.mg-pk__body { padding: 0 11px 11px; }
	.mg-pk__av { margin-top: -18px; }
	.mg-pk__av .mg-av--md { width: 38px; height: 38px; font-size: 14px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, .12); }
	.mg-pk__n { height: 22px; padding: 0 4px 0 8px; font-size: 10.5px; }
	.mg-pk__n b { font-size: 12.5px; }
	.mg-pk__name { margin-top: 6px; font-size: 14.5px; font-weight: 800; }
	.mg-pk__band { font-size: 11px; }
	.mg-pk__main { margin-top: 8px; padding-top: 7px; font-size: 10.5px; }
}

/* ============================================================
 * v8.15.0 アーティストのページ：バンドから探す（バンド1組＝カード1枚。メンバーへ直接行ける）
 * ============================================================ */
.mg-abands { margin-top: 8px; }
.mg-abands .mg-filter { margin-top: 4px; }
.mg-abgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 10px; }
@media (min-width: 640px) { .mg-abgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .mg-abgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.mg-abcard { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 0 0 1px var(--mg-line2); transition: box-shadow .2s; }
.mg-abcard[hidden] { display: none; }
.mg-abcard:hover { box-shadow: 0 10px 26px rgba(20, 20, 20, .08), 0 0 0 1px var(--mg-line2); }
.mg-abcard__head { display: block; padding: 12px 12px 0; color: var(--mg-ink) !important; text-decoration: none; }
.mg-abcard__title { display: flex; align-items: baseline; gap: 8px; padding: 12px 4px 10px; border-bottom: 1px solid var(--mg-line2); }
.mg-abcard__title b { min-width: 0; overflow: hidden; font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.mg-abcard__title span { flex: none; font-size: 12px; color: var(--mg-sub); white-space: nowrap; }
.mg-abcard__title .mg-ico { flex: none; align-self: center; margin-left: auto; color: var(--mg-mute); }
.mg-abcard__head:hover .mg-abcard__title b { text-decoration: underline; }
.mg-abcard__mem { margin: 0; padding: 6px 0 8px; list-style: none; }
.mg-abcard__who { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 7px 16px; color: var(--mg-ink) !important; text-decoration: none; }
.mg-abcard__who:hover { background: var(--mg-gray, #f4f4f1); }
.mg-abcard__n { min-width: 0; overflow: hidden; font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.mg-abcard__p { font-size: 11px; color: var(--mg-mute); white-space: nowrap; }
.mg-abcard__c { min-width: 38px; font-size: 11.5px; color: var(--mg-sub); text-align: right; white-space: nowrap; }
.mg-abcard__c b { margin-right: 1px; font-family: var(--mg-num); font-size: 14px; font-weight: 800; color: var(--mg-ink); }
.mg-abcard__more { display: block; padding: 6px 16px 4px; font-size: 12.5px; font-weight: 700; color: var(--mg-teal) !important; }

/* ============================================================
 * v8.16.0
 * ============================================================ */
/* 「自分の機材ページをつくろう」の説明は箇条書き */
.mg-main .mg-cta8__list { display: grid; gap: 4px; margin: 10px 0 0 !important; padding: 0 !important; list-style: none; font-size: 13px; font-weight: 600; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.mg-main .mg-cta8__list li { position: relative; margin: 0 !important; padding-left: 22px; }
.mg-main .mg-cta8__list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2px solid #9ec3c9; border-bottom: 2px solid #9ec3c9; transform: rotate(-45deg); }
@media (min-width: 1024px) { .mg-main .mg-cta8__list { font-size: 14px; } }
.mg-cta8--sm .mg-cta8__list { font-size: 12.5px; }

/* アーティストのページのバンドカード：写真をやめて小さく */
.mg-abgrid { gap: 12px; }
.mg-abcard__head { padding: 0; }
.mg-abcard__title { padding: 13px 16px 10px; }
.mg-abcard__title b { font-size: 16px; }
.mg-abcard__mem { padding: 4px 0 6px; }
.mg-abcard__who { padding: 6px 16px; }

/* トップの上の部分：背景にうすく大きな MY GEAR のマーク */
.mg-hero--v14 > .mg-hero__mark { position: absolute; z-index: 0; left: 34%; top: 50%; width: 440px; height: 440px; opacity: .16; transform: translateY(-50%) rotate(-14deg); pointer-events: none; }
.mg-hero__mark svg { display: block; width: 100%; height: 100%; }
@media (min-width: 1200px) { .mg-hero--v14 > .mg-hero__mark { left: calc(50% - 250px); width: 470px; height: 470px; } }
@media (max-width: 767px) { .mg-hero--v14 > .mg-hero__mark { left: auto; right: -110px; top: 30px; width: 340px; height: 340px; transform: rotate(-14deg); } }
/* ランキングのカードは、PC でも横に流す（20位まで） */
@media (min-width: 1024px) {
	.mg-rk__main .mg-rcards.is-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; margin: 0; padding: 2px 0 12px; }
	.mg-rk__main .mg-rcards.is-scroll > .mg-rcard { flex: none; width: 196px; }
}
@media (min-width: 1024px) { .mg-rk__main .mg-rcards.is-scroll { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, #000 88%, transparent 100%); } }

/* ============================================================
 * v8.16.1
 * ============================================================ */
/* スマホ：絞り込みの検索窓が細くならないように（縦に並べたときに高さがつぶれていた） */
@media (max-width: 767px) { .mg-filter__q:not(.mg-filter__q--sm) { flex: 0 0 auto; height: 48px; } }

/* ランキング：7つを縦に並べる（カードは横に流す・横にメーカーの割合） */
.mg-rk2 + .mg-rk2 { margin-top: 40px; }
.mg-rk2 .mg-rk__grid { gap: 16px; }
@media (min-width: 1024px) { .mg-rk2 .mg-rk__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; } .mg-rk2 .mg-rk__side { position: static; } }
.mg-main .mg-rk2__sub { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; color: var(--mg-sub); }
.mg-main .mg-rk2__sh { margin: 0 !important; font-size: 14px; font-weight: 800; color: var(--mg-ink); }
.mg-rk2 .mg-rk__side { padding: 16px 18px; }
.mg-rk2 .mg-bars { gap: 8px; margin-top: 10px !important; }
/* アーティストのページ：いちばん上の検索窓・並べ替え */
.mg-filter--top { margin: 4px 0 8px; }
@media (min-width: 768px) { .mg-filter--top .mg-filter__q { max-width: 560px; } }

/* ============================================================
 * v8.17.0
 * ============================================================ */
/* PICK UP：PC・タブレットでも少しだけ縦長に */
@media (min-width: 640px) { .mg-pk__art { aspect-ratio: 4 / 3; } }

/* アーティストのページ（すべて・パート別）：パートのボタンと、件数・並べ替えの行 */
.mg-main .mg-achips { margin-top: 4px !important; margin-bottom: 6px !important; }
.mg-abands__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 2px 0 4px; }
.mg-abands__bar .mg-count { margin: 0 !important; }

/* 機材のページ（スマホ）：写真を左に小さく、右に名前・メーカー・種類（アーティストのページと同じ並び） */
@media (max-width: 767px) {
	.mg-main .mg-gtop { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 14px; }
	.mg-main .mg-gtop .mg-gtop__info { display: contents; }
	.mg-main .mg-gtop .mg-ghero { grid-column: 1; grid-row: 1; width: auto !important; height: auto; margin: 0 !important; aspect-ratio: 1 / 1; border-radius: 14px !important; }
	.mg-main .mg-gtop .mg-ghead { grid-column: 2; grid-row: 1; min-width: 0; margin: 0 !important; }
	.mg-main .mg-gtop .mg-ghead__name { font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
	.mg-main .mg-gtop .mg-gtags { margin-top: 8px !important; }
	.mg-main .mg-gtop .mg-gfacts, .mg-main .mg-gtop .mg-intro, .mg-main .mg-gtop .mg-clamp__btn, .mg-main .mg-gtop .mg-shops { grid-column: 1 / -1; }
}

/* ============================================================
 * v8.18.0：機材のページ（/gear/）は入口から一覧。スマホはカテゴリーのボタンを上に横並び
 * ============================================================ */
.mg-main .mg-gchips { margin-top: 12px !important; margin-bottom: 0 !important; }
@media (min-width: 1024px) { .mg-main .mg-gchips { display: none !important; } }

/* ============================================================
 * v8.19.0：アーティストのページの PICK UP も、トップと同じくらいの縦長に見せる
 *   （アーティストのページは横幅が広くカードが大きいので、写真の部分をトップより少し縦長に）
 * ============================================================ */
@media (min-width: 640px) { .mg-aroot .mg-pk__art { aspect-ratio: 10 / 9; } }

/* v8.24.0：トップの検索候補を、流れる機材（.mg-ribbon）より前に出す。入力中だけヒーローの下へもはみ出して見せる（利用者の指摘） */
.mg-hero__in { z-index: 3; }
.mg-hero:focus-within { overflow: visible; overflow-x: clip; z-index: 20; }
.mg-search--hero .mg-suggest { z-index: 90; }
/* v8.24.0：「自分の機材ページをつくろう」のボタンに色（青緑の地に映える琥珀色） */
.mg-cta8__btn { background: linear-gradient(135deg, #f6c35a 0%, #eaa23a 100%); color: #1b1408 !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.mg-cta8__btn:hover { background: linear-gradient(135deg, #f8cd6f 0%, #eeab45 100%); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .5); }
.mg-cta8__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mg-cta8__btn .mg-ico { color: inherit; }

/* ============================================================
 * v8.25.0：情報提供「機材・出典の追加はこちらへ」（inc/tips.php）
 *   「自分の機材ページをつくろう」の横に並べる（PC は2つ横、スマホは縦）。地は琥珀の淡い色、送るボタンは MY GEAR の青緑
 * ============================================================ */
.mg-duo { display: grid; gap: 14px; margin-top: 40px; }
.mg-duo > .mg-cta8 { margin-top: 0; }
.mg-tip { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 18px 18px 20px; border-radius: 20px; background: #fbf3e3; border: 1px solid #efdfbd; color: var(--mg-ink); }
.mg-duo--sm .mg-tip { padding: 18px 16px 16px 18px; border-radius: 16px; }
.mg-main .mg-tip__title { margin: 8px 0 0 !important; font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; color: var(--mg-ink); }
.mg-duo--sm .mg-main .mg-tip__title, .mg-main .mg-duo--sm .mg-tip__title { margin-top: 6px !important; font-size: 17px; }
.mg-main .mg-tip__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0 !important; font-size: 13px; font-weight: 600; line-height: 1.6; color: #5b5142; }
.mg-tip__icos { display: inline-flex; gap: 5px; flex: none; }
.mg-tip__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; }
.mg-tip__ico svg { width: 13px; height: 13px; }
.mg-tip__ico.is-x { background: #000; }
.mg-tip__ico.is-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.mg-tip__ico.is-yt { background: #ff0033; }
.mg-tip__ico.is-web { background: var(--mg-ink); }
.mg-tip__form { margin-top: auto; padding-top: 14px; }
.mg-tip__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mg-tip__row { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 5px 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid #e4d2ab; transition: border-color .15s, box-shadow .15s; }
.mg-tip__row:focus-within { border-color: var(--mg-accent); box-shadow: 0 0 0 3px rgba(31, 95, 107, .16); }
.mg-tip__link { display: grid; place-items: center; flex: none; color: #8b8b84; }
.mg-tip__link svg { width: 18px; height: 18px; }
.mg-main .mg-tip__url, .mg-tip__url { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font-size: 16px; color: var(--mg-ink); }
.mg-tip__url::placeholder { color: #9a958a; }
.mg-tip__send { flex: none; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--mg-accent); color: #fff !important; font-size: 14px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: background .15s; }
.mg-tip__send:hover { background: var(--mg-accent-ink); }
.mg-tip__send:focus-visible { outline: 3px solid #eaa23a; outline-offset: 2px; }
.mg-tip__send[disabled] { opacity: .7; cursor: default; }
.mg-main .mg-tip__note { margin: 8px 0 0 !important; font-size: 12px; line-height: 1.6; color: #6b604c; }
.mg-main .mg-tip__note.is-ok { font-weight: 700; color: #1f6b3a; }
.mg-main .mg-tip__note.is-ok::before { content: "✓ "; }
.mg-main .mg-tip__note.is-err { font-weight: 700; color: #b3261e; }
@media (min-width: 640px) {
	.mg-tip { padding: 26px 26px 22px; }
	.mg-duo--sm .mg-tip { padding: 22px 24px 20px; }
	.mg-main .mg-duo--sm .mg-tip__title { font-size: 19px; }
}
@media (min-width: 1024px) {
	.mg-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 44px; }
	.mg-tip__url, .mg-main .mg-tip__url { font-size: 15px; }
	/* 2つ横に並べるので、帯を同じ大きさにそろえる（トップの大きい帯は詰める） */
	.mg-duo .mg-cta8 { grid-template-columns: minmax(0, 1fr) 104px; padding: 28px 26px 26px 30px; }
	.mg-duo .mg-cta8__svg { width: 104px; }
	.mg-main .mg-duo .mg-cta8__title { font-size: 25px; font-weight: 900; line-height: 1.32; }
	.mg-main .mg-duo .mg-cta8__eyebrow { font-size: 11.5px; padding: 0; }
	.mg-main .mg-duo .mg-cta8__list { font-size: 13px; }
	.mg-duo .mg-cta8__btn { height: 48px; margin-top: 16px; padding: 0 22px 0 20px; font-size: 15px; }
	.mg-duo .mg-tip, .mg-duo--sm .mg-tip { padding: 28px 28px 24px 30px; border-radius: 20px; }
	.mg-duo--sm .mg-cta8 { border-radius: 20px; }
	.mg-main .mg-duo .mg-tip__title, .mg-main .mg-duo--sm .mg-tip__title { font-size: 25px; font-weight: 900; line-height: 1.32; }
}

/* ============================================================
 * v8.26.0：情報提供の箱を、淡い黄色に。並びは 見出し → アイコン → 説明 → URL → ひとこと → 注意書き（利用者の指示）
 *   「自分の機材ページをつくろう」の「はじめる」も同じ黄色にそろえる
 * ============================================================ */
.mg-tip { background: #f6d68e; border-color: #ecc062; }
.mg-main .mg-tip__title { margin: 0 !important; }
.mg-main .mg-tip__icos { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0 !important; }
.mg-tip__ico.is-fb { background: #1877f2; }
.mg-tip__ico.is-tt { background: #000; }
.mg-main .mg-tip__lead { display: block; margin: 8px 0 0 !important; font-size: 13.5px; font-weight: 700; color: #4a3610; }
.mg-tip__form { padding-top: 12px; }
.mg-tip__row { border-color: #e3b552; }
.mg-tip__url::placeholder { color: #a8a397; }
.mg-main .mg-tip__memo, .mg-tip__memo { display: block; width: 100%; height: 42px; margin: 8px 0 0; padding: 0 16px; border: 1.5px solid #e3b552 !important; border-radius: 999px; background: rgba(255, 255, 255, .7) !important; box-shadow: none !important; font-size: 16px; color: var(--mg-ink); }
.mg-tip__memo::placeholder { color: #8a7a55; }
.mg-tip__memo:focus { outline: 0; background: #fff !important; border-color: var(--mg-accent) !important; box-shadow: 0 0 0 3px rgba(31, 95, 107, .16) !important; }
.mg-main .mg-tip__note { margin-top: 9px !important; color: #5c4716; }
.mg-main .mg-tip__note.is-ok { color: #1d5a2c; }
.mg-main .mg-tip__note.is-err { color: #a3241b; }
@media (min-width: 1024px) { .mg-tip__memo, .mg-main .mg-tip__memo { font-size: 14px; } }
.mg-cta8__btn { background: #f6d68e; color: #1b1408 !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.mg-cta8__btn:hover { background: #f9e0a6; }

/* v8.27.0：黄色を少し濃く（利用者の指示）。「はじめる」も同じ色 */
.mg-tip { background: #f3c55e; border-color: #e2ad3e; }
.mg-main .mg-tip__lead { color: #3a2805; }
.mg-tip__row { border-color: #d9a136; }
.mg-main .mg-tip__memo, .mg-tip__memo { border-color: #d9a136 !important; background: rgba(255, 255, 255, .75) !important; }
.mg-tip__memo::placeholder { color: #7d6630; }
.mg-main .mg-tip__note { color: #4a3508; }
.mg-main .mg-tip__note.is-ok { color: #174d25; }
.mg-main .mg-tip__note.is-err { color: #8f1d15; }
.mg-cta8__btn { background: #f3c55e; }
.mg-cta8__btn:hover { background: #f6d27f; }

/* ============================================================
 * v8.28.0：2枚の色を、利用者が見せた見本に合わせた（スレートブルー × ベージュ）
 *   「はじめる／自分のページへ」の黄色と、スマホの絵はこれまでのまま
 * ============================================================ */
.mg-cta8 { background: linear-gradient(135deg, #6c8399 0%, #4a6178 100%); }
.mg-main .mg-cta8__eyebrow { color: #d2dce6; }
.mg-main .mg-cta8__list { color: rgba(255, 255, 255, .92); }
.mg-main .mg-cta8__list li::before { border-color: #d2dce6; }
.mg-tip { background: linear-gradient(135deg, #e8d9bf 0%, #dcc8a7 100%); border-color: #d2bd99; }
.mg-main .mg-tip__title { color: #2a2118; }
.mg-main .mg-tip__lead { color: #3b2e22; }
.mg-tip__row { border-color: #4a3b2e; }
.mg-tip__row:focus-within { border-color: #2a2118; box-shadow: 0 0 0 3px rgba(42, 33, 24, .14); }
.mg-tip__link { color: #6b5d50; }
.mg-tip__send { background: #2f2b27; }
.mg-tip__send:hover { background: #1c1a17; }
.mg-main .mg-tip__memo, .mg-tip__memo { border-color: #4a3b2e !important; background: #fff !important; }
.mg-tip__memo::placeholder { color: #8b7f72; }
.mg-tip__memo:focus { border-color: #2a2118 !important; box-shadow: 0 0 0 3px rgba(42, 33, 24, .14) !important; }
.mg-main .mg-tip__note { color: #4a3b2e; }
.mg-main .mg-tip__note.is-ok { color: #1f5a2c; }
.mg-main .mg-tip__note.is-err { color: #9b1f17; }

/* ============================================================
 * v8.29.0：2枚のカードに、塗りと同じ系統で黒に近い色の枠線（2.5px。利用者が B を選んだ）
 * ============================================================ */
.mg-cta8 { border: 2.5px solid #26323f; }
.mg-tip { border: 2.5px solid #3f301d; }

/* v8.29.0：アーティスト一覧の PICK UP を、トップと同じ大きさに（利用者の指摘）
 *   トップは右に列があるぶん本文が狭い。一覧でも、カード1枚の幅をトップと同じ（右の列ぶんを引いた幅の3分の1。いちばん大きくて 288px）にする */
@media (min-width: 640px) { .mg-aroot .mg-pk__art { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .mg-main .mg-aroot .mg-picks__track, .mg-aroot .mg-main .mg-picks__track { grid-auto-columns: min(calc((100% - 400px) / 3), 288px); } }

/* v8.30.0：広告（アフィリエイト）の小さな表示（ステマ規制。目立たないように） */
.mg-pr { display: inline-block; margin-left: 6px; padding: 0 4px; border: 1px solid var(--mg-line-strong); border-radius: 3px; font-family: var(--mg-num); font-size: 9.5px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; color: var(--mg-mute); vertical-align: 1px; }
.mg-main .mg-prnote { display: flex; align-items: center; gap: 6px; margin: -4px 0 12px !important; font-size: 11px; line-height: 1.5; color: var(--mg-mute); }
.mg-prnote .mg-pr { margin-left: 0; }
.mg-main .mg-ft__pr, .mg-ft__pr { grid-column: 1 / -1; margin: 0 0 -8px; font-size: 11px; line-height: 1.6; color: #8e8e88; }

/* ---------- v8.37.0 ユーザーのページ：機材は1列（PC は2〜3列） ---------- */

/* ---------- v8.37.0 プロフィールと機材の編集（/mypage/edit/）：文字の大きさ・余白を整える（はたらきは同じ） ---------- */
.mg-mypage .mygear-my { --my-label: 128px; --my-gap: 16px; color: var(--mg-ink); }
/* 見出し（MY PAGE）と編集の枠を同じ幅でまん中にそろえる。PC は読みやすい幅に */
.mg-mypage .mg-wrap > .mg-mypage__head:has(+ .mg-mypage__edit), .mg-mypage .mg-mypage__edit { box-sizing: border-box; width: 100%; max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.mg-mypage .mygear-my__form { gap: 16px; }
.mg-mypage .mygear-card { padding: 24px 24px 20px; border: 0; border-radius: var(--mg-card-r); }
.mg-mypage .mygear-sechead { gap: 10px; margin: 0 0 6px; padding: 0 0 16px; border-bottom: 1px solid var(--mg-line2); font-family: var(--mg-ff); font-size: 18px; font-weight: 800; letter-spacing: 0; }
.mg-mypage .mygear-sechead__num { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--mg-tag); font-family: var(--mg-num); font-size: 12px; font-weight: 700; color: var(--mg-tag-ink); }
.mg-mypage .mygear-sechead__btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; font-family: var(--mg-ff); font-size: 13px; font-weight: 700; }
.mg-mypage .mygear-sechead__btn--sub { border: 1px solid var(--mg-line-strong); }
/* 入力の行：線で区切らず、余白で区切る。ラベルは上にそろえる */
.mg-mypage .mygear-row { align-items: start; padding: var(--my-gap) 0; border-bottom: 0; }
.mg-mypage .mygear-row + .mygear-row { border-top: 1px solid var(--mg-line2); }
.mg-mypage .mygear-row__label { align-self: start; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--mg-ink2); }
.mg-mypage .mygear-row__hint { margin-top: 2px; font-size: 12px; line-height: 1.7; color: var(--mg-mute); }
.mg-mypage .mygear-my input[type="text"], .mg-mypage .mygear-my input[type="url"], .mg-mypage .mygear-my input[type="email"], .mg-mypage .mygear-my textarea { min-height: 46px; padding: 11px 14px; border: 1px solid var(--mg-line-strong); border-radius: 12px; background: #fff; font-family: var(--mg-ff); font-size: 15px; line-height: 1.5; color: var(--mg-ink); }
.mg-mypage .mygear-my textarea { min-height: 96px; line-height: 1.75; }
.mg-mypage .mygear-my input:focus, .mg-mypage .mygear-my textarea:focus { border-color: var(--mg-ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.mg-mypage .mygear-my ::placeholder { color: #b5b5ae; }
.mg-mypage .mygear-ava { gap: 14px; }
.mg-mypage .mygear-ava__img { flex-basis: 64px; width: 64px; height: 64px; }
.mg-mypage .mygear-ava__btn, .mg-mypage .mygear-bands__add { height: 36px; padding: 0 16px; border: 1px solid var(--mg-line-strong); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--mg-ink); }
.mg-mypage .mygear-ava__btn { display: inline-flex; align-items: center; }
.mg-mypage .mygear-ava__note { font-size: 11.5px; color: var(--mg-mute); }
.mg-mypage .mygear-row > .mygear-ava, .mg-mypage .mygear-row > .mygear-chips { padding-top: 4px; }
.mg-mypage .mygear-chips { gap: 8px; }
.mg-mypage .mygear-chip { height: 36px; padding: 0 16px; border-color: var(--mg-line-strong); font-size: 13px; font-weight: 600; color: var(--mg-ink2); }
.mg-mypage .mygear-chip.is-on { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff; }
.mg-mypage .mygear-bands, .mg-mypage .mygear-sns { gap: 8px; }
.mg-mypage .mygear-bands__add { margin-top: 8px; border-style: dashed; }
.mg-mypage .mygear-bands__del { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
.mg-mypage .mygear-sns__row { gap: 10px; }
.mg-mypage .mygear-sns__ico { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
.mg-mypage .mygear-sns__ico svg { width: 17px; height: 17px; }

/* 機材の一覧：つかむところを左に置き、見出しの下の機材は1段下げて「まとまり」を見せる */
.mg-mypage .mygear-gs__empty { display: grid; place-items: center; gap: 6px; margin-top: 16px; padding: 32px 16px; border: 1.5px dashed var(--mg-line-strong); border-radius: 14px; background: #fafaf8; font-size: 13.5px; color: var(--mg-sub); }
.mg-mypage .mygear-gs__empty[hidden] { display: none; }
.mg-mypage .mygear-gs__list { gap: 10px; margin-top: 18px; }
.mg-mypage .mygear-gcard { position: relative; gap: 12px; min-height: 76px; padding: 10px 12px 10px 4px; border: 1px solid var(--mg-line); border-radius: 14px; }
.mg-mypage .mygear-gcard:hover { border-color: var(--mg-line-strong); }
.mg-mypage .mygear-gcard__grip, .mg-mypage .mygear-gs__grip { order: -1; flex-basis: 28px; height: 52px; color: #c3c2bb; }
.mg-mypage .mygear-gcard:hover .mygear-gcard__grip, .mg-mypage .mygear-gs__sep:hover .mygear-gs__grip { color: var(--mg-sub); }
.mg-mypage .mygear-gcard__shot { flex-basis: 56px; width: 56px; height: 56px; border-radius: 10px; background: var(--mg-gray); }
.mg-mypage .mygear-gcard__shot img { width: 100% !important; height: 100% !important; max-height: none; object-fit: cover; }
.mg-mypage .mygear-gcard__body { gap: 2px; }
.mg-mypage .mygear-gcard__maker { font-family: var(--mg-num); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mg-mute); }
.mg-mypage .mygear-gcard__name { font-size: 15px; font-weight: 700; line-height: 1.4; }
.mg-mypage .mygear-gcard__note { font-size: 12.5px; line-height: 1.5; color: var(--mg-sub); }
.mg-mypage .mygear-gcard__plays { font-size: 11.5px; font-weight: 700; color: var(--mg-accent); }
.mg-mypage .mygear-gcard__edit { height: 36px; padding: 0 16px; border-color: var(--mg-line-strong); font-size: 13px; font-weight: 700; }
.mg-mypage .mygear-gs__sep { gap: 6px 8px; margin: 18px 0 0; padding: 0 0 0 0; border-bottom: 0; background: transparent; }
.mg-mypage .mygear-gs__list > .mygear-gs__sep:first-child { margin-top: 0; }
.mg-mypage .mygear-gs__sep-tag { order: 0; padding: 3px 8px; border-radius: 6px; background: var(--mg-ink); font-family: var(--mg-ff); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #fff; }
.mg-mypage .mygear-gs__sep.is-empty .mygear-gs__sep-tag { background: var(--mg-mute); }
.mg-mypage .mygear-gs__list .mygear-gs__sep-name[type="text"] { min-height: 40px; padding: 6px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; font-family: var(--mg-ff); font-size: 17px; font-weight: 800; }
.mg-mypage .mygear-gs__list .mygear-gs__sep-name[type="text"]:hover { border-color: var(--mg-line); background: #fafaf8; }
.mg-mypage .mygear-gs__list .mygear-gs__sep-name[type="text"]:focus { border-color: var(--mg-ink); background: #fff; }
.mg-mypage .mygear-gs__sep-del { order: 3; }
.mg-mypage .mygear-gs__sep ~ .mygear-gcard { margin-left: 14px; }
.mg-mypage .mygear-gs__sep ~ .mygear-gcard::before { content: ""; position: absolute; left: -9px; top: -6px; bottom: -6px; width: 2px; border-radius: 2px; background: var(--mg-line); }
.mg-mypage .mygear-gs__sep.is-lift, .mg-mypage .mygear-gcard.is-lift { background: #fff; }

/* 投稿画面（1件ぶん）：写真を大きく、そのままの比率で見せる。ラベルは上 */
.mg-mypage .mygear-sheet { background: rgba(20, 20, 20, .5); }
.mg-mypage .mygear-sheet__panel { max-width: 640px; }
.mg-mypage .mygear-sheet__bar { flex: 0 0 auto; height: 58px; padding: 0 12px 0 8px; border-bottom-color: var(--mg-line2); }
.mg-mypage .mygear-sheet__title { font-family: var(--mg-ff); font-size: 16px; font-weight: 800; }
.mg-mypage .mygear-sheet__done { height: 38px; padding: 0 22px; font-family: var(--mg-ff); font-size: 14px; }
.mg-mypage .mygear-sheet__body { padding: 8px 20px 56px; }
.mg-mypage .mygear-gfield { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--mg-line2); }
.mg-mypage .mygear-gfield > *:not(.mygear-gfield__label) { grid-column: 1; }
.mg-mypage .mygear-gfield__label { font-size: 13px; font-weight: 700; color: var(--mg-ink2); }
.mg-mypage .mygear-sheet input[type="text"], .mg-mypage .mygear-sheet input[type="url"], .mg-mypage .mygear-sheet textarea { min-height: 46px; padding: 11px 14px; border: 1px solid var(--mg-line-strong); border-radius: 12px; font-family: var(--mg-ff); font-size: 16px; line-height: 1.5; }
.mg-mypage .mygear-sheet textarea { min-height: 110px; line-height: 1.75; }
.mg-mypage .mygear-sheet input:focus, .mg-mypage .mygear-sheet textarea:focus { border-color: var(--mg-ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.mg-mypage .mygear-gfield > .mygear-pick { justify-self: stretch; }
.mg-mypage .mygear-pick { position: relative; display: block; width: 100%; max-width: 420px; padding: 0; border: 1.5px dashed var(--mg-line-strong); border-radius: 14px; background: #fafaf8; overflow: hidden; }
.mg-mypage .mygear-pick:hover { border-color: var(--mg-mute); }
.mg-mypage .mygear-pick__box { display: flex; width: 100%; height: auto; min-height: 200px; border-radius: 0; background: transparent; color: #b5b5ae; }
.mg-mypage .mygear-pick__box svg { width: 34px; height: 34px; }
.mg-mypage .mygear-pick__box img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: none; object-fit: cover; }
.mg-mypage .mygear-pick__txt { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--mg-ink); font-size: 13px; color: #fff; white-space: nowrap; }
.mg-mypage .mygear-pick__txt b { font-weight: 700; }
.mg-mypage .mygear-pick__chg { display: none; }
.mg-mypage .mygear-pick:has(.mygear-pick__box img) { border-style: solid; border-color: var(--mg-line); background: var(--mg-gray); }
.mg-mypage .mygear-pick:has(.mygear-pick__box img) .mygear-pick__new { display: none; }
.mg-mypage .mygear-pick:has(.mygear-pick__box img) .mygear-pick__chg { display: inline; }
.mg-mypage .mygear-pick:has(.mygear-pick__box img) .mygear-pick__txt { left: auto; right: 12px; bottom: 12px; transform: none; height: 32px; padding: 0 14px; background: rgba(20, 20, 20, .78); font-size: 12px; }
.mg-mypage .mygear-pick:not(:has(.mygear-pick__box img)) .mygear-pick__box { padding-bottom: 56px; }
.mg-mypage .mygear-pick.is-busy { opacity: .55; pointer-events: none; }
.mg-mypage .mygear-plays { margin-top: 18px; padding: 14px 16px; border-color: var(--mg-line); border-radius: 14px; }
.mg-mypage .mygear-plays > summary { font-size: 13.5px; font-weight: 700; color: var(--mg-ink2); }
.mg-mypage .mygear-play-row { margin-top: 12px; }
.mg-mypage .mygear-play-thumb { flex-basis: 104px; width: 104px; height: 58px; border-radius: 10px; }
.mg-mypage .mygear-gitem__del { margin-top: 32px; font-size: 13px; color: var(--mg-sub); }

/* 下の保存ボタン・案内（v8.37.1：スマホでも横いっぱいにせず、まん中に） */
.mg-mypage .mygear-guide { margin-top: 12px; padding-top: 18px; border-top-color: var(--mg-line); }
.mg-mypage .mygear-guide h2 { font-size: 11.5px; font-weight: 700; color: var(--mg-mute); }
.mg-mypage .mygear-guide li, .mg-mypage .mygear-guide p { font-size: 12px; color: var(--mg-mute); }

@media (max-width: 767px) {
  .mg-mypage .mygear-card { padding: 20px 16px 16px; }
  .mg-mypage .mygear-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 16px 0; }
  .mg-mypage .mygear-row > *:not(.mygear-row__label) { grid-column: 1; }
  .mg-mypage .mygear-row__label { padding-top: 0; }
  .mg-mypage .mygear-row > .mygear-ava, .mg-mypage .mygear-row > .mygear-chips { padding-top: 0; }
  .mg-mypage .mygear-my input[type="text"], .mg-mypage .mygear-my input[type="url"], .mg-mypage .mygear-my input[type="email"], .mg-mypage .mygear-my textarea { font-size: 16px; }
  .mg-mypage .mygear-sechead { flex-wrap: wrap; }
  .mg-mypage .mygear-sechead__btn { height: 34px; padding: 0 14px; }
  .mg-mypage .mygear-gcard { gap: 10px; min-height: 68px; padding: 8px 10px 8px 2px; }
  .mg-mypage .mygear-gcard__shot { flex-basis: 52px; width: 52px; height: 52px; }
  .mg-mypage .mygear-gcard__name { font-size: 14.5px; }
  .mg-mypage .mygear-gcard__edit { height: 34px; padding: 0 14px; font-size: 12.5px; }
  .mg-mypage .mygear-gs__sep ~ .mygear-gcard { margin-left: 10px; }
  .mg-mypage .mygear-gs__sep ~ .mygear-gcard::before { left: -7px; }
  .mg-mypage .mygear-sheet__body { padding: 4px 16px 56px; }
}

/* v8.37.2：機材写真の「位置を調整」（正方形に見せる場所を選び直す） */
.mg-mypage .mygear-gfield .mygear-pick__adj { display: inline-flex; align-items: center; justify-content: center; gap: 6px; justify-self: start; height: 36px; margin-top: 2px; padding: 0 16px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-ink); font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; }
.mg-mypage .mygear-gfield .mygear-pick__adj[hidden] { display: none; }
.mg-mypage .mygear-gfield .mygear-pick__adj svg { width: 15px; height: 15px; }
.mg-mypage .mygear-gfield .mygear-pick__adj:hover { border-color: var(--mg-ink); }
.mygear-crop .mygear-crop__head { flex-wrap: wrap; gap: 4px 12px; }
.mygear-crop .mygear-crop__title { white-space: nowrap; }

/* v8.37.3：位置を決める画面は、指・マウスで自由に動かす（スライダーは無し） */
.mygear-crop .mygear-crop__stage { position: relative; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.mygear-crop .mygear-crop__stage.is-grab { cursor: grabbing; }
.mygear-crop .mygear-crop__canvas { touch-action: none; pointer-events: none; aspect-ratio: 1 / 1; height: auto; }
.mygear-crop .mygear-crop__mask { position: absolute; inset: 0; background: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); pointer-events: none; }
.mygear-crop .mygear-crop__circle { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .38); pointer-events: none; }
.mygear-crop.is-square .mygear-crop__circle { display: none; }
.mygear-crop .mygear-crop__note--mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .mygear-crop .mygear-crop__note--touch { display: none; }
  .mygear-crop .mygear-crop__note--mouse { display: inline; }
}

/* v8.37.3：機材の投稿画面。中身が長くても下まで白い面が続くように、画面の中で中身だけを動かす */
.mg-mypage .mygear-sheet { align-items: stretch; overflow: hidden; }
.mg-mypage .mygear-sheet__panel { height: 100%; min-height: 0; max-height: 100%; overflow: hidden; }
.mg-mypage .mygear-sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.mg-mypage .mygear-gfield > .mygear-pick { max-width: 320px; }
@media (min-width: 720px) {
  .mg-mypage .mygear-sheet { align-items: center; padding: 32px 24px; }
  .mg-mypage .mygear-sheet__panel { height: auto; max-height: min(860px, calc(100vh - 64px)); border-radius: 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, .25); }
  .mg-mypage .mygear-sheet__bar { border-radius: 16px 16px 0 0; }
}

/* v8.37.3：ユーザーのページのプロフィール欄。パンくずを上に寄せる */
.mg-member .mg-prof8 > .rl-crumbs { padding-top: 0; margin-top: -2px; }
@media (min-width: 1024px) { .mg-member .mg-prof8 > .rl-crumbs { margin-top: -14px; } }

/* v8.37.4：パンくずをもう少し上に、丸アイコンとの間を空ける */
.mg-member .mg-prof8 > .rl-crumbs { margin-top: -6px; margin-bottom: 14px; }
@media (min-width: 1024px) { .mg-member .mg-prof8 > .rl-crumbs { margin-top: -18px; margin-bottom: 18px; } }

/* v8.37.6：演奏動画リンクを1件ずつ消す「×」（何か入っている行だけに出す） */
.mg-mypage .mygear-play-row { position: relative; }
.mg-mypage .mygear-play-del { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--mg-gray, #f2f2ef); color: var(--mg-sub, #77776f); cursor: pointer; }
.mg-mypage .mygear-play-del svg { width: 14px; height: 14px; }
.mg-mypage .mygear-play-del:hover { background: #e7e7e2; color: var(--mg-ink, #141414); }
.mg-mypage .mygear-play-row:not(:has(.mygear-play-thumb img)):has(input[type="url"]:placeholder-shown):has(input[type="text"]:placeholder-shown) .mygear-play-del { visibility: hidden; }

/* v8.37.6：ユーザーのページのパンくずは、アーティストのページと同じく白い枠の上（v8.37.3〜4 の枠の中の指定は打ち消す） */
.mg-member .mg-wrap > .rl-crumbs { margin-top: 0; margin-bottom: 6px; }

/* v8.38.0：編集画面の下の帯は、上の帯（.mygear-editbar）と同じ大きさ・左右の配置（左に戻る・右に保存）。下は固定しない */
.mg-mypage .mygear-editbar--foot { position: static; justify-content: space-between; margin: 16px calc(-1 * var(--mg-gut)) 0; border-bottom: 0; border-top: 1px solid var(--mg-line); background: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.admin-bar .mg-mypage .mygear-editbar--foot { top: auto; }

/* ============================================================
 * v8.41.0：マイギアの投稿（1シーン）・ハート・今日の機材・ユーザーページの作品集
 * ============================================================ */

/* --- ハート（押した数は小さく） --- */
.mg-heart { display: inline-flex; align-items: center; gap: 3px; min-height: 32px; padding: 0 6px; border: 0; border-radius: 999px; background: none; color: var(--mg-sub) !important; font: inherit; font-size: 12px; font-family: var(--mg-num); font-variant-numeric: tabular-nums; line-height: 1; cursor: pointer; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
.mg-heart__ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .2s ease; }
.mg-heart:hover { color: #d0475f !important; }
.mg-heart.is-on { color: #d0475f !important; }
.mg-heart.is-on .mg-heart__ico { fill: currentColor; }
.mg-heart.is-pop .mg-heart__ico { transform: scale(1.25); }
.mg-heart__n:empty { display: none; }
.mg-heart--sm { min-height: 28px; padding: 0 4px; font-size: 11px; }
.mg-heart--sm .mg-heart__ico { width: 16px; height: 16px; }
.mg-heart--lg { min-height: 44px; padding: 0 14px; border: 1px solid var(--mg-line-strong); font-size: 14px; color: var(--mg-ink) !important; }
.mg-heart--lg .mg-heart__ico { width: 20px; height: 20px; }
.mg-heart--lg.is-on { border-color: #f0c4cd; background: #fdf1f3; }
@media (prefers-reduced-motion: reduce) { .mg-heart__ico { transition: none; } }

/* --- 投稿のカードの一覧 --- */
.mg-main .mg-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.mg-shot { min-width: 0; }
.mg-shot__ph { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--mg-r); overflow: hidden; background: var(--mg-tile); }
.mg-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mg-shot__ph:hover .mg-shot__img { transform: scale(1.03); }
.mg-shot__many { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-family: var(--mg-num); line-height: 1.2; }
.mg-shot__meta { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.mg-shot__t { display: flex; flex: 1 1 auto; align-items: center; gap: 6px; min-width: 0; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-shot__who, .mg-shot__ttl { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; font-weight: 700; }
.mg-shot__cap { margin: 1px 0 0 !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; line-height: 1.5; color: var(--mg-sub); }
.mg-shot--add a { display: grid; place-content: center; justify-items: center; gap: 6px; aspect-ratio: 1 / 1; border: 1.5px dashed var(--mg-line-strong); border-radius: var(--mg-r); color: var(--mg-sub) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.mg-shot--add a:hover { border-color: var(--mg-accent); color: var(--mg-accent) !important; }
@media (min-width: 640px) { .mg-main .mg-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; } }
@media (min-width: 1100px) { .mg-main .mg-shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mg-main .mg-shots--side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
.mg-side-post { margin-top: 14px; min-height: 44px; font-size: 14px; }

/* --- 種類の切り替え（上の段＝種類、右に新着・人気。愛機のときだけ下の段） --- */
.mg-schips { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; margin: 0 calc(-1 * var(--mg-gut)); padding: 2px var(--mg-gut); overflow-x: auto; scrollbar-width: none; }
.mg-schips::-webkit-scrollbar { display: none; }
.mg-schip { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-ink2) !important; font: inherit; font-size: 13.5px; font-weight: 700; text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.mg-schip:hover { border-color: var(--mg-ink); }
.mg-schip.is-on { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff !important; }
@media (min-width: 768px) { .mg-schips { flex: 0 1 auto; margin: 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; } }
.mg-spager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; font-family: var(--mg-num); font-size: 14px; color: var(--mg-sub); }
.mg-spager .mg-btn { min-height: 42px; font-size: 14px; }

/* --- マイギア（/users/）のいちばん上 --- */
@media (min-width: 768px) {
	.mg-sp { display: none; }
}
.mg-ushots { margin-top: 36px; }
.mg-ukinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.mg-ukind a { position: relative; display: grid; align-items: end; aspect-ratio: 4 / 3; border-radius: var(--mg-r); overflow: hidden; background: linear-gradient(135deg, #2b2b28, #3d4a4c); color: #fff !important; text-decoration: none !important; isolation: isolate; }
.mg-ukind img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mg-ukind.has-img a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .7)); }
.mg-ukind__t { display: grid; gap: 2px; padding: 12px; }
.mg-ukind__t b { font-size: 15px; }
.mg-ukind__t small { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.mg-ukinds__lead { margin: 14px 0 0 !important; font-size: 14px; color: var(--mg-sub); }
@media (min-width: 768px) { .mg-ukinds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.mg-ujoin { display: grid; gap: 14px; justify-items: start; margin-top: 40px; padding: 22px 20px; border-radius: var(--mg-r-lg); background: #fff; }
.mg-ujoin p { margin: 0 !important; font-size: 14px; line-height: 1.8; color: var(--mg-sub); }
.mg-ujoin b { display: block; font-size: 16px; color: var(--mg-ink); }
@media (min-width: 768px) { .mg-ujoin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 26px 30px; } }

/* --- 今日の機材 --- */
.mg-today { margin-top: 32px; }
.mg-today__soon { position: relative; display: grid; justify-items: center; gap: 10px; padding: 34px 20px; border-radius: var(--mg-r-lg); overflow: hidden; background: #fff; text-align: center; isolation: isolate; }
.mg-today__bg { position: absolute; inset: -20px; z-index: -2; background-size: cover; background-position: center; filter: blur(6px) saturate(.9); transform: scale(1.05); }
.mg-today__soon.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .8); }
.mg-today__badge { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--mg-ink); color: #fff; font-family: var(--mg-num); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.mg-today__lead { margin: 0 !important; font-size: 14px; line-height: 1.7; color: var(--mg-ink2); }
.mg-today__go { min-height: 42px; font-size: 14px; }
.mg-today__card { display: grid; border-radius: var(--mg-r-lg); overflow: hidden; background: #fff; }
.mg-today__ph { display: block; aspect-ratio: 4 / 3; background: var(--mg-tile); }
.mg-today__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mg-today__body { display: grid; align-content: start; gap: 10px; padding: 16px 18px 18px; }
.mg-today__row { display: flex; align-items: flex-start; gap: 8px; }
.mg-today__ttl { flex: 1 1 auto; min-width: 0; font-size: 18px; font-weight: 800; line-height: 1.45; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-today__who { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mg-ink2) !important; text-decoration: none !important; }
.mg-today__note { margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: var(--mg-gray); font-size: 13px; line-height: 1.7; }
.mg-today__note b { display: block; font-size: 11px; color: var(--mg-accent); letter-spacing: .06em; }
.mg-today__past { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.mg-today__past a { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; }
.mg-today__past img { width: 100%; height: 100%; object-fit: cover; }
.mg-today__past span { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-family: var(--mg-num); font-size: 11px; }
@media (min-width: 768px) {
	.mg-today--lg .mg-today__card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.mg-today--lg .mg-today__ph { aspect-ratio: auto; min-height: 320px; }
	.mg-today__soon { padding: 44px 24px; }
}

/* --- 投稿のページ --- */
.mg-shotv { display: grid; gap: 0; margin-top: 8px; border-radius: var(--mg-r-lg); overflow: hidden; background: #fff; }
.mg-shotv__media { position: relative; background: #111; }
.mg-shotv__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mg-shotv__track::-webkit-scrollbar { display: none; }
.mg-shotv__fig { flex: 0 0 100%; display: grid; place-items: center; margin: 0; scroll-snap-align: center; aspect-ratio: 1 / 1; }
.mg-shotv__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mg-shotv__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--mg-ink); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.mg-shotv__nav--prev { left: 10px; }
.mg-shotv__nav--next { right: 10px; }
.mg-shotv__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; margin: 0 !important; }
.mg-shotv__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.mg-shotv__dots i.is-on { background: #fff; }
@media (hover: none) { .mg-shotv__nav { display: none; } }
.mg-shotv__body { display: grid; align-content: start; gap: 14px; padding: 18px 18px 22px; min-width: 0; }
.mg-shotv__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 !important; font-size: 12px; color: var(--mg-sub); }
.mg-shotv__kind a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--mg-tag); color: var(--mg-tag-ink) !important; font-weight: 700; text-decoration: none !important; }
.mg-main .mg-shotv__ttl { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.45; text-wrap: balance; }
.mg-shotv__acts { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.mg-shbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-ink) !important; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.mg-shbtn:hover { border-color: var(--mg-ink); }
.mg-shotv__text { margin: 0 !important; font-size: 14.5px; line-height: 1.9; overflow-wrap: anywhere; }
.mg-shotv__gear { padding-top: 12px; border-top: 1px solid var(--mg-line2); }
.mg-main .mg-shotv__gh { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--mg-sub); }
.mg-shotv__gear ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mg-shotv__gear a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 8px; background: var(--mg-gray); color: var(--mg-ink2) !important; font-size: 13px; text-decoration: none !important; }
.mg-shotv__gear a:hover { background: var(--mg-tag); }
.mg-shotv__who { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--mg-r); background: var(--mg-gray); color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-shotv__who > span { display: grid; flex: 1 1 auto; min-width: 0; }
.mg-shotv__who b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.mg-shotv__who small { font-size: 12px; color: var(--mg-sub); }
@media (min-width: 900px) {
	.mg-shotv { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); }
	.mg-shotv__fig { aspect-ratio: auto; height: min(78vh, 760px); }
	.mg-shotv__body { padding: 28px 28px 30px; }
	.mg-main .mg-shotv__ttl { font-size: 26px; }
}
.mg-shotmore { margin-top: 40px; }
.mg-shotcta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }

/* 共有のメニュー */
.mg-sharemenu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: grid; min-width: 190px; padding: 6px; border: 1px solid var(--mg-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.mg-sharemenu button, .mg-sharemenu a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--mg-ink) !important; font: inherit; font-size: 14px; text-align: left; text-decoration: none !important; cursor: pointer; }
.mg-sharemenu button:hover, .mg-sharemenu a:hover { background: var(--mg-gray); }

/* お知らせ（投稿のページ。ユーザーページは parts/50-member.css） */
.mygear-shot-page .mygear-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1200; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px 12px 16px; border-radius: 14px; background: #1c1c1e; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); font-size: 13.5px; font-weight: 600; color: #fff; cursor: pointer; opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s ease, transform .3s ease; }
.mygear-shot-page .mygear-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.mygear-shot-page .mygear-toast svg { flex: 0 0 18px; width: 18px; height: 18px; color: #7fd49a; }

/* --- ユーザーページ（作品集）：カバー写真・バンド・共有・投稿 --- */
.mg-mcover { margin-top: 8px; aspect-ratio: 2 / 1; border-radius: var(--mg-r-lg); overflow: hidden; background: var(--mg-tile); }
.mg-mcover__img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .mg-mcover { aspect-ratio: 3 / 1; } }
.mg-member.has-cover .mg-prof8 { position: relative; margin-top: -48px; }
.mg-member.has-cover .mg-prof8__av { box-shadow: 0 0 0 4px #fff, 0 4px 14px rgba(0, 0, 0, .18); }
.mg-member.has-cover .mg-prof8__grid { padding-top: 0; }
@media (min-width: 768px) {
	.mg-member.has-cover .mg-prof8 { margin-top: -40px; }
	.mg-member.has-cover .mg-prof8__av { margin-top: -72px; }
}
.mg-main .mg-mbands { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.mg-mband { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--mg-gray); color: var(--mg-ink) !important; font-size: 13px; text-decoration: none !important; }
.mg-mband b { font-weight: 700; }
.mg-mband small { color: var(--mg-sub); font-size: 12px; }
a.mg-mband:hover { background: var(--mg-tag); }
.mg-mshots { margin-bottom: 40px; }
.mg-mshots .mg-schips { margin-top: 2px; }

/* --- 投稿の画面（/mypage/post/）・カバー写真の欄 --- */
.mg-sform__imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .mg-sform__imgs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mg-sform__img { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--mg-tile); cursor: pointer; }
.mg-sform__img img { width: 100%; height: 100%; object-fit: cover; }
.mg-sform__img.is-loading::before { content: "読み込み中…"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--mg-sub); }
.mg-sform__img.is-first::after { content: "1枚目"; position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--mg-ink); color: #fff; font-size: 11px; font-weight: 700; }
.mg-sform__del { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.mg-sform__addbtn { display: grid; place-content: center; justify-items: center; gap: 6px; aspect-ratio: 1 / 1; border: 1.5px dashed var(--mg-line-strong); border-radius: 12px; color: var(--mg-sub); font-size: 13px; font-weight: 700; cursor: pointer; }
.mg-sform__addbtn:hover { border-color: var(--mg-accent); color: var(--mg-accent); }
.mg-sform__delete { margin: 28px 0 40px; text-align: center; }
.mg-sform__delbtn, .mg-sform__delyes, .mg-sform__delno { border: 0; background: none; font: inherit; font-size: 13.5px; cursor: pointer; }
.mg-sform__delbtn, .mg-sform__delyes { color: #b3261e; text-decoration: underline; }
.mg-sform__delask { margin: 0 !important; font-size: 13.5px; }
.mg-sform__delyes { margin-left: 10px; font-weight: 700; }
.mg-sform__delno { margin-left: 8px; color: var(--mg-sub); }
.mygear-cover__box { width: 100%; aspect-ratio: 3 / 1; border-radius: 12px; background: var(--mg-tile) center / cover no-repeat; display: grid; place-items: center; }
.mygear-cover__ph { font-size: 12px; color: var(--mg-sub); }
.mygear-cover__box:not(.is-empty) .mygear-cover__ph { display: none; }
.mygear-cover__rm { border: 0; background: none; font: inherit; font-size: 13px; color: #b3261e; text-decoration: underline; cursor: pointer; }
.mygear-bands__row { flex-wrap: wrap; }
.mygear-bands__row .mygear-bands__role { flex: 0 1 140px; min-width: 0; }
.mygear-bands__row .mygear-bands__url { flex: 1 1 220px; min-width: 0; }
.mygear-bands__row > input[name="m_band[]"] { flex: 1 1 160px; min-width: 0; }
.mg-main .mg-shot__img, .mg-main .mg-today__img, .mg-main .mg-today__past img, .mg-main .mg-ukind img, .mg-main .mg-mcover__img, .mg-main .mg-sform__img img { height: 100% !important; max-width: none; }

/* ============================================================
 * v8.42.0：種類を5つに・機材リストを愛機の投稿にまとめた
 * ============================================================ */
.mg-main .mg-shotv__maker { margin: 0 0 -8px !important; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mg-sub); }
.mg-pfgear__b { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.mg-pfgear__b .mg-btn { min-height: 42px; font-size: 14px; }
@media (min-width: 900px) { .mg-ukinds { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ============================================================
 * v8.43.0：投稿の画面をきゅっと（11/5 01:32 利用者：縦長すぎる）
 *   1枚のカード。種類・何の機材は小さなボタン、短い項目はラベルを左に置いた「設定画面」の行
 * ============================================================ */
.mg-mypage .mygear-my.mg-sform { padding-top: 0; padding-bottom: 32px; }
.mg-mypage .mg-mypage__head.is-post { padding-bottom: 4px; }
.mg-mypage .mg-mypage__head.is-post .mg-phead__title { font-size: 22px; }
.mg-sf { display: grid; gap: 14px; margin-top: 8px; }
.mg-sf__card { border-radius: var(--mg-r-lg); background: #fff; overflow: visible; }
.mg-sf__blk { margin: 0; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--mg-line2); min-width: 0; }
.mg-sf__blk[hidden] { display: none; }
.mg-main .mg-sf__lbl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 10px !important; padding: 0; font-size: 13px; font-weight: 800; color: var(--mg-ink); float: none; width: 100%; }
.mg-sf__lbl em, .mg-sf__k em { margin-left: 2px; font-style: normal; font-weight: 700; color: #c0433f; }
.mg-sf__lbl small { flex: 1 1 auto; font-size: 11.5px; font-weight: 500; color: var(--mg-mute); }
.mg-sf__seg, .mg-sf__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-sf__opt, .mg-sf__chip { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-ink2); cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, color .12s; }
.mg-sf__opt input, .mg-sf__chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mg-sf__chip { height: 30px; padding: 0 11px; font-size: 12.5px; font-weight: 600; background: var(--mg-gray); border-color: transparent; }
.mg-sf__opt:hover, .mg-sf__chip:hover { border-color: var(--mg-ink); }
.mg-sf__chip.is-on { border-color: var(--mg-accent); background: var(--mg-accent); color: #fff; }
.mg-sf__opt:has(input:focus-visible), .mg-sf__chip:has(input:focus-visible) { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
/* 写真：いつも4列の小さな正方形 */
.mg-sf .mg-sform__img, .mg-sf .mg-sform__addbtn { border-radius: 10px; }
.mg-sf .mg-sform__addbtn { gap: 2px; font-size: 11.5px; border-width: 1.5px; background: #fafaf8; }
.mg-sf .mg-sform__del { top: 4px; right: 4px; width: 24px; height: 24px; font-size: 14px; }
.mg-sf .mg-sform__img.is-first::after { left: 4px; top: 4px; padding: 1px 6px; font-size: 10px; }
/* 行：ラベルを左・入力を右（スマホでも） */
.mg-sf__list { padding: 2px 0; }
.mg-sf__f { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); align-items: center; column-gap: 12px; min-height: 50px; margin: 0; padding: 4px 18px; border-bottom: 1px solid var(--mg-line2); }
.mg-sf__f:last-child { border-bottom: 0; }
.mg-sf__f[hidden] { display: none; }
.mg-sf__f--top { align-items: start; padding-top: 10px; padding-bottom: 10px; }
.mg-sf__f--top .mg-sf__k { padding-top: 7px; }
.mg-sf__k { font-size: 13px; font-weight: 700; color: var(--mg-ink2); line-height: 1.35; }
.mg-sf__v { position: relative; display: block; min-width: 0; }
.mg-mypage .mygear-my .mg-sf__v input[type], .mg-mypage .mygear-my .mg-sf__v textarea { display: block; width: 100%; min-height: 40px; margin: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; box-shadow: none; font-size: 15px; line-height: 1.5; resize: none; }
.mg-mypage .mygear-my .mg-sf__v textarea { min-height: 40px; overflow: hidden; }
.mg-mypage .mygear-my .mg-sf__v input[type]:hover, .mg-mypage .mygear-my .mg-sf__v textarea:hover { background: var(--mg-gray); }
.mg-mypage .mygear-my .mg-sf__v input[type]:focus, .mg-mypage .mygear-my .mg-sf__v textarea:focus { border-color: var(--mg-line-strong); background: #fff; box-shadow: 0 0 0 3px rgba(31, 95, 107, .1); }
.mg-sf__plays { display: grid; gap: 2px; }
.mg-sf__plays input[hidden] { display: none !important; }
.mg-sf__more { justify-self: start; margin: 2px 0 0 6px; padding: 4px 6px; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--mg-accent); cursor: pointer; }
/* 機材名の候補 */
.mg-sf__sugbox { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; right: 0; display: grid; padding: 4px; border: 1px solid var(--mg-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); }
.mg-sf__sugbox[hidden] { display: none; }
.mg-sf__sugi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: none; font: inherit; text-align: left; cursor: pointer; }
.mg-sf__sugi:hover, .mg-sf__sugi.is-on { background: var(--mg-gray); }
.mg-sf__sugimg { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--mg-tile); overflow: hidden; }
.mg-sf__sugimg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mg-sf__sugt { display: grid; min-width: 0; line-height: 1.3; }
.mg-sf__sugt small { font-size: 11px; color: var(--mg-sub); }
.mg-sf__sugt b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.mg-main .mg-sf__note { margin: 12px 2px 0 !important; font-size: 11.5px; color: var(--mg-mute); }
.mg-sf .mygear-editbar--foot { margin-top: 0; }
@media (min-width: 640px) {
	.mg-sf__blk { padding: 18px 22px; }
	.mg-sf__f { padding-left: 22px; padding-right: 22px; grid-template-columns: 7em minmax(0, 1fr); }
	.mg-sf .mg-sform__imgs { grid-template-columns: repeat(4, 96px); }
}
/* 機材リストの並べ替え（本人だけ） */
.mg-sf__f { grid-template-columns: 7.4em minmax(0, 1fr); }
.mg-sf__sugbox { z-index: 120; }
.mg-sf .mg-sf__lbl { line-height: 1.4; }
.mg-main .mg-sf__lbl em { margin-left: -6px; }
/* v8.43.0：項目の順（何を投稿するか → 写真 → くわしく）・演奏リンクのスイッチ */
.mg-sf__list--what { border-bottom: 1px solid var(--mg-line2); }
.mg-sf__list--what:not(:has(.mg-sf__f:not([hidden]))) { display: none; }
.mg-sf__sw { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 2px; font-size: 13.5px; color: var(--mg-ink2); cursor: pointer; }
.mg-sf__sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mg-sf__sw i { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--mg-line-strong); transition: background .15s; }
.mg-sf__sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.mg-sf__sw input:checked + i { background: var(--mg-accent); }
.mg-sf__sw input:checked + i::after { transform: translateX(16px); }
.mg-sf__sw input:focus-visible + i { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
.mg-sf__plays[hidden] { display: none !important; }
.mg-sf__f--top:has(.mg-sf__sw) { padding-top: 6px; }
.mg-sf__f--top:has(.mg-sf__sw) .mg-sf__k { padding-top: 11px; }
@media (prefers-reduced-motion: reduce) { .mg-sf__sw i, .mg-sf__sw i::after { transition: none; } }
/* v8.44.0：種類はカードの上のタブ・カテゴリーは主なもの＋「もっと見る」 */
.mg-sf__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 12px 12px 0; }
.mg-sf__tab { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 8px; border-radius: 10px; background: var(--mg-gray); color: var(--mg-ink2); font-size: 13.5px; font-weight: 700; text-align: center; cursor: pointer; transition: background .12s, color .12s; }
.mg-sf__tab input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mg-sf__tab:hover { background: var(--mg-tag); }
.mg-sf__tab.is-on { background: var(--mg-ink); color: #fff; }
.mg-sf__tab:has(input:focus-visible) { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
@media (min-width: 640px) { .mg-sf__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 14px 14px 0; } }
.mg-sf__list--what { margin-top: 8px; border-top: 0; }
.mg-sf__chip.is-extra { display: none; }
.mg-sf__chips.is-more .mg-sf__chip.is-extra { display: inline-flex; }
.mg-sf__chip.is-extra.is-on { display: inline-flex; }   /* たたんでいても、選んだものは見せる */
/* ==========================================================================
 * v8.45.0：種類は5つ（絵＋名前のタブ）・種類ごとのカテゴリー・出来事のタグ・ポジション（3つまで）
 * ========================================================================== */
/* 投稿の画面：種類のタブ。スマホは上3つ・下2つ、PC は5つ並び */
.mg-sf__tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.mg-sf__tab { grid-column: span 2; flex-direction: column; gap: 4px; min-height: 62px; padding: 8px 4px; font-size: 12.5px; line-height: 1.25; text-wrap: balance; }
.mg-sf__tab:nth-child(n+4) { grid-column: span 3; }
.mg-sf__tab .mg-kico { flex: none; opacity: .72; transition: opacity .12s; }
.mg-sf__tab.is-on .mg-kico { opacity: 1; }
@media (min-width: 640px) {
	.mg-sf__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.mg-sf__tab, .mg-sf__tab:nth-child(n+4) { grid-column: auto; min-height: 70px; font-size: 13px; }
}
/* 出来事のタグ（# を付けた切り替え） */
.mg-sf__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-sf__tag { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px dashed var(--mg-line-strong); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mg-ink2); cursor: pointer; transition: background .12s, border-color .12s, color .12s; }
.mg-sf__tag input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mg-sf__tag i, .mg-stag i, .mg-shotv__tags i { font-style: normal; margin-right: 2px; color: var(--mg-accent); font-weight: 800; }
.mg-sf__tag:hover { border-color: var(--mg-ink); }
.mg-sf__tag.is-on { border-style: solid; border-color: var(--mg-accent); background: var(--mg-accent); color: #fff; }
.mg-sf__tag.is-on i { color: inherit; }
.mg-sf__tag:has(input:focus-visible) { outline: 2px solid var(--mg-accent); outline-offset: 2px; }

/* マイギア：タグの列・ポジションで絞っているときのボタン */

/* 投稿のページのタグ */
.mg-shotv__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 !important; font-size: 13.5px; }
.mg-shotv__tags a { font-weight: 700; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-shotv__tags a:hover { color: var(--mg-accent) !important; }

/* ユーザーから探す：ポジション */
.mg-upos { display: flex; gap: 6px; margin: 0 calc(-1 * var(--mg-gut)) 10px; padding: 2px var(--mg-gut); overflow-x: auto; scrollbar-width: none; }
.mg-upos::-webkit-scrollbar { display: none; }
.mg-upos__a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-ink2) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.mg-upos__a i { width: 8px; height: 8px; border-radius: 50%; }
.mg-upos__a small { font-family: var(--mg-num); font-size: 11px; font-weight: 600; color: var(--mg-sub); }
.mg-upos__a:hover { border-color: var(--mg-ink); }
.mg-upos__a.is-on { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff !important; }
.mg-upos__a.is-on small { color: rgba(255, 255, 255, .7); }
@media (min-width: 768px) { .mg-upos { flex-wrap: wrap; margin: 0 0 12px; padding: 2px 0; overflow: visible; } }

/* プロフィールの編集：ポジションは3つまで・選んだ順の番号 */
.mygear-pos__cnt { margin-left: 8px; font-family: var(--mg-num); font-size: 12px; font-weight: 600; color: var(--mg-sub); }
.mygear-pos__cnt b { color: var(--mg-ink); }
.mygear-pos__cnt.is-shake { animation: mygear-shake .36s; color: var(--mg-accent); }
@keyframes mygear-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.mg-mypage .mygear-pos .mygear-chip { position: relative; gap: 0; transition: opacity .12s, background .12s; }
.mygear-pos__no { display: inline-flex; align-items: center; justify-content: center; width: 0; height: 18px; margin-right: 0; border-radius: 50%; background: #fff; color: var(--mg-ink); font-family: var(--mg-num); font-size: 11px; font-weight: 800; overflow: hidden; transition: width .15s, margin .15s; }
.mygear-chip.is-on .mygear-pos__no { width: 18px; margin: 0 7px 0 -6px; }
.mg-mypage .mygear-pos.is-full .mygear-chip:not(.is-on) { opacity: .38; }
@media (prefers-reduced-motion: reduce) { .mygear-pos__no, .mygear-pos__cnt.is-shake { transition: none; animation: none; } }
.mg-sf__list--what { border-bottom: 0; padding-bottom: 0; }   /* 下の線が二重になっていた */
.mg-sf__tab span > span { display: inline-block; }   /* 「・」のところでだけ折り返す */

/* ===== v8.46.0：写真に統一したユーザーページ・丸ボタン・写真の枠・投稿した人・並び替え ===== */
/* 丸いアイコンのボタン（共有・編集・並び替え） */
.mg-icbtn { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--mg-line-strong); border-radius: 50%; background: #fff; color: var(--mg-ink) !important; cursor: pointer; text-decoration: none !important; transition: border-color .15s, color .15s; }
.mg-icbtn:hover { border-color: var(--mg-ink); }
.mg-icbtn:focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
/* プロフィール：右上に共有（本人は編集も） */
.mg-prof8 { position: relative; }
.mg-prof8__tools { position: absolute; z-index: 3; top: 12px; right: 12px; display: flex; gap: 6px; }
.mg-prof8__tools .mg-sharemenu { left: auto; right: 0; }
.mg-prof8__id { padding-right: 44px; }
.mg-prof8:has(.mg-prof8__tools > a) .mg-prof8__id { padding-right: 88px; }
@media (min-width: 1024px) { .mg-prof8__tools { top: 20px; right: 20px; } }
/* 写真の一覧（見出しなし。種類の切り替えと並び替えの1行） */
.mg-mshots { margin-top: 22px; }
.mg-mshots__bar { display: flex; align-items: center; gap: 10px; }
.mg-mshots__bar .mg-schips { flex: 1 1 auto; min-width: 0; margin: 0 !important; }
.mg-mshots__sort { margin-left: auto; }
.mg-mshots .mg-shots { margin-top: 12px; }
.mg-shot--add a { gap: 8px; }
/* 投稿のページ：枠は写真の縦横に合わせ、余白は同じ写真をぼかして敷く */
.mg-shotv__fig { position: relative; display: block; overflow: hidden; aspect-ratio: var(--ar, 1); }
.mg-shotv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(.72) saturate(1.15); transform: scale(1.25); pointer-events: none; }
.mg-shotv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) {
	.mg-shotv__fig { height: auto; aspect-ratio: var(--ar, 1); max-height: min(78vh, 760px); width: 100%; }
}
/* 投稿した人（右の列のいちばん上） */
.mg-shotv__by { display: inline-flex; align-items: center; gap: 10px; justify-self: start; max-width: 100%; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-shotv__by .mg-av { flex: none; }
.mg-shotv__by b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.mg-shotv__by:hover b { text-decoration: underline; text-underline-offset: 3px; }
/* 並び替えの画面 */
html.mg-noscroll { overflow: hidden; }
.mg-sorter { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 14, 18, .5); opacity: 0; transition: opacity .2s; }
.mg-sorter[hidden] { display: none; }
.mg-sorter.is-open { opacity: 1; }
.mg-sorter__panel { display: flex; flex-direction: column; width: 100%; max-width: 760px; max-height: 88vh; max-height: 88dvh; border-radius: 18px 18px 0 0; background: #fff; transform: translateY(28px); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.mg-sorter.is-open .mg-sorter__panel { transform: none; }
.mg-sorter__bar { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 10px; border-bottom: 1px solid var(--mg-line2); }
.mg-sorter__bar b { flex: 1; text-align: center; font-size: 15px; }
.mg-sorter__x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mg-ink); cursor: pointer; }
.mg-sorter__x:hover { background: var(--mg-gray); }
.mg-sorter__ok { min-width: 72px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--mg-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mg-sorter__ok:disabled { opacity: .6; cursor: default; }
.mg-sorter__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 10px 12px calc(16px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.mg-sorter__list > li { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--mg-gray); cursor: grab; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.mg-sorter__list > li img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mg-sorter__list > li i { position: absolute; left: 5px; top: 5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(0, 0, 0, .58); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.mg-sorter__list > li.is-drag { z-index: 5; transition: box-shadow .2s; box-shadow: 0 14px 30px rgba(0, 0, 0, .32); cursor: grabbing; pointer-events: none; }
.mg-sorter__list.is-dragging > li:not(.is-drag) { opacity: .88; }
@media (min-width: 640px) {
	.mg-sorter { align-items: center; padding: 24px; }
	.mg-sorter__panel { border-radius: 18px; max-height: 82vh; }
	.mg-sorter__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 14px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .mg-sorter, .mg-sorter__panel, .mg-sorter__list > li { transition: none; } }
/* v8.46.0：全体の「img の高さは自動」に負けないように */
.mg-shotv__fig > img.mg-shotv__img, .mg-shotv__fig > img.mg-shotv__bg { width: 100%; height: 100% !important; max-width: none; }
/* PC：右上の数（投稿・ハート）と丸ボタンが重ならないように、数を少し左へ */
@media (min-width: 1024px) {
	.mg-prof8:has(.mg-prof8__tools) .mg-prof8__id { padding-right: 0; }
	.mg-prof8:has(.mg-prof8__tools) .mg-prof8__nums { margin-right: 56px; }
	.mg-prof8:has(.mg-prof8__tools > a) .mg-prof8__nums { margin-right: 100px; }
}

/* ===== v8.47.0：種類2つ・投稿の画面（PC は2列）・一覧に本文と演奏・投稿のページの演奏リンク ===== */
.mg-prof8__nums:has(li:only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .mg-ukinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ユーザーページの一覧：本文の書き出しと演奏リンク（小さく） */
.mg-shot.is-rich .mg-shot__ttl { display: grid; white-space: normal; line-height: 1.35; }
.mg-shot.is-rich .mg-shot__ttl small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mg-sub); }
.mg-shot.is-rich .mg-shot__ttl { overflow: hidden; }
.mg-main .mg-shot__txt { margin: 4px 0 0 !important; font-size: 12.5px; line-height: 1.65; color: var(--mg-ink2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.mg-shot__plays { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.mg-shot__plays a { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--mg-ink2) !important; font-size: 12px; text-decoration: none !important; }
.mg-shot__plays a:hover .mg-shot__plbl { text-decoration: underline; text-underline-offset: 2px; }
.mg-shot__pth { position: relative; flex: none; width: 52px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #1b1f22; }
.mg-main .mg-shot__pth img { width: 100%; height: 100% !important; object-fit: cover; }
.mg-shot__pth i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.mg-shot__pth i svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.mg-shot__plbl { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }

/* 投稿のページ：演奏リンク（大きく） */
.mg-shotv__plays { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mg-shotv__play { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; border-radius: 14px; background: var(--mg-gray); color: var(--mg-ink) !important; text-decoration: none !important; transition: background .15s; }
.mg-shotv__play:hover { background: var(--mg-tag); }
.mg-shotv__pth { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #1b1f22; }
.mg-main .mg-shotv__pth img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.mg-shotv__pth i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--mg-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.mg-shotv__pth i svg { margin-left: 2px; }
.mg-shotv__pt { display: grid; gap: 4px; min-width: 0; }
.mg-shotv__pt b { font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.mg-shotv__pt small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mg-sub); }
.mg-shotv__plays.is-one .mg-shotv__play { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0 0 12px; overflow: hidden; }
.mg-shotv__plays.is-one .mg-shotv__pth { border-radius: 14px 14px 0 0; }
.mg-shotv__plays.is-one .mg-shotv__pth i { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.mg-shotv__plays.is-one .mg-shotv__pt { padding: 0 14px; }
@media (min-width: 900px) { .mg-shotv__play { grid-template-columns: 168px minmax(0, 1fr); } }

/* ---- 投稿の画面 ---- */
.mg-mypage .mg-wrap.mg-mypage__post > .mg-mypage__head:has(+ .mg-mypage__edit), .mg-mypage .mg-wrap.mg-mypage__post > .mg-mypage__edit { max-width: none; }
.mg-sf { display: grid; gap: 14px; }
.mg-sf__media { min-width: 0; padding: 12px; border-radius: var(--mg-r-lg); background: #fff; transition: box-shadow .15s, background .15s; }
.mg-sf__media.is-over { background: #f3f8f8; box-shadow: inset 0 0 0 2px var(--mg-accent); }
.mg-sf__main { display: grid; gap: 14px; min-width: 0; align-content: start; }
.mg-sf .mg-sform__imgs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mg-sf .mg-sform__img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--mg-tile); cursor: default; }
.mg-main .mg-sf .mg-sform__img:first-child img { object-fit: contain; }
.mg-sf .mg-sform__img.is-first::after { display: none; }
.mg-sf .mg-sform__img:not(:first-child) { transition: transform .12s, box-shadow .12s; }
.mg-sf .mg-sform__img:not(:first-child):hover { box-shadow: 0 0 0 2px var(--mg-ink); }
.mg-sf .mg-sform__img:first-child .mg-sform__del { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 17px; }
.mg-sf .mg-sform__add[hidden] { display: none; }
.mg-sf .mg-sform__addbtn { display: grid; place-content: center; justify-items: center; gap: 2px; height: 100%; aspect-ratio: 1 / 1; padding: 4px; border-radius: 10px; background: #fafaf8; color: var(--mg-sub); text-align: center; }
.mg-sf .mg-sform__addbtn svg { width: 22px; height: 22px; }
.mg-sform__addt { font-size: 11px; font-weight: 700; line-height: 1.3; }
.mg-sform__addt em { display: none; }
.mg-sform__addn { font-family: var(--mg-num); font-size: 10.5px; font-weight: 600; color: var(--mg-mute); }
.mg-sform__addn b { color: var(--mg-ink2); }
.mg-sf .mg-sform__imgs.is-empty .mg-sform__add { grid-column: 1 / -1; }
.mg-sf .mg-sform__imgs.is-empty .mg-sform__addbtn { aspect-ratio: 4 / 3; gap: 8px; border-radius: 12px; }
.mg-sf .mg-sform__imgs.is-empty .mg-sform__addbtn svg { width: 40px; height: 40px; }
.mg-sf .mg-sform__imgs.is-empty .mg-sform__addt { font-size: 15px; color: var(--mg-ink); }
.mg-sf .mg-sform__imgs.is-empty .mg-sform__addt em { display: inline; margin-left: 2px; font-style: normal; color: #c0433f; }
.mg-sf .mg-sform__imgs.is-empty .mg-sform__addn { font-size: 12px; }
/* 種類（2つ） */
.mg-sf .mg-sf__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px 12px 2px; }
.mg-sf .mg-sf__tab, .mg-sf .mg-sf__tab:nth-child(n+4) { grid-column: auto; flex-direction: column; gap: 4px; min-height: 66px; padding: 8px 6px; font-size: 13px; line-height: 1.3; }
/* カテゴリー（単体）：4つのまとまり */
.mg-sf__cgs { display: grid; gap: 10px; }
.mg-sf__cg + .mg-sf__cg { padding-top: 10px; border-top: 1px solid var(--mg-line2); }
.mg-mypage .mygear-my .mg-sf__f--text textarea { min-height: 96px; }
.mg-sf__after { display: grid; gap: 0; }
.mg-sf__after .mg-sform__delete { margin: 18px 0 0; }
@media (min-width: 640px) {
	.mg-sf .mg-sf__tab, .mg-sf .mg-sf__tab:nth-child(n+4) { flex-direction: row; gap: 10px; min-height: 54px; font-size: 14px; }
	.mg-sf__media { padding: 16px; }
	.mg-sf .mg-sform__imgs { gap: 10px; }
}
@media (min-width: 1000px) {
	.mg-mypage > .mg-wrap.mg-mypage__post { max-width: 1180px; margin: 0 auto; }
	.mg-sf { grid-template-columns: minmax(0, 1.1fr) minmax(420px, 1fr); gap: 24px; align-items: start; margin-top: 4px; }
	.mg-sf__media { position: sticky; top: calc(var(--mg-hd) + var(--mg-gnav) + 68px); padding: 18px; }
	.mg-sf .mg-sform__imgs { gap: 12px; }
	.mg-sf .mg-sf__tabs { padding: 16px 16px 4px; }
	.mg-sf__blk { padding: 18px 22px; }
	.mg-mypage .mygear-my .mg-sf__f--text textarea { min-height: 140px; }
	.mg-sf__after { grid-template-columns: minmax(0, 1.1fr) minmax(420px, 1fr); column-gap: 24px; }
	.mg-sf__after > * { grid-column: 2; }
	.mg-sf__after .mg-sform__delete { text-align: left; }
}
/* 下の保存の帯：右の列の中に収める */
.mg-sf__main .mygear-editbar--foot { position: static; height: auto; margin: 0; padding: 4px 4px 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* スマホ：本文・演奏リンク・写っている機材は、名前を上に置いて入力を広く */
@media (max-width: 639px) {
	.mg-sf .mg-sf__f--top { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
	.mg-sf .mg-sf__f--top .mg-sf__k { padding-top: 4px; }
	.mg-sf .mg-sf__f--top .mg-sf__sw { margin-left: -2px; }
}
/* 投稿のページ（PC）：右の列が長いときは、写真を上下の真ん中に */
@media (min-width: 900px) {
	.mg-shotv__media { display: flex; align-items: center; }
	.mg-shotv__track { flex: 1 1 auto; min-width: 0; }
}

/* ===== v8.48.0：絞り込みの検索窓・プロフィールの編集ボタン・一覧のカード・投稿のボタン・共有の文字 ===== */
/* 投稿のページ：「共有」（button）と「編集」（a）の文字をそろえる */
.mg-main .mg-shbtn, .mg-main .mg-shbtn span { font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: normal; }

/* プロフィール：編集は名前の右 */
.mg-prof8__nmrow { display: flex; align-items: center; gap: 8px; flex: 0 0 100%; min-width: 0; }
.mg-main .mg-prof8__nmrow .mg-prof8__name { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mg-icbtn--sm { width: 32px; height: 32px; }
.mg-prof8:has(.mg-prof8__tools > a) .mg-prof8__id { padding-right: 44px; }
@media (min-width: 1024px) {
	.mg-prof8:has(.mg-prof8__tools > a) .mg-prof8__nums { margin-right: 56px; }
	.mg-icbtn--sm { width: 38px; height: 38px; }
	.mg-prof8__nmrow { gap: 12px; }
}

/* ユーザーページ：写真を投稿のボタン（一覧の外） */
.mg-mshots__acts { display: inline-flex; flex: none; align-items: center; gap: 8px; margin-left: auto; }
.mg-mshots__post { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--mg-ink); color: #fff !important; font-size: 13.5px; font-weight: 700; white-space: nowrap; text-decoration: none !important; }
.mg-mshots__post:hover { background: var(--mg-accent); }
.mg-mshots__bar .mg-schips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.mg-mshots__bar .mg-schips::-webkit-scrollbar { display: none; }
@media (max-width: 400px) { .mg-mshots__post { padding: 0 12px 0 10px; font-size: 13px; } }

/* ユーザーページ：カードは写真＋メーカーと名前（2行分の高さにそろえる） */
.mg-shot__nm { display: grid; align-content: start; height: 38px; margin-top: 8px; overflow: hidden; color: var(--mg-ink) !important; text-decoration: none !important; }
.mg-shot__nm small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10.5px; font-weight: 700; line-height: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--mg-sub); }
.mg-shot__nm b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 19px; overflow-wrap: anywhere; }
.mg-shot__nm.has-mk b { -webkit-line-clamp: 1; }
.mg-shot__nm:hover b { text-decoration: underline; text-underline-offset: 2px; }

/* マイギア：絞り込みの検索窓 */
.mg-sfind { position: relative; margin-top: 6px; }
.mg-sfind__clear { font-size: 12.5px; color: var(--mg-sub) !important; text-decoration: underline; text-underline-offset: 3px; }
.mg-sfind__panel[hidden], .mg-sfind__grp[hidden], .mg-sfind__it[hidden], .mg-sfind__none[hidden] { display: none !important; }
.mg-sfind__its { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-sfind__it { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--mg-gray); color: var(--mg-ink2) !important; font-size: 13.5px; font-weight: 600; text-decoration: none !important; transition: background .12s; }
.mg-sfind__it:hover, .mg-sfind__it:focus-visible { background: var(--mg-tag); outline: none; }
.mg-sfind__it.is-on { background: var(--mg-accent); color: #fff !important; }
.mg-sfind__it i { margin-right: 1px; font-style: normal; font-weight: 800; color: var(--mg-accent); }
.mg-sfind__it.is-on i { color: #fff; }
.mg-ushots .mg-shots { margin-top: 18px; }
/* 投稿のページの下：回遊 */
.mg-shotrel { margin-top: 36px; }
/* スマホの狭い幅：投稿のボタンは「＋」の丸だけ（種類の切り替えを狭めない） */
@media (max-width: 479px) {
	.mg-mshots__post { justify-content: center; width: 38px; padding: 0; }
	.mg-mshots__post span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 479px) {
	.mg-mshots__bar { gap: 6px; }
	.mg-mshots__bar .mg-schips { gap: 4px; }
	.mg-mshots__bar .mg-schip { height: 34px; padding: 0 11px; font-size: 13px; }
	.mg-mshots__acts { gap: 6px; }
	.mg-mshots__acts .mg-icbtn, .mg-mshots__post { width: 34px; height: 34px; }
}

/* ===== v8.49.0：絞り込み（文字で探す窓＋カテゴリー・タグのボタン）・一覧のカードは1行 ===== */
.mg-sfind { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.mg-sfind__chev { opacity: .6; transition: transform .2s; }
/* 一覧（スマホ：下から出る） */
.mg-sfind__shade { position: fixed; inset: 0; z-index: 10000; background: rgba(10, 14, 18, .42); }
.mg-sfind__shade[hidden], .mg-sfind__sheet[hidden], .mg-sfind__list[hidden] { display: none !important; }
.mg-sfind__sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001; max-height: 78vh; max-height: 78dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); transform: translateY(24px); opacity: 0; transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .18s; }
.mg-sfind__sheet.is-open { transform: none; opacity: 1; }
.mg-sfind__in { padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.mg-sfind__hd { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 54px; background: #fff; }
.mg-sfind__hd b { font-size: 15px; }
.mg-sfind__close { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -6px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mg-ink); cursor: pointer; }
.mg-sfind__close:hover { background: var(--mg-gray); }
.mg-sfind__seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
.mg-sfind__tab { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 8px; border: 0; border-radius: 12px; background: var(--mg-gray); color: var(--mg-ink2); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.mg-sfind__tab.is-on { background: var(--mg-ink); color: #fff; }
.mg-sfind__list .mg-sfind__its + .mg-sfind__its { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--mg-line2); }
html.mg-noscroll-sp { overflow: hidden; }
@media (min-width: 768px) {
	html.mg-noscroll-sp { overflow: visible; }
	.mg-sfind { flex-wrap: nowrap; }
	.mg-sfind__shade { display: none !important; }
	.mg-sfind__sheet { position: absolute; left: var(--sx, 0); right: auto; bottom: auto; top: 54px; width: 540px; max-width: calc(100vw - 48px); max-height: min(70vh, 560px); border: 1px solid var(--mg-line); border-radius: 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .16); transform: translateY(-4px); z-index: 70; }
	.mg-sfind__in { padding: 16px; }
	.mg-sfind__hd { display: none; }
}

/* ユーザーページのカード：写真の下は1行（長いときは「…」）。写真どうしの縦の間も狭く */
.mg-main .mg-shot__nm { display: block; height: auto; margin-top: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 18px; }
.mg-main .mg-shot__nm small { display: inline; margin-right: 1px; font-size: 10.5px; line-height: 18px; letter-spacing: .05em; }
.mg-main .mg-shot__nm b { display: inline; -webkit-line-clamp: unset; font-size: 13px; line-height: 18px; }
.mg-main .mg-shots--mine { row-gap: 14px; }
@media (min-width: 640px) { .mg-main .mg-shots--mine { row-gap: 18px; } }

/* ===== v8.50.0：カバー写真（低く・位置を決める）・プロフィール編集・動画リンク・絞り込み・マイギアの絵 ===== */
/* ユーザーページのカバー写真：スマホ 3:1・PC 4:1（前は 2:1・3:1） */
.mg-mcover { aspect-ratio: 3 / 1; }
@media (min-width: 768px) { .mg-mcover { aspect-ratio: 4 / 1; } }

/* 編集画面：カバー写真（3:1。押すと選び直し、右上の × で外す） */
.mygear-cover__box { position: relative; display: block; overflow: hidden; }
.mygear-cover__pick { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.mygear-cover__ph { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--mg-ink); }
.mygear-cover__box:not(.is-empty) .mygear-cover__ph { display: inline-flex; position: absolute; right: 10px; bottom: 10px; height: 30px; padding: 0 12px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; }
.mygear-cover__rm { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; text-decoration: none; cursor: pointer; }
.mygear-cover__rm svg { width: 14px; height: 14px; }
.mygear-cover__rm[hidden] { display: none; }
/* 切り取り画面：カバー写真は横長 */
.mygear-crop.is-wide .mygear-crop__box { max-width: 680px; }
.mygear-crop.is-wide .mygear-crop__canvas { aspect-ratio: 3 / 1; }

/* 編集画面：所属バンド（× はリンクの右に小さく） */
.mg-mypage .mygear-bands__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.mg-mypage .mygear-bands__row > input[name="m_band[]"] { grid-column: 1 / -1; }
.mygear-bands__urlw { display: flex; align-items: center; gap: 2px; min-width: 0; }
.mygear-bands__urlw .mygear-bands__url { flex: 1 1 auto; min-width: 0; }
.mg-mypage .mygear-bands__urlw .mygear-bands__del { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mg-mute); cursor: pointer; }
.mg-mypage .mygear-bands__urlw .mygear-bands__del:hover { background: var(--mg-gray); color: var(--mg-ink); }
.mg-mypage .mygear-bands__urlw .mygear-bands__del svg { width: 14px; height: 14px; }
@media (min-width: 640px) {
	.mg-mypage .mygear-bands__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1.5fr); }
	.mg-mypage .mygear-bands__row > input[name="m_band[]"] { grid-column: auto; }
}
/* 編集画面（PC）：幅を広く */
@media (min-width: 1024px) {
	.mg-mypage > .mg-wrap:not(.mg-mypage__start):not(.mg-mypage__post) { max-width: 1080px; }
	.mg-mypage .mg-wrap:not(.mg-mypage__post) > .mg-mypage__head:has(+ .mg-mypage__edit), .mg-mypage .mg-wrap:not(.mg-mypage__post) > .mg-mypage__edit { max-width: 1040px; }
	.mg-mypage .mygear-my { --my-label: 168px; }
}

/* 投稿のページ：動画リンクは小さめの行 */
.mg-shotv__play { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 6px; border-radius: 12px; }
.mg-shotv__pth { border-radius: 8px; }
.mg-shotv__pth i { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.mg-shotv__pt b { font-size: 13.5px; }
.mg-shotv__pt small { font-size: 11.5px; }
@media (min-width: 900px) { .mg-shotv__play { grid-template-columns: 112px minmax(0, 1fr); } }

/* マイギア：絞り込み（1行目：カテゴリー・キーワード・検索、2行目：タグ） */
.mg-sfind { position: relative; display: grid; gap: 10px; margin-top: 6px; }
.mg-sfind__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mg-sfind__cat { display: inline-flex; flex: 0 1 auto; align-items: center; gap: 6px; min-width: 0; max-width: 52%; height: 44px; padding: 0 12px 0 16px; border: 1px solid var(--mg-line-strong); border-radius: 999px; background: #fff; color: var(--mg-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mg-sfind__cat span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mg-sfind__cat:hover { border-color: var(--mg-ink2); }
.mg-sfind__cat.is-on { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff; }
.mg-sfind__cat .mg-sfind__chev { flex: none; }
.mg-sfind__cat[aria-expanded="true"] .mg-sfind__chev { transform: rotate(180deg); }
.mg-sfind__kw { display: flex; flex: 1 1 auto; align-items: center; gap: 6px; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: var(--mg-gray); color: var(--mg-mute); transition: background .15s, border-color .15s; }
.mg-sfind__kw:focus-within { border-color: var(--mg-line-strong); background: #fff; color: var(--mg-ink2); }
.mg-sfind__kw svg { flex: none; }
.mg-main .mg-sfind__kw input { flex: 1 1 auto; width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; font: inherit; font-size: 16px; color: var(--mg-ink); -webkit-appearance: none; appearance: none; }
.mg-sfind__kw input::placeholder { color: var(--mg-mute); }
.mg-sfind__kw input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mg-sfind__go { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--mg-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mg-sfind__go:hover { filter: brightness(1.08); }
.mg-sfind__pos { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--mg-ink); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.mg-sfind__tags { display: flex; gap: 6px; margin: 0 calc(-1 * var(--mg-gut)); padding: 2px var(--mg-gut); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.mg-sfind__tags::-webkit-scrollbar { display: none; }
.mg-sfind__tag { position: relative; display: inline-flex; flex: none; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--mg-line); border-radius: 999px; background: #fff; color: var(--mg-ink2); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .12s, border-color .12s; }
.mg-sfind__tag input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mg-sfind__tag i { margin-right: 1px; font-style: normal; font-weight: 800; color: var(--mg-accent); }
.mg-sfind__tag:hover { border-color: var(--mg-ink2); }
.mg-sfind__tag.is-on { border-color: var(--mg-accent); background: var(--mg-accent); color: #fff; }
.mg-sfind__tag.is-on i { color: #fff; }
.mg-sfind__tag:has(input:focus-visible) { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
.mg-sfind__clear { justify-self: start; font-size: 12.5px; color: var(--mg-sub) !important; text-decoration: underline; text-underline-offset: 3px; }
/* カテゴリーの一覧（ラジオ） */
.mg-sfind__seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-sfind__tab, .mg-sfind__it { position: relative; }
.mg-sfind__tab input, .mg-sfind__it input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mg-sfind__it { cursor: pointer; }
.mg-sfind__it:has(input:focus-visible), .mg-sfind__tab:has(input:focus-visible) { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
.mg-sfind__ft { position: sticky; bottom: 0; margin-top: 14px; padding: 10px 0 0; background: #fff; }
.mg-sfind__ok { width: 100%; height: 46px; border: 0; border-radius: 12px; background: var(--mg-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
@media (min-width: 768px) {
	.mg-sfind__row { gap: 10px; }
	.mg-sfind__cat { max-width: 320px; }
	.mg-sfind__kw { flex: 0 1 240px; }
	.mg-sfind__tags { margin: 0; padding: 2px 0; }
	.mg-sfind__sheet { left: 0; top: 54px; }
	.mg-sfind__ft { display: none; }
}

/* マイギアのいちばん上：トップの「マイギア」のカードと同じバンドの絵 */
.mg-sfind__cat { flex: 0 0 auto; max-width: 46%; }
.mg-main .mg-sfind__ok { color: #fff !important; background: var(--mg-ink) !important; }
@media (max-width: 767px) {
	.mg-sfind__seg .mg-sfind__tab { gap: 4px; padding: 0 4px; font-size: 13px; }
	.mg-sfind__seg .mg-kico { display: none; }
}

/* ============ My Gear の写真（v8.51.0 マイギアのトップ・11/6 12:31 利用者の見本。v8.52.0 低く・3行。v8.53.0 スマホも写真の右に文字・写真全体がリンク・MY GEAR のトップにも） ============
 *   大きさは写真の幅に合わせる（cqw）。幅 600px 以上は横長に切る */
.mg-uhero { --uh-bg: #06131a; position: relative; margin-top: 8px; border-radius: var(--mg-r-lg); overflow: hidden; background: var(--uh-bg); color: #fff; isolation: isolate; container-type: inline-size; }
.mg-main .mg-uhero__img { display: block; width: 100%; height: auto !important; max-width: none; aspect-ratio: 1408 / 768; object-fit: cover; object-position: 30% 50%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mg-uhero__in { position: absolute; top: 0; bottom: 0; left: 49%; right: 1.5%; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 3cqw; text-align: center; pointer-events: none; }
.mg-main .mg-uhero__title { margin: 0; font-weight: 400; line-height: 1; color: #fff; }
.mg-main .mg-uhero__title small { display: block; margin-bottom: 1cqw; font-size: max(13px, 3.6cqw); font-weight: 700; letter-spacing: .08em; color: #c9ac78; opacity: 1; }
.mg-uhero__en { display: block; font-family: Georgia, "Times New Roman", "Noto Serif", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 10cqw; letter-spacing: .01em; white-space: nowrap; color: #b4955f; background: linear-gradient(180deg, #d6ba86 0%, #b08f58 55%, #8c6d40 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 .5cqw 1.5cqw rgba(0, 0, 0, .45)); }
.mg-main .mg-uhero__copy { display: inline-flex; flex-direction: column; gap: .3em; margin: 2.4cqw 0 0 !important; font-size: max(12.5px, 3.65cqw); font-weight: 600; line-height: 1.5; letter-spacing: .04em; color: #e8ecf0; }
.mg-uhero__ln { display: block; text-align: center; white-space: nowrap; }   /* v8.54.0：1・2行目の文言が変わり長さが違うので、両端そろえ → 中央 */
.mg-uhero__join { display: flex; align-items: center; justify-content: center; gap: .45em; color: #fff; }
.mg-uhero__jt { flex: 0 1 auto; }
.mg-uhero__g { display: inline-grid; flex: none; place-items: center; width: 1.55em; height: 1.55em; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.mg-uhero__g svg { display: block; width: .95em; height: .95em; }
/* 写真のどこを押しても登録（ログイン後は写真の投稿）へ */
.mg-uhero__hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; -webkit-tap-highlight-color: transparent; }
.mg-uhero__hit:focus-visible { outline: 3px solid #d6ba86; outline-offset: -3px; }
.mg-uhero:active .mg-uhero__img { transform: scale(1.01); }
@media (hover: hover) {
	.mg-uhero:hover .mg-uhero__img { transform: scale(1.02); }
	.mg-uhero:hover .mg-uhero__jt { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
}
@container (min-width: 600px) {
	.mg-main .mg-uhero__img { aspect-ratio: 1408 / 560; max-height: 470px; object-position: 30% 40%; }
	.mg-uhero__in { left: 54%; padding-top: 0; }
	.mg-main .mg-uhero__title small { font-size: clamp(15px, 1.9cqw, 22px); margin-bottom: .6cqw; }
	.mg-uhero__en { font-size: clamp(54px, 9cqw, 116px); }
	.mg-main .mg-uhero__copy { margin-top: 1.6cqw !important; font-size: clamp(16px, 2.2cqw, 28px); }
}
/* MY GEAR のトップ（今日の機材の場所。v8.53.0） */
.mg-uhero--home { margin-top: 0; }

/* v8.52.0：見出しの英字に小文字があるときは大文字にしない（My Gear みんなの機材） */
.mg-sechead__en.is-case { text-transform: none; }

/* v8.52.0（11/6 12:51 利用者）：絞り込み。検索ボタンは黒（サイトのボタンと同じ）、タグは複数選べる（選んだものは黒＋チェック）
 * v8.53.0（11/6 13:24 利用者）：上から カテゴリー → タグ → 検索欄と［検索］。「タグ 複数OK」の文字はやめた */
.mg-sfind__row { width: 100%; }
.mg-sfind__row--cat .mg-sfind__cat { max-width: 100%; }
.mg-main .mg-sfind__go { display: inline-flex; align-items: center; gap: 6px; padding: 0 20px 0 16px; background: var(--mg-ink); color: #fff; }
.mg-main .mg-sfind__go:hover { filter: none; background: #34342f; }
.mg-sfind__tag.is-on { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff; }
.mg-sfind__tag.is-on i { color: #fff; }
.mg-sfind__tag.is-on::after { content: ""; width: 9px; height: 5px; margin-left: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.mg-sfind__tag:has(input:focus-visible) { outline-color: var(--mg-ink); }
@media (min-width: 768px) {
	.mg-sfind__row--kw { max-width: 560px; }
	.mg-sfind__tags { flex-wrap: wrap; overflow: visible; }
}
.mg-sfind__row--kw .mg-sfind__kw { border-color: var(--mg-line-strong); background: #fff; }

/* ============ v8.54.0（11/6 14:56 利用者）：写真のページの写真の下をきゅっと（文字を小さく・余白を詰め・投稿した人とボタンを1行に） ============ */
.mg-shotv__body { gap: 10px; padding: 12px 16px 18px; }
.mg-shotv__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.mg-shotv__by { gap: 8px; min-width: 0; }
.mg-shotv__by .mg-av { width: 28px; height: 28px; font-size: 11px; }
.mg-shotv__by b { font-size: 13.5px; }
.mg-shotv__acts { flex: none; gap: 6px; }
.mg-shotv__acts .mg-heart--lg { min-height: 34px; padding: 0 11px; font-size: 13px; }
.mg-shotv__acts .mg-heart--lg .mg-heart__ico { width: 17px; height: 17px; }
.mg-shotv__acts .mg-shbtn { gap: 5px; min-height: 34px; padding: 0 12px; }
.mg-main .mg-shotv__acts .mg-shbtn, .mg-main .mg-shotv__acts .mg-shbtn span { font-size: 12.5px; }
.mg-shotv__acts .mg-sharemenu { left: auto; right: 0; }
.mg-shotv__head { display: grid; gap: 2px; min-width: 0; margin-top: 2px; }
.mg-shotv__kind { gap: 8px; margin: 0 0 4px !important; font-size: 11.5px; }
.mg-shotv__kind a { height: 22px; padding: 0 9px; font-size: 11.5px; }
.mg-main .mg-shotv__maker { margin: 0 !important; font-size: 11px; letter-spacing: .06em; }
.mg-main .mg-shotv__ttl { font-size: 19px; line-height: 1.35; }
.mg-shotv__text { font-size: 14px; line-height: 1.75; }
.mg-shotv__tags { gap: 2px 12px; font-size: 13px; }
.mg-shotv__plays { gap: 6px; }
.mg-shotv__play { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 6px; border-radius: 12px; }
.mg-shotv__pth { border-radius: 7px; }
.mg-shotv__pth i { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.mg-shotv__pth i svg { width: 11px; height: 11px; }
.mg-shotv__pt { gap: 2px; }
.mg-shotv__pt b { font-size: 13px; }
.mg-shotv__pt small { font-size: 11px; }
@media (min-width: 900px) {
	.mg-shotv__body { gap: 12px; padding: 22px 24px 26px; }
	.mg-main .mg-shotv__ttl { font-size: 22px; }
	.mg-shotv__play { grid-template-columns: 116px minmax(0, 1fr); }
}

/* v8.54.0（11/6 14:56 利用者）：投稿の画面のカテゴリー・タグは3行まで、収まらないときは横にスクロール（幅は JS の data-rows3） */
.mg-sf__hs { margin: 0 -18px; padding: 2px 18px 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.mg-sf__hs::-webkit-scrollbar { display: none; }
.mg-sf__hsin { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-sf__hs.is-scroll .mg-sf__hsin { max-width: none; }
@media (min-width: 640px) { .mg-sf__hs { margin: 0 -22px; padding-left: 22px; padding-right: 22px; } }

/* v8.54.0（11/6 14:56 利用者）：投稿の削除。よくある確認の形（この投稿を削除しますか？［キャンセル］［削除］） */
.mg-sform__delask { display: grid; justify-items: center; gap: 12px; max-width: 320px; margin: 0 auto !important; padding: 16px; border: 1px solid var(--mg-line); border-radius: 14px; background: #fff; }
.mg-sform__delask[hidden] { display: none; }
.mg-main .mg-sform__delq { margin: 0 !important; font-size: 14px; font-weight: 700; color: var(--mg-ink); }
.mg-sform__delbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.mg-sform__delask .mg-sform__delno, .mg-sform__delask .mg-sform__delyes { height: 40px; margin: 0; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.mg-sform__delask .mg-sform__delno { background: var(--mg-gray); color: var(--mg-ink); }
.mg-sform__delask .mg-sform__delyes { background: #c62828; color: #fff; }
.mg-sform__delask .mg-sform__delyes:hover { background: #a82020; }
.mg-sf__main { grid-template-columns: minmax(0, 1fr); }
.mg-sf__card { min-width: 0; }

/* ============ トップの上の部分の背景写真（v8.55.0：11/6 15:45 利用者の写真。v8.56.0：11/6 16:24 写真を替え、絵のカード4枚は写真の下へ） ============
 *   写真は色を少し抑えて書き出し（assets/img/hero-stage*.webp）。左（文字の側）と下（機材の帯）を暗いグラデーションで沈め、右の楽器は見せる。
 *   数字3つと流れる機材の帯はそのまま（色だけ暗い背景に合わせた） */
.mg-hero--stage { --hs-bg: #07090c; padding: 30px 0 24px; background: var(--hs-bg); color: #fff; }
.mg-hero--stage::before, .mg-hero--stage::after, .mg-hero--stage .mg-hero__mark { display: none; }
.mg-hero--v14 > .mg-hero__bg { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.mg-main .mg-hero__bg img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; object-position: 60% 50%; }
.mg-hero__bg::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(90deg, rgba(7, 9, 12, .88) 0%, rgba(7, 9, 12, .72) 30%, rgba(7, 9, 12, .46) 46%, rgba(7, 9, 12, .1) 64%, rgba(7, 9, 12, .04) 100%),
	linear-gradient(180deg, rgba(7, 9, 12, 0) 48%, rgba(7, 9, 12, .9) 100%); }
.mg-hero--stage .mg-hero__in { grid-template-columns: minmax(0, 1fr); }
.mg-hero--stage .mg-hero__main { max-width: 620px; }
.mg-main .mg-hero--stage .mg-hero__title--db { color: #fff; text-shadow: 0 2px 28px rgba(0, 0, 0, .45); }
.mg-hero--stage .mg-hero__t1, .mg-hero--stage .mg-hero__t2 { color: #fff; }
.mg-main .mg-hero--stage .mg-hero__note { color: rgba(255, 255, 255, .84); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.mg-hero--stage .mg-search__box { box-shadow: 0 12px 34px rgba(0, 0, 0, .4) !important; }
.mg-hero--stage .mg-hero__count--v14 span { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: rgba(255, 255, 255, .7); }
.mg-hero--stage .mg-hero__count--v14 b { color: #fff; }
.mg-hero--stage .mg-ribbon__item { box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
@media (min-width: 768px) { .mg-hero--stage { padding: 64px 0 30px; } }
@media (min-width: 1200px) { .mg-hero--stage { padding-top: 80px; } }
/* 広い画面（中身の幅 1440px より広い）：暗い地を画面の端まで伸ばし、写真の右端は地に溶かす */
@media (min-width: 1441px) {
	.mg-hero--stage { box-shadow: 0 0 0 100vmax var(--hs-bg); clip-path: inset(0 -100vmax); }
	.mg-hero__bg::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--hs-bg) 0, rgba(7, 9, 12, 0) 6%, rgba(7, 9, 12, 0) 90%, var(--hs-bg) 100%); }
}
@media (max-width: 767px) {
	.mg-main .mg-hero__bg img { object-position: 50% 40%; }
	.mg-hero__bg::after { background: linear-gradient(180deg, rgba(7, 9, 12, .5) 0%, rgba(7, 9, 12, .62) 40%, rgba(7, 9, 12, .78) 72%, rgba(7, 9, 12, .94) 100%); }
}
/* v8.57.0（11/6 16:42 利用者）：写真をもう少し引きで。高さに合わせて右に寄せ、左は暗い地（写真の左はもともと暗いのでつながる） */
.mg-hero--v14 > .mg-hero__bg { left: auto; right: 0; width: auto; aspect-ratio: 1408 / 768; }
@media (max-width: 767px) {
	.mg-hero--v14 > .mg-hero__bg { left: 0; right: 0; width: auto; height: 470px; aspect-ratio: auto; }
	.mg-hero__bg::after { background: linear-gradient(180deg, rgba(7, 9, 12, .5) 0%, rgba(7, 9, 12, .62) 45%, rgba(7, 9, 12, .82) 78%, var(--hs-bg) 100%); }
}
/* 絵のカード：PICK UP の下に3つ（v8.57.0。スマホも3つ横で小さめ） */
.mg-home__ways { margin-top: 24px; }
.mg-home__ways .mg-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mg-home__ways .mg-way { box-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 0 0 1px var(--mg-line2); transition: box-shadow .2s, transform .2s; }
.mg-home__ways .mg-way:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 20, 20, .12); }
.mg-home__ways .mg-way__art { aspect-ratio: 4 / 3; }
@media (max-width: 767px) {
	.mg-home__ways .mg-way__txt { padding: 7px 8px 8px; }
	.mg-home__ways .mg-way__txt b { font-size: 12.5px; }
	.mg-home__ways .mg-way__txt small { font-size: 10px; }
	.mg-home__ways .mg-way > .mg-ico { display: none; }
}
@media (min-width: 768px) {
	.mg-home__ways { margin-top: 36px; }
	.mg-home__ways .mg-ways { gap: 14px; }
	.mg-home__ways .mg-way__art { aspect-ratio: 16 / 10; }
}
.mg-home__main > .mg-uhero--home { margin-top: 28px; }
@media (min-width: 768px) { .mg-home__main > .mg-uhero--home { margin-top: 40px; } }

/* v8.58.0（11/6 16:48 利用者）：トップの PICK UP は PC で1枚を少し狭く、3.5枚分見えるように（右に半分のぞかせて、横に送れるとわかる） */
@media (min-width: 1024px) {
	.mg-main.mg-home .mg-picks__track { grid-auto-columns: calc((100% - 3 * 14px) / 3.5); gap: 14px; }
}

/* ============ v8.60.0（11/6 18:32 利用者） ============ */
/* 押してからの反応を速く：ダブルタップで拡大する待ち（スマホ）をなくし、押した瞬間に色が変わるように */
a, button, label, input, select, textarea, summary, [role="button"] { touch-action: manipulation; }
.mg-sf__chip, .mg-sf__tag, .mg-sf__tab, .mg-sfind__tag, .mg-sfind__cat, .mg-sfind__go, .mygear-editbar__save { -webkit-tap-highlight-color: transparent; transition: none; }
.mg-sf__chip:active, .mg-sf__tag:active, .mg-sf__tab:active, .mg-sfind__tag:active { transform: scale(.96); }
.mg-sf__chip:has(input:checked) { border-color: var(--mg-accent); background: var(--mg-accent); color: #fff; }
.mg-sf__tag:has(input:checked) { border-style: solid; border-color: var(--mg-accent); background: var(--mg-accent); color: #fff; }
.mg-sf__tag:has(input:checked) i { color: inherit; }

/* プロフィールのカバー写真：スマホは 3:1 で低いので、下のカードを重ねすぎない（写真がほとんど隠れていた） */
@media (max-width: 767px) {
	.mg-member.has-cover .mg-prof8 { margin-top: -14px; }
	.mg-member.has-cover .mg-prof8__av { margin-top: -34px; }
}

/* 写真のページ：写真と説明の白い枠の角を四角に（写真の上の角を丸くしない） */
.mg-shotv { border-radius: 0; }
/* スマホ：ハート・共有・編集は名前の下に（名前が数文字しか見えなかった） */
@media (max-width: 899px) {
	.mg-shotv__top { flex-wrap: wrap; row-gap: 8px; }
	.mg-shotv__by { flex: 1 1 100%; }
}

/* ユーザーページ（スマホ）：写真の下の機材名を、マイギアの一覧と同じ細いグレーの小さな文字に（たくさん入るように） */
@media (max-width: 767px) {
	.mg-main .mg-shot__nm { margin-top: 6px; font-size: 12px; line-height: 17px; color: var(--mg-sub) !important; }
	.mg-main .mg-shot__nm small, .mg-main .mg-shot__nm b { font-size: 12px; font-weight: 400; line-height: 17px; letter-spacing: normal; text-transform: none; color: var(--mg-sub); }
	.mg-main .mg-shot__nm small { margin-right: 0; }
}

/* ===== v8.61.0（11/6 20:54 利用者）一覧ページの見出しの帯：アーティスト・機材（ランキング）・コラム。トップと同じ「暗い地＋写真」でそろえる ===== */
.mg-pband { --hs-bg: #07090c; position: relative; isolation: isolate; overflow: hidden; margin-bottom: 22px; background: var(--hs-bg); color: #fff; }
.mg-pband__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mg-main .mg-pband__bg img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; object-position: 50% 40%; }
.mg-main .mg-pband--gear .mg-pband__bg img { object-position: 50% 45%; }
.mg-main .mg-pband--column .mg-pband__bg img { object-position: 50% 35%; }
.mg-pband__bg::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(90deg, rgba(7, 9, 12, .94) 0%, rgba(7, 9, 12, .82) 30%, rgba(7, 9, 12, .36) 62%, rgba(7, 9, 12, .24) 100%),
	linear-gradient(0deg, rgba(7, 9, 12, .75) 0%, rgba(7, 9, 12, 0) 40%); }
.mg-main .mg-pband__in { display: flex; flex-direction: column; min-height: 300px; padding-top: 2px; padding-bottom: 30px; box-sizing: border-box; }
.mg-main .mg-pband .rl-crumbs { margin: 0 0 auto; padding-bottom: 26px; }
.mg-main .mg-pband .rl-crumbs__list { color: rgba(255, 255, 255, .72); }
.mg-main .mg-pband .rl-crumbs a { color: rgba(255, 255, 255, .72) !important; }
.mg-main .mg-pband .rl-crumbs__item + .rl-crumbs__item::before { color: rgba(255, 255, 255, .4); }
.mg-main .mg-pband__head { margin: 0; padding: 0; }
.mg-main .mg-pband__en { margin: 0 0 10px !important; font-family: var(--mg-num); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .28em; color: #c9a96a; }
.mg-main .mg-pband .mg-phead__title { margin: 0 !important; font-size: 44px; line-height: 1.15; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.mg-main .mg-pband .mg-phead__lead { margin-top: 10px !important; max-width: 42em; color: rgba(255, 255, 255, .84); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.mg-main .mg-pband .mg-pband__q { margin: 18px 0 0; }
.mg-main .mg-pband .mg-filter__q { width: 100%; max-width: 460px; box-shadow: 0 12px 34px rgba(0, 0, 0, .4); }
.mg-main .mg-pband__st { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0 !important; }
.mg-pband__st span { display: flex; flex-direction: column; gap: 2px; padding: 9px 16px 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.mg-pband__st b { font-family: var(--mg-num); font-size: 20px; font-weight: 800; line-height: 1.1; color: #fff; }
.mg-pband + .mg-wrap > .mg-gswitch:first-child { margin-top: 0; }
@media (min-width: 1024px) {
	.mg-main .mg-pband__in { min-height: 320px; }
	.mg-main .mg-pband .mg-phead__title { font-size: 48px; }
}
/* 広い画面：暗い地を画面の端まで。写真の左右の端は地に溶かす（トップと同じ） */
@media (min-width: 1441px) {
	.mg-pband { box-shadow: 0 0 0 100vmax var(--hs-bg); clip-path: inset(0 -100vmax); }
	.mg-pband__bg::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--hs-bg) 0, rgba(7, 9, 12, 0) 6%, rgba(7, 9, 12, 0) 94%, var(--hs-bg) 100%); }
}
@media (max-width: 767px) {
	.mg-pband__bg::after { background: linear-gradient(0deg, rgba(7, 9, 12, .96) 0%, rgba(7, 9, 12, .8) 45%, rgba(7, 9, 12, .36) 100%); }
	.mg-main .mg-pband__in { min-height: 290px; padding-bottom: 22px; }
	.mg-main .mg-pband .mg-phead__title { font-size: 32px; }
	.mg-main .mg-pband .mg-phead__lead { font-size: 13px; }
	.mg-main .mg-pband .mg-filter__q { max-width: none; }
	.mg-pband__st span { padding: 7px 12px 6px; }
	.mg-pband__st b { font-size: 17px; }
}

/* v8.61.0（11/6 20:54 利用者）：My Gear の「y」の下が切れていた。文字の塗り（金のグラデーション）は行の高さまでしか届かないので、下に余白を足して塗りを伸ばす（見た目の位置は変えない） */
.mg-uhero__en { padding: .04em 0 .2em; margin: -.04em 0 -.2em; }

/* v8.65.0（11/9 23:09 利用者）：マイギアのページの写真を全面に（ほかのページの写真の帯と同じ）。パンくずは写真の上に白で */
.mg-uhero--full { margin: 0 calc(50% - 50vw) 22px; width: 100vw; max-width: 100vw; border-radius: 0; }
.mg-uhero--full .mg-uhero__hit { border-radius: 0; }
.mg-uhero__crumbs { position: absolute; top: 0; left: 0; right: 0; z-index: 3; pointer-events: none; }
.mg-uhero__crumbs .rl-crumbs { margin: 0; padding: 12px var(--mg-gut) 0; pointer-events: auto; }
.mg-uhero__crumbs .rl-crumbs, .mg-uhero__crumbs .rl-crumbs a { color: rgba(255, 255, 255, .82); }
.mg-uhero__crumbs .rl-crumbs a:hover { color: #fff; }
@media (min-width: 768px) {
	.mg-main .mg-uhero--full .mg-uhero__img { aspect-ratio: auto; height: clamp(360px, 36vw, 520px) !important; max-height: none; object-position: 30% 45%; }
	.mg-uhero--full .mg-uhero__in { left: 52%; right: 4%; }
	.mg-uhero--full .mg-uhero__en { font-size: clamp(56px, 7.4cqw, 120px); }
	.mg-main .mg-uhero--full .mg-uhero__copy { font-size: clamp(16px, 1.8cqw, 26px); }
}
@media (min-width: 1024px) { .mg-uhero__crumbs .rl-crumbs { padding-left: 40px; padding-right: 40px; } }
.mg-main .mg-uhero__crumbs .rl-crumbs__list { color: rgba(255, 255, 255, .72); }
.mg-main .mg-uhero__crumbs .rl-crumbs a { color: rgba(255, 255, 255, .72) !important; }
.mg-main .mg-uhero__crumbs .rl-crumbs__item + .rl-crumbs__item::before { color: rgba(255, 255, 255, .4); }

/* v8.66.0 トップの説明文：3つの句をそれぞれ1行に */
.mg-hero__note.mg-hero__note--3l span { display: block; }

/* v8.68.0 トップの説明文：2行（PC は1行ずつ、狭い画面は句の切れ目で折り返す） */
.mg-main .mg-hero--v14 .mg-hero__note--2l { max-width: 36em; margin-top: 14px !important; font-size: 14px; font-weight: 600; line-height: 1.75; letter-spacing: .02em; }
.mg-hero__note--2l span.mg-hero__nl { display: block; }
.mg-hero__note--2l .mg-hero__nl > span { display: inline-block; }
.mg-hero__note--2l .mg-hero__nl + .mg-hero__nl { margin-top: 2px; }
@media (min-width: 768px) { .mg-main .mg-hero--v14 .mg-hero__note--2l { margin-top: 18px !important; font-size: 15.5px; line-height: 1.8; } }
@media (min-width: 1024px) { .mg-main .mg-hero--v14 .mg-hero__note--2l { margin-top: 22px !important; margin-bottom: 4px !important; font-size: 17px; line-height: 1.85; } .mg-hero__note--2l span.mg-hero__nl { white-space: nowrap; } }

/* v8.69.0 機材ページの年表：PC も線を左に置き、人は全員線の右に（上から順に読めるように） */
@media (min-width: 900px) {
	.mg-main .mg-years { gap: 12px; }
	.mg-years::before { left: 37px; margin-left: 0; }
	.mg-years__item, .mg-years__dec { grid-template-columns: 76px minmax(0, 1fr); column-gap: 18px; }
	.mg-years__y, .mg-years__dec::before { grid-column: 1; }
	.mg-years__item.is-r .mg-years__card, .mg-years__item.is-l .mg-years__card { grid-column: 2; grid-template-columns: 48px minmax(0, 1fr); text-align: left; }
	.mg-years__item.is-l .mg-years__card > .mg-av { order: 0; }
	.mg-years__item.is-l .mg-who__top { justify-content: flex-start; }
	.mg-years__item.is-r .mg-years__card::before, .mg-years__item.is-l .mg-years__card::before { left: auto; right: 100%; width: 22px; }
	.mg-years__item.is-r.is-noyear .mg-years__card::before { width: 30px; }
	.mg-years__item + .mg-years__item { margin-top: 0; }
	.mg-years__dec { margin: 18px 0 4px; }
	.mg-years__dec:first-child { margin-top: 0; }
	.mg-years__dec span { grid-column: 2; padding-left: 0; }
}
