/*
Theme Name: Ver Globe
Theme URI: https://ver-globe.com/
Author: Ver Globe
Description: 有限会社ヴェル・グローブ オリジナルテーマ（岡崎市・西三河エリアの人材派遣会社）。お知らせ・対応職種はカスタム投稿タイプで管理画面から更新できます。
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: verglobe
*/
@charset "utf-8";

/* =========================================================
   デザイントークン（緑テーマ）
   既存リニューアルTOPの配色に合わせています
   ========================================================= */
:root {
  --green: #1A8A3B; 
  /* メインの緑（見出し・アクセント）3a9e3a */
  --green-strong: #2e8b2e;
  /* ボタン */
  --green-dark: #1f7a2e;
  /* フッター・ホバー */
  --green-soft: #eaf5ea;
  /* 淡い緑（背景アクセント） */


 --green: #1A8A3B;
  /* メインカラー */

  --green-strong: #157032;
  /* ボタン・強調 */

  --green-dark: #0F5A28;
  /* フッター・ホバー */

  --green-soft: #EEF7F0;
  /* 薄い背景 */

  --green-light: #CFE9D5;
  /* ボーダー・アイコン背景 */

  --green-pale: #F7FBF8;
  /* セクション背景 */

  --green-accent: #28A54B;
  /* 小さなアクセント */



  --ink: #222629;
  /* 見出しテキスト */
  --text: #444b4f;
  /* 本文 */
  --muted: #6d767b;
  /* 補足テキスト */
  --line: #e3e7e4;
  /* 罫線 */
  --bg: #ffffff;
  --bg-gray: #f5f7f5;
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

/* =========================================================
   リセット & ベース
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: .2s;
}

a:hover {
  opacity: .8;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* セクション共通 */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--bg-gray);
}

.section--soft {
  background: var(--green-soft);
}

/* セクション見出し（英語見出し＋日本語） */
.sec-head {
  text-align: center;
  margin-bottom: 48px;
}

.sec-head .en {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 10px;
}

.sec-head .ja {
  font-size: 30px;
  font-weight: 700;
}

.sec-head .lead {
  margin-top: 18px;
  color: var(--text);
}

/* ボタン */
.btn {
  display: inline-block;
  background: var(--green-strong);
  color: #fff;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(46, 139, 46, .25);
}

.btn:hover {
  background: var(--green-dark);
  opacity: 1;
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--green-dark);
  border: 2px solid var(--green);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.btn--tel {
  background: #fff;
  color: var(--green-dark);
  border: 2px solid var(--green);
  box-shadow: none;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.global-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}

.global-nav a:hover {
  color: var(--green);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-tel {
  text-align: right;
  line-height: 1.3;
}

.header-tel .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .02em;
}

.header-tel .time {
  font-size: 11px;
  color: var(--muted);
}

.header-cta {
  background: var(--green-strong);
  color: #fff;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 6px;
}

.header-cta:hover {
  background: var(--green-dark);
  color: #fff;
}

/* ハンバーガー（モバイル用） */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .3s;
}

/* =========================================================
   下層ページ共通ヒーロー
   ========================================================= */
.page-hero {
  /* margin-top: 80px; */
  background: var(--green-soft);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero .en {
  display: block;
  color: var(--green);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: 14px;
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: 34px;
}

.page-hero .lead {
  margin: 22px auto 0;
  color: var(--text);
}

.news-hero {
  background-image: linear-gradient(rgba(20, 77, 30, .55), rgba(20, 77, 30, .55)), url("assets/img/page-news.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.news-hero .en,
.news-hero h1,
.news-hero .lead {
  color: #fff;
}

.contact-hero {
  background-image: linear-gradient(rgba(20, 77, 30, .55), rgba(20, 77, 30, .55)), url("assets/img/page-contact.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.contact-hero .en,
.contact-hero h1,
.contact-hero .lead {
  color: #fff;
}

/* パンくず */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--green);
}

main {
  margin-top: 80px;
}

@media screen and (max-width:1240px) {
  main {
    margin-top: 68px;
  }
}

/* =========================================================
   汎用パーツ
   ========================================================= */
.lead-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

/* 番号付きカード（選ばれる理由） */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 28px 32px;
  position: relative;
  box-shadow: var(--shadow);
  text-align: center;
}

.reason-card .num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-card h3 {
  color: var(--green);
  font-size: 19px;
  margin-bottom: 14px;
}

.reason-card p {
  margin: 0;
  font-size: 15px;
  text-align: left;
}

/* 職種カード（CPT） */
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.job-card__thumb {
  aspect-ratio: 16/9;
  background: var(--bg-gray);
  overflow: hidden;
}

.job-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card__body {
  padding: 22px 22px 26px;
}

.job-card h3 {
  color: var(--green);
  font-size: 18px;
  margin-bottom: 10px;
}

.job-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

/* フロー（ご利用の流れ） */
.flow {
  max-width: 780px;
  margin: 0 auto;
  counter-reset: flow;
}

.flow__item {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--line);
}

.flow__item:last-child {
  border-bottom: 0;
}

.flow__num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.flow__body p {
  margin: 0;
  font-size: 15px;
}

/* お悩みチェックリスト */
.checklist {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 16px 20px;
  font-weight: 500;
  color: var(--ink);
}

.checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 12px;
}

