/* 事業内容ページ（/jigyo/）専用デザイン */
.jg {
  --jg-navy: #0a3d62;
  --jg-navy-deep: #06263e;
  --jg-green: #347823;
  --jg-green-light: #4fa335;
  --jg-ink: #1d2733;
  --jg-muted: #5b6672;
  --jg-line: #e3e8ee;
  --jg-bg: #f4f7fa;
  color: var(--jg-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}
.jg *, .jg *::before, .jg *::after { box-sizing: border-box; }
.jg img { display: block; max-width: 100%; height: auto; }
.jg a { text-decoration: none; }

#site_wrap { overflow-x: clip; }
body.page-id-24 #main_col.jg-main { width: 100%; max-width: none; margin: 0 0 0; padding: 0; }

/* full-bleed helper */
.jg-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.jg-inner { width: calc(100% - 48px); max-width: 1150px; margin: 0 auto; }

/* ---------- hero ---------- */
.jg-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--jg-navy-deep);
}
.jg-hero__bg {
  position: absolute; inset: 0;
  background: url("/wp-content/uploads/jigyo/hero-team.jpg") center 60% / cover no-repeat;
  transform: scale(1.08);
  animation: jg-zoom 9s ease-out forwards;
}
.jg-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,38,62,.94) 0%, rgba(10,61,98,.82) 42%, rgba(10,61,98,.25) 100%);
}
.jg-hero__body { position: relative; z-index: 1; padding: 120px 0 72px; }
.jg-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .25em; color: #9fd28d;
  margin: 0 0 18px;
}
.jg-eyebrow::before { content: ""; width: 40px; height: 2px; background: currentColor; }
.jg-hero h1 {
  font-size: clamp(34px, 5vw, 58px); line-height: 1.25; font-weight: 700;
  margin: 0 0 22px; color: #fff; letter-spacing: .04em;
}
.jg-hero h1 span { display: block; font-size: .42em; letter-spacing: .3em; color: rgba(255,255,255,.7); margin-top: 10px; }
.jg-hero__lead { max-width: 560px; font-size: 16px; color: rgba(255,255,255,.88); margin: 0; }

.jg-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: 6px;
  box-shadow: 0 18px 40px rgba(6,38,62,.16);
  margin-top: -46px;
}
.jg-stat { padding: 26px 28px; border-left: 1px solid var(--jg-line); }
.jg-stat:first-child { border-left: 0; }
.jg-stat__num { font-size: 34px; font-weight: 700; color: var(--jg-navy); line-height: 1.1; letter-spacing: .02em; }
.jg-stat__num small { font-size: 15px; margin-left: 4px; color: var(--jg-ink); }
.jg-stat__label { font-size: 13px; color: var(--jg-muted); margin-top: 6px; }

/* ---------- business sections ---------- */
.jg-section-head { text-align: center; margin: 110px 0 60px; }
.jg-section-head .jg-eyebrow { color: var(--jg-green); justify-content: center; }
.jg-section-head .jg-eyebrow::after { content: ""; width: 40px; height: 2px; background: currentColor; }
.jg-section-head h2 span, .jg-cta h2 span { display: inline-block; }
.jg-section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; color: var(--jg-navy); margin: 0; line-height: 1.4; }

.jg-biz {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  align-items: stretch; margin: 0 0 90px;
}
.jg-biz--rev .jg-biz__media { order: 2; }
.jg-biz__media { position: relative; min-height: 420px; overflow: hidden; border-radius: 6px; }
.jg-biz__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.jg-biz:hover .jg-biz__media img { transform: scale(1.05); }
.jg-biz__num {
  position: absolute; left: 0; bottom: 0;
  background: var(--jg-navy); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .2em;
  padding: 14px 22px;
}
.jg-biz__body {
  position: relative; z-index: 1;
  background: #fff; padding: 52px 52px 46px;
  margin: 48px 0 48px -60px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(6,38,62,.12);
  border-top: 4px solid var(--jg-green);
}
.jg-biz--rev .jg-biz__body { margin: 48px -60px 48px 0; }
.jg-biz__en { font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--jg-green); margin: 0 0 8px; text-transform: uppercase; }
.jg-biz__title { font-size: 28px; font-weight: 700; color: var(--jg-navy); margin: 0 0 16px !important; line-height: 1.4; }
.jg-biz__text { font-size: 15px; color: var(--jg-muted); margin: 0 0 24px; }

