/* =========================================================
   guarantee.css  成果保証のページ（/guarantee）。クラス名の頭は gr-
   色はトップの大画像（青・すみれ色）に合わせる
   ========================================================= */
.gr-root {
  --gr-ink: #12141b; --gr-text: #3a3d48; --gr-muted: #6b7080; --gr-line: #e3e6ee;
  --gr-tint: #f4f6fa; --gr-blue: #2f5bff; --gr-violet: #8a6cff; --gr-dark: #0d1330;
  --gr-grad: linear-gradient(100deg, #2f5bff 0%, #6a6cff 55%, #b36cf0 100%);
  width: 100%; align-items: stretch;
}
.gr-root :where(p, h1, h2, h3, li, a, span, figcaption, button, strong, small, em) { font-family: 'Noto Sans JP', sans-serif; font-feature-settings: "palt"; color: var(--gr-text); line-height: 1.8; }
.gr-main { display: block; width: 100%; }
.gr-wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.gr-wrap-narrow { max-width: 880px; }
.gr-pc { display: inline; }
@media (max-width: 760px) { .gr-wrap { padding: 0 20px; } .gr-pc { display: none; } }

/* 出現 */
html.js .gr-root [data-appear]:not(.in) { opacity: 0; translate: 0 24px; }
.gr-root [data-appear] { transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1); }

/* ---- 最初の画面 ---- */
.gr-hero { position: relative; overflow: hidden; padding: 180px 0 120px; background: #f1f2f5; }
.gr-hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(47,91,255,.28), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(179,108,240,.22), transparent 70%);
  filter: blur(20px); }
