/* ========================================
   株式会社福來 A案デザインCSS
   ライトブルー × 明るい信頼感 路線
   Kadence テーマ用カスタムCSS
   ======================================== */

/* --- CSS変数（A案カラーパレット） --- */
:root {
  --fk-white: #FFFFFF;
  --fk-bg-light: #F7FBFF;
  --fk-bg-mid: #EEF5FB;
  --fk-blue: #2F80ED;
  --fk-blue-hover: #1F6FD1;
  --fk-blue-light: #EAF4FF;
  --fk-blue-btn-hover: #F0F7FF;
  --fk-navy: #173B63;
  --fk-mint: #43C6AC;
  --fk-heading: #1E3550;
  --fk-body: #4F5D6B;
  --fk-muted: #7C8B98;
  --fk-border: #DCE8F3;
  --fk-border-card: #E3EDF6;
  --fk-shadow-card: 0 8px 24px rgba(47,128,237,0.06);
  --fk-shadow-card-lg: 0 10px 30px rgba(23,59,99,0.06);
  --fk-radius: 10px;
  --fk-radius-card: 18px;
  --fk-radius-card-lg: 20px;
}

/* --- 基本タイポグラフィ --- */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--fk-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--fk-heading);
  font-weight: 700;
}

/* --- セクション共通 --- */
.fk-section {
  padding: 96px 0;
}
.fk-section-light {
  background-color: var(--fk-bg-light);
}
.fk-section-mid {
  background-color: var(--fk-bg-mid);
}
.fk-section-white {
  background-color: var(--fk-white);
}
.fk-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- セクション見出し --- */
.fk-section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.fk-section-heading h2 {
  font-size: 34px;
  line-height: 1.4;
  margin-bottom: 16px;
}
.fk-section-heading p {
  font-size: 16px;
  color: var(--fk-body);
  max-width: 680px;
  margin: 0 auto;
}

/* --- ボタン --- */
.fk-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--fk-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.fk-btn-primary {
  background: var(--fk-blue);
  color: var(--fk-white);
}
.fk-btn-primary:hover {
  background: var(--fk-blue-hover);
  color: var(--fk-white);
}
.fk-btn-secondary {
  background: var(--fk-white);
  color: var(--fk-blue);
  border: 1.5px solid var(--fk-blue);
}
.fk-btn-secondary:hover {
  background: var(--fk-blue-btn-hover);
}
.fk-btn-white {
  background: var(--fk-white);
  color: var(--fk-blue);
}
.fk-btn-white-outline {
  background: transparent;
  color: var(--fk-white);
  border: 1.5px solid rgba(255,255,255,0.8);
}
.fk-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- ファーストビュー --- */
.fk-hero {
  background: linear-gradient(135deg, #F7FBFF 0%, #EEF7FF 60%, #F5FFFC 100%);
  padding: 120px 0;
}
.fk-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fk-hero h1 {
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.fk-hero .fk-hero-sub {
  font-size: 18px;
  line-height: 1.9;
  color: var(--fk-body);
  margin-bottom: 28px;
}
.fk-hero-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.fk-hero-label {
  display: inline-block;
  background: var(--fk-blue-light);
  color: var(--fk-blue);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.fk-hero-note {
  font-size: 14px;
  color: var(--fk-muted);
  margin-top: 16px;
}
.fk-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: var(--fk-bg-mid);
  border-radius: var(--fk-radius-card-lg);
  color: var(--fk-muted);
  font-size: 14px;
}

/* --- 課題カード（共感セクション） --- */
.fk-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fk-problem-card {
  background: var(--fk-bg-light);
  border: 1px solid var(--fk-border);
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fk-navy);
  line-height: 1.6;
}
.fk-problem-card::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--fk-mint);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- 価値カード --- */
.fk-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fk-value-card {
  background: var(--fk-white);
  border: 1px solid var(--fk-border-card);
  border-radius: var(--fk-radius-card);
  padding: 32px;
  box-shadow: var(--fk-shadow-card);
}
.fk-value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--fk-blue-light);
  color: var(--fk-blue);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.fk-value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.fk-value-card p {
  font-size: 15px;
  color: var(--fk-body);
}

/* --- サービスカード --- */
.fk-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.fk-service-card {
  background: var(--fk-white);
  border: 1px solid var(--fk-border);
  border-radius: var(--fk-radius-card-lg);
  padding: 40px;
  box-shadow: var(--fk-shadow-card-lg);
}
.fk-service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.fk-service-card p {
  font-size: 16px;
  margin-bottom: 20px;
}
.fk-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.fk-check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}
.fk-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--fk-mint);
  border-radius: 50%;
  opacity: 0.7;
}

