/* =========================================
   お役立ちコラム（一覧・記事）
   style.css の変数（--pink など）を利用
========================================= */

.column-page {
  background: #fff;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.8;
}

.col-container {
  width: min(1120px, 90vw);
  margin-inline: auto;
}
.col-container--narrow {
  width: min(800px, 90vw);
}

/* ---------- header ---------- */
.col-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--pink-pale);
  backdrop-filter: blur(6px);
}
.col-header__inner {
  width: min(1120px, 90vw);
  margin-inline: auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.col-header__brand img {
  display: block;
  width: 170px;
  height: auto;
}
.col-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.col-header__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
}
.col-header__link:hover { color: var(--pink-dark); }
.col-header__link { white-space: nowrap; }
@media (max-width: 480px) {
  .col-header__long { display: none; }
  .col-header__nav { gap: 10px; }
  .col-header__link { font-size: 13px; }
}
.col-header__cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.col-header__cta:hover { background: var(--orange-dark); }

/* ---------- hero (list) ---------- */
.col-hero {
  background: linear-gradient(135deg, var(--pink-pale) 0%, #fff4ec 100%);
  padding: 56px 0 48px;
  text-align: center;
}
.col-hero__en {
  display: block;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  margin-bottom: 6px;
}
.col-hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}
.col-hero__lead {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- breadcrumbs ---------- */
.col-breadcrumbs {
  padding: 18px 0;
  font-size: 12px;
  color: var(--c-sub);
}
.col-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.col-breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: #bbb;
}
.col-breadcrumbs a {
  color: var(--c-sub);
  text-decoration: underline;
}
.col-breadcrumbs span {
  display: inline-block;
  max-width: 40em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* ---------- category chips / search ---------- */
.col-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 32px;
}
.col-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.col-cats__item {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--pink);
  border-radius: var(--radius-pill);
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.col-cats__item:hover,
.col-cats__item.is-current {
  background: var(--pink);
  color: #fff;
}
.col-search {
  display: flex;
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
}
.col-search input {
  width: 220px;
  padding: 8px 16px;
  font-size: 14px;
  border: 0;
  outline: none;
}
.col-search button {
  padding: 8px 18px;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- cards ---------- */
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.col-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.col-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}
.col-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.col-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--pink-pale);
  overflow: hidden;
}
.col-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.col-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}
.col-card__cat {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--pink-pale);
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 700;
}
.col-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}
.col-card__excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-sub);
  flex: 1;
}
.col-card__date {
  font-size: 12px;
  color: #999;
}

.col-empty {
  text-align: center;
  padding: 64px 16px;
  background: #fafafa;
  border-radius: var(--radius);
  color: var(--c-sub);
}

/* ---------- pagination ---------- */
.col-pagination {
  margin-top: 48px;
}
.col-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.col-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #e5e5e5;
  color: var(--c-text);
  font-weight: 700;
  text-decoration: none;
}
.col-pagination .page-numbers.current,
.col-pagination a.page-numbers:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.col-pagination .dots { border: 0; }

/* ---------- article ---------- */
.col-article__header {
  margin: 8px 0 32px;
}
.col-article__cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 12px;
}
.col-article__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
}
.col-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 13px;
  color: var(--c-sub);
}
.col-article__thumb {
  margin: 24px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.col-article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* 目次 */
.col-toc {
  margin: 32px 0 40px;
  padding: 24px 28px;
  background: #fff8fa;
  border: 1px solid var(--pink-pale);
  border-radius: 12px;
}
.col-toc__title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--pink-dark);
}
.col-toc ol {
  counter-reset: toc;
  padding-left: 0;
}
.col-toc li {
  counter-increment: toc;
  margin: 6px 0;
  font-size: 15px;
}
.col-toc > ol > li > a::before {
  content: counter(toc) ". ";
  font-weight: 700;
  color: var(--pink);
}
.col-toc li ol {
  padding-left: 1.4em;
}
.col-toc li li {
  font-size: 14px;
  list-style: none;
}
.col-toc li li a::before {
  content: "- ";
  color: #bbb;
}
.col-toc a {
  color: var(--c-text);
  text-decoration: none;
}
.col-toc a:hover { color: var(--pink-dark); text-decoration: underline; }
/* 本文（.col-content）のリスト・リンク装飾を目次には適用しない */
.col-content .col-toc ol { list-style: none; padding-left: 0; margin: 0; }
.col-content .col-toc li ol { padding-left: 1.4em; }
.col-content .col-toc li { margin: 6px 0; }
.col-content .col-toc li::marker { content: none; }
.col-content .col-toc a { color: var(--c-text); text-decoration: none; }
.col-content .col-toc a:hover { color: var(--pink-dark); text-decoration: underline; }
.col-content > .col-toc { margin-top: 32px; }

