/* コラム欄専用CSS（既存 style.css の :root 変数を使用）。モバイルファースト、PCは 901px〜 */

.column-main {
  padding: 24px 0 64px;
  color: var(--text);
  background: #fff;
}
.column-main a { color: var(--green_d); }
.column-main img { max-width: 100%; height: auto; }

/* パンくず */
.column-breadcrumb { margin: 0 0 16px; font-size: .8125rem; color: var(--muted); }
.column-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.column-breadcrumb li + li::before { content: "›"; margin: 0 .5em; color: var(--muted); }
.column-breadcrumb a { color: var(--muted); text-decoration: underline; }

/* 記事 */
.column-article { max-width: 760px; margin: 0 auto; }
.column-article__cat { margin: 0 0 8px; font-size: .8125rem; }
.column-article__cat a {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 700;
}
.column-article__title { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.5; font-weight: 700; }
.column-article__meta { margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .8125rem; color: var(--muted); }
.column-article__eyecatch { margin: 0 0 24px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.column-article__img { display: block; width: 100%; height: auto; }

/* 目次 */
.column-toc {
  margin: 0 0 32px; padding: 16px 20px; background: #f7fbf9;
  border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: 8px;
}
.column-toc__title { margin: 0 0 8px; font-weight: 700; }
.column-toc__list, .column-toc__sub { margin: 0; padding-left: 1.4em; }
.column-toc__list > li { margin: 6px 0; }
.column-toc__sub { margin-top: 4px; font-size: .9375rem; }
.column-toc a { color: var(--text); text-decoration: none; }
.column-toc a:hover { color: var(--green_d); text-decoration: underline; }

/* 本文タイポグラフィ */
.column-content { font-size: 1rem; line-height: 1.9; word-break: break-word; overflow-wrap: anywhere; }
.column-content > * + * { margin-top: 1.2em; }
.column-content h2 {
  margin: 2.4em 0 .8em; padding: .4em 0 .4em .7em; font-size: 1.375rem; line-height: 1.5;
  border-left: 5px solid var(--green); background: #f7fbf9; scroll-margin-top: 80px;
}
.column-content h3 {
  margin: 2em 0 .6em; padding-bottom: .3em; font-size: 1.125rem; line-height: 1.5;
  border-bottom: 2px solid var(--green); scroll-margin-top: 80px;
}
.column-content h4 { margin: 1.6em 0 .5em; font-size: 1rem; }
.column-content p { margin: 0; }
.column-content ul, .column-content ol { padding-left: 1.6em; }
.column-content li + li { margin-top: .4em; }
.column-content a { text-decoration: underline; }
.column-content blockquote {
  margin: 1.5em 0; padding: 1em 1.2em; background: #fafafa; border-left: 4px solid var(--border); color: var(--muted);
}
.column-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.column-content th, .column-content td { border: 1px solid var(--border); padding: .6em .8em; text-align: left; }
.column-content th { background: #f7fbf9; }
.column-content figure { margin: 1.5em 0; }
.column-content figcaption { margin-top: .4em; font-size: .8125rem; color: var(--muted); }

/* FAQ アコーディオン（<details><summary>質問</summary>回答</details>） */
.column-content details { border: 1px solid var(--border); border-radius: 8px; background: #fff; margin: 0; }
.column-content details + details { margin-top: .6em; }
.column-content summary {
  cursor: pointer; padding: .8em 2.4em .8em 1em; font-weight: 700; line-height: 1.6; list-style: none; position: relative;
}
.column-content summary::-webkit-details-marker { display: none; }
.column-content summary::after {
  content: "+"; position: absolute; right: 1em; top: 50%; transform: translateY(-50%); color: var(--green_d); font-size: 1.25rem; line-height: 1;
}
.column-content details[open] > summary { border-bottom: 1px solid var(--border); background: #f7fbf9; }
.column-content details[open] > summary::after { content: "−"; }
.column-content summary:hover { color: var(--green_d); }
.column-content summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.column-content details > :not(summary) { margin: 0; padding: .8em 1em; }
.column-content details > :not(summary) + :not(summary) { padding-top: 0; }

/* 著者ボックス */
.column-author {
  margin: 48px 0 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
  box-shadow: var(--shadow);
}
.column-author__label { margin: 0; font-size: .75rem; color: var(--muted); }
.column-author__name { margin: 2px 0 8px; font-size: 1.0625rem; font-weight: 700; }
.column-author__text { margin: 0 0 12px; font-size: .9375rem; line-height: 1.8; }
.column-author__note { margin: 0 0 12px; font-size: .875rem; line-height: 1.8; color: var(--muted); }
.column-author__links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; }

/* 編集方針ページ（.column-article の幅と .column-content の本文体裁を流用） */
.editorial-policy { max-width: 760px; }
.editorial-policy__body > :first-child { margin-top: 0; }
.editorial-policy__body dl { margin: 0; }
.editorial-policy__body dt { margin-top: 1em; font-weight: 700; }
.editorial-policy__body dd { margin: .2em 0 0; padding-left: 1em; }
.editorial-policy__back { margin: 40px 0 0; font-size: .9375rem; }
.editorial-policy__back a { color: var(--green_d); text-decoration: underline; }

/* CTA */
.column-cta {
  margin: 40px 0 0; padding: 24px 16px; border-radius: 16px; background: var(--peach);
}
.column-cta__title { margin: 0 0 8px; font-size: 1.25rem; text-align: center; }
.column-cta__lead { margin: 0 0 20px; text-align: center; font-size: .9375rem; }
.column-cta__locs { display: grid; grid-template-columns: 1fr; gap: 16px; }
.column-cta__loc { padding: 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.column-cta__name { margin: 0 0 10px; font-size: 1rem; line-height: 1.5; }
.column-cta__dl { margin: 0 0 14px; font-size: .875rem; line-height: 1.7; }
.column-cta__dl dt { margin-top: 8px; font-weight: 700; color: var(--muted); font-size: .75rem; }
.column-cta__dl dd { margin: 0; }
.column-cta__line { display: block; }
.column-cta__map { display: inline-block; margin-left: .5em; font-size: .8125rem; }
.column-cta__actions { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.column-cta__page { text-align: center; font-size: .875rem; }
.column-cta__note { margin: 16px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }

/* ボタン */
.column-btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; text-align: center; font-weight: 700;
  background: var(--orange); color: #fff !important; text-decoration: none !important; line-height: 1.4;
}
.column-btn:hover { opacity: .88; }
.column-btn--line { background: var(--orange); }
.column-btn--ghost { background: #fff; color: var(--green_d) !important; border: 2px solid var(--green); }

/* 関連記事 */
.column-related { margin: 48px 0 0; }
.column-related__title { margin: 0 0 16px; font-size: 1.25rem; }

/* 一覧 */
.column-archive__header { margin: 0 0 20px; }
.column-archive__title { margin: 0 0 8px; font-size: 1.625rem; line-height: 1.5; }
.column-archive__lead { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.column-archive__policy { margin: 8px 0 0; font-size: .875rem; line-height: 1.8; }
.column-chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.column-chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--green);
  color: var(--green_d) !important; text-decoration: none; font-size: .875rem; background: #fff;
}
.column-chip.is-current { background: var(--green); color: #fff !important; }
.column-empty { padding: 32px 0; text-align: center; color: var(--muted); }

/* カード */
.column-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.column-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.column-card__link { display: block; height: 100%; color: inherit !important; text-decoration: none !important; }
.column-card__thumb { aspect-ratio: 16 / 9; background: #eef6f2; overflow: hidden; }
.column-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.column-card__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--green), var(--peach)); }
.column-card__body { padding: 14px 16px 18px; }
.column-card__cat { display: inline-block; margin-bottom: 6px; font-size: .75rem; font-weight: 700; color: var(--green_d); }
.column-card__title { margin: 0 0 6px; font-size: 1rem; line-height: 1.55; color: var(--text); }
.column-card__date { display: block; margin-bottom: 6px; font-size: .75rem; color: var(--muted); }
.column-card__excerpt { margin: 0; font-size: .8125rem; line-height: 1.7; color: var(--muted); }
.column-card__link:hover .column-card__title { color: var(--green_d); }

/* ページ送り */
.column-main .pagination { margin: 32px 0 0; }
.column-main .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.column-main .page-numbers {
  display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); text-decoration: none; background: #fff;
}
.column-main .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.column-main .screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 404 */
.column-404 { max-width: 640px; margin: 40px auto; text-align: center; }
.column-404__title { margin: 0 0 12px; font-size: 1.5rem; }
.column-404__text { margin: 0 0 24px; color: var(--muted); line-height: 1.8; }
.column-404__links { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* PC */
@media (min-width: 901px) {
  .column-main { padding: 40px 0 96px; }
  .column-article__title { font-size: 2rem; }
  .column-content h2 { font-size: 1.5rem; }
  .column-content h3 { font-size: 1.25rem; }
  .column-archive__title { font-size: 2rem; }
  .column-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .column-cta { padding: 32px; }
  .column-cta__locs { grid-template-columns: repeat(2, 1fr); }
  .column-cta__actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .column-404__links { flex-direction: row; justify-content: center; }
}

/* GHPコラム CTA（ghp-wp-poster）2026-10-13 記事本文に入るCTA（ghp-wp-poster が挿入） */
.ghp-cta{margin:2em 0;text-align:center}
.ghp-cta-band{margin:0 0 .8em}
.ghp-cta-band img{width:100%;height:auto}
.ghp-cta-button{text-align:center;margin:.6em 0}
.ghp-cta-button a{display:inline-block;border-radius:999px;animation:ghpPulse 2.4s ease-in-out infinite}
.ghp-cta-button a img{display:block;max-width:100%;height:auto}
.ghp-cta-button + .ghp-cta-button a{animation-delay:1.2s}
@keyframes ghpPulse{0%,70%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(6,199,85,0)}35%{transform:scale(1.05);box-shadow:0 0 0 10px rgba(6,199,85,.18)}}
.ghp-cta-float{display:none}
@media (max-width:767px){
.ghp-cta-float{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:9999;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);box-shadow:0 -2px 10px rgba(0,0,0,.12)}
.ghp-cta-float-btn{flex:1;display:block;text-align:center;padding:12px 4px;border-radius:999px;background:#06C755;color:#fff!important;font-weight:700;font-size:14px;line-height:1.2;text-decoration:none!important;animation:ghpPulse 2.4s ease-in-out infinite}
.ghp-cta-float-btn--shinsaibashi{animation-delay:1.2s}
body:has(.ghp-cta-float){padding-bottom:72px}
}
@media (prefers-reduced-motion:reduce){.ghp-cta-button a,.ghp-cta-float-btn{animation:none}}
