/* ======================================================
   CATEGORY INDEX — common styles (.si-*)
   ====================================================== */

/* ---- BREADCRUMB ---- */
.si-bc {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: .6rem 1.5rem;
}
.si-bc__list {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .25rem;
  font-size: .75rem;
  color: #909798;
}
.si-bc__list li:not(:last-child)::after { content: '/'; margin: 0 .35rem; color: #c3cdd2; }
.si-bc__list a { color: #909798; text-decoration: none; transition: color .15s; }
.si-bc__list a:hover { color: #46A2DA; }
.si-bc__list .current { color: #b2bbbf; }

/* ---- HERO ---- */
.si-hero {
  background: linear-gradient(150deg, #060f1c 0%, #0b2035 55%, #0e2a42 100%);
  padding: 3rem 1.5rem 2.8rem;
  position: relative;
  overflow: hidden;
}
.si-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(70,162,218,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.si-hero__deco {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11rem;
  color: rgba(70,162,218,.07);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.si-hero__inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.si-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #46A2DA;
  background: rgba(70,162,218,.13);
  padding: .32rem 1.05rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  font-family: 'Raleway', sans-serif;
}
.si-hero__title {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 .65rem;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.si-hero__title em {
  font-style: normal;
  color: #46A2DA;
}
.si-hero__desc {
  font-size: .87rem;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  margin: 0 0 1.6rem;
}
.si-hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.si-stat {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.si-stat__num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  letter-spacing: -.03em;
}
.si-stat__label {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

/* ---- SEARCH (used when enabled) ---- */
.si-search {
  position: relative;
  max-width: 480px;
  margin-bottom: 0;
}
.si-hero__stats + .si-search { margin-top: 1.8rem; }
.si-search__input {
  width: 100%;
  padding: .9rem 3rem .9rem 3.2rem;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 50px;
  font-size: .93rem;
  color: #fff;
  transition: background .2s, border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.si-search__input::placeholder { color: rgba(255,255,255,.3); }
.si-search__input:focus {
  outline: none;
  background: rgba(255,255,255,.13);
  border-color: rgba(70,162,218,.5);
  box-shadow: 0 0 0 3px rgba(70,162,218,.1);
}
.si-search__icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.38);
  font-size: .95rem;
  pointer-events: none;
}
.si-search__clear {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.35);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color .2s;
  background: none;
  border: none;
  padding: 0;
}
.si-search__clear:hover { color: #EB4878; }
.si-search__info {
  margin-top: .7rem;
  font-size: .81rem;
  color: rgba(255,255,255,.4);
  padding-left: .4rem;
}
.si-search__info strong { color: rgba(255,255,255,.75); }
.si-result-count { color: #EB4878; font-weight: 700; }

/* ---- MAIN AREA ---- */
.si-main {
  background: #f4f6f9;
  min-height: 55vh;
  padding: 2.5rem 1.5rem 4.5rem;
}
.si-main__inner {
  max-width: 920px;
  margin: 0 auto;
}
.si-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b2bbbf;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 1.1rem;
  padding-left: .2rem;
}

/* ---- ARTICLE LIST ---- */
.si-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.si-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.04);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.si-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(4,63,109,.1);
  text-decoration: none;
  color: inherit;
}
.si-item__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  background: #f0f6fc;
  font-size: .9rem;
  font-weight: 800;
  color: #b0d9f3;
  font-family: 'Raleway', sans-serif;
  letter-spacing: -.01em;
  flex-shrink: 0;
  border-right: 1px solid rgba(70,162,218,.08);
}
.si-item__body {
  flex: 1;
  padding: 1.15rem 1.3rem;
  min-width: 0;
}
.si-item__title {
  font-size: .97rem;
  font-weight: 700;
  color: #043F6D;
  line-height: 1.45;
  margin: 0 0 .38rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.si-item:hover .si-item__title { color: #105b9f; }
.si-item__excerpt {
  font-size: .8rem;
  color: #7f8588;
  line-height: 1.65;
  margin: 0 0 .55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.si-item__date {
  font-size: .71rem;
  color: #a1a9ac;
}
.si-item__thumb {
  width: 115px;
  flex-shrink: 0;
  overflow: hidden;
}
.si-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.si-item:hover .si-item__thumb img { transform: scale(1.04); }
.si-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  color: #b0d9f3;
  font-size: .85rem;
  flex-shrink: 0;
  transition: color .18s, transform .18s;
}
.si-item:hover .si-item__arrow {
  color: #46A2DA;
  transform: translateX(2px);
}

/* ---- EMPTY / NO RESULTS ---- */
.si-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #a1a9ac;
  font-size: .9rem;
}
.si-no-results {
  text-align: center;
  padding: 3.5rem 1rem;
  color: #7f8588;
}
.si-no-results i {
  font-size: 2.8rem;
  color: rgba(70,162,218,.22);
  display: block;
  margin-bottom: .9rem;
}
.si-no-results p { font-size: .93rem; line-height: 1.8; margin: 0 0 .4rem; }
.si-no-results p strong { color: #043F6D; }
.si-no-results__sub { font-size: .82rem; color: #a1a9ac; margin: 0; }

/* ---- SEARCH INFO BAR ---- */
.si-search-info {
  background: #043F6D;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.5rem;
  flex-wrap: wrap;
}
.si-search-info__back {
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  padding: .3rem .9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.si-search-info__back:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .si-item__thumb { width: 82px; }
  .si-item__num { min-width: 40px; font-size: .78rem; }
  .si-item__body { padding: .95rem 1rem; }
  .si-item__excerpt { display: none; }
  .si-hero__deco { font-size: 7rem; opacity: .6; }
}
@media (max-width: 400px) {
  .si-item__thumb { display: none; }
  .si-item__arrow { min-width: 32px; }
}

/* ================================================================
   MAIN ARTICLES INDEX  (.ai-*)
   ================================================================ */

/* カテゴリラベル（最新記事セクション内） */
.si-item__cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #46A2DA;
  margin-bottom: .25rem;
}

/* ---- Category nav ---- */
.ai-cat-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}
.ai-cat-nav::-webkit-scrollbar { display: none; }
.ai-cat-nav__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .77rem;
  font-weight: 600;
  color: #5D6062;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
}
.ai-cat-nav__item:hover {
  background: #043F6D;
  color: #fff;
  border-color: #043F6D;
  text-decoration: none;
}

/* ---- Category section ---- */
.ai-cat-section {
  margin-bottom: 3rem;
  scroll-margin-top: 1rem;
}
.ai-cat-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ai-cat-head__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(70,162,218,.12);
  color: #46A2DA;
  border-radius: 8px;
  font-size: .88rem;
  flex-shrink: 0;
}
.ai-cat-head__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #043F6D;
  margin: 0;
  letter-spacing: -.01em;
}
.ai-cat-head__count {
  font-size: .72rem;
  color: #a1a9ac;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}
.ai-cat-head__link {
  margin-left: auto;
  font-size: .8rem;
  font-weight: 700;
  color: #46A2DA;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color .15s, gap .15s;
}
.ai-cat-head__link:hover { color: #043F6D; gap: .5rem; text-decoration: none; }
.ai-cat-head__link i { font-size: .75rem; }

/* ---- More button ---- */
.ai-cat-more {
  margin-top: .75rem;
  text-align: right;
}
.ai-cat-more__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.3rem;
  font-size: .82rem;
  font-weight: 700;
  color: #46A2DA;
  background: rgba(70,162,218,.06);
  border: 1px solid rgba(70,162,218,.2);
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.ai-cat-more__btn:hover {
  background: #46A2DA;
  color: #fff;
  text-decoration: none;
}
.ai-cat-more__btn i { font-size: .75rem; }
