/* ============================================================
   HP制作ページ
   ============================================================ */

/* ---------------- 共通 ---------------- */
.hp-head { max-width: 860px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.hp-head span { display: inline-block; margin-bottom: 14px; padding: 4px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.hp-head h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.55; }
.hp-head h2 b { color: var(--brand); }
.hp-head--light h2 { color: #fff; }

.hp-pill { display: inline-block; margin-bottom: 16px; padding: 4px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.hp-pill--light { background: #fff; color: var(--brand-ink); }

.hp-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 320px; padding: 18px 32px; border-radius: 999px; background: #06C755; color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 10px 26px rgba(6,199,85,.25); transition: transform .15s ease, background .15s ease; }
.hp-line:hover { background: #05b34c; transform: translateY(-2px); }
.hp-line--block { width: 100%; min-width: 0; }
@media (max-width: 560px) {
  .hp-line { width: 100%; min-width: 0; }
}

.hp-cta { margin-top: clamp(36px, 5vw, 52px); text-align: center; }

/* ---------------- ファーストビュー ---------------- */
.hp-hero { padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(120deg, #0E1B2E 0%, #1B47B8 100%); color: #fff; }
.hp-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(28px, 4vw, 56px); }
.hp-hero__label { margin-bottom: 18px; font-size: 15px; font-weight: 700; color: #BFD3FF; }
.hp-hero__catch { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #fff; }
.hp-hero__catch span { padding: 4px 18px; background: rgba(255,255,255,.08); font-size: clamp(26px, 4vw, 48px); line-height: 1.35; transform: skewX(-6deg); }
.hp-hero__catch span:first-child { background: #fff; color: var(--ink); }
.hp-hero__badges { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.hp-hero__badges li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border: 3px solid #C99A3F; border-radius: 50%; background: #fff; color: var(--brand-ink); font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; }
.hp-hero__badges small { margin-bottom: 4px; font-size: 11.5px; color: var(--ink-2); }
.hp-hero__badges b { font-family: var(--font-num); font-size: 28px; color: var(--brand); }

.hp-hero__card { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); text-align: center; }
.hp-hero__card-tag { display: inline-block; margin-bottom: 14px; padding: 4px 16px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 13px; font-weight: 700; }
.hp-hero__card-title { margin-bottom: 12px; font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.hp-hero__card-text { margin-bottom: 22px; font-size: 14px; line-height: 1.85; color: var(--ink-3); text-align: left; }
.hp-hero__card .hp-line { width: 100%; min-width: 0; }
@media (max-width: 880px) {
  .hp-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hp-hero__badges li { width: 96px; height: 96px; }
  .hp-hero__badges b { font-size: 22px; }
}

/* ---------------- メッセージ ---------------- */
.hp-message { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hp-message__lead { margin-bottom: 24px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.7; color: var(--ink); }
.hp-message__text p:not(.hp-message__lead) { margin-bottom: 18px; font-size: 16px; font-weight: 600; line-height: 2; color: var(--ink-2); }
.hp-message__text b { color: var(--brand); }
@media (max-width: 880px) {
  .hp-message { grid-template-columns: 1fr; }
}

/* ---------------- 濃い背景（実績） ---------------- */
.hp-dark { background: radial-gradient(circle at 20% 0%, #1B47B8 0%, #0E1B2E 55%); }
.hp-dark .works-grid-3 + div .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------------- 選ばれる理由 ---------------- */
.hp-reason { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-reason__card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.hp-reason__ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.hp-reason__card h3 { margin-bottom: 12px; font-size: 19px; color: var(--brand-ink); }
.hp-reason__card p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
@media (max-width: 900px) {
  .hp-reason { grid-template-columns: 1fr; }
}

/* ---------------- 相談の帯 ---------------- */
.hp-band { padding: clamp(56px, 7vw, 88px) 0; background: linear-gradient(120deg, #0E1B2E 0%, #1B47B8 100%); text-align: center; }
.hp-band__title { margin-bottom: 28px; font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.6; color: #fff; }

/* ---------------- 料金 ---------------- */
.hp-price-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hp-price-intro__catch { margin-bottom: 20px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.5; color: var(--ink); }
.hp-price-intro__catch b { color: var(--brand); }
.hp-price-intro__text > p:not(.hp-price-intro__catch) { font-size: 15px; line-height: 2; color: var(--ink-2); }
.hp-notes { margin: 18px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.9; color: var(--ink-mute); }
@media (max-width: 880px) {
  .hp-price-intro { grid-template-columns: 1fr; }
}

.hp-plan { overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-md); }
.hp-plan__head { padding: 18px; background: var(--brand); color: #fff; text-align: center; }
.hp-plan__head b { display: block; font-size: 19px; }
.hp-plan__head span { font-size: 13.5px; font-weight: 700; }
.hp-plan__body { padding: 26px 28px 30px; }
.hp-plan__price { margin-bottom: 20px; font-size: 18px; font-weight: 700; text-align: center; }
.hp-plan__price b { font-family: var(--font-num); font-size: 48px; color: var(--ink); }
.hp-plan__price small { display: block; font-size: 12.5px; color: var(--ink-mute); }

.hp-extra { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.hp-extra__item { padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.hp-extra__item b { display: block; margin-bottom: 6px; font-size: 14.5px; color: var(--brand-ink); }
.hp-extra__item span { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 1000px) {
  .hp-extra { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hp-extra { grid-template-columns: 1fr; }
}

/* ---------------- 月額に含まれるもの ---------------- */
.hp-service { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-service__card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-align: center; }
.hp-service__card small { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.hp-service__card h3 { margin-bottom: 12px; font-size: 18px; color: var(--ink); }
.hp-service__card p { font-size: 14px; line-height: 1.9; color: var(--ink-2); text-align: left; }
@media (max-width: 900px) {
  .hp-service { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hp-service { grid-template-columns: 1fr; }
}

/* ---------------- 比較表 ---------------- */
.hp-table-wrap { max-width: 980px; margin: 0 auto; overflow-x: auto; }
.hp-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 14px; }
.hp-table th, .hp-table td { padding: 16px 14px; border-bottom: 1px solid var(--line-soft); text-align: center; line-height: 1.6; }
.hp-table thead th { background: var(--bg-soft); font-size: 14.5px; color: var(--ink-2); }
.hp-table tbody th { width: 18%; background: var(--bg-soft); color: var(--ink-2); }
.hp-table td { color: var(--ink-3); }
.hp-table .is-ours { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.hp-table thead .is-ours { background: var(--brand); color: #fff; }

/* ---------------- 導入までの流れ ---------------- */
.hp-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-flow__card { padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.hp-flow__card small { display: block; margin-bottom: 8px; font-family: var(--font-num); font-size: 13px; font-weight: 700; color: var(--brand); }
.hp-flow__card h3 { margin-bottom: 10px; font-size: 18px; }
.hp-flow__card p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
@media (max-width: 1000px) {
  .hp-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hp-flow { grid-template-columns: 1fr; }
}

/* ---------------- よくある質問 ---------------- */
.hp-faq-cat { margin: 32px 0 8px; padding: 10px 16px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-ink); font-size: 16px; text-align: center; }

/* ---------------- 代表からの約束 ---------------- */
.hp-promise { background: linear-gradient(120deg, #0E1B2E 0%, #1B47B8 100%); color: #fff; }
.hp-promise__in { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hp-promise__photo { overflow: hidden; border-radius: var(--r-lg); background: #fff; color: var(--ink); text-align: center; }
.hp-promise__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hp-promise__photo b { display: block; margin-top: 14px; font-size: 17px; }
.hp-promise__photo span { display: block; margin-bottom: 16px; font-size: 13px; color: var(--brand); font-weight: 700; }
.hp-promise__text h2 { margin-bottom: 22px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.5; color: #fff; }
.hp-promise__text p { margin-bottom: 16px; font-size: 15px; line-height: 2; color: #fff; }
@media (max-width: 880px) {
  .hp-promise__in { grid-template-columns: 1fr; }
  .hp-promise__photo { max-width: 280px; margin: 0 auto; }
}

/* ---------------- お問い合わせ ---------------- */
.hp-contact { background: var(--bg-soft); }
.hp-contact__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hp-contact__text h2 { margin-bottom: 18px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.5; }
.hp-contact__text p { font-size: 15px; line-height: 2; color: var(--ink-2); }
.hp-contact__text ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.hp-contact__text li { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hp-contact__box { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-md); text-align: center; }
.hp-contact__box-title { margin-bottom: 18px; font-size: 19px; font-weight: 700; color: var(--ink); }
.hp-contact__mail { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.hp-contact__mail a { color: var(--brand); font-weight: 700; }
@media (max-width: 880px) {
  .hp-contact__in { grid-template-columns: 1fr; }
}
