@charset "UTF-8";
.sec__column,
.sec__column_single {
  padding-top: clamp(6.0rem, calc((100vw - 32rem) * 0.0624349636 + 6.0rem), 12.0rem);
  padding-bottom: 0;
}

/* ---- カードグリッド ---- */
.col_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media screen and (min-width: 769px) {
  .col_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ---- カードリンク（カード全体を囲む <a>）---- */
.col_card_link {
  display: block;
  color: inherit;
  height: 100%;
}
.col_card_link:hover .col_card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

/* ---- カード ---- */
.col_card {
  background: #fff;
  border: none;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* カード画像（上部のみ角丸）*/
.col_card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #cccccc;
}
.col_card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.col_card__no_img {
  width: 100%;
  height: 100%;
  background-color: #cccccc;
}

/* カード本文 */
.col_card__body {
  padding: 14px 16px 18px;
  border-top: 1px solid #e8e8e8;
}
.col_card__date {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1;
}
#section__cont h2.col_card__title,
#section__cont h3.col_card__title {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f4f4f6;
  text-align: left;
  font-size: clamp(1.5rem, calc((100vw - 32rem) * 0.00267857 + 1.5rem), 1.8rem);
  font-weight: 500;
  line-height: 1.6;
}

/* カードカテゴリリスト */
.col_card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.col_cat_tag {
  display: inline-block;
  padding: 6px 10px;
  background-color: #ff9646;
  color: #fff;
  font-size: clamp(1.1rem, calc((100vw - 32rem) * 0.0017857143 + 1.1rem), 1.3rem);
  transition: background-color 0.2s;
}
a.col_cat_tag:hover {
  background-color: #e8874a;
  color: #fff;
}

/* ==========================================================
   CATEGORY セクション（全幅・グレー背景）
   ========================================================== */
.col_cat_section {
  background-color: #f5f5f5;
  padding: 40px 0;
}

@media screen and (min-width: 769px) {
  .col_cat_section {
    padding: 60px 0;
  }
}

/* ==========================================================
   TAGS セクション（全幅・格子メッシュ背景）
   ========================================================== */