/* 本文 */
.col-content {
  font-size: 16px;
  line-height: 2;
  word-break: break-word;
}
.col-content > * + * { margin-top: 1.5em; }
.col-content h2 {
  margin-top: 2.6em;
  padding: 14px 18px;
  background: var(--pink-pale);
  border-left: 6px solid var(--pink);
  border-radius: 0 8px 8px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  scroll-margin-top: 90px;
}
.col-content h3 {
  margin-top: 2.2em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink-pale);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  scroll-margin-top: 90px;
}
.col-content h4 {
  margin-top: 1.8em;
  font-size: 17px;
  font-weight: 700;
  padding-left: 12px;
  border-left: 4px solid var(--orange);
}
.col-content a { color: var(--pink-dark); text-decoration: underline; }
.col-content strong, .col-content b { font-weight: 700; background: linear-gradient(transparent 62%, #ffe3ea 62%); }
.col-content em { font-style: italic; }
.col-content ul, .col-content ol { padding-left: 1.6em; }
.col-content ul { list-style: disc; }
.col-content ol { list-style: decimal; }
.col-content li { margin: .4em 0; }
.col-content li::marker { color: var(--pink); }
.col-content blockquote {
  padding: 20px 24px;
  background: #fafafa;
  border-left: 4px solid #ddd;
  color: #555;
}
.col-content blockquote cite { display: block; margin-top: 8px; font-size: 13px; color: #888; }
.col-content img { max-width: 100%; height: auto; border-radius: 8px; }
.col-content figure { margin-inline: 0; }
.col-content figcaption { font-size: 13px; color: var(--c-sub); text-align: center; margin-top: 6px; }
.col-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.col-content .wp-block-table { overflow-x: auto; }
.col-content th, .col-content td {
  border: 1px solid #e5e5e5;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.col-content th, .col-content thead td { background: #fff5f7; font-weight: 700; }
.col-content hr { border: 0; border-top: 1px dashed #ddd; margin: 2.5em 0; }
.col-content .wp-block-button__link {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 36px;
}
.col-content .has-background { padding: 20px 24px; border-radius: 12px; }
.col-content iframe { max-width: 100%; }

.col-page-links { margin-top: 32px; font-weight: 700; }

.col-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.col-article__tags a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #f4f4f4;
  color: var(--c-sub);
  font-size: 13px;
  text-decoration: none;
}

.col-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid #eee;
  border-radius: 12px;
}
.col-author img { width: 120px; height: auto; flex: 0 0 auto; }
.col-author__name { font-weight: 700; font-size: 14px; }
.col-author__text { font-size: 13px; color: var(--c-sub); line-height: 1.7; margin-top: 4px; }

/* ---------- CTA ---------- */
.col-cta {
  margin: 56px 0;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ff8aa6 0%, var(--pink) 100%);
  color: #fff;
  text-align: center;
}
.col-cta__sub {
  display: inline-block;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 700;
}
.col-cta__title {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}
.col-cta__points {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px auto 24px;
  text-align: left;
  font-size: 15px;
}
.col-cta__points li::before {
  content: "✓";
  margin-right: 8px;
  font-weight: 700;
}
.col-cta__btn {
  display: block;
  max-width: 420px;
  margin-inline: auto;
  padding: 18px 24px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  box-shadow: 0 6px 0 var(--orange-dark);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.col-cta__btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--orange-dark); }

/* ---------- related / back ---------- */
.col-related { margin-top: 24px; }
.col-related__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 5px solid var(--pink);
}
.col-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.col-grid--3 .col-card__title { font-size: 15px; }
.col-grid--3 .col-card__excerpt { display: none; }
.col-back {
  text-align: center;
  margin: 48px 0 72px;
}
.col-back a {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid var(--pink);
  border-radius: var(--radius-pill);
  color: var(--pink-dark);
  font-weight: 700;
  text-decoration: none;
}
.col-back a:hover { background: var(--pink); color: #fff; }

.col-main { padding-bottom: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .col-header__inner { height: 60px; }
  .col-header__brand img { width: 130px; }
  .col-header__nav { gap: 12px; }
  .col-header__link { font-size: 12px; }
  .col-header__cta { padding: 8px 14px; font-size: 12px; }

  .col-hero { padding: 40px 0 32px; }
  .col-hero__title { font-size: 24px; }
  .col-hero__lead { font-size: 14px; text-align: left; }

  .col-tools { flex-direction: column; align-items: stretch; }
  .col-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .col-cats__item { flex: 0 0 auto; }
  .col-search input { width: 100%; flex: 1; }

  .col-grid, .col-grid--3 { grid-template-columns: 1fr; gap: 20px; }
  .col-grid--3 .col-card__link { flex-direction: row; }
  .col-grid--3 .col-card__thumb { flex: 0 0 40%; aspect-ratio: 4 / 3; }
  .col-grid--3 .col-card__body { padding: 12px 14px; }
  .col-grid--3 .col-card__title { font-size: 14px; }

  .col-article__title { font-size: 22px; }
  .col-content { font-size: 15px; line-height: 1.95; }
  .col-content h2 { font-size: 19px; padding: 12px 14px; }
  .col-content h3 { font-size: 17px; }
  .col-toc { padding: 18px 20px; }

  .col-author { flex-direction: column; align-items: flex-start; }

  .col-cta { padding: 28px 20px; margin: 40px 0; }
  .col-cta__title { font-size: 19px; }
  .col-cta__points { font-size: 14px; }
  .col-cta__btn { font-size: 15px; }

  .col-breadcrumbs span { max-width: 16em; }
}
