/* OFFICE WISE 共通デザイン（アイコン型のカードメニュー）。フォント：Inter（英数字）＋ Noto Sans JP（日本語）。
   どのシステムでも、同じ考え方：色・角の丸み・影・アイコンの箱を、ここで決める。docs/UI-STANDARD.md を参照。 */
:root {
  --bg:#f3f5fb; --card:#fff; --text:#17203a; --muted:#64708a; --line:#e3e8f2;
  --accent:#4f46e5; --accent-2:#7c3aed; --accent-soft:#eef0ff; --accent-ink:#3730a3;
  --ok:#15803d; --ok-soft:#e7f7ee; --err:#b42318; --err-soft:#fdecea; --warn:#a15c00; --warn-soft:#fff3df;
  --radius:16px; --radius-sm:12px;
  --shadow:0 1px 2px rgba(23,32,58,.05), 0 10px 30px rgba(23,32,58,.07);
  --shadow-sm:0 1px 2px rgba(23,32,58,.06);
  --font:Inter, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.75 var(--font); font-feature-settings:"palt"; -webkit-font-smoothing:antialiased; }
body.app { padding-bottom:84px; }
a { color:var(--accent); text-underline-offset:3px; }
svg.icon { width:1.25em; height:1.25em; flex:0 0 auto; }

/* ---- 上のバー ---- */
.top { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 18px; background:rgba(255,255,255,.88); backdrop-filter:saturate(1.4) blur(12px); -webkit-backdrop-filter:saturate(1.4) blur(12px); border-bottom:1px solid var(--line); }
.top a { text-decoration:none; }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); }
.brand-mark { width:36px; height:36px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; box-shadow:0 6px 16px rgba(79,70,229,.35); }
.brand-mark svg { width:20px; height:20px; }
.brand-text { display:flex; flex-direction:column; line-height:1.2; }
.brand-text strong { font-size:15px; letter-spacing:.06em; }
.brand-text small { font-size:11px; color:var(--muted); }
.topnav { display:none; gap:4px; }
.topnav a { display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px; color:var(--muted); font-size:14px; font-weight:500; white-space:nowrap; }
.topnav a:hover { background:var(--accent-soft); color:var(--accent-ink); }
.topnav a.on { background:var(--accent-soft); color:var(--accent-ink); }
.topnav svg { width:18px; height:18px; }
@media (min-width:860px) { .topnav { display:flex; } .tabbar { display:none !important; } body.app { padding-bottom:0; } }
/* ---- 下のバー（スマホ）：アイコンを、指でさわって進む ---- */
.tabbar { position:fixed; left:0; right:0; bottom:0; z-index:30; display:flex; justify-content:space-around; padding:6px 6px calc(6px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.94); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); border-top:1px solid var(--line); }
.tabbar a { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; gap:2px; padding:6px 2px; border-radius:12px; color:var(--muted); text-decoration:none; font-size:10.5px; font-weight:500; }
.tabbar a svg { width:24px; height:24px; }
.tabbar a.on { color:var(--accent-ink); background:var(--accent-soft); }
.devbar { display:flex; align-items:center; gap:8px; margin:12px auto 0; max-width:820px; width:calc(100% - 32px); padding:8px 14px; border-radius:var(--radius-sm); background:var(--warn-soft); color:var(--warn); font-size:12.5px; }
.devbar svg { width:16px; height:16px; }
main { max-width:820px; margin:20px auto 32px; padding:0 16px; }
footer.ver { max-width:820px; margin:0 auto 24px; padding:0 16px; color:var(--muted); font-size:12px; }

/* ---- カード・見出し ---- */
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); }
.card + .card { margin-top:16px; }
.card.narrow { max-width:460px; margin:8vh auto 0; }
h1 { font-size:22px; line-height:1.35; margin:0 0 12px; letter-spacing:-.01em; }
h2.sub { font-size:16px; margin:26px 0 8px; letter-spacing:-.005em; }
.page-head { display:flex; align-items:center; gap:14px; margin:0 0 14px; }
.page-head h1 { margin:0; }
.ph-ico { width:48px; height:48px; flex:0 0 auto; border-radius:14px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; box-shadow:0 8px 20px rgba(79,70,229,.28); }
.ph-ico svg { width:26px; height:26px; }
.ph-sub { margin:2px 0 0; font-size:13px; color:var(--muted); }
a.back { display:inline-flex; align-items:center; gap:6px; margin:0 0 14px; padding:6px 12px 6px 8px; border-radius:999px; background:var(--accent-soft); color:var(--accent-ink); text-decoration:none; font-size:13px; font-weight:500; }
a.back svg { width:16px; height:16px; }
.muted { color:var(--muted); font-size:13px; }
.meta { font-size:13px; color:var(--muted); }