.col_tag_section {
  background-color: #fff;
  background-image:
    linear-gradient(rgba(255, 160, 100, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 160, 100, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 40px 0 60px;
}

@media screen and (min-width: 769px) {
  .col_tag_section {
    padding: 60px 0 80px;
  }
}

/* ---- セクション見出し（CATEGORY / TAGS 共通）---- */
.col_section_heading {
  font-size: clamp(2.4rem, calc((100vw - 32rem) * 0.0107142857 + 2.4rem), 3.6rem);
  margin-bottom: clamp(2.4rem, calc((100vw - 32rem) * 0.0142857143 + 2.4rem), 4.0rem);
}
.col_section_heading_sub {
  font-size: clamp(1.1rem, calc((100vw - 32rem) * 0.0026785714 + 1.1rem), 1.4rem);
  letter-spacing: 0.01em;
  margin-left: 4px;
}
.col_cat_btns {
  display: grid;
  gap: clamp(1.6rem, calc((100vw - 32rem) * 0.0071428571 + 1.6rem), 2.4rem);
}
.col_cat_btns a {
  position: relative;
}
.col_cat_btns a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: block;
  width: 6px;
  height: 12px;
  background-image: url(../imgs/common/arrow-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
@media screen and (min-width: 540px) {
  .col_cat_btns {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 769px) {
  .col_cat_btns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.col_cat_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 18px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 1.3rem;
}
/* ホバー時：変化なし */

.col_cat_btn__text {
  flex: 1;
  color:#000;
  line-height: 1.5;
}
.col_cat_btn__arrow {
  font-size: 1.3rem;
  color: #aaa;
  flex-shrink: 0;
}

/* ---- タグリスト（横並び折り返し）---- */
.col_tag_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.col_tag_badge {
  display: inline-block;
  padding: 6px 18px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 1.3rem;
  color: #555;
  transition: border-color 0.2s, color 0.2s;
}
.col_tag_badge::before {
  content: "#";
}
.col_tag_badge:hover {
  border-color: #ff9646;
  color: #ff9646;
}

/* ==========================================================
   single-column.php 専用スタイル
   ========================================================== */

/* ---- 記事ラッパー ---- */
.col_article {
  max-width: 860px;
  margin: 0 auto 50px;
}

/* ---- 記事ヘッダー ---- */
.col_article__header {
  margin-bottom: clamp(3.2rem, calc((100vw - 32rem) * 0.0071428571 + 3.2rem), 4.0rem);
}
.col_article__title {
  margin-bottom: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid #000;
  font-size: clamp(2.4rem, calc((100vw - 32rem) * 0.0053571429 + 2.4rem), 3rem);
  font-weight: 500;
  line-height: 1.5;
}
.col_article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.col_article__date {
  flex: 0 0 100%;
  font-size: clamp(1.2rem, calc((100vw - 32rem) * 0.0017857143 + 1.2rem), 1.4rem);
}
.col_cat_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media screen and (min-width: 769px) {
  .col_card__body  { padding: 16px 20px 20px; }
  .col_card__date  { font-size: 1.2rem; }
  .col_article__meta {
    justify-content: space-between;
  }
  .col_article__date {
    flex: 0 0 13.58%;
  }
  .col_cat_tags {
    flex: 0 0 85%;
    justify-content: flex-end;
  }
}

.col_article__eyecatch,
.column__intro {
  margin-bottom: clamp(3.0rem, calc((100vw - 32rem) * 0.0089285714 + 3.0rem), 4.0rem);
}

/* ---- 目次ボックス ---- */
.col_toc {
  margin-bottom: clamp(4.0rem, calc((100vw - 32rem) * 0.0178571429 + 4.0rem), 6.0rem);
  padding: clamp(2.4rem, calc((100vw - 32rem) * 0.0071428571 + 2.4rem), 3.2rem);;
  background-color: #eeeff0;
}
.col_toc__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.5rem, calc((100vw - 32rem) * 0.0044642857 + 1.5rem), 2.0rem);
  font-weight: 500;
  margin-bottom: 12px;
}
.col_toc__heading::before {
  content: "";
  display: block;
  width:  clamp(1.5rem, calc((100vw - 32rem) * 0.0044642857 + 1.5rem), 2.0rem);
  height: clamp(0.9rem, calc((100vw - 32rem) * 0.0044642857 + 0.9rem), 1.4rem);
  background-image: url(../imgs/column/contents.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.col_toc__list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.col_toc__list > li {
  font-size: clamp(1.4rem, calc((100vw - 32rem) * 0.0017857143 + 1.4rem), 1.6rem);
  line-height: 1.5;
  margin-bottom: 8px;
}
.col_toc__list > li a {
  color: #000;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.col_toc__list > li a:hover {
  color: #ff9646;
  border-bottom-color: #ff9646;
}
.col_toc__list > li.toc-h3 {
  position: relative;
  padding-left: 24px;
  color: #7d7d7d;
  font-size: clamp(1.3rem, calc((100vw - 32rem) * 0.0017857143 + 1.3rem), 1.5rem);
}
.col_toc__list > li.toc-h3 a {
  color: #7d7d7d;
}
.col_toc__list > li.toc-h3::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: block;
  width: 6px;
  height: 12px;
  background-image: url(../imgs/common/arrow-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(48%) sepia(7%) saturate(8%) hue-rotate(337deg) brightness(99%) contrast(83%);
}

/* ---- 記事本文 ---- */
.col_article_body {
  font-size: clamp(1.5rem, calc((100vw - 32rem) * 0.0022321429 + 1.5rem), 1.6rem);
  line-height: 1.8;
}
#section__cont .col_article_body h2 {
  margin-top: 4rem;
  margin-bottom: clamp(1.6rem, calc((100vw - 32rem) * 0.0071428571 + 1.6rem), 2.4rem);
  padding-top: clamp(1.2rem, calc((100vw - 32rem) * 0.0028409091 + 1.2rem), 1.4rem);
  padding-right: clamp(2.0rem, calc((100vw - 32rem) * 0.0056818182 + 2.0rem), 2.4rem);
  padding-bottom: clamp(1.2rem, calc((100vw - 32rem) * 0.0028409091 + 1.2rem), 1.4rem);
  padding-left: clamp(2.0rem, calc((100vw - 32rem) * 0.0056818182 + 2.0rem), 2.4rem);
  background-color: #ff9646;
  border-radius: 3px;
  color: #fff;
  text-align: left;
  font-size: clamp(2.1rem, calc((100vw - 32rem) * 0.00625 + 2.1rem), 2.8rem);
  font-weight: 500;
  line-height: 1.4;
}
.col_article_body h3 {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: clamp(1.4rem, calc((100vw - 32rem) * 0.0053571429 + 1.4rem), 2rem);
  padding-bottom: 8px;
  border-bottom: 1px solid #ff9646;
  font-size: clamp(1.8rem, calc((100vw - 32rem) * 0.0053571429 + 1.8rem), 2.4rem);
  font-weight: 500;
  line-height: 1.4;
}
.col_article_body h3::before {
  content: '';
  width: 6px;
  height: 12px;
  margin-right: 8px;
  background-image: url(../imgs/common/arrow-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(74%) sepia(11%) saturate(7500%) hue-rotate(328deg) brightness(105%) contrast(102%);
}
.col_article_body h4 {
  margin: 20px 0 10px;
  font-size: clamp(1.6rem, calc((100vw - 32rem) * 0.0035714286 + 1.6rem), 2rem);
  font-weight: 500;
}
.col_article_body p {
  margin-bottom: 18px;
}
.col_article_body ul,
.col_article_body ol {
  margin: 0 0 18px 20px;
}
.col_article_body ul li { list-style: disc; }
.col_article_body ol li { list-style: decimal; }
.col_article_body li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.col_article_body img {
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 16px;
  display: block;
}
.col_article_body a {
  position: relative;
  width: clamp(28.8rem, calc((100vw - 32rem) * 0.1138790036 + 28.8rem), 32rem)!important;
  padding-top: clamp(1rem, calc((100vw - 32rem) * 0.007800312 + 1rem), 1.5rem);
  padding-right: clamp(0.5rem, calc((100vw - 32rem) * 0.015600624 + 0.5rem), 1.5rem);
  padding-bottom: clamp(1rem, calc((100vw - 32rem) * 0.007800312 + 1rem), 1.5rem);
  padding-left: clamp(0.5rem, calc((100vw - 32rem) * 0.015600624 + 0.5rem), 1.5rem);
  background-color: #fff;
  border: 2px solid #ff9646;
  border-radius: 0;
  color: #ff9646;
  font-size: clamp(1.4rem, calc((100vw - 32rem) * 0.0071174377 + 1.4rem), 1.6rem);
}
.col_article_body a:hover {
  opacity: 0.8;
}
.col_article_body a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: block;
  width: 8px;
  height: 15px;
  background-image: url(../imgs/common/arrow-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(74%) sepia(11%) saturate(7500%) hue-rotate(328deg) brightness(105%) contrast(102%);
}
.col_article_body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.col_article_body table th,
.col_article_body table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  line-height: 1.5;
  vertical-align: top;
}
.col_article_body table th {
  background-color: #fff8f2;
  font-weight: 500;
}
.col_article_body blockquote {
  border-left: 4px solid #ff9646;
  padding: 10px 16px;
  margin: 20px 0;
  background-color: #fff8f2;
  font-size: 1.4rem;
  color: #555;
}

/* ---- 前後記事ナビ ---- */
.col_post_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 50px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  gap: 20px;
}
.col_post_nav__prev,
.col_post_nav__next {
  font-size: 1.3rem;
}
.col_post_nav__prev a,
.col_post_nav__next a {
  color: #555;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.col_post_nav__prev a:hover,
.col_post_nav__next a:hover {
  color: #ff9646;
}
.col_post_nav__next {
  text-align: right;
}

/* ---- おすすめコラム ---- */
.col_related {
  margin: 0 0 50px;
}
.col_related__heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff9646;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .col_related__heading { font-size: 2rem; }
}

/* ---- pagination ---- */
.pagination {
  display: block;
  width: 100%;
  margin-top: clamp(3.0rem, calc((100vw - 32rem) * 0.0709219858 + 3.0rem), 8.0rem);
  margin-bottom: clamp(6.0rem, calc((100vw - 32rem) * 0.0624349636 + 6.0rem), 12.0rem);
  text-align: center;
}
.pagination a {
  background: #f4f4f6;
  text-decoration: none;
}
.pagenation_org a {
  color: #ff9646;
}
/* スマホ */
@media only screen and (max-width: 667px) {
  .pagination .inner {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    height: 46px;
  }
  .pagination .page-of {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    position: absolute;
    left: 37%;
    width: 26%;
    font-weight: bold;
    color: #fff;
    height: 46px;
    line-height: 46px;
    font-size: 1.3rem;
  }
  .pagenation_org .page-of {
    background-color: #ff9646;
  }
  .pagination .m-prev {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: 0;
    -webkit-order: 0;
    order: 0;
    width: 15%;
    position: absolute;
    left: 0;
  }
  .pagination .pn-prev {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
    width: 22%;
    position: absolute;
    left: 15%;
  }
  .pagination .pn-next {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
    width: 22%;
    position: absolute;
    left: 63%;
  }
  .pagination .m-next {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 4;
    -webkit-order: 4;
    order: 4;
    width: 15%;
    position: absolute;
    left: 85%;
  }
  .pagination .current, .pagination .pn-numbers {
    display: none;
  }
  .pagination a {
    line-height: 46px;
    height: 46px;
    font-size: 1.3rem;
    font-weight: 600;
  }
}
/* PC */
@media only screen and (min-width: 668px) {
  .pagination .page-of {
    display: block;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
  }
  .pagination a, .pagination .current {
    display: inline-block;
    padding: 0 1.5em;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 50px;
    height: 50px;
    vertical-align: top;
  }
  .pagination .current {
    color: #fff;
  }
  .pagenation_org .current {
    background-color: #ff9646;
  }
  .pagination a:hover {
    background: #2C2D2F;
    color: #fff;
  }
}
