@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --main-green: #8CC63F;
  --dark-green: #6AA32B;
  --text-main: #333;
  --bg-light: #f9f9f9;
  --accent-orange: #F5A623;
}

/* -------------------------------------
   WordPressテーマの影響を強制リセット
-------------------------------------- */
#jobpal-lp-wrapper h2, 
#jobpal-lp-wrapper h3, 
#jobpal-lp-wrapper h4, 
#jobpal-lp-wrapper p {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  margin: 0 !important; /* テーマのmargin: 0 0 15px 15px; などを強制リセット */
  padding: 0 !important;
  letter-spacing: normal !important;
}

#jobpal-lp-wrapper h2::before, 
#jobpal-lp-wrapper h2::after,
#jobpal-lp-wrapper h3::before, 
#jobpal-lp-wrapper h3::after {
  display: none !important;
  content: none !important;
}

/* 全体設定 */
#jobpal-lp-wrapper {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border-top:46px #f6f6f6 solid;
}

#jobpal-lp-wrapper * {
  box-sizing: border-box;
}

#jobpal-lp-wrapper img {
  max-width: 100%;
  height: auto;
}

#jobpal-lp-wrapper small {
  color: #000;
  display:inline;
}
/* セクションの共通設定 */
#jobpal-lp-wrapper .section { position: relative; }
#jobpal-lp-wrapper .sec-inner { padding: 20px 40px; }

#jobpal-lp-wrapper .sec-title {
  font-size: 24px !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin-top: 35px !important; /* タイトル下の余白を担保 */
  margin-bottom: 15px !important; /* タイトル下の余白を担保 */
  letter-spacing: 0.05em !important;
  color: inherit;
}
#jobpal-lp-wrapper .sec-desc {
  font-size: 14px !important;
  color: #555 !important;
  text-align: center !important;
  line-height: 1.8 !important;
  margin-bottom: 30px !important; /* 説明文下の余白を担保 */
}

/* 波型SVG区切り */
#jobpal-lp-wrapper .wave-divider {
  position: absolute;
  width: 100%;
  left: 0;
  line-height: 0;
  z-index: 10;
}
#jobpal-lp-wrapper .wave-divider svg { width: 100%; display: block; }
#jobpal-lp-wrapper .wave-top { top: -1px; }
#jobpal-lp-wrapper .wave-bottom { bottom: -1px; }

/* ===== HERO & JOBPALとは ===== */
#jobpal-lp-wrapper .hero-wrapper {
  position: relative;
  background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/fv.webp");
  background-size: cover;
  padding-top: 300px;
  margin-bottom: 30px;
  border-top:6px var(--main-green) solid;
}

#jobpal-lp-wrapper .jobpal-about {
  background: var(--main-green) !important;
  color: #fff;
  padding: 0px 40px 170px;
  text-align: center;
  position: relative;
  margin-top: -70px;
}

#jobpal-lp-wrapper .jobpal-about::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -15%;
  width: 130%;
  height: 120px;
  background: var(--main-green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

#jobpal-lp-wrapper .hero-catch {
  position: absolute;
  top: 158px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 5;
}
#jobpal-lp-wrapper .hero-catch .sub { font-size: 24px; font-weight: 900; display: block; letter-spacing: 0.1em; margin-bottom: 5px; }
#jobpal-lp-wrapper .hero-catch .main { font-size: 42px; font-weight: 900;line-height: 110%; }

#jobpal-lp-wrapper .jobpal-about .sec-title { color: #fff !important; position: relative; z-index: 2; margin-bottom: 20px !important;margin-top: 50px !important;}
#jobpal-lp-wrapper .jobpal-about .sec-desc { color: #fff !important; position: relative; z-index: 2; font-weight: 500 !important; font-size: 15px !important;}

#jobpal-lp-wrapper .pillars {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}
#jobpal-lp-wrapper .pillar {
  flex: 1;
  min-width: 180px;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  background: #fff !important;
  border: 12px solid #B4E175 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
#jobpal-lp-wrapper .pillar h4 { 
  position: absolute;
  top: -10px;
  left: -10px;
  width: 70px;
  height: 70px;
  background: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: var(--main-green) !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}
#jobpal-lp-wrapper .pillar p { 
  font-size: 14px !important; 
  line-height: 1.6 !important; 
  font-weight: 700 !important; 
  color: var(--main-green) !important;
  margin: 0 !important;
  text-align: center !important;
}

#jobpal-lp-wrapper .jobpal-about-bottom-wave {
  position: absolute;
  bottom: -1px;
  left: -15%;
  width: 130%;
  height: 100px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ===== 利用できるサービス（特徴） ===== */