.jg-list { list-style: none !important; margin: 0 0 30px !important; padding: 0 !important; display: grid; gap: 10px; }
.jg-list li {
  position: relative; margin: 0 !important; padding: 12px 16px 12px 46px !important;
  background: var(--jg-bg); border-radius: 4px; font-size: 15px; font-weight: 700; color: var(--jg-ink); line-height: 1.5;
}
.jg-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; background: var(--jg-green);
}
.jg-list li::after {
  content: ""; position: absolute; left: 22px; top: 50%; width: 6px; height: 10px; margin-top: -7px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.jg-list small { display: block; font-size: 12px; font-weight: 400; color: var(--jg-muted); margin-top: 2px; }

.jg-links { display: flex; flex-wrap: wrap; gap: 10px; }
.post_content .jg-link, .jg-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border: 1px solid var(--jg-navy); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--jg-navy);
  transition: background .25s, color .25s;
}
.jg-link::after { content: "→"; transition: transform .25s; }
.post_content .jg-link:hover, .jg-link:hover { background: var(--jg-navy); color: #fff; }
.jg-link:hover::after { transform: translateX(4px); }

/* ---------- flow strip ---------- */
.jg-flow { background: var(--jg-navy); color: #fff; padding: 80px 0; }
.jg-flow .jg-section-head { margin: 0 0 44px; }
.jg-flow .jg-section-head h2 { color: #fff; }
.jg-flow .jg-section-head .jg-eyebrow { color: #9fd28d; }
.jg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.jg-step {
  position: relative; padding: 28px 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  background: rgba(255,255,255,.04); counter-increment: step;
}
.jg-step::before { content: "STEP " counter(step, decimal-leading-zero); display: block; font-size: 12px; letter-spacing: .2em; color: #9fd28d; font-weight: 700; margin-bottom: 10px; }
.jg-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -14px; width: 10px; height: 10px; margin-top: -5px;
  border: solid rgba(255,255,255,.5); border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.jg-step h3 { font-size: 18px; color: #fff; margin: 0 0 8px !important; font-weight: 700; }
.jg-step p { font-size: 13.5px; color: rgba(255,255,255,.75); margin: 0; line-height: 1.7; }

/* ---------- CTA ---------- */
.jg-cta { padding: 90px 0 110px; background: var(--jg-bg); }
.jg-cta__box {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px;
  background: linear-gradient(120deg, var(--jg-navy-deep), var(--jg-navy));
  color: #fff; border-radius: 8px; padding: 56px 60px; position: relative; overflow: hidden;
}
.jg-cta__box::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(79,163,53,.18);
}
.jg-cta h2 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.4; }
.jg-cta p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; }
.jg-cta__actions { position: relative; display: grid; gap: 14px; }
.jg-tel { display: block; color: #fff !important; font-size: 34px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.jg-tel small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .05em; color: rgba(255,255,255,.7); margin-top: 4px; }
.post_content .jg-btn, .jg-btn {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  background: var(--jg-green); color: #fff; font-weight: 700; font-size: 16px;
  padding: 18px 24px; border-radius: 4px; transition: background .25s, transform .25s;
}
.jg-btn::after { content: "→"; }
.post_content .jg-btn:hover, .jg-btn:hover { background: var(--jg-green-light); color: #fff; transform: translateY(-2px); }

/* ---------- scroll animation ---------- */
.jg-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.jg-reveal.is-in { opacity: 1; transform: none; }
.jg-reveal--d1 { transition-delay: .12s; }
.jg-reveal--d2 { transition-delay: .24s; }
.jg-reveal--d3 { transition-delay: .36s; }
.jg-hero .jg-anim { opacity: 0; transform: translateY(24px); animation: jg-up .9s cubic-bezier(.2,.7,.2,1) forwards; }
.jg-hero .jg-anim:nth-child(2) { animation-delay: .15s; }
.jg-hero .jg-anim:nth-child(3) { animation-delay: .3s; }
@keyframes jg-up { to { opacity: 1; transform: none; } }
@keyframes jg-zoom { to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .jg-reveal, .jg-hero .jg-anim { opacity: 1; transform: none; transition: none; animation: none; }
  .jg-hero__bg { animation: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .jg-biz, .jg-biz--rev { grid-template-columns: 1fr; }
  .jg-biz--rev .jg-biz__media { order: 0; }
  .jg-biz__media { min-height: 300px; }
  .jg-biz__num { top: 0; bottom: auto; }
  .jg-biz__body, .jg-biz--rev .jg-biz__body { margin: -40px 20px 0; padding: 40px 32px 34px; }
  .jg-steps { grid-template-columns: repeat(2, 1fr); }
  .jg-step:nth-child(2)::after { display: none; }
  .jg-cta__box { grid-template-columns: 1fr; padding: 44px 36px; }
}
@media (max-width: 767px) {
  body.page-id-24 #main_col.jg-main { padding: 0; margin-top: 0; }
  .jg-inner { width: calc(100% - 32px); }
  .jg-hero { min-height: 460px; }
  .jg-hero__body { padding: 90px 0 70px; }
  .jg-hero__lead { font-size: 14.5px; }
  .jg-stats { grid-template-columns: 1fr; margin-top: -36px; }
  .jg-stat { border-left: 0; border-top: 1px solid var(--jg-line); padding: 16px 22px; }
  .jg-stat:first-child { border-top: 0; }
  .jg-stat__num { font-size: 26px; white-space: nowrap; }
  .jg-stat__label { margin-top: 4px; line-height: 1.5; }
  .jg-biz__num { top: 0; bottom: auto; padding: 10px 16px; font-size: 13px; }
  .jg-section-head { margin: 70px 0 40px; }
  .jg-biz { margin-bottom: 60px; }
  .jg-biz__media { min-height: 230px; }
  .jg-biz__body, .jg-biz--rev .jg-biz__body { margin: -30px 10px 0; padding: 32px 22px 28px; }
  .jg-biz__title { font-size: 23px; }
  .jg-flow { padding: 60px 0; }
  .jg-steps { grid-template-columns: 1fr; }
  .jg-step::after { display: none; }
  .jg-cta { padding: 60px 0 70px; }
  .jg-cta__box { padding: 36px 24px; }
  .jg-cta h2 { font-size: 22px; }
  .jg-tel { font-size: 28px; }
}