.gr-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--gr-line); }
.gr-hero-in { position: relative; }
.gr-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .08em; color: var(--gr-muted); }
.gr-eyebrow span { font-family: Poppins, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--gr-grad); padding: 4px 14px; border-radius: 99px; line-height: 1.6; }
.gr-h1.gr-h1 { margin-top: 28px; font-size: clamp(34px, 5.6vw, 68px); font-weight: 700; line-height: 1.3; letter-spacing: .01em; color: var(--gr-ink); }
.gr-lead.gr-lead { margin-top: 28px; font-size: 16px; color: var(--gr-text); max-width: 720px; }
.gr-hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--gr-line); border: 1px solid var(--gr-line); border-radius: 18px; overflow: hidden; }
.gr-hero-points li { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 30px; background: rgba(255,255,255,.82); backdrop-filter: blur(6px); }
.gr-pt.gr-pt { font-size: 15px; font-weight: 500; line-height: 1.7; color: var(--gr-ink); }
.gr-pt b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--gr-blue); }
.gr-pt-cond.gr-pt-cond { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--gr-line); font-size: 13.5px; line-height: 1.75; color: var(--gr-text); }
.gr-pt-cond em, .gr-keycond em { font-style: normal; display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.7; color: #fff; background: var(--gr-blue); }
.gr-pt-cond em.gr-ex, .gr-keycond em.gr-ex { background: #c2410c; margin-top: 4px; }
.gr-hero-sub.gr-hero-sub { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.82); border: 1px solid var(--gr-line); font-size: 14px; line-height: 1.75; }
.gr-hero-sub span, .gr-hero-sub b { font-size: 14px; line-height: 1.75; color: var(--gr-ink); }
.gr-hero-sub b { font-weight: 700; }
.gr-hero-sub-ic.gr-hero-sub-ic { flex: 0 0 auto; color: var(--gr-blue); font-size: 22px; }
.gr-keycond { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding: 20px 24px; max-width: 900px; border-left: 3px solid var(--gr-blue); background: rgba(47,91,255,.05); border-radius: 0 12px 12px 0; }
.gr-keycond p { font-size: 15px; line-height: 1.8; color: var(--gr-ink); }
.gr-num.gr-num { font-family: Poppins, sans-serif; font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -.02em; background: var(--gr-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr-num small { font-family: 'Noto Sans JP', sans-serif; font-size: 18px; font-weight: 700; margin-left: 4px; color: var(--gr-blue); -webkit-text-fill-color: var(--gr-blue); }
.gr-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.gr-btn.gr-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px 18px 34px; border-radius: 99px; background: var(--gr-ink); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .04em; box-shadow: 0 12px 30px -12px rgba(47,91,255,.6); }
.gr-btn:hover { background: var(--gr-blue); translate: 0 -2px; }
.gr-btn .gr-btn-ic { color: inherit; font-size: 20px; }
.gr-link.gr-link { font-size: 14px; color: var(--gr-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.gr-link:hover { color: var(--gr-blue); }
@media (max-width: 760px) {
  .gr-hero { padding: 140px 0 80px; }
  .gr-hero-points { grid-template-columns: 1fr; }
  .gr-hero-points li { padding: 22px 20px; }
  .gr-num.gr-num { font-size: 40px; }
  .gr-keycond { padding: 16px 18px; } .gr-keycond p { font-size: 14px; }
  .gr-lead.gr-lead { font-size: 15px; }
  .gr-btn.gr-btn { width: 100%; justify-content: center; }
}

/* ---- 区画 ---- */
.gr-sec { padding: 120px 0; background: #fff; }
.gr-sec-tint { background: var(--gr-tint); }
.gr-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 40px; }
.gr-no.gr-no { font-family: Poppins, sans-serif; font-size: 64px; font-weight: 500; line-height: .9; letter-spacing: -.03em; background: var(--gr-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr-en.gr-en { font-family: Poppins, sans-serif; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gr-blue); }
.gr-h2.gr-h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.4; color: var(--gr-ink); }
.gr-big.gr-big { font-size: clamp(19px, 2.4vw, 26px); font-weight: 500; line-height: 1.7; color: var(--gr-ink); max-width: 900px; }
.gr-big strong { color: var(--gr-blue); font-weight: 700; background: linear-gradient(transparent 70%, rgba(47,91,255,.14) 70%); }
.gr-small.gr-small { margin-top: 24px; font-size: 13px; color: var(--gr-muted); }
@media (max-width: 760px) { .gr-sec { padding: 80px 0; } .gr-no.gr-no { font-size: 46px; } .gr-head { gap: 16px; margin-bottom: 28px; } }

/* AI開発：手順と図 */
.gr-dev { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; margin-top: 56px; align-items: start; }
.gr-steps { counter-reset: s; display: flex; flex-direction: column; }
.gr-steps li { position: relative; padding: 0 0 30px 34px; border-left: 1px solid var(--gr-line); margin-left: 6px; }
.gr-steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.gr-steps li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--gr-blue); }
.gr-steps li:last-child::before { background: var(--gr-blue); }
.gr-step-no.gr-step-no { font-family: Poppins, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--gr-blue); }
.gr-steps h3 { font-size: 17px; font-weight: 700; color: var(--gr-ink); margin: 4px 0 4px; line-height: 1.5; }
.gr-steps p { font-size: 14px; }
.gr-chart { position: sticky; top: 120px; padding: 32px; border-radius: 20px; background: var(--gr-tint); border: 1px solid var(--gr-line); }
.gr-chart figcaption { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--gr-muted); }
.gr-bars { position: relative; display: flex; flex-direction: column; gap: 18px; margin: 24px 0 8px; padding-top: 30px; }
.gr-bar-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; }
.gr-bar-label.gr-bar-label { font-size: 13px; font-weight: 500; color: var(--gr-ink); }
.gr-bar { display: flex; align-items: center; height: 46px; border-radius: 10px; padding: 0 14px; }
.gr-bar span { font-family: Poppins, 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; }
.gr-bar-before { width: 100%; background: #8c93a6; }
.gr-bar-after { width: 70%; background: var(--gr-grad); }
.gr-line { position: absolute; top: 0; bottom: -6px; left: calc(68px + (100% - 68px) * .7); border-left: 2px dashed var(--gr-ink); }
.gr-line em { position: absolute; top: 0; left: 8px; font-style: normal; font-family: Poppins, 'Noto Sans JP', sans-serif; font-size: 12px; font-weight: 600; color: var(--gr-ink); white-space: nowrap; line-height: 1.2; }
.gr-formula.gr-formula { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gr-line); font-size: 13px; color: var(--gr-text); }
.gr-note { display: flex; gap: 18px; margin-top: 48px; padding: 26px 28px; border-radius: 16px; border: 1px solid var(--gr-line); background: #fff; box-shadow: 0 18px 40px -30px rgba(13,19,48,.35); }
.gr-note-ic.gr-note-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--gr-grad); color: #fff; font-size: 24px; }
.gr-note h3 { font-size: 16px; font-weight: 700; color: var(--gr-ink); line-height: 1.5; }
.gr-note p { font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .gr-dev { grid-template-columns: 1fr; } .gr-chart { position: static; } }
@media (max-width: 540px) { .gr-chart { padding: 22px 18px; } .gr-note { flex-direction: column; padding: 22px 20px; } .gr-bar span { font-size: 11.5px; } .gr-bar { padding: 0 10px; } }

/* 研修：カード */
.gr-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.gr-card { padding: 32px; border-radius: 18px; background: #fff; border: 1px solid var(--gr-line); }
.gr-card-tag.gr-card-tag, .gr-sub-tag.gr-sub-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gr-blue); padding: 2px 12px; border: 1px solid currentColor; border-radius: 99px; line-height: 1.8; }
.gr-card h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 700; color: var(--gr-ink); line-height: 1.5; }
.gr-card p:last-child { font-size: 14px; }
.gr-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.gr-check { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 16px; background: var(--gr-tint); }
.gr-check-ic.gr-check-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--gr-blue); color: #fff; font-size: 20px; }
.gr-check p { font-size: 15px; font-weight: 500; color: var(--gr-ink); }
@media (max-width: 760px) { .gr-cards2, .gr-cards3 { grid-template-columns: 1fr; } .gr-card { padding: 24px 22px; } }

