/* ================================================================
   共通CSSコンポーネント
   8新規ブログ＋既存2ブログで流用可能。
   PM_BROADCAST 2026-05-26 のCV最適化ルールに準拠。
   ================================================================ */

/* ----------------------------------------------------------------
   1. CTAボタン（キラッと光る／3層構造）
   ---------------------------------------------------------------- */

/* マイクロコピー（クリック促進） */
.cta-micro {
  text-align: center;
  font-size: 14px;
  color: #c0392b;
  font-weight: bold;
  margin: 16px 0 4px;
}

/* メインボタン（動詞のみ） */
.cta-button {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 32px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff !important;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* キラッと光るアニメーション */
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  animation: shine 3s infinite;
}
@keyframes shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* 青テキストリンク（ボタン下、CTR最高） */
.cta-text {
  text-align: center;
  margin: 8px 0 24px;
  font-size: 15px;
}
.cta-text a {
  color: #0066cc;
  text-decoration: underline;
  font-weight: 500;
}
.cta-text a:hover {
  color: #004999;
}

/* ----------------------------------------------------------------
   2. 内部リンクボックス（詳しくはこちら型）
   ---------------------------------------------------------------- */
.internal-link-box {
  background: #f7f7f7;
  border-left: 4px solid #0066cc;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 15px;
}
.internal-link-box a {
  color: #0066cc;
  text-decoration: underline;
  font-weight: 500;
}
.internal-link-box a::after {
  content: ' →';
}

/* ----------------------------------------------------------------
   3. 引用ブロック（一次情報用）
   ---------------------------------------------------------------- */
blockquote {
  background: #fafafa;
  border-left: 4px solid #888;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: normal;
  color: #333;
  border-radius: 4px;
}
blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #666;
  font-style: normal;
}
blockquote cite a {
  color: #0066cc;
  text-decoration: underline;
}

/* ----------------------------------------------------------------
   4. 目次（ジャンプリンク付き）
   ---------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

.toc {
  background: #f7f9fc;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.toc-title {
  font-size: 17px;
  font-weight: bold;
  margin: 0 0 12px;
  color: #333;
}
.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.toc ul ul {
  padding-left: 20px;
  margin-top: 4px;
}
.toc li {
  margin: 6px 0;
}
.toc a {
  color: #0066cc;
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------------
   5. X（Twitter）クチコミ引用カード
   ---------------------------------------------------------------- */
.x-quote-card {
  display: block;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 1.5em 0;
  background: #fff;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.x-quote-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-color: #1da1f2;
}
.x-quote-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.x-quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e1e8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.x-quote-user {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.x-quote-name {
  font-weight: 700;
  font-size: 0.92em;
}
.x-quote-handle {
  font-size: 0.82em;
  color: #657786;
}
.x-quote-body {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 8px;
}
.x-quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8em;
  color: #657786;
}
.x-quote-logo {
  font-size: 18px;
}
.x-quote-date {
  font-size: 0.82em;
}

/* ----------------------------------------------------------------
   5b. 体験談・一次情報ボックス
   ---------------------------------------------------------------- */
.experience-box {
  background: #f5f7fa;
  border-left: 4px solid var(--accent, #5c6b7a);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 1.5em 0;
  font-size: 0.95em;
  line-height: 1.8;
}
.experience-box .exp-label {
  display: inline-block;
  background: var(--accent, #5c6b7a);
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.experience-box p {
  margin: 0.5em 0 0;
}

/* ----------------------------------------------------------------
   6. お問い合わせフォーム
   ---------------------------------------------------------------- */
.contact-form {
  max-width: 600px;
  margin: 24px auto;
}
.contact-form .form-row {
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
}
.contact-form .required {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .form-notice {
  font-size: 13px;
  color: #666;
  margin: 12px 0 20px;
  padding: 12px;
  background: #f7f7f7;
  border-radius: 4px;
}
.contact-form .form-submit {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 24px auto 0;
  padding: 14px 32px;
  background: #0066cc;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form .form-submit:hover {
  background: #004999;
}

/* ----------------------------------------------------------------
   7. PR表記バッジ
   ---------------------------------------------------------------- */
.pr-badge {
  display: inline-block;
  background: #888;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
  font-weight: normal;
}

/* 記事冒頭のPR表記ボックス */
.pr-notice {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 14px;
  color: #5d4037;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   8. 自己診断チェックボックス
   ---------------------------------------------------------------- */
.self-check {
  background: #f0f8ff;
  border-left: 4px solid #4a90e2;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 4px;
}
.self-check-title {
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 10px;
  color: #2c3e50;
}
.self-check ul {
  margin: 0;
  padding-left: 24px;
}
.self-check li {
  margin: 6px 0;
}
