/* ご依頼の流れ（page-flow.php、2026-12-04）。このページだけで読み込む */
.fl { --fl-blue: #004da0; --fl-red: #a62126; --fl-ink: #333; --fl-muted: #777; --fl-line: #e2e4e8; --fl-soft: #f3f5f8; }
.fl-lead { text-align: center; font-size: 16px; }

/* 切り替えタブ */
.fl-tabs { display: flex; gap: 14px; justify-content: center; margin: 36px auto 0; max-width: 760px; }
.fl-tabs button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 16px;
  border: 2px solid var(--fl-line); border-radius: 18px; background: #fff; color: var(--fl-ink);
  font: inherit; cursor: pointer; transition: .15s;
}
.fl-tabs button b { font-size: 17px; }
.fl-tabs button small { font-size: 12px; color: var(--fl-muted); }
.fl-tabs button:hover { border-color: var(--fl-blue); }
.fl-tabs button.is-on { border-color: var(--fl-blue); background: var(--fl-blue); color: #fff; box-shadow: 0 6px 16px rgba(0, 77, 160, .2); }
.fl-tabs button.is-on small { color: rgba(255, 255, 255, .85); }
.fl-tabs button:focus-visible { outline: 3px solid rgba(0, 77, 160, .35); outline-offset: 2px; }

.fl-pane { display: none; margin-top: 44px; }
.fl-pane.is-on { display: block; }

/* ステップ */
.fl-steps { max-width: 820px; margin: 0 auto; padding: 0; list-style: none; }
.fl-step { position: relative; display: flex; gap: 24px; padding-bottom: 28px; }
.fl-step:not(:last-child)::before { content: ""; position: absolute; left: 39px; top: 80px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--fl-line) 0 6px, transparent 6px 12px); }
.fl-num {
  flex: 0 0 80px; height: 80px; border-radius: 50%; background: var(--fl-soft); color: var(--fl-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Josefin Sans", sans-serif; font-size: 26px; font-weight: 600; line-height: 1;
}
.fl-num span { font-size: 11px; letter-spacing: .1em; margin-bottom: 4px; color: var(--fl-muted); }
.fl-step:first-child .fl-num, .fl-step:last-child .fl-num { background: var(--fl-blue); color: #fff; }
.fl-step:first-child .fl-num span, .fl-step:last-child .fl-num span { color: rgba(255, 255, 255, .8); }
.fl-body { flex: 1; padding: 14px 24px 18px; background: #fff; border: 1px solid var(--fl-line); border-radius: 16px; }
.fl-body h3 { font-size: 18px; font-weight: 700; }
.fl-body h3 em { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #fdecec; color: var(--fl-red); font-size: 12px; font-style: normal; vertical-align: 2px; }
.fl-body p { margin-top: 6px; color: #555; line-height: 1.8; }

/* 吊り台紙の紹介 */
.fl-hanger { display: flex; gap: 36px; align-items: center; max-width: 980px; margin: 0 auto 48px; padding: 32px 36px; background: var(--fl-soft); border-radius: 24px; }
.fl-hanger__txt { flex: 1; }
.fl-hanger__en { font-family: "Josefin Sans", sans-serif; font-size: 12px; letter-spacing: .25em; color: var(--fl-blue); }
.fl-hanger h2 { margin-top: 6px; font-size: 26px; font-weight: 700; }
.fl-hanger p { margin-top: 12px; line-height: 1.9; }
.fl-points { margin-top: 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.fl-points li { padding: 12px 16px; background: #fff; border-radius: 14px; font-size: 13px; color: #555; line-height: 1.7; }
.fl-points li b { display: block; font-size: 15px; color: var(--fl-ink); }
.fl-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 0 24px; height: 46px; border-radius: 999px; border: 1.5px solid var(--fl-blue); color: var(--fl-blue) !important; font-weight: 700; transition: .15s; }
.fl-more::after { content: "\203A"; font-size: 20px; line-height: 1; margin-top: -2px; }
.fl-more:hover { background: var(--fl-blue); color: #fff !important; }
.fl-hanger__img { flex: 0 0 360px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fl-hanger__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: #fff; }

/* 最後の案内 */
.fl-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 980px; margin: 36px auto 0; padding: 30px 36px; border-radius: 24px; background: var(--fl-blue); color: #fff; }
.fl-cta h2 { font-size: 22px; font-weight: 700; }
.fl-cta p { margin-top: 4px; opacity: .9; }
.fl-cta__btns { display: flex; gap: 12px; }
.fl-cta__btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 200px; height: 58px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.3; transition: .15s; }
.fl-cta__btn small { font-size: 11px; font-weight: 500; opacity: .8; }
.fl-cta__btn.tel { background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .8); color: #fff !important; }
.fl-cta__btn.mail { background: #fff; color: var(--fl-blue) !important; }
.fl-cta__btn:hover { opacity: .9; }
.fl-note { margin-top: 18px; text-align: center; font-size: 12px; color: var(--fl-red); }

@media (max-width: 768px) {
  .fl-lead { font-size: 14px; text-align: left; }
  .fl-tabs { gap: 8px; margin-top: 24px; }
  .fl-tabs button { padding: 12px 8px; border-radius: 14px; }
  .fl-tabs button b { font-size: 14px; }
  .fl-tabs button small { font-size: 11px; line-height: 1.4; text-align: center; }
  .fl-pane { margin-top: 30px; }
  .fl-step { gap: 14px; padding-bottom: 18px; }
  .fl-step:not(:last-child)::before { left: 27px; top: 58px; }
  .fl-num { flex-basis: 56px; height: 56px; font-size: 19px; }
  .fl-num span { font-size: 9px; margin-bottom: 2px; }
  .fl-body { padding: 12px 16px 14px; border-radius: 14px; }
  .fl-body h3 { font-size: 16px; }
  .fl-body h3 em { display: inline-block; margin: 4px 0 0; }
  .fl-body p { font-size: 13px; }
  .fl-hanger { flex-direction: column-reverse; gap: 20px; padding: 22px 18px; border-radius: 20px; margin-bottom: 32px; }
  .fl-hanger__img { flex: none; width: 100%; }
  .fl-hanger h2 { font-size: 22px; }
  .fl-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 18px; border-radius: 20px; }
  .fl-cta__btns { flex-direction: column; }
  .fl-cta__btn { min-width: 0; }
}


/* ワンストップ制作の紹介（写真1枚） */
.fl-hanger__img.one { grid-template-columns: 1fr; }
.fl-hanger__img.one img { aspect-ratio: 4 / 3; }

/* 言葉の途中で行が変わらないように（文節で折り返す。対応していないブラウザは今までどおり） */
.fl p, .fl h2, .fl h3, .fl li, .fl small, .fl b { word-break: auto-phrase; text-wrap: pretty; }
.fl-nw { display: inline-block; }
.fl-more { white-space: nowrap; }
