/* ============================================================
 * Static Pages — Contact / Privacy Policy
 * ============================================================ */

.contact-page,
.privacy-policy-page,
.cathand-page,
.contact-thanks-page,
.recruit-thanks-page {
  --c-orange: #e05531;
  --c-orange-dk: #c44420;
  --c-navy: #1e2f4d;
  --c-text: #2c3e50;
  --c-sub: #6b7280;
  --c-bg-alt: #f8f8f8;
  --c-border: rgba(0, 0, 0, .08);
  --max-w: 1120px;
  font-family: 'Montserrat', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-weight: 600;
  color: var(--c-text);
  background: linear-gradient(180deg, #fbf6ef 0, #ffffff 420px, #fafaf8 100%);
}

.sf-static-main {
  overflow: hidden;
}

.sf-static-main .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.contact-page #hero,
.contact-page #contact,
.privacy-policy-page #hero,
.privacy-policy-page #privacy-policy,
.cathand-page #hero,
.cathand-page #about,
.cathand-page #flow,
.cathand-page #entry,
.contact-thanks-page #hero,
.contact-thanks-page #thanks,
.recruit-thanks-page #hero,
.recruit-thanks-page #thanks {
  scroll-margin-top: 120px;
}

/* event-page-header / split-slide-line は sf-components.css に集約（Step 10-9 パス1b）。
 * 旧 static 版はアニメ無し・title 900px・bg-en 小さめだったが、共通アニメ版へ統一（意図的変更）。
 * reveal トリガ用に assets/js/sf-static-page.js を footer で enqueue する。 */

.sf-static-section {
  padding: 96px 0 120px;
}

.sf-static-section__head {
  max-width: 760px;
  margin-bottom: 42px;
}

.sf-static-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-orange);
  text-transform: uppercase;
}

.sf-static-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.sf-static-section__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--c-navy);
}

.sf-static-section__lead {
  margin: 0;
  color: var(--c-sub);
  font-size: 16px;
  line-height: 2;
}

/* ============================================================
 * CONTACT フォーム（CF7 / page-contact.php）
 * 共通の .sf-form トーンは sf-components.css に集約（CONTACT/ENTRY 共用）。
 * ここでは CONTACT 固有のラッパー余白のみ定義。
 * ============================================================ */
.sf-form--contact {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: 0 18px 48px rgba(30, 47, 77, .08);
}

/* ============================================================
 * サンクスページ（page-contact-thanks.php / page-recruit-thanks.php）
 * 中央寄せの受付完了メッセージ + 導線ボタン。
 * ============================================================ */
.sf-thanks {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: 0 18px 48px rgba(30, 47, 77, .08);
  text-align: center;
}

.sf-thanks__lead {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--c-navy);
}

.sf-thanks__note {
  margin: 24px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--c-sub);
}

.sf-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.sf-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--c-orange);
  border: 1px solid var(--c-orange);
  border-radius: 999px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.sf-thanks__btn:hover {
  background: var(--c-orange-dk);
  border-color: var(--c-orange-dk);
}

.sf-thanks__btn--ghost {
  color: var(--c-orange);
  background: transparent;
}

.sf-thanks__btn--ghost:hover {
  color: #fff;
  background: var(--c-orange);
  border-color: var(--c-orange);
}

.sf-policy {
  max-width: 920px;
  padding: 64px;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: 0 18px 48px rgba(30, 47, 77, .08);
}

.sf-policy p,
.sf-policy__address {
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: 0.03em;
}

.sf-policy__section {
  margin-top: 42px;
}

.sf-policy__section h2 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--c-navy);
}

.sf-policy__section p + p {
  margin-top: 14px;
}

.sf-policy__address {
  padding: 24px;
  background: var(--c-bg-alt);
}

/* CatHand */
.cathand-intro {
  padding-bottom: 76px;
}

.cathand-intro__grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 64px;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: 0 18px 48px rgba(30, 47, 77, .08);
}

.cathand-intro__logo {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(224, 85, 49, .06), rgba(30, 47, 77, .04));
}

.cathand-intro__logo img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.cathand-intro__title,
.cathand-flow .sf-static-section__title {
  font-size: clamp(24px, 4vw, 40px);
}

.cathand-flow {
  padding: 36px 0 110px;
}

.cathand-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cathand-step {
  position: relative;
  min-height: 100%;
  padding: 0 28px 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: 0 14px 36px rgba(30, 47, 77, .07);
}

.cathand-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--c-orange);
  border-right: 3px solid var(--c-orange);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.cathand-step__no {
  margin: 0 -28px 24px;
  padding: 14px 28px;
  background: var(--c-navy);
  border-bottom: 3px solid var(--c-orange);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  color: #fff;
}

.cathand-step__title {
  margin: 0 0 18px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--c-navy);
}

.cathand-step__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--c-text);
}

.cathand-cta {
  padding: 0 0 120px;
}

.cathand-cta__inner {
  padding: 64px;
  background: var(--c-navy);
  color: #fff;
}

.cathand-cta__inner .sf-static-kicker,
.cathand-cta__title {
  color: #fff;
}

.cathand-cta__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.cathand-br-pc {
  display: block;
}

.cathand-cta__text {
  max-width: 760px;
  margin: 0 0 34px;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.cathand-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 260px;
  padding: 18px 28px;
  background: var(--c-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.cathand-cta__btn:hover {
  background: var(--c-orange-dk);
  color: #fff;
  transform: translateY(-2px);
}

.cathand-cta__arrow {
  width: 18px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(45deg);
}

@media (max-width: 768px) {
  .sf-static-main .container {
    padding: 0 24px;
  }

  /* event-page-header の SP 調整は sf-components.css に集約（パス1b） */

  .sf-static-section {
    padding: 64px 0 84px;
  }

  .sf-form--contact,
  .sf-policy {
    padding: 28px;
  }

  .sf-form .wpcf7 dt {
    flex-wrap: wrap;
  }

  .sf-thanks__actions {
    flex-direction: column;
  }

  .sf-thanks__btn {
    width: 100%;
    min-width: 0;
  }

  .sf-policy p,
  .sf-policy__address {
    font-size: 15px;
  }

  .sf-policy__section h2 {
    font-size: 19px;
  }

  .cathand-intro__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 32px 28px;
  }

  .cathand-intro__logo {
    min-height: 180px;
  }

  .cathand-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cathand-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -20px;
    transform: translateX(50%) rotate(135deg);
  }

  .cathand-flow {
    padding-bottom: 78px;
  }

  .cathand-intro__title,
  .cathand-flow .sf-static-section__title {
    font-size: 22px;
  }

  .cathand-step-br-pc {
    display: none;
  }

  .cathand-cta {
    padding-bottom: 84px;
  }

  .cathand-cta__inner {
    padding: 38px 28px;
  }

  .cathand-br-pc {
    display: none;
  }

  .cathand-cta__btn {
    width: 100%;
    min-width: 0;
  }
}
