/* ==========================================================
   入札案件の代理輸入（/bid/）専用スタイル
   紺と淡いブルーを基調に、白い角丸カードと写真で工程・強みを見せる
   ========================================================== */
.bd {
  --bd-navy: #0d3474;
  --bd-blue: #1f5fbf;
  --bd-tint: #f2f6fc;
  --bd-card: #f7f9fd;
  --bd-line: #dbe4f2;
  --bd-ink: #14213d;
  --bd-text: #36404f;
  color: var(--bd-text);
}
.bd p { margin: 0; }
/* サイト共通の広い字間だと狭いカードで折り返しが崩れるため、このページでは詰める */
.bd p, .bd li, .bd h3 { letter-spacing: .02em; }
.bd-wrap { width: 100%; max-width: 120rem; margin: 0 auto; padding: 0 2.4rem; box-sizing: border-box; }

/* ---------- ボタン ---------- */
.bd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem;
  min-width: 22rem; padding: 1.6rem 3.2rem; border-radius: 6px; border: 2px solid var(--bd-navy);
  background: var(--bd-navy); color: #fff !important; font-size: 1.6rem; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; box-sizing: border-box; transition: background-color .2s ease, color .2s ease;
}
.bd-btn span { font-size: 2rem; line-height: 1; }
.bd-btn:hover { background: var(--bd-blue); border-color: var(--bd-blue); text-decoration: none; }
.bd-btn--line { background: rgba(255,255,255,.85); color: var(--bd-navy) !important; }
.bd-btn--line:hover { background: #fff; color: var(--bd-blue) !important; }

/* ---------- ヒーロー ---------- */
.bd-hero { position: relative; background-size: cover; background-position: right center; padding: 15rem 0 9rem; }
.bd-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.35) 40%, rgba(255,255,255,0) 60%);
}
.bd-hero__inner { position: relative; }
.bd-hero__tag { display: inline-block; background: var(--bd-blue); color: #fff; font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; padding: .6rem 2rem; border-radius: 999px; }
.bd-hero__title { font-size: clamp(3.4rem, 3.6vw, 5rem); font-weight: 700; line-height: 1.45; letter-spacing: .04em; color: var(--bd-ink); margin: 2rem 0 2.4rem; }
.bd-hero__lead { font-size: 1.6rem; line-height: 2; color: #2b3445; font-weight: 500; }
.bd-hero__btns { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 3.6rem; }

/* ---------- セクション共通 ---------- */
.bd-sec { padding: 8rem 0; background: #fff; }
.bd-sec--tint { background: var(--bd-tint); }
.bd-title {
  position: relative; padding-left: 1.8rem; margin: 0 0 3.6rem;
  font-size: 2.6rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--bd-ink);
}
.bd-title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; background: var(--bd-blue); }

/* チェックリスト */
.bd-check { list-style: none; margin: 0; padding: 0; }
.bd-check li { position: relative; padding: 0 0 0 4.4rem; font-size: 1.8rem; line-height: 1.6; color: var(--bd-ink); }
.bd-check li + li { margin-top: 1.8rem; }
.bd-check li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 2.6rem; height: 2.6rem; border-radius: 4px; background: var(--bd-navy);
}
.bd-check li::after {
  content: ""; position: absolute; left: .9rem; top: .35em; width: .8rem; height: 1.4rem;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.bd-check--small li { font-size: 1.55rem; padding-left: 3.6rem; }
.bd-check--small li + li { margin-top: 1.4rem; }
.bd-check--small li::before { width: 2.2rem; height: 2.2rem; }
.bd-check--small li::after { left: .75rem; top: .3em; width: .7rem; height: 1.2rem; }

/* ---------- お悩み ---------- */
.bd-worry { padding-bottom: 0; }
.bd-worry__grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 3.2rem; align-items: center; }
.bd-worry__list { padding-bottom: 4rem; }
.bd-worry__photo { align-self: end; }
.bd-worry__photo img { display: block; width: 100%; max-width: 40rem; height: auto; margin: 0 auto; border-radius: 50% 50% 0 0; background: var(--bd-tint); }
.bd-worry__answer {
  background: #e6eef9; border-radius: 10px; padding: 3.2rem 2.8rem; margin-bottom: 4rem !important;
  font-size: 1.9rem; font-weight: 700; line-height: 1.8; color: var(--bd-ink);
}

/* ---------- ワンストップの工程 ---------- */
.bd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.4rem; }
.bd-step { position: relative; background: #fff; border: 1px solid var(--bd-line); border-radius: 10px; padding: 2rem 1.2rem 2rem; text-align: center; box-shadow: 0 4px 14px rgba(13,52,116,.06); }
.bd-step + .bd-step::before {
  content: ""; position: absolute; left: -1.7rem; top: 50%; width: .9rem; height: .9rem;
  border: solid var(--bd-blue); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg);
}
.bd-step__num { display: inline-flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--bd-blue); color: #fff; font-size: 1.4rem; font-weight: 700; }
.bd-step__name { margin: 1rem 0 1.2rem; font-size: 1.6rem; font-weight: 700; color: var(--bd-ink); }
.bd-step img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.bd-step__text { margin-top: 1.2rem !important; font-size: 1.3rem; line-height: 1.7; }

