@charset "UTF-8";

/* イベントポータルTOP（Walker系レイアウトを参考にしたオリジナル） */

.portal-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 14px 40px;
}

.portal-breadcrumb {
  font-size: 12px;
  color: #666;
  padding: 10px 0 6px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}
.portal-breadcrumb a {
  color: #1a5fb4;
  text-decoration: none;
}
.portal-breadcrumb a:hover {
  text-decoration: underline;
}

.portal-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 0 16px;
  font-size: 13px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 18px;
}
.portal-subnav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.portal-subnav a:hover {
  color: #1a5fb4;
}
.portal-subnav__admin {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8 !important;
  margin-left: auto;
}
.portal-subnav__admin:hover {
  color: #64748b !important;
}

/* TOP 上部に集約した検索・絞り込み */
.portal-filters {
  margin-bottom: 24px;
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.portal-filters__title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a5fb4;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0f172a;
}
.portal-filters__block {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #e8eef4;
}
.portal-filters__block:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.portal-filters__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.portal-filters .portal-action-strip {
  margin-bottom: 0;
}
.portal-filters .portal-search {
  margin-bottom: 10px;
}
.portal-filters .portal-search-suggest {
  margin-bottom: 14px;
}
.portal-filters .jp-map {
  margin-bottom: 0;
}
.portal-filters .portal-refine--featured {
  margin-top: 0;
  margin-bottom: 0;
}

