[hidden] { display: none !important; }
/* もかイベント: 夜のお祭り(藍色 + 夕焼けオレンジ)。カレンダーと時刻が主役 */
:root {
  --navy: #1f2a55;
  --navy2: #2b3870;
  --ink: #1f2a44;
  --sub: #6b7390;
  --bg: #faf8f5;
  --card: #ffffff;
  --line: #e7e3dc;
  --accent: #ff8a5c;
  --accent2: #ff6f61;
  --gold: #e9b44c;
  --live: #ff5f57;
  --r: 12px;
  --sh: 0 2px 10px rgba(31, 42, 85, .08);
  --gut: 16px;
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 22px; height: 22px; flex: none; }
.ic-s { width: 16px; height: 16px; }
.ic-h { width: 24px; height: 24px; color: var(--accent); }
h1, h2, h3 { font-family: var(--round); line-height: 1.35; margin: 0; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.hd-in { max-width: 1240px; margin: 0 auto; height: 58px; padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.logo img { height: 40px; width: auto; }
.hd-nav { display: flex; gap: 22px; margin-left: 8px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .2); font-weight: 600; }
.hd-nav a { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.hd-nav a:hover { opacity: 1; color: var(--accent); }
.hd-act { margin-left: auto; display: flex; gap: 4px; }
.hd-ic { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; color: #fff; }
.hd-ic:hover { background: rgba(255, 255, 255, .1); }
.drawer { max-width: 1240px; margin: 0 auto; padding: 8px var(--gut) 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px 16px; }
.drawer a { padding: 8px 4px; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.drawer[hidden] { display: none; }

/* 見出しの帯(夜の街) */
.hero { color: #fff; background: linear-gradient(180deg, rgba(31, 42, 85, .55), rgba(31, 42, 85, .8)), url(/assets/hero.jpg) center/cover no-repeat, var(--navy); }
.hero-in { max-width: 1240px; margin: 0 auto; padding: 34px var(--gut) 34px; text-align: center; }
.hero h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: .03em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero h1::after { content: ""; display: block; width: 120px; height: 2px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero .lead { margin: 10px auto 18px; max-width: 720px; opacity: .92; }
.hero-s .hero-in { padding: 20px var(--gut) 24px; }
.hero-s h1 { font-size: clamp(22px, 3.2vw, 32px); }
.hero-act { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.sbox { flex: 0 1 560px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 4px 4px 4px 16px; color: var(--sub); box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.sbox input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: none; padding: 8px 0; color: var(--ink); }
.sbox button { border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 22px; font-weight: 700; }
.sbox-page { margin: 20px auto 0; max-width: 640px; border: 1px solid var(--line); box-shadow: var(--sh); }
.btn-reg { display: inline-flex; align-items: center; gap: 6px; padding: 11px 24px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; font-weight: 700; box-shadow: 0 4px 14px rgba(255, 111, 97, .4); }
.btn-reg small { font-weight: 500; opacity: .9; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin: 0 0 8px; padding: 0; font-size: 13px; opacity: .85; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a:hover { text-decoration: underline; }
.wrap-d .crumbs ol { justify-content: flex-start; color: var(--sub); opacity: 1; }
.wrap-d .crumbs a { color: var(--navy2); }

/* 絞り込みの帯 */
.fbar { background: #fff; border-bottom: 1px solid var(--line); }
.fbar-in { max-width: 1240px; margin: 0 auto; padding: 10px var(--gut); display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.fgrp { display: flex; align-items: center; gap: 10px; min-width: 0; }
.flabel { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.chip:hover, .chip.on { border-color: var(--g); background: color-mix(in srgb, var(--g) 14%, #fff); }
.dchip { display: inline-block; padding: 3px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.dchip:hover { border-color: var(--accent); }
.dchip.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.subf { margin-top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut) 40px; }
.wrap-d { padding-top: 16px; }
.sec { margin-top: 30px; }
.sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-h h2 { display: flex; align-items: center; gap: 8px; font-size: 21px; color: var(--navy); }
.sec-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--accent2); font-size: 14px; font-weight: 700; }
.cnt { font-size: 13px; padding: 1px 10px; border-radius: 999px; background: #f1eee9; color: var(--sub); }
.empty { padding: 24px; text-align: center; color: var(--sub); background: #fff; border: 1px dashed var(--line); border-radius: var(--r); margin: 0; }

/* カード(時刻を大きく) */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 16 / 7; background: var(--navy); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 42, 85, 0) 30%, rgba(31, 42, 85, .75)); }
.card-time { position: absolute; left: 12px; bottom: 6px; z-index: 1; color: #fff; display: grid; justify-items: start; gap: 2px; }
.card-time b { font: 800 30px/1 var(--round); letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.live { display: inline-block; padding: 0 9px; border-radius: 6px; background: var(--live); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; }
.done { display: inline-block; padding: 0 9px; border-radius: 6px; background: #b9bdc9; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; }
.card-body { padding: 10px 12px 12px; display: grid; gap: 1px; flex: 1; }
.when { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); }
.card-t { font-size: 16px; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 2px 0; }
.meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.meta .ic { color: var(--navy2); opacity: .6; }
.card-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.gl { display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: color-mix(in srgb, var(--g) 70%, #000); background: color-mix(in srgb, var(--g) 15%, #fff); border: 1px solid color-mix(in srgb, var(--g) 40%, #fff); white-space: nowrap; }
.gl i { width: 8px; height: 8px; border-radius: 50%; }
.going { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--accent2); font-size: 13px; font-weight: 700; padding: 2px 4px; white-space: nowrap; }
.going.on .ic { fill: var(--accent2); }

/* 横スクロールの列 */
.hs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: thin; }
.hs > * { scroll-snap-align: start; }

/* カレンダーとその日の一覧 */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
.cal, .sec-day > .rows, .sec-day > .empty { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.cal { padding: 12px; }
.cal-h { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; }
.cal-h strong { font: 700 19px var(--round); color: var(--navy); min-width: 120px; text-align: center; }
.cal-nav { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.cal-today { position: absolute; right: 0; }
.cal-h { position: relative; }
.cal-today { font-size: 13px; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--line); }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cw { text-align: center; font-size: 12px; font-weight: 700; padding: 4px 0; background: #f6f3ee; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cd { min-height: 58px; padding: 3px 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
a.cd:hover { background: #fff5ef; }
.cd-x { background: #fbfaf8; }
.cd-n { font-weight: 600; }
.cd i { display: block; height: 4px; border-radius: 2px; }
.cd em { font-style: normal; font-size: 10px; color: var(--sub); line-height: 1; }
.sun, .sun .cd-n { color: #e0574f; }
.sat, .sat .cd-n { color: #3f74d6; }
.cd.today .cd-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; }
.cd.sel { outline: 2px solid var(--accent); outline-offset: -2px; background: #fff5ef; }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--sub); }
.legend li { display: inline-flex; align-items: center; gap: 4px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; }
.dtabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 4px; scrollbar-width: none; }
.dtabs::-webkit-scrollbar { display: none; }
.dtab { flex: none; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; white-space: nowrap; }
.dtab.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.rows { list-style: none; margin: 0; padding: 4px 14px; }
.row { display: grid; grid-template-columns: 74px 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-time { display: grid; justify-items: start; gap: 4px; }
.row-time b { font: 800 22px/1 var(--round); color: var(--navy); }
.row-img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-t { font-size: 16px; color: var(--navy); margin-bottom: 2px; }
.row-f { display: grid; justify-items: end; gap: 6px; }
.mi { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.sepdot { width: 3px; height: 3px; border-radius: 50%; background: #c8c4bd; margin: 0 4px; flex: none; }
.dayh { margin: 18px 0 8px; font-size: 16px; color: var(--navy); padding-left: 10px; border-left: 4px solid var(--accent); }
.dayh:first-child { margin-top: 0; }
.sec > .rows { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }

/* ジャンルの入り口 */
.gboxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gbox { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--g); border-radius: 10px; box-shadow: var(--sh); }
.gbox strong { font-family: var(--round); color: var(--navy); flex: 1; }
.gbox-ic { color: var(--g); }
.gbox:hover { background: color-mix(in srgb, var(--g) 8%, #fff); }

.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff1ea; color: var(--accent2); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.faq summary .ic { margin-left: auto; transform: rotate(90deg); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(-90deg); }
.faq p { margin: 0; padding: 0 16px 14px 50px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; color: var(--sub); }
.pager a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* イベントの詳細 */
.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.d-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); box-shadow: var(--sh); }
.d-img img { width: 100%; height: 100%; object-fit: cover; }
.d-top { display: flex; align-items: center; justify-content: space-between; }
.d-top .going { font-size: 15px; }
.d-t { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin: 8px 0 10px; }
.d-when { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; }
.d-when .ic { color: var(--navy2); opacity: .7; }
.d-time b { font: 800 22px var(--round); color: var(--navy); }
.loc { display: grid; gap: 8px; margin-top: 12px; }
.loc-b { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.loc-l { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--sub); white-space: nowrap; }
.loc-b strong { color: var(--navy); }
.cp { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; }
.cp.done { background: var(--accent); color: #fff; border-color: var(--accent); }
.d-org { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; color: var(--sub); }
.d-org b { color: var(--ink); }
.xlink { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--navy2); font-weight: 600; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; align-items: start; }
.going-big { justify-content: center; padding: 11px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; font-size: 15px; width: 100%; }
.going-big .ic { color: #fff; }
.going-big.on .ic { fill: #fff; }
.going-big span::before { content: "("; } .going-big span::after { content: ")"; }
.btn-sub { list-style: none; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; }
.btn-sub::-webkit-details-marker { display: none; }
.addcal { position: relative; }
.addcal-m { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh); overflow: hidden; }
.addcal-m a { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.addcal-m a:hover { background: #fff5ef; }
.desc { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }

.ft { margin-top: 40px; background: var(--navy); color: rgba(255, 255, 255, .85); font-size: 13px; }
.ft-in { max-width: 1240px; margin: 0 auto; padding: 22px var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.ft-logo { font: 800 18px var(--round); color: var(--accent); }
.ft-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; flex: 1; }
.ft-nav a:hover { color: #fff; text-decoration: underline; }
.ft-c { margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; z-index: 50; }

@media (max-width: 1024px) {
  .hs { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .two { grid-template-columns: 1fr; }
  .gboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .hd-in { height: 54px; gap: 8px; }
  .logo img { height: 34px; }
  .hd-nav { display: none; }
  .hero-in { text-align: left; padding: 20px var(--gut) 22px; }
  .hero h1::after { margin-left: 0; }
  .crumbs ol { justify-content: flex-start; }
  .hero-act { display: grid; gap: 10px; }
  .btn-reg { justify-content: center; }
  .fbar-in { display: grid; gap: 8px; padding: 10px var(--gut); }
  .fgrp { display: grid; gap: 4px; }
  .fgrp .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .fgrp .chips::-webkit-scrollbar { display: none; }
  .sec { margin-top: 24px; }
  .sec-h h2 { font-size: 18px; }
  /* スマホは「今夜」の横並びの代わりに、日付タブと時刻の縦の並びを先に見せる */
  .sec-tonight { display: none; }
  .two { display: flex; flex-direction: column-reverse; gap: 0; align-items: stretch; }
  .two > * { min-width: 0; width: 100%; }
  .hs { grid-auto-columns: 78%; gap: 10px; }
  .rows { padding: 0 12px; }
  .row { grid-template-columns: 54px 92px minmax(0, 1fr); grid-template-areas: "t i b" "t i f"; gap: 2px 10px; align-items: start; position: relative; }
  .row-time { grid-area: t; padding-top: 2px; }
  .row-time b { font-size: 18px; }
  .row-img { grid-area: i; }
  .row-body { grid-area: b; min-width: 0; }
  .row-f { grid-area: f; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; min-width: 0; }
  .row-f .gl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .row-t { font-size: 14px; }
  .row .meta { display: grid; gap: 0; white-space: nowrap; }
  .row .mi { display: flex; }
  .row .sepdot { display: none; }
  .cd { min-height: 46px; padding: 2px 3px; }
  .gboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gbox { padding: 10px 12px; }
  .detail { grid-template-columns: 1fr; gap: 14px; }
  .d-img { margin: 0 calc(-1 * var(--gut)); border-radius: 0; }
  .acts { grid-template-columns: 1fr; }
  .ft-in { display: grid; }
}

/* ログイン・登録・管理 */
.hd-me { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 13px; font-weight: 700; margin-left: auto; }
.hd-me + .hd-act { margin-left: 0; }
.hd-me:hover { background: rgba(255, 255, 255, .1); }
.narrow { max-width: 760px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 340px; margin: 6px auto 16px; padding: 12px; border-radius: 999px; border: 1px solid #dadce0; background: #fff; font-weight: 700; color: #3c4043; }
.btn-google:hover { background: #f7f8f8; }
.gmark { width: 20px; height: 20px; }
.notes { margin: 0; padding-left: 1.2em; color: var(--sub); font-size: 13px; }
.err { white-space: pre-line; padding: 10px 14px; border-radius: 10px; background: #fff0ee; color: #c0392b; border: 1px solid #f5c6c0; }
.hint { margin: -6px 0 0; font-size: 12px; color: var(--sub); }
.evform { display: grid; gap: 16px; margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.f { display: block; font-weight: 700; color: var(--navy); font-size: 14px; border: 0; margin: 0; padding: 0; min-width: 0; }
.f legend { padding: 0; margin-bottom: 6px; }
.f > input, .f > select, .f > textarea { display: block; margin-top: 6px; }
.f > .pre, .f > .imgpick { margin-top: 6px !important; }
.f > .hint { margin-top: 6px; }
.f > b, .f > span:not(.fl), .f legend > b, .f legend > span, .fl > b, .fl > span { margin-left: 8px; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 4px; }
.f > b, .f legend > b, .fl > b { background: #fff0ea; color: var(--accent2); }
.f > span:not(.fl), .f legend > span, .fl > span { color: var(--sub); font-weight: 500; }
.fl { display: block; }
.f input:not([type=radio]):not([type=checkbox]):not([type=file]), .f select, .f textarea, .report-f textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcfa; width: 100%; min-width: 0; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 50%, #fff); border-color: var(--accent); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.pre { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fdfcfa; padding-left: 10px; margin: 0 !important; }
.pre i { font-style: normal; color: var(--sub); }
.pre input { border: 0 !important; background: none !important; }
.gpick { display: flex; flex-wrap: wrap; gap: 8px; }
.gpick label { cursor: pointer; position: relative; }
.gpick input { position: absolute; opacity: 0; pointer-events: none; }
.gpick span { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; padding: 5px 12px !important; border-radius: 999px !important; border: 1px solid var(--line); font-size: 13px !important; font-weight: 600 !important; color: var(--ink) !important; background: #fff; }
.gpick i { width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.gpick input:checked + span { border-color: var(--g); background: color-mix(in srgb, var(--g) 16%, #fff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--g) 35%, #fff); }
.gpick input:focus-visible + span { outline: 2px solid var(--accent); }
.imgpick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-weight: 400; }
.imgpick img { width: 220px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f1eee9; }
.imgpick .btn-sub { font-size: 14px; padding: 8px 16px; }
.rad { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: 14px; padding: 2px 0; }
.formacts { display: flex; align-items: center; gap: 18px; }
.formacts .btn-reg { border: 0; font-size: 15px; padding: 12px 34px; }
.btn-link { border: 0; background: none; color: var(--sub); text-decoration: underline; font-size: 14px; padding: 4px; }
.btn-sm { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.btn-sm:hover { border-color: var(--accent); }
.btn-danger { border: 0; background: #e5483b; color: #fff; font-weight: 700; padding: 8px 20px; border-radius: 999px; margin-right: 10px; }
.danger { border-top: 1px dashed var(--line); padding-top: 12px; }
.confirm { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: #fff6f4; border: 1px solid #f5c6c0; }
.confirm p { margin: 0 0 6px; color: #c0392b; font-weight: 700; }
.my-top { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.my-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.my-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.my-row.past { opacity: .55; }
.my-row img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.my-t { font-weight: 700; color: var(--navy); }
.my-b .meta { white-space: normal; flex-wrap: wrap; }
.tag-rep { font-size: 11px; padding: 0 8px; border-radius: 999px; background: #eef1ff; color: var(--navy2); font-weight: 700; }
.tag-hid { font-size: 11px; padding: 0 8px; border-radius: 999px; background: #fff0ee; color: #c0392b; font-weight: 700; }
.owner { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 10px 14px; border-radius: 10px; background: #fff6ef; border: 1px solid #ffd9c4; color: var(--navy); font-weight: 600; }
.owner .btn-sm { margin-left: auto; }
.report { margin-top: 26px; font-size: 13px; color: var(--sub); }
.report summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report-f { margin-top: 10px; display: grid; gap: 6px; max-width: 480px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.report-f p { margin: 0; }
.report-f .btn-sub { justify-self: start; padding: 6px 18px; }
.ok { color: #2d8a57; font-weight: 700; }
.h2s { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.adm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adm { display: grid; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.adm a { font-weight: 700; color: var(--navy); }
.adm .meta { white-space: normal; }
.adm-b { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 760px) {
  .hd-me span { display: none; }
  .hd-me { padding: 8px; border: 0; }
  .evform { padding: 16px; margin-top: 16px; }
  .f2, .f3 { grid-template-columns: 1fr; }
  .f3 { grid-template-columns: 1fr 1fr; }
  .f3 .f:first-child { grid-column: 1 / -1; }
  .imgpick img { width: 100%; }
  .my-row { grid-template-columns: 84px minmax(0, 1fr); }
  .my-row img { width: 84px; }
  .my-row .btn-sm { grid-column: 1 / -1; justify-self: end; }
}

/* 日時の入力(カレンダー + 時刻・長さのボタン) */
.dr-out { width: 100%; text-align: left; border: 0; background: none; color: #ffb79a; padding: 8px 4px; border-bottom: 1px dashed rgba(255, 255, 255, .2); font-weight: 700; }
.when-sum { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; background: #fff6ef; border: 1px solid #ffd9c4; font: 700 17px var(--round); color: var(--navy); }
.when-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pvcal { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.pvcal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pvcal-h strong { font: 700 16px var(--round); color: var(--navy); }
.pvcal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.pw { text-align: center; font-size: 11px; font-weight: 700; color: var(--sub); padding: 2px 0; }
.pd { aspect-ratio: 1; border: 0; border-radius: 8px; background: #faf8f5; font: 600 14px var(--round); color: var(--ink); cursor: pointer; padding: 0; }
.pd:hover:not(:disabled) { background: #fff1ea; }
.pd.sun { color: #e0574f; } .pd.sat { color: #3f74d6; }
.pd.past { opacity: .3; cursor: default; }
.pd.today { box-shadow: inset 0 0 0 1.5px var(--navy2); }
.pd.span { background: #ffe3d6; color: var(--navy); }
.pd.hit { background: color-mix(in srgb, var(--accent) 70%, #fff); color: #fff; }
.pd.sel { background: var(--accent2); color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent2); }
.pvcal-t { margin: 8px 0 0; font-size: 12px; font-weight: 500; color: var(--sub); }
.wl { margin: 4px 0 6px; font-size: 13px; color: var(--navy); }
.tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchips.mins { margin-top: 6px; }
.tchip { min-width: 52px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 700 14px var(--round); color: var(--ink); }
.tchip:hover { border-color: var(--accent); }
.tchip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.more-h { display: block; margin-top: 4px; font-size: 12px; }
.when-raw { margin-top: 12px; font-weight: 500; }
.when-raw summary { cursor: pointer; font-size: 13px; color: var(--sub); }
.when-raw .f2 { margin-top: 10px; }
.f2.tight { gap: 8px; }
.rep-now, .d-rep { display: flex; align-items: center; gap: 8px; }
.rep-now { margin: 0; padding: 10px 12px; border-radius: 10px; background: #eef1ff; color: var(--navy); font-weight: 600; }
/* くり返し */
.recur select[data-rpreset] { display: block; margin-top: 6px; }
.rc { margin-top: 10px; padding: 12px; border-radius: 10px; background: #faf8f5; border: 1px solid var(--line); display: grid; gap: 10px; font-weight: 500; }
.rc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink); }
.rc-row input[type=number] { width: 70px !important; display: inline-block !important; margin: 0 !important; }
.rc-row select { width: auto !important; display: inline-block !important; margin: 0 !important; }
.rc-col { display: grid; gap: 6px; color: var(--ink); font-weight: 500; }
.rc-col[data-rend] { margin-top: 10px; }
.rc-l { font-size: 13px; font-weight: 700; color: var(--navy); }
.rc-col input[type=date], .rc-col input[type=number] { width: auto !important; display: inline-block !important; margin: 0 0 0 6px !important; padding: 4px 8px !important; }
.rc-sub { display: grid; gap: 6px; padding-left: 26px; }
.wdpick { display: flex; flex-wrap: wrap; gap: 5px; }
.wdpick label { cursor: pointer; position: relative; }
.wdpick input { position: absolute; opacity: 0; pointer-events: none; }
.wdpick span { display: inline-grid !important; place-items: center; min-width: 38px; height: 34px; margin: 0 !important; padding: 0 8px !important; border-radius: 8px !important; border: 1px solid var(--line); background: #fff; font: 700 13px var(--round) !important; color: var(--ink) !important; }
.wdpick input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.wdpick input:focus-visible + span { outline: 2px solid var(--accent); }
.rc-row > span { font-size: 14px; }
/* 画像を複数 */
.imgs { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.imgs li { position: relative; width: 120px; height: 120px; border-radius: 10px; overflow: hidden; background: #f1eee9; border: 1px solid var(--line); }
.imgs li:first-child { outline: 2px solid var(--accent); outline-offset: 1px; }
.imgs li:first-child::before { content: "表紙"; position: absolute; left: 6px; top: 6px; z-index: 1; font-size: 11px; padding: 0 6px; border-radius: 6px; background: var(--accent2); color: #fff; font-weight: 700; }
.imgs img { width: 100%; height: 100%; object-fit: contain; background: #2b3157; }
.imgs li.loading img { opacity: .4; }
.imgs-b { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 4px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5)); }
.imgs-b button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-weight: 800; display: grid; place-items: center; padding: 0; }
.addimg { display: inline-flex !important; width: auto; }
/* 詳細の画像: 縦長・横長どちらもそのまま見せる(切り取らない) */
.gallery { position: relative; border-radius: var(--r); overflow: hidden; background: #1b2140; box-shadow: var(--sh); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; height: min(70vh, 620px); display: grid; place-items: center; }
.slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; color: var(--navy); }
.sl-prev { left: 10px; } .sl-next { right: 10px; }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.dots span.on { background: var(--accent); }
/* 一覧のサムネイルは切り取るので、縦長は上寄せ(顔が切れにくい) */
.card-img img, .row-img img { object-position: center 30%; }
.row-time .nth { font-size: 16px; color: var(--accent2); }
@media (max-width: 760px) {
  .when-grid { grid-template-columns: 1fr; }
  .slide { height: min(62vh, 520px); }
  .gallery { margin: 0 calc(-1 * var(--gut)); border-radius: 0; }
  .imgs li { width: calc(33.3% - 7px); height: auto; aspect-ratio: 1; }
}

/* この回だけ: お休み・変更あり・お知らせ */
.cxl { display: inline-block; padding: 0 9px; border-radius: 6px; background: #6b7390; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; }
.chg { display: inline-block; padding: 0 9px; border-radius: 6px; background: #fff1e0; color: #c26a00; border: 1px solid #ffd39a; font-size: 12px; font-weight: 700; line-height: 1.6; }
.card-time .chg, .card-time .cxl { margin-right: 4px; }
.is-cxl .card-t, .is-cxl .row-t { text-decoration: line-through; opacity: .6; }
.is-cxl img { filter: grayscale(.8); opacity: .6; }
.notice-s { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: #c26a00; white-space: normal; }
.notice-box, .cxl-box { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.notice-box { background: #fff7ea; border: 1px solid #ffd39a; color: #8a4b00; }
.notice-box b { margin-right: 6px; }
.cxl-box { background: #eef0f5; border: 1px solid #cfd4e2; color: var(--navy); }
.occ .rad .sub { margin-left: 8px; font-size: 12px; color: var(--sub); font-weight: 500; }
.occ .f { margin-top: 8px; }

.hrow { display: grid; grid-template-columns: 34px repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; width: 100%; }
.hlab { font-size: 11px; color: var(--sub); font-weight: 700; }
.hrow .tchip { min-width: 0; padding: 7px 0; font-size: 13px; }
[data-hours] { display: grid; gap: 5px; }
.hnote { margin: 2px 0 0; font-size: 11px; color: var(--sub); }
.when-raw .hint { margin: 10px 0 0; }

.selrow { display: flex; gap: 6px; flex-wrap: wrap; }
.selrow select { flex: 1 1 0; min-width: 0; font: inherit; font-weight: 600; padding: 9px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcfa; color: var(--ink); }
.selrow select:disabled { opacity: .4; }
.when-time .recur { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.when-time .rc { padding: 10px; }
.when-time .wdpick span { min-width: 34px; height: 32px; }
.pvcal { position: sticky; top: 70px; }
@media (max-width: 760px) { .pvcal { position: static; } }
.when-time .hint { margin: 6px 0 0; }

.selrow input[type=date] { flex: 1 1 100%; font: inherit; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcfa; }
.longs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px dashed var(--line); }
.longs-l { font-size: 12px; font-weight: 700; color: var(--sub); margin-right: 4px; }
.long { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--g) 40%, #fff); background: color-mix(in srgb, var(--g) 10%, #fff); font-size: 13px; font-weight: 600; }
.long i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.long small { color: var(--sub); font-weight: 500; }
.draft-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: #eef7ee; border: 1px solid #cfe7cf; color: #2d6a3e; font-size: 13px; font-weight: 600; }
.draft-note .btn-link { margin-left: 6px; }

.my-ser { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.my-ser > .my-row { border: 0; border-radius: 0; }
.my-occ { border-top: 1px dashed var(--line); padding: 8px 12px; }
.my-occ summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy2); }
.my-occ ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.my-occ li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 6px 0; border-bottom: 1px solid #f1eee9; font-size: 13px; }
.my-occ li:last-child { border-bottom: 0; }
.my-d { font-weight: 600; }
.my-g { color: var(--sub); margin-left: auto; }
.my-occ-h { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--navy); }
.my-occ li.past { opacity: .5; }
.my-occ details summary { font-size: 12px; color: var(--navy2); cursor: pointer; margin-top: 4px; }
.my-ser.past { opacity: .7; }
details > summary.h2s { cursor: pointer; }
/* カード・行は どこを押しても詳細へ(行きたい・ジャンルのボタンだけは別) */
.card, .row { position: relative; }
.card-t a::after, .row-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .going, .row .going, .card .gl, .row .gl { position: relative; z-index: 2; }
.card:hover, .row:hover { cursor: pointer; }
.row:hover .row-t a { text-decoration: underline; }
.helplink { max-width: 760px; margin: 14px auto 0; padding: 0 var(--gut); font-size: 13px; }
.helplink a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy2); font-weight: 700; text-decoration: underline; }
.help .desc p { margin: 0 0 8px; } .help .desc ul { margin: 0; padding-left: 1.2em; } .help .desc li { margin: 4px 0; }

.rep-s { margin: 0; display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--navy2); }
.rep-t { margin-left: 8px; font-size: 11px; padding: 0 7px; border-radius: 999px; background: #eef1ff; color: var(--navy2); font-family: inherit; vertical-align: 2px; }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.plans a { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.plans a:hover { border-color: var(--accent); }
.pl-d { font-weight: 700; color: var(--navy); }
.pl-t { color: var(--sub); font-size: 13px; }

/* 読みもの */
.arts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.arts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art { display: grid; gap: 4px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; box-shadow: var(--sh); }
.art strong { font-family: var(--round); color: var(--navy); }
.art span { font-size: 13px; color: var(--sub); }
.art:hover { background: #fff8f3; }
.article .art-lead { margin: 22px 0 4px; font-size: 16px; }
.art-up { margin: 0; font-size: 12px; color: var(--sub); }
.toc { margin-top: 16px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.toc p { margin: 0 0 4px; font-weight: 700; color: var(--navy); font-size: 14px; }
.toc ol { margin: 0; padding-left: 1.4em; } .toc a { color: var(--navy2); text-decoration: underline; }
.art-sec h2 { font-size: 20px; color: var(--navy); padding-left: 10px; border-left: 4px solid var(--accent); margin-bottom: 10px; }
.art-body { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; line-height: 1.9; }
.art-body p { margin: 0 0 10px; } .art-body ul, .art-body ol { margin: 0; padding-left: 1.3em; } .art-body li { margin: 4px 0; }
.art-body a { color: var(--accent2); text-decoration: underline; font-weight: 600; }
@media (max-width: 760px) { .arts-grid { grid-template-columns: 1fr; } }

.attend { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.btn-attend { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; }
.btn-attend.on { background: #fff; color: var(--navy); }
.att-n { color: var(--sub); } .att-n b { color: var(--navy); font-size: 18px; }
.atts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.atts li { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.atts a { color: var(--navy2); font-weight: 500; font-size: 13px; }
.prof { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; font-weight: 700; color: var(--navy); }
.plans b { color: var(--navy); width: 100%; }
.hd-nav { gap: 18px; white-space: nowrap; }
.hd-nav .hd-reg { padding: 3px 12px; border-radius: 999px; background: var(--accent); color: #fff; opacity: 1; }
.hd-nav .hd-reg:hover { color: #fff; background: var(--accent2); }
@media (max-width: 1100px) { .hd-nav a:nth-child(2) { display: none; } }
@media (max-width: 960px) { .hd-nav a:nth-child(3), .hd-nav a:nth-child(4) { display: none; } }
.prof-out { margin-left: auto; }

/* メニューをまとまりごとに */
.drawer { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 22px; padding-bottom: 18px; }
.dr-g { display: grid; align-content: start; }
.dr-h { margin: 10px 0 2px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .05em; }
.drawer .dr-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }
.drawer .dr-chips a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 13px; }
.drawer .dr-chips a i { width: 8px; height: 8px; border-radius: 50%; background: var(--g, #fff); }
.drawer .dr-chips a:hover { background: rgba(255, 255, 255, .1); }
.att-who { margin: 6px 0 0; font-size: 13px; color: var(--sub); }
a.att-n { text-decoration: underline dotted; }

/* 名前のボタン → 小さなメニュー */
.hd-me-d { position: relative; margin-left: auto; }
.hd-me-d + .hd-act { margin-left: 0; }
.hd-me-d summary { list-style: none; cursor: pointer; }
.hd-me-d summary::-webkit-details-marker { display: none; }
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 230px; display: grid; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); overflow: hidden; }
.me-menu a, .me-menu button { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; font-weight: 600; color: var(--navy); width: 100%; }
.me-menu a:hover, .me-menu button:hover { background: #fff5ef; }
.me-menu form { margin: 0; }
.me-menu button { color: var(--accent2); border-bottom: 0; }
@media (max-width: 760px) { .hd-me-d .hd-me span { display: none; } .hd-me-d .hd-me { padding: 8px; border: 0; } }

/* 自分のページの帯 */
.band { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; font: 700 17px var(--round); }
.band .ic { color: var(--accent); }
.band-sub { background: #e9e6f2; color: var(--navy); cursor: pointer; list-style: none; }
.band-sub::-webkit-details-marker { display: none; }
.logout-b { margin: 40px 0 10px; text-align: center; }
.logout-b button { min-width: 220px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--sub); font-weight: 700; }
.logout-b button:hover { border-color: var(--accent2); color: var(--accent2); }
.wrap .my-top { margin-top: 4px; }

.uid { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px dashed var(--line); font-weight: 600; color: var(--navy); }
.uid b { font: 800 20px/1 var(--round); letter-spacing: .08em; color: var(--accent2); }
.uid span { width: 100%; font-size: 12px; font-weight: 500; color: var(--sub); }
.admin-box { padding: 12px; border: 1px dashed var(--accent); border-radius: 10px; background: #fff8f3; }
.admin-box input { flex: 1 1 160px; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; letter-spacing: .08em; text-transform: uppercase; }
.uidv { margin: 4px 0 0; font: 800 22px/1.2 var(--round); letter-spacing: .1em; color: var(--navy); user-select: all; }

/* ===== デザイン案A(12/1 ユーザー選択): もかツールの空色 × 夜空のラベンダー、星とランタンを少し ===== */
:root {
  --navy: #34478a;      /* 見出し・濃い文字(藍に近い青) */
  --navy2: #5a73bf;
  --ink: #2f3a5c;
  --sub: #7b86a6;
  --bg: #f3f7ff;
  --line: #dfe7f7;
  --accent: #ff8f6e;    /* ボタン(コーラル) */
  --accent2: #ff7a86;
  --gold: #f3c45b;
  --live: #ff6b7d;
  --r: 16px;
  --sh: 0 4px 18px rgba(88, 120, 200, .12);
  --sky: #58b8ff;
}
body { background: linear-gradient(180deg, #eef5ff 0, #f4f1ff 600px, #f3f7ff 1200px); }
.hd { background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(236, 242, 255, .92)); color: var(--navy); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(88, 120, 200, .12); }
.hd-nav { border-left-color: rgba(52, 71, 138, .15); }
.hd-nav a:hover { color: var(--sky); }
.hd-ic { color: var(--navy); }
.hd-ic:hover, .hd-me:hover { background: rgba(88, 184, 255, .12); }
.hd-me { border-color: rgba(52, 71, 138, .25); color: var(--navy); background: #fff; }
.drawer a { color: var(--navy); border-bottom-color: rgba(52, 71, 138, .12); }
.drawer .dr-chips a { border-color: var(--line); background: #fff; }
.drawer .dr-chips a:hover { background: #eef5ff; }
.dr-h { color: var(--sky); }
.dr-out { color: var(--accent2); border-bottom-color: rgba(52, 71, 138, .12); }
.hero { color: #fff; background: linear-gradient(180deg, rgba(60, 80, 150, .10), rgba(60, 70, 140, .28)), url(/assets/hero.jpg) center/cover no-repeat, #b9c8f3; }
.hero h1 { text-shadow: 0 2px 14px rgba(40, 50, 120, .55), 0 0 2px rgba(40, 50, 120, .4); }
.hero h1::before { content: "✦"; margin-right: 14px; font-size: .6em; vertical-align: .35em; color: #fff7d6; text-shadow: 0 0 12px rgba(255, 240, 180, .9); }
.hero h1::after { background: linear-gradient(90deg, transparent, #fff, transparent); }
.hero .lead { text-shadow: 0 1px 6px rgba(40, 50, 120, .6); }
.hero-s .hero-in { padding-bottom: 20px; }
.crumbs a { color: #fff; }
.wrap-d .crumbs a { color: var(--navy2); }
.sbox { box-shadow: 0 6px 20px rgba(60, 80, 160, .18); }
.btn-reg { background: linear-gradient(90deg, #ffa07f, #ff7f8e); box-shadow: 0 6px 18px rgba(255, 127, 142, .35); }
.fbar { background: rgba(255, 255, 255, .85); border-bottom-color: var(--line); }
.chip { border-color: var(--line); }
.dchip.on { background: var(--sky); border-color: var(--sky); }
.sec-h h2 { color: var(--navy); }
.ic-h { color: var(--sky); }
.card, .cal, .sec-day > .rows, .sec > .rows, .evform, .box, .desc, .faq details, .gbox, .art, .my-row, .my-ser, .loc-b, .art-body, .toc { border-color: var(--line); box-shadow: var(--sh); }
.card { border-radius: 16px; }
.card-img::after { background: linear-gradient(180deg, rgba(40, 60, 140, 0) 30%, rgba(40, 50, 120, .7)); }
.card-img, .row-img, .gallery, .imgs img { background: #c9d6f5; }
.cw { background: #f2f6ff; }
.cd-x { background: #fafcff; }
a.cd:hover, .cd.sel { background: #fff4ef; }
.cd.today .cd-n { background: var(--sky); }
.dtab.on, .ptab.on { background: var(--accent); border-color: var(--accent); }
.tchip.on, .wdpick input:checked + span { background: var(--sky); border-color: var(--sky); }
.gbox { border-left-width: 5px; }
.band { background: linear-gradient(90deg, #58b8ff, #8a8fe6); }
.band .ic { color: #fff7d6; }
.band-sub { background: #e6edfb; color: var(--navy); }
.btn-attend { border-color: var(--sky); background: var(--sky); }
.btn-attend.on { background: #fff; color: var(--sky); }
.ft { background: linear-gradient(90deg, #dfeaff, #ebe6ff); color: var(--ink); }
.ft-logo { color: var(--sky); }
.ft-nav a:hover { color: var(--accent2); }
.dayh { border-left-color: var(--sky); }
.art-sec h2 { border-left-color: var(--sky); }
.art { border-left-color: var(--sky); }
.pd.hit { background: color-mix(in srgb, var(--sky) 75%, #fff); }
.pd.sel { background: var(--accent2); }
.pd.span { background: #dceeff; }
