@charset "UTF-8";
/* =========================================
CTAカード
========================================= */
:root {
  --bg: #ffffff;
  --shadow: rgba(12, 41, 82, 0.15);
  --text: #0c2952;
  --accent: #ff1673;
  --accent-weak: #ff1673;
}

.cta-card {
  width: 336px;
  min-height: 160px;
  background: var(--bg);
  border-radius: 8px;
  padding: 32px;
  color: var(--text);
  box-shadow: 0 0 20px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 2rem;
}
.cta-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-card__head h3 {
  padding: 0 !important;
}
.cta-card__head h3::before {
  display: none !important;
}
.cta-card__bar {
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--accent-weak);
  border-radius: 3px;
  flex: 0 0 auto;
}
.cta-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.cta-card .header__button {
  margin-left: 0;
}
@media (max-width: 480px) {
  .cta-card {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .cta-card .header__button {
    display: block;
  }
}

/* =========================================
カテゴリーボックス
========================================= */
.category-box {
  background: var(--bg);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 0 20px var(--shadow);
  width: 336px;
  max-width: 100%;
  margin-bottom: 2rem;
}
.category-box__title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 0px;
}
.category-box .category-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-box .category-box__list li {
  padding: 16px 0;
  border-bottom: 1px solid #c8c4be;
}
.category-box .category-box__list li a {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}
.category-box .category-box__list li a:hover {
  opacity: 0.6;
}
.category-box .category-box__list li a:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(12, 41, 82, 0.2);
  outline-offset: 2px;
  border-radius: 2px;
}

.tag-box {
  background: var(--bg, #fff);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 0 20px rgba(12, 41, 82, 0.15);
  width: 336px;
  max-width: 100%;
  margin-bottom: 2rem;
}
.tag-box__title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #0c2952);
  margin: 0 0 16px;
}
.tag-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.tag-box__item {
  margin: 0;
}
.tag-box .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0c2952;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.tag-box .tag:hover {
  opacity: 0.6;
}
.tag-box .tag__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.tag-box .tag__icon img {
  display: block;
  width: 100%;
  height: auto;
}
.tag-box .tag__text {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.tag-box .muted {
  color: #999;
}

/* =========================================
おすすめ記事ボックス
========================================= */
.recommend-box {
  background: var(--bg, #fff);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 0 20px rgba(12, 41, 82, 0.15);
  width: 336px;
  max-width: 100%;
}
.recommend-box__title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #0c2952);
  margin: 0 0 16px;
}
.recommend-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recommend-box__list .recommend-box__item {
  padding: 16px 0 24px;
  border-bottom: 1px solid #c8c4be;
  margin: 0;
}
.recommend-box .recommend {
  text-decoration: none;
  display: block;
  transition: opacity 0.2s ease;
}
.recommend-box .recommend:hover {
  opacity: 0.6;
}
.recommend-box .recommend__title {
  color: #000000;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.recommend-box .muted {
  color: #999;
}

/*==========================================
レスポンシブ
==========================================*/
@media (max-width: 1288px) {
  .category-box,
  .tag-box,
  .recommend-box,
  .cta-card {
    width: 100%;
  }
}
@media (max-width: 960px) {
  .category-box,
  .tag-box,
  .recommend-box,
  .cta-card {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 560px) {
  h2 {
    font-size: 1.25rem;
    padding: 8px 10px 8px 16px;
  }
  h3 {
    font-size: 1.125rem;
    padding: 6px 10px 6px 16px;
  }
  .category-box,
  .tag-box,
  .recommend-box,
  .cta-card {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(12, 41, 82, 0.12);
  }
  .category-box__list li,
  .recommend-box__list .recommend-box__item {
    padding: 12px 0 16px;
  }
  .tag-box .tag {
    gap: 6px;
  }
}

/*# sourceMappingURL=side-bar.css.map */
