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

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

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

.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 {
  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;
  }
}

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

.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);
}

.top-banner-section {
  padding-bottom: 2.5rem;
}

.top-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #0f172a;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.top-banner-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.top-banner-slide {
  position: relative;
  min-width: 100%;
  color: #ffffff;
  text-decoration: none;
  display: block;
}

.top-banner-slide img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

.top-banner-content {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 520px;
  background: rgba(15, 23, 42, 0.6);
  padding: 16px 20px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.top-banner-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.top-banner-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.top-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #1f2933;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.top-banner-nav:hover {
  background: #ffffff;
}

.top-banner-nav.prev {
  left: 16px;
}

.top-banner-nav.next {
  right: 16px;
}

.top-news-section {
  padding: 2.5rem 0;
}

.top-courses-section {
  padding: 2.5rem 0 1rem;
}

.courses-filter {
  background: #f2fbff;
  border: 1px solid #cfe1ee;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.courses-filter-keyword {
  max-width: 420px;
  margin: 0 auto 16px;
}

.courses-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.courses-filter-card {
  background: #e6f3fb;
  border-radius: 12px;
  padding: 12px 14px;
}

.courses-filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f2937;
}

.courses-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 0.85rem;
}

.courses-filter-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 500;
  color: #334155;
}

.courses-filter-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.top-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0;
  overflow: visible;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: #1f2328;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.course-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-card-image-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.course-card-image img[src$="no-image-logo.svg"] {
  padding: 28px;
  background: #ffffff;
}

.course-card-status {
  position: relative;
  background: #166534;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-block;
  align-self: flex-start;
  padding: 6px 32px 6px 12px;
  text-align: left;
  margin-left: -4px;
  margin-top: 1px;
  box-shadow: 1px 1px 4px rgba(15, 23, 42, 0.3);
  transform: translateX(0);
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
}

.course-card-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1px;
  padding-right: 12px;
}

