/* ========================================
   Column (Article) Pages
   - サイト共通デザインシステム準拠
   - top.css / style.min.css のトーンに合わせる
   ======================================== */

/* ===== HERO ===== */
.column-hero-section {
  padding-top: 20px;
}
.column-hero {
  padding: 18px 12px 8px;
}
.column-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #1f4f8a;
}
.column-hero__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #425166;
  letter-spacing: .08em;
}
.column-hero__desc {
  color: #5a6b7f;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ===== FILTER ===== */
.column-archive {
  padding: 6px 0 80px;
  background: #f3f6fa;
}
.column-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid #e3e9f1;
  box-shadow: 0 10px 24px rgba(17,34,58,.08);
  margin: 12px 0 22px;
}
.column-filter button {
  border: none;
  background: #f1f4f8;
  color: #2b3a4f;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.column-filter button:hover {
  background: #e2e8f0;
}
.column-filter button.is-active {
  background: #1f4f8a;
  color: #fff;
}

/* ===== CARD GRID ===== */
.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.column-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 26px rgba(17,34,58,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.column-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31,45,61,.12);
  color: inherit;
  text-decoration: none;
}
.column-card__thumb {
  aspect-ratio: 16/9;
  background: #e8f4fd;
  overflow: hidden;
  position: relative;
}
.column-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
}
.column-card__thumb-placeholder i {
  font-size: 2.8rem;
  color: #b0c4d6;
}
.column-card__body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.column-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #5a6b7f;
  font-weight: 600;
  font-size: .9rem;
}
.column-card__meta time {
  font-size: .85rem;
  color: #6b7b8c;
}
.column-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e9eff7;
  color: #1f4f8a;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.column-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: #14263f;
  margin-bottom: 8px;
}
.column-card__desc {
  font-size: .85rem;
  color: #5a6b7f;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Article Detail
   ======================================== */
.column-detail {
  padding: 6px 0 80px;
  background: #f3f6fa;
}
.column-detail .container {
  max-width: 900px;
}
.column-detail__header {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(31,45,61,.08);
  padding: 22px 24px;
  margin-bottom: 24px;
}
.column-detail__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #5a6b7f;
  font-weight: 600;
  font-size: .9rem;
  flex-wrap: wrap;
}
.column-detail__meta time {
  font-size: .9rem;
  color: #6b7b8c;
}
.column-detail__title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.5;
  color: #14263f;
  margin: 0;
}

/* Article Body - news-article-wrap スタイル踏襲 */
.column-detail__body {
  background: #fff;
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: 0 18px 40px rgba(17,34,58,.12);
  border: 1px solid #e7edf5;
  color: #243244;
  font-size: 1rem;
  line-height: 1.9;
}
.column-detail__body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f4f8a;
  margin-top: 2.2rem;
  margin-bottom: .9rem;
  background: #f1f5fb;
  border-radius: 12px;
  padding: .5rem .9rem;
  display: inline-block;
}
/* h2をブロック表示に（inline-blockだと後続要素が横に回り込むため） */
.column-detail__body h2 + * {
  clear: both;
}
.column-detail__body h2::after {
  content: "";
  display: block;
}
.column-detail__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #22324a;
  margin-top: 1.4rem;
  margin-bottom: .6rem;
  border-left: 4px solid #1f4f8a;
  padding-left: .75rem;
}
.column-detail__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #22324a;
  margin: 1.2rem 0 .5rem;
}
.column-detail__body p {
  margin-bottom: 1rem;
}
.column-detail__body a {
  color: #1f4f8a;
  font-weight: 600;
  text-decoration: underline;
}
.column-detail__body ul,
.column-detail__body ol {
  padding-left: 1.25rem;
  margin: .75rem 0 1.5rem;
}
.column-detail__body ul {
  list-style: disc;
}
.column-detail__body ol {
  list-style: decimal;
}
.column-detail__body li {
  margin-bottom: .6rem;
}

