:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #2a2320;
  --muted: #6b5f58;
  --accent: #e8573f;
  --accent-ink: #ffffff;
  --soft: #fde9df;
  --line: #eadfd6;
  --male: #4a7bd0;
  --female: #e86a8a;
  --ok: #2f8a57;
  --danger: #c0392b;
  --radius: 16px;
  --night: #140e0c;
  --night-2: #2a1812;
  --cream: #f5ecdc;
  --gold: #e3b873;
  --amber: #d98a3a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.4; }
h2 { font-size: 1.5rem; font-weight: 900; margin: 0 0 24px; text-align: center; }
h2 small { display: block; font-size: .8rem; color: var(--accent); letter-spacing: .15em; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

header.site { position: sticky; top: 0; z-index: 10; background: rgba(20,14,12,.88); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(232,200,140,.15); color: var(--cream); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; max-width: 1080px; }
.logo { font-family: "Cormorant Garamond", serif; font-weight: 500; text-decoration: none; letter-spacing: .32em; font-size: 1.35rem; color: var(--cream); }
.logo span { display: block; font-family: "Noto Sans JP", sans-serif; font-size: .6rem; letter-spacing: .12em; color: var(--gold); font-weight: 400; line-height: 1.2; }
.site-nav { display: flex; gap: 26px; font-size: .85rem; letter-spacing: .08em; }
.site-nav a { text-decoration: none; color: rgba(245,236,220,.8); }
.site-nav a:hover { color: var(--gold); }
@media (max-width: 720px) { .site-nav { display: none; } }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; border-radius: 999px; padding: 10px 22px; border: 0; font-size: 1rem; font-family: inherit; cursor: pointer; }
.btn.small { padding: 6px 16px; font-size: .9rem; }
.btn.big { padding: 16px 36px; font-size: 1.1rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--danger); }
.btn.ok { background: var(--ok); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.gold { background: var(--gold); color: var(--night); }
.btn.gold:hover { background: #ecc78a; }
.btn.outline-light { background: transparent; color: var(--cream); border: 1px solid rgba(245,236,220,.5); }
.btn.outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ---- トップの最初の画面（夜の立ち飲みの雰囲気） ---- */
.hero-night {
  position: relative; overflow: hidden; color: var(--cream); text-align: center;
  display: flex; align-items: center; padding: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(217,138,58,.45), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.hero-night.has-photo {
  background:
    linear-gradient(180deg, rgba(20,14,12,.72), rgba(20,14,12,.82)),
    url("/static/img/hero.jpg") center / cover no-repeat;
}
.hero-night.has-photo .bokeh { display: none; }
/* 店内の灯りがぼけて見える感じ */
.bokeh { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,190,110,.35) 0 22px, transparent 60px),
    radial-gradient(circle at 22% 70%, rgba(255,160,80,.25) 0 34px, transparent 90px),
    radial-gradient(circle at 80% 18%, rgba(255,210,140,.30) 0 18px, transparent 55px),
    radial-gradient(circle at 88% 60%, rgba(255,170,90,.28) 0 40px, transparent 110px),
    radial-gradient(circle at 65% 85%, rgba(255,200,120,.20) 0 26px, transparent 80px),
    radial-gradient(circle at 38% 12%, rgba(255,220,160,.18) 0 14px, transparent 45px),
    radial-gradient(circle at 5% 90%, rgba(255,180,100,.22) 0 30px, transparent 85px),
    radial-gradient(circle at 95% 92%, rgba(255,200,130,.18) 0 20px, transparent 60px);
  filter: blur(2px); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bokeh { animation: none; } }
.hero-inner { position: relative; padding: 44px 16px 40px; width: 100%; min-width: 0; }
.hero-areas { font-family: "Cormorant Garamond", serif; font-style: italic; letter-spacing: .35em; color: var(--gold); margin: 0; font-size: 1rem; }
.hero-areas i { font-style: normal; margin: 0 .4em; }
.hero-brand { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(3rem, 10vw, 5rem); letter-spacing: .28em; line-height: 1.1; margin: 4px 0 0 .28em; }
.toast { width: 70px; height: auto; color: var(--gold); margin: 6px auto 2px; display: block; }
.toast .drink { fill: rgba(217,138,58,.55); stroke: none; }
.hero-title { font-family: "Shippori Mincho", serif; font-weight: 700; font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.35; margin: 6px 0 12px; letter-spacing: .06em; }
.hero-catch { font-family: "Shippori Mincho", serif; color: var(--gold); font-size: clamp(1rem, 3.2vw, 1.2rem); letter-spacing: .14em; margin: 0 0 14px; }
.hero-catch::before, .hero-catch::after { content: ""; display: inline-block; width: 28px; height: 1px; background: rgba(227,184,115,.6); vertical-align: middle; margin: 0 12px; }
.hero-lead { color: rgba(245,236,220,.8); margin: 0 auto 22px; max-width: 34em; font-size: .98rem; }
.hero-facts { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; }
.hero-facts li { border: 1px solid rgba(227,184,115,.5); color: var(--cream); border-radius: 999px; padding: 4px 14px; font-size: .85rem; background: rgba(20,14,12,.35); }
.hero-next { max-width: 640px; margin: 26px auto 0; text-align: left; }
.hero-next-title { text-align: center; color: var(--gold); letter-spacing: .3em; font-size: .8rem; margin: 0 0 10px; }
.hero-next-title span { letter-spacing: .05em; color: rgba(245,236,220,.75); margin-left: 10px; font-size: .8rem; }
.hero-next ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-next a { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 4px 14px; padding: 12px 16px;
  border: 1px solid rgba(227,184,115,.55); border-radius: 12px; background: rgba(20,14,12,.55); color: var(--cream); text-decoration: none; }
.hero-next a:hover, .hero-next a:focus-visible { border-color: var(--gold); background: rgba(20,14,12,.75); }
.hero-next b { font-size: 1.25rem; font-family: "Shippori Mincho", serif; }
.hero-next b small { font-size: .75rem; font-weight: normal; }
.hero-next .hn-kind { color: var(--gold); font-weight: bold; font-size: .95rem; }
.hero-next .hn-meta { font-size: .82rem; color: rgba(245,236,220,.7); min-width: 0; line-height: 1.5; }
.hero-next em { font-style: normal; font-size: .85rem; color: var(--gold); white-space: nowrap; }
@media (max-width: 560px) {
  .hero-next a { grid-template-columns: auto 1fr auto; }
  .hero-next .hn-meta { grid-column: 1 / -1; grid-row: 2; }
}
/* 雰囲気のイメージ */
/* 左に縦長1枚、右に2枚を上下に並べる */
.photos { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin: 28px 0 6px;
  aspect-ratio: 7 / 8; max-height: 720px; padding: 8px; background: var(--night); border-radius: 16px; }
.photos img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; min-height: 0; }
.photos .p1 { grid-row: 1 / 3; }
.scene-note { text-align: center; font-size: .75rem; color: var(--muted); margin: 0 0 20px; }
@media (min-width: 720px) { .photos { aspect-ratio: 16 / 10; } }
/* 開催カレンダー */
.cal { max-width: 640px; margin: 0 auto 22px; }
.cal-title { text-align: center; color: var(--gold); font-family: "Shippori Mincho", serif; font-size: 1.15rem; margin: 0 0 8px; letter-spacing: .08em; }
.cal table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal th { font-size: .75rem; font-weight: normal; color: rgba(245,236,220,.6); padding: 2px 0; }
.cal th.sun { color: #e9a09a; } .cal th.sat { color: #9fb8d8; }
.cal td { height: 64px; vertical-align: top; padding: 0; border-radius: 8px; background: rgba(245,236,220,.04); }
.cal td.out { background: transparent; }
.cal td.past { opacity: .4; }
.cal .cal-d { display: block; font-size: .8rem; color: rgba(245,236,220,.65); padding: 4px 6px 0; line-height: 1.2; }
.cal .cal-ev { display: block; height: 100%; min-height: 64px; border-radius: 8px; text-decoration: none; color: var(--night);
  background: linear-gradient(160deg, #f0c98a, var(--gold)); box-shadow: 0 0 0 1px rgba(227,184,115,.6), 0 4px 14px rgba(227,184,115,.25); }
.cal .cal-ev:hover, .cal .cal-ev:focus-visible { filter: brightness(1.08); outline: 2px solid var(--cream); outline-offset: 1px; }
.cal .cal-ev .cal-d { color: var(--night); font-weight: bold; font-size: .95rem; }
.cal .cal-k { display: block; font-size: .68rem; font-weight: bold; line-height: 1.25; padding: 0 5px; word-break: keep-all; overflow-wrap: anywhere; }
.cal .cal-s { display: block; font-size: .62rem; padding: 0 5px 4px; opacity: .8; }
.cal .cal-ev.off { background: rgba(245,236,220,.18); color: var(--cream); box-shadow: none; }
.cal .cal-ev.off .cal-d { color: var(--cream); }
@media (max-width: 480px) {
  .cal table { border-spacing: 2px; }
  .cal td, .cal .cal-ev { height: 58px; min-height: 58px; }
  .cal .cal-k { font-size: .6rem; padding: 0 3px; }
  .cal .cal-s { display: none; }
}
.nc-intro { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--night); background: var(--gold); border-radius: 4px; padding: 0 6px; }
.intro-text { color: #b8864a; }
.share-count .m, .share-count .m b { color: var(--male); }
.share-count .f, .share-count .f b { color: var(--female); }
.night-card .share-count { color: rgba(245,236,220,.75); }
.night-card .share-count .m, .night-card .share-count .m b { color: #8aa4bd; }
.night-card .share-count .f, .night-card .share-count .f b { color: #d9a3a0; }
.nc-promo { display: block; margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--night); background: linear-gradient(135deg, #f0c98a, #e3b873); border-radius: 6px; padding: 3px 8px; line-height: 1.4; }
.hero-next .hn-promo { color: var(--gold); font-weight: 700; }
.promo-line { max-width: 640px; margin: 14px auto 0; padding: 10px 14px; border: 1px solid #f2d38a; background: #fff6e0; border-radius: 12px; font-size: .9rem; text-align: center; }
.promo-line a { color: var(--accent); white-space: nowrap; }
.promo-box { margin: 16px 0 0; padding: 12px 16px; border: 1px solid #f2d38a; background: #fff6e0; border-radius: 12px; font-size: .95rem; }
.cal-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.nc-tbd { display: block; font-size: .78rem; color: rgba(245,236,220,.55); }
@media (max-width: 560px) {
  .hero-inner { padding-top: 32px; padding-bottom: 32px; }
  .hero-brand { font-size: 3rem; letter-spacing: .2em; margin-left: .2em; }
  .hero-areas { letter-spacing: .22em; font-size: .85rem; }
  .hero-lead br { display: none; }
}
.about { background: var(--surface); }
.about-text { font-size: 1.02rem; line-height: 2.1; }
.about h2, .page h1 { font-family: "Shippori Mincho", serif; }

.hero { text-align: center; padding: 72px 0 56px; background: linear-gradient(180deg, var(--soft), var(--bg)); }
.hero .tag { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .85rem; color: var(--muted); }
.hero .brand { font-size: .9rem; letter-spacing: .4em; color: var(--accent); font-weight: 700; margin-top: 18px; }
.hero h1 { font-size: clamp(1.7rem, 6vw, 2.7rem); font-weight: 900; margin: 8px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); margin: 0 0 28px; }
.hero .note { font-size: .85rem; margin-top: 14px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 8px; }

.price { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.price .card { flex: 1 1 140px; text-align: center; }
.price .yen { font-size: 2rem; font-weight: 900; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 16px; }

/* 日程一覧 */
.event-list { display: grid; gap: 14px; }
.event-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; }
.event-card:hover { border-color: var(--accent); }
.event-card .when { font-weight: 700; font-size: 1.05rem; }
.event-card .where { color: var(--muted); font-size: .9rem; }
.event-card .side { text-align: right; }
.status { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.status.off { color: var(--muted); border-color: var(--line); }
.age-badge { display: inline-block; background: var(--night); color: var(--gold); font-size: .78rem; font-weight: 700; border-radius: 6px; padding: 1px 9px; vertical-align: middle; letter-spacing: .04em; }
.age-badge.big { font-size: .95rem; padding: 3px 12px; }
.age-badge.premium { background: linear-gradient(135deg, #e3b873, #b8864a); color: var(--night); }

/* MEGURI Premium */
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .kinds { grid-template-columns: 1fr; } }
.kind-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-align: center; background: var(--bg); text-decoration: none; color: inherit; display: block; transition: border-color .2s, transform .2s; }
.kind-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.kind-card em { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--accent); }
.kind-card.premium em { color: var(--gold); }
.kind-card.premium:hover { border-color: #f0cf95; }
.kind-card b { display: block; font-family: "Shippori Mincho", serif; font-size: 1.1rem; }
.kind-card span { font-size: .8rem; color: var(--muted); }
.kind-card p { margin: 6px 0 0; font-size: .9rem; }
.kind-card.premium { background: var(--night); color: var(--cream); border-color: var(--gold); }
.kind-card.premium b { color: var(--gold); letter-spacing: .05em; }
.kind-card.premium span { color: rgba(245,236,220,.7); }
.night-card.is-premium { border-left-color: var(--gold); background: linear-gradient(135deg, #241911, #1b1411 60%); }
.nc-kind.premium { color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.nc-cond { font-size: .8rem; color: var(--gold); opacity: .85; }
.coupon-info { color: var(--ok); font-weight: 700; margin: 6px 0 0; }
code { background: rgba(0,0,0,.06); border-radius: 4px; padding: 1px 5px; font-size: .85em; word-break: break-all; }
.premium-check { background: #fff6e0; border: 1px solid #f2d38a; border-radius: 12px; padding: 12px 16px; margin: 8px 0 12px; }
.kind-options { display: grid; gap: 8px; }
.kind-option { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); }
.empty { text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px 16px; }

/* 予約状況：申込◯名以上＋男女の割合バー */
.share { max-width: 400px; margin: 4px 0; }
.share-count { font-size: 1rem; font-weight: 700; color: var(--muted); }
.share-count b { color: var(--accent); font-size: 1.1rem; }
.share-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--line); margin: 10px 0 6px; }
.share-bar .m { background: #8aa4bd; }
.share-bar .f { background: #d9a3a0; }
.share-labels { display: flex; justify-content: space-between; font-size: .85rem; }
.share-labels .m { color: #6f8fae; }
.share-labels .f { color: #c98b88; }
.share-labels small { font-family: "Cormorant Garamond", serif; font-size: .95rem; }

/* 日程（夜のカード） */
.schedule-night { background: var(--night); color: var(--cream); padding-top: 36px; }
.schedule-night h2 { margin-bottom: 18px; }
.schedule-night h2 { color: var(--cream); font-family: "Shippori Mincho", serif; }
.schedule-night h2 small { color: var(--gold); font-family: "Cormorant Garamond", serif; letter-spacing: .3em; }
/* 1列・日付順。1回＝1行（左：日付／中：会の種類・会場・予約状況／右：料金・予約） */
.night-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.night-card { display: grid; grid-template-columns: 150px 1fr 210px; gap: 24px; align-items: center; text-decoration: none; color: var(--cream); background: #1b1411; border: 1px solid rgba(245,236,220,.12); border-left: 3px solid rgba(227,184,115,.7); border-radius: 4px; padding: 22px 26px; transition: border-color .2s; }
.night-card:hover { border-color: var(--gold); }
.nc-date-block { display: flex; flex-direction: column; border-right: 1px solid rgba(245,236,220,.12); padding-right: 20px; }
.nc-md { font-family: "Cormorant Garamond", serif; font-size: 2.3rem; line-height: 1; color: var(--cream); }
.nc-md small { font-family: "Noto Sans JP", sans-serif; font-size: .85rem; color: rgba(245,236,220,.7); }
.nc-time { font-size: .9rem; margin-top: 8px; color: rgba(245,236,220,.85); }
.nc-area { display: inline-block; margin-top: 8px; font-size: .8rem; color: var(--gold); letter-spacing: .15em; }
.nc-main { min-width: 0; }
.nc-main .share { margin-top: 12px; }
.nc-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-left: 1px solid rgba(245,236,220,.12); padding-left: 20px; }
.nc-side .nc-info { grid-template-columns: 3em 1fr; font-size: .88rem; gap: 4px 10px; }
.nc-side .nc-go { margin-top: 2px; }
@media (max-width: 720px) {
  .night-card { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .nc-date-block { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(245,236,220,.12); padding-bottom: 12px; }
  .nc-md { font-size: 1.9rem; }
  .nc-time, .nc-area { margin-top: 0; }
  .nc-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(245,236,220,.12); padding-top: 12px; }
}
.night-card .status { color: var(--gold); border-color: rgba(227,184,115,.6); }
.night-card .status.off { color: rgba(245,236,220,.5); border-color: rgba(245,236,220,.2); }
.nc-kind { color: #9fb3c8; letter-spacing: .08em; margin-top: 10px; }
.nc-kind span { font-size: .8rem; color: rgba(245,236,220,.5); }
.nc-where { font-size: .9rem; color: rgba(245,236,220,.7); }
.night-card hr { border: 0; border-top: 1px solid rgba(245,236,220,.1); margin: 16px 0; }
.night-card .share-count { color: #9fb3c8; }
.night-card .share-count b { color: var(--gold); }
.night-card .share-bar { background: rgba(245,236,220,.12); }
.night-card .share-labels .m { color: #8aa4bd; }
.night-card .share-labels .f { color: #d9a3a0; }
.nc-info { display: grid; grid-template-columns: 4em 1fr; gap: 8px 12px; margin: 0; font-size: .95rem; }
.nc-info dt { color: var(--gold); font-family: "Shippori Mincho", serif; }
.nc-info dd { margin: 0; }
.nc-go { display: inline-block; margin-top: 16px; color: var(--gold); font-weight: 700; letter-spacing: .05em; }
.schedule-night .empty { background: transparent; color: rgba(245,236,220,.7); border-color: rgba(245,236,220,.2); }
.schedule-night .empty a { color: var(--gold); display: inline-block; margin-top: 6px; }

/* エリアページ・パンくず・内部リンク */
.area-hero { background: linear-gradient(180deg, var(--night), var(--night-2)); color: var(--cream); text-align: center; padding: 40px 0 44px; }
.area-hero h1 { font-family: "Shippori Mincho", serif; font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin: 6px 0 16px; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.area-hero p { color: rgba(245,236,220,.85); }
.area-hero .hero-facts { margin-top: 20px; }
.area-hero .breadcrumb { text-align: left; }
.breadcrumb { color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: inherit; }
.area-hero .breadcrumb { color: rgba(245,236,220,.6); }
.area-links { text-align: center; margin-top: 24px; font-size: .9rem; color: var(--muted); }
.area-links a { margin: 0 8px; color: var(--accent); }
.footer-areas { margin-bottom: 6px; }
.footer-areas a, .footer-guides a { white-space: nowrap; }
.footer-guides { margin-bottom: 6px; font-size: .85rem; }

/* 目的別ページ・ガイド */
.guide-block { margin: 0 0 34px; }
.guide-block h2 { font-family: "Shippori Mincho", serif; text-align: left; font-size: 1.3rem; margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--gold); }
.guide-block p { line-height: 1.95; }
.guide-list { padding-left: 1.2em; line-height: 1.9; }
.guide-list li { margin: 4px 0; }
.guide-defs dt { font-weight: 700; margin-top: 14px; }
.guide-defs dd { margin: 4px 0 0; line-height: 1.85; color: var(--muted); }
.related-title { font-size: 1.05rem; text-align: left; margin: 0 0 8px; }
.related ul { padding-left: 1.2em; line-height: 2; margin: 0 0 24px; }
.related a { color: var(--accent); }

/* 開催日程の絞り込み */
.filter { max-width: 900px; margin: 0 auto 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.filter label span { display: block; font-size: .75rem; color: var(--gold); letter-spacing: .1em; margin-bottom: 4px; }
.filter select { background: #1b1411; color: var(--cream); border: 1px solid rgba(245,236,220,.2); border-radius: 8px; padding: 9px 10px; font-size: 15px; }
.filter select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.filter-reset { color: rgba(245,236,220,.75); font-size: .85rem; white-space: nowrap; padding-bottom: 10px; }
.filter-count { max-width: 900px; margin: 0 auto 14px; font-size: .85rem; color: rgba(245,236,220,.7); }
@media (max-width: 720px) {
  .filter { grid-template-columns: 1fr 1fr; }
  .filter-reset { grid-column: 1 / -1; padding-bottom: 0; }
}
.ratio { min-width: 160px; }
.ratio-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--line); margin: 4px 0; }
.ratio-bar .m { background: var(--male); }
.ratio-bar .f { background: var(--female); }
.ratio-label { font-size: .8rem; color: var(--muted); white-space: nowrap; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

.cta { text-align: center; background: var(--soft); }
/* app/static/img/cta.jpg（ぼかした会場の写真）を置くと、一番下の欄の背景になる */
.cta.has-photo { color: var(--cream); padding: 88px 0;
  background: linear-gradient(180deg, rgba(20,14,12,.55), rgba(20,14,12,.7)), url("/static/img/cta.jpg") center / cover no-repeat; }
.cta.has-photo h2 { font-family: "Shippori Mincho", serif; color: #fff3df; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
footer { padding: 32px 0; font-size: .85rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
footer nav a { margin: 0 8px; display: inline-block; }

/* フォーム */
.page { padding: 36px 0 64px; }
.page h1 { font-size: 1.5rem; margin: 0 0 8px; }
.dl { display: grid; grid-template-columns: 7em 1fr; gap: 6px 12px; margin: 16px 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.form-row { margin-bottom: 16px; }
label.lbl { display: block; font-weight: 700; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=number], input[type=password], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; font-size: 16px; font-family: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
}
textarea { min-height: 90px; }
.member { display: grid; grid-template-columns: 6.5em 1fr 6em; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.member .who { font-weight: 700; font-size: .9rem; }
.member.hidden { display: none; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-group label { display: inline-flex; align-items: center; gap: 4px; }
.errors { background: #fdecea; border: 1px solid #f5c2bd; color: var(--danger); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.errors ul { margin: 0; padding-left: 1.2em; }
.notice { background: #eaf6ef; border: 1px solid #bfe3cd; color: var(--ok); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.warn { background: #fff6e0; border: 1px solid #f2d38a; border-radius: 12px; padding: 12px 16px; margin: 16px 0; font-size: .9rem; }
.total { font-size: 1.2rem; font-weight: 900; text-align: right; margin: 12px 0; line-height: 1.5; }
.total .total-sub { font-size: .85rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
@media (max-width: 560px) {
  .total { font-size: 1.05rem; }
  .total .total-sub { display: block; margin-left: 0; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.legal h2 { text-align: left; font-size: 1.1rem; margin: 28px 0 8px; }
.legal p, .legal li { font-size: .95rem; }
.about-page .values { padding-left: 1.3em; }
.about-page .values li { margin-bottom: 12px; }
.about-page .values b { display: block; }
.about-page li, .guide-list li, .guide-block h2 { word-break: auto-phrase; text-wrap: pretty; }
.about-page .sign { margin: 28px 0; display: flex; gap: 18px; align-items: center; }
.about-page .sign img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.about-page .sign p { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) { .about-page .sign { gap: 14px; } .about-page .sign img { width: 96px; height: 96px; } }
.legal table { width: 100%; border-collapse: collapse; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.legal th { width: 32%; color: var(--muted); font-weight: 700; }

@media (max-width: 560px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card .side { text-align: left; }
  .member { grid-template-columns: 1fr 1fr; }
  .member .who { grid-column: 1 / -1; }
  .dl { grid-template-columns: 6.2em 1fr; gap: 6px 10px; }
  .dl dt { white-space: nowrap; font-size: .9rem; }
  .card { padding: 16px; }
  .price .yen { font-size: 1.7rem; }
  /* 「申込状況」は表の項目名（予約状況）と重なるので、表の中では出さない */
  .dl .share-label { display: none; }
  /* 手で入れた改行は、スマホでは外して自然に折り返す */
  .about-text br { display: none; }
}
/* 言葉の途中で折れないように（対応しているブラウザだけ効く） */
p, dd, .hero-lead, .about-text { word-break: auto-phrase; text-wrap: pretty; }
.nowrap { white-space: nowrap; }
/* 日程カードでは「受付中」のラベルがあるので、「予約受付中」は出さない */
.night-card .share-empty { display: none; }

/* 管理画面 */
.admin header.site { background: #2a2320; color: #fff; }
.admin .logo { font-family: "Noto Sans JP", sans-serif; letter-spacing: .08em; font-size: 1rem; font-weight: 700; }
.admin header.site a { color: #fff; }
.admin-nav { display: flex; gap: 14px; align-items: center; font-size: .9rem; }
.admin-nav form { margin: 0; }
.admin-nav button { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; }
table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.tbl th, table.tbl td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: .9rem; vertical-align: middle; }
table.tbl th { background: var(--soft); font-size: .8rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.stat b { display: block; font-size: 1.4rem; }
.stat span { font-size: .8rem; color: var(--muted); }
.stats.sales { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 8px; }
.stat.hl { border-color: var(--ok); background: #eaf6ef; }
.cancel-note { background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.meta .fee { color: var(--danger); }
.btn.danger-text { color: var(--danger); border-color: #f0c4be; }
.stat.hl b { color: var(--ok); }
.roster-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.roster-item.in { background: #eaf6ef; border-color: #bfe3cd; }
.roster-item.off { opacity: .55; }
.roster-item .name { font-weight: 700; font-size: 1.05rem; }
.roster-item .meta { font-size: .8rem; color: var(--muted); }
.roster-item .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.roster-item .actions form { margin: 0; }
.pill { display: inline-block; font-size: .75rem; border-radius: 999px; padding: 0 8px; border: 1px solid var(--line); margin-left: 4px; }
.pill.m { color: var(--male); border-color: var(--male); }
.pill.f { color: var(--female); border-color: var(--female); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.inline-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; align-items: end; }
.inline-form .amount { grid-column: span 3; }
.inline-form .note { grid-column: 1 / -1; }
.note-edit form { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.note-edit select, .note-edit input[type=text] { width: auto; flex: 1 1 140px; min-width: 0; }
@media (max-width: 560px) {
  .inline-form { grid-template-columns: 1fr 1fr; }
  .inline-form .wide, .inline-form .amount, .inline-form .note { grid-column: 1 / -1; }
  .inline-form .submit { order: 9; }
  .roster-item { grid-template-columns: 1fr; }
  .roster-item .actions { justify-content: flex-start; }
  table.tbl .hide-sm { display: none; }
}

@media print {
  header.site, .no-print { display: none !important; }
  body { background: #fff; font-size: 12px; }
  table.tbl th { background: #eee; }
}
