/* 県南イベントナビ：漫画調スタイル（.kn の中だけに効く） */
.kn {
	--ink: #2B2340; --paper: #FFF4DE; --tone: #F3CF8F; --yellow: #FFD84D; --yellow-dot: #F0B92A;
	--orange: #FF8A65; --white: #FFFFFF; --focus: #7CC8F5;
	--pop: 'Mochiy Pop One', 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
	--body: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', sans-serif;
	font-family: var(--body); font-weight: 500; color: var(--ink);
	max-width: 1180px; margin: 0 auto; padding: 24px 16px 48px;
}
.kn-page {
	background-color: var(--paper, #FFF4DE);
	background-image: radial-gradient(#F3CF8F 1.3px, transparent 1.5px);
	background-size: 11px 11px;
}
.kn *, .kn *::before, .kn *::after { box-sizing: border-box; }
.kn a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kn a:focus-visible, .kn button:focus-visible, .kn input:focus-visible, .kn textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* 吹き出し */
.kn-bubble { position: relative; display: inline-block; font-weight: 900; font-size: 13px; border: 2.5px solid var(--ink); border-radius: 14px; padding: 2px 11px; background: var(--white); margin: 0; }
.kn-bubble::after { content: ""; position: absolute; left: 14px; bottom: -9px; width: 12px; height: 12px; background: inherit; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: skewX(-30deg) rotate(45deg) scale(.75); }
.kn-bubble--big { font-size: 20px; }
.kn-status--ongoing { background: var(--orange); }
.kn-status--today { background: var(--yellow); }
.kn-status--past { background: #E7E4EE; }
.kn-status--next { background: #CDEBFF; }
.kn-status--next::after { background: #CDEBFF; }
.kn-status--cancelled { background: #2B2340; color: #FFFFFF; }
.kn-status--cancelled::after { background: #2B2340; }

/* ジャンル */
.kn-genres { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 12px; }
.kn-genre { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 3px solid var(--ink); border-radius: 14px; font-weight: 900; text-decoration: none; white-space: nowrap; background: var(--white); }
.kn-genre.is-on { box-shadow: inset 0 0 0 3px var(--ink), 3px 3px 0 var(--ink); }
.kn-genre.is-empty { opacity: .55; }
.kn-genre--matsuri { background: #FFDCEA; } .kn-genre--music { background: #E6DAFF; } .kn-genre--stage { background: #F6D6F0; } .kn-genre--art { background: #FBE3D2; } .kn-genre--manabi { background: #FFF0BF; } .kn-genre--nature { background: #D4F0C4; }
.kn-genre--science { background: #CDEBFF; } .kn-genre--outdoor { background: #DDF3CF; } .kn-genre--gourmet { background: #FFE1C9; } .kn-genre--koryu { background: #CFF2EC; } .kn-genre--deai { background: #FFE0EF; }
.kn-count { font-size: 12px; font-weight: 900; min-width: 22px; padding: 1px 7px; border-radius: 11px; border: 2px solid var(--ink); background: var(--white); text-align: center; }
.kn-genre.is-on .kn-count, .kn-tab.is-on .kn-count { background: var(--ink); color: var(--white); }

/* 日付と期間タブ */
.kn-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 16px 0 14px; }
.kn-h1 { margin: 0; width: 100%; font-family: var(--pop); font-weight: 400; font-size: 26px; line-height: 1.4; }
.kn-today { margin: 0; font-size: 15px; font-weight: 700; }
.kn-caption { margin: 0; font-weight: 700; }
.kn-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.kn-tab { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label count" "date count"; align-items: center; column-gap: 6px; min-height: 58px; padding: 6px 10px; font-size: 16px; font-weight: 900; border: 3px solid var(--ink); border-radius: 16px; background: var(--white); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; color: var(--ink); line-height: 1.25; }
.kn-tab__label { grid-area: label; white-space: nowrap; }
.kn-tab__date { grid-area: date; font-size: 11px; font-weight: 700; color: #5a5270; white-space: nowrap; }
.kn-tab .kn-count { grid-area: count; }
.kn-tab--upcoming { background: #FFF6D6; }
.kn-months { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; font-size: 14px; font-weight: 700; }
.kn-months__label { color: #5a5270; }
.kn-month { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; }
.kn-month.is-on { background: var(--yellow); }
.kn-total { display: inline-block; margin-left: 10px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font-size: 13px; }
.kn-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 13px; font-weight: 700; }
.kn-crumbs li + li::before { content: "›"; margin-right: 6px; color: #5a5270; }
.kn-crumbs a { color: var(--ink); }
.kn-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 8px 0 0; }
.kn-pager__num, .kn-pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--white); color: var(--ink); font-weight: 900; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); }
.kn-pager__num.is-on { background: var(--yellow); box-shadow: none; transform: translate(2px, 2px); }
.kn-pager__gap { font-weight: 900; }
.kn-notice { margin: 20px 0 14px; padding: 14px 16px; border: 2px dashed var(--ink); border-radius: 14px; background: #FFFBEA; font-size: 13px; line-height: 1.8; }
.kn-notice p { margin: 0; }
.kn-notice p + p { margin-top: 6px; }
.kn-notice__title { font-weight: 900; font-size: 14px; }
.kn-ext { font-size: 13px; margin-left: 6px; }
.kn-info dd a { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 1100px) {
	.kn-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.kn-tab .kn-count { background: var(--orange); }
.kn-tab.is-on { background: var(--yellow); box-shadow: none; transform: translate(3px, 3px); }

/* 本体 */
.kn-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.kn-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kn-side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 22px; }
.kn-panel { background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.kn-h2 { margin: 0; font-family: var(--pop); font-weight: 400; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.kn-label { margin: 0; font-size: 14px; font-weight: 900; }
.kn-filter > summary { cursor: pointer; list-style: none; min-height: 32px; }
.kn-filter > summary::-webkit-details-marker { display: none; }
.kn-filter > summary::after { content: "▼"; font-size: 12px; margin-left: auto; transition: transform .15s ease; }
.kn-filter[open] > summary::after { transform: rotate(180deg); }
.kn-filter { display: block; }
.kn-filter > summary { display: flex; align-items: center; gap: 10px; }
.kn-filter__body { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.kn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kn-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 2.5px dashed var(--ink); background: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; }
.kn-chip--kids { background: #FFDCEA; font-weight: 900; }
.kn-chip.is-on { border-style: solid; background: var(--yellow); font-weight: 900; }
.kn-city { border-style: solid; }
.kn-city.is-on { background: var(--ink); color: var(--white) !important; }
.kn-city--tsukuba { background: #CDEBFF; } .kn-city--tsuchiura { background: #FFDCEA; } .kn-city--ushiku { background: #DDF3CF; } .kn-city--ryugasaki { background: #FFF0BF; }
.kn-city--ami { background: #E6DAFF; } .kn-city--tsukubamirai { background: #CFF2EC; } .kn-city--kasumigaura { background: #FFE1C9; }
.kn-city--moriya { background: #D9E8FF; } .kn-city--toride { background: #FFE6D2; } .kn-city--tone { background: #E3F5D8; } .kn-city--ishioka { background: #F3DDF2; }
.kn-city--inashiki { background: #FFF3C7; } .kn-city--miho { background: #D8F1F7; } .kn-city--kawachi { background: #EFE5D6; }
.kn-chip.is-preparing { background: #EEEAF3 !important; color: #8a8199; border-style: dashed; }
.kn-prep { margin-left: 6px; padding: 0 6px; border-radius: 8px; background: #8a8199; color: #fff; font-size: 10px; font-weight: 900; }
.kn-preparing { text-align: left; display: flex; flex-direction: column; gap: 14px; }

/* カード */
.kn-card { background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 22px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; }
.kn-sticker { display: flex; flex-direction: column; align-items: center; align-self: start; border: 3px solid var(--ink); border-radius: 20px; padding: 10px 4px; background: #FFF6D6; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-3deg); }
.kn-sticker.is-tilt-r { transform: rotate(3deg); }
.kn-sticker--sun { background: #FFDCEA; } .kn-sticker--sat { background: #CDEBFF; }
.kn-sticker__m { font-size: 13px; font-weight: 700; }
.kn-sticker__d { font-family: var(--pop); font-size: 34px; line-height: 1.15; }
.kn-sticker__w { font-size: 14px; font-weight: 900; }
.kn-sticker__end { font-size: 12px; font-weight: 700; margin-top: 2px; }
.kn-card__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kn-card__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kn-city-label { font-size: 13px; font-weight: 900; padding: 2px 10px; border-radius: 12px; border: 2px solid var(--ink); }
.kn-genre-label { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 8px; border: 2px solid var(--ink); }
.kn-card__title { margin: 0; font-size: 21px; font-weight: 900; line-height: 1.45; }
.kn-card { position: relative; transition: transform .12s ease, box-shadow .12s ease; }
.kn-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.kn-card__title a { color: #1D5FD1; text-decoration: underline dotted 2px; text-underline-offset: 4px; }
.kn-card__title a:hover, .kn-card__title a:active { text-decoration-style: solid; }
.kn-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; } /* カード全体を押せる */
.kn-card a:not(.kn-card__title a), .kn-card button { position: relative; z-index: 2; } /* 出典などのリンクは個別に押せる */
.kn-card__title a:focus-visible { outline: none; }
.kn-card:has(.kn-card__title a:focus-visible) { outline: 3px solid #7CC8F5; outline-offset: 3px; }
.kn-card__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.kn-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.kn-card__tags span { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 10px; border: 2px dashed var(--ink); }
.kn-card__src { margin: 0; font-size: 13px; }

.kn-empty { background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kn-empty p { margin: 0; }

/* ボタン */
.kn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 24px; border: 3px solid var(--ink); background: var(--white); color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 900; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .08s ease, box-shadow .08s ease; }
.kn-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.kn-btn--yellow { background: var(--yellow); }
.kn-btn--orange { background: var(--orange); align-self: flex-start; min-height: 52px; font-size: 17px; }

/* 詳細ページ */
.kn-single { max-width: 820px; }

.kn-single__title { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.4; }
.kn-single__summary p { margin: 0; font-size: 17px; line-height: 1.9; }
.kn-info { margin: 0; }
.kn-info__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 2px dashed var(--ink); }
.kn-info dt { font-weight: 900; }
.kn-info dd { margin: 0; line-height: 1.7; }
.kn-single__src { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; }

/* 投稿フォーム */
.kn-submit { max-width: 820px; display: flex; flex-direction: column; gap: 24px; }
.kn-form { display: flex; flex-direction: column; gap: 26px; }
.kn-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 14px; font-weight: 900; }
.kn-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.kn-field input[type=text], .kn-field input[type=email], .kn-field input[type=url], .kn-field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); }
.kn-field textarea { line-height: 1.7; resize: vertical; }
.kn-drop { border: 3px dashed var(--ink); border-radius: 16px; background: #FFF6D6; padding: 18px; }
.kn-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.kn-small { margin: 0; font-size: 13px; line-height: 1.7; }
.kn-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 700; cursor: pointer; }
.kn-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); }
.kn-error { margin: 0; padding: 14px 18px; border: 3px solid var(--ink); border-radius: 16px; background: #FFDCEA; font-weight: 700; }
.kn-center { align-items: center; text-align: center; }
.kn-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
	.kn { padding: 12px 12px 28px; }
	.kn-genres { gap: 6px; }
	.kn-genre { min-height: 44px; padding: 0 12px; font-size: 13px; border-width: 2.5px; }
	.kn-h1 { font-size: 19px; }
	.kn-today { font-size: 13px; }
	.kn-caption { font-size: 13px; }
	.kn-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
	.kn-tab { grid-template-columns: 1fr; grid-template-areas: "label" "date" "count"; justify-items: center; text-align: center; row-gap: 2px; min-height: 74px; padding: 6px 2px; font-size: 13px; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
	.kn-tab__date { font-size: 10px; }
	.kn-months { margin-bottom: 18px; font-size: 13px; }
	.kn-pager__num, .kn-pager__btn { min-width: 40px; min-height: 40px; }
	.kn-body { gap: 20px; }
	.kn-side { order: -1; }
	.kn-side .kn-label { font-size: 12px; }
	.kn-side .kn-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.kn-side .kn-chip { flex: none; font-size: 13px; padding: 0 12px; }
	.kn-panel { padding: 16px; border-width: 2.5px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
	.kn-card { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 14px; border-width: 2.5px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
	.kn-sticker { padding: 6px 2px; border-radius: 16px; }
	.kn-sticker__d { font-size: 24px; }
	.kn-card__title { font-size: 16px; }
	.kn-card__meta { flex-direction: column; font-size: 13px; gap: 2px; }
	.kn-city-label, .kn-genre-label { font-size: 11px; }
	.kn-btn--orange { align-self: stretch; }
	.kn-info__row { grid-template-columns: 1fr; gap: 2px; }
	.kn-single__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .kn-btn { transition: none; } }
.kn-field select { width: 100%; min-height: 46px; padding: 8px 12px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }

.kn-panel--admin { background: #E6DAFF; }
.kn-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.kn-single__img { margin: 0 0 18px; }
.kn-single__img img { display: block; max-width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 16px; }
.kn-single__img figcaption { margin-top: 6px; font-size: 12px; color: #5a5270; }
.kn-card-link { display: flex; gap: 14px; align-items: stretch; margin: 6px 0 14px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); }
.kn-card-link:hover { transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--ink); }
.kn-card-link__img { width: 160px; min-height: 100px; object-fit: cover; flex: none; border-right: 2.5px solid var(--ink); background: #f3f0f7; }
.kn-card-link__body { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 14px 12px 0; min-width: 0; }
.kn-card-link__title { font-weight: 900; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.kn-card-link__site { font-size: 12px; color: #5a5270; }
@media (max-width: 600px) { .kn-card-link__img { width: 96px; } .kn-card-link__body { padding-right: 10px; } }

/* ===== カレンダー ===== */
.kn-cal { font-family: var(--maru, inherit); }
.kn-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.kn-cal__title { font-weight: 900; font-size: 17px; color: var(--ink); text-decoration: none; }
.kn-cal__nav { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 18px; background: var(--white); color: var(--ink); font-weight: 900; text-decoration: none; }
.kn-cal__nav.is-off { opacity: .25; }
.kn-cal__grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.kn-cal__grid th { font-size: 12px; font-weight: 900; padding: 2px 0; }
.kn-cal__grid th.is-sun, .kn-cal__grid td.is-sun .kn-cal__d { color: #D23B6A; }
.kn-cal__grid th.is-sat, .kn-cal__grid td.is-sat .kn-cal__d { color: #1D5FD1; }
.kn-cal__grid td { text-align: center; vertical-align: top; height: 46px; padding: 0; border-radius: 10px; }
.kn-cal__grid td a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 44px; border: 2px solid var(--ink); border-radius: 10px; background: #FFF6D6; color: var(--ink); text-decoration: none; }
.kn-cal__grid td a:hover { background: var(--yellow); }
.kn-cal__grid td.no-ev .kn-cal__d { color: #b8b1c6 !important; font-weight: 500; }
.kn-cal__grid td.is-past { opacity: .55; }
.kn-cal__grid td.is-today a, .kn-cal__grid td.is-today > .kn-cal__d { box-shadow: 0 0 0 3px var(--yellow); border-radius: 10px; }
.kn-cal__d { font-weight: 900; font-size: 14px; line-height: 1.2; display: inline-block; padding-top: 6px; }
.kn-cal__grid td a .kn-cal__d { padding-top: 0; }
.kn-cal__n { font-size: 10px; font-weight: 700; color: #5a5270; }
.kn-cal-wrap--month { max-width: 560px; margin: 0 0 22px; background: var(--white); border: 3px solid var(--ink); border-radius: 20px; padding: 14px; box-shadow: 4px 4px 0 var(--ink); }
.kn-calbox > summary { cursor: pointer; list-style: none; }
.kn-calbox > summary::-webkit-details-marker { display: none; }
.kn-calbox[open] > summary { margin-bottom: 10px; }
@media (max-width: 600px) {
	.kn-cal__n { font-size: 0; }
	.kn-cal__n::before { content: "●"; font-size: 8px; color: #F07A4A; }
	.kn-cal__grid td { height: 40px; }
	.kn-cal__grid td a { min-height: 38px; }
}

/* ===== 戻るボタン ===== */
.kn-backbtn { margin: 0 0 14px; }
.kn-backbtn--bottom { margin: 18px 0 0; }
.kn-backbtn a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--white); color: var(--ink); font-weight: 900; font-size: 14px; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); }
.kn-backbtn a:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ===== Instagram・Xの埋め込み（中央寄せ） ===== */
.kn-embed { display: flex; justify-content: center; margin: 8px 0 16px; }
.kn-embed .instagram-media, .kn-embed iframe.instagram-media { margin: 0 auto !important; max-width: 540px !important; width: 100% !important; min-width: 0 !important; }
.kn-embed .twitter-tweet, .kn-embed .twitter-tweet-rendered { margin: 0 auto !important; max-width: 550px; width: 100%; }
/* Cocoonの表の枠線・背景をカレンダーでは使わない */
.kn-cal__grid, .kn-cal__grid th, .kn-cal__grid td { border: none !important; background: transparent !important; }
.kn-cal__grid td a { background: #FFF6D6 !important; }
.kn-cal__grid td a:hover { background: var(--yellow) !important; }

/* ===== カレンダーに追加 ===== */
.kn-addcal { margin: 16px 0 6px; display: flex; flex-direction: column; gap: 10px; }
.kn-addcal__pick { font-weight: 900; font-size: 14px; }
.kn-addcal__sel { margin-left: 6px; min-height: 40px; padding: 4px 10px; border: 2.5px solid var(--ink); border-radius: 12px; font: inherit; font-weight: 700; background: var(--white); }
.kn-addcal__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.kn-addcal__g { background: #E8F0FE !important; }
.kn-addcal__btns .kn-btn { font-size: 14px; }

/* ===== カードの小さな画像 ===== */
.kn-card.has-thumb { grid-template-columns: 96px minmax(0, 1fr) 132px; }
.kn-card__thumb { width: 132px; height: 132px; object-fit: cover; align-self: start; border: 2.5px solid var(--ink); border-radius: 14px; background: #f3f0f7; }
@media (max-width: 600px) {
	.kn-card.has-thumb { grid-template-columns: 58px minmax(0, 1fr) 76px; }
	.kn-card__thumb { width: 76px; height: 76px; border-radius: 10px; border-width: 2px; }
}

.kn-sticker__from { font-size: 11px; font-weight: 700; color: #5a5270; line-height: 1.2; }

/* ===== 申込の状態 ===== */
.kn-apply { display: inline-block; margin: 4px 0; padding: 2px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 700; border: 2px solid var(--ink); background: #fff; }
.kn-apply--soon { background: #FFE1C9; }
.kn-apply--before { background: #E8F0FE; }
.kn-apply--closed { background: #E7E4EE; color: #5a5270; border-style: dashed; }
.kn-genre--flea { background: #F1E3C8; }

/* 注目のイベント（0.18.0）：文字が主役のカード。画像があれば右に小さく。パソコンは4件×2段、900px以下は横スワイプ */
.kn-feat { margin: 6px 0 30px; }
.kn-feat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.kn-feat__star { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 17px; line-height: 1; transform: rotate(-8deg); }
.kn-feat__hint { display: none; margin: 0; font-size: 13px; font-weight: 700; }
.kn-feat__track { list-style: none; margin: 14px 0 0; padding: 0 6px 6px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kn-feat__card { position: relative; margin: 0; display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 14px 14px; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.kn-feat__card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.kn-feat__card:has(.kn-feat__title a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.kn-feat__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.kn-feat__when { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; font-weight: 900; }
.kn-feat__title { margin: 0; font-size: 15px; font-weight: 900; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kn-feat__title a { color: #1D5FD1; text-decoration: none; }
.kn-feat__title a:hover { text-decoration: underline 2px; text-underline-offset: 3px; }
.kn-feat__title a:focus-visible { outline: none; }
.kn-feat__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* カード全体を押せる */
.kn-feat__venue { margin: 0; font-size: 12px; font-weight: 700; color: #5a5270; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-feat__thumb { flex: none; width: 72px; height: 72px; object-fit: cover; border: 2.5px solid var(--ink); border-radius: 10px; background: #f3f0f7; }
@media (max-width: 900px) {
	.kn-feat__hint { display: block; }
	.kn-feat__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding: 2px 16px 12px 2px; scroll-padding-left: 2px; -webkit-overflow-scrolling: touch; }
	.kn-feat__card { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
	.kn-feat { margin-bottom: 24px; }
	.kn-feat__card { flex-basis: 80%; border-width: 2.5px; box-shadow: 3px 3px 0 var(--ink); }
	.kn-feat__card:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
	.kn-feat__thumb { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .kn-feat__card { transition: none; } }

/* 市町のアイコン（0.18.0） */
.kn-city-label { display: inline-flex; align-items: center; gap: 4px; padding-left: 3px; line-height: 1.4; }
.kn-city-ico { flex: none; display: inline-block; width: 1.45em; height: 1.45em; vertical-align: -0.35em; }
.kn-chip .kn-city-ico { width: 24px; height: 24px; margin: 0 6px 0 -6px; }
.kn-chip.is-preparing .kn-city-ico { filter: grayscale(1); opacity: .5; }
.kn-city-link { display: inline-flex; align-items: center; gap: 6px; }
.kn-city-link .kn-city-ico { width: 24px; height: 24px; }

/* 期間タブの件数バッジが縦に折り返さないように（0.18.0） */
.kn-count { white-space: nowrap; }
@media (min-width: 601px) {
	.kn-tab { grid-template-columns: minmax(0, 1fr) auto; }
	.kn-tab__label { overflow: hidden; }
}
@media (min-width: 1101px) and (max-width: 1300px) {   /* 8列で横幅が足りないとき */
	.kn-tabs { gap: 8px; }
	.kn-tab { font-size: 14px; padding: 6px 7px; column-gap: 4px; }
	.kn-tab .kn-count { font-size: 11px; min-width: 0; padding: 1px 5px; }
}

/* 0.19.0 絞り込みの欄：1000px未満は一覧の上に（折りたたんで）。横にはみ出さないように */
.kn-side { min-width: 0; max-width: 100%; }
.kn-side .kn-panel, .kn-filter__body, .kn-filter__body > * { min-width: 0; max-width: 100%; }
.kn-side .kn-chips { max-width: 100%; }
@media (max-width: 999px) {
	.kn-side { order: -1; flex: 1 1 100%; gap: 12px; }
	.kn-side .kn-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.kn-side .kn-chip { flex: none; }
}

/* イベントを探す（検索） */
.kn-search { gap: 10px; }
.kn-search .kn-h2 { cursor: default; }
.kn-search__row { display: flex; gap: 8px; min-width: 0; }
.kn-search__row input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.kn-search__row input[type="search"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.kn-search__row .kn-btn { flex: none; min-height: 48px; padding: 0 18px; box-shadow: 3px 3px 0 var(--ink); }

/* 検索結果のページ */
.kn-searchpage { display: flex; flex-direction: column; gap: 20px; }
.kn-searchpage .kn-search { max-width: 640px; }
.kn-search-results__h { margin-top: 8px; }
.kn-search-results__h .kn-count { margin-left: 4px; }
.kn-search-results__h--past { margin-top: 28px; }

/* Cocoonの「サイドバー」（スマホの下のメニューから開く欄） */
.kn.kn-mside { max-width: none; margin: 0; padding: 8px 4px 24px; background: transparent; }
.kn-mside .kn-side { flex: none; gap: 14px; }
.kn-mside .kn-panel { padding: 14px; border-width: 2.5px; border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); }
.kn-mside .kn-chips { flex-wrap: wrap; overflow: visible; }
.kn-mside .kn-chip { min-height: 40px; font-size: 13px; padding: 0 12px; }

/* 0.20.0 ジャンルのイラスト（写真がないカード） */
.kn-card__thumb--illus, .kn-feat__thumb--illus { border: 0; border-radius: 0; background: transparent; object-fit: contain; }

/* キープのボタン */
.kn-keep { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; min-height: 36px; padding: 0 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.kn-keep:hover { background: #FFF6D6; }
.kn-keep:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.kn-keep.is-on { background: var(--yellow); }
.kn-keep__star { font-size: 15px; line-height: 1; }
.kn-card .kn-keep { margin-top: 6px; }
.kn-keep--small { position: absolute; right: 8px; bottom: 8px; min-height: 30px; padding: 0 9px; font-size: 12px; box-shadow: none; }
.kn-feat__card { padding-bottom: 44px; }
.kn-single__keep { margin: 8px 0 0; }

/* キープしたイベントのページ */
.kn-keeppage { display: flex; flex-direction: column; gap: 16px; }
.kn-keeppage__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kn-keeppage__actions [hidden] { display: none; }
.kn-keeppage__msg { margin: 0; font-weight: 700; }
.kn-keeppage__msg:empty { display: none; }
.kn-keeppage__note { margin: 8px 0 0; font-size: 13px; color: #5a5270; }
.kn-keep-past { margin-top: 24px; }
.kn-keep-past .kn-count { margin-left: 4px; }
