:root {
  color-scheme: light;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  background: #f7f5f0;
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  background: linear-gradient(120deg, #f6b087 0%, #80c3eb 100%);
}

.logo-caption {
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  gap: 12px;
}

.btn-primary {
  --bs-btn-bg: #2f3a45;
  --bs-btn-border-color: #2f3a45;
  --bs-btn-hover-bg: #25303a;
  --bs-btn-hover-border-color: #25303a;
  --bs-btn-active-bg: #1f2831;
  --bs-btn-active-border-color: #1f2831;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom-width: 1px;
  background: #ffffff;
}

.navbar-logo {
  display: none;
  align-items: center;
  gap: 8px;
}

.navbar.show-logo .navbar-logo {
  display: inline-flex;
}

.breadcrumb-bar {
  font-size: 12px;
  background: #f7f5f0;
}

.navbar-nav .nav-item + .nav-item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .navbar-nav .nav-item + .nav-item {
    border-top: 0;
  }
  .navbar-nav .nav-item {
    position: relative;
  }
  .editor-settings-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    z-index: 1030;
  }
  .editor-settings-menu .nav-link {
    padding: 6px 12px;
  }
}

.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-toggler {
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active {
  box-shadow: none;
  outline: 0;
  border-width: 1px;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.editor-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
}

.editor-menu {
  position: sticky;
  top: 92px;
}

.editor-menu-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1f2328;
}

.editor-menu-list li + li {
  border-top: 1px solid rgba(31, 35, 40, 0.12);
}

.editor-menu-list {
  margin-top: 24px;
  border-top: 1px solid rgba(31, 35, 40, 0.12);
  border-bottom: 1px solid rgba(31, 35, 40, 0.12);
}

.editor-menu-list .is-active {
  font-weight: 700;
}

.editor-menu .list-group-item.active {
  background-color: #ffffff;
  color: #1f2328;
  font-weight: 700;
  border-color: rgba(31, 35, 40, 0.12);
}

.notice-card {
  border: 1px solid rgba(31, 35, 40, 0.1);
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.notice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.notice-card h4 {
  font-weight: 700;
  font-size: 1.05rem;
}

.notice-meta {
  font-size: 12px;
  color: #6c757d;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.notice-status {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
}

.notice-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.notice-edit {
  position: absolute;
  top: 16px;
  right: 16px;
}

.share-btn {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  color: #1f2328;
  text-decoration: none;
}

.share-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.thumb {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  background: #f2f4f7;
  color: #667085;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumb img[src$="no-image-logo.svg"] {
  object-fit: contain;
  padding: 14px;
  background: #ffffff;
}

.news-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.news-pager .pager-info {
  margin-right: auto;
  font-size: 12px;
  color: #6c757d;
}

.news-pager .pager-btn {
  border: 1px solid rgba(31, 35, 40, 0.2);
  background: #ffffff;
  color: #1f2328;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.news-pager .pager-btn.is-active {
  background: #1f2933;
  color: #ffffff;
  border-color: #1f2933;
}

.news-pager .pager-btn:disabled {
  opacity: 0.5;
}