/* 補助金・助成金・給付金（濃い面） */
.gr-sec-dark { position: relative; overflow: hidden; background: var(--gr-dark); }
.gr-sec-dark::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(47,91,255,.35), transparent 70%), radial-gradient(closest-side at 40% 70%, rgba(179,108,240,.25), transparent 70%); pointer-events: none; }
.gr-sec-dark .gr-wrap { position: relative; }
.gr-head-light .gr-h2.gr-h2 { color: #fff; }
.gr-head-light .gr-en.gr-en { color: #9fb2ff; }
.gr-sub { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.gr-sub-item { padding: 34px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.gr-sub-item .gr-sub-tag.gr-sub-tag { color: #b9c6ff; }
.gr-sub-item h3 { margin: 16px 0 12px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.55; color: #fff; }
.gr-sub-item p:last-child { font-size: 14px; color: rgba(255,255,255,.78); }
@media (max-width: 900px) { .gr-sub { grid-template-columns: 1fr; } .gr-sub-item { padding: 26px 22px; } }

/* 条件・対象外 */
.gr-cond { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gr-cond-col { padding: 30px 28px; border-radius: 18px; border: 1px solid var(--gr-line); background: #fff; }
.gr-cond-col h3 { font-size: 18px; font-weight: 700; color: var(--gr-ink); padding-bottom: 14px; border-bottom: 2px solid var(--gr-ink); line-height: 1.5; }
.gr-cond-label.gr-cond-label { margin: 20px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gr-blue); }
.gr-cond-label + ul + .gr-cond-label { color: #c2410c; }
.gr-cond ul { display: flex; flex-direction: column; gap: 8px; }
.gr-cond li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.7; }
.gr-cond li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: #b9bfcd; }
@media (max-width: 900px) { .gr-cond { grid-template-columns: 1fr; } .gr-cond-col { padding: 24px 22px; } }

/* 返金の流れ */
.gr-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gr-flow li { position: relative; padding: 30px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--gr-line); }
.gr-flow-no.gr-flow-no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gr-grad); color: #fff; font-family: Poppins, sans-serif; font-size: 16px; font-weight: 600; line-height: 1; }
.gr-flow h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 700; color: var(--gr-ink); line-height: 1.5; }
.gr-flow p { font-size: 14px; }
@media (max-width: 900px) { .gr-flow { grid-template-columns: 1fr; } .gr-flow li { padding: 24px 22px; } }

/* よくある質問 */
.gr-faq { display: flex; flex-direction: column; border-top: 1px solid var(--gr-line); }
.gr-faq-item { border-bottom: 1px solid var(--gr-line); }
.gr-faq-q.gr-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 26px 4px; text-align: left; }
.gr-faq-q p { font-size: 16px; font-weight: 500; color: var(--gr-ink); line-height: 1.6; }
.gr-faq-q p::before { content: "Q."; font-family: Poppins, sans-serif; font-weight: 600; color: var(--gr-blue); margin-right: 12px; }
.gr-faq-q:hover p { color: var(--gr-blue); }
.gr-faq-pm { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gr-line); }
.gr-faq-pm::before, .gr-faq-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--gr-ink); translate: -50% -50%; transition: rotate .3s ease; }
.gr-faq-pm::after { rotate: 90deg; }
.gr-faq-q:not(._isClose) .gr-faq-pm::after { rotate: 0deg; }
.gr-faq-a { overflow: hidden; transition: height .35s ease; }
html.js .gr-faq-a._isClose { height: 0; }
.gr-faq-a p { padding: 0 4px 26px 36px; font-size: 14.5px; }

/* 最後の問い合わせ */
.gr-cta { padding: 110px 0; background: var(--gr-grad); text-align: center; }
.gr-cta-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gr-cta .gr-en.gr-en { color: rgba(255,255,255,.8); }
.gr-cta-h.gr-cta-h { font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; line-height: 1.5; color: #fff; }
.gr-cta-in > p:not(.gr-en) { font-size: 14.5px; color: rgba(255,255,255,.9); max-width: 620px; }
.gr-btn.gr-btn-light { margin-top: 10px; background: #fff; color: var(--gr-ink); box-shadow: 0 16px 34px -14px rgba(13,19,48,.55); }
.gr-btn.gr-btn-light .gr-btn-ic { color: var(--gr-ink); }
.gr-btn.gr-btn-light:hover { background: var(--gr-dark); color: #fff; }
.gr-btn.gr-btn-light:hover .gr-btn-ic { color: #fff; }
@media (max-width: 760px) { .gr-cta { padding: 80px 0; } }