/* ---- 入力・ボタン ---- */
label { display:block; margin:14px 0; font-size:13px; font-weight:500; color:var(--muted); }
input[type=email], input[type=text], input[type=password], input[type=file], input[type=number], select, textarea { display:block; width:100%; margin-top:6px; padding:11px 14px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; color:var(--text); font:inherit; font-size:15px; transition:border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline:0; border-color:var(--accent); box-shadow:0 0 0 4px rgba(79,70,229,.15); }
label.check { display:flex; gap:10px; align-items:center; color:var(--text); font-weight:400; }
input[type=checkbox], input[type=radio] { width:20px; height:20px; accent-color:var(--accent); }
.row { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
@media (max-width:600px) { .row { grid-template-columns:1fr; } }
button, .button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 20px; border:0; border-radius:var(--radius-sm); background:linear-gradient(135deg,var(--accent),#6055f0); color:#fff; font:inherit; font-weight:600; font-size:14.5px; cursor:pointer; text-decoration:none; box-shadow:0 6px 16px rgba(79,70,229,.28); transition:transform .12s, box-shadow .12s, filter .12s; }
button:hover, .button:hover { filter:brightness(1.06); transform:translateY(-1px); }
button:active, .button:active { transform:translateY(0); }
a.button { color:#fff; }
.button.light, button.light { background:#fff; color:var(--accent-ink); border:1px solid var(--line); box-shadow:var(--shadow-sm); }
a.button.light { color:var(--accent-ink); }
button.danger { background:#fff; color:var(--err); border:1px solid #f0c4bf; box-shadow:none; min-height:34px; padding:4px 14px; font-size:13px; }
button.danger:hover { background:var(--err-soft); }
button:disabled { opacity:.45; cursor:not-allowed; transform:none; }
.btns { display:flex; flex-wrap:wrap; gap:10px; margin:10px 0; }
form.inline { margin-top:8px; }

/* ---- 知らせ ---- */
.ok { color:var(--ok); background:var(--ok-soft); padding:10px 14px; border-radius:var(--radius-sm); }
.error { color:var(--err); background:var(--err-soft); padding:10px 14px; border-radius:var(--radius-sm); }
.warn-text { color:var(--warn); }
.notice { background:var(--warn-soft); border:1px solid #f3d9a8; border-radius:var(--radius-sm); padding:12px 16px; margin:14px 0; }
.notice ul { margin:8px 0 0; padding-left:20px; }
.notice p { margin:8px 0; }
.tag { display:inline-block; font-size:12px; font-weight:500; padding:2px 10px; border-radius:999px; background:#eceff6; color:var(--muted); }

/* ---- カード（一覧の1件）：アイコン＋内容。長い文字でも、はみ出さず、折り返す ---- */
.item { position:relative; border:1px solid var(--line); border-radius:var(--radius); background:#fff; padding:14px 16px; margin:10px 0; overflow-wrap:anywhere; word-break:break-word; min-width:0; box-shadow:var(--shadow-sm); }
.item.has-ico { padding-left:74px; min-height:68px; }
.item .ico, .menu-item .ico { position:absolute; left:14px; top:14px; width:46px; height:46px; display:flex; align-items:center; justify-content:center; border-radius:14px; background:var(--accent-soft); color:var(--accent); }
.item .ico svg, .menu-item .ico svg { width:24px; height:24px; }
details.more { margin:8px 0 16px; }
details.more > summary { padding:12px 16px; border:1px dashed #cfd6e6; border-radius:var(--radius-sm); background:#fafbff; }

/* ---- メニュー（トップ） ---- */
.menu { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:10px; }
@media (max-width:600px) { .menu { grid-template-columns:1fr; } }
.menu-item { position:relative; display:block; padding:18px 18px 18px 80px; min-height:92px; border:1px solid var(--line); border-radius:var(--radius); color:var(--text); text-decoration:none; background:#fff; box-shadow:var(--shadow-sm); overflow-wrap:anywhere; transition:transform .15s, box-shadow .15s, border-color .15s; }
.menu-item:hover { transform:translateY(-2px); box-shadow:var(--shadow); border-color:#c9cff5; }
.menu-item .ico { left:16px; top:18px; width:50px; height:50px; background:linear-gradient(135deg,var(--accent-soft),#e6dcff); }
.menu-item strong { display:block; color:var(--text); font-size:16px; }
.menu-item span:not(.ico) { display:block; margin-top:2px; font-size:13px; color:var(--muted); }

/* ---- 押して進むタイル（リストの画面など） ---- */
.tiles { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:10px 0 16px; }
@media (max-width:600px) { .tiles { grid-template-columns:1fr; } }
a.tile { display:flex; align-items:center; gap:14px; padding:16px; min-height:84px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; color:var(--text); text-decoration:none; box-shadow:var(--shadow-sm); overflow-wrap:anywhere; transition:transform .15s, box-shadow .15s, border-color .15s; }
a.tile:hover { transform:translateY(-2px); box-shadow:var(--shadow); border-color:#c9cff5; }
.tile-icon { flex:0 0 auto; width:54px; height:54px; display:flex; align-items:center; justify-content:center; border-radius:16px; background:var(--accent-soft); color:var(--accent); }
.tile-icon svg { width:28px; height:28px; }
.tile-body { flex:1 1 auto; min-width:0; }
.tile-body strong { display:block; color:var(--text); font-size:16px; line-height:1.4; }
.tile-big { display:block; margin-top:2px; font-size:13px; color:var(--muted); }
.tile-desc { display:block; margin-top:2px; font-size:12.5px; color:var(--muted); line-height:1.55; }
.tile-go { flex:0 0 auto; color:#b5bdd3; }
.tile-go svg { width:22px; height:22px; }

/* ---- 文書・表（説明の文書だけ） ---- */
ul.steps, ol.steps { margin:8px 0 16px; padding-left:22px; }
code { word-break:break-all; background:#f0f2f9; padding:2px 7px; border-radius:6px; font-size:.92em; }

/* ---- ログイン・配信停止（外向けの、ひとつだけのカード） ---- */
body.public main { padding-top:4vh; }
body.public .top { justify-content:center; }
.hero-ico { width:64px; height:64px; margin:0 auto 14px; border-radius:20px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; box-shadow:0 12px 28px rgba(79,70,229,.35); }
.hero-ico svg { width:32px; height:32px; }
.card.narrow h1 { text-align:center; }
.card.narrow .lead { text-align:center; color:var(--muted); margin:0 0 6px; }
.card.narrow button[type=submit] { width:100%; margin-top:6px; }
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }

/* ---- 戻る・ほかへのリンクの並び／部品 ---- */
.crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
.crumbs a.back { margin:0; }
a.chip { display:inline-flex; align-items:center; padding:6px 14px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--accent-ink); text-decoration:none; font-size:13px; font-weight:500; }
a.chip:hover { background:var(--accent-soft); }

/* ---- 同じメニューの階層では、カードの高さと、アイコンの位置を、そろえる ---- */
.tiles, .menu { grid-auto-rows:1fr; align-items:stretch; }
a.tile { align-items:flex-start; min-height:112px; }
.tile-icon { margin-top:2px; }
.tile-go { align-self:center; }
.menu-item { min-height:112px; }
@media (max-width:600px) { .menu { grid-auto-rows:auto; } a.tile, .menu-item { min-height:100px; } }

/* ======================================================================
   バンド用スケジュール調整表の部品（共通基準の色・形・影を、そのまま使う）
   ====================================================================== */
.tile-big b { font-size:26px; font-weight:700; color:var(--text); letter-spacing:-.02em; font-feature-settings:"tnum"; }
a.tile.todo { border-color:#f3c77a; background:#fffbf1; }
a.tile.todo .tile-icon { background:#ffeccb; color:#b45309; }
a.tile.add { background:#fafbff; border-style:dashed; }
.tag.live { background:var(--ok-soft); color:var(--ok); }
.tag.warn { background:var(--warn-soft); color:var(--warn); }
.tag.err { background:var(--err-soft); color:var(--err); }
.tag.k-practice { background:var(--accent-soft); color:var(--accent-ink); }
.tag.k-live { background:#fde8f0; color:#a3205a; }
.tag.k-meeting { background:var(--ok-soft); color:var(--ok); }
.tag.k-other { background:#eceff6; color:var(--muted); }
.tag.k-personal { background:#f0e9fb; color:#5b3a8a; }
.tag.vd-all { background:var(--ok); color:#fff; }
.tag.vd-ok { background:var(--ok-soft); color:var(--ok); }
.tag.vd-ng { background:#eceff6; color:var(--muted); }
.tag.dup { background:var(--err-soft); color:var(--err); font-weight:700; }
.tag.me { background:var(--accent-soft); color:var(--accent-ink); }
.tags { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.tags .tag { white-space:normal; }
.req { margin-left:6px; padding:0 8px; border-radius:999px; background:var(--err-soft); color:var(--err); font-size:11px; font-weight:600; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.lead { font-size:15.5px; color:var(--text); margin:0 0 14px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
input[type=tel], input[type=date], input[type=time], input[type=url] { display:block; width:100%; margin-top:6px; padding:11px 14px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; color:var(--text); font:inherit; font-size:15px; min-height:46px; }
input[type=file] { padding:10px 12px; }
textarea { min-height:6em; line-height:1.6; }
textarea.tall { min-height:9em; }
textarea.copybox { min-height:15em; font-size:14px; background:#f7f8fc; }
.tabbar form { flex:1 1 0; min-width:0; display:flex; }
.tabbar button.navbtn, .topnav button.navbtn { background:none; box-shadow:none; border:0; filter:none; transform:none; color:var(--muted); font-family:inherit; }
.tabbar button.navbtn { flex:1 1 0; flex-direction:column; gap:2px; padding:6px 2px; min-height:0; border-radius:12px; font-size:10.5px; font-weight:500; }
.tabbar button.navbtn svg { width:24px; height:24px; }
.topnav form { display:flex; }
.topnav button.navbtn { gap:6px; padding:8px 12px; border-radius:999px; font-size:14px; font-weight:500; min-height:0; }
.topnav button.navbtn:hover { background:var(--accent-soft); color:var(--accent-ink); }
.topnav button.navbtn svg { width:18px; height:18px; }
.brand-text strong { letter-spacing:.02em; overflow-wrap:anywhere; }
.brand { min-width:0; }
.brand-text { min-width:0; }
.top { flex-wrap:nowrap; }

/* 知らせ */
.flash { margin:0 0 14px; }
.flash.ok, .flash.error { display:flex; gap:10px; align-items:flex-start; }
.flash svg { margin-top:4px; width:18px; height:18px; }
.note { background:var(--accent-soft); color:var(--accent-ink); border-radius:var(--radius-sm); padding:12px 16px; margin:12px 0; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.note.green { background:var(--ok-soft); color:var(--ok); }
.note.warn { background:var(--warn-soft); color:var(--warn); }
.note a { font-weight:600; }
.note strong { color:inherit; }
.ph-sub { overflow-wrap:anywhere; }

/* 月の移動 */
.monthnav { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:6px 0 14px; padding:6px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm); }
.monthnav strong { font-size:17px; letter-spacing:-.01em; text-align:center; flex:1; }
.mn-btn { display:inline-flex; align-items:center; justify-content:center; width:48px; height:44px; border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent-ink); text-decoration:none; }
.mn-btn svg { width:22px; height:22px; }
.mn-btn.off { background:#f3f5fb; color:#c3cadb; }

/* 切り替え（月・週・日／縦に見る・メンバーごと） */
.seg { display:flex; gap:4px; padding:4px; margin:0 0 14px; border:1px solid var(--line); border-radius:999px; background:#fff; box-shadow:var(--shadow-sm); }
.seg a { flex:1 1 0; min-width:0; display:flex; align-items:center; justify-content:center; text-align:center; min-height:40px; padding:4px 8px; border-radius:999px; color:var(--muted); text-decoration:none; font-size:13.5px; font-weight:600; }
.seg a.on { background:linear-gradient(135deg,var(--accent),#6055f0); color:#fff; box-shadow:0 4px 12px rgba(79,70,229,.28); }

/* 戻る・ほかへ */
.crumbs { margin:0 0 14px; }
.crumbs a.chip svg { width:16px; height:16px; margin-right:6px; }
a.chip { min-height:36px; }
a.chip.primary { background:linear-gradient(135deg,var(--accent),#6055f0); color:#fff; border-color:transparent; }
.hint { margin:6px 0 12px; font-size:13px; color:var(--muted); line-height:1.7; }
h2.sub { display:flex; align-items:center; gap:8px; }
h2.sub svg { width:20px; height:20px; color:var(--accent); }

/* ○△×の見かた・進み具合 */
.legend { display:flex; flex-wrap:wrap; gap:6px 16px; margin:0 0 14px; padding:10px 14px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; font-size:13px; color:var(--muted); }
.legend span { display:inline-flex; align-items:center; gap:6px; }
.lg { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:8px; border:1px solid var(--line); font-weight:700; font-size:14px; }
.lg.m-o { background:var(--ok-soft); border-color:#9fd8b6; color:var(--ok); }
.lg.m-t { background:var(--warn-soft); border-color:#f0cf93; color:var(--warn); }
.lg.m-x { background:#fbf4f3; border-color:#ecd5d5; color:#c98a8a; }
.progress { display:flex; align-items:center; gap:10px; margin:0 0 14px; padding:12px 16px; border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent-ink); font-size:14px; line-height:1.6; }
.progress svg { width:22px; height:22px; flex:0 0 auto; }
.progress.done { background:var(--ok-soft); color:var(--ok); }
.progress .mute { display:block; font-size:12.5px; color:var(--muted); }
.progress b { font-size:1.15em; }

/* 1日分のカード（表の代わり）：日付｜午前｜午後。下に、予定・候補日 */
.days { display:flex; flex-direction:column; gap:10px; margin:0 0 20px; }
.day { display:grid; grid-template-columns:56px 1fr; gap:6px 12px; align-items:start; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm); min-width:0; }
.day.today { border-color:#a5b4fc; background:linear-gradient(180deg,#f5f6ff,#fff); }
.day.past { opacity:.62; }
.day-date { grid-row:1 / span 2; display:flex; flex-direction:column; align-items:center; justify-content:center; align-self:stretch; border-radius:14px; background:var(--accent-soft); color:var(--accent-ink); line-height:1.2; padding:6px 0; }
.day-date b { font-size:22px; letter-spacing:-.02em; font-feature-settings:"tnum"; }
.day-date span { font-size:12px; font-weight:600; }
.day.sat .day-date { background:#e8f1ff; color:#1d4ed8; }
.day.sun .day-date { background:var(--err-soft); color:var(--err); }
.day-slots { display:grid; grid-template-columns:1fr 1fr; gap:8px; min-width:0; }
.day-info { grid-column:2; display:flex; flex-wrap:wrap; gap:6px; align-items:center; min-width:0; font-size:13px; color:var(--muted); }
.day-info:empty { display:none; }
.day-info .tag { white-space:normal; text-align:left; line-height:1.5; }
.slot { display:flex; flex-direction:column; gap:4px; min-width:0; }
.slot-name { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:var(--muted); }
.slot-name svg { width:15px; height:15px; }
.who { grid-column:2; display:grid; grid-template-columns:70px 1fr; gap:8px; align-items:start; min-width:0; padding:6px 0; border-top:1px dashed var(--line); }
.day-date + .who { border-top:0; }
.who-body { min-width:0; display:flex; flex-direction:column; gap:4px; font-size:14px; overflow-wrap:anywhere; }
.pl { margin:0; line-height:1.55; }
.pl b { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; margin-right:6px; border-radius:7px; font-size:13px; }
.pl-o b { background:var(--ok-soft); color:var(--ok); }
.pl-t b { background:var(--warn-soft); color:var(--warn); }
.pl-x { color:var(--muted); }
.who-body .mute { color:#aab3c8; }

/* ○△×ボタン：押すたびに × → ○ → △ → × */
form.mk { margin:0; }
button.mark { display:flex; width:100%; min-height:52px; padding:6px 10px; align-items:center; justify-content:space-between; gap:8px; border:1.5px solid #ecd5d5; border-radius:var(--radius-sm); background:#fbf4f3; color:#c98a8a; box-shadow:none; font-weight:600; transform:none; filter:none; }
button.mark:hover { transform:none; filter:none; }
button.mark .mk-sl { font-size:13px; font-weight:600; opacity:.9; }
button.mark .mk-sym { font-size:24px; line-height:1; font-weight:600; }
button.m-o { background:var(--ok-soft); border-color:#7cc99b; color:var(--ok); }
button.m-t { background:var(--warn-soft); border-color:#eec27a; color:var(--warn); }
button.m-x { background:#fbf4f3; border-color:#ecd5d5; color:#c98a8a; }
button.m-blk { background:repeating-linear-gradient(45deg,#f1f2f6,#f1f2f6 6px,#e8eaf0 6px,#e8eaf0 12px); border-color:#d3d6e0; color:#9aa1b3; cursor:not-allowed; opacity:1; }
button.mark:focus-visible { outline:3px solid rgba(79,70,229,.35); outline-offset:2px; }

/* 予定のカード */
.item .ico.k-live { background:#fde8f0; color:#a3205a; }
.item .ico.k-meeting { background:var(--ok-soft); color:var(--ok); }
.item .ico.k-other { background:#eceff6; color:var(--muted); }
.item .ico.k-personal { background:#f0e9fb; color:#5b3a8a; }
.item-title { font-weight:700; font-size:15.5px; line-height:1.5; }
.item-sub { font-size:13px; color:var(--muted); }
.item-head { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; margin-bottom:2px; }
.item-head strong { font-size:15.5px; }
.item-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:10px; }
.evrow { margin:3px 0; font-size:14px; }
.evrow b { display:inline-block; min-width:5.4em; color:var(--muted); font-weight:600; font-size:12.5px; }
.setlist { background:#f7f8fc; border-radius:var(--radius-sm); padding:10px 14px; margin-top:6px; font-size:14px; line-height:1.8; }
details.evset { margin:6px 0; }
details.evset > summary { cursor:pointer; color:var(--accent-ink); font-size:13px; font-weight:600; }
.url { display:block; margin:6px 0 10px; padding:10px 12px; border-radius:var(--radius-sm); background:#f0f2f9; font-size:12.5px; line-height:1.6; word-break:break-all; }
form.inline { display:inline-block; margin:0; }
form.inline button { min-height:44px; }
a.button.small, button.small { min-height:44px; padding:6px 16px; font-size:13.5px; }
a.button.light svg, button svg, a.button svg { width:18px; height:18px; }
.copied { color:var(--ok); font-size:13px; font-weight:600; }
.statline { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; margin:0 0 12px; }
.fieldset { margin:0 0 4px; padding:0; border:0; }
.formblock { margin-top:14px; padding-top:6px; border-top:1px dashed var(--line); }
.formblock-title { margin:14px 0 4px; font-weight:700; font-size:15px; display:flex; align-items:center; gap:8px; }
.formblock-title svg { width:20px; height:20px; color:var(--accent); }
.live-only { margin:10px 0; padding:2px 14px 10px; border-left:4px solid #f4b6d1; background:#fff7fb; border-radius:0 var(--radius-sm) var(--radius-sm) 0; }
.live-only[hidden], #practiceonly[hidden] { display:none; }
.card.formcard { margin-top:16px; }
.guide ol { margin:8px 0 0; padding-left:22px; }
.guide li { margin:.6em 0; font-size:14px; line-height:1.75; }
.guide li.warn-li { background:var(--warn-soft); border-radius:var(--radius-sm); padding:8px 12px; list-style-position:inside; margin-left:-22px; }
.steps { margin:0; padding-left:22px; font-size:14.5px; }
.steps li { margin:.7em 0; }
.welcome { background:linear-gradient(135deg,#ecfdf3,#e6f7ee); border:1px solid #b7e4c7; border-radius:var(--radius); padding:14px 18px; margin:0 0 14px; font-size:14.5px; }
.welcome .mute { color:var(--muted); }
.mute { color:var(--muted); font-size:13px; }
.warn { color:var(--err); font-weight:700; }
.member-line { display:flex; flex-wrap:wrap; gap:4px 10px; align-items:baseline; }

/* 自分のスケジュール（時間の目盛りのカレンダー）：位置は、15分ごとのクラスで決める（grid.css） */
.scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--radius-sm); }
.tg { min-width:100%; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; }
.tg-week { min-width:640px; }
.tg-day { min-width:300px; }
.tg-row { display:flex; }
.tg-hcol { width:48px; flex:none; position:relative; border-right:1px solid var(--line); background:#fafbff; font-size:11.5px; color:var(--muted); padding:4px 2px; text-align:right; }
.tg-head { border-bottom:1px solid var(--line); background:#fafbff; }
.tg-dayhead { flex:1; min-width:0; text-align:center; padding:8px 2px; font-size:12.5px; font-weight:600; color:var(--text); text-decoration:none; border-right:1px solid var(--line); }
.tg-dayhead.today { background:#eef0ff; color:var(--accent-ink); }
.tg-dayhead.sun { color:var(--err); }
.tg-dayhead.sat { color:#1d4ed8; }
.tg-allday { border-bottom:1px solid var(--line); }
.tg-allday .tg-daycol { min-height:28px; padding:2px; }
.tg-daycol { flex:1; border-right:1px solid var(--line); position:relative; min-width:0; }
.tg-col { background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#eef0f6 43px,#eef0f6 44px); }
.tg-col.today { background-color:#f8f9ff; }
.tg-hlabel { position:absolute; right:4px; font-size:11px; color:var(--muted); transform:translateY(-.55em); background:#fafbff; padding:0 2px; }
.tg-slot { position:absolute; left:0; right:0; display:block; height:44px; }
.tg-slot:hover { background:rgba(79,70,229,.07); }
.tg-ev { position:absolute; overflow:hidden; border-radius:8px; padding:3px 6px; font-size:11.5px; line-height:1.3; text-decoration:none; color:#fff; border:1px solid rgba(255,255,255,.7); z-index:2; }
.tg-ev b { font-weight:700; }
.tg-ev span { opacity:.92; }
.personal { background:#7a56b0; }
.band-practice { background:var(--accent); }
.band-live { background:#c2306f; }
.band-meeting { background:#2d8a3e; }
.band-other { background:#6b7280; }
.tg-chip, .cm-chip { display:block; border-radius:6px; padding:2px 6px; margin:1px 0; font-size:11.5px; color:#fff; text-decoration:none; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.cm { background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; min-width:560px; }
.cm-head, .cm-week { display:flex; }
.cm-head div { flex:1; text-align:center; padding:6px 0; font-size:12.5px; background:#fafbff; border-bottom:1px solid var(--line); }
.cm-head .sun { color:var(--err); }
.cm-head .sat { color:#1d4ed8; }
.cm-cell { flex:1; min-height:96px; min-width:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); padding:2px; }
.cm-cell.off { background:#f7f8fc; }
.cm-cell.off .cm-day { opacity:.45; }
.cm-cell.today { background:#f3f4ff; }
.cm-day { display:inline-block; font-size:13px; font-weight:700; color:var(--text); text-decoration:none; padding:2px 6px; min-width:28px; }
.cm-day.sun { color:var(--err); }
.cm-day.sat { color:#1d4ed8; }
.cm-more { display:block; font-size:11.5px; color:var(--muted); text-decoration:none; padding-left:6px; }
.calbar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:0 0 12px; }
.calbar strong { font-size:16px; flex:1 1 140px; text-align:center; min-width:0; }
.calbar a.chip { min-height:44px; padding:0 16px; }
.calbar a.chip svg { margin:0; }
main.wide { max-width:1100px; }
.legend-cal { display:flex; flex-wrap:wrap; gap:6px 14px; margin:12px 0 0; font-size:12.5px; color:var(--muted); }
.legend-cal i { display:inline-block; width:12px; height:12px; border-radius:4px; margin-right:6px; vertical-align:-1px; }

@media (max-width:420px) {
  .day { grid-template-columns:46px 1fr; gap:6px 8px; padding:10px 8px; }
  .day-date b { font-size:19px; }
  button.mark { padding:6px 8px; }
  .who { grid-template-columns:54px 1fr; }
  main { padding:0 12px; }
}
@media (min-width:860px) {
  .days.wide-2 { display:grid; grid-template-columns:1fr 1fr; }
}
a.item { display:block; color:var(--text); text-decoration:none; }
a.item:hover { border-color:#c9cff5; box-shadow:var(--shadow); }
button.big { min-height:52px; width:100%; font-size:16px; }
.card h2.sub:first-child { margin-top:0; }
.tabbar a span, .tabbar button span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }

/* ---- ログイン・バンド（ASP版） ---- */
a.button.big { min-height:52px; width:100%; font-size:16px; }
a.button.linebtn { background:#06c755; box-shadow:0 6px 16px rgba(6,199,85,.28); }
.mem-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:10px 0; border-bottom:1px solid var(--line); }
.mem-row:last-child { border-bottom:0; }
.mem-name { flex:1 1 160px; min-width:0; font-weight:600; overflow-wrap:anywhere; }
.mem-name small { display:block; font-weight:400; color:var(--muted); }
.mem-acts { display:flex; flex-wrap:wrap; gap:6px; }
.badge { display:inline-block; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:600; background:var(--accent-soft); color:var(--accent-ink); }
.badge.warn { background:#fff4d6; color:#8a5a00; }
.badge.off { background:#eee; color:#666; }
.copybox { display:block; width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fafbff; font:inherit; font-size:13px; overflow-wrap:anywhere; }

/* ---- 利用規約・プライバシーポリシー ---- */
footer.legal { max-width:820px; margin:0 auto 90px; padding:0 16px; display:flex; flex-wrap:wrap; gap:6px 18px; font-size:12.5px; }
footer.legal a { color:var(--muted); text-decoration:underline; }
.legal-doc h2 { font-size:16px; margin:22px 0 6px; }
.legal-doc p, .legal-doc li { line-height:1.85; font-size:14.5px; overflow-wrap:anywhere; }
.legal-doc ol, .legal-doc ul { padding-left:1.4em; margin:6px 0; }

/* ---- ハンバーガーのメニュー ---- */
header.top { position:relative; }
.menu-btn { margin-left:auto; flex:0 0 auto; width:44px; height:44px; min-height:44px; padding:0; border-radius:12px; background:#fff; color:var(--accent-ink); border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.menu-btn:hover { filter:none; transform:none; background:var(--accent-soft); }
.menu-btn svg { width:24px; height:24px; }
.menu-ico-close { display:none; }
body.menu-open .menu-ico-open { display:none; }
body.menu-open .menu-ico-close { display:inline-flex; }
body.has-menu .topnav { display:none !important; }
body.has-menu .top { justify-content:space-between; }
.menu-backdrop { position:fixed; inset:0; z-index:40; background:rgba(15,18,40,.35); }
.menu-backdrop[hidden], .sitemenu[hidden] { display:none; }
.sitemenu { position:fixed; z-index:41; top:0; right:0; bottom:0; width:min(86vw,340px); overflow-y:auto; background:#fff; box-shadow:-12px 0 40px rgba(15,18,40,.18); padding:16px 12px calc(24px + env(safe-area-inset-bottom)); }
.menu-sec { padding:8px 0 10px; border-bottom:1px solid var(--line); }
.menu-sec:last-child { border-bottom:0; }
.menu-title { padding:6px 12px; font-size:12px; font-weight:700; color:var(--muted); letter-spacing:.04em; overflow-wrap:anywhere; }
.sitemenu a, .sitemenu button.menu-logout { display:flex; align-items:center; gap:12px; width:100%; min-height:46px; padding:10px 12px; border-radius:12px; color:var(--text); font-size:15px; font-weight:500; text-decoration:none; background:none; border:0; box-shadow:none; justify-content:flex-start; filter:none; transform:none; font-family:inherit; }
.sitemenu a:hover, .sitemenu button.menu-logout:hover { background:var(--accent-soft); color:var(--accent-ink); }
.sitemenu svg { width:22px; height:22px; flex:0 0 auto; color:var(--accent-ink); }
body.menu-open { overflow:hidden; }

/* ---- バンドのトップ：写真とメンバー ---- */
.band-hero { position:relative; width:100%; aspect-ratio:16 / 9; max-height:260px; border-radius:var(--radius); overflow:hidden; background:linear-gradient(135deg,var(--accent),var(--accent-2)); box-shadow:var(--shadow-sm); }
.band-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.band-hero-shade { position:absolute; inset:0; background:linear-gradient(to top, rgba(15,18,40,.72), rgba(15,18,40,0) 62%); }
.band-hero-text { position:absolute; left:16px; right:16px; bottom:14px; color:#fff; }
.band-hero-text h1 { margin:0; font-size:24px; line-height:1.25; overflow-wrap:anywhere; text-shadow:0 2px 10px rgba(0,0,0,.35); }
.band-hero-text small { display:block; margin-top:2px; font-size:13px; opacity:.92; }
.band-hero-initial { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:72px; font-weight:800; color:rgba(255,255,255,.35); }
.avatars { display:flex; gap:14px; overflow-x:auto; padding:14px 2px 6px; margin:0 -2px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
.avatar { flex:0 0 auto; width:68px; text-align:center; scroll-snap-align:start; color:var(--text); }
.avatar-img { position:relative; display:block; width:60px; height:60px; margin:0 auto 4px; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,var(--accent-soft),#e0e4ff); border:2px solid #fff; box-shadow:0 2px 8px rgba(40,50,120,.18); }
.avatar-img img { width:100%; height:100%; object-fit:cover; display:block; }
.avatar-img span { display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-size:22px; font-weight:700; color:var(--accent-ink); }
.avatar-name { display:block; font-size:11.5px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.avatar-part { display:block; font-size:10.5px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.avatar.admin .avatar-img { border-color:var(--accent); }
.quick { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0 8px; }
.quick a { display:flex; flex-direction:column; align-items:center; gap:8px; padding:18px 10px; border-radius:var(--radius); background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); color:var(--text); text-align:center; font-weight:700; font-size:15px; }
.quick a svg { width:30px; height:30px; color:var(--accent); }
.quick a small { font-weight:400; font-size:12px; color:var(--muted); }
.mini { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:6px 0 14px; }
.mini a { display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 4px; border-radius:var(--radius-sm); background:#fff; border:1px solid var(--line); color:var(--text); font-size:11.5px; text-align:center; }
.mini a svg { width:22px; height:22px; color:var(--accent); }
@media (min-width:600px) { .band-hero { max-height:320px; } .band-hero-text h1 { font-size:30px; } }

.quick a, .mini a, .avatar, .quick a:hover, .mini a:hover { text-decoration:none; }
.quick a:hover, .mini a:hover { border-color:#c9cff5; box-shadow:var(--shadow); }
main > .band-hero:first-child { margin-top:-10px; }
.sitemenu .menu-close { position:absolute; top:10px; right:10px; width:40px; height:40px; min-height:40px; padding:0; border-radius:50%; background:var(--accent-soft); color:var(--accent-ink); border:0; box-shadow:none; filter:none; transform:none; }
.sitemenu .menu-close svg { width:20px; height:20px; color:var(--accent-ink); }
.sitemenu .menu-sec:first-of-type { padding-top:34px; }

a.pubnote { display:flex; align-items:center; gap:10px; color:var(--accent-ink); font-weight:600; text-decoration:none; overflow-wrap:anywhere; }
a.pubnote svg { width:20px; height:20px; flex:0 0 auto; }
/* 入力欄の下の、候補ボタン */
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:-4px 0 12px; }
.chips button { min-height:40px; padding:8px 14px; border-radius:999px; background:var(--accent-soft); color:var(--accent-ink); border:1px solid var(--line); font-size:13.5px; font-weight:600; box-shadow:none; }

/* 入力欄の下の「例を入れる」ボタン */
.fillex { display:inline-flex; align-items:center; min-height:38px; margin:6px 0 2px; padding:6px 16px; border-radius:999px; background:var(--accent-soft); color:var(--accent-ink); border:1px solid var(--line); font-size:13.5px; font-weight:700; box-shadow:none; }
.fillex[hidden] { display:none; }
/* setlist.tokyo のトップ */
.top-sub { margin:26px 0 10px; }
.top-bands { display:flex; flex-wrap:wrap; gap:8px 20px; }
.top-bands a { color:var(--accent-ink); font-weight:600; text-decoration:underline; text-underline-offset:4px; }

.top-feat { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:12px; }
.top-card { display:grid; grid-template-columns:44px 1fr; column-gap:14px; row-gap:2px; align-items:center; padding:16px; }
.top-card .tile-icon { grid-row:1 / 3; }
.top-card strong { font-size:16px; }
.top-card span:last-child { color:var(--muted); font-size:13.5px; line-height:1.7; }
