/* =====================================================
   提携サービスページ（service.html / freelance.html /
   freenance1.html / paytner.html）共用スタイル
   共通トークン/ヘッダー/フッター/closing-cta は style.css + home.css、
   一覧見出し・パンくず・案件カード(.pjob)は projects.css を継承。
   ===================================================== */

/* ===== freelance/freenance1/paytner: ヒーロー（参考Studio準拠）
   タイトル32px緑・リード16px緑。freenance1/paytnerは中央寄せ、freelanceのみ左寄せ。 */
.pt-hero-title { color: #32b470; font-size: 2rem; }
.pt-hero-lead { color: #32b470; }
.pt-hero--center .pt-hero-title,
.pt-hero--center .pt-hero-lead { text-align: center; }

/* ===== service.html: ヒーロー見出し（参考は本文サイズの太字。リード下に区切り線） ===== */
.pt-intro-title { font-size: 1rem; }
.pt-intro-divider { border: none; border-top: 1px solid var(--border-color); margin: 30px 0 0; }

/* ===== service.html: 一覧（横長カードを1列縦積み） ===== */
.pt-service-list { padding-top: 26px; }
/* 1280px時のカード幅をプレビュー実測(1080px)に合わせて狭め、本文の折り返し行数を揃える */
.pt-service-list .container { max-width: 1080px; }
.pt-service-grid { display: flex; flex-direction: column; gap: 22px; }
.pt-service-card {
  display: flex;
  align-items: center;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.pt-service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.06); }
.pt-service-card-logo { flex: 0 0 180px; display: flex; align-items: center; justify-content: center; }
.pt-service-card-logo img { max-width: 100%; max-height: 68px; width: auto; object-fit: contain; }
.pt-service-card-body { flex: 1; min-width: 0; }
.pt-service-card-title { font-size: 1.05rem; font-weight: 700; color: #32b470; margin: 0 0 14px; }
.pt-service-card-text { font-size: 0.9rem; line-height: 1.85; color: var(--text-light); margin: 0; }
.pt-service-card-more { display: block; text-align: right; color: #32b470; font-weight: 700; font-size: 0.875rem; margin-top: 14px; transition: font-weight 0.2s ease-in-out; }
.pt-service-card:hover .pt-service-card-more { text-decoration: underline; }

/* labolロゴ画像 */
.pt-labol-logo img { display: block; }

/* ===== 詳細ページ共通：会社バナー ===== */
.pt-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 36px;
}
.pt-banner-logo { max-width: 260px; }
.pt-banner-logo img { display: block; max-height: 90px; width: auto; object-fit: contain; }
.pt-banner-body { flex: 1; min-width: 0; }
.pt-banner-org { font-size: 0.85rem; color: #8a8a8a; margin: 0 0 6px; }
.pt-banner-headline { font-size: 1.25rem; font-weight: 700; color: var(--text-color); line-height: 1.6; margin: 0; }

/* ===== 本文ブロック ===== */
/* html要素の背景色(#32b470・style.css)が透過を通して見えないよう、
   .sectionと同様に白背景を明示する（他の.pt-*要素は親から継承） */
.pt-body { padding: 0 0 60px; background-color: var(--white); }
.pt-lead { font-size: 1rem; line-height: 1.9; color: var(--text-color); margin: 0 0 36px; }

.pt-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px;
}
.pt-section-sub {
  font-size: 0.9rem;
  color: #8a8a8a;
  margin: 0 0 24px;
}

/* ===== 優遇特典ボックス（通常 → offeeer登録者様） ===== */
.pt-offer {
  background: #f4f9f6;
  border: 1px solid #d8efdd;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 0 0 40px;
}
.pt-offer-lead { font-size: 0.95rem; color: var(--text-color); line-height: 1.85; margin: 0 0 20px; }
.pt-offer-compare { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.pt-offer-item { text-align: center; }
.pt-offer-item-label { display: block; font-size: 0.8rem; color: #8a8a8a; margin-bottom: 6px; }
.pt-offer-item-value { font-size: 1.5rem; font-weight: 700; color: var(--text-color); }
.pt-offer-item-value.is-before { color: #9a9a9a; text-decoration: line-through; }
.pt-offer-item-value.is-after { color: #32b470; font-size: 1.75rem; }
.pt-offer-arrow { font-size: 1.5rem; color: #32b470; }

/* ===== 3ステータス行（審査時間・手数料など） ===== */
.pt-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 40px; }
.pt-stat { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; }
.pt-stat-label { display: block; font-size: 0.8rem; color: #8a8a8a; margin-bottom: 8px; }
.pt-stat-value { font-size: 1.375rem; font-weight: 700; color: #32b470; }

/* ===== 特徴カードグリッド（3つのサービス／特徴等） ===== */
.pt-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 44px; }
.pt-feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.pt-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(50, 180, 112, 0.12); }
.pt-feature-icon { font-size: 1.75rem; margin-bottom: 12px; }
.pt-feature-title { font-size: 1rem; font-weight: 700; color: var(--text-color); margin: 0 0 14px; }
.pt-feature-desc { font-size: 0.875rem; line-height: 1.8; color: var(--text-light); margin: 0 0 14px; }
.pt-feature-meta { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border-color); padding-top: 12px; }
.pt-feature-meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 0.8125rem; }
.pt-feature-meta-label { color: #8a8a8a; }
.pt-feature-meta-value { color: var(--text-color); font-weight: 700; white-space: nowrap; }

/* ===== ステップ（ご利用の流れ） ===== */
.pt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 44px; counter-reset: pt-step; }
.pt-step { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px 20px 20px; }
.pt-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-color); color: #fff; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 12px;
}
.pt-step-title { font-size: 0.9375rem; font-weight: 700; color: var(--text-color); margin: 0 0 12px; }
.pt-step-desc { font-size: 0.8125rem; line-height: 1.75; color: var(--text-light); margin: 0; }

/* ===== 表（料金・利用条件、補償内容など） ===== */
.pt-table-wrap { margin: 0 0 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pt-table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 0.875rem; color: #1a1a1a; background: #fff; }
.pt-table th, .pt-table td { border: 1px solid #f2f2f2; padding: 12px; text-align: left; vertical-align: top; font-weight: 400; line-height: 1.7; }
.pt-table thead th { background: rgba(245, 245, 245, 0.6); font-weight: 700; white-space: nowrap; }
.pt-table-desc { display: block; color: #8a8a8a; font-size: 0.8125rem; margin-top: 4px; }
.pt-table-note { font-size: 0.8125rem; color: #8a8a8a; margin: -24px 0 40px; }

/* ===== 計算例ボックス ===== */
.pt-example { background: #f4f9f6; border: 1px solid #d8efdd; border-radius: var(--radius-lg); padding: 26px 28px; margin: 0 0 40px; }
.pt-example-title { font-size: 0.95rem; font-weight: 700; color: var(--text-color); margin: 0 0 20px; }
.pt-example-row { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #d8efdd; font-size: 0.9rem; }
.pt-example-row:last-child { border-bottom: none; font-weight: 700; color: #32b470; font-size: 1.125rem; }

/* ===== offeeer登録者様限定 バッジ帯 ===== */
.pt-badge-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--primary-color); color: #fff; border-radius: var(--radius-lg);
  padding: 22px 28px; margin: 0 0 40px;
}
.pt-badge-bar-title { font-weight: 700; font-size: 1rem; }
.pt-badge-bar-text { font-size: 0.875rem; opacity: 0.95; }

/* ===== 新着案件 ===== */
.pt-projects { padding: 60px 0; }
.pt-projects-head { text-align: center; margin: 0 0 44px; }

/* ===== FAQ（参考Studio準拠: 常時展開。Qは薄グレー帯・太字、Aは帯の外に表示） ===== */
.pt-faq-item { margin: 0 0 36px; }
.pt-faq-q { background: #f7f8fa; border-radius: 10px; padding: 18px 26px; font-size: 0.95rem; font-weight: 700; color: var(--text-color); margin: 0 0 18px; }
.pt-faq-a { font-size: 0.95rem; line-height: 1.9; color: var(--text-light); margin: 0; padding: 0 26px; }

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  /* 特徴カードは3枚構成のため2列にすると2+1で段落ちする。タブレットでも3列1段を維持しgapだけ詰める */
  .pt-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pt-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pt-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
  .pt-stat-row { grid-template-columns: 1fr; gap: 12px; }
  .pt-feature-grid { grid-template-columns: 1fr; }
  .pt-steps { grid-template-columns: 1fr; }
  .pt-offer { padding: 22px 20px; }
  .pt-offer-compare { gap: 14px; }
  .pt-service-card { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 22px; }
  .pt-service-card-logo { flex-basis: auto; }
  .pt-table { min-width: 0; }
  /* paytner.html: 料金・利用条件テーブルは縦積みカード型に変更（項目名の帯→値、を繰り返す） */
  .pt-table-paytner-wrap { overflow-x: visible; }
  .pt-table-paytner tbody { display: block; }
  .pt-table-paytner tr { display: block; margin: 0 0 12px; border: 1px solid #f2f2f2; border-radius: 10px; overflow: hidden; }
  .pt-table-paytner tr:last-child { margin-bottom: 0; }
  .pt-table-paytner th, .pt-table-paytner td { display: block; width: 100%; border: none; }
  .pt-table-paytner th { background: rgba(245, 245, 245, 0.6); font-weight: 700; padding: 10px 14px; white-space: normal; }
  .pt-table-paytner td { padding: 12px 14px; border-top: 1px solid #f2f2f2; }
  .pt-hero-title { font-size: 1.5rem; }
  .pt-faq-q { padding: 15px 18px; }
  .pt-faq-a { padding: 0 18px; }
}