.course-card-new {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.course-card-status-recruiting {
  background: #0284c7;
  color: #ffffff;
}

.course-card-status-archived {
  background: #374151;
  color: #ffffff;
}

.course-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.course-card-actions-center {
  justify-content: center;
}

.course-card-bookmark {
  border: 1px solid #cbd5f5;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #ffffff;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.course-card-bookmark.is-active {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.course-card-bookmark:hover {
  border-color: #94a3b8;
}

.course-card-play {
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.course-card-play:hover {
  background: #111827;
}

.course-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.course-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.course-card-title-link {
  color: inherit;
  text-decoration: none;
}

.course-card-title-link:hover {
  text-decoration: underline;
}

.course-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: #6b7280;
}

.course-card-tag {
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-card-platform-tag {
  background: #475569;
  color: #f1f5f9;
}

.course-card-tag-link {
  text-decoration: none;
}

.course-card-tag-link:hover {
  text-decoration: underline;
}

.course-card-mobile-meta {
  display: none;
}

.course-card-date {
  font-size: 0.8rem;
  color: #64748b;
}

.course-card-provider-link {
  color: inherit;
  text-decoration: none;
}

.course-card-provider-link:hover {
  text-decoration: underline;
}

.course-card-instructor {
  color: #475569;
}

.course-video-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.course-page-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.course-page-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.course-page-item-body {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

.provider-top-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  height: clamp(180px, 24vw, 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.provider-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-meta {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 28px;
  align-items: start;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
}

.provider-meta-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.provider-meta-brand .provider-location {
  margin-top: 4px;
}

.provider-banner {
  background: #ffffff;
  border-radius: 0;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.provider-banner img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.provider-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}

.provider-meta-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.provider-location {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.provider-location-label {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.95rem;
}

.provider-address {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
}

.provider-description {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  border: 0;
}

.page-top-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  height: clamp(180px, 24vw, 260px);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  display: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.page-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-meta {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  margin-bottom: 20px;
}

.page-meta.is-single {
  grid-template-columns: 1fr;
}

.page-meta-thumb {
  width: 100%;
  min-height: 140px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.85rem;
  overflow: hidden;
}

.page-meta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-meta-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}

.page-meta-date {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.page-meta-list {
  display: grid;
  gap: 8px;
}

.page-meta-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #475569;
}

.page-meta-label {
  font-weight: 700;
  color: #1f2937;
  min-width: 90px;
}

.page-meta-value {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-genre-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: #e2e8f0;
  color: #1f2937;
}

.page-description {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  border: 0;
}

@media (max-width: 991.98px) {
  .provider-top-image {
    height: clamp(160px, 38vw, 220px);
  }

  .provider-meta {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .provider-location {
    gap: 6px;
  }

  .page-top-image {
    height: clamp(160px, 38vw, 220px);
  }

  .page-meta {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .page-meta-label {
    min-width: 78px;
  }
}

@media (max-width: 991.98px) {
  .top-courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .courses-filter {
    padding: 16px;
  }

  .courses-filter-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    display: grid;
    grid-template-columns: minmax(120px, 40%) 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 0;
  }

  .course-card-image {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: auto;
    height: 100%;
    padding: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .course-card-image-link {
    height: auto;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
  }

  .course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .course-card-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .course-card-mobile-meta .course-card-meta {
    display: flex;
  }

  .course-card-body .course-card-meta {
    display: none;
  }

  .course-card-status {
    grid-column: 2;
    grid-row: 1;
    margin-top: 6px;
  }

  .course-card-status-row {
    grid-column: 2;
    grid-row: 1;
    margin-top: 6px;
    padding-right: 0;
  }

  .course-card-new {
    margin-right: 8px;
  }

  .course-card-body {
    grid-column: 2;
    grid-row: 2;
    padding-top: 8px;
  }

  .course-card-footer {
    margin-top: 0;
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 36px;
  }

  .course-card-footer .course-card-actions {
    justify-content: flex-end;
  }

  .course-card-footer .course-card-actions-center {
    position: absolute;
    left: 0;
    bottom: 0;
    justify-content: center;
    transform: translateX(-50%);
  }
}
.bookmark-modal {
  border: none;
  background: #cfe9f7;
}

.bookmark-modal-header {
  border-bottom: none;
  padding: 16px 20px 0;
}

.bookmark-modal-body {
  padding: 16px 20px 24px;
}

.bookmark-modal-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.bookmark-step {
  position: relative;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 10px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: none;
}

.bookmark-step.is-active {
  background: #c82a17;
  color: #ffffff;
}

.bookmark-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  filter: none;
}

.bookmark-step.is-active::after {
  border-left-color: #c82a17;
}

.bookmark-step:last-child::after {
  display: none;
}

.bookmark-step-title {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.bookmark-step-body {
  font-size: 0.9rem;
}

.bookmark-modal-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.bookmark-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f2937;
}

.bookmark-modal-text {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bookmark-modal-note {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}

.bookmark-modal-actions {
  display: flex;
  justify-content: center;
}

.bookmark-modal-button {
  width: 100%;
  max-width: 520px;
  background: #ea5a3b;
  border-color: #ea5a3b;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
}

.bookmark-modal-button:hover {
  background: #d74a2d;
  border-color: #d74a2d;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #1f2328;
}

.section-link {
  font-size: 0.9rem;
  color: #1f2328;
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

.top-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-pages-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-pages-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: #1f2328;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-pages-item.has-edit {
  padding-bottom: 16px;
}

.top-pages-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.top-pages-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  text-align: center;
  margin: 0 0 0.25rem;
}

.top-pages-body {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.top-pages-body h2,
.top-pages-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0.6rem 0 0.4rem;
}

.top-pages-body strong {
  display: inline;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.top-pages-edit {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.top-news-item {
  display: grid;
  grid-template-columns: 120px 120px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: #1f2328;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.top-news-date {
  font-size: 0.9rem;
  color: #6c757d;
}

.top-news-category {
  font-size: 0.85rem;
  color: #d08a5a;
  font-weight: 700;
}

.top-news-title {
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .top-banner-slide img {
    max-height: 280px;
  }

  .top-banner-content {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}

.top-courses-grid.top-courses-grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 991.98px) {
  .top-courses-grid.top-courses-grid-auto {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .top-banner-slide img {
    max-height: 240px;
  }

  .top-banner-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .top-news-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}