/* メリット（3項目・横並び） */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.merit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.merit-card .badge {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
}

.merit-card h3 {
  font-size: 18px;
  margin: 8px 0 12px;
}

.merit-card p {
  margin: 0;
  font-size: 15px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.faq__q {
  font-weight: 700;
  color: var(--ink);
  padding: 18px 22px;
  background: var(--green-soft);
  display: flex;
  gap: 12px;
}

.faq__q::before {
  content: "Q";
  color: var(--green);
  font-weight: 800;
}

.faq__a {
  padding: 18px 22px;
  font-size: 15px;
  display: flex;
  gap: 12px;
}

.faq__a::before {
  content: "A";
  color: var(--muted);
  font-weight: 800;
}

/* 会社概要テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 840px;
  margin: 0 auto;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}

.info-table th {
  width: 250px;
  color: var(--ink);
  background: var(--bg-gray);
  font-weight: 700;
  white-space: nowrap;
}

/* お知らせリスト */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  /* max-width: 880px; */
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-list a {
  display: flex;
  gap: 28px;
  padding: 22px 4px;
  color: var(--text);
  align-items: baseline;
  flex-wrap: wrap;
}

.news-list a:hover {
  opacity: 1;
  color: var(--green-dark);
}

.news-list time {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}

/* お問い合わせフォーム（静的・CF7差し替え用） */
.contact-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto 56px;
}

.contact-choice a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 24px;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
}

.contact-choice a:hover {
  border-color: var(--green);
  opacity: 1;
}

.contact-choice .sub {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 8px;
}

/* 共通CTA帯 */
.cta-band {
  background: var(--green-soft);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.cta-band p {
  margin: 0 0 28px;
}

.cta-band .btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  background: var(--green-dark);
  color: #dfeede;
  padding: 56px 0 28px;
  margin-top: 0;
}

.site-footer a {
  color: #dfeede;
}

.site-footer a:hover {
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.footer-company .name {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-company p {
  margin: 4px 0;
  font-size: 14px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.footer-nav a {
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 12px;
  color: #bcd6bb;
}

.footer-bottom .legal {
  margin-bottom: 8px;
}

/* トップへ戻る */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 40;
  font-size: 22px;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   記事本文（single-news）
   ========================================================= */
.entry {
  /* max-width: 820px; */
  margin: 0 auto;
}

.entry__meta time {
  color: var(--green);
  font-weight: 700;
}

.entry__title {
  font-size: 28px;
  margin: 10px 0 28px;
}

.entry__body p {
  margin: 0 0 1.4em;
}

.news-back-button {
  background: var(--green-strong) !important;
  border-color: var(--green-strong) !important;
  color: #fff !important;
}

.news-back-button:hover {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  color: #fff !important;
}

.page-404__button {
  background: var(--green-strong) !important;
  border-color: var(--green-strong) !important;
  color: #fff !important;
}

.page-404__button:hover {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  color: #fff !important;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width:1024px) {

  .global-nav,
  .header-tel {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .global-nav.is-open li {
    border-bottom: 1px solid var(--line);
  }

  .global-nav.is-open a {
    display: block;
    padding: 14px 24px;
  }
}

@media (max-width:768px) {
  .section {
    padding: 56px 0;
  }

  .sec-head .ja {
    font-size: 24px;
  }

  .page-hero h1 {
    font-size: 22px;
  }

  .page-hero .en {
    font-size: 12px;
  }

  .page-hero .lead {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .reason-grid,
  .job-grid,
  .merit-grid,
  .contact-choice {
    grid-template-columns: 1fr;
  }

  .reason-grid {
    gap: 44px;
    margin-top: 22px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav ul {
    grid-template-columns: 1fr;
  }

  .info-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    border-bottom: 0;
  }

  .info-table th {
    padding: 14px 16px 6px;
    white-space: normal;
  }

  .info-table td {
    padding: 0 16px 14px;
  }

  .news-list a {
    gap: 6px;
  }
}
