/* ============================================================
   contribute.css — 体験記募集ページ専用スタイル
   prefix: .tg-contrib-*
   依存: tokens.css, top.css, column.css の .tg-col30-* を一部流用
   ----------------------------------------------------------------
   対応ページ:
     - /tenshoku/contribute/index.html       （募集トップ）
     - /tenshoku/contribute/thanks.html      （送信完了）
   配色方針:
     メインカラー = 青系 (#0744CC / #EAF1FF)
     アクセント   = オレンジ (#FF6C00)
   ============================================================ */

/* ----- ルート / フォント ----- */
.tg-contrib {
  font-family: "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: #1a1f2e;
  line-height: 1.7;
  background: #fff;
}
.tg-contrib *,
.tg-contrib *::before,
.tg-contrib *::after { box-sizing: border-box; }

/* ----- セクションラッパー ----- */
.tg-contrib-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 40px;
}
.tg-contrib-section--head      { padding-top: 36px; padding-bottom: 16px; }
.tg-contrib-section--gap       { padding-top: 24px; padding-bottom: 16px; }
.tg-contrib-section--cta       { padding-top: 24px; padding-bottom: 40px; }
.tg-contrib-section--tail      { padding-top: 12px; padding-bottom: 64px; }
.tg-contrib-section--thanks    { padding-top: 48px; padding-bottom: 24px; text-align: center; }

/* ----- パンくず ----- */
.tg-contrib-breadcrumb {
  max-width: 880px;
  margin: 0 auto;
  padding: 12px 40px;
  font-size: 12px;
  color: #5a6378;
  background: #F9FAFC;
  border-bottom: 1px solid #E5E9F0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tg-contrib-breadcrumb a { color: #5a6378; text-decoration: none; }
.tg-contrib-breadcrumb a:hover { color: #0744CC; }
.tg-contrib-breadcrumb .sep { color: #c1c8d4; }
.tg-contrib-breadcrumb .current { color: #0c2548; font-weight: 700; }

/* ----- Hero ----- */
.tg-contrib-hero {
  background: #fff;
  border-bottom: 1px solid #E5E9F0;
  padding: 32px 0 24px;
}
.tg-contrib-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px;
}
.tg-contrib-hero h1 {
  font-size: 28px;
  font-weight: 900;
  color: #0c2548;
  margin: 0 0 14px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.tg-contrib-lead {
  font-size: 14px;
  color: #1a1f2e;
  line-height: 1.95;
  margin: 0 0 18px;
}

/* 黄色イントロ（概要ボックス） */
.tg-contrib-intro {
  background: #FFFBE0;
  border: 1px solid #FFE45A;
  border-left: 5px solid #FFC700;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.95;
}
.tg-contrib-intro h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: #0c2548;
}
.tg-contrib-intro p { margin: 0; }
.tg-contrib-intro b,
.tg-contrib-intro strong { font-weight: 900; color: #0c2548; }

/* ----- H2 共通（青いバー付き） ----- */
.tg-contrib-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.tg-contrib-h2-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: #0744CC;
  border-radius: 2px;
  flex-shrink: 0;
}
.tg-contrib-h2 h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.4;
}

/* ----- 4枚カードグリッド（大事にしていること） ----- */
.tg-contrib-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 4px 0 8px;
}
.tg-contrib-summary-card {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tg-contrib-summary-card .icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.tg-contrib-summary-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: #0744CC;
  line-height: 1.45;
}
.tg-contrib-summary-card p {
  margin: 0;
  font-size: 12px;
  color: #4d5468;
  line-height: 1.75;
}

/* ----- 流れ4ステップ（番号付き） ----- */
.tg-contrib-flow {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  counter-reset: step;
}
.tg-contrib-flow li {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 10px;
  padding: 14px 18px 14px 60px;
  margin-bottom: 10px;
  position: relative;
  font-size: 13px;
  line-height: 1.8;
  color: #1a1f2e;
}
.tg-contrib-flow li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0744CC;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-contrib-flow li strong { font-weight: 900; color: #0c2548; }

/* ----- 同意リスト ----- */
.tg-contrib-consent {
  background: #F4F9FF;
  border: 1px solid #CAD7FF;
  border-radius: 12px;
  padding: 16px 20px 16px 24px;
  margin: 8px 0 12px;
  font-size: 13px;
}
.tg-contrib-consent ul {
  margin: 0;
  padding-left: 20px;
  color: #1a1f2e;
  line-height: 1.95;
}
.tg-contrib-consent ul li { margin-bottom: 4px; }
.tg-contrib-consent ul li strong { font-weight: 900; color: #0744CC; }

/* ----- 通常段落（h2 直後の本文） ----- */
.tg-contrib-p {
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.95;
  margin: 0 0 12px;
}

/* ----- 中央CTAカード（青グラデ） ----- */
.tg-contrib-cta {
  background: linear-gradient(135deg, #0744CC 0%, #0633A3 100%);
  box-shadow: 0 16px 32px rgba(7, 68, 204, .16);
  border-radius: 16px;
  padding: 28px 28px 30px;
  color: #fff;
  text-align: center;
}
.tg-contrib-cta-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
}
.tg-contrib-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF6C00;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 108, 0, .35);
  letter-spacing: 0.02em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-contrib-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 108, 0, .45);
  opacity: 1;
}
.tg-contrib-cta-note {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.75;
  color: #c8d2e2;
}

