/* Article pages under /hello-training/column/ */

.column-main {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 34%);
}

.column-container {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

/* お役立ち記事「一覧」ページのみ、LP と同じ 1160px 幅に広げる（個別記事ページは 920px のまま） */
.column-list .column-container {
  width: min(1160px, calc(100% - 40px));
}

/* 個別記事ページのアイキャッチ（OGP共通の 1.91:1） */
.column-hero-media {
  margin: 22px 0 0;
}

.column-hero-thumb {
  position: relative;
  aspect-ratio: 1.91 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf2ff 0%, #d7e7ff 100%);
}

.column-hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-hero-thumb:empty::after {
  content: "記事イメージ";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-2);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .1em;
  opacity: .5;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: .84rem;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: #98a2b3;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.column-hero {
  padding: 56px 0 18px;
}

.column-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 13px;
  border: 1px solid rgba(37, 123, 253, .22);
  border-radius: 999px;
  background: rgba(37, 123, 253, .08);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
}

.column-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.35;
}

.column-lead {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 1.06rem;
  line-height: 1.95;
}

.column-meta {
  color: var(--muted);
  font-size: .86rem;
}

.column-status-box,
.column-final-cta {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid rgba(37, 123, 253, .22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(37, 123, 253, .10);
}

.column-status-box p:last-of-type,
.column-final-cta p:last-of-type {
  margin-bottom: 0;
}

.column-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.column-layout {
  padding: 12px 0 88px;
}

.column-filter {
  margin: 8px 0 30px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 34, 56, .06);
}

.column-filter-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.column-filter-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.column-filter-status {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.column-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.column-filter-button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #b8cee5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.column-filter-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  font-family: var(--font-en);
  font-size: .72rem;
}

.column-filter-button:hover {
  border-color: var(--blue-2);
  background: var(--pale-2);
  color: var(--blue);
}

.column-filter-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.column-filter-button.is-active span {
  background: #fff;
  color: var(--blue);
}

.column-list .column-card[hidden] {
  display: none;
}

.column-article {
  min-width: 0;
}

.column-article > p,
.column-section > p {
  margin: 0 0 1.5em;
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.column-article h2 {
  position: relative;
  margin-top: 66px;
  margin-bottom: 22px;
  padding: 0 0 0 18px;
  border-top: none;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.42;
  color: var(--ink);
}

.column-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  bottom: .2em;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
}

.column-article h3 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--blue);
}

.column-article ul,
.column-article ol {
  margin: 0 0 1.6em;
  padding-left: 1.3em;
  color: var(--ink-soft);
  line-height: 1.95;
}

.column-article li + li {
  margin-top: 8px;
}

.column-article ul li::marker {
  color: var(--blue-2);
}

.column-article strong {
  color: var(--blue);
  font-weight: 900;
}

.column-article a {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 4px;
}

.column-keypoints {
  margin: 34px 0 44px;
  padding: 24px 26px;
  border: 1px solid rgba(37, 123, 253, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow: 0 14px 34px rgba(16, 34, 56, .07);
}

.column-article .column-keypoints h2 {
  margin: 0 0 18px;
  padding: 0;
  font-size: 1.28rem;
}

.column-article .column-keypoints h2::before {
  content: none;
}

.column-keypoints ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-keypoints li {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) 1fr;
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(37, 123, 253, .14);
}

.column-keypoints li:first-child {
  padding-top: 0;
  border-top: none;
}

.column-keypoints li + li {
  margin-top: 0;
}

.column-keypoints strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.column-keypoints span {
  color: var(--ink-soft);
  line-height: 1.75;
}

.column-callout {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(37, 123, 253, .22);
  border-left: 6px solid var(--blue-2);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pale), #fff 72%);
  box-shadow: 0 12px 28px rgba(37, 123, 253, .08);
}

.column-callout p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink);
}

/* 記事本文内の補足図解 */
.column-figure {
  margin: 32px 0 40px;
}

.column-figure-media {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
}

.column-figure-media picture {
  display: block;
}

.column-figure-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(37, 123, 253, .18);
  border-radius: 16px;
  background: #f7fbff;
}

