/* YOUSEED SCHEDULE */
:root {
  --navy: #33507f; --navyD: #263d63; --ink: #1f2533; --muted: #6b7280; --line: #e3e6ec;
  --bg: #f5f6f9; --white: #fff;
  --ok: #2f8a57; --maybe: #d39417; --ng: #d04a3a; --none: #a3a8b3;
  --ac: var(--navy); --acSoft: #eef2f9; --pageBg: var(--bg); --cardBg: #fff; --cardLine: var(--line);
  --radius: 14px;
}
body.ev[data-theme="orange"] { --ac: #dc5a32; --acSoft: #fdf1e6; --pageBg: #f4ece2; --cardBg: #fffcf8; --cardLine: #efe1d0; }
body.ev[data-theme="navy"]   { --ac: #33507f; --acSoft: #eef2f9; --pageBg: #e9edf4; --cardBg: #fcfdff; --cardLine: #dde3ee; }
body.ev[data-theme="green"]  { --ac: #2f7d55; --acSoft: #ecf6ef; --pageBg: #e6efe8; --cardBg: #fbfefc; --cardLine: #d6e6da; }
body.ev[data-theme="red"]    { --ac: #c13a4c; --acSoft: #fbeef0; --pageBg: #f3e6e8; --cardBg: #fffbfb; --cardLine: #eed7db; }
body.ev[data-theme="purple"] { --ac: #7350ad; --acSoft: #f3eefb; --pageBg: #ebe6f3; --cardBg: #fdfbff; --cardLine: #e0d8ee; }
body.ev[data-theme="pink"]   { --ac: #cf4f8b; --acSoft: #fcedf4; --pageBg: #f5e6ed; --cardBg: #fffbfd; --cardLine: #f0d6e2; }
body.ev[data-theme="black"]  { --ac: #2d2f36; --acSoft: #f0f0f2; --pageBg: #e7e7ea; --cardBg: #fdfdfd; --cardLine: #dcdce0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--pageBg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px; line-height: 1.7; letter-spacing: .02em;
}
a { color: var(--ac); }
img { max-width: 100%; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; }
[hidden] { display: none !important; }

/* ───── ボタン・フォーム ───── */
.btn, .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--cardLine); background: #fff; color: var(--ink);
  border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none; transition: .15s; white-space: nowrap;
}
.btn:hover { border-color: var(--ac); color: var(--ac); }
.btn.primary, .cta { background: var(--ac); border-color: var(--ac); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn.primary:hover, .cta:hover { filter: brightness(1.08); color: #fff; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn.danger { color: var(--ng); }
.btn.danger:hover { border-color: var(--ng); color: var(--ng); }
.btn.dangerFill { background: var(--ng); border-color: var(--ng); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.linkBtn { background: none; border: 0; padding: 0; color: var(--ac); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

input[type=text], input[type=password], input[type=url], input[type=email], input[type=date], input[type=datetime-local], textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--cardLine); border-radius: 10px; padding: 10px 12px; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 18%, transparent); }
textarea { min-height: 80px; resize: vertical; }
.field { margin: 0 0 18px; }
.field > label, .lbl { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.hint { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }
.check input { margin-top: 5px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ───── ローディング・トースト ───── */
.loading { display: grid; place-items: center; padding: 60px 0; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--cardLine); border-top-color: var(--ac); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #1f2533; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  transition: .25s; z-index: 100; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--ng); }

/* ═════════════ トップページ（LP） ═════════════ */
body.lp { background: #fff; --ac: var(--navy); }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.navIn { max-width: 1080px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 18px; }
.navBrand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.navBrand i, .ys-foot-brand i {
  width: 26px; height: 26px; border-radius: 7px; background: url(/favicon.svg) center/contain no-repeat; display: inline-block;
}
.navBrand b { font-size: 15px; letter-spacing: .08em; }
.nav .sp { flex: 1; }
.nav .lnk { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.nav .lnk:hover { color: var(--navy); }
.cta { border-radius: 999px; padding: 12px 26px; }
.cta.sm { padding: 7px 16px; font-size: 13px; }
.cta.gh { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.cta.gh:hover { color: var(--navy); border-color: var(--navy); }

.lpHero { background: radial-gradient(1200px 500px at 80% 0%, #e8eef8 0%, transparent 60%), var(--bg); }
.heroIn { max-width: 1080px; margin: 0 auto; padding: 64px 16px 72px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lpEyebrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.lpEyebrow span { background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 3px 12px; }
.lpHero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.35; margin: 0 0 22px; letter-spacing: .04em; }
.lpHero h1 em { font-style: normal; color: var(--navy); }
.lpLead { color: #3a4152; margin: 0 0 26px; line-height: 2; }
.lpLead b { color: var(--ink); }
.lpBtns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.lpNote { font-size: 12px; color: var(--muted); margin: 0; }
.lpDemo { position: relative; }
.lpDemo .tag { position: absolute; top: -14px; left: -10px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.lpDemo .frame { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 24px 60px rgba(31,37,51,.12); }
.lpFrame { position: relative; height: 470px; overflow: hidden; border-radius: 12px; background: #e9edf4; }
.lpPage { position: absolute; top: 0; left: 0; width: 160%; height: 160%; border: 0; transform: scale(.625); transform-origin: 0 0; pointer-events: none; }
.lpDemo .foot { font-size: 12px; color: var(--muted); padding: 8px 4px 0; }
.lpDemo .foot code { background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }

.secIn { max-width: 1080px; margin: 0 auto; padding: 72px 16px; }
.kicker { font-size: 11px; letter-spacing: .2em; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--muted); }
.secIn > h2 { font-size: 28px; margin: 0 0 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps .n { display: block; font-size: 44px; font-weight: 300; color: transparent; -webkit-text-stroke: 1.2px var(--navy); line-height: 1; margin-bottom: 14px; }
.steps b { display: block; font-size: 16px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.stepNote { margin: 26px 0 0; font-size: 13px; font-weight: 700; color: var(--navy); }

.tool { background: var(--bg); border-top: 1px solid var(--line); }
.tool .secIn { max-width: 760px; }
.toolLead { color: #3a4152; margin: -14px 0 14px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 12px; color: var(--muted); }
.pill b { color: var(--ink); }
.wrap { display: block; }

.guide { background: #fff; }
.guideWrap { max-width: 1080px; margin: 0 auto; padding: 72px 16px; display: grid; grid-template-columns: 200px 1fr; gap: 48px; }
.toc { position: sticky; top: 80px; align-self: start; display: flex; flex-direction: column; gap: 10px; font-size: 13px; border-left: 2px solid var(--line); padding-left: 14px; }
.toc b { font-size: 12px; color: var(--muted); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--navy); }
.guide-sec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.guide-sec:last-child { border-bottom: 0; }
.guide-sec h2 { font-size: 24px; margin: 0 0 16px; }
.guide-sec h3 { font-size: 16px; margin: 24px 0 6px; }
.guide-sec p { color: #3a4152; }
.guide-sec em { font-style: normal; font-weight: 700; color: var(--navy); }
.guide-tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.guide-tbl th, .guide-tbl td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; }
.guide-tbl th { width: 9em; white-space: nowrap; }
.faq-q { font-weight: 700; margin: 22px 0 6px; padding-left: 32px; position: relative; color: var(--ink) !important; }
.faq-a { margin: 0 0 18px; padding: 0 0 18px 32px; position: relative; border-bottom: 1px solid var(--line); }
.faq-q::before, .faq-a::before { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.faq-q::before { content: "Q"; background: #e3e9f3; color: var(--navy); }
.faq-a::before { content: "A"; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }

.tool-foot { background: var(--bg); border-top: 1px solid var(--line); padding: 40px 16px; }
.disclaimer { max-width: 680px; margin: 0 auto; background: #eef1f6; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; font-size: 12px; color: var(--muted); }
.disclaimer ul { margin: 8px 0 0; padding-left: 18px; }
.disclaimer b { color: var(--ink); }
.ys-footer { background: #1d2230; color: #c9cdd6; text-align: center; padding: 36px 16px; }
.ys-foot-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: .12em; }
.ys-foot-copy { margin: 10px 0 0; font-size: 12px; color: #8b91a0; }

/* ───── 作成フォーム（トップ・管理画面で共通） ───── */
.card { background: #fff; border: 1px solid var(--cardLine); border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 24px rgba(31,37,51,.05); }
.dateBox { border: 1px solid var(--cardLine); border-radius: 12px; padding: 10px; background: #fbfcfe; display: flex; flex-direction: column; gap: 8px; }
.dateRow { display: grid; grid-template-columns: 170px 1fr 34px; gap: 8px; align-items: start; background: #fff; border: 1px solid var(--cardLine); border-radius: 10px; padding: 8px; }
.dateRow input { padding: 8px 10px; font-size: 15px; }
.dateRow .staff { grid-column: 1 / 3; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; }
.dateRow .del { width: 34px; height: 38px; border: 1px solid var(--cardLine); background: #fff; border-radius: 8px; color: var(--muted); cursor: pointer; font-size: 16px; }
.dateRow .del:hover { color: var(--ng); border-color: var(--ng); }
.dateRow .grip { display: flex; flex-direction: column; gap: 4px; }
.dateRow .grip button { height: 17px; border: 1px solid var(--cardLine); background: #fff; border-radius: 5px; font-size: 9px; color: var(--muted); cursor: pointer; padding: 0; }
.dateEmpty { text-align: center; color: var(--muted); font-size: 13px; padding: 10px; }
.photoPick { width: 44px; height: 44px; border-radius: 50%; border: 1px dashed var(--cardLine); background: #f6f7fa center/cover no-repeat; cursor: pointer; display: grid; place-items: center; font-size: 10px; color: var(--muted); position: relative; overflow: hidden; }
.photoPick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.markCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.markCards label { border: 1px solid var(--cardLine); border-radius: 12px; padding: 14px 8px 10px; text-align: center; cursor: pointer; background: #fff; transition: .15s; }
.markCards input { display: none; }
.markCards label:has(input:checked) { border: 2px solid var(--ac); background: var(--acSoft); padding: 13px 7px 9px; }
.markCards .sym { font-size: 22px; letter-spacing: .1em; display: block; line-height: 1.3; }
.markCards small { font-size: 11px; color: var(--muted); font-weight: 700; }
.sym .o, .m-o { color: var(--ok); } .sym .t, .m-t { color: var(--maybe); } .sym .x, .m-x { color: var(--ng); } .sym .n, .m-n { color: var(--none); }
details.adv { border-top: 1px solid var(--cardLine); margin: 6px 0 18px; padding-top: 14px; }
details.adv > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ac); list-style: none; }
details.adv > summary::before { content: "＋ "; }
details.adv[open] > summary::before { content: "－ "; }
details.adv > summary span { color: var(--muted); font-weight: 400; }
.advIn { padding-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--acSoft); border: 1px solid var(--cardLine); border-radius: 999px; padding: 3px 6px 3px 12px; font-size: 13px; font-weight: 700; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 14px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.thumb { position: relative; width: 96px; height: 64px; border-radius: 8px; background: #eee center/cover no-repeat; border: 1px solid var(--cardLine); }
.thumb button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 12px; line-height: 1; }
.themes { display: flex; gap: 10px; flex-wrap: wrap; }
.themes label { cursor: pointer; }
.themes input { display: none; }
.themes span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--cardLine); }
.themes input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.formFoot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.myEvents { margin-top: 26px; }
.myEvents h3 { font-size: 14px; margin: 0 0 8px; color: var(--muted); }
.myEvents ul { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.myEvents li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.myEvents li:last-child { border-bottom: 0; }
.myEvents li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }

/* 作成完了 */
.done h3 { margin: 0 0 6px; font-size: 20px; }
.urlBox { margin: 16px 0; }
.urlBox .lbl small { font-weight: 400; color: var(--muted); }
.urlBox .row input { flex: 1; min-width: 0; font-size: 14px; background: #f8f9fb; }
.urlBox.secret input { border-color: #f0c9a8; background: #fff8f2; }
.warn { background: #fff6ec; border: 1px solid #f3d3b3; color: #8a4b16; border-radius: 10px; padding: 10px 14px; font-size: 13px; }

/* ═════════════ 参加ページ ═════════════ */
.evWrap { max-width: 760px; margin: 0 auto; padding: 24px 12px 8px; }
.evCard { background: var(--cardBg); border: 1px solid var(--cardLine); border-radius: 16px; box-shadow: 0 8px 30px rgba(60,40,20,.08); overflow: hidden; }
.evFoot { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 18px 0 30px; margin: 0; letter-spacing: .08em; }
.evFoot a { color: var(--ink); text-decoration: none; }
.ownerBar { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--acSoft); border-bottom: 1px solid var(--cardLine); padding: 8px 16px; font-size: 12px; color: var(--muted); }
.ownerBar a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.evHead { text-align: center; padding: 26px 18px 22px; border-bottom: 1px solid var(--cardLine); }
.evHead .k { font-size: 11px; font-weight: 700; color: var(--ac); letter-spacing: .2em; margin-bottom: 6px; }
.evHead h1 { display: flex; align-items: center; gap: 18px; justify-content: center; font-size: 19px; font-weight: 600; margin: 0; letter-spacing: .08em; line-height: 1.5; }
.evHead h1::before, .evHead h1::after { content: ""; flex: 0 1 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--ac)); opacity: .5; }
.evHead h1::after { background: linear-gradient(90deg, var(--ac), transparent); }
.evBody { padding: 22px 18px 26px; }
.evBanner { display: flex; overflow-x: auto; gap: 0; margin-top: 18px; scrollbar-width: none; }
.evBanner img { height: 140px; width: auto; flex: 0 0 auto; object-fit: cover; display: block; }
.evVideo { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.evVideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.evDesc { white-space: pre-wrap; font-size: 14px; margin: 0 0 20px; color: #3a3f4a; }
.status { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; font-weight: 700; }
.status.fixed { background: var(--acSoft); border: 1px solid var(--ac); color: var(--ac); }
.status.closed { background: #f2f2f4; border: 1px solid #ddd; color: var(--muted); }
.status small { display: block; font-weight: 400; color: var(--muted); }
.evBody h2 { font-size: 19px; font-weight: 600; margin: 0 0 12px; letter-spacing: .06em; }
.startRow { margin: 4px 0 14px; }
.btn.big { width: 100%; max-width: 420px; min-height: 60px; font-size: 18px; border-radius: 14px; padding: 14px 24px; gap: 10px; letter-spacing: .08em; box-shadow: 0 8px 20px color-mix(in srgb, var(--ac) 35%, transparent); }
.btn.big span { font-size: 20px; transition: transform .15s; }
.btn.big:hover span { transform: translateX(4px); }
.btn.big:active { transform: translateY(1px); box-shadow: 0 3px 10px color-mix(in srgb, var(--ac) 30%, transparent); }
.req { display: inline-block; font-size: 10px; color: #fff; background: var(--ac); border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: 2px; }
.ansList .mail { font-size: 12px; margin-left: 6px; word-break: break-all; }
.answerBox { background: var(--acSoft); border: 1px solid var(--cardLine); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; max-width: 520px; }
.answerBox .hint { margin: 0 0 10px; }
.answerBox .field { margin-bottom: 12px; }
.answerBox .field:last-child { margin-bottom: 0; }
.subH { font-size: 13px; font-weight: 700; border-left: 3px solid var(--ac); padding-left: 8px; margin: 18px 0 4px; }
.scrollHint { text-align: right; font-size: 11px; color: var(--muted); margin: 0 0 4px; }

.tblOuter { position: relative; }
.tblWrap { overflow-x: auto; border: 1px solid var(--cardLine); border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
table.att { border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 100%; }
table.att th, table.att td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--cardLine); border-right: 1px solid var(--cardLine); white-space: nowrap; vertical-align: middle; background: #fff; }
table.att tr:last-child td { border-bottom: 0; }
table.att th:last-child, table.att td:last-child { border-right: 0; }
table.att thead th { background: var(--acSoft); font-weight: 700; font-size: 12px; position: relative; }
table.att .cDate { position: sticky; left: 0; z-index: 1; font-weight: 700; min-width: 76px; }
table.att thead .cDate { z-index: 2; }
table.att .cTime { min-width: 110px; font-size: 12px; white-space: normal; max-width: 180px; }
table.att .cStaff { min-width: 64px; font-size: 11px; }
table.att .cStaff .av { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 2px; background: var(--acSoft) center/cover no-repeat; border: 1px solid var(--cardLine); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ac); }
table.att .cSum { background: var(--acSoft); min-width: 64px; }
table.att thead .cSum { color: var(--ok); }
table.att .cIn { background: color-mix(in srgb, var(--acSoft) 60%, #fff); min-width: 120px; }
table.att thead .cIn { color: var(--ac); }
table.att .cName { min-width: 64px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
table.att thead .cName.mine { color: var(--ac); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
table.att thead .cName.editing { background: color-mix(in srgb, var(--ac) 14%, #fff); }
table.att tr.best td { background: #fffdf0; }
table.att tr.fixedRow td { background: color-mix(in srgb, var(--ac) 9%, #fff); }
table.att tr.fixedRow td.cDate::after { content: "確定"; display: inline-block; margin-left: 4px; font-size: 10px; color: #fff; background: var(--ac); border-radius: 4px; padding: 0 4px; vertical-align: 1px; }
.mk { font-size: 16px; font-weight: 700; }
.sum { line-height: 1.35; font-weight: 700; font-size: 14px; }
.sum > span { display: block; }
.sum .fm { display: block; font-size: 10px; font-weight: 700; color: var(--muted); }
.fChip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; color: #fff; }
.fc0 { background: #2f8a57; } .fc1 { background: #2f6fb3; } .fc2 { background: #8a5cc2; } .fc3 { background: #c27a1e; } .fc4 { background: #c2417a; }
.markBtns { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.markBtns button { min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid var(--cardLine); background: #fff; border-radius: 7px; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; color: #c3c6cd; }
.markBtns button.on { color: #fff; border-color: transparent; }
.markBtns button.on.b-n { background: #8e939e; } .markBtns button.on.b-o { background: var(--ok); }
.markBtns button.on.b-t { background: var(--maybe); } .markBtns button.on.b-x { background: var(--ng); }
.markBtns button.on.b-f0 { background: #2f8a57; } .markBtns button.on.b-f1 { background: #2f6fb3; } .markBtns button.on.b-f2 { background: #8a5cc2; }
.markBtns button.on.b-f3 { background: #c27a1e; } .markBtns button.on.b-f4 { background: #c2417a; }
.scrollBtn { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--cardLine); background: #fff; color: var(--ac); font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); z-index: 3; }
.actRow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--cardLine); max-width: 520px; }
.actRow .sp { flex: 1; }
.cmts { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--cardLine); max-width: 520px; }
.cmts h3 { font-size: 12px; font-weight: 400; color: var(--muted); margin: 0 0 6px; }
.cmts p { margin: 0 0 4px; font-size: 12px; line-height: 1.8; word-break: break-all; }
.cmts b { color: var(--ac); margin-right: 8px; }
.cmts time { color: var(--muted); margin-left: 8px; font-size: 11px; }
.legend { font-size: 11px; color: var(--muted); margin: 6px 0 0; }

.msgCard { padding: 40px 24px; text-align: center; }
.msgCard h1 { font-size: 20px; margin: 0 0 10px; }
.msgCard p { color: var(--muted); margin: 0 0 20px; }
.pwForm { max-width: 320px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

/* 埋め込み（トップページの見本） */
body.embed .evWrap { padding: 16px; }
body.embed .evFoot { display: none; }

/* ═════════════ 管理画面 ═════════════ */
.mgHead { padding: 18px; border-bottom: 1px solid var(--cardLine); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mgHead .k { font-size: 11px; font-weight: 700; color: var(--ac); letter-spacing: .2em; }
.mgHead h1 { font-size: 18px; margin: 0; flex: 1; min-width: 200px; }
.mgSec { padding: 20px 18px; border-bottom: 1px solid var(--cardLine); }
.mgSec:last-child { border-bottom: 0; }
.mgSec > h2 { font-size: 15px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.mgSec > h2 small { font-weight: 400; color: var(--muted); font-size: 12px; }
.switchRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--cardLine); }
.switchRow:last-child { border-bottom: 0; }
.switchRow b { display: block; font-size: 14px; }
.switchRow small { color: var(--muted); font-size: 12px; }
.switch { position: relative; width: 48px; height: 28px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cfd3db; border-radius: 999px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ac); }
.switch input:checked + span::before { transform: translateX(20px); }
.fixList { display: flex; flex-direction: column; gap: 6px; }
.fixList label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--cardLine); border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 14px; background: #fff; }
.fixList label:has(input:checked) { border-color: var(--ac); background: var(--acSoft); }
.fixList .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.ansList { list-style: none; margin: 0; padding: 0; }
.ansList li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--cardLine); font-size: 14px; }
.ansList li:last-child { border-bottom: 0; }
.ansList li span { flex: 1; min-width: 0; }
.ansList li small { color: var(--muted); font-size: 11px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgSec .card { box-shadow: none; padding: 0; border: 0; background: transparent; }
.saveBar { position: sticky; bottom: 0; background: var(--cardBg); border-top: 1px solid var(--cardLine); padding: 12px 18px; display: flex; gap: 10px; align-items: center; z-index: 5; }
.saveBar .note { font-size: 12px; color: var(--muted); flex: 1; }
.dirty .saveBar .note { color: var(--ac); font-weight: 700; }

/* ───── スマホ ───── */
@media (max-width: 900px) {
  .heroIn { grid-template-columns: 1fr; padding-top: 40px; gap: 40px; }
  .guideWrap { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .hide-sp { display: none; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .secIn, .guideWrap { padding: 52px 16px; }
  .card { padding: 18px; }
  .lpFrame { height: 380px; }
  .dateRow { grid-template-columns: 1fr 34px; }
  .dateRow > .when { grid-column: 1 / 2; }
  .dateRow > .time { grid-column: 1 / 2; }
  .dateRow .staff { grid-column: 1 / 2; }
  .markCards { grid-template-columns: 1fr; }
  .markCards label { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 14px; }
  .markCards label:has(input:checked) { padding: 9px 13px; }
  .evHead h1 { font-size: 16px; gap: 10px; }
  .evHead h1::before, .evHead h1::after { flex-basis: 24px; }
  .evBody { padding: 18px 14px 22px; }
  .evBanner img { height: 100px; }
  .scrollBtn { right: -6px; }
}