/* ----- 運営フッター行 ----- */
.tg-contrib-runner {
  font-size: 12px;
  color: #5a6378;
  text-align: center;
  margin: 16px 0 0;
}
.tg-contrib-runner a { color: #0744CC; }

/* ============================================================
   thanks.html 専用
   ============================================================ */

/* 大きなチェックアイコン */
.tg-contrib-thanks-check {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #079765 0%, #045E3E 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(7, 151, 101, .28);
}
.tg-contrib-thanks-check svg {
  width: 56px;
  height: 56px;
}

/* thanks H1 */
.tg-contrib-thanks-h1 {
  font-size: 26px;
  font-weight: 900;
  color: #0c2548;
  margin: 8px 0 14px;
  line-height: 1.4;
}
.tg-contrib-thanks-lead {
  font-size: 14px;
  color: #1a1f2e;
  line-height: 1.95;
  margin: 0 0 28px;
}

/* 「これからの流れ」カード（白地カード・番号付き ol） */
.tg-contrib-info-box {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 20px auto;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tg-contrib-info-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  color: #0744CC;
}
.tg-contrib-info-box ol {
  margin: 0;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.95;
  color: #1a1f2e;
}
.tg-contrib-info-box ol li { margin-bottom: 6px; }
.tg-contrib-info-box ol li strong { font-weight: 900; color: #0c2548; }

/* 次のアクション群（薄青パネル＋ボタン3つ） */
.tg-contrib-next-cta {
  background: #F4F9FF;
  border: 1px solid #CAD7FF;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 28px auto 0;
  text-align: center;
}
.tg-contrib-next-cta h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  color: #0744CC;
}
.tg-contrib-next-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tg-contrib-next-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0744CC;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-contrib-next-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 68, 204, .25);
  opacity: 1;
}
.tg-contrib-next-cta a.is-accent {
  background: #FF6C00;
}

.tg-contrib-note {
  font-size: 11px;
  color: #5a6378;
  line-height: 1.85;
  margin-top: 24px;
}
.tg-contrib-note a { color: #0744CC; }

/* ============================================================
   レスポンシブ（SP: max-width 768px）
   ============================================================ */
@media (max-width: 768px) {
  .tg-contrib-section,
  .tg-contrib-breadcrumb,
  .tg-contrib-hero-inner { padding-left: 16px; padding-right: 16px; }

  .tg-contrib-section--head    { padding-top: 24px; }
  .tg-contrib-section--thanks  { padding-top: 32px; }
  .tg-contrib-section--tail    { padding-bottom: 40px; }

  .tg-contrib-hero { padding: 24px 0 16px; }
  .tg-contrib-hero h1 { font-size: 22px; line-height: 1.45; }
  .tg-contrib-lead { font-size: 13px; }

  .tg-contrib-intro { font-size: 12px; padding: 14px 16px; }
  .tg-contrib-intro h2 { font-size: 15px; }

  .tg-contrib-h2 h2 { font-size: 17px; }

  .tg-contrib-summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tg-contrib-summary-card { padding: 14px 16px; }
  .tg-contrib-summary-card h3 { font-size: 14px; }
  .tg-contrib-summary-card p { font-size: 12px; }

  .tg-contrib-flow li {
    padding: 12px 14px 12px 52px;
    font-size: 12px;
  }
  .tg-contrib-flow li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
    left: 12px;
  }

  .tg-contrib-consent { font-size: 12px; padding: 14px 16px 14px 20px; }
  .tg-contrib-p { font-size: 12px; }

  .tg-contrib-cta {
    padding: 20px 18px 22px;
    border-radius: 14px;
  }
  .tg-contrib-cta-lead { font-size: 13px; }
  .tg-contrib-cta-btn { font-size: 15px; padding: 12px 28px; }
  .tg-contrib-cta-note { font-size: 10.5px; }

  /* thanks.html SP */
  .tg-contrib-thanks-check { width: 76px; height: 76px; }
  .tg-contrib-thanks-check svg { width: 44px; height: 44px; }
  .tg-contrib-thanks-h1 { font-size: 21px; }
  .tg-contrib-thanks-lead { font-size: 13px; margin-bottom: 20px; }

  .tg-contrib-info-box { padding: 18px 18px; border-radius: 12px; }
  .tg-contrib-info-box h3 { font-size: 15px; }
  .tg-contrib-info-box ol { font-size: 12px; }

  .tg-contrib-next-cta { padding: 18px 16px; border-radius: 14px; }
  .tg-contrib-next-cta h3 { font-size: 15px; }
  .tg-contrib-next-cta a { font-size: 12px; padding: 10px 18px; }
  .tg-contrib-next-cta-buttons { flex-direction: column; gap: 8px; }
  .tg-contrib-next-cta-buttons a { width: 100%; }
}