/* テーブル - pricetable2 テイスト */
.column-detail__body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 4px 24px rgba(44,109,182,.08);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}
.column-detail__body table thead th {
  background: linear-gradient(to right, #e8f4fd 60%, #f9fbff 100%);
  font-weight: 700;
  color: #2c6db6;
  border-bottom: 2px solid #b0c4d6;
  padding: 1em;
  letter-spacing: .03em;
  text-align: left;
}
.column-detail__body table th,
.column-detail__body table td {
  padding: .8em 1em;
  border-bottom: 1px solid #e0eafc;
  text-align: left;
  vertical-align: top;
}
.column-detail__body table tbody tr {
  transition: background .2s;
}
.column-detail__body table tbody tr:nth-of-type(odd) {
  background: #f7fbff;
}
.column-detail__body table tbody tr:nth-of-type(even) {
  background: #fff;
}
.column-detail__body table tbody tr:hover {
  background: #e0f0ff;
}
.column-detail__body table th:not(thead th) {
  background: #f7fbff;
  font-weight: 700;
  color: #174a7c;
}
.column-detail__body .highlight-row {
  background: #e8f4fd !important;
}
.column-detail__body .highlight-row td {
  font-weight: 700;
  color: #174a7c;
}

/* 注意ボックス・ポイントボックス */
.column-detail__body .note-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ffaa1c;
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
  font-size: .9rem;
  color: #5d4e37;
}
.column-detail__body .point-box {
  background: #e8f4fd;
  border: 1px solid #b0c4d6;
  border-left: 4px solid #2c6db6;
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
  font-size: .9rem;
  color: #174a7c;
}
.column-detail__body blockquote {
  background: #f9fbff;
  border-left: 4px solid #b0c4d6;
  padding: 16px 20px;
  margin: 1.5rem 0;
  color: #3a4a5c;
  border-radius: 0 12px 12px 0;
}

/* ===== CTA Buttons (base) ===== */
.column-cta .btn-primary-saas,
.column-cta .btn-outline-saas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: 1.5px solid transparent;
}

/* ===== CTA ===== */
.column-cta {
  margin: 48px 0 36px;
}
.column-cta__inner {
  background: linear-gradient(135deg, #1a5ba6 0%, #2c6db6 40%, #05a7f2 100%);
  color: #fff;
  border-radius: 22px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(44,109,182,.22);
  position: relative;
  overflow: hidden;
}
.column-cta__inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.column-cta__inner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.column-cta__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: .02em;
  position: relative;
}
.column-cta__desc {
  font-size: 1rem;
  opacity: 0.93;
  margin-bottom: 32px;
  line-height: 1.9;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.column-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.column-cta__buttons .btn-primary-saas {
  background: #fff;
  color: #2c6db6;
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  font-size: 16px;
  padding: 18px 40px;
}
.column-cta__buttons .btn-primary-saas:hover {
  background: #f0f6ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  color: #1a5ba6;
}
.column-cta__buttons .btn-outline-saas {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  background: transparent;
  font-size: 16px;
  padding: 18px 40px;
}
.column-cta__buttons .btn-outline-saas:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

/* ===== BACK LINK ===== */
.column-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #1f4f8a;
  border-radius: 999px;
  padding: 10px 22px;
  margin-top: 24px;
  box-shadow: 0 6px 16px rgba(31,79,138,.2);
  transition: opacity .2s;
}
.column-back:hover {
  text-decoration: none;
  opacity: .9;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .column-hero__eyebrow {
    font-size: 2rem;
  }
  .column-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .column-card__body {
    padding: 16px;
  }
  .column-card__title {
    font-size: .98rem;
  }
  .column-detail__header {
    padding: 16px;
  }
  .column-detail__title {
    font-size: 1.25rem;
  }
  .column-detail__body {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .column-detail__body h2 {
    font-size: 1.1rem;
  }
  .column-detail__body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  .column-cta__inner {
    padding: 36px 20px;
    border-radius: 16px;
  }
  .column-cta__title {
    font-size: 1.25rem;
  }
  .column-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .column-cta__buttons .btn-primary-saas,
  .column-cta__buttons .btn-outline-saas {
    padding: 16px 24px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ===== SERVICE LINK CARD (OGP風) ===== */
.service-link-card {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s ease, transform .25s ease;
  margin: 1.2rem 0;
  background: #fff;
}
.service-link-card:hover {
  box-shadow: 0 8px 24px rgba(31,45,61,.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.service-link-card__thumb {
  flex: 0 0 200px;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-link-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-link-card__thumb--placeholder {
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}
.service-link-card__thumb--placeholder .service-icon {
  font-size: 2rem;
  color: #b0c4d6;
}
.service-link-card__thumb--placeholder .service-initial {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #2c6db6;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.02em;
}
.service-link-card__body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.service-link-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: #14263f;
  margin-bottom: 4px;
  line-height: 1.4;
}
.service-link-card__desc {
  font-size: .8rem;
  color: #5a6b7f;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-link-card__url {
  font-size: .75rem;
  color: #8a9bb0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-link-card__url i {
  font-size: .8rem;
}

@media (max-width: 767px) {
  .service-link-card {
    flex-direction: column;
  }
  .service-link-card__thumb {
    flex: none;
    height: 120px;
  }
  .service-link-card__body {
    padding: 14px 16px;
  }
}