/* --- 選ばれる理由 --- */
.fk-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fk-reason-card {
  background: var(--fk-white);
  border-radius: 16px;
  padding: 28px;
}
.fk-reason-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.fk-reason-card p {
  font-size: 15px;
  color: var(--fk-body);
}

/* --- 支援の流れ（ステップ） --- */
.fk-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.fk-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding-bottom: 40px;
  position: relative;
}
.fk-step:last-child {
  padding-bottom: 0;
}
.fk-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--fk-blue-light);
  color: var(--fk-blue);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.fk-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: #BFD7EE;
}
.fk-step:last-child::before {
  display: none;
}
.fk-step h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.fk-step p {
  font-size: 15px;
  color: var(--fk-body);
}

/* --- 事例カード --- */
.fk-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fk-case-card {
  background: var(--fk-white);
  border: 1px solid var(--fk-border-card);
  border-radius: var(--fk-radius-card);
  padding: 28px;
}
.fk-case-meta {
  display: inline-block;
  background: var(--fk-blue-light);
  color: var(--fk-blue);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 500;
}
.fk-case-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* --- 代表メッセージ --- */
.fk-message-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.fk-message-photo {
  background: var(--fk-bg-mid);
  border-radius: var(--fk-radius-card-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fk-muted);
  font-size: 14px;
}
.fk-message-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: left;
}
.fk-message-text p {
  font-size: 17px;
  line-height: 2.0;
  margin-bottom: 16px;
}
.fk-signature {
  font-size: 16px;
  font-weight: 700;
  color: var(--fk-navy);
  margin-top: 24px;
}

/* --- FAQ アコーディオン --- */
.fk-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fk-faq-item {
  background: var(--fk-bg-light);
  border: 1px solid var(--fk-border);
  border-radius: 14px;
  overflow: hidden;
}
.fk-faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fk-navy);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fk-faq-question::after {
  content: "+";
  font-size: 20px;
  color: var(--fk-blue);
  transition: transform 0.2s;
}
.fk-faq-item.is-open .fk-faq-question::after {
  content: "−";
}
.fk-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.fk-faq-item.is-open .fk-faq-answer {
  max-height: 500px;
}
.fk-faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--fk-body);
}

/* --- 最終CTA --- */
.fk-cta-final {
  background: linear-gradient(135deg, #2F80ED 0%, #43C6AC 100%);
  padding: 80px 0;
  text-align: center;
}
.fk-cta-final h2 {
  color: var(--fk-white);
  font-size: 32px;
  margin-bottom: 16px;
}
.fk-cta-final p {
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.fk-cta-final .fk-btn-group {
  justify-content: center;
}

/* --- フッター補助 --- */
.site-footer {
  background: var(--fk-navy) !important;
}

/* --- 料金テーブル --- */
.fk-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--fk-white);
  border-radius: var(--fk-radius-card);
  overflow: hidden;
  box-shadow: var(--fk-shadow-card);
}
.fk-pricing-table th {
  background: var(--fk-navy);
  color: var(--fk-white);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.fk-pricing-table td {
  padding: 16px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--fk-border);
  vertical-align: top;
}
.fk-pricing-table tr:last-child td {
  border-bottom: none;
}

/* --- ページヘッダー（下層ページ共通） --- */
.fk-page-header {
  background: var(--fk-bg-light);
  padding: 64px 0;
  text-align: center;
}
.fk-page-header-sub {
  font-size: 13px;
  color: var(--fk-blue);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.fk-page-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
}
.fk-page-header p {
  font-size: 16px;
  color: var(--fk-body);
  max-width: 600px;
  margin: 0 auto;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .fk-hero {
    padding: 72px 0;
  }
  .fk-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fk-hero h1 {
    font-size: 32px;
  }
  .fk-hero .fk-hero-sub {
    font-size: 15px;
  }
  .fk-section {
    padding: 64px 0;
  }
  .fk-section-heading h2 {
    font-size: 26px;
  }
  .fk-problem-grid,
  .fk-value-grid,
  .fk-service-grid,
  .fk-reason-grid {
    grid-template-columns: 1fr;
  }
  .fk-case-grid {
    grid-template-columns: 1fr;
  }
  .fk-message-grid {
    grid-template-columns: 1fr;
  }
  .fk-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  .fk-btn-group {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .fk-page-header h1 {
    font-size: 28px;
  }
  .fk-cta-final h2 {
    font-size: 26px;
  }
  .fk-hero-visual {
    min-height: 200px;
  }
  .fk-pricing-table {
    font-size: 13px;
  }
}