/* ---------- 4つの強み ---------- */
.bd-strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
.bd-strength { background: var(--bd-card); border: 1px solid var(--bd-line); border-radius: 10px; padding: 2.4rem 2rem 2.8rem; }
.bd-strength__title { display: flex; align-items: center; gap: 1.2rem; min-height: 5.4rem; margin: 0 0 1.8rem; font-size: 1.6rem; font-weight: 700; line-height: 1.55; color: var(--bd-ink); }
.bd-strength__title span { flex: none; font-size: 2.6rem; color: var(--bd-navy); font-weight: 700; }
.bd-strength img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.bd-strength p { margin-top: 1.8rem !important; font-size: 1.45rem; line-height: 1.85; }
.bd-record { margin-top: 3.2rem !important; text-align: center; font-size: 1.6rem; font-weight: 700; color: var(--bd-navy); }

/* ---------- 流れ・資料 ---------- */
.bd-flow__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4.8rem; align-items: start; }
.bd-flow__list { list-style: none; margin: 0; padding: 0; }
.bd-flow__list li { position: relative; display: flex; gap: 1.8rem; padding-bottom: 2.4rem; }
.bd-flow__list li:not(:last-child)::before { content: ""; position: absolute; left: 1.7rem; top: 3.6rem; bottom: .4rem; width: 2px; background: #c3d3ec; }
.bd-flow__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--bd-navy); color: #fff; font-size: 1.6rem; font-weight: 700; }
.bd-flow__list h3 { margin: .4rem 0 .4rem; font-size: 1.8rem; font-weight: 700; color: var(--bd-ink); }
.bd-flow__list p { font-size: 1.45rem; line-height: 1.8; }
.bd-docs { background: #fff; border: 1px solid var(--bd-line); border-radius: 10px; padding: 3.2rem 3.2rem 3.6rem; box-shadow: 0 4px 14px rgba(13,52,116,.06); }
.bd-docs__title { margin: 0 0 2.4rem; font-size: 1.9rem; font-weight: 700; color: var(--bd-ink); }
.bd-docs__note { margin: 2.8rem 0 2.8rem !important; padding-top: 2.4rem; border-top: 1px solid var(--bd-line); font-size: 1.45rem; line-height: 1.85; }
.bd-docs .bd-btn { width: 100%; }

/* ---------- お問い合わせ ---------- */
.bd-cta { background: linear-gradient(110deg, #0b2b63 0%, #123f8a 100%); padding: 6.4rem 0; color: #fff; }
.bd-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.bd-cta__title { margin: 0 0 1.6rem; font-size: 2.8rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: #fff; }
.bd-cta p { font-size: 1.55rem; line-height: 1.9; color: rgba(255,255,255,.9); }
.bd-cta__btn {
  flex: none; display: inline-flex; align-items: center; gap: 1.6rem; padding: 2rem 3.6rem; border-radius: 8px;
  background: #fff; color: var(--bd-navy) !important; font-size: 1.7rem; font-weight: 700; text-decoration: none; transition: background-color .2s ease;
}
.bd-cta__btn span { font-size: 2rem; line-height: 1; }
.bd-cta__btn:hover { background: #e6eef9; text-decoration: none; }

@media (max-width: 1100px) {
  .bd-steps { grid-template-columns: repeat(4, 1fr); }
  .bd-step + .bd-step::before { display: none; }
  .bd-strengths { grid-template-columns: 1fr 1fr; }
  .bd-worry__grid { grid-template-columns: 1fr 1fr; }
  .bd-worry__answer { grid-column: 1 / -1; margin-bottom: 4.8rem !important; text-align: center; }
  .bd-worry__list { padding-bottom: 0; }
}
@media (max-width: 767px) {
  .bd-wrap { padding: 0 1.6rem; }
  .bd-btn { min-width: 0; flex: 1 1 100%; }
  .bd-hero { padding: 10rem 0 5.6rem; background-position: 72% center; }
  .bd-hero::before { background: rgba(255,255,255,.82); }
  .bd-hero__tag { font-size: 1.35rem; }
  .bd-hero__title { font-size: 2.6rem; }
  .bd-hero__lead { font-size: 1.45rem; }
  .bd-sec { padding: 5.6rem 0; }
  .bd-worry { padding-bottom: 0; }
  .bd-title { font-size: 2rem; margin-bottom: 2.8rem; }
  .bd-check li { font-size: 1.6rem; padding-left: 4rem; }
  .bd-worry__grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .bd-worry__photo { order: 3; }
  .bd-worry__photo img { max-width: 28rem; }
  .bd-worry__answer { margin-bottom: 0 !important; font-size: 1.7rem; padding: 2.4rem; }
  .bd-steps { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .bd-step { padding: 1.6rem 1rem; }
  .bd-step__name { font-size: 1.5rem; }
  .bd-step__text { font-size: 1.25rem; }
  .bd-step__text br { display: none; }
  .bd-strengths { grid-template-columns: 1fr; gap: 1.6rem; }
  .bd-strength__title { min-height: 0; }
  .bd-record { font-size: 1.45rem; text-align: left; }
  .bd-flow__grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .bd-flow__list h3 { font-size: 1.65rem; }
  .bd-docs { padding: 2.4rem 2rem 2.8rem; }
  .bd-cta { padding: 5.6rem 0; }
  .bd-cta__inner { flex-direction: column; align-items: stretch; gap: 3.2rem; }
  .bd-cta__title { font-size: 2.1rem; }
  .bd-cta p { font-size: 1.45rem; }
  .bd-cta__btn { justify-content: center; }
}