#jobpal-lp-wrapper .features-sec { margin-top: -40px;padding: 0px 40px 80px; }
#jobpal-lp-wrapper .features-sec .features-title{ margin-top:0 !important; }
#jobpal-lp-wrapper .svc-blocks { display: flex; flex-direction: column; gap: 40px; }

#jobpal-lp-wrapper .svc-head {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--main-green) !important;
  color: #fff;
  padding: 20px 20px 20px 55px;
  border-radius: 0 5px 5px 0;
  margin-left: 25px;
  width: calc(100% - 25px);
  margin-bottom: 20px;
}
#jobpal-lp-wrapper .svc-head .num {
  position: absolute;
  left: -27px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 500;
  color: var(--main-green);
  background: #fff !important;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#jobpal-lp-wrapper .svc-head .ttl { font-size: 18px; font-weight: 500; margin: 0 !important; }

#jobpal-lp-wrapper .svc-body { padding: 0 10px; }
#jobpal-lp-wrapper .svc-grid { display: grid; gap: 20px; }
#jobpal-lp-wrapper .svc-grid.col2 { grid-template-columns: 1fr 1fr; }
#jobpal-lp-wrapper .svc-grid.col3 { grid-template-columns: 1fr 1fr 1fr; }
#jobpal-lp-wrapper .svc-grid.col4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

#jobpal-lp-wrapper .svc-item {
  background-color: #FAFAFA !important;
  border: none !important;
  border-radius: 8px;
  padding: 40px 15px !important;
  text-align: center;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 110px auto !important;
  letter-spacing: 0.05em;
}
#jobpal-lp-wrapper .svc-item-sub {
  background-size: 90px auto !important;
}

#jobpal-lp-wrapper .svc-item-sub2 {
  background-size: 80px auto !important;
}

#jobpal-lp-wrapper .svc-grid.col4 .svc-item {
  aspect-ratio: 1 / 1 !important; 
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important; 
  align-items: center !important; 
  padding: 10px !important; 
}

.svc-microitem p {
  font-size: 10px !important;
 }

#jobpal-lp-wrapper .svc-item-text-color .num-big { color: var(--accent-orange); }
#jobpal-lp-wrapper .svc-item strong { display: block; font-size: 14px; font-weight: 900; line-height: 1.4; margin-bottom: 8px; position: relative; z-index: 2; text-align: center !important;}
#jobpal-lp-wrapper .svc-item-sub2 strong { line-height: 160% !important;margin-bottom: 0px !important;}
#jobpal-lp-wrapper .svc-item p { font-size: 11px !important; color: #666 !important; line-height: 1.5 !important; margin: 0 !important; position: relative; z-index: 2; text-align: center !important;}
#jobpal-lp-wrapper .svc-item .num-big { font-size: 32px; font-weight: 900; display: block; line-height: 1; margin-bottom: 10px; position: relative; z-index: 2; text-align: center !important;}
#jobpal-lp-wrapper .svc-item .num-big small { font-size: 14px; font-weight: 700; margin-left: 2px;}

/* 各ブロックの個別背景画像設定 */
.svc-item-1  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img01.webp");background-size: 190px ; }
.svc-item-2  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img02.webp"); }
.svc-item-3  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img03.webp"); }
.svc-item-4  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img04.webp"); }
.svc-item-5  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img05.webp"); }
.svc-item-6  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img06.webp"); }
.svc-item-7  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img07.webp"); }
.svc-item-8  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img08.webp"); }
.svc-item-9  { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img09.webp"); }
.svc-item-10 { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img10.webp"); }
.svc-item-11 { background-image: url("https://lp.jobpal.jp/assets_lp/utg/welcome/images/img11.webp"); }


.svc-item {padding: 20px 0 !important;} 
.svc-item-text-color .num-big { color: var(--accent-orange);line-height: 100% !important; }
.svc-item strong { display: block; font-size: 14px; font-weight: 900; line-height: 100% !important; margin-top:0;margin-bottom: 8px; position: relative; z-index: 2; }
.svc-item p { font-size: 11px; color: #666; line-height: 1.5; position: relative; z-index: 2; }
.svc-item .num-big { font-size: 32px; font-weight: 900; display: block; line-height: 1; margin-bottom: 10px; position: relative; z-index: 2; }
.svc-item .num-big small { font-size: 14px; font-weight: 700; margin-left: 2px;}


#jobpal-lp-wrapper .promo-banner { margin-top: 40px; text-align: center; }
#jobpal-lp-wrapper .promo-banner img {
  max-width: 80%;
  border-radius: 10px;
}

/* ===== ペルソナ別カード（アコーディオン）===== */
#jobpal-lp-wrapper .persona-sec { position: relative; background: #fff !important; padding: 40px 40px 80px; }
#jobpal-lp-wrapper .persona-sec::before {
  margin-top: 30px;
  content: "";
  position: absolute;
  top: -40px;
  left: -15%;
  width: 130%;
  height: 60px;
  background: #fff;
  box-shadow: 0 -16px 0 0 var(--bg-light);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

#jobpal-lp-wrapper .persona-grid { display: flex; flex-direction: column; gap: 15px; }
#jobpal-lp-wrapper .persona-card {
  background: #fff !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}
#jobpal-lp-wrapper .persona-head {
  background: var(--main-green) !important;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}
#jobpal-lp-wrapper .persona-head span { font-size: 12px; font-weight: normal; margin-left: 10px; opacity: 0.9; }
#jobpal-lp-wrapper .persona-toggle { transition: transform .3s; font-size: 12px; }
#jobpal-lp-wrapper .persona-card.open .persona-toggle { transform: rotate(180deg); }

#jobpal-lp-wrapper .persona-body {
  display: none !important;
  padding: 25px;
  background: #FAFAFA !important;
}
#jobpal-lp-wrapper .persona-card.open .persona-body { display: flex !important; gap: 20px; align-items: center;}