.column-figure-media.is-missing {
  aspect-ratio: 2 / 1;
  border: 1px dashed rgba(37, 123, 253, .38);
}

.column-figure-media.is-missing::after {
  content: "図解画像を追加予定\A" attr(data-file);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--blue);
  font-family: var(--font-en), var(--font-jp);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
  white-space: pre-wrap;
}

.column-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.7;
}

.table-scroll {
  margin: 22px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.column-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
}

.column-table th,
.column-table td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  line-height: 1.7;
}

.column-table thead th {
  background: rgba(37, 123, 253, .08);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.column-table tbody tr:nth-child(even) {
  background: #f7fbff;
}

.column-table td:last-child {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* PC幅では段落の折り返しを許可し、横スクロールが出ないようにする（モバイルは従来どおりスクロール） */
@media (min-width: 721px) {
  .column-table td:last-child {
    white-space: normal;
  }
}

.column-note {
  margin: 14px 0 1.7em;
  padding: 12px 16px;
  border: 1px solid rgba(37, 123, 253, .16);
  border-left: 4px solid rgba(37, 123, 253, .48);
  border-radius: 10px;
  background: rgba(247, 251, 255, .9);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.75;
}

.faq-list + .column-note {
  margin-top: 28px;
}

.column-map {
  margin: 24px 0 30px;
}

.column-map iframe {
  height: 340px;
}

.column-article .column-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 1.8em;
  padding: 0;
  list-style: none;
}

.column-check-list li {
  position: relative;
  padding: 14px 18px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-soft);
  line-height: 1.75;
}

.column-check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.35em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 0 5px rgba(37, 123, 253, .12);
}

.column-toc {
  margin-bottom: 34px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--pale-2), #fff);
}

.related-articles {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.column-toc-title,
.related-articles-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 900;
}

.column-toc-title::before,
.related-articles-title::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-2);
}

.column-toc ol {
  counter-reset: toc;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.column-toc li {
  counter-increment: toc;
  position: relative;
  padding: 0 0 0 36px;
  line-height: 1.65;
}

.column-toc li + li {
  margin-top: 12px;
}

.column-toc li::before {
  content: counter(toc);
  position: absolute;
  left: 0;
  top: .05em;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(37, 123, 253, .12);
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: .82rem;
}

.column-toc a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.column-toc a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-articles ul {
  margin: 0;
  padding-left: 1.2em;
}

.faq-list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 34, 56, .05);
}

.column-article .faq-item h3 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 42px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.6;
}

.column-article .faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: -1px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: .98rem;
}

.faq-a {
  position: relative;
  padding-left: 42px;
}

.faq-a::before {
  content: "A";
  position: absolute;
  left: 0;
  top: -1px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(37, 123, 253, .12);
  color: var(--blue-2);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: .98rem;
}

.faq-a p {
  margin: 0;
  line-height: 1.9;
}

@media (max-width: 720px) {
  .column-container {
    width: min(100% - 28px, 920px);
  }

  .column-hero {
    padding: 34px 0 14px;
  }

  .column-layout {
    padding-top: 10px;
  }

  .column-filter {
    margin-bottom: 24px;
    padding: 20px 16px;
  }

  .column-filter-heading {
    display: block;
  }

  .column-filter-status {
    margin-top: 5px;
  }

  .column-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column-filter-button {
    width: 100%;
    padding-inline: 10px;
  }

  .column-status-box,
  .column-keypoints,
  .column-final-cta {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .column-keypoints li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .column-status-actions .button {
    width: 100%;
  }

  .column-article h2 {
    margin-top: 52px;
  }

  .column-callout {
    padding: 18px 18px;
  }

  .column-figure {
    margin: 26px 0 34px;
  }

  .column-figure-media,
  .column-figure-media img {
    border-radius: 12px;
  }

  .column-figure-media--responsive.is-missing {
    aspect-ratio: 3 / 4;
  }

  .faq-item {
    padding: 18px 16px;
  }

  .column-article .faq-item h3 {
    padding-left: 38px;
  }

  .faq-a {
    padding-left: 38px;
  }
}