@charset "UTF-8";
/* ============================================
   コラム（column）アーカイブ・シングル用CSS
   ============================================ */

/* --- アーカイブ：カテゴリフィルタ --- */
#catmenu {
  margin-bottom: 60px;
}
#catmenu .body {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
  line-height: 1.8;
}
#catmenu .btnlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
#catmenu .btnlist a {
  display: inline-block;
  padding: 8px 24px;
  background: #fff;
  color: #009BCC;
  font-size: 1.4rem;
  text-decoration: none;
  border: 1px solid #009BCC;
  border-radius: 50px;
  transition: all 0.3s;
}
#catmenu .btnlist a:hover {
  background-color: #009BCC;
  color: #fff;
}

/* --- アーカイブ：記事カード一覧 --- */
#blog {
  margin-bottom: 80px;
}
#blog .contents_inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  margin-bottom: 60px;
}
#blog .item {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}
#blog .item:hover {
  opacity: 0.8;
}
#blog .item .img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f5f5f5;
}
#blog .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#blog .item .detail_inner .info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1.3rem;
}
#blog .item .detail_inner .info .date {
  color: #888;
}
#blog .item .detail_inner .info .cat {
  display: inline-block;
  padding: 2px 12px;
  background: #009BCC;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 2px;
}
#blog .item h3 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #222;
}
#blog .item p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
}

/* ページネーション */
#blog .pagenavi {
  display: flex;
  justify-content: center;
}
#blog .pagenavi ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#blog .pagenavi ul li {
  list-style: none;
}
#blog .pagenavi ul li a,
#blog .pagenavi ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  font-size: 1.4rem;
  background: #fff;
}
#blog .pagenavi ul li span.current,
#blog .pagenavi ul li a.current {
  background: #009BCC;
  color: #fff;
  border-color: #009BCC;
}
#blog .pagenavi ul li a:hover {
  background: #f5f9fb;
}

/* --- シングル：記事ページ --- */
#news.single {
  margin-bottom: 80px;
}
#news.single .wrap.first {
  padding-top: 60px;
}
#news.single h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #222;
}
#news.single .info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  font-size: 1.3rem;
}
#news.single .info .date {
  color: #888;
}
#news.single .info .cat {
  display: inline-block;
  padding: 2px 12px;
  background: #009BCC;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 2px;
}
#news.single .img {
  margin-bottom: 32px;
}
#news.single .img img {
  width: 100%;
  height: auto;
  display: block;
}
#news.single .contbox {
  font-size: 1.5rem;
  line-height: 1.9;
  margin-bottom: 60px;
  color: #333;
}
#news.single .contbox h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #222;
  background: #f5f9fb;
  padding: 0.5em 0.8em;
  margin: 2.4em 0 1em;
  border-radius: 4px;
}
#news.single .contbox h3 {
  font-size: 1.6rem;
  color: #009BCC;
  font-weight: 700;
  margin: 2em 0 0.8em;
}
#news.single .contbox h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.6em 0 0.8em;
}
#news.single .contbox p {
  margin-bottom: 1.2em;
}
#news.single .contbox strong {
  font-weight: 700;
  color: #222;
}
#news.single .contbox ul,
#news.single .contbox ol {
  margin: 1em 0 1.5em;
  padding-left: 1.8em;
}
#news.single .contbox ul li,
#news.single .contbox ol li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}
#news.single .contbox img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}
#news.single .contbox a {
  color: #009BCC;
  text-decoration: underline;
}
#news.single .contbox a:hover {
  text-decoration: none;
}
#news.single .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #009BCC;
  color: #fff;
  padding: 14px 40px;
  text-decoration: none;
  font-size: 1.4rem;
  transition: opacity 0.3s;
  border-radius: 2px;
}
#news.single .btn:hover {
  opacity: 0.85;
}
#news.single .btn img {
  width: 14px;
  height: auto;
}

/* --- レスポンシブ --- */
@media (max-width: 980px) {
  #blog .contents_inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 768px) {
  #catmenu {
    margin-bottom: 40px;
  }
  #catmenu .body {
    font-size: 1.4rem;
    text-align: left;
  }
  #catmenu .btnlist a {
    padding: 6px 16px;
    font-size: 1.3rem;
  }
  #blog .contents_inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #blog .item h3 {
    font-size: 1.5rem;
  }
  #news.single h2 {
    font-size: 1.9rem;
  }
  #news.single .contbox {
    font-size: 1.4rem;
  }
  #news.single .contbox h2 {
    font-size: 1.7rem;
  }
  #news.single .contbox h3 {
    font-size: 1.5rem;
  }
}
