/*
 * omotenashi-article-cta.css
 *
 * 記事本文内の業種LPへのCTAブロック用スタイル
 * デザインシステム v2 準拠（--om-* CSS変数を使用）
 *
 * 提供クラス:
 *   .om-article-cta              : 共通コンテナ
 *   .om-article-cta--inline      : 本文中の小型CTA（1業種）
 *   .om-article-cta--section     : セクション末CTA（1業種・中規模）
 *   .om-article-cta--grid        : 記事末9業種LP一覧（大規模）
 */

/* ============ 共通 ============ */
.om-article-cta {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--om-text-1);
  margin: 2.5em 0;
  box-sizing: border-box;
}
.om-article-cta * { box-sizing: border-box; }
.om-article-cta a { text-decoration: none; }

/* ============ inline: 本文中の軽量CTA（1業種・1-2行） ============ */
.om-article-cta--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1em 1.25em;
  background: var(--om-primary-tint);
  border-left: 4px solid var(--om-primary);
  border-radius: 4px;
  margin: 1.5em 0;
}
.om-article-cta--inline .om-article-cta__text {
  flex: 1;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--om-text-1);
}
.om-article-cta--inline .om-article-cta__button {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.6em 1.2em;
  background: var(--om-cta);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  font-size: 0.9em;
  transition: background 0.2s;
  white-space: nowrap;
}
.om-article-cta--inline .om-article-cta__button:hover {
  background: var(--om-cta-hover);
  color: #fff;
}
@media (max-width: 600px) {
  .om-article-cta--inline {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .om-article-cta--inline .om-article-cta__button {
    width: 100%;
    padding: 0.8em 1em;
  }
}

/* ============ section: セクション末CTA（1業種・中規模） ============ */
.om-article-cta--section {
  padding: 1.8em 1.5em;
  background: var(--om-bg-alt);
  border: 1px solid var(--om-border);
  border-radius: 8px;
  text-align: center;
}
.om-article-cta--section .om-article-cta__heading {
  font-family: "Shippori Mincho", serif;
  font-size: 1.25em;
  font-weight: 600;
  color: var(--om-primary);
  margin: 0 0 0.5em;
  line-height: 1.4;
}
.om-article-cta--section .om-article-cta__desc {
  font-size: 0.95em;
  color: var(--om-text-2);
  margin: 0 0 1.2em;
  line-height: 1.7;
}
.om-article-cta--section .om-article-cta__button {
  display: inline-block;
  padding: 0.85em 2em;
  background: var(--om-cta);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  font-size: 1em;
  transition: background 0.2s, transform 0.1s;
}
.om-article-cta--section .om-article-cta__button:hover {
  background: var(--om-cta-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ============ grid: 記事末9業種カード一覧 ============ */
.om-article-cta--grid {
  padding: 2em 1.5em;
  background: var(--om-bg-alt);
  border-top: 3px solid var(--om-gold);
  border-radius: 0 0 8px 8px;
}
.om-article-cta--grid .om-article-cta__heading {
  font-family: "Shippori Mincho", serif;
  font-size: 1.35em;
  font-weight: 600;
  color: var(--om-primary);
  text-align: center;
  margin: 0 0 0.3em;
}
.om-article-cta--grid .om-article-cta__lead {
  text-align: center;
  font-size: 0.95em;
  color: var(--om-text-2);
  margin: 0 0 1.5em;
  line-height: 1.7;
}
.om-article-cta--grid .om-article-cta__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.om-article-cta--grid .om-article-cta__list li { margin: 0; }
.om-article-cta--grid .om-article-cta__card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 1em 0.8em;
  background: #fff;
  border: 1px solid var(--om-border);
  border-radius: 6px;
  color: var(--om-text-1);
  font-size: 0.95em;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}
.om-article-cta--grid .om-article-cta__card:hover {
  border-color: var(--om-primary);
  color: var(--om-primary);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(26, 82, 118, 0.12);
}
.om-article-cta--grid .om-article-cta__card::after {
  content: "›";
  color: var(--om-cta);
  font-weight: 700;
}
@media (max-width: 768px) {
  .om-article-cta--grid .om-article-cta__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .om-article-cta--grid .om-article-cta__list {
    grid-template-columns: 1fr;
  }
}
