/* ============================================================
   page-flow.css  — 応募の流れ（/flow/）
   ============================================================ */

/* ===== ページヒーロー ===== */
.flow-page-hero::before {
  content: 'FLOW';
  position: absolute; right: -12px; bottom: -20px;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(68px,18vw,200px);
  font-weight: 700;
  color: rgba(212,112,58,.05);
  line-height: 1; pointer-events: none; white-space: nowrap;
}
.flow-page-hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, rgba(255,255,255,0.25), rgba(255,255,255,0.10));
}
.flow-page-hero .section-label {
  font-size: 11px; font-family: "Noto Sans JP",sans-serif; font-weight:700;
  letter-spacing: .25em; color: var(--orange-main); margin-bottom: 14px;
}
.flow-page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px,4.5vw,44px); font-weight: 700;
  color: #fff; line-height: 1.35; margin-bottom: 14px;
}
.flow-page-hero p  {
  font-size: 15px; color: rgba(255,255,255,0.82);
  line-height: 1.95; max-width: 560px; margin: 0 auto;
}

/* ===== ページ本体 ===== */
.flow-page-section { background: transparent; padding: 0 0 80px; }
.flow-page-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 26px 0;
}
.flow-page-inner > .ladyreq-breadcrumb { margin-bottom: 40px; }

/* ===== 2カラムグリッド ===== */
.flow-two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 68px;
  align-items: start;
  margin-bottom: 68px;
}

/* ===== STEPリスト（左カラム） ===== */
.flow-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 24px; /* STEPラベル分 */
}

/* ===== 各ステップ（グリッドレイアウト） ===== */
.fp-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 18px;
  align-items: stretch;
  margin-bottom: 14px;
  transition: transform .2s;
}
.fp-step:hover { transform: translateX(6px); }

/* ===== 左：番号コラム ===== */
.fp-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.fp-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #FF9900;          /* 単色 */
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 800;
  border-radius: 6px;           /* 角丸正方形 */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(255,153,0,0.30);
  z-index: 1;
}
/* STEPラベル */
.fp-num::before {
  content: 'STEP';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange-medium);
  white-space: nowrap;
}

/* 縦コネクター */
.fp-step:not(:last-child) .fp-num-col::after {
  content: '';
  flex: 1;
  width: 2px;
  min-height: 20px;
  margin-top: 6px;
  background: repeating-linear-gradient(
    to bottom,
    #FF9900 0px, #FF9900 5px,
    transparent 5px, transparent 12px
  );
  opacity: 0.30;
  border-radius: 2px;
}

/* ===== 右：カード本体 ===== */
.fp-body-wrap {
  background: #fff;
  border-radius: 14px;
  border-left: 3px solid #FF9900;
  padding: 16px 22px;
  box-shadow: 0 2px 12px rgba(122,41,0,0.07);
  transition: box-shadow .2s;
}
.fp-step:hover .fp-body-wrap {
  box-shadow: 0 6px 22px rgba(122,41,0,0.13);
}

.fp-body { flex: 1; }
.fp-title {
  font-size: 15px; font-weight: 700;
  color: var(--orange-deep); margin-bottom: 6px; line-height: 1.4;
}
.fp-desc {
  font-size: 13px; color: var(--gray-text);
  line-height: 1.85; margin-bottom: 8px;
}
.fp-note {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: #FF9900;
  background: rgba(255,153,0,.10);
  padding: 3px 12px; border-radius: 42px;
  letter-spacing: .04em;
}

/* ===== 右カラム インフォカード ===== */
.flow-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}
.fi-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  border: 1px solid rgba(212,112,58,.15);
}
.fi-card-title {
  font-size: 14px; font-weight: 700; color: var(--orange-deep);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,112,58,.1);
}
.fi-card-title i { color: #FF9900; }
.fi-card-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.fi-card-list li {
  font-size: 13px; color: var(--gray-text);
  padding-left: 18px; position: relative; line-height: 1.7;
}
.fi-card-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: #FF9900; font-weight: 700; font-size: 12px;
}
.fi-card-desc { font-size: 13px; color: var(--gray-text); line-height: 1.85; }
.fi-card-link-wrap { margin-top: 12px; }
.btn-outline--sm { font-size: 13px; padding: 8px 18px; }

/* ===== FAQ ===== */
.flow-qa {
  border-top: 1px solid rgba(212,112,58,.1);
  padding-top: 40px;
}
.flow-qa h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px,3vw,28px);
  font-weight: 700; color: var(--orange-deep);
  margin-bottom: 28px; line-height: 1.45;
  padding-bottom: 14px; position: relative;
}
.flow-qa h2::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(212,112,58,.12);
}
.flow-qa h2::before {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(to right, #FF9900, rgba(212,112,58,0.4));
  border-radius: 2px; z-index: 1;
}

.flow-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}
.flow-qa-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212,112,58,.14);
}
.flow-qa-q {
  background: linear-gradient(135deg, #fffbf5, #fff3e0);
  padding: 14px 18px;
  font-size: 14px; font-weight: 700; color: var(--orange-deep);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.flow-qa-q span {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: #FF9900;
  color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 4px;           /* 角丸正方形 — 番号と統一感 */
  display: flex; align-items: center; justify-content: center;
}
.flow-qa-a {
  padding: 14px 18px;
  font-size: 13px; color: var(--gray-text); line-height: 1.85;
}
.btn-center-wrap {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 14px;
  margin: 8px 0;
}

/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
  .flow-two-col { grid-template-columns: 1fr; gap: 40px; }
  .flow-info-cards { position: static; }
}
@media (max-width: 768px) {
  .flow-page-inner { padding: 40px 20px 0; }
  .flow-qa-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fp-step { grid-template-columns: 52px 1fr; gap: 0 14px; }
  .fp-num  { width: 46px; height: 46px; font-size: 20px; }
  .fp-body-wrap { padding: 14px 16px; }
}

/* ===== 旧HTML構造との互換（.fp-num-col なしの場合） ===== */
.fp-step:not(:has(.fp-num-col)) {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  border-left: 3px solid #FF9900;
  padding: 16px 22px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(122,41,0,0.07);
  position: relative;
}
.fp-step:not(:has(.fp-num-col)) > .fp-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: #FF9900;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 800;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(255,153,0,0.30);
  margin-top: 16px;
}
.fp-step:not(:has(.fp-num-col)) > .fp-num::before {
  content: 'STEP';
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 8px; font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700; letter-spacing: 0.18em;
  color: var(--orange-medium); white-space: nowrap;
}
/* 縦コネクター（旧構造） */
.flow-steps-list::before { display: none; } /* 旧縦ラインを非表示 */
