/* 新着の研修会社コーナー（include/function_new_company.php）2026-11-24 */
.nc-section { padding: 1rem 0 4rem; }
.nc-section .container { border-top: 1px solid #e6e9ee; padding-top: 3rem; }
.nc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.5rem; margin-bottom: 1.75rem; }
.nc-head .nc-title { font-size: 1.75rem; margin: 0; }
.nc-lead { margin: 0; color: #6c757d; font-size: .95rem; flex: 1 1 auto; }
.nc-more { font-size: .9rem; font-weight: 700; color: #182b38; white-space: nowrap; }
.nc-more:hover { color: #182b38; text-decoration: underline; }
.nc-more i { font-size: .8em; margin-left: .25rem; }

.nc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; }
.nc-section a.nc-main, .nc-section a.nc-sub { color: inherit; text-decoration: none; }

/* 大きい 1 社（サムネイルなし） */
.nc-main { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e9ee; border-top: 4px solid #fab549; border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.nc-main:hover { box-shadow: 0 10px 28px rgba(24,43,56,.12); transform: translateY(-2px); }
.nc-main-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.nc-company--lg { gap: 1rem; }
.nc-company--lg .nc-logo { width: 72px; height: 72px; border-radius: 10px; padding: 4px; }
.nc-main .nc-name { font-size: 1.35rem; }
.nc-main .nc-tagline { font-size: 1.05rem; font-weight: 700; color: #182b38; -webkit-line-clamp: 3; }
.nc-summary { margin: 0; font-size: .9rem; color: #6c757d; line-height: 1.8; }
.nc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.nc-tag { font-size: .78rem; background: #eef2f5; color: #45546c; padding: .2rem .6rem; border-radius: 999px; }
.nc-plans { font-size: .8rem; color: #6c757d; margin-left: auto; }

/* 共通（会社名・ロゴ・キャッチ） */
.nc-company { display: flex; align-items: center; gap: .75rem; }
.nc-logo { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid #e6e9ee; border-radius: 8px; padding: 3px; flex-shrink: 0; }
.nc-name { font-weight: 700; color: #182b38; line-height: 1.4; }
.nc-date { font-size: .78rem; color: #8a94a0; }
.nc-tagline { margin: 0; color: #45546c; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* 小さい 3 社 */
.nc-sub-list { display: flex; flex-direction: column; gap: 1rem; }
.nc-sub { display: flex; background: #fff; border: 1px solid #e6e9ee; border-radius: 12px; padding: 1rem 1.25rem; flex: 1; transition: box-shadow .2s, transform .2s; }
.nc-sub:hover { box-shadow: 0 6px 18px rgba(24,43,56,.10); transform: translateY(-2px); }
.nc-sub-body { display: flex; flex-direction: column; justify-content: center; gap: .4rem; min-width: 0; width: 100%; }
.nc-company--sm { gap: .5rem; }
.nc-company--sm .nc-logo { width: 40px; height: 40px; border-radius: 6px; padding: 2px; }
.nc-company--sm .nc-name { font-size: .95rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nc-sub .nc-tagline { font-size: .85rem; -webkit-line-clamp: 2; }

@media (max-width: 991.98px) {
  .nc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .nc-section { padding-bottom: 3rem; }
  .nc-section .container { padding-top: 2.25rem; }
  .nc-head .nc-title { font-size: 1.4rem; }
  .nc-lead { flex-basis: 100%; order: 2; }
  .nc-main-body { padding: 1.25rem 1.25rem 1.5rem; }
  .nc-company--lg .nc-logo { width: 56px; height: 56px; }
  .nc-main .nc-name { font-size: 1.05rem; }
}

/* 大きい 1 社の対応オプション */
.nc-options { border-top: 1px dashed #e1e5ea; padding-top: .9rem; }
.nc-options-label { font-size: .75rem; font-weight: 700; color: #8a94a0; letter-spacing: .05em; margin-bottom: .5rem; }
.nc-option-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.nc-option-list li { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: #182b38; background: #faf6e4; border: 1px solid #f1e6bd; padding: .2rem .6rem; border-radius: 6px; line-height: 1.5; }
.nc-option-list li i { color: #c98a1e; font-size: .85em; }
.nc-option-list li.nc-option-more { background: transparent; border-color: transparent; color: #8a94a0; }
