/* MuseMate 新デザイン。旧サイトの構成（上部バー＋左サイドバー＋白基調、チャンネルの色分け）を引き継いで軽量化 */
:root {
  --ink: #1a1a1a;
  --sub: #6a6a6a;
  --line: #e3e3e3;
  --bg: #fff;
  --side: #f5f5f5;
  --header-h: 56px;
  --side-w: 220px;
  --regist: #dc143c;
  --hero-from: #fa8072;
  --hero-to: #a57ed8;
  --ch1: #ff7f7f;
  --ch2: #7f7fff;
  --ch3: #ffa500;
  --ch4: #3cb371;
  --ch5: #8c8c8c;
  --mag: #3cb371;
  --real: #cfa24f;
  --live: #e0242f;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p, h1, h2, h3 { margin: 0; }

/* ===== 上部バー ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px 0 10px;
  background: linear-gradient(#555, #000);
  color: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.35);
}
.menu-toggle { width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; border-radius: 50%; }
.menu-toggle:hover { background: rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 26px; width: auto; }
.search { margin-left: auto; position: relative; width: min(360px, 34vw); }
.search input {
  width: 100%; height: 34px; border-radius: 17px; border: 0;
  padding: 0 14px 0 36px; font: inherit; font-size: 14px;
}
.search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #888; font-size: 13px; }
.auth { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.auth a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; }
.auth .login { border: 1px solid rgba(255,255,255,.45); }
.auth .login:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.auth .regist { gap: 0; background: linear-gradient(135deg, #ff4d6d, var(--regist)); box-shadow: 0 4px 14px rgba(220,20,60,.45); }
.auth .regist:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(220,20,60,.55); }

/* ===== 左サイドバー ===== */
.sidebar {
  position: fixed; top: var(--header-h); bottom: 0; left: 0; z-index: 20;
  width: var(--side-w);
  background: var(--side);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: none;
  display: flex; flex-direction: column;
  padding: 10px 0;
  transition: transform .2s ease;
}
.sidebar::-webkit-scrollbar { display: none; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 22px;
  font-weight: 700; font-size: 14px;
  transition: background .15s;
}
.nav a:hover { background: #e9e9e9; }
.nav a.is-current { background: #e4e4e4; }
.nav i { width: 18px; text-align: center; }
.nav-group { margin: 12px 22px 4px; padding-top: 12px; border-top: 1px solid #e2e2e2; font-size: 11px; font-weight: 700; color: var(--sub); letter-spacing: .08em; }
.ch { display: inline-grid; place-items: center; min-width: 30px; height: 18px; padding: 0 4px; border-radius: 3px; color: #fff; font-size: 10px; font-weight: 700; }
.ch1 { background: var(--ch1); } .ch2 { background: var(--ch2); } .ch3 { background: var(--ch3); }
.ch4 { background: var(--ch4); } .ch5 { background: var(--ch5); }
.ch-mag { background: var(--mag); } .ch-real { background: var(--real); } .ch-other { background: var(--ch5); }
.side-foot { margin: auto 22px 0; padding: 20px 0 22px; color: var(--sub); }
.side-foot-main { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 700; color: #555; }
.side-foot-legal { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e2e2e2; font-size: 11px; line-height: 1.6; }
.side-foot-copy { margin-top: 10px; font-size: 11px; color: #9a9a9a; }
.side-foot a:hover { color: var(--ink); }
.scrim { display: none; }

/* ===== 本文 ===== */
.main { margin-left: var(--side-w); padding-top: var(--header-h); min-width: 0; overflow-x: clip; transition: margin .2s ease; }
body.nav-collapsed .sidebar { transform: translateX(-100%); }
body.nav-collapsed .main { margin-left: 0; }
.content { padding: 0 32px 80px; max-width: 1400px; }

/* ===== 見出し（番組の動画）===== */
.hero { background: linear-gradient(to right, var(--hero-from), var(--hero-to)); padding: 16px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(220px, .8fr); gap: 20px; align-items: center; max-width: 1600px; }
.hero-video { position: relative; width: 100%; aspect-ratio: 16 / 9; align-self: center; background: #000; border-radius: 0; overflow: hidden; }
.hero-poster { display: none; position: absolute; inset: 0; z-index: 1; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster span { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; transition: background .15s; }
.hero-poster:hover span { background: rgba(0,0,0,.75); }
.hero-video.is-poster .hero-poster { display: block; }
.hero-video.is-poster iframe, .hero-video.is-poster .unmute { display: none; }
.hero-video .unmute { z-index: 2; }
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.unmute { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(255,255,255,.9); color: #333; font-size: 12px; padding: 4px 10px; border-radius: 3px; }
.hero-text { color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.hero-text h2 { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; }
.hero-text p { font-size: 14px; opacity: .95; margin-top: 8px; }
.btn-ghost { display: block; text-align: center; border: 2px solid #fff; color: #fff; font-weight: 700; padding: 10px; border-radius: 4px; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.next-live { position: relative; align-self: stretch; min-height: 180px; border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; color: #fff; background: #1b1b22; isolation: isolate; }
/* 背景：同じ画像を強くぼかして暗く（白は使わない） */
.next-live-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; z-index: -2; filter: blur(22px) saturate(1.2) brightness(.45); }
.next-live::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.45)); }
.next-live-top { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px 18px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0)); text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.next-live-label { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,.6); }
.next-live-label.is-live { background: var(--live); }
.next-live-label .dot-live { margin: 0; }
.next-live-count { padding: 2px 10px; border-radius: 20px; background: rgba(0,0,0,.6); }
/* サムネイルは残りの高さに合わせる（カードの高さを押し広げない） */
.next-live-thumb { position: relative; min-height: 60px; overflow: hidden; }
.next-live-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.next-live:hover .next-live-thumb img { transform: scale(1.04); }
.next-live-text { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px 12px; }
.next-live-when { font-size: 12px; font-weight: 700; color: #ffd27a; }
.next-live-title { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.next-live:hover .next-live-title { text-decoration: underline; }
.next-live-sub { font-size: 12px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-live .label { color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 3px; align-self: flex-start; background: #2244cc; }
.next-live .label.is-live { background: var(--live); }

/* ===== バナー（横スクロール）===== */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 32px 0; scroll-padding: 0 32px; scroll-behavior: smooth; }
.banners a { scroll-snap-align: start; border-radius: 6px; overflow: hidden; }
.banners img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; transition: transform .2s; }
.banners a:hover img { transform: scale(1.03); }

/* ===== セクションとカード ===== */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.section-head h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.section-head .more { font-size: 13px; color: var(--sub); }
.section-head .more:hover { text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 28px 18px; }
.card { min-width: 0; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #eee; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ch { position: absolute; left: 6px; top: 6px; }
.thumb .live { position: absolute; right: 6px; top: 6px; background: var(--live); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 3px; }
.card-date { display: block; font-size: 12px; color: var(--sub); margin-top: 6px; }
.card-body { display: flex; gap: 10px; margin-top: 6px; }
.card-body > div { min-width: 0; }
.avatar { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; object-fit: cover; background: #ddd; }
.card-title { font-weight: 700; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-sub { font-size: 13px; color: var(--sub); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { color: var(--sub); font-size: 14px; }

/* ===== レギュラー番組・お知らせ ===== */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px; }
.split .section { margin-top: 0; }
.programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 24px 16px; }
.program { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.4; }
.program img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #eee; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow .15s, transform .15s; }
.program:hover img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hero-to); transform: translateY(-2px); }
.program span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { list-style: none; margin: 0; padding: 8px 28px; background: #fafafa; border: 1px solid var(--line); border-radius: 12px; }
.news-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; column-gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.news-list li:last-child { border-bottom: 0; }
.news-list time { font-size: 13px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.news-list span { max-width: 52em; }

/* ===== フッター（スマホ用）===== */
.foot { display: none; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .next-live { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 52px; }
  .sidebar { transform: translateX(-100%); width: 260px; z-index: 40; top: 0; padding-top: var(--header-h); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.4); }
  .main, body.nav-collapsed .main { margin-left: 0; }
  .search { display: none; }
  .auth { margin-left: auto; }
  .brand img { height: 34px; }
  .auth a { min-width: 0; padding: 0 12px; font-size: 13px; }
  .auth .login { display: none; }
  .content { padding: 0 16px 56px; }
  .section { margin-top: 36px; }
  .split { gap: 36px; margin-top: 36px; }
  .news-list { padding: 4px 16px; }
  .news-list li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 14px 0; }
  .hero { padding: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-video { border-radius: 0; }
  .hero-text { padding: 14px 16px 18px; }
  .banners { grid-auto-columns: 82%; padding: 16px 16px 0; scroll-padding: 0 16px; gap: 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .card-body .avatar { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .programs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 96px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .auth a { height: 32px; padding: 0 14px; }
  .auth .regist span { display: none; }
  .foot { display: block; text-align: center; font-size: 12px; color: var(--sub); padding: 24px 12px; border-top: 1px solid var(--line); }
  .foot a { margin: 0 6px; }
}

/* ===== 会員メニュー（ヘッダー）===== */
.me { position: relative; }
.me summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; }
.me summary::-webkit-details-marker { display: none; }
.me summary:hover, .me[open] summary { background: rgba(255,255,255,.12); }
.me summary img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #ddd; }
.me summary span { max-width: 10em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me summary i { font-size: 10px; opacity: .7; }
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 6px; }
.me-menu a, .me-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; text-align: left; }
.me-menu a:hover, .me-menu button:hover { background: #f3f3f3; }
.me-menu i { width: 16px; text-align: center; color: var(--sub); }
.me-menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
@media (max-width: 768px) { .me summary span, .me summary i { display: none; } .me summary { padding: 0 4px; } }

/* ===== ログイン（旧サイトの「おかえりなさい！」＋右パネルの構成を引き継ぐ）===== */
.signin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 480px); gap: clamp(24px, 4vw, 64px); max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); min-height: calc(100vh - var(--header-h)); }
.signin-hello { text-align: center; padding-top: 32px; }
.signin-hello h1 { font-size: clamp(28px, 3.2vw, 44px); }
.signin-hello p { margin-top: 8px; color: #444; }
.signin-hello img { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: contain; margin: 20px auto 0; }
.signin-panel { background: #fff; padding: 40px 24px 48px; box-shadow: 0 0 14px rgba(0,0,0,.18); border-radius: 0 0 8px 8px; }
.signin-panel h2 { font-size: 18px; padding-bottom: 4px; border-bottom: 2px solid #ddd; margin-bottom: 28px; }
.signin-form { display: flex; flex-direction: column; }
.signin-form label { font-size: 15px; margin: 12px 0 4px; }
.signin-form input[type=email], .signin-form input[type=password], .signin-form input[type=text] { width: 100%; height: 42px; padding: 0 10px; border: 1px solid #aaa; border-radius: 5px; font: inherit; font-size: 15px; background: #fff; }
.signin-form input:focus { outline: none; border-color: #4444ff; box-shadow: 0 0 0 3px rgba(68,68,255,.18); }
.signin-submit { margin-top: 30px; height: 40px; border-radius: 5px; background: #4444ff; color: #fff; font-size: 16px; transition: background .15s; }
.signin-submit:hover { background: #2f2fd6; }
.signin-forgot { text-align: center; margin-top: 18px; font-size: 13px; }
.signin-forgot a { text-decoration: underline; }
.signin-forgot a:hover { color: #876; }
.signin-new { margin-top: 48px; padding: 16px; border-top: 2px solid #ddd; font-size: 14px; }
.signin-register { display: block; width: min(300px, 100%); margin: 12px auto 0; padding: 14px 0; border-radius: 999px; text-align: center; font-size: 18px; font-weight: 700; color: #fff; background: linear-gradient(#a8a8a8, #8a8a8a); border-bottom: 4px solid #ccc; transition: filter .15s; }
.signin-register:hover { filter: brightness(1.08); }
.form-error { display: flex; gap: 8px; align-items: baseline; margin: -12px 0 8px; padding: 12px 14px; border-radius: 6px; background: #fff1f1; color: #b4232f; font-size: 13px; line-height: 1.6; }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px !important; }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 6px; color: #777; }
.pw-toggle:hover { background: #f3f3f3; }
@media (max-width: 900px) {
  .signin { grid-template-columns: minmax(0, 1fr); padding: 0; align-items: start; min-height: 0; }
  .signin-hello { display: none; }
  .signin-panel { box-shadow: none; border-radius: 0; padding: 32px 24px 48px; }
}

/* ===== 会員登録（旧サイトの「左にフォーム・右に暗い写真のようこそ」構成を引き継ぐ）===== */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.signup-form { padding: 32px clamp(16px, 4vw, 48px) 64px; max-width: 560px; width: 100%; justify-self: center; }
.signup-form h1 { font-size: 22px; padding-bottom: 4px; border-bottom: 2px solid #ddd; margin-bottom: 12px; }
.signin-form label small { font-size: 12px; color: var(--sub); font-weight: 400; margin-left: 4px; }
.signup-agree { margin-top: 18px; font-size: 12px; text-align: center; color: #444; }
.signup-agree a, .signup-login a { text-decoration: underline; }
.signup-form .signin-submit { margin-top: 14px; }
.signup-login { margin-top: 40px; padding: 10px; background: #f0f0f0; text-align: center; font-size: 14px; }
.signup-login a { margin-left: 2px; }
.signup-welcome { color: #fff; padding: 48px clamp(20px, 3vw, 36px); background: #222 url('/static/image/bg.jpg') right bottom / cover no-repeat; }
.signup-welcome h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.5; }
.signup-strong { display: inline-block; margin-top: 8px; padding-bottom: 2px; font-weight: 700; border-bottom: 2px solid #fff; }
.signup-steps { margin: 24px 0 0; padding-left: 1.6em; font-weight: 700; line-height: 1.9; }
.signup-note { margin-top: 8px; font-size: 14px; line-height: 1.8; opacity: .9; }
@media (max-width: 900px) {
  .signup { grid-template-columns: minmax(0, 1fr); }
  .signup-welcome { order: -1; padding: 24px 20px; }
  .signup-welcome h2 { font-size: 26px; }
  .signup-welcome h2 br { display: none; }
}

/* ===== パスワード再設定などの1列の画面 ===== */
.simple-form { max-width: 560px; margin: 0 auto; padding: 56px 20px 80px; }
.simple-form h1 { font-size: 22px; padding-bottom: 4px; border-bottom: 2px solid #ddd; margin-bottom: 12px; }
.simple-lead { font-size: 15px; line-height: 1.8; margin-top: 8px; }
.simple-icon { font-size: 44px; color: #4444ff; text-align: center; margin-bottom: 12px; }
.simple-icon.is-ok { color: #2e9d5b; }
.simple-icon + h1 { text-align: center; }
.simple-notes { margin: 18px 0 0; padding: 14px 16px 14px 32px; background: #f6f6f6; border-radius: 6px; font-size: 13px; line-height: 1.8; color: #444; }
.simple-back { margin-top: 24px; text-align: center; font-size: 14px; }
.simple-back a, .simple-sub { text-decoration: underline; }
.simple-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; }
.signin-submit.as-link { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 0; }
.simple-sub { font-size: 14px; }

/* ===== マイページ ===== */
/* マイページ（旧サイトの形：上にプロフィール、下に大きなタブ） */
.mypage { max-width: 1080px; margin: 0 auto; padding: 32px 20px 80px; }
.mypage .flash-ok { margin-bottom: 16px; }
.my-profile-top { display: flex; align-items: center; gap: 18px; }
.my-profile-top img { width: 72px; height: 72px; min-width: 72px; object-fit: cover; border-radius: 50%; background: #ddd; }
.my-name { font-weight: 700; font-size: 20px; }
.my-mail { font-size: 13px; color: var(--sub); margin: 2px 0 10px; }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s; }
.btn-sm:hover { background: #f5f5f5; }
.my-tabs { display: flex; flex-wrap: wrap; margin-top: 24px; }
.my-tabs > input { display: none; }
.my-tabs > label { order: -1; padding: 12px 18px; font-weight: 700; font-size: 14px; color: var(--sub); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.my-tabs > label:hover { color: var(--ink); }
.my-tabs > input:checked + label { color: var(--ink); border-bottom-color: var(--ink); cursor: default; }
.my-panel { display: none; width: 100%; padding-top: 20px; border-top: 1px solid var(--line); }
.my-tabs > input:checked + label + .my-panel { display: block; }
.my-panel h2 { font-size: 17px; margin: 22px 0 12px; }
.my-panel h2:first-child { margin-top: 6px; }
.my-panel h3 { font-size: 15px; margin: 18px 0 10px; }
.my-top { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; }
.my-timeline { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.act-board { margin-bottom: 14px; background: #fff; padding: 14px 16px; font-size: 14px; border: 1px solid var(--line); border-radius: 12px; }
.act-board h3 { margin: 8px 0 4px; font-size: 15px; }
.board-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 700; }
.board-top a:hover { text-decoration: underline; }
.small-round { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #eee; flex: none; }
.timeline-date { font-weight: 400; color: #555; font-size: 11px; }
.board-item { display: flex; gap: 14px; align-items: flex-start; }
.board-item:hover { opacity: .85; }
.board-item img { width: 200px; max-width: 40%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #eee; }
.board-item p { font-size: 14px; margin-top: 4px; }
.event-date { font-size: 12px; color: #c0392b; font-weight: 700; }
.board-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 4px; }
.board-image { max-width: 260px; max-height: 260px; margin-top: 8px; border-radius: 4px; }
[data-more] > .is-hidden { display: none; }
.no-follow-time { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--sub); background: #fafafa; border-radius: 12px; padding: 40px 20px; font-size: 14px; line-height: 1.8; }
.no-follow-time i { font-size: 28px; color: #c8c8c8; }
.no-follow-time b { color: var(--ink); font-size: 15px; }
.plan-table { width: 30%; min-width: 260px; flex: none; align-self: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.plan-table h2 { font-size: 16px; margin: 0 0 4px; }
.plan-table h3 { font-size: 12px; margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--sub); }
.plan-ch { display: block; padding: 8px 0; }
.plan-ch:hover b { text-decoration: underline; }
.plan-ch small { color: var(--sub); }
.plan-table p { margin-top: 6px; }
.plan-table .btn-sm { margin-top: 12px; }
.plan-label { display: inline-block; margin: 8px 0 2px; padding: 2px 10px; border-radius: 5px; color: #fff; font-weight: 700; background: rgb(190, 166, 29); }
.plan-label.is-standard { background: rgb(70, 197, 118); }
.plan-label.is-free { background: gray; }
.act-member { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px; }
.act-member a { text-align: center; font-size: 12px; font-weight: 700; }
.act-member img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #eee; margin: 0 auto 6px; display: block; }
.my-pay { width: 100%; border-collapse: collapse; font-size: 13px; }
.my-pay th, .my-pay td { text-align: left; padding: 8px 6px; border-bottom: 1px dotted #ddd; }
.my-pay th { color: var(--sub); font-weight: 700; }
.my-pay td:last-child, .my-pay th:last-child { text-align: right; white-space: nowrap; }
.my-pay a { text-decoration: underline; }
.my-note { font-size: 12px; color: var(--sub); margin-top: 12px; }
.my-note a, .my-setting a { text-decoration: underline; }
.my-setting p, .my-setting form { font-size: 14px; }
@media (max-width: 760px) {
  .mypage { padding: 20px 0 56px; }
  .my-top { flex-direction: column-reverse; gap: 16px; }
  .plan-table { width: 100%; }
  .mypage { padding-left: 12px; padding-right: 12px; }
  .my-tabs > label { padding: 10px 8px; font-size: 12.5px; }
  .board-item { flex-direction: column; }
  .board-item img { width: 100%; max-width: none; }
}
.btn-sm.is-on { background: #f2f2f2; }
.btn-sm:disabled { color: var(--sub); cursor: default; background: #f7f7f7; }
/* 演者の店（旧 performer_prof：上にプロフィール、左にタブ、右にチャンネル・次回の配信） */
.store { max-width: 1180px; margin: 0 auto; padding: 32px 20px 80px; }
.store-head { display: flex; gap: 24px; align-items: flex-start; }
.store-avatar { width: 112px; height: 112px; min-width: 112px; border-radius: 50%; object-fit: cover; background: #ddd; }
.store-who { flex: 1; min-width: 0; }
.store-who h1 { font-size: 24px; margin: 4px 0 10px; }
.store-follow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-intro { margin-top: 14px; font-size: 14px; line-height: 1.8; }
.store-intro input { display: none; }
.store-intro p { white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.store-intro input:checked + p { display: block; }
.store-intro label { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--sub); cursor: pointer; text-decoration: underline; }
.store-intro input:checked ~ label { display: none; }
.store-body { display: flex; gap: 4%; align-items: flex-start; }
.store-main { flex: 1; min-width: 0; }
.store-side { width: 30%; flex: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.store-side .plan-table { width: 100%; }
.store-plan { padding: 12px 0; border-bottom: 1px dotted #ddd; }
.store-plan:last-child { border-bottom: 0; padding-bottom: 0; }
.store-price { font-size: 20px; font-weight: 700; margin: 4px 0; }
.store-price small { font-size: 12px; color: var(--sub); font-weight: 400; }
.store-plan-detail { font-size: 13px; color: #444; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.store-plan .buy-btn { width: 100%; }
.store-ask { padding: 12px; border-radius: 8px; background: #fff8e6; font-size: 13px; }
.store-ask .link-danger { display: block; margin: 8px auto 0; }
.store-joined { font-size: 13px; font-weight: 700; color: #1f7a45; margin-bottom: 8px; }
.board-locked { display: flex; gap: 8px; align-items: center; padding: 18px; border-radius: 8px; background: #f6f6f6; color: var(--sub); font-size: 13px; font-weight: 700; }
.store .flash-ok { margin-bottom: 16px; }
.store-next { display: block; margin-top: 10px; }
.store-next:hover { opacity: .85; }
.store-next img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #eee; margin-bottom: 6px; }
.store-next b { display: block; font-size: 14px; margin-top: 2px; }
.store .grid { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
@media (max-width: 900px) {
  .store-body { flex-direction: column; }
  .store-side { width: 100%; order: -1; }
}
@media (max-width: 600px) {
  .store { padding: 20px 12px 56px; }
  .store-head { gap: 14px; }
  .store-avatar { width: 72px; height: 72px; min-width: 72px; }
  .store-who h1 { font-size: 20px; }
}
/* 運営の管理 */
.admin .manage-head { margin-top: 8px; }
.admin-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.admin-tile { display: flex; flex-direction: column; gap: 4px; }
.admin-tile:hover { background: #fafafa; }
.admin-num { font-size: 30px; font-weight: 700; }
.admin-inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin: 12px 0; }
.admin-inline label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; flex: 1; min-width: 240px; }
.admin-inline input, .admin-inline select { font: inherit; font-weight: 400; font-size: 14px; padding: 7px 10px; border: 1px solid #ccc; border-radius: 6px; }
.admin-search input { flex: 1; max-width: 360px; }
.admin-warn { color: #c0392b; font-weight: 700; }
.admin-code { font-family: ui-monospace, Consolas, monospace !important; font-size: 13px !important; line-height: 1.6; }
.live-form.admin-wide { max-width: 960px; }
.admin-prog { display: flex; align-items: center; gap: 8px; }
.admin-prog img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.admin-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.admin-images img { display: block; background: #eee; border-radius: 6px; object-fit: cover; }
.img-sq { width: 80px; height: 80px; } .img-h { width: 100%; aspect-ratio: 16 / 9; } .img-v { width: 90px; aspect-ratio: 2 / 3; }
.admin-end { display: flex; gap: 10px; align-items: center; justify-content: flex-end; font-size: 12px; }
.admin-end label.check { display: flex; gap: 4px; align-items: center; }
.admin-list { list-style: none; padding: 0; margin: 0 0 8px; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dotted #ddd; font-size: 14px; }
.manage-head h2 { margin: 0; }
.admin-onair { color: #c0392b; font-weight: 700; }
/* 音楽家の管理 */
.sales-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sales-box .buy-btn { max-width: 320px; }
.sales-amount { font-size: 30px; font-weight: 700; margin: 4px 0 6px; }
.sales-rules { margin: 0; }
.payout-actions form { display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin: 4px 0; }
.payout-actions input { width: 90px; padding: 4px 6px; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
@media (max-width: 760px) { .sales-top { grid-template-columns: minmax(0, 1fr); } }
.manage .form-error { margin-bottom: 16px; }
.manage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.manage-head h1 { font-size: 22px; }
.manage-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.manage-card summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.manage-card summary::-webkit-details-marker { display: none; }
.manage-new summary b { display: flex; gap: 8px; align-items: center; }
.manage-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.manage-card.manage-form { margin-top: 0; }
.manage-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.manage-form input, .manage-form textarea, .manage-form select, .manage-lives select { font: inherit; font-weight: 400; font-size: 14px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.manage-form .btn-sm { align-self: flex-start; }
.manage-close { margin-top: 14px; padding-top: 10px; border-top: 1px dotted #ddd; text-align: right; }
.link-danger { background: none; border: 0; color: #c0392b; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.manage-lives td { vertical-align: middle; }
.manage-lives td:last-child, .manage-lives th:last-child { text-align: left; }
.manage-lives a:hover { text-decoration: underline; }
.manage-save { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; background: rgba(255,255,255,.96); border-top: 1px solid #eee; padding: 10px 0; margin-top: 8px; }
.manage-save .buy-btn { width: auto; padding: 10px 28px; font-size: 14px; }
/* 音楽家の管理：ライブ一覧 */
.ml-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eee; }
.ml-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) 220px 130px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.ml-thumb { display: block; aspect-ratio: 16 / 9; background: #f0f0f0; border-radius: 6px; overflow: hidden; }
.ml-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 4px; font-size: 12px; color: var(--sub); }
.ml-st { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: #eee; color: #666; }
.ml-st.ml-soon { background: #eef0ff; color: #4444ff; }
.ml-st.ml-on { background: #ff3d6b; color: #fff; }
.ml-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.45; color: inherit; }
.ml-title:hover { text-decoration: underline; }
.ml-plan { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--sub); }
.ml-plan select { font: inherit; font-size: 13px; color: var(--text, #222); padding: 6px 8px; border: 1px solid #ccc; border-radius: 6px; background: #fff; width: 100%; }
.ml-actions { display: flex; gap: 6px; justify-content: flex-end; }
.ml-btn { display: inline-block; padding: 6px 14px; border: 1px solid #ccc; border-radius: 99px; font-size: 12px; font-weight: 700; color: inherit; white-space: nowrap; background: #fff; }
.ml-btn:hover { border-color: #4444ff; color: #4444ff; }
@media (max-width: 760px) {
  .ml-row { grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; }
  .ml-plan, .ml-actions { grid-column: 1 / -1; }
  .ml-actions { justify-content: flex-start; }
  .ml-plan { flex-direction: row; align-items: center; gap: 8px; }
  .ml-plan span { white-space: nowrap; }
}
.manage-del { margin-left: auto; }
.studio-title { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 16px; font-size: 16px; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 12px; }
.studio-player { position: relative; aspect-ratio: 16 / 9; background: #111; border-radius: 0; overflow: hidden; }
.studio-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.studio-player .locked { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-align: center; }
.studio-state { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.studio-state.is-on { color: #c0392b; }
.buy-btn.studio-stop { background: #c0392b; }
.studio-keys label, .studio-share label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; margin-top: 10px; }
.copy-row { display: flex; gap: 6px; }
.copy-row input { flex: 1; min-width: 0; font: inherit; font-weight: 400; padding: 6px 8px; border: 1px solid #ccc; border-radius: 6px; background: #f8f8f8; }
.studio-chat iframe { width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 900px) { .studio-grid { grid-template-columns: minmax(0, 1fr); } }
.live-new { max-width: 280px; gap: 8px; margin: 0 0 16px; }
.live-edit { margin-left: 8px; font-size: 12px; font-weight: 700; color: #4444ff; white-space: nowrap; }
.live-form { max-width: 720px; }
.live-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.live-form fieldset[disabled] { opacity: .55; }
.live-form legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.live-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: end; }
.manage-form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; }
.live-cats { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.live-thumb { width: 240px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #eee; }
.manage .board-top { justify-content: space-between; }
.flash-ok { display: flex; gap: 8px; align-items: baseline; padding: 12px 16px; border-radius: 8px; background: #eaf7ef; color: #1f7a45; font-size: 14px; }
.my-sub { font-size: 12px; color: var(--sub); margin-top: 2px; }
.my-empty { font-size: 14px; color: var(--sub); padding-top: 14px; }
.my-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.my-list a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border-radius: 8px; }
.my-list a:hover { background: #f6f6f6; }
.my-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #eee; }
.my-list b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* クーポンコードの入力（購入・加入のボタンの上） */
.coupon-field { margin: 10px 0 0; font-size: 13px; }
.coupon-field summary { cursor: pointer; color: var(--sub); font-weight: 700; }
.coupon-field input { width: 100%; margin-top: 6px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; font: inherit; text-transform: uppercase; }
.coupon-error { margin-top: 6px; color: #c0392b; font-weight: 700; }
.lp .coupon-field summary { color: #ddd; }
.coupon-state { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* マガジン（旧 mag.css の形：パンくず、2段組、金色のアクセント、右に「おすすめ」） */
.mag-wrap { max-width: 1180px; margin: 0 auto; padding: 20px 20px 80px; }
.mag-pan { font-size: 12px; color: #666; margin-bottom: 14px; }
.mag-pan a { color: #666; text-decoration: underline; }
.mag-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.mag-head { display: flex; align-items: center; gap: 10px; font-size: 22px; padding-bottom: 8px; border-bottom: 2px solid #ddd; margin-bottom: 16px; }
.mag-label { display: inline-block; background: #daa520; color: #fff; font-size: 14px; padding: 3px 12px; margin: 8px 0 14px; }
.mag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 24px 16px; }
.mag-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mag-grid > .is-hidden { display: none; }
.mag-card:hover .mag-title { text-decoration: underline; }
.mag-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #eee; }
.mag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mag-lock { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; font-weight: 700; }
.mag-date { display: block; font-size: 12px; color: #666; margin-top: 8px; }
.mag-title { font-size: 14px; font-weight: 700; line-height: 1.6; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mag-category { display: inline-block; background: #000; padding: 5px 10px; font-size: 11px; color: #fff; font-weight: 700; border-radius: 20px; }
.mag-h1 { font-size: 24px; line-height: 1.5; margin: 10px 0 4px; }
.mag-title-bottom { color: #666; line-height: 1.7; }
.mag-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-bottom: 1px solid #ccc; padding-bottom: 6px; margin: 12px 0 14px; flex-wrap: wrap; }
.mag-info small { color: #444; }
.mag-share { display: flex; gap: 6px; }
.mag-share span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 15px; }
.mag-share a:hover span { opacity: .85; }
.sns-x { background: #000; } .sns-fb { background: #3b5998; } .sns-line { background: #06c755; font-size: 19px !important; }
.mag-people { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0 0 14px; font-size: 13px; font-weight: 700; }
.mag-people a { display: flex; align-items: center; gap: 6px; }
.mag-people img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.mag-hero { width: 100%; margin-bottom: 22px; background: #eee; }
.mag-article { font-size: 16px; overflow-wrap: anywhere; }
.mag-article p { line-height: 2; margin-bottom: 1.5rem; }
.mag-article h2, .mag-article h3 { border-left: 4px solid #daa520; padding-left: 8px; color: #000; margin: 28px 0 12px; font-size: 18px; line-height: 1.5; }
.mag-article img { max-width: 100%; height: auto; }
.mag-article a { color: goldenrod; text-decoration: underline; }
.mag-article a:hover { color: rgb(145, 108, 14); }
.mag-login { background: #eee; padding: 18px 12px; text-align: center; margin: 30px 0 12px; line-height: 1.9; }
.mag-login-lead { font-weight: 700; }
.mag-login-btns { display: flex; justify-content: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.mag-button { display: inline-block; background: crimson; border-radius: 5px; padding: 8px 18px; color: #fff; font-weight: 700; font-size: 15px; }
.mag-button:hover { background: darkred; }
.mag-button2 { background: #555; } .mag-button2:hover { background: #333; }
.mag-bottom { display: flex; justify-content: space-between; font-size: 12px; margin-top: 28px; }
.mag-pager { display: flex; margin-bottom: 35px; }
.mag-next { width: 50%; min-height: 54px; padding: 6px 8px; border: 1px solid #ccc; border-right: none; font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mag-next + .mag-next { border-right: 1px solid #ccc; text-align: right; }
.mag-prev { border-left: none; }
.mag-next a:hover { text-decoration: underline; }
.mag-aside h4 { font-weight: 400; font-size: 18px; text-align: center; border-top: 1px dotted #daa520; border-bottom: 1px dotted #daa520; margin: 40px 0 8px; padding: 4px 0; }
.mag-aside h4:first-child { margin-top: 0; }
.mag-aside-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; font-weight: 700; line-height: 1.5; }
.mag-aside-item img { width: 100px; aspect-ratio: 16 / 9; object-fit: cover; background: #eee; }
.mag-aside-item span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mag-aside-item:hover span { text-decoration: underline; }
.mag-aside-more { text-align: center; margin-top: 10px; background: #eee; padding: 4px; }
.mag-aside-more a { font-weight: 700; font-size: 14px; }
.mag-aside-more a:hover { text-decoration: underline; }
@media (max-width: 900px) { .mag-cols { grid-template-columns: minmax(0, 1fr); } .mag-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mag-wrap { padding: 14px 14px 56px; } .mag-h1 { font-size: 20px; } }

/* 現地イベント（旧 real.css の形：一覧は横長の行、詳細は左に情報とチケット・右に画像、予約は 1→2→3） */
.real-wrap { max-width: 1180px; margin: 0 auto; padding: 20px 20px 80px; }
.real-h3 { font-size: 17px; margin: 28px 0 10px; }
.real-list-flex { display: flex; gap: 20px; padding: 14px 4px; border-bottom: 3px solid #ccc; }
.real-list-flex:hover { background: #fafafa; }
.real-image { width: 150px; min-width: 150px; height: fit-content; border-radius: 4px; }
.real-list-body { min-width: 0; font-size: 14px; line-height: 1.8; }
.real-list-title { font-weight: 700; font-size: 15px; }
.real-list-detail { color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-more] > .real-list-flex.is-hidden { display: none; }
.real-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 2%; padding-top: 8px; }
.real-left { width: 49%; }
.real-right { width: 49%; border-radius: 10px; box-shadow: 0 0 5px 8px #eee; padding: 2rem; }
.real-right img { max-width: 100%; display: block; margin: 0 auto; }
.real-title-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #ccc; margin: 6px 0 14px; padding-bottom: 6px; }
.real-title-bottom-info { color: #666; font-size: 12px; line-height: 1.8; }
.real-detail { font-size: 15px; margin: 16px 0; }
.real-list { margin-top: 2rem; }
.real-item-date { background: rgb(68, 179, 68); color: #fff; font-weight: 700; border-radius: 8px 8px 0 0; border: 2px solid #ddd; border-bottom: none; padding: 8px; margin-top: 10px; }
.real-pack-title { background: sandybrown; }
.real-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 2px solid #ddd; border-top: none; padding: 8px; font-size: 13px; margin-bottom: 4px; line-height: 1.8; }
.real-item-right { min-width: 150px; max-width: 150px; }
.real-button { display: block; background: cornflowerblue; color: #fff; font-weight: 700; text-align: center; padding: 4px 10px; margin: 5px 0; border-radius: 5px; }
.real-button:hover { background: rgb(74, 118, 199); }
.real-button.is-off { background: #ccc; }
.real-jump { font-weight: 400; padding: 8px; }
.real-steps { display: flex; align-items: center; justify-content: center; margin: 10px 0 24px; }
.real-steps i { display: block; width: 90px; height: 2px; background: #ddd; margin: 0 6px; }
.real-reserve-top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #ccc; color: #fff; font-weight: 700; font-size: 18px; }
.real-reserve-top.is-on { background: cornflowerblue; }
.real-step-title { font-size: 18px; margin: 24px 0 16px; display: flex; gap: 8px; align-items: center; }
.real-form { display: flex; flex-direction: column; gap: 14px; }
.real-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.real-form input, .real-form select, .real-form textarea, .real-login input { font: inherit; font-weight: 400; font-size: 15px; padding: 9px 10px; background: #f5f5f5; border: 0; border-bottom: 1px solid #ccc; border-radius: 2px 2px 0 0; }
.real-member { padding: 10px 12px; background: #eaf7ef; color: #1f7a45; border-radius: 6px; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.real-login { padding: 12px 14px; border-radius: 8px; background: #fff8e6; font-size: 13px; line-height: 1.8; }
.real-login-row { display: flex; gap: 8px; margin: 6px 0; }
.real-login-row input { flex: 1; min-width: 0; }
.real-submit-set { display: flex; justify-content: center; gap: 12px; margin: 26px 0; flex-wrap: wrap; }
.real-next-button, .real-complete-button { display: inline-block; padding: 10px 50px; border-radius: 30px; background: cornflowerblue; color: #fff; font-weight: 700; border: 0; cursor: pointer; font-size: 15px; }
.real-next-button:hover, .real-complete-button:hover { background: rgb(74, 118, 199); }
.real-back-button { display: inline-block; padding: 10px 40px; border-radius: 30px; color: #222; font-weight: 700; background: none; border: 3px solid #ddd; cursor: pointer; font-size: 15px; }
.real-back-button:hover { background: #eee; }
.real-fix { margin: 16px 0; }
.real-ticket { padding: 1rem 1.2rem; border-radius: 6px; box-shadow: 0 0 3px 3px #ddd; width: 85%; margin: 20px auto; font-size: 14px; line-height: 1.8; }
.real-ticket-event { color: var(--sub); font-size: 12px; }
.real-ticket-line { margin: 6px 0; padding: 6px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.real-ticket a { color: cornflowerblue; }
.real-ticket-detail { padding-top: 6px; font-size: 13px; }
.real-confirm-box { background: #eee; padding: 1rem 1.2rem; border-radius: 3px; line-height: 1.9; margin: 10px 0; }
.real-note { white-space: pre-wrap; }
.real-total { font-weight: 700; font-size: 17px; margin: 6px 0 18px; }
.real-method { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 2px solid #ddd; font-size: 15px; }
.real-method-body { font-size: 13px; line-height: 1.9; padding: 6px 0 0 24px; }
.real-method-body label.check { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-weight: 700; }
.real-deadline { font-weight: 700; margin-top: 6px; }
.real-done { max-width: 640px; margin: 0 auto; text-align: center; line-height: 1.9; }
.real-done .real-confirm-box { text-align: left; }
.real-done .real-step-title { justify-content: center; font-size: 22px; }
@media (max-width: 768px) {
  .real-content { flex-direction: column; }
  .real-left, .real-right { width: 100%; }
  .real-list-flex { flex-direction: column; }
  .real-image { width: 100%; min-width: 0; }
  .real-ticket { width: 100%; }
  .real-steps i { width: 50px; }
}

/* 現地イベントの一覧（新しいデザイン） */
.real-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: 18px; }
.real-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .15s; }
.real-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.real-card-img { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #f2f2f2; }
.real-card-img img { width: 100%; height: 100%; object-fit: cover; }
.real-badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 4px; background: #e67e22; color: #fff; font-size: 11px; font-weight: 700; }
.real-badge.is-full { background: #555; }
.real-card-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.real-type { align-self: flex-start; padding: 2px 10px; border-radius: 20px; background: #000; color: #fff; font-size: 11px; font-weight: 700; }
.real-card-title { font-size: 16px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.real-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #333; }
.real-facts li { display: flex; gap: 8px; align-items: baseline; }
.real-facts i { width: 14px; color: var(--sub); text-align: center; }
.real-facts small { color: var(--sub); margin-left: 4px; }
.real-past .card-title { margin-top: 2px; }
.real-past:hover .card-title { text-decoration: underline; }
@media (max-width: 600px) { .real-card { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px; } .real-card-title { font-size: 15px; } }

/* 現地イベントの詳細（新しいデザイン：上に画像と要点、下に説明と右のチケット） */
.re-page { max-width: 1180px; margin: 0 auto; padding: 20px 20px 80px; }
.re-pan { font-size: 12px; color: var(--sub); margin-bottom: 14px; }
.re-pan a { text-decoration: underline; }
.re-hero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.re-hero-img { border-radius: 12px; overflow: hidden; background: #f2f2f2; }
.re-hero-img img { width: 100%; display: block; }
.re-hero-info { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.re-hero-info h1 { font-size: 26px; line-height: 1.5; }
.re-facts { font-size: 15px; gap: 8px; }
.re-note { font-size: 13px; color: #1f7a45; background: #eaf7ef; padding: 8px 12px; border-radius: 8px; display: flex; gap: 8px; align-items: baseline; }
.re-share { margin: 0; }
.re-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; margin-top: 28px; }
.re-h2 { font-size: 18px; margin: 0 0 14px; }
.re-main .re-h2 + .my-sub { margin: -8px 0 14px; }
.re-main .re-h2:not(:first-child) { margin-top: 36px; }
.re-detail { font-size: 15px; line-height: 2; }
.re-side { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 4px; }
.re-ticket { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.re-ticket.is-pack { border-color: #f0c08a; background: #fffaf3; }
.re-ticket.is-ended { opacity: .55; }
.re-ticket-head { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.re-chip { flex: none; padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; background: sandybrown; color: #fff; margin-top: 2px; }
.re-chip.is-date { background: rgb(68, 179, 68); }
.re-ticket-meta { font-size: 12px; color: #555; display: flex; gap: 6px; align-items: baseline; }
.re-ticket-meta a { color: cornflowerblue; text-decoration: underline; }
.re-ticket-detail { font-size: 12px; color: #555; line-height: 1.7; }
.re-ticket-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.re-price { font-weight: 700; font-size: 16px; }
.re-price small { font-size: 12px; color: #e67e22; font-weight: 700; }
.re-btn { padding: 7px 18px; border-radius: 20px; background: cornflowerblue; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; }
.re-btn:hover { background: rgb(74, 118, 199); }
.re-btn.is-off { background: #ccc; }
@media (max-width: 900px) {
  .re-hero, .re-body { grid-template-columns: minmax(0, 1fr); }
  .re-hero { gap: 18px; }
  .re-hero-info h1 { font-size: 21px; }
  .re-side { position: static; max-height: none; overflow: visible; order: -1; }
}

/* ===== 視聴ページ：サイドバーをアイコンだけの細い帯に（プレーヤーを大きく）===== */
@media (min-width: 769px) {
  body.nav-rail { --side-w: 80px; }
  body.nav-rail .sidebar { width: 80px; transition: width .2s ease; }
  body.nav-rail:not(.nav-open) .nav a { flex-direction: column; justify-content: center; gap: 6px; height: 64px; padding: 0 2px; font-size: 10px; line-height: 1.2; text-align: center; white-space: nowrap; letter-spacing: -.04em; }
  /* 家・テレビ・虫めがねのアイコンも、色付きのラベルも、同じ 30×22 の枠にそろえる */
  body.nav-rail:not(.nav-open) .nav a > i { width: 30px; height: 22px; display: grid; place-items: center; font-size: 17px; }
  body.nav-rail:not(.nav-open) .nav .ch { width: 30px; min-width: 30px; height: 22px; padding: 0; font-size: 10px; border-radius: 4px; }
  body.nav-rail:not(.nav-open) .nav .ch i { width: auto; font-size: 12px; }
  body.nav-rail:not(.nav-open) .nav-group { margin: 6px 14px; padding-top: 0; font-size: 0; }
  body.nav-rail:not(.nav-open) .side-foot { display: none; }
  /* メニューボタンで全部のメニューを上に重ねる（本文の幅は変えない） */
  body.nav-rail.nav-open .sidebar { width: 220px; z-index: 40; box-shadow: 6px 0 24px rgba(0,0,0,.12); }
  body.nav-rail.nav-open .scrim { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 35; background: rgba(0,0,0,.25); }
  body.nav-rail.nav-collapsed .sidebar { transform: none; }
  body.nav-rail.nav-collapsed .main { margin-left: var(--side-w); }
}

/* マガジン本文に埋め込まれた部品（旧 mag.css・style.css の同じクラス。記事の HTML がこのクラスを使っている） */
.mag-article .mag-muse { position: relative; width: 100%; padding: 10px; margin: 8px 0 20px; background: linear-gradient(#f5f5f5, #e5e5e5); border: 1px solid #666; line-height: 1.7; }
.mag-article .mag-muse::before { content: "CHECK！"; position: absolute; right: 10px; top: -12px; padding: 0 10px; border-radius: 5px; background: slateblue; color: #fff; font-weight: 700; font-size: 13px; }
.mag-article .mag-muse a { color: #432; text-decoration: none; }
.mag-article .mag-muse a:hover { color: #432; }
.mag-article .mag-muse-content { display: flex; align-items: center; transition: opacity .1s; }
.mag-article .mag-muse-content:hover { opacity: .9; }
.mag-article .mag-muse img { width: 200px; flex: none; }
.mag-article .mag-muse p { margin: 0 12px; }
.mag-article .mag-muse span { display: block; }
.mag-article .youtube { position: relative; width: 100%; padding-top: 56.25%; margin-bottom: 1.5rem; }
.mag-article .youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mag-article .pc-small { width: 50%; }
.mag-article .flex { display: flex; gap: 12px; }
.mag-article .grid-base { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 8px; }
.mag-article .archive-grid { gap: 10px; }
.mag-article .box-margin { margin-bottom: 50px; }
.mag-article .event-item { position: relative; transition: opacity .2s; }
.mag-article .event-item:hover { opacity: .8; }
.mag-article .event-image { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 5px; }
.mag-article .event-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-article .event-date { font-size: .85rem; color: #666; }
.mag-article .event-title { font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; }
.mag-article .grid-base a { text-decoration: none; color: inherit; }
@media (max-width: 768px) {
  .mag-article .mag-muse-content { flex-direction: column; align-items: flex-start; }
  .mag-article .mag-muse p { margin: 8px 0 0; }
  .mag-article .pc-small { width: 100%; }
}

/* ===== サイドバーを出さないページ（プレミアムの案内など）：メニューボタンで重ねて開く ===== */
@media (min-width: 769px) {
  body.no-side { --side-w: 0px; }
  body.no-side .sidebar { width: 220px; transform: translateX(-100%); box-shadow: 6px 0 24px rgba(0,0,0,.18); z-index: 40; }
  body.no-side .main { margin-left: 0; }
  body.no-side.nav-open .sidebar { transform: none; }
  body.no-side.nav-open .scrim { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 35; background: rgba(0,0,0,.35); }
}

/* スパム対策の隠し欄（人には見せない。display:none だと見抜くロボットがいるので画面の外へ） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 固定ページ（特商法・利用規約・プライバシーポリシー・サポート・音楽家の方へ） */
.doc-page { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; font-size: 14px; line-height: 1.9; }
.doc-page h2 { font-size: 24px; margin: 0 0 24px; padding-bottom: 12px; border-bottom: 2px solid #222; }
.doc-page h3 { font-size: 17px; margin: 32px 0 8px; padding-left: 10px; border-left: 4px solid #4444ff; }
.doc-page h4 { font-size: 14px; margin: 20px 0 4px; color: #555; }
.doc-page p { margin: 0 0 6px; }
.doc-page a { color: #4444ff; text-decoration: underline; }
.doc-page img { max-width: 100%; height: auto; border-radius: 6px; }
.doc-page section { margin: 0 0 32px; }
.doc-wide { max-width: 900px; }
.doc-lead { color: var(--sub); margin-bottom: 16px !important; }
.doc-form { display: block; width: 100%; height: 1100px; border: 0; background: #fafafa; border-radius: 8px; }
.doc-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.doc-split h3 { margin-top: 0; }
@media (max-width: 760px) { .doc-split { grid-template-columns: 1fr; } }
/* 準備中 */
.soon-page { text-align: center; padding-top: 80px; }
.soon-page h2 { border: 0; padding: 0; margin-bottom: 12px; }
.soon-page .soon-icon { font-size: 48px; color: #ccc; margin-bottom: 12px; }
.soon-page .ml-btn { text-decoration: none; color: inherit; margin-top: 20px; }


/* ===== 見つける（/musician・/musician/<id>・/search）===== */
.find-box { display: flex; align-items: center; gap: 10px; max-width: 720px; margin-top: 24px; border: 2px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; background: #fff; }
.find-box:focus-within { border-color: var(--hero-to); }
.find-box i { color: var(--sub); }
.find-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 8px 0; background: transparent; }
.find-box button { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 22px; cursor: pointer; }
.find-rows { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.find-rows a { font-size: 13px; font-weight: 700; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--sub); }
.find-rows a:hover { border-color: var(--ink); color: var(--ink); }
.find-group { padding-top: 22px; scroll-margin-top: calc(var(--header-h) + 12px); }
.find-group h3 { font-size: 15px; padding-bottom: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.find-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 22px 16px; }
.find-person { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.4; }
.find-person img, .find-noimg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: #eee; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow .15s, transform .15s; }
.find-noimg { display: grid; place-items: center; color: #bbb; font-size: 30px; }
.find-person:hover img, .find-person:hover .find-noimg { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hero-to); transform: translateY(-2px); }
.find-kind { position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 3px; }
.find-title { margin-top: 4px; }
.find-pan { font-size: 13px; color: var(--sub); padding-top: 24px; }
.find-pan a:hover { text-decoration: underline; }
.find-who { display: flex; align-items: center; gap: 24px; margin-top: 20px; }
.find-who > img, .find-who > .find-noimg { width: 112px; height: 112px; min-width: 112px; border-radius: 50%; object-fit: cover; box-shadow: none; }
.find-who h1 { font-size: 26px; }
.find-eng { color: var(--sub); font-size: 14px; }
.find-store { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; padding: 6px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.find-store:hover { background: var(--ink); color: #fff; }
.find-none, .find-back { margin-top: 32px; }
.find-back a { text-decoration: underline; }
@media (max-width: 760px) {
  .find-box { margin-top: 16px; }
  .find-box button { padding: 8px 16px; }
  .find-people { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
  .find-person img, .find-noimg { width: 64px; height: 64px; }
  .find-who { gap: 16px; }
  .find-who > img, .find-who > .find-noimg { width: 80px; height: 80px; min-width: 80px; }
  .find-who h1 { font-size: 21px; }
}

/* ===== 決済モーダル（pay_modal.hbs）。旧サイトの「決済画面」の並びを引き継ぐ ===== */
body.pay-open { overflow: hidden; }
.pay-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.pay-modal[hidden] { display: none; }
.pay-back { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.pay-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 12px; padding: 28px 28px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.pay-summary { display: flex; gap: 16px; align-items: flex-start; }
.pay-summary > img { width: 72px; height: 72px; border-radius: 12px; }
.pay-summary > div { min-width: 0; flex: 1; font-size: 14px; }
.pay-summary h2 { font-size: 18px; margin-bottom: 4px; }
.pay-summary h3 { font-size: 15px; line-height: 1.5; margin-bottom: 4px; }
.pay-summary p { color: var(--sub); }
.pay-h2 { font-size: 18px; margin-top: 20px; }
.pay-plain { text-align: center; }
.pay-plain .pay-h2 { margin-top: 12px; }
.pay-logo { width: 72px; height: 72px; border-radius: 12px; margin: 0 auto; }
.pay-line { margin-top: 6px; }
.pay-line b { font-size: 18px; }
.pay-line[hidden] { display: none; }
.pay-note { background: #f5f5f5; border-radius: 10px; font-size: 13.5px; padding: 10px 12px; margin: 12px 0 18px; }
.pay-note[hidden] { display: none; }
.pay-note a { text-decoration: underline; }
.pay-form { text-align: center; margin-top: 12px; }
.pay-card { border: 1px solid #ccc; border-radius: 6px; padding: 0 12px; text-align: left; }
.pay-coupon { display: flex; gap: 8px; margin-bottom: 4px; }
.pay-coupon input { flex: 1; min-width: 0; border: 1px solid #ccc; border-radius: 6px; padding: 9px 12px; font: inherit; font-size: 14px; }
.pay-coupon button { border: 1px solid var(--ink); border-radius: 6px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; padding: 0 16px; cursor: pointer; }
.pay-coupon button:disabled { opacity: .5; }
.pay-coupon-msg { font-size: 13px; color: var(--regist); min-height: 1.2em; margin-bottom: 8px; text-align: left; }
.pay-coupon-msg.is-ok { color: #2e7d32; }
.pay-amount { margin-top: 14px; }
.pay-amount b { font-size: 18px; }
.pay-msg { color: var(--regist); font-size: 13.5px; min-height: 1.2em; margin: 6px 0; }
.pay-submit { display: block; width: 100%; max-width: 300px; margin: 6px auto 0; border: 0; border-radius: 6px; background: var(--regist); color: #fff; font: inherit; font-weight: 700; font-size: 16px; padding: 12px; cursor: pointer; }
.pay-submit:hover { filter: brightness(1.08); }
.pay-submit[hidden] { display: none; }
.pay-wait { margin-top: 10px; color: var(--sub); }
.pay-cancel { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--sub); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) {
  .pay-modal { padding: 0; align-items: end; }
  .pay-panel { width: 100%; max-height: 92vh; border-radius: 14px 14px 0 0; padding: 22px 18px 18px; }
  .pay-summary > img { width: 56px; height: 56px; }
}

/* ===== 配信者募集（pages/musicians.hbs）。駆け付け配信プランの LP（/kaketsuke/）の色づかいに寄せる ===== */
.mu-lp { --mu: #ff6b35; padding-bottom: 64px; }
.mu-hero { position: relative; min-height: 440px; display: grid; align-items: end; overflow: hidden; background: #111; }
.mu-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mu-hero-text { position: relative; padding: 56px 48px; color: #fff; max-width: 820px; }
.mu-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #ffd1bd; }
.mu-hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.35; margin: 8px 0 14px; }
.mu-hero p { line-height: 1.9; }
.mu-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; background: var(--mu); color: #fff; font-weight: 700; padding: 13px 26px; border-radius: 999px; }
.mu-cta:hover { filter: brightness(1.06); }
.mu-cta-line { background: #fff; color: var(--mu); border: 2px solid var(--mu); margin-top: 0; white-space: nowrap; }
.mu-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.mu-points li { text-align: center; padding: 22px 12px; }
.mu-points li + li { border-left: 1px solid var(--line); }
.mu-points b { display: block; font-size: 26px; color: var(--mu); }
.mu-points span { font-size: 13px; color: var(--sub); }
.mu-sec { padding: 56px 48px; }
.mu-sec h2 { font-size: 24px; text-align: center; margin-bottom: 32px; }
.mu-sec h2::after { content: ''; display: block; width: 40px; height: 3px; background: var(--mu); margin: 12px auto 0; border-radius: 2px; }
.mu-gray { background: #f7f7f7; }
.mu-lead { text-align: center; color: var(--sub); margin-bottom: 20px; }
.mu-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; max-width: 1080px; margin: 0 auto; }
.mu-cards > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.mu-cards i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff1eb; color: var(--mu); font-size: 17px; }
.mu-cards h3 { font-size: 16px; margin: 12px 0 6px; }
.mu-cards p, .mu-uses p, .mu-flow p, .mu-terms dd { font-size: 14px; line-height: 1.85; color: #444; }
.mu-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1080px; margin: 0 auto; }
.mu-uses img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.mu-uses h3 { font-size: 16px; margin: 12px 0 6px; }
.mu-terms { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.mu-terms > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.mu-terms dt { font-weight: 700; }
.mu-terms dd { margin: 0; }
.mu-flow { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1080px; counter-reset: none; }
.mu-flow li { background: #fff; border-radius: 12px; padding: 20px; }
.mu-flow span { font-size: 28px; font-weight: 900; color: #ffd1bd; }
.mu-flow h3 { font-size: 16px; margin: 4px 0 6px; }
.mu-kake { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1080px; margin: 0 auto; }
.mu-kake h2 { text-align: left; margin-bottom: 10px; font-size: 20px; }
.mu-kake h2::after { display: none; }
.mu-kake p { font-size: 14px; line-height: 1.85; color: #444; }
.mu-faq { max-width: 820px; margin: 0 auto; }
.mu-faq details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
.mu-faq summary { font-weight: 700; cursor: pointer; }
.mu-faq p { margin-top: 8px; font-size: 14px; color: #444; line-height: 1.85; }
.mu-faq a { text-decoration: underline; }
.mu-lp .doc-form { display: block; max-width: 760px; margin: 0 auto; }
@media (max-width: 900px) {
  .mu-uses { grid-template-columns: minmax(0, 1fr); }
  .mu-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mu-kake { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .mu-hero { min-height: 380px; }
  .mu-hero-text { padding: 36px 20px; }
  .mu-sec { padding: 40px 18px; }
  .mu-points b { font-size: 20px; }
  .mu-terms > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mu-flow { grid-template-columns: minmax(0, 1fr); }
}

/* 「クーポンコードをお持ちの方」：決済モーダルをクーポンの欄から開く（プレミアム・月額プラン） */
.lp-coupon, .store-coupon { display: block; margin: 10px auto 0; border: 0; background: none; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 2px 6px; }
.lp-coupon { color: inherit; opacity: .85; }
.store-coupon { color: var(--sub); }
.lp-coupon:hover, .store-coupon:hover { opacity: 1; color: inherit; }

/* マイページの保有ポイント（MP） */
.my-points { font-size: 13px; color: var(--sub); margin: 2px 0 8px; }
.my-points b { color: var(--ink); font-size: 15px; }

/* 運営の管理：ゲスト用パスワード */
#guests h2 { font-size: 17px; margin-bottom: 6px; }
#guests code { font-size: 15px; letter-spacing: .06em; }
.guest-list { list-style: none; margin: 12px 0; padding: 0; }
.guest-list li { display: flex; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.simple-lead { font-weight: 700; margin-bottom: 8px; }

/* プロフィールの編集：アイコン画像 */
.edit-icon { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.edit-icon img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #eee; }
.edit-icon input { font-size: 13px; }

/* 退会のボタンは目立たせない色に */
.signin-submit.withdraw-submit { background: #888; }

/* 運営の管理：トップページ・見つける */
.manage-card h2 { font-size: 17px; margin-bottom: 4px; }
.top-row { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.top-row legend { font-size: 13px; font-weight: 700; padding: 0 6px; display: flex; gap: 14px; align-items: center; }
.top-new { border-style: dashed; }
.top-banner { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: start; }
.top-banner img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 6px; background: #eee; }
.top-pickups { margin: 12px 0; padding-left: 22px; }
.top-pickups li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.top-pickups li.is-hidden { opacity: .55; }
.top-pickups img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #eee; }
.top-pickups li > div { flex: 1; min-width: 0; }
.admin-musician { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; align-items: end; }
.admin-musician h2 { grid-column: 1 / -1; }
.admin-musicians details summary { cursor: pointer; font-size: 13px; }
.admin-musicians details[open] { min-width: 320px; }
@media (max-width: 760px) { .top-banner { grid-template-columns: 1fr; } }
