﻿@font-face { font-family: "Pyeojin Gothic"; src: url("fonts/PyeojinGothic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pyeojin Gothic"; src: url("fonts/PyeojinGothic-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pyeojin Gothic"; src: url("fonts/PyeojinGothic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "CookieRun"; src: url("fonts/CookieRun-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CookieRun"; src: url("fonts/CookieRun-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
:root {
  --pink: #F48FA3; --pink-d: #EC7A93; --pink-l: #FCE4EA;
  --blue: #64AFD5; --blue-l: #DCEFF8; --blue-d: #2F6F91;
  --yellow: #F6C445; --yellow-l: #FFF4D6;
  --text: #493d3d; --muted: #8a7f7c; --line: #EEE8E4; --bg: #ffffff; --soft: #F8F5F2;
  --red: #E53935;
  --round: "Pyeojin Gothic", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #f3efec; color: var(--text); font-family: "Pyeojin Gothic", "Pretendard", "Noto Sans KR", system-ui, sans-serif; -webkit-text-size-adjust: 100%; color-scheme: light; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; padding-bottom: 96px; }
[hidden] { display: none !important; }
.bubble, .cal-head h2, .d-body h1, .empty .say { font-weight: 700 !important; letter-spacing: -0.01em; }

.sample-note { background: var(--text); color: #fff; font-size: 12px; text-align: center; padding: 4px; }

.logo-bar { padding: 10px 16px 4px; text-align: center; background: #fff; }
.logo { width: 260px; height: 92px; max-width: 100%; object-fit: cover; object-position: center 52%; display: block; margin: 0 auto; }

.hero {
  background-color: var(--yellow-l);
  background-image: radial-gradient(var(--yellow) 1.3px, transparent 1.3px);
  background-size: 16px 16px;
  padding: 14px 16px 0; text-align: center;
}
.bubble {
  display: inline-block; background: #fff; border-radius: 50% / 45%;
  padding: 12px 22px; font-family: var(--round); font-size: 19px; line-height: 1.35;
}
.hero-chars { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.hero-chars img { width: 132px; height: auto; display: block; }

.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(255,255,255,.96); border-bottom: 1px solid #F1ECE8; }
/* logo3.webp は 2000×667 で、文字の部分は x48〜1952・y152〜492。余白を切って表示する */
.nav-logo { --h: 30px; margin: 0; line-height: 0; height: var(--h); width: calc(var(--h) * 1904 / 340); overflow: hidden; }
.nav-logo img { height: calc(var(--h) * 667 / 340); width: auto; max-width: none; margin-top: calc(var(--h) * -152 / 340); margin-left: calc(var(--h) * -48 / 340); }
.nav-fav { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 17px; }
.nav-fav.on { background: var(--pink); color: #fff; }
/* 案A：文字とキャラをひとまとまりにして中央へ */
.hero2 { --cw: clamp(72px, 22vw, 92px); position: relative; overflow: hidden; padding: 22px 12px 18px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.h-text { position: relative; z-index: 1; flex-shrink: 0; }
.h-art { position: relative; flex-shrink: 0; }
.hero2 .eyebrow, .hero2 .h-copy, .hero2 .h-en { font-family: "CookieRun", "Pyeojin Gothic", sans-serif; }
.hero2 .h-copy { letter-spacing: -0.01em; font-size: 25px; }
.blob { position: absolute; border-radius: 50%; }
.b1 { left: 4%; bottom: -30px; width: calc(var(--cw) * 1.9); height: calc(var(--cw) * 1.9); background: #E6F2F9; }
.b2 { left: -16px; bottom: calc(var(--cw) * 0.85); width: 50px; height: 50px; background: #FCE7EC; }
.b3 { right: -4px; top: -6px; width: 20px; height: 20px; background: #FFF1C9; }
.eyebrow { margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #5E97B8; font-weight: 600; }
.h-copy { margin: 8px 0 0; font-weight: 700; font-size: 27px; line-height: 1.32; letter-spacing: -0.02em; }
.h-copy em { font-style: normal; }
.hl-b { color: #3E93C2; } .hl-p { color: #E8728C; }
.h-en { margin: 8px 0 0; font-size: 13px; color: var(--muted); max-width: 160px; line-height: 1.45; }
.hero2 .h-chars { position: relative; display: flex; align-items: flex-end; }
.h-chars img { width: var(--cw); height: auto; display: block; }
.h-chars img:first-child { margin-right: calc(var(--cw) * -0.2); }
/* 2026-11-20：虫めがねのプミとカレンダーのポミ（1枚の絵） */
.h-chars img.h-pair { width: calc(var(--cw) * 2.0); margin: 0; }
@media (min-width: 1000px) { .h-chars img.h-pair { width: calc(var(--cw) * 2.15); } }
.top { text-align: center; }
.top-band { background: var(--blue-l); padding: 22px 16px 56px; border-radius: 0 0 32px 32px; }
.top-logo { margin: 0; }
.top-logo img { width: 270px; max-width: 80%; height: auto; display: block; margin: 0 auto; }
.top-chars { display: flex; justify-content: center; gap: 4px; margin-top: -54px; }
.top-chars img { width: 112px; height: auto; display: block; }
.top-copy { margin: 2px 16px 0; font-weight: 700; font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; }
.top-copy span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 3px; letter-spacing: 0; }
.controls { display: flex; gap: 8px; padding: 14px 16px 8px; }
.region { flex: 1; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.filter-btn { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.badge { background: var(--pink); color: #fff; border-radius: 999px; font-size: 12px; min-width: 20px; padding: 1px 6px; }

.switch { display: flex; margin: 4px 16px 8px; background: var(--soft); border-radius: 999px; padding: 4px; }
.switch button { flex: 1; padding: 8px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.switch button.on { background: var(--pink); color: #fff; }

.calendar { padding: 0 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; }
.cal-head h2 { font-family: var(--round); font-weight: 400; font-size: 22px; margin: 0; }
.nav { font-size: 26px; width: 40px; height: 40px; border-radius: 50%; }
.nav:active { background: var(--soft); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-week span { font-size: 13px; color: var(--muted); padding: 4px 0; }
.sun { color: var(--red) !important; } .sat { color: var(--blue-d) !important; }
.day { padding: 6px 0 8px; border-radius: 12px; min-height: 52px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 15px; }
.day.out { color: #ccc; }
.day.today .num { border: 2px solid var(--pink); }
.day .num { width: 30px; height: 30px; line-height: 26px; border-radius: 50%; border: 2px solid transparent; }
.day.sel .num { background: var(--text); color: #fff; border-color: var(--text); }
.dots { display: flex; gap: 3px; height: 7px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }

.day-list { padding: 8px 0 0; border-top: 1px solid var(--line); margin-top: 8px; }
.day-list h3 { margin: 10px 16px 6px; font-size: 17px; }
.ev { display: block; width: calc(100% - 32px); margin: 8px 16px; text-align: left; border-left: 6px solid; border-radius: 0; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.ev:active { background: var(--soft); }
.ev b { display: block; font-size: 16px; margin-bottom: 2px; }
.ev .meta { color: var(--muted); font-size: 14px; }
.chips { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--soft); }
.chip.free { background: var(--pink-l); color: #B84A63; }
.chip.lang { background: var(--blue-l); color: var(--blue-d); }
.chip.dl { background: #fff; border: 1px solid var(--red); color: var(--red); }

.empty { display: flex; gap: 10px; align-items: flex-start; padding: 6px 16px 4px; }
.empty img { width: 72px; height: auto; flex-shrink: 0; }
.empty .say { background: var(--pink-l); border-radius: 16px; padding: 10px 12px; font-family: var(--round); font-size: 16px; line-height: 1.4; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 16px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

.pomi-fab { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: max(16px, calc(50vw - 240px + 16px), env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 6px; transition: opacity .2s, transform .2s; z-index: 20; }
.pomi-fab.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
.pomi-fab img { width: 68px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.fab-bubble { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px; font-size: 13px; font-weight: 600; }

/* 페이지 */
.page { background: #fff; min-height: 80vh; }
.page-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.back { font-size: 22px; width: 36px; height: 36px; }
.d-band { height: 8px; }
.d-body { padding: 16px; }
.d-body h1 { font-family: var(--round); font-weight: 400; font-size: 26px; margin: 8px 0 14px; line-height: 1.3; }
.d-rows { display: grid; grid-template-columns: 56px 1fr; gap: 10px 8px; font-size: 16px; line-height: 1.5; }
.d-rows dt { color: var(--muted); }
.d-rows dd { margin: 0; }
.btn { display: block; width: 100%; text-align: center; padding: 14px; border-radius: 14px; font-weight: 700; font-size: 16px; margin-top: 10px; text-decoration: none; }
.btn.primary { background: var(--pink); color: #fff; }
.btn.line { border: 1.5px solid var(--line); color: var(--text); background: #fff; }
.btn.fav.on { border-color: var(--pink); color: var(--pink-d); }
.d-note { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
#detail { background: var(--soft); padding-bottom: 24px; min-height: 100vh; }
.cdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
#detail .page-head { background: #fff; }
.d-top { background: #fff; padding: 6px 16px 16px; }
.d-top h1 { font-size: 24px; margin: 10px 0 0; line-height: 1.3; font-weight: 700; }
.info-card { margin: 12px; background: #fff; border-radius: 18px; padding: 4px 16px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #F2EEEA; font-size: 16px; line-height: 1.45; }
.info-row:last-child { border-bottom: 0; }
.info-row small { display: block; color: var(--muted); font-size: 14px; margin-top: 1px; }
.ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--pink); margin-top: 1px; vertical-align: -4px; }
.btn .ico { color: inherit; }
.dl-badge { display: inline-block; background: var(--red); color: #fff; border-radius: 6px; padding: 1px 7px; font-size: 13px; margin-left: 6px; font-weight: 700; vertical-align: 1px; }
.dl-badge.past { background: #B9B0AC; }
.d-actions { padding: 0 12px; }
.d-actions .half { display: flex; gap: 8px; }
.d-actions .half .btn { flex: 1; border: 0; }
.d-actions .btn.primary { margin-top: 8px; }

/* 채팅 */
.chat-head { display: flex; align-items: center; gap: 8px; background: var(--pink); color: #fff; padding: 10px 12px; font-weight: 700; }
.chat-head img { width: 36px; height: auto; background: #fff; border-radius: 50%; padding: 2px; }
.chat-head .back { color: #fff; }
.chat-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 12px; border-radius: 16px; line-height: 1.5; font-size: 15px; }
.msg.bot { background: var(--pink-l); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .ev { width: 100%; margin: 6px 0 0; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 12px; }
.chat-quick button { border: 1.5px solid var(--blue); color: var(--blue-d); border-radius: 999px; padding: 7px 12px; font-size: 14px; font-weight: 600; background: #fff; }
.ai-btn { display: block; margin: 0 14px; width: calc(100% - 28px); border: 1.5px dashed var(--line); border-radius: 999px; padding: 10px; color: var(--muted); }

/* 시트 */
.sheet-dim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 40; }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; max-height: 80vh; overflow: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 41; }
.grab { width: 40px; height: 4px; background: #ddd; border-radius: 2px; margin: 0 auto 10px; }
.sheet h4 { margin: 14px 0 8px; font-size: 15px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 14px; }
.opt.on { background: var(--text); color: #fff; border-color: var(--text); }
.sheet .row { display: flex; gap: 8px; margin-top: 16px; }
.sheet .row .btn { margin: 0; }

/* ---------- ポミのチャット（案C：ホーム付き） ---------- */
.chat { display: flex; flex-direction: column; min-height: 100vh; background: #fff; position: relative; }
.chat[hidden] { display: none !important; }
.cv { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cv[hidden] { display: none !important; }
.ch-icon { width: 36px; height: 36px; border-radius: 50%; font-size: 18px; color: var(--text); }
.ch-icon:active { background: rgba(0,0,0,.05); }
.ch-hero { background: #FFF6F8; padding: 10px 16px 18px; position: relative; overflow: hidden; }
.ch-blob { position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: #FCE7EC; }
.ch-top { display: flex; justify-content: space-between; position: relative; }
.ch-hello { display: flex; align-items: flex-end; justify-content: space-between; position: relative; margin-top: 2px; }
.ch-hello img { width: 104px; height: auto; display: block; margin-right: -4px; }
.ch-brand { margin: 0; font-size: 13px; font-weight: 700; color: #E8728C; }
.ch-title { margin: 6px 0 4px; font-size: 22px; font-weight: 700; line-height: 1.35; font-family: "CookieRun", "Pyeojin Gothic", sans-serif; }
.ch-body { padding: 16px; }
.ch-body h4 { margin: 0 0 10px; font-size: 15px; }
.ch-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch-card { text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.ch-card:active, .ch-talk:active { background: var(--soft); }
.ch-ico { font-size: 22px; line-height: 1.2; }
.ch-card b { font-size: 15px; margin-top: 4px; }
.ch-card small { color: var(--muted); font-size: 12.5px; }
.ch-talk { margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: #fff; text-align: left; }
.ch-talk-t { flex: 1; display: flex; flex-direction: column; }
.ch-talk-t small { color: var(--muted); font-size: 12.5px; }
.ch-arrow { color: #E8728C; font-size: 22px; }
.ch-av { width: 34px; height: 34px; border-radius: 50%; background: #FCE7EC; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; flex-shrink: 0; }
.ch-av { align-items: center !important; }
.ch-av img { width: 26px; height: auto; display: block; margin-top: 2px; } /* 顔だけ（img/pomi-face-fab.png。入口ボタンと同じ） */
/* 右下の入口ボタンはポミの顔だけ（2026-11-20 ユーザー提供の絵 img/pomi-face-fab.png） */
/* 2026-11-20 ユーザー選択の案D：濃いピンクのふち＋左下のしっぽ（ボタン全体が吹き出しの形）。文字なし */
.fab-ring { width: 66px; height: 66px; border-radius: 50%; background: var(--pink); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(73, 61, 61, .25); position: relative; }
.fab-ring::after { content: ""; position: absolute; left: 10px; bottom: -6px; width: 16px; height: 14px; background: var(--pink); clip-path: polygon(0 100%, 30% 0, 100% 40%); }
.fab-ring > span { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.pomi-fab .fab-ring img.fab-face { width: 42px; height: auto; filter: none; margin-top: 2px; }
.pomi-fab:hover .fab-ring { transform: scale(1.05); }
.fab-ring { transition: transform .15s; }
.ct-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fff; }
.ct-name { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.ct-name small { color: var(--muted); font-size: 12px; }
#chat .chat-body { flex: 1; overflow-y: auto; background: #FAF8F6; padding: 14px 12px; gap: 4px; }
.mrow { display: flex; align-items: flex-end; gap: 6px; margin: 4px 0; }
.mrow.me { justify-content: flex-end; }
.mrow.me .mtime { order: -1; }
.mtime { font-size: 10.5px; color: #B0A6A2; white-space: nowrap; }
#chat .msg { max-width: 78%; font-size: 14.5px; }
#chat .msg.bot { background: #fff; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; }
#chat .msg.me { background: var(--pink); color: #fff; border-radius: 16px 4px 16px 16px; }
#chat .msg small { color: var(--muted); }
#chat .chat-quick { padding: 8px 12px 4px; background: #FAF8F6; flex-wrap: nowrap; overflow-x: auto; }
#chat .chat-quick button { border-color: var(--pink); color: #D9607A; white-space: nowrap; }
.ct-input { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.ct-input input { flex: 1; min-width: 0; border: 0; background: #F5F2EF; border-radius: 999px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--text); outline-color: var(--pink); }
.ct-input button { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 15px; flex-shrink: 0; }
.help-list { margin: 0; padding: 16px 16px 16px 40px; display: flex; flex-direction: column; gap: 14px; }
.help-list li b { display: block; font-size: 15px; }
.help-list li span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.ch-tabs { display: flex; border-top: 1px solid var(--line); background: #fff; padding: 6px 0 calc(8px + env(safe-area-inset-bottom, 0px)); position: sticky; bottom: 0; }
.ch-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11.5px; color: #A39A96; }
.ch-tabs button i { font-style: normal; font-size: 17px; }
.ch-tabs button.on { color: #E8728C; font-weight: 700; }
@media (max-width: 999px) {
  .chat { height: 100vh; height: 100dvh; min-height: 0; }
}

/* ---------- メニュー（☰）とメニューのページ ---------- */
.navbar { gap: 8px; background: linear-gradient(90deg, #FFEEF2, #E6F3FA); border-bottom-color: #E9E4EC; } /* 2026-11-20 ユーザー選択：案D ピンク→水色 */
.nav-fav { background: rgba(255, 255, 255, .85); }
.nav-menu:hover { background: rgba(255, 255, 255, .6); }
.nav-menu { width: 38px; height: 38px; margin-left: -8px; font-size: 21px; border-radius: 10px; color: var(--text); }
.nav-logo { margin-right: auto; }
.drawer-dim { position: fixed; inset: 0; background: rgba(40, 30, 30, .38); z-index: 60; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(280px, 82vw); background: #fff; z-index: 61; padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 4px 0 24px rgba(73, 61, 61, .15); }
.drawer.open { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dr-logo { display: block; --h: 26px; height: var(--h); width: calc(var(--h) * 1904 / 340); overflow: hidden; line-height: 0; }
.dr-logo img { height: calc(var(--h) * 667 / 340); max-width: none; margin-top: calc(var(--h) * -152 / 340); margin-left: calc(var(--h) * -48 / 340); }
.dr-close { width: 34px; height: 34px; font-size: 17px; color: var(--muted); }
.menu { display: flex; flex-direction: column; gap: 2px; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.menu a i { font-style: normal; width: 22px; text-align: center; }
.menu a:hover { background: var(--soft); }
.menu a.on { background: #FFF0F3; color: #D9607A; }
.dr-line, .side-line { border-top: 1px solid var(--line); margin: 14px 0; }
.dr-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 4px; }
.dr-pomi { margin-top: auto; display: flex; align-items: center; gap: 10px; background: #FFF6F8; border-radius: 14px; padding: 10px 12px; text-align: left; font-size: 13.5px; line-height: 1.45; font-weight: 600; }
.dr-pomi img { width: 40px; height: auto; }

.pg-menu .hero2, .pg-menu .center, .pg-menu .right { display: none !important; }
.mpage { padding: 18px 16px 24px; }
.mp-title { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.mp-sub { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.mp-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.mp-tabs button { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); }
.mp-tabs button.on { background: var(--text); border-color: var(--text); color: #fff; }
.mp-ex { margin: 16px 0 0; font-size: 12px; color: #b1a7a3; text-align: center; }
.tbd { color: #b1a7a3; }
.org-list { display: flex; flex-direction: column; gap: 10px; }
.org { border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.org-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.org-top b { font-size: 16px; }
.org-chip { flex-shrink: 0; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: #E3F1F8; color: var(--blue-d); }
.org-chip.t-work { background: #FCE7EC; color: #B84A63; }
.org-chip.t-family { background: #E2F4E9; color: #3B8A5A; }
.org-desc { margin: 7px 0 6px; color: #5f5652; line-height: 1.55; }
.org-info { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.org-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.obtn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--text); text-decoration: none; }
.obtn.main { background: var(--pink); border-color: var(--pink); color: #fff; }
.site-list { display: flex; flex-direction: column; gap: 8px; }
.site { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: var(--text); text-decoration: none; }
.site:hover, .obtn:hover { border-color: #DCD3CE; }
.site-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.site-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.site-t b { font-size: 15px; }
.site-t small { font-size: 13px; color: var(--muted); }
.site-go { color: #E8728C; font-weight: 700; }
.site-priv { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.site-t .site-lang { font-size: 12px; color: var(--blue-d); }
.org-br { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; margin-top: 10px; background: var(--soft); border-radius: 12px; padding: 8px 10px; }
.org-br a { display: flex; flex-direction: column; padding: 4px 2px; color: var(--text); text-decoration: none; font-size: 13px; }
.org-br a b { font-size: 12.5px; color: #D9607A; }
.site-tip { background: #FBF8F5; border-radius: 14px; padding: 12px; color: var(--muted); line-height: 1.6; font-size: 13.5px; }
.site-tip b { color: var(--text); }
.mp-about { background: #FFFDF9; }
.letter { max-width: 560px; margin: 0 auto; padding: 8px 4px 0; font-size: 15.5px; line-height: 1.85; color: #3a3232; }
.letter .eyebrow { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #5E97B8; font-weight: 700; }
.lt-title { font-family: "CookieRun", "Pyeojin Gothic", sans-serif; font-weight: 700; font-size: 24px; line-height: 1.4; margin: 10px 0 18px; }
.letter p { margin: 0 0 14px; }
.letter .k { color: #E8728C; font-weight: 700; }
.letter .kb { color: #3E93C2; font-weight: 700; }
.lt-sign { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px dashed #E6DFDA; padding-top: 12px; margin-top: 8px; }
.lt-sign > span:first-child { color: var(--muted); font-size: 14px; line-height: 1.6; }
.lt-chars { display: flex; }
.lt-chars img { width: 64px; height: auto; }
.lt-chars img + img { margin-left: -12px; }

/* 言語の切り替え（案L1：上のバーに「🌐 日本語 ▾」→ 小さなメニュー） */
.lang-wrap { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-weight: 700; font-size: 12.5px; color: var(--text); white-space: nowrap; }
.lang-btn svg { width: 15px; height: 15px; }
.lang-caret { font-size: 10px; color: var(--muted); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(73, 61, 61, .18); padding: 6px; min-width: 150px; }
.lang-menu button { display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; text-align: left; }
.lang-menu button:hover { background: var(--soft); }
.lang-menu button.on { background: #FFF0F3; color: #D9607A; }
@media (max-width: 380px) { .lang-btn svg { display: none; } .nav-logo { --h: 26px; } }
/* ---------- 色の濃さの案（?theme=c1|c2|c3 で試す。決まったら既定にする） ---------- */
/* c1：文字と線だけ濃く */
body.th-c1, body.th-c2, body.th-c3 { --muted: #6B605C; --line: #E3DBD6; }
body.th-c1 .tbd, body.th-c2 .tbd, body.th-c3 .tbd { color: #8F8480; }
body.th-c1 .mp-ex, body.th-c2 .mp-ex, body.th-c3 .mp-ex, body.th-c1 .d-note, body.th-c2 .d-note, body.th-c3 .d-note { color: #7A6F6B; }
body.th-c1 .eyebrow, body.th-c2 .eyebrow, body.th-c3 .eyebrow { color: #3E7FA6; }
body.th-c1 .h-en, body.th-c2 .h-en, body.th-c3 .h-en { color: #5F5551; }
/* 2026-11-21 ユーザー指定：見出しのコピーと英語の一行はチャコール（#493d3d）と黒の中間 */
body .hero2 .h-copy, body .hero2 .h-en, body .nav-copy .ck { color: #251f1f; }
/* c2：c1＋ブランドの色を一段濃く（白い文字のボタンを読みやすく） */
body.th-c2, body.th-c3 { --pink: #D2587A; --pink-d: #C04A6A; --blue: #3E8EC0; }
body.th-c2 .hl-b, body.th-c3 .hl-b { color: #2F7FB0; }
body.th-c2 .hl-p, body.th-c3 .hl-p { color: #D2587A; }
body.th-c2 .navbar, body.th-c3 .navbar { background: linear-gradient(90deg, #FFE0E7, #D8ECF8); }
body.th-c2 .site-foot, body.th-c3 .site-foot { background: linear-gradient(90deg, #FFE0E7, #D8ECF8); }
body.th-c2.lay-a .hero2, body.th-c3.lay-a .hero2 { background: #EAF4FB; }
body.th-c2 .chip, body.th-c3 .chip { background: #F1ECE8; color: #4F4542; }
body.th-c2 .chip.free, body.th-c3 .chip.free { background: #FBD9E2; color: #A23D58; }
body.th-c2 .day-sec span, body.th-c3 .day-sec span { color: #6B605C; }
body.th-c2 .menu a.on, body.th-c3 .menu a.on { color: #C04A6A; }
/* c3：c2＋面の区切りをはっきり（左の列・カードに影） */
body.th-c3 { --line: #D9CFC9; }
body.th-c3 .side { background: #F2ECE7; }
body.th-c3 .ev { background: #fff; box-shadow: 0 1px 3px rgba(73, 61, 61, .10); border-radius: 0 12px 12px 0; margin-bottom: 8px; border-top: 0; }
body.th-c3 .reg-box, body.th-c3 .org, body.th-c3 .site { box-shadow: 0 1px 3px rgba(73, 61, 61, .08); }
body.th-c3 .region, body.th-c3 .filter-btn { border-color: #D9CFC9; }
body.th-c3 .day-list, body.th-c3 .right { background: #FAF7F5; }

/* 지금 신청할 수 있어요（案R1：カレンダーの上に横に流れるカード） */
.recruits { margin: 12px 0 4px; }
.rc-head { display: flex; align-items: center; gap: 6px; margin: 0 16px 8px; font-size: 14.5px; }
.rc-head .i2 { font-size: 18px; }
.rc-n { color: var(--muted); font-weight: 600; font-size: 13px; }
.rc-all { margin-left: auto; color: #C04A6A; font-weight: 700; font-size: 13px; }
.rc-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rc-row::-webkit-scrollbar { display: none; }
.rc-card { flex: 0 0 210px; scroll-snap-align: start; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: #fff; display: flex; flex-direction: column; gap: 3px; }
.rc-card:hover { border-color: #D9CFC9; }
.rc-card b { font-size: 13.5px; line-height: 1.4; }
.rc-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.rtag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.rtag.t-dl { background: #FBD9E2; color: #A23D58; }
.rtag.t-free { background: #FFF4D6; color: #8A6510; }
.rtag.t-go { background: #E3F1F8; color: #2F6F91; }
.rc-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.rc-list .rc-card { flex: none; width: 100%; }
.rc-detail { display: flex; flex-direction: column; gap: 8px; }
.rc-detail h4 { margin: 2px 0 0; font-size: 17px; line-height: 1.4; }
.rc-meta { margin: 0; color: var(--muted); font-size: 13px; }
.rc-detail .poster-embed { margin: 4px 0; }
.rc-detail .poster-embed iframe { height: 480px; }
#sheet .rc-detail .btn { display: flex; justify-content: center; }
@media (min-width: 1000px) { .recruits { margin: 4px 0 10px; } .rc-head, .rc-row { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } .rc-row { flex-wrap: nowrap; } }

/* 見せ方の案 A：縦に3件の1行リスト */
.rca-box { margin: 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.rca-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-top: 1px solid #F1ECE8; }
.rca-row:first-child { border-top: 0; }
.rca-row:hover { background: var(--soft); }
.rca-row .rtag { align-self: center; flex-shrink: 0; min-width: 46px; text-align: center; }
.rca-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rca-t b, .rca-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rca-t b { font-size: 14px; }
.rca-t small { font-size: 12px; color: var(--muted); }
.rca-arw { color: #b1a7a3; }
.rca-more { display: block; width: 100%; padding: 9px; border-top: 1px solid #F1ECE8; color: #C04A6A; font-weight: 700; font-size: 13px; }
/* 見せ方の案 B：左に締切の日付ブロック＋小さめのカード */
.rcb-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rcb-row::-webkit-scrollbar { display: none; }
.rcb-card { flex: 0 0 236px; scroll-snap-align: start; display: flex; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 9px; background: #fff; }
.rcb-dt { flex: 0 0 56px; height: 54px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.rcb-dt small { font-size: 10px; font-weight: 700; }
.rcb-dt b { font-size: 15px; font-weight: 800; }
.rcb-dt .rcb-open { font-size: 11px; }
.rcb-dt .i2 { font-size: 22px; }
.rcb-dt.t-dl { background: #FBD9E2; color: #A23D58; } .rcb-dt.t-free { background: #FFF4D6; color: #8A6510; } .rcb-dt.t-go { background: #E3F1F8; color: #2F6F91; }
.rcb-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rcb-t b { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcb-t small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcb-dots { display: flex; gap: 4px; justify-content: center; margin-top: 8px; }
.rcb-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s; }
.rcb-dots i.on { width: 16px; background: var(--pink); }
/* 見せ方の案 C：切り替わる1行のお知らせ帯 */
.rcc-bar { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 0 16px; text-align: left; background: #FFF6F8; border: 1px solid #F6D3DC; border-radius: 14px; padding: 10px 12px; }
.rcc-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rcc-ic .i2 { font-size: 17px; }
.rcc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rcc-t b, .rcc-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcc-t b { font-size: 14px; } .rcc-t small { font-size: 12px; color: var(--muted); }
.rcc-n { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.rcc-n small { font-size: 11px; color: var(--muted); }
@media (min-width: 1000px) { .rca-box, .rcc-bar { margin-left: 0; margin-right: 0; } .rcc-bar { width: 100%; } .rcb-row { padding-left: 0; padding-right: 0; } }
/* 2026-11-21 ピンクの箱の代わりの案（?rcv=1..5） */
.rcv-bar { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px; text-align: left; background: none; border: 0; padding: 0; }
.rcv-pg { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.rcv-k { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #C04A6A; min-width: 48px; }
.rcv1 .rc-head { padding-bottom: 8px; margin-bottom: 0; border-bottom: 1.5px solid var(--text); }
.rcv1 .rcv-bar { padding: 10px 2px; border-bottom: 1px solid var(--line); }
.rcv-arw { color: var(--muted); font-size: 18px; }
.rcv-face { width: 44px; height: 44px; flex-shrink: 0; }
.rcv-bub { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; gap: 10px; text-align: left; background: #FFF1F4; border: 0; border-radius: 22px; padding: 9px 16px; }
.rcv-bub::before { content: ""; position: absolute; left: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right-color: #FFF1F4; border-left: 0; }
.rcv3 .rcv-bar { gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.rcv-stub { width: 60px; flex-shrink: 0; background: #F7F3EF; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1.5px dashed #DDD3CC; padding: 8px 0; }
.rcv-stub small { font-size: 10.5px; color: var(--muted); } .rcv-stub b { font-size: 16px; } .rcv-stub .rcv-open { font-size: 11.5px; color: #2F6F91; text-align: center; }
.rcv3 .rcc-t { padding: 10px 12px; }
.rcv-side { display: flex; align-items: center; gap: 4px; padding-right: 12px; color: var(--muted); font-size: 11px; }
.rcv4 .rcv-bar { gap: 8px; padding: 4px 0; }
.rcv-x { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; text-decoration: underline; text-decoration-color: #E7C9D2; text-underline-offset: 4px; }
.rcv-x small { color: var(--muted); font-size: 12px; }
.rcv5 .rcv-bar { position: relative; background: #FFFBEA; padding: 14px 14px 11px; border-radius: 4px; box-shadow: 0 1px 0 #EFE5C4, 0 6px 14px -10px rgba(120, 90, 20, .35); margin-top: 14px; }
.rcv-tape { position: absolute; top: -8px; left: 50%; width: 60px; height: 15px; margin-left: -30px; background: rgba(244, 143, 163, .45); transform: rotate(-2deg); }
.rcv5 .rtag.t-free { background: none; border: 1px solid #E8D28C; }
@media (min-width: 1000px) { .rcv-bar { width: 100%; margin-left: 0; margin-right: 0; } }
/* 2026-11-22 パソコンの左の列のデザイン案（?sb=1..4） */
.side-pomi { display: none; }
@media (min-width: 1000px) {
  /* 1 すっきり線：白い地、選んだ項目は左のピンクの線だけ */
  body.sb-1 .side { background: #fff; }
  body.sb-1 .side .menu a { border-radius: 0 10px 10px 0; border-left: 3px solid transparent; padding-left: 14px; }
  body.sb-1 .side .menu a.on { background: #FFF5F7; box-shadow: none; border-left-color: #D9607A; }
  body.sb-1 .side .menu a:hover:not(.on) { background: #FAF7F5; }
  body.sb-1 .side-line { margin: 18px 0 16px; }
  body.sb-1 .side h4 { font-size: 13px; color: var(--muted); }
  body.sb-1 .side select { border-radius: 8px; }
  /* 2 カード：スマホ版と同じ、グレーの地に白い角丸カード */
  body.sb-2 .side, body.sb-4 .side { background: #F3EFEC; padding: 16px 14px 24px; }
  body.sb-2 .side .menu, body.sb-2 .side-filter, body.sb-4 .side .menu, body.sb-4 .side-filter { background: #fff; border-radius: 18px; padding: 10px; }
  body.sb-2 .side-filter, body.sb-4 .side-filter { padding: 16px 16px 14px; }
  body.sb-2 .side-line, body.sb-4 .side-line { border: 0; margin: 12px 0 0; }
  body.sb-2 .side .menu a.on, body.sb-4 .side .menu a.on { background: #FFF0F3; box-shadow: none; }
  body.sb-2 .side select, body.sb-4 .side select { background: #F8F5F2; border-color: transparent; }
  /* 3 チップ：アイコンを丸に入れ、分野は色付きのチップで選ぶ */
  body.sb-3 .side { background: #FBF9F7; }
  body.sb-3 .side .menu a { padding: 8px 10px; }
  body.sb-3 .side .menu a i { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(73, 61, 61, .1); align-items: center; }
  body.sb-3 .side .menu a.on { background: none; box-shadow: none; }
  body.sb-3 .side .menu a.on i { background: #FCE4EA; box-shadow: none; }
  body.sb-3 .side select { border-radius: 999px; padding-left: 14px; }
  body.sb-3 .side h4 + .cb, body.sb-3 .side .cb { display: inline-flex; margin: 0 4px 7px 0; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 13px; }
  body.sb-3 .side .cb input { display: none; }
  body.sb-3 .side .cb:has(input:checked) { background: #FFF0F3; border-color: #EC7A93; color: #C04A6A; font-weight: 700; }
  /* 4 キャラ：カードに加え、下にポミの案内 */
  body.sb-4 .side-pomi { display: flex; align-items: flex-end; gap: 6px; margin-top: 16px; text-decoration: none; color: var(--text); }
  body.sb-4 .side-pomi img { width: 64px; flex-shrink: 0; }
  body.sb-4 .side-pomi span { position: relative; background: #fff; border-radius: 16px; padding: 9px 12px; font-size: 12.5px; font-weight: 700; line-height: 1.45; margin-bottom: 18px; }
  body.sb-4 .side-pomi span::before { content: ""; position: absolute; left: -6px; bottom: 12px; border: 6px solid transparent; border-right-color: #fff; border-left: 0; }
}
/* 2026-11-21 スマホの上の帯：キャッチコピーが見切れる件の案（?hr=1|2|3） */
@media (max-width: 999px) {
  /* 1：左右20pxを確保し、入りきらない言語だけ文字を小さく（app.js の fitHero）。絵も画面に合わせて少し縮める */
  body.hr-1 .hero2 { padding-left: 20px; padding-right: 20px; gap: 8px; --cw: clamp(64px, 19vw, 88px); }
  /* 2：文字の大きさはそのまま。絵を縮めて右下に寄せる */
  body.hr-2 .hero2 { padding-left: 20px; padding-right: 20px; gap: 8px; justify-content: space-between; }
  body.hr-2 .hero2 .h-art { flex-shrink: 1; min-width: 0; display: flex; justify-content: flex-end; }
  body.hr-2 .hero2 .h-chars { min-width: 0; }
  body.hr-2 .h-chars img.h-pair { width: 100%; max-width: calc(var(--cw) * 2); min-width: 64px; }
  /* 3：文字を上、絵を下（右寄せ）に縦に並べる */
  body.hr-3 .hero2 { flex-direction: column; align-items: stretch; padding: 22px 20px 14px; gap: 4px; }
  body.hr-3 .hero2 .h-en { max-width: none; }
  body.hr-3 .hero2 .h-art { align-self: flex-end; margin-top: -8px; --cw: 78px; }
}
/* 2026-11-21 スマホの余白の案（?sp=a|b|c で切り替え。決まったら既定にする） */
@media (max-width: 999px) {
  /* 共通：違う部分の間は24px以上、同じ部分の中は8〜12px、左右は16pxにそろえる */
  body[class*="sp-"] .controls { padding: 20px 16px 0; }
  body[class*="sp-"] .controls + .recruits, body[class*="sp-"] .recruits { margin-top: 24px; margin-bottom: 0; }
  body[class*="sp-"] .rc-head { margin-bottom: 10px; }
  body[class*="sp-"] .view-seg { margin: 28px 16px 12px; }
  body[class*="sp-"] .calendar { padding: 0 12px 4px; }
  body[class*="sp-"] .day-list { margin-top: 28px; padding-top: 20px; }
  body[class*="sp-"] .day-list h3 { margin: 0 16px 10px; }
  body[class*="sp-"] .ev { margin: 12px 16px; }
  body[class*="sp-"] .day-sec { margin-top: 24px; margin-bottom: 10px; }
  body[class*="sp-"] .legend { padding: 20px 16px 96px; margin-top: 16px; }
  /* B：部分と部分の間に薄いグレーの太い帯 */
  body.sp-b .recruits { padding-bottom: 24px; border-bottom: 8px solid #F3EFEC; }
  body.sp-b .view-seg { margin-top: 24px; }
  body.sp-b .day-list { border-top: 8px solid #F3EFEC; margin-top: 24px; padding-top: 24px; }
  body.sp-b .legend { border-top: 8px solid #F3EFEC; margin-top: 24px; }
  /* C：薄いグレーの地に白い角丸カード */
  body.sp-c .app { background: #F3EFEC; }
  body.sp-c .recruits { background: #fff; border-radius: 18px; margin: 20px 12px 0; padding: 16px 0; }
  body.sp-c .rc-head { margin-left: 16px; margin-right: 16px; }
  body.sp-c .view-seg { background: #E8E1DC; margin: 24px 12px 12px; }
  body.sp-c .calendar { background: #fff; border-radius: 18px; margin: 0 12px; padding: 12px 6px 8px; }
  body.sp-c .mapview { margin: 0 12px; }
  body.sp-c .day-list { background: #fff; border-radius: 18px; border-top: 0; margin: 20px 12px 0; padding: 20px 0 8px; }
  body.sp-c .ev { width: calc(100% - 24px); margin: 12px; }
  body.sp-c .legend { margin-top: 4px; }
}

/* 공유（関心リストの代わり。2026-11-20） */
#shareBtn .i2 { font-size: 16px; }
.share-opt { display: flex; align-items: center; gap: 10px; justify-content: flex-start; margin-bottom: 8px; }
.sh-ic { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.sh-line { background: #06C755; color: #fff; }
.sh-kakao { background: #FEE500; color: #191919; font-size: 9.5px; }
.sh-cal { background: #E3F1F8; color: #2F6F91; }
.sh-cal .i2 { font-size: 17px; }
.sh-sep { border-top: 1px solid var(--line); margin: 4px 0 12px; }
.nav-logo a, a.dr-logo { display: block; line-height: 0; }
.sh-copy { background: var(--soft); color: var(--text); }
.sh-copy .i2 { font-size: 17px; }
.recruits + .calendar, .controls + .recruits { margin-top: 10px; }

/* ポスター（案P3：元の投稿を埋め込む） */
.poster-embed { margin: 10px 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.poster-embed iframe { display: block; width: 100%; height: 560px; border: 0; background: #fff; }
.poster-embed a { display: block; padding: 10px 14px; font-weight: 700; font-size: 13px; color: #3E93C2; text-decoration: none; border-top: 1px solid var(--line); }
.poster-alt { display: flex; align-items: center; gap: 12px; margin: 10px 16px 0; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pa-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(45deg, #F6C445, #E8728C 55%, #A99BE0); flex-shrink: 0; }
.pa-ic .i2 { font-size: 22px; }
.pa-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pa-t b { font-size: 14.5px; } .pa-t small { font-size: 12px; color: var(--muted); }
.pa-go { color: #E8728C; display: inline-flex; } .pa-go .i2 { font-size: 17px; }
.poster-link { margin: 10px 16px 0; display: flex; justify-content: center; }
.chip.poster { background: #FFF0F3; color: #C9506B; }
.org-ko { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
/* 日本語は M PLUS Rounded 1c（カードニュースの Rounded M+ と同じ系統）。ハングルは Pyeojin Gothic のまま */
body[data-lang="ja"] { font-family: "M PLUS Rounded 1c", "Pyeojin Gothic", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif; }
body[data-lang="ja"] .h-copy, body[data-lang="ja"] .lt-title, body[data-lang="ja"] .ch-title, body[data-lang="ja"] .nav-copy .ck { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; }

/* 中国語（簡体字）は端末の中国語書体（PingFang SC・微软雅黑など）。ハングルは Pyeojin Gothic */
body[data-lang="zh"] { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Pyeojin Gothic", sans-serif; }
body[data-lang="zh"] .h-copy, body[data-lang="zh"] .lt-title, body[data-lang="zh"] .ch-title, body[data-lang="zh"] .nav-copy .ck { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; font-weight: 800; }

/* ベトナム語・ロシア語（2026-11-20 追加）：Pyeojin Gothic と CookieRun には声調記号つきの文字・キリル文字が足りないので、
   両方を持つ M PLUS Rounded 1c にそろえる（1つの語の中で書体が混ざらないように）。ハングルは Pyeojin Gothic */
body[data-lang="vi"], body[data-lang="ru"] { --round: "M PLUS Rounded 1c", "Pyeojin Gothic", system-ui, sans-serif; font-family: "M PLUS Rounded 1c", "Pyeojin Gothic", "Segoe UI", system-ui, sans-serif; }
body[data-lang="vi"] .hero2 .eyebrow, body[data-lang="vi"] .h-copy, body[data-lang="vi"] .h-en, body[data-lang="vi"] .lt-title, body[data-lang="vi"] .ch-title, body[data-lang="vi"] .nav-copy .ck,
body[data-lang="ru"] .hero2 .eyebrow, body[data-lang="ru"] .h-copy, body[data-lang="ru"] .h-en, body[data-lang="ru"] .lt-title, body[data-lang="ru"] .ch-title, body[data-lang="ru"] .nav-copy .ck { font-family: "M PLUS Rounded 1c", "Pyeojin Gothic", sans-serif; font-weight: 800; }

/* その日の一覧（案B：この日だけの行事を上、毎週の授業は下にまとめる） */
.day-sec { display: flex; align-items: center; gap: 6px; margin: 14px 2px 8px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.day-sec:first-child { margin-top: 2px; }
.day-sec .i2 { font-size: 16px; }
.day-sec span { color: var(--muted); font-weight: 600; }
.reg-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.evr { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 9px 12px; border-top: 1px solid #F4F0ED; }
.evr:first-child { border-top: 0; }
.evr:hover { background: var(--soft); }
.evr i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.evr-t { width: 40px; flex-shrink: 0; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.evr-ti { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.evr-ti b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evr-ti small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-more { display: block; width: 100%; text-align: left; padding: 10px 12px; border-top: 1px solid #F4F0ED; color: #D9607A; font-weight: 700; font-size: 13px; }
.d-en { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- 線のアイコン（案I2） ---------- */
.i2 { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.15em; }
.menu a i { display: inline-flex; justify-content: center; font-size: 19px; }
.org-info { display: flex; flex-direction: column; }
.org-info > span { display: inline-flex; align-items: center; gap: 6px; }
.org-info .i2 { font-size: 15px; }
.obtn { white-space: nowrap; }
.obtn .i2 { font-size: 15px; }
.org-br a b { display: inline-flex; align-items: center; gap: 3px; }
.org-br .i2 { font-size: 12px; }
.site-ico .i2 { font-size: 21px; }
.site-go { display: inline-flex; }
.site-go .i2 { font-size: 17px; }
.site-tip b { display: inline-flex; align-items: center; gap: 6px; }
.site-tip .i2 { font-size: 16px; }
.ch-ico { display: inline-flex; width: 36px; height: 36px; border-radius: 11px; background: var(--soft); align-items: center; justify-content: center; }
.ch-ico .i2 { font-size: 20px; }
.ch-tabs button i { display: inline-flex; font-size: 19px; }

/* ---------- 아래 칸（案F3：ヘッダーとおそろいのグラデーション） ---------- */
.site-foot { background: linear-gradient(90deg, #FFEEF2, #E6F3FA); padding: 22px 16px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 12.5px; line-height: 1.75; color: #6f6460; border-top: 1px solid #E9E4EC; }
.app { padding-bottom: 0; display: flex; flex-direction: column; }
.app > * { flex-shrink: 0; }
.site-foot { margin-top: auto; }
.sf-row { display: flex; flex-direction: column; gap: 10px; }
.sf-logo { display: block; --h: 24px; height: var(--h); width: calc(var(--h) * 1904 / 340); overflow: hidden; line-height: 0; }
.sf-logo img { height: calc(var(--h) * 667 / 340); max-width: none; margin-top: calc(var(--h) * -152 / 340); margin-left: calc(var(--h) * -48 / 340); }
.sf-note { margin: 8px 0 0; }
.sf-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-weight: 700; color: var(--text); }
.sf-links a { color: inherit; text-decoration: none; }
.sf-links .tbd { font-weight: 700; color: #a99f9b; cursor: default; }
.sf-ig { display: inline-flex; align-items: center; gap: 4px; }
.sf-ig svg { width: 14px; height: 14px; }
.sf-chars { width: 130px; height: auto; align-self: flex-end; }
.sf-bottom { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(73, 61, 61, .1); display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: #8a7f7c; }

/* ---------- パソコン（幅 1000px 以上）：案B 3列 ---------- */
.side { display: none; }
.nav-copy { display: none; }
@media (min-width: 1000px) {
  .app { max-width: 1240px; padding-bottom: 40px; }
  .navbar { padding: 12px 28px; }
  .nav-logo { --h: 34px; }
  .home-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 360px; grid-template-areas: "side hero right" "side main right"; grid-template-rows: auto 1fr; align-items: start; min-height: calc(100vh - 90px); }
  .hero2 { grid-area: hero; }
  .side { grid-area: side; align-self: stretch; }
  .center { grid-area: main; }
  .right { grid-area: right; }
  .side { display: block; padding: 18px 20px 24px; background: var(--soft); border-right: 1px solid var(--line); }
  .center { padding-top: 0 !important; }
  .hero2 { margin: 0 24px; }

  /* 案A：キャッチコピーを3列の上に横長の帯で */
  body.lay-a .home-grid { grid-template-areas: "hero hero hero" "side main right"; }
  body.lay-a .hero2 { margin: 0; justify-content: center; gap: 40px; padding: 26px 24px 18px; background: #F6FAFD; border-bottom: 1px solid var(--line); }
  body.lay-a .hero2 .h-copy br { display: none; }
  body.lay-a .hero2 .h-copy { font-size: 30px; }
  body.lay-a .hero2 .h-text { align-self: center; padding-bottom: 4px; } /* 2026-11-20 文字を帯の上下の真ん中に（キャラは下に立ったまま） */
  body.lay-a .center { padding-top: 16px !important; }

  /* 案B：上のバーに1行で。帯はなし */
  body.lay-b .home-grid { grid-template-areas: "side main right"; grid-template-rows: auto; }
  body.lay-b .hero2 { display: none; }
  body.lay-b .nav-copy { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 28px; font-size: 17px; font-weight: 700; font-family: "CookieRun", "Pyeojin Gothic", sans-serif; }
  body.lay-b .nav-copy em { font-style: normal; }
  body.lay-b .nav-copy img { width: 44px; height: auto; margin-left: 2px; }
  body.lay-b .nav-copy img + img { margin-left: -10px; }
  body.lay-b .center { padding-top: 18px !important; }

  /* 案C：左の列の上にカードで */
  body.lay-c .home-grid { grid-template-areas: "hero main right" "side main right"; grid-template-rows: auto 1fr; }
  body.lay-c .hero2 { margin: 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px 0; background: var(--soft); --cw: 64px; overflow: hidden; }
  body.lay-c .hero2 .h-copy { font-size: 21px; }
  body.lay-c .hero2 .h-en { font-size: 12px; }
  body.lay-c .hero2 .h-art { align-self: center; margin-top: 6px; }
  body.lay-c .side { padding-top: 10px; }
  body.lay-c .center { padding-top: 18px !important; }
  .side h4 { margin: 16px 0 6px; font-size: 14px; }
  .side h4:first-child { margin-top: 0; }
  .side select { width: 100%; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--text); }
  .side .cb { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 14px; cursor: pointer; }
  .side .cb input { width: 16px; height: 16px; accent-color: var(--pink); margin: 0; }
  .side .cb .cdot { margin-right: 0; }
  .side-reset { margin-top: 16px; font-size: 13px; color: var(--pink-d); text-decoration: underline; }
  .center { padding: 0 24px 24px; min-width: 0; }
  .center .controls { display: none; }
  .hero2 { --cw: 84px; padding: 24px 0 16px; justify-content: flex-start; gap: 24px; }
  .hero2 .h-copy { font-size: 28px; }
  .hero2 .h-en { max-width: none; }
  .switch { margin: 6px 0 10px; max-width: 320px; }
  .calendar { padding: 0; }
  .day { min-height: 64px; }
  .right { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 70px); overflow: auto; border-left: 1px solid var(--line); min-height: calc(100vh - 90px); padding-top: 8px; }
  .right .day-list { border-top: 0; margin-top: 0; }
  .page { max-width: 680px; margin: 0 auto; }
  /* チャットは右下の小さな窓 */
  .chat { position: fixed; right: max(24px, calc(50vw - 620px + 24px)); bottom: 24px; width: 380px; height: min(640px, calc(100vh - 48px)); min-height: 0; max-width: none; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(73, 61, 61, .22), 0 2px 8px rgba(73, 61, 61, .1); z-index: 50; }
  .chat .ch-top .ch-icon:first-child { visibility: hidden; }
  .chat .ct-back { display: none; } /* パソコンは小さな窓なので「✕」だけ */
  #detail { min-height: auto; border-radius: 0 0 20px 20px; }
  .pomi-fab { right: max(24px, calc(50vw - 620px + 24px)); }
  /* メニュー：左の列の上。☰ は使わない */
  .nav-menu, .drawer, .drawer-dim { display: none !important; }
  .side .menu a { font-size: 14.5px; padding: 10px 12px; }
  .side .menu a.on { background: #fff; color: #D9607A; box-shadow: 0 1px 3px rgba(73, 61, 61, .08); }
  .side-line { margin: 14px 0 12px; }
  .side-cap { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
  .side .side-cap + h4 { margin-top: 0; }
  body.pg-menu .home-grid { grid-template-areas: "side mp mp"; grid-template-rows: auto; }
  .mpage { grid-area: mp; padding: 28px 40px 40px; min-height: calc(100vh - 90px); }
  .mp-tabs { flex-wrap: wrap; }
  .org-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .site-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .site-tip { grid-column: 1 / -1; }
  .mp-about { display: flex; flex-direction: column; justify-content: center; }
  .letter { padding-top: 24px; font-size: 16.5px; }
  .lt-title { font-size: 30px; }
  .lt-chars img { width: 80px; }
  .app { padding-bottom: 0; }
  .site-foot { padding: 26px 40px 22px; font-size: 13px; }
  .sf-row { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 30px; }
  .sf-main { max-width: 760px; }
  .sf-chars { width: 140px; align-self: center; }
  .sf-bottom { flex-direction: row; justify-content: space-between; font-size: 12px; }
}

/* ---------- 地図・近い順（2026-11-20 案M3） ---------- */
.view-seg { display: flex; margin: 6px 12px 8px; background: #F3EEEB; border-radius: 999px; padding: 3px; }
.view-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 0; border-radius: 999px; font-weight: 700; font-size: 14px; color: #6B605C; }
.view-seg button.on { background: #fff; color: #C04A6A; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.view-seg .i2 { font-size: 16px; }
.mapview { padding: 0 12px; }
.mapview .cal-head h2 { font-size: 18px; }
.mv-map { height: 360px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #EEF3F5; position: relative; z-index: 0; }
.mv-panel { margin-top: 10px; }
.mv-panel .ev { width: 100%; }
.mv-hint { display: flex; align-items: center; gap: 6px; justify-content: center; text-align: center; color: var(--muted); font-size: 14px; padding: 14px 8px; margin: 0; }
.mv-hint .i2 { color: #D2587A; font-size: 16px; }
.mv-place { padding: 4px 4px 6px; }
.mv-place h3 { margin: 0; font-size: 17px; }
.mv-place p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.mv-place small { color: #3E8DB8; font-weight: 700; font-size: 12.5px; }
.mpin { width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #D2587A; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; }
.mpin b { transform: rotate(45deg); color: #fff; font-size: 13px; font-weight: 800; }
.mpin.on { background: #3E8DB8; transform: rotate(-45deg) scale(1.15); }
.mme { width: 16px; height: 16px; border-radius: 50%; background: #2F7BEA; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47,123,234,.25); box-sizing: border-box; }
.sort-seg { display: flex; gap: 6px; margin: 0 16px 8px; }
.sort-seg button { display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 11px; font-weight: 700; font-size: 13px; background: #fff; color: #6B605C; }
.sort-seg button.on { background: #FFF0F3; border-color: #F2B8C6; color: #C04A6A; }
.sort-seg .i2 { font-size: 14px; }
.origin-btn { display: flex; align-items: center; gap: 6px; margin: -2px 16px 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.origin-btn span { color: #C04A6A; font-weight: 700; }
.chip.near { background: #E3F1F8; color: #2F6F91; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.chip.near .i2 { font-size: 12px; }
.opt.here { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-bottom: 4px; font-weight: 700; }
.d-note.warn { color: #B84A63; }
.d-mapbox { margin: 12px; background: #fff; border-radius: 18px; padding: 12px; }
.d-map { height: 170px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; position: relative; z-index: 0; }
.d-station, .d-addr { display: flex; gap: 8px; align-items: flex-start; margin: 6px 2px; font-size: 14px; line-height: 1.45; }
.d-addr { color: var(--muted); font-size: 13px; }
.d-station .i2, .d-addr .i2 { font-size: 17px; margin-top: 1px; color: #3E8DB8; }
.route-btns { display: flex; gap: 8px; margin-top: 10px; }
.route-btns .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; }
.rb-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rb-dot.naver { background: #03C75A; } .rb-dot.kakao { background: #FEE500; border: 1px solid #E5CE00; }
.leaflet-container { font-family: inherit; }/* 地図の絵が読めないとき：壊れた絵を隠し、淡い地色に区の名前（2026-11-20） */
.no-tiles .leaflet-tile-pane { display: none; }
.no-tiles.leaflet-container { background: linear-gradient(160deg, #F4F8EC, #EAF3F8); }
.gu-label span { display: block; text-align: center; font-size: 11px; font-weight: 700; color: #8A9A9F; white-space: nowrap; }
/* ===== 2026-11-22 信頼感を上げる見本（?tr=a|b）。決まったら既定にする ===== */
/* 段階A 少し整える：書体・色・形 */
body.tr-a, body.tr-b { --round: "Pretendard Variable", "Segoe UI", system-ui, sans-serif; font-family: "Pretendard Variable", "Segoe UI", system-ui, sans-serif; letter-spacing: -0.01em; }
body.tr-a[data-lang="ja"], body.tr-b[data-lang="ja"] { font-family: "Pretendard Variable", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; }
body.tr-a[data-lang="zh"], body.tr-b[data-lang="zh"] { font-family: "Pretendard Variable", "PingFang SC", "Microsoft YaHei", sans-serif; }
body.tr-a .hero2 .eyebrow, body.tr-a .h-copy, body.tr-a .h-en, body.tr-a .lt-title, body.tr-a .ch-title, body.tr-a .nav-copy .ck, body.tr-a .cal-head h2, body.tr-a .d-body h1,
body.tr-b .hero2 .eyebrow, body.tr-b .h-copy, body.tr-b .h-en, body.tr-b .lt-title, body.tr-b .ch-title, body.tr-b .nav-copy .ck, body.tr-b .cal-head h2, body.tr-b .d-body h1 { font-family: inherit !important; }
body.tr-a .h-copy, body.tr-b .h-copy { font-weight: 800 !important; letter-spacing: -0.03em; }
body.tr-a .cal-head h2, body.tr-b .cal-head h2 { font-weight: 700; }
body.tr-a .navbar, body.tr-b .navbar { background: #fff; border-bottom: 1px solid #E6E8EB; }
body.tr-a .site-foot, body.tr-b .site-foot { background: #F7F7F8; border-top: 1px solid #E6E8EB; }
body.tr-a .blob, body.tr-b .blob { display: none; }
body.tr-a .rcv5 .rcv-bar, body.tr-b .rcv5 .rcv-bar { background: #fff; border: 1px solid #E6E8EB; border-radius: 10px; box-shadow: none; padding: 11px 14px; margin-top: 0; }
body.tr-a .rcv-tape, body.tr-b .rcv-tape { display: none; }
body.tr-a .rcv-stub, body.tr-b .rcv-stub { border-right-style: solid; border-right-width: 1px; }
body.tr-a .rcv3 .rcv-bar, body.tr-b .rcv3 .rcv-bar { border-radius: 10px; }
@media (max-width: 999px) {
  body.tr-a.sp-c .recruits, body.tr-a.sp-c .calendar, body.tr-a.sp-c .day-list,
  body.tr-b.sp-c .recruits, body.tr-b.sp-c .calendar, body.tr-b.sp-c .day-list { border-radius: 12px; }
}
body.tr-a .view-seg, body.tr-b .view-seg { border-radius: 10px; } body.tr-a .view-seg button, body.tr-b .view-seg button { border-radius: 8px; }
body.tr-a .region, body.tr-a .filter-btn, body.tr-b .region, body.tr-b .filter-btn { border-radius: 10px; }

/* 段階B 公的機関寄り：落ち着いた灰色と濃い青を主に、キャラは控えめに */
body.tr-b { --text: #22262B; --muted: #6B7280; --line: #E6E8EB; --soft: #F5F6F8; background: #F1F3F5; }
body.tr-b .app { background: #fff; }
@media (max-width: 999px) { body.tr-b.sp-c .app { background: #F1F3F5; } body.tr-b.sp-c .view-seg { background: #E4E7EB; } }
body.tr-b .sample-note { background: #F5F6F8; color: #4B5563; border-bottom: 1px solid #E6E8EB; }
body.tr-b .hero2 { background: #F5F7FA !important; border-bottom: 1px solid #E6E8EB; }
body.tr-b .hero2 .eyebrow { color: #1F5F8B !important; }
body.tr-b .hero2 .h-copy, body.tr-b .hero2 .h-en, body.tr-b .nav-copy .ck { color: #22262B; }
body.tr-b .hero2 .h-copy .hl-b { color: #1F5F8B; } body.tr-b .hero2 .h-copy .hl-p { color: #C2456A; }
body.tr-b .hero2 { --cw: clamp(56px, 16vw, 72px) !important; }
@media (min-width: 1000px) { body.tr-b .hero2 { --cw: 70px !important; padding-top: 22px !important; padding-bottom: 14px !important; } body.tr-b.lay-a .hero2 .h-copy { font-size: 28px; } }
body.tr-b .sf-chars { display: none; }
body.tr-b .side .menu a.on { color: #1F5F8B !important; background: #EEF4F9 !important; border-left-color: #1F5F8B !important; }
body.tr-b .side .cb input { accent-color: #1F5F8B; }
body.tr-b .rc-all, body.tr-b .side-reset { color: #1F5F8B !important; }
body.tr-b .view-seg button.on { color: #1F5F8B; }
body.tr-b .day.sel .num { background: #1F5F8B; border-color: #1F5F8B; }
body.tr-b .rcv-k { color: #1F5F8B; }
body.tr-b .rcv-stub { background: #F5F6F8; } body.tr-b .rcv-stub .rcv-open { color: #1F5F8B; }
body.tr-b .rtag.t-dl { background: #FDECEF; color: #B4234A; } body.tr-b .rtag.t-free { background: #F1F3F5; color: #374151; } body.tr-b .rtag.t-go { background: #EAF2F8; color: #1F5F8B; }
body.tr-b .view-seg { background: #EEF0F3; } body.tr-b .view-seg button { color: #4B5563; }
body.tr-b .sort-seg button { color: #4B5563; border-radius: 8px; } body.tr-b .sort-seg button.on { background: #EEF4F9; border-color: #B9D0E2; color: #1F5F8B; }
body.tr-a .sort-seg button, body.tr-a .chip, body.tr-b .chip { border-radius: 6px; }
body.tr-b .chip { background: #F1F3F5; color: #4B5563; } body.tr-b .chip.poster { background: #F1F3F5; color: #4B5563; }
/* 温かさを残す版（?tr=w）：色・書体・キャラはそのまま。手作りに見える飾り（テープ・点線）だけ整え、信頼の情報を足す */
body.tr-w .rcv5 .rcv-bar { background: #FFFDF6; border: 1px solid #F0E6C8; border-radius: 12px; box-shadow: none; padding: 11px 14px; margin-top: 0; }
body.tr-w .rcv-tape { display: none; }
body.tr-w .rcv-stub { border-right-style: solid; border-right-width: 1px; border-right-color: #EEE6DF; }
.data-src { display: flex; align-items: center; gap: 5px; margin: -4px 16px 10px; font-size: 12px; color: var(--muted); }
.data-src .ds-ok { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #E3F1F8; color: #2F6F91; font-size: 10px; font-weight: 800; }
@media (min-width: 1000px) { .data-src { margin-left: 0; margin-right: 0; } }

/* ===== 2026-11-22 「지원기관 프로그램／문화·축제」の切り替えと文化行事 ===== */
.src-tabs { display: flex; margin: 16px 16px 0; background: #E8E1DC; border-radius: 14px; padding: 4px; }
.src-tabs[hidden] { display: none; }
.src-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border-radius: 11px; color: #6B605C; }
.src-tabs button b { font-size: 14.5px; } .src-tabs button small { font-size: 11px; color: var(--muted); font-weight: 600; }
.src-tabs button.on { background: #fff; color: #C04A6A; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.fest-band { margin: 14px 0 0; }
.fest-band[hidden] { display: none; }
.fb-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fb-row::-webkit-scrollbar { display: none; }
.fb-card { flex: 0 0 156px; scroll-snap-align: start; text-align: left; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; padding: 0; }
.fb-im { position: relative; height: 86px; display: block; overflow: hidden; }
.fb-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-im em { position: absolute; left: 8px; bottom: 7px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: rgba(40,30,30,.45); border-radius: 999px; padding: 1px 8px; }
.fb-tx { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }
.fb-tx b { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fb-tx small { font-size: 11.5px; color: var(--muted); }
.sec-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.cul-more { display: block; width: calc(100% - 32px); margin: 6px 16px 4px; padding: 9px; text-align: center; border: 1.5px dashed #E4DAD3; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #C04A6A; background: #fff; }
.sort-seg button[data-cfree].on { background: #FFF4D6; border-color: #EBCB7A; color: #8A6510; }
.cul-sheet h3 { margin: 8px 0 2px; font-size: 19px; line-height: 1.4; }
.cul-sheet .cs-ko { margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
.cul-sheet .cs-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; display: block; }
.cul-sheet dl { margin: 10px 0 14px; }
.cs-row { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cs-row dt { flex: 0 0 64px; color: var(--muted); font-weight: 700; } .cs-row dd { margin: 0; flex: 1; line-height: 1.5; }
.cul-sheet .btn.primary { display: flex; justify-content: center; margin-bottom: 10px; }
@media (max-width: 999px) {
  body.sp-c .src-tabs { margin: 20px 12px 0; }
  body.sp-c .fest-band { background: #fff; border-radius: 18px; margin: 20px 12px 0; padding: 16px 0 10px; }
  body.sp-c .fest-band .rc-head { margin-left: 16px; margin-right: 16px; }
  body.sp-c .src-tabs + .recruits { margin-top: 16px; }
}
@media (min-width: 1000px) {
  .src-tabs { margin: 0 auto 14px; max-width: 520px; } /* 2026-11-22 ユーザー指示：真ん中に */
  .fest-band { margin: 0 0 12px; }
  .fest-band .rc-head { margin-left: 0; margin-right: 0; }
  .fb-row { padding-left: 0; padding-right: 0; scrollbar-width: thin; }
  .fb-card { flex-basis: 168px; }
  .cul-more { width: 100%; margin-left: 0; margin-right: 0; }
}

/* 2026-11-22 切り替えのデザイン案（?st=1..4）。今の形ではアイコンを出さない */
.src-tabs .st-ic { display: none; width: 22px; height: 22px; flex-shrink: 0; }
.src-tabs .st-tx { display: flex; flex-direction: column; align-items: center; gap: 1px; }
/* 1 下線のタブ */
body.st-1 .src-tabs { background: none; padding: 0; border-radius: 0; border-bottom: 1.5px solid var(--line); gap: 4px; }
body.st-1 .src-tabs button { border-radius: 0; padding: 10px 4px 9px; border-bottom: 3px solid transparent; margin-bottom: -1.5px; box-shadow: none !important; background: none !important; }
body.st-1 .src-tabs button.on { border-bottom-color: #D9607A; }
body.st-1 .src-tabs button b { font-size: 15.5px; }
/* 2 アイコン付きの2枚のカード（支援機関＝青、文化＝ピンク） */
body.st-2 .src-tabs { background: none; padding: 0; gap: 10px; }
body.st-2 .src-tabs button { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); box-shadow: none; }
body.st-2 .src-tabs .st-ic { display: block; padding: 7px; width: 36px; height: 36px; border-radius: 50%; box-sizing: border-box; }
body.st-2 .src-tabs .st-tx { align-items: flex-start; text-align: left; }
body.st-2 .st-org .st-ic { background: #E3F1F8; color: #2F6F91; } body.st-2 .st-cul .st-ic { background: #FCE4EA; color: #C04A6A; }
body.st-2 .st-org.on { border-color: #64AFD5; background: #F4FAFD; color: #2F6F91; box-shadow: none; }
body.st-2 .st-cul.on { border-color: #F48FA3; background: #FFF6F8; color: #C04A6A; box-shadow: none; }
/* 3 小さな丸いボタン（左に寄せる） */
body.st-3 .src-tabs { background: none; padding: 0; gap: 8px; justify-content: flex-start; }
body.st-3 .src-tabs button { flex: 0 0 auto; flex-direction: row; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); box-shadow: none; }
body.st-3 .src-tabs .st-ic { display: block; width: 18px; height: 18px; }
body.st-3 .src-tabs small { display: none; }
body.st-3 .src-tabs button.on { background: #493d3d; border-color: #493d3d; color: #fff; }
/* 4 色で分けた切り替え（選んだ方が色で塗られる） */
body.st-4 .src-tabs { background: #fff; border: 1.5px solid var(--line); padding: 5px; }
body.st-4 .src-tabs button { flex-direction: row; gap: 8px; justify-content: center; padding: 10px 6px; }
body.st-4 .src-tabs .st-ic { display: block; }
body.st-4 .src-tabs .st-tx { align-items: flex-start; }
body.st-4 .st-org.on { background: #64AFD5; color: #fff; box-shadow: none; } body.st-4 .st-cul.on { background: #F48FA3; color: #fff; box-shadow: none; }
body.st-4 .src-tabs button.on small { color: rgba(255,255,255,.88); }
@media (max-width: 999px) { body.st-1 .src-tabs, body.st-3 .src-tabs { margin-left: 16px; margin-right: 16px; } }
/* 案4：細いスマホでは文字が長い言語で折り返すので、アイコンを外して文字を真ん中に（2026-11-22） */
@media (max-width: 430px) {
  body.st-4 .src-tabs .st-ic { display: none; }
  body.st-4 .src-tabs .st-tx { align-items: center; text-align: center; }
  body.st-4 .src-tabs button b { font-size: 14px; line-height: 1.3; }
  body.st-4 .src-tabs button small { font-size: 10.5px; line-height: 1.3; }
}

/* ===== 2026-11-22 「에듀품 소개」の新しい文とデザイン案（?ab=1..3） ===== */
.about { max-width: 640px; }
.about .ab-sec { margin: 0 0 20px; }
.about .ab-sec p { margin: 0 0 12px; }
.about .ab-h { margin: 0 0 12px; font-size: 17px; line-height: 1.45; color: #3a3232; }
.about .ab-ncards { display: flex; align-items: stretch; gap: 10px; margin: 0 0 14px; }
.about .ab-nc { flex: 1; border-radius: 16px; padding: 14px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.about .ab-nc b { font-size: 26px; line-height: 1.1; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; }
.about .ab-nc span { font-size: 13px; line-height: 1.5; color: #5f5551; }
.about .ab-nc.edu { background: #E6F2FA; } .about .ab-nc.edu b { color: #2F80C8; }
.about .ab-nc.poom { background: #FDE8EE; } .about .ab-nc.poom b { color: #E2577B; }
.about .ab-plus { align-self: center; font-size: 22px; font-weight: 800; color: #C9BEB8; }
.about .ab-list { display: flex; flex-direction: column; gap: 10px; }
.about .ab-item { display: flex; align-items: flex-start; gap: 12px; }
.about .ab-ic { flex: 0 0 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.about .ab-ic svg { width: 21px; height: 21px; }
.about .it0 .ab-ic { background: #FDE8EE; color: #D9607A; } .about .it1 .ab-ic { background: #FFF4D6; color: #B7860B; } .about .it2 .ab-ic { background: #E6F2FA; color: #2F80C8; }
.about .ab-it { display: flex; flex-direction: column; line-height: 1.6; } .about .ab-it b { font-size: 15.5px; } .about .ab-it > span { font-size: 14px; color: #5f5551; }
.about .ab-closing { margin: 4px 0 14px; }
.about .ab-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.about .ab-hchars { display: none; }

/* 1 手紙（今の形に一覧を足したもの） */
body.ab-1 .about .ab-name .ab-h, body.ab-1 .about .ab-ncards { display: none; }
body.ab-1 .about .ab-acts { background: #FAF7F4; border-radius: 16px; padding: 16px; }
body.ab-1 .about .ab-acts .ab-h { font-size: 15px; }

/* 2 カード（カードニュースと同じ Edu／Poom のカード、活動は3枚のカード） */
body.ab-2 .about .ab-hchars { display: flex; } body.ab-2 .about .ab-hchars img { width: 70px; }
body.ab-2 .about .ab-hero { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed #E6DFDA; }
body.ab-2 .about .lt-title { margin-bottom: 4px; }
body.ab-2 .about .ab-nc { position: relative; box-shadow: 0 2px 6px rgba(73,61,61,.06); }
body.ab-2 .about .ab-nc::before { content: ""; position: absolute; top: -7px; left: 50%; width: 48px; height: 13px; margin-left: -24px; transform: rotate(-3deg); opacity: .7; }
body.ab-2 .about .ab-nc.edu::before { background: #A9CFEA; } body.ab-2 .about .ab-nc.poom::before { background: #F5B5C5; }
body.ab-2 .about .ab-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.ab-2 .about .ab-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border: 1px solid #EEE6DF; border-radius: 16px; padding: 16px 10px; }
body.ab-2 .about .ab-it { align-items: center; } body.ab-2 .about .ab-it > span { font-size: 13px; line-height: 1.55; }
body.ab-2 .about .ab-sign { background: #FFF1F4; border: 0; border-radius: 16px; padding: 14px 16px; }
body.ab-2 .about .ab-sign > span:first-child { color: #C04A6A; font-weight: 700; font-size: 16px; }
@media (max-width: 600px) { body.ab-2 .about .ab-list { grid-template-columns: 1fr; } body.ab-2 .about .ab-item { flex-direction: row; text-align: left; } body.ab-2 .about .ab-it { align-items: flex-start; } }

/* 3 中央にそろえる（キャラを大きく上に） */
body.ab-3 .about { text-align: center; }
body.ab-3 .about .ab-hero { flex-direction: column-reverse; align-items: center; }
body.ab-3 .about .ab-hchars { display: flex; } body.ab-3 .about .ab-hchars img { width: 96px; }
body.ab-3 .about .ab-hero { background: #EAF4FB; border-radius: 22px; padding: 18px 16px 4px; margin-bottom: 18px; }
body.ab-3 .about .ab-sec { padding-top: 6px; }
body.ab-3 .about .ab-h::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: #F48FA3; margin: 0 auto 10px; }
body.ab-3 .about .ab-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
body.ab-3 .about .ab-item { flex-direction: column; align-items: center; gap: 8px; }
body.ab-3 .about .ab-ic { flex-basis: 60px; width: 60px; height: 60px; } body.ab-3 .about .ab-ic svg { width: 28px; height: 28px; }
body.ab-3 .about .ab-it { align-items: center; } body.ab-3 .about .ab-it > span { font-size: 13px; }
body.ab-3 .about .ab-sign { justify-content: center; border: 0; } body.ab-3 .about .ab-sign .lt-chars { display: none; }
body.ab-3 .about .ab-sign > span:first-child { font-family: "CookieRun", "Pyeojin Gothic", sans-serif; font-size: 20px; color: #E2577B; line-height: 1.5; }
@media (max-width: 600px) { body.ab-3 .about .ab-list { grid-template-columns: 1fr; } }
.about .ab-ic { width: 40px; }
body.ab-3 .about .ab-ic { width: 60px; }
/* 2026-11-22 所属のバッジと、案4 プロフィール */
.about .ab-badges { display: none; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.about .ab-badge { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: #E6F2FA; color: #1F5F8B; line-height: 1.4; }
.about .ab-badge.ab-b2 { background: #FDE8EE; color: #C04A6A; }
.about .ab-facts { display: none; }
body.ab-2 .about .ab-badges, body.ab-3 .about .ab-badges, body.ab-4 .about .ab-badges { display: flex; }
body.ab-3 .about .ab-badges { justify-content: center; margin-bottom: 10px; }
/* 4 プロフィール（所属・活動・することを表で見せる） */
body.ab-4 .about .ab-hchars { display: flex; } body.ab-4 .about .ab-hchars img { width: 72px; }
body.ab-4 .about .ab-hero { margin-bottom: 16px; }
body.ab-4 .about .lt-title { margin-bottom: 2px; }
body.ab-4 .about .ab-facts { display: block; margin: 0 0 22px; border: 1px solid #E6E0DB; border-radius: 16px; overflow: hidden; background: #fff; }
body.ab-4 .about .ab-facts > div { display: flex; gap: 14px; padding: 12px 16px; border-top: 1px solid #F0EBE7; font-size: 14.5px; line-height: 1.6; }
body.ab-4 .about .ab-facts > div:first-child { border-top: 0; }
body.ab-4 .about .ab-facts dt { flex: 0 0 64px; color: #2F80C8; font-weight: 700; }
body.ab-4 .about .ab-facts dd { margin: 0; flex: 1; }
body.ab-4 .about .ab-sign { background: #FAF7F4; border: 0; border-radius: 16px; padding: 12px 16px; }
.about .ab-badge { white-space: nowrap; flex-shrink: 0; }
.about .ab-htx { flex: 1; min-width: 0; }