#jobpal-lp-wrapper .persona-content { flex: 1; }
#jobpal-lp-wrapper .persona-content ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
#jobpal-lp-wrapper .persona-content li {
  font-size: 13px !important; font-weight: 700 !important; color: #444 !important;
  padding: 4px 0 4px 18px !important; position: relative;
  line-height: 1.6 !important;
  text-align: left !important;
}
#jobpal-lp-wrapper .persona-content li::before {
  content: "✓" !important; position: absolute; left: 0; color: var(--main-green); font-weight: 900;
}

#jobpal-lp-wrapper .persona-cta-btn {
  display: inline-block;
  background: #fff !important;
  color: var(--text-main) !important;
  border: 2px solid var(--text-main) !important;
  padding: 10px 24px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  transition: all 0.2s;
  text-align: center !important;
}
#jobpal-lp-wrapper .persona-cta-btn:hover { background: var(--text-main) !important; color: #fff !important; }

#jobpal-lp-wrapper .persona-img {
  width: 150px;
  height: 120px;

  background-size: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ===== グラフセクション ===== */
#jobpal-lp-wrapper .chart-sec { position: relative; padding: 40px 40px 80px; background: #fff !important; }
#jobpal-lp-wrapper .chart-sec::before {
  margin-top: 30px;
  content: "";
  position: absolute;
  top: -40px;
  left: -15%;
  width: 130%;
  height: 60px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -16px 0 0 var(--bg-light);
}

#jobpal-lp-wrapper .micro-copy {
  margin-top: 30px !important;
  margin-bottom: 5px !important;
  text-align: center !important;
  color: #6AA32B !important;
}

#jobpal-lp-wrapper .chart-sub-title {
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #000 !important;
  margin: 40px 0 15px !important;
}
#jobpal-lp-wrapper .chart-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; position: relative;}
#jobpal-lp-wrapper .chart-wrapper svg { max-width: 100%; height: auto; }

#jobpal-lp-wrapper .chart-conclusion-wrap { text-align: center; margin-top: 15px; }
#jobpal-lp-wrapper .chart-conclusion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  border: 2px solid var(--main-green) !important;
  color: var(--dark-green) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 6px rgba(140, 198, 63, 0.15) !important;
}
#jobpal-lp-wrapper .chart-conclusion::before { 
  content: "▶" !important; 
  font-size: 14px; 
  color: var(--dark-green);
  margin-right: 6px;
  transform: translateY(-1px);
}

/* ===== 最終CTA ===== */
#jobpal-lp-wrapper .final-cta-sec {
  position: relative;
  padding: 60px 40px 80px;
  text-align: center !important;
  background: #fff;
}
#jobpal-lp-wrapper .final-cta-sec::before {
  margin-top: 30px;
  content: "";
  position: absolute;
  top: -40px;
  left: -15%;
  width: 130%;
  height: 60px;
  background: #fff;
  box-shadow: 0 -16px 0 0 var(--bg-light);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

#jobpal-lp-wrapper .final-cta-title { 
  font-size: 20px !important; 
  font-weight: 900 !important; 
  margin-bottom: 30px !important; 
  position: relative; 
  z-index: 2; 
  text-align: center !important;
}

/* ★ 最終CTAのボタンを確実に中央揃えにするための指定 */
#jobpal-lp-wrapper .cta-btn-wrap,
#jobpal-lp-wrapper .cta-link-wrap {
  text-align: center !important;
  width: 100%;
}

