@charset "UTF-8";

/* ========================================
   パンくず（.m-breadcrumb は style.css に定義）
======================================== */

/* ========================================
   アーカイブ・タクソノミー共通
======================================== */
#column-archive {
  position: relative;
}
@media screen and (max-width: 768px) {
  #column-archive { padding: 60px 0 80px; }
}
@media screen and (min-width: 769px) {
  #column-archive { padding: 80px 0; }
}

/* カテゴリナビ */
.column-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.column-cat-nav__item {
  border: 1px solid #ccc;
  border-radius: 2px;
  color: #555;
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  transition: all 0.2s ease;
}
.column-cat-nav__item:hover,
.column-cat-nav__item.is-active {
  background: #282a67;
  border-color: #282a67;
  color: #fff;
}

/* カード一覧 */
.column-list {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .column-list {
    flex-direction: column;
    gap: 30px;
  }
}
@media screen and (min-width: 769px) {
  .column-list {
    gap: 40px 32px;
  }
}

.column-list__item {
  color: #000;
  display: block;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 768px) {
  .column-list__item { width: 100%; }
}
@media screen and (min-width: 769px) {
  .column-list__item {
    width: calc(50% - 16px);
  }
  .column-list__item:hover { opacity: 0.7; }
}

.column-list__item-img {
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  margin-bottom: 14px;
  overflow: hidden;
  width: 100%;
}
.column-list__item-img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.column-list__item-noimg {
  background: #e8e8e8;
  height: 100%;
  width: 100%;
}

.column-list__item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-list__item-cat {
  background: #282a67;
  color: #fff;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 5px 10px;
  width: fit-content;
}

.column-list__item-ttl {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
@media screen and (min-width: 769px) {
  .column-list__item-ttl { font-size: 1.6rem; }
}

.column-list__item-date {
  color: #888;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.column-empty {
  font-size: 1.4rem;
  padding: 40px 0;
}

/* ========================================
   個別記事
======================================== */
#column-single {
  padding-top: 60px;
  padding-bottom: 80px;
}
@media screen and (min-width: 769px) {
  #column-single {
    padding-top: 80px;
    padding-bottom: 120px;
  }
}

.column-article {
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .column-article { padding: 0 20px; }
}
@media screen and (min-width: 769px) {
  .column-article { max-width: 800px; }
}

.column-article__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.column-article__cat {
  background: #282a67;
  color: #fff;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 5px 10px;
}

.column-article__date {
  color: #888;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.column-article__ttl {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .column-article__ttl { font-size: 2.2rem; }
}
@media screen and (min-width: 769px) {
  .column-article__ttl { font-size: 2.8rem; }
}

.column-article__thumbnail {
  margin-bottom: 40px;
  width: 100%;
}
.column-article__thumbnail img {
  height: auto;
  width: 100%;
}

.column-article__content {
  line-height: 1.875;
}
@media screen and (max-width: 768px) {
  .column-article__content { font-size: 1.4rem; }
}
@media screen and (min-width: 769px) {
  .column-article__content { font-size: 1.6rem; }
}
.column-article__content h2 {
  border-left: 4px solid #282a67;
  font-size: 2rem;
  font-weight: 700;
  margin: 2em 0 1em;
  padding-left: 14px;
}
.column-article__content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 1.5em 0 0.8em;
}
.column-article__content p { margin-bottom: 1.5em; }
.column-article__content img {
  height: auto;
  max-width: 100%;
}
.column-article__content ul,
.column-article__content ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
}
.column-article__content li { margin-bottom: 0.4em; }

.column-article__back {
  margin-top: 60px;
  text-align: center;
}
.column-article__back a {
  border: 1px solid #282a67;
  color: #282a67;
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  padding: 12px 40px;
  transition: all 0.2s ease;
}
.column-article__back a:hover {
  background: #282a67;
  color: #fff;
}

/* ========================================
   関連記事
======================================== */
.column-related {
  margin: 0 auto 50px;
}
@media screen and (max-width: 768px) {
  .column-related { padding: 0 20px; }
}
@media screen and (min-width: 769px) {
  .column-related { max-width: 800px; }
}

.column-related__ttl {
  border-bottom: 2px solid #282a67;
  color: #282a67;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.column-related__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 769px) {
  .column-related__list {
    flex-direction: row;
    gap: 24px;
  }
}

.column-related__item {
  color: #000;
  display: block;
  flex: 1;
  transition: opacity 0.3s ease;
}
.column-related__item:hover { opacity: 0.7; }

.column-related__item-img {
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  margin-bottom: 10px;
  overflow: hidden;
  width: 100%;
}
.column-related__item-img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.column-related__item-noimg {
  background: #e8e8e8;
  height: 100%;
  width: 100%;
}

.column-related__item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.column-related__item-cat {
  background: #282a67;
  color: #fff;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 4px 10px;
  width: fit-content;
}

.column-related__item-ttl {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.column-related__item-date {
  color: #888;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

/* ========================================
   サイドバーレイアウト
======================================== */
.column-single__layout {
  display: block;
}
@media screen and (min-width: 769px) {
  .column-single__layout.has-sidebar {
    align-items: flex-start;
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 340px;
  }
  .column-single__layout.has-sidebar .column-article,
  .column-single__layout.has-sidebar .column-author,
  .column-single__layout.has-sidebar .column-related,
  .column-single__layout.has-sidebar .column-article__back {
    max-width: 100%;
  }
}

.column-single__sidebar {
  display: none;
}
@media screen and (min-width: 769px) {
  .column-single__sidebar {
    display: block;
    position: sticky;
    top: 100px;
  }
}

/* ========================================
   サービスブロック
======================================== */
.column-services__ttl {
  border-bottom: 2px solid #282a67;
  color: #282a67;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 8px;
}

.column-services__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.column-services__item {
  display: block;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.column-services__item:hover { opacity: 0.75; }
.column-services__item img {
  height: auto;
  width: 100%;
  display: block;
}

/* PC：サイドバー版を表示・SP版を非表示 */
.column-services--sp { display: block; }
.column-services--pc { display: block; }

@media screen and (min-width: 769px) {
  .column-services--sp { display: none; }
}
@media screen and (max-width: 768px) {
  .column-services--pc { display: none; }
  .column-services--sp {
    margin: 0 20px 50px;
  }
}
