/* 固定ページ：共通設定 */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1rem;
  background-color: #fff;
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* タイトル */

/* タイトルの中央揃え＆テーマカラー */
.page-content h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #205EFF;
}

/* セクション見出し */
.page-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #205EFF; /* グロサプのテーマカラー */
  line-height: 1.5;
}

/* 段落 */
.page-content p {
  margin-bottom: 1rem;
}

/* リスト */
.page-content ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.page-content ul li {
  list-style-type: disc;
  margin-bottom: 0.4rem;
}

/* 強調 */
.page-content strong {
  font-weight: 600;
}

/* 表組み（もし将来的に使う場合） */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.page-content th,
.page-content td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}

/* レスポンシブ調整 */
@media (max-width: 640px) {
  .page-content {
    padding: 2rem 1rem;
    font-size: 0.95rem;
  }

  .page-content h1 {
    font-size: 1.5rem;
  }

  .page-content h2 {
    font-size: 1.125rem;
  }
}

.page-flow .page-header {
  background-color: #f0f4ff;
  color: #205EFF;
}

.page-flow .flow-content {
  line-height: 1.8;
  color: #333;
}

/* flowセクション全体を中央寄せ */
.flow-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
  max-width: 720px;
  margin: 0 auto;
}

/* 各ステップ */
.flow-steps li {
  margin-bottom: 2.5rem;
  padding-left: 3rem;
  position: relative;
  border-left: 4px solid #205EFF;
}

/* 番号アイコンの位置とスタイルを調整 */
.flow-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.5rem; /* ← 横位置を左にずらしてテキストと重ならないように */
  top: 0;
  background: #205EFF;
  color: white;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  text-align: center;
  line-height: 2.2rem;
  font-weight: bold;
  font-size: 1rem;
}

/* 見出しと本文 */
.flow-steps h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #205EFF;
}

.flow-steps p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}


/* CTAセクション背景・レイアウト */
.cta-offer {
  text-align: center;
  padding: 4rem 1rem;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 6rem; /* 元は4remだったものを少し拡張 */
  margin-bottom: 3rem;  /* フッターとの距離確保 */
}

.cta-offer h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-offer p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #fff;
}

.cta-main {
  display: inline-block;
  background-color: #205EFF;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.cta-main:hover {
  background-color: #003fc1;
}