#jobpal-lp-wrapper .btn-primary {
  position: relative; z-index: 2;
  display: inline-block !important; /* 中央揃えのためにinline-blockを強制 */
  background: var(--main-green) !important;
  color: #fff !important;
  padding: 18px 80px !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 15px rgba(140, 198, 63, 0.3) !important;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0 auto 20px auto !important;
}
#jobpal-lp-wrapper .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(140, 198, 63, 0.4) !important; }

#jobpal-lp-wrapper .text-link { 
  position: relative; 
  z-index: 2; 
  display: inline-block !important; 
  font-size: 13px !important; 
  color: #555 !important; 
  text-decoration: underline !important; 
  font-weight: 500 !important;
  margin: 0 auto !important;
}
.sp_only {display:none;}

/* レスポンシブ対応 */
@media (max-width: 650px) {
  /* ★追加：ページ大元で横スクロール（左右のブレ）を完全に防ぐ */
  body {
    overflow-x: hidden !important;
  }

  #jobpal-lp-wrapper .sec-inner, #jobpal-lp-wrapper .features-sec, #jobpal-lp-wrapper .jobpal-about, #jobpal-lp-wrapper .persona-sec, #jobpal-lp-wrapper .chart-sec, #jobpal-lp-wrapper .final-cta-sec {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #jobpal-lp-wrapper {
    border-top:46px solid #f6f6f;
  }

  /* ヒーロー画像を画面幅いっぱいにしつつ、4人全員を表示する */
  #jobpal-lp-wrapper .hero-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    border-top:6px var(--main-green) solid;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    
    /* ↓追加：画像をトリミングせず、横幅100%に合わせて全体を表示する */
    background-size: 100% auto !important; 
    background-position: top center !important;
    background-repeat: no-repeat !important;
    
    /* ↓修正：固定の300pxをやめ、画面幅に応じた高さ（可変）に変更 */
    padding-top: 46vw !important; 
  }

  #jobpal-lp-wrapper .jobpal-about { padding-top:20px !important;}

  #jobpal-lp-wrapper .jobpal-about::before {
    top: -40px;
    left: -15%;
    width: 130%;
    height: 80px;
  }

  #jobpal-lp-wrapper .jobpal-about .sec-title { margin-top:20px !important;}


  /* 画像が全体的に縮小されるため、上に乗るテキストの位置とサイズも調整 */
  #jobpal-lp-wrapper .hero-catch {
    top: 25vw !important; /* テキストの上下位置 */
  }
  
  #jobpal-lp-wrapper .hero-catch .main {
    font-size: 28px !important; /* テキストが大きすぎるとはみ出るので少し縮小 */
  }

  #jobpal-lp-wrapper .sec-title {
    font-size: 20px !important;
  }
  #jobpal-lp-wrapper .pillars {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  #jobpal-lp-wrapper .pillar {
    width: 200px;
    flex: none;
  }

  .svc-item .fs { font-size: 18px !important;}

  #jobpal-lp-wrapper .svc-head .ttl { font-size: 15px; }

  /* col2とcol3は1列（縦並び） */
  #jobpal-lp-wrapper .svc-grid.col2, 
  #jobpal-lp-wrapper .svc-grid.col3 {
    grid-template-columns: 1fr;
  }

  /* col4（ブロック4）は2列（2×2）にする */
  #jobpal-lp-wrapper .svc-grid.col4 {
    grid-template-columns: 1fr 1fr;
    gap: 10px; 
  }
  
  #jobpal-lp-wrapper .persona-card.open .persona-body {
    flex-direction: column;
  }
  #jobpal-lp-wrapper .btn-primary {
    padding: 15px 20px !important;
    width: 100%;
    max-width: 320px;
    font-size: 16px !important;
    white-space: normal;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
  }
  #jobpal-lp-wrapper .persona-cta-btn {
    width: 100%;
    text-align: center !important;
    padding: 12px 15px !important;
    white-space: normal;
    box-sizing: border-box;
  }
  #jobpal-lp-wrapper .chart-conclusion {
    width: 100%;
    padding: 12px 15px !important;
    font-size: 14px !important;
    white-space: normal;
    box-sizing: border-box;
    height: auto;
  }
  #jobpal-lp-wrapper .persona-head span { margin-left: 0px; }
  #jobpal-lp-wrapper .final-cta-title { 
    font-size: 30px !important; 
  }
  #jobpal-lp-wrapper .svc-grid.col4 .svc-item {
    aspect-ratio: 1 / 1 !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: center !important; 
    padding: 10px !important; 
  }
  .sp_only {display:block;}
}