/* フィルター内アコーディオン（日付カレンダー / よく使う絞り込み） */
.portal-filter-accordion {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.portal-filter-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  font-family: inherit;
}
.portal-filter-accordion__summary::-webkit-details-marker {
  display: none;
}
.portal-filter-accordion__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.portal-filter-accordion__title {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.portal-filter-accordion__hint {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}
.portal-filter-accordion__icon {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-top: -4px;
  transition: transform 0.2s ease;
}
.portal-filter-accordion[open] > .portal-filter-accordion__summary .portal-filter-accordion__icon {
  transform: rotate(135deg);
  margin-top: 4px;
}
.portal-filter-accordion__body {
  padding: 0 14px 14px;
  border-top: 1px solid #e8eef4;
}
.portal-filter-accordion__panel-inner {
  margin-top: 12px;
  padding: 14px 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.portal-quick-links--accordion {
  flex: none;
  min-width: 0;
}
.portal-quick-links--accordion ul {
  margin: 0;
}

.portal-action-strip {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px 16px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.portal-action-strip__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  text-transform: uppercase;
}
.portal-action-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.portal-action-strip__btn {
  flex: 1 1 auto;
  min-width: 76px;
  text-align: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.portal-action-strip__btn:hover {
  background: #1a5fb4;
  border-color: #1a5fb4;
  color: #fff;
}
.portal-action-strip__btn--accent {
  border-color: #fdba74;
  background: #fff7ed;
  color: #9a3412;
}
.portal-action-strip__btn--accent:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}
.portal-action-strip__btn--ghost {
  border-style: dashed;
  color: #475569;
}
.portal-action-strip__btn--primary {
  flex: 1 1 100%;
  max-width: none;
  background: #1a5fb4;
  border-color: #1a5fb4;
  color: #fff;
}
@media (min-width: 520px) {
  .portal-action-strip__btn--primary {
    flex: 1 1 auto;
    max-width: 200px;
  }
}
.portal-action-strip__btn--primary:hover {
  background: #154a8c;
  border-color: #154a8c;
  color: #fff;
}

.portal-content-note {
  margin: 0 0 20px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  background: #f8fafc;
  border-left: 4px solid #94a3b8;
  border-radius: 0 8px 8px 0;
}
.portal-content-note strong {
  color: #1e293b;
}

.portal-hero {
  margin-bottom: 28px;
}
.portal-hero__main {
  min-width: 0;
}

/* 注目バナー */
.portal-hero__banner {
  border-radius: 8px;
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.portal-hero__banner-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: #0f172a;
  text-decoration: none;
}
.portal-hero__banner-link:hover .portal-hero__banner-title {
  color: #1a5fb4;
}
.portal-hero__banner-imgwrap {
  background: #e2e8f0;
  flex-shrink: 0;
}
.portal-hero__banner--photo .portal-hero__banner-imgwrap {
  border-bottom: 1px solid #e2e8f0;
}
.portal-hero__banner img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.portal-hero__banner-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.portal-hero__banner-body--static {
  background: transparent;
}
.portal-hero__banner--noimg {
  padding: 0;
  justify-content: center;
}
.portal-hero__banner--noimg .portal-hero__banner-link {
  padding: 24px 20px 22px;
  justify-content: center;
}
.portal-hero__banner-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 8px;
  color: #0f172a;
}
.portal-hero__banner--noimg .portal-hero__banner-title {
  font-size: 18px;
}
.portal-hero__banner-meta {
  font-size: 14px;
  margin: 0 0 14px;
  color: #64748b;
  font-weight: 600;
}
.portal-hero__banner-cta {
  display: inline-block;
  padding: 10px 18px;
  background: #1a5fb4;
  color: #fff !important;
  border: 1px solid #1a5fb4;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
  margin-top: 4px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.portal-hero__banner-link:hover .portal-hero__banner-cta {
  background: #154a8c;
  border-color: #154a8c;
}
a.portal-hero__banner-cta:hover {
  background: #154a8c;
  border-color: #154a8c;
  color: #fff !important;
}

.portal-date-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.portal-date-btns a {
  flex: 1 1 auto;
  min-width: 72px;
  text-align: center;
  padding: 10px 8px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
}
.portal-date-btns a:hover {
  background: #1a5fb4;
  border-color: #1a5fb4;
  color: #fff;
}

.portal-region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.portal-region-grid a {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 4px;
  color: #1e293b;
  text-decoration: none;
}
.portal-region-grid a:hover {
  background: #eff6ff;
  border-color: #1a5fb4;
  color: #1a5fb4;
}

.portal-refine {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.portal-refine--featured {
  margin-top: 8px;
  margin-bottom: 28px;
  padding: 16px 18px 18px;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

#mini-cal {
  scroll-margin-top: 16px;
}

.portal-mini-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.portal-mini-cal__title {
  font-weight: 800;
  font-size: 15px;
}
.portal-mini-cal__nav {
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 18px;
}
.portal-mini-cal__nav:hover {
  background: #f0f0f0;
}
.portal-mini-cal__grid {
  border-collapse: collapse;
  font-size: 12px;
}
.portal-mini-cal__grid th,
.portal-mini-cal__grid td {
  width: 32px;
  height: 28px;
  text-align: center;
  padding: 0;
}
.portal-mini-cal__grid th {
  color: #888;
  font-weight: 600;
}
.portal-mini-cal__grid td a {
  display: block;
  line-height: 28px;
  color: #1a5fb4;
  text-decoration: none;
  border-radius: 4px;
}
.portal-mini-cal__grid td a:hover {
  background: #e0efff;
}

.portal-quick-links {
  flex: 1;
  min-width: 200px;
}
.portal-quick-links p {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #334155;
}
.portal-quick-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portal-quick-links a {
  font-size: 13px;
  color: #1a5fb4;
  text-decoration: none;
}
.portal-quick-links a:hover {
  text-decoration: underline;
}

.portal-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.portal-search-suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 20px;
  font-size: 13px;
  color: #64748b;
}
.portal-search-suggest__label {
  font-weight: 700;
  color: #475569;
}
.portal-search-suggest__chip {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1a5fb4;
  text-decoration: none;
}
.portal-search-suggest__chip:hover {
  background: #eff6ff;
  border-color: #1a5fb4;
}

.portal-search input[type="text"] {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 11px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.portal-search button {
  padding: 11px 20px;
  border: 0;
  border-radius: 6px;
  background: #1a5fb4;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}
.portal-search button:hover {
  background: #154a8c;
}

.portal-page-title {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  color: #111;
}

.portal-section {
  margin-bottom: 36px;
}
.portal-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(90deg, #334155 0%, #475569 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px 6px 0 0;
  margin: 0;
}
.portal-section__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.portal-section__more {
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  opacity: 0.95;
}
.portal-section__more:hover {
  text-decoration: underline;
}
.portal-section__body {
  border: 1px solid #e2e8f0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 14px 12px;
  background: #fafbfc;
}

.portal-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-card {
  display: flex;
  gap: 14px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
@media (max-width: 560px) {
  .portal-card {
    flex-direction: column;
  }
}
.portal-card__thumb {
  flex: 0 0 200px;
  max-width: 200px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
}
.portal-card__thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.portal-card__thumb--placeholder img {
  object-fit: contain;
  width: 100%;
  height: 120px;
  display: block;
  padding: 14px 18px;
  box-sizing: border-box;
  background: #fff;
}
.portal-hero__banner--placeholder .portal-hero__banner-imgwrap img {
  object-fit: contain;
  opacity: 1;
  padding: 20px 32px;
  box-sizing: border-box;
  background: #fff;
}
.portal-card__body {
  flex: 1;
  min-width: 0;
}
.portal-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}
.portal-card__title a {
  color: #111;
  text-decoration: none;
}
.portal-card__title a:hover {
  color: #1a5fb4;
}
.portal-card__period {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #c2410c;
}
.portal-card__loc {
  margin: 0 0 6px;
  font-size: 13px;
  color: #64748b;
}
.portal-card__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
}

.portal-card__kind {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 0.1em;
}
.portal-card__kind--info {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

/* 地域ブロック内: イベント / 情報 の二段構成 */
.portal-region-panel {
  margin-bottom: 40px;
}
.portal-region-panel__stack {
  border: 1px solid #e2e8f0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #f8fafc;
  padding: 12px;
}
.portal-kind-block + .portal-kind-block {
  margin-top: 18px;
}
.portal-kind-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.portal-kind-block__head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}
.portal-kind-block__more {
  font-size: 13px;
  font-weight: 700;
  color: #1a5fb4 !important;
  text-decoration: none;
}
.portal-kind-block__more:hover {
  text-decoration: underline;
}
.portal-region-panel__stack .portal-section__body {
  margin-bottom: 0;
}

.portal-search-split__title {
  font-size: 17px;
  font-weight: 800;
  margin: 20px 0 10px;
  color: #334155;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
}
.portal-search-split__title:first-child {
  margin-top: 0;
}

.portal-empty {
  padding: 24px;
  text-align: center;
  color: #64748b;
  background: #fff;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}
