@charset "utf-8";
/* CSS Document */
.home #content {
  padding-top: 0;
}
/* ======= HERO ======= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  /* 縦横の余白調整 */
  padding: 80px 0;
  /* ★【変更・追記】背景をテーマの枠幅を超えて画面いっぱいに広げる */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, var(--primary-light) 0%, #eef7fc 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}
.hero-content-box {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 40px 44px 44px;
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 40.0px;
  font-weight: 700;
  color: #0f2d44;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 560px;
  text-shadow: none;
  letter-spacing: 0.02em;
  font-family: 'Noto Serif JP', serif;
}
.hero h1 span.lgreen {
  color: var(--primary);
  letter-spacing: 2px;
}

.hero h1 span.green {
  color: #029D7B;
}
.hero-desc {
  font-size: 18px;
  color: #2a4a5e;
  max-width: 500px;
  line-height: 1.95;
  margin-bottom: 30px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-size: 16.0px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  border: 2px solid transparent;
  flex: 1;
  justify-content: center;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  font-size: 16.0px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  transition: background 0.2s;
  flex: 1;
  justify-content: center;
}
.btn-outline:hover {
  background: var(--primary-light);
}
.consult-hours1 {
  font-size: 14.0px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px; /* 丸みのある角 */
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.contact-btn:hover {
  opacity: 0.8;
}
/* 事業者様向け（青） */
.contact-btn--blue {
  background-color: #1a96b8;
  color: #ffffff;
  border: 2px solid #1a96b8;
}
/* 外国人材向け（緑） */
.contact-btn--green {
  background-color: #3aab5e;
  color: #ffffff;
  border: 2px solid #3aab5e;
}
/* 翻訳 */
/*#text-3.w-header__item {
  position: absolute !important;
  top: 10px !important;
  right: 0 !important;
  z-index: 9999;
  background: transparent;
}*/
/* 1200px コンテナを absolute の基準にする（すでに relative になっているが念のため） */
.l-header__inner.l-container {
  position: relative !important;
}
.gt_container--tlgxfm, .gt_switcher .gt_selected a {
  font-size: 20px !Important;
}
/* ======= FLOW ======= */
.flow-section {
  background: var(--bg);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.flow-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24.0px;
  font-weight: 700;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(54, 133, 176, 0.25);
}
.flow-step h3 {
  font-size: 17.0px;
  font-weight: 700;
  color: #065576 !Important;
  margin-bottom: 10px;
  line-height: 1.4;
}
.flow-step p {
  font-size: 15.0px;
  color: var(--text);
  line-height: 1.8;
}
/* ===== 新着情報セクション デザイン ===== */
/* ラッパーを全幅に広げる */
.p-postListWrap {
  display: flex;
  flex-direction: row;
  position: relative;
  background-color: #d3faff;
  border: none!Important;
  border-radius: 0;
  box-sizing: border-box;
  margin-top: -33px;
  margin-bottom: 40px;
  overflow: visible;
  /* 全幅化 */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 550px);
  padding-right: calc(50vw - 550px);
}
/* 左側「新着情報」ラベル */
.p-postListWrap::before {
  content: "新着情報";
  display: flex;
  align-items: center;
  justify-content: center;
  text-orientation: mixed;
  background-color: #065576;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.15em;
  padding: 14px 14px;
  min-width: 150px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
/* リスト本体 */
.p-postListWrap .p-postList.-type-simple {
  flex: 1;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}
/* 各記事アイテム */
.p-postListWrap .p-postList__item {
  margin: 0;
  padding: 0;
  list-style: none;
	border: none!Important;
}
.p-postListWrap .p-postList__item:last-child {
  border-bottom: none!Important;
}
/* リンク部分 */
.p-postListWrap .p-postList__link {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  text-decoration: none;
  color: #333;
  background-color: transparent;
  border: none!Important;
}
.p-postListWrap .p-postList__link:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
/* メタ情報と本文を横並び */
.p-postListWrap .p-postList__body {
  display: flex;
  align-items: center;
  width: 100%;
}
/* メタ情報エリア（日付） */
.p-postListWrap .p-postList__meta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  margin-right: 12px;
}
/* 日付 */
.p-postListWrap .c-postTimes__posted {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}
/* 日付のアイコン非表示 */
.p-postListWrap .c-postTimes__posted::before, .p-postListWrap .icon-posted::before {
  display: none;
  content: none;
}
/* カテゴリ非表示 */
.p-postListWrap .p-postList__cat {
  display: none;
}
/* 新着情報リストの上部ボーダーを消す */
.p-postListWrap .p-postList.-type-simple {
  border-top: 1px solid #D3FAFF !important;
}
/* 各記事リンクの下ボーダーも消す場合 */
.p-postListWrap .-type-simple .p-postList__link {
  border-bottom: none !important;
}
/* 「NEW」バッジ */
.p-postListWrap .p-postList__meta::after {
  content: "NEW";
  display: inline-flex;
  align-items: center;
  background-color: #e8820c;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  margin-left: 10px;
  margin-right: 12px;
}
/* タイトル */
.p-postListWrap .p-postList__title {
  font-size: 14px;
  font-weight: normal;
  color: #333;
  margin: 0;
  line-height: 1.5;
}
/* メインビジュ下の説明文で背景をウィンドウ幅いっぱいに広げるラッパー */
.intro-wrap {
  background-color: #faf8ec;
  padding: 0;
  height: 140px;
  overflow: visible;
  display: flex;
  align-items: center;
}
.intro-section {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
  width: 100%;
}
.intro-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 0; /* マイナスマージン不要に */
}
.intro-image img {
  width: 200px;
  height: auto;
  display: block;
}
.intro-text-box {
  background-color: transparent;
  padding: 20px 0;
  border-radius: 0;
  flex: 1;
  display: flex;
  align-items: center;
}
.intro-text-box p {
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.8;
  color: #065677;
  margin: 0;
}
.intro-note {
  max-width: 900px;
  margin: -20px 0 30px 28%;
  font-size: 0.9rem;
  color: #555;
  text-align: left;
}
/* 相談窓口 */
.consultation1 h3 ~ *, .consultation2 h3 ~ * {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
}
.consult-lang {
  background: var(--bg);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 20px 14px;
}
.lang-label {
  font-size: 13.0px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  border: 10px;
}
.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-tag {
  font-size: 14.0px;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 10px;
  font-weight: 500;
}
.lang-tag.green-tag {
  background: var(--green-light);
  color: #019F7C;
}
/* 相談窓口 */
.consultation-tit1 {
  padding: 10px 28px 25px !Important;
  display: flex;
  align-items: end;
  gap: 14px;
  border-radius: 10px 10px 0 0;
}
.consultation-tit1::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-image: url('https://jesc.office-gita.com/wp-content/uploads/2026/06/icon1-2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0px 10px;
  position: relative !Important;
}
.consultation-tit2 {
  padding: 10px 28px 25px !Important;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 5px;
  border-radius: 10px 10px 0 0;
  flex-wrap: wrap !important;
}
.consultation-tit2::before {
  content: "";
  flex-shrink: 0;
  align-items: end;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-image: url('https://jesc.office-gita.com/wp-content/uploads/2026/06/icon2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0px 14px;
  position: relative !Important;
}
/* 相談窓口 時計アイコンサイズ 1.5倍 */
.consultation1 .swl-inline-icon {
  font-size: 26px;
}
.custom-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
/* 安全・適正な就労環境の確保について */
@media (min-width: 861px) {
  .x-pad {
    padding: 0 14%;
  }
}
/* 関連情報 メニュー説明をタグ表示する*/
.shortcode-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.shortcode-menu-card {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px 10px;
  border: 1.5px solid #a0c8d8;
  border-radius: 8px;
  padding: 12px 40px 12px 16px;
  text-decoration: none;
  color: #065677;
  background: #fff;
  transition: background 0.2s;
}
.shortcode-menu-card:hover {
  background: #f0f8fb;
}
.shortcode-menu-ext-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  color: #245E83;
  flex-shrink: 0;
}
.shortcode-menu-desc {
  font-size: 12px;
  color: #555;
  background: #e0f0f5;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.shortcode-menu-title {
  font-size: 15px;
  line-height: 1.6;
  min-width: 0;
}
/* ==========================================
   レスポンシブ表示（画面幅が狭いときの設定）
========================================== */
@media (min-width: 660px) and (max-width: 860px) {
  .p-postListWrap {
    margin-top: 150px;
  }
}
@media (max-width: 860px) {
  /* SP用メインビジュアル：幅いっぱい・縦横比を保って表示 */
  .hero {
    display: block;
    padding: 0 0 8vw 0; /* ← 下余白はここで */
    min-height: unset;
    position: relative;
    background: #fefde9;
    overflow: visible;
  }
  .hero-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
  }
  .hero-overlay {
    display: none;
  }
  .hero-content {
    position: relative; /* ← absoluteをやめる */
    top: auto;
    left: auto;
    right: auto;
    margin-top: -75%;
    padding: 0 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content-box {
    padding: 20px;
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
  }
  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .consult-grid {
    grid-template-columns: 1fr;
  }
  .about-text-with-img {
    grid-template-columns: 1fr;
  }
  .about-top-grid {
    grid-template-columns: 1fr;
  }
  .scheme-cards {
    grid-template-columns: 1fr;
  }
  .info-groups {
    grid-template-columns: 1fr;
  }
  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .flow-steps::before {
    display: none;
  }
  .hero h1 {
    font-size: 22.0px;
    margin-bottom: 10px;
  }
  .safety-inner {
    flex-direction: column;
    gap: 24px;
  }
  nav {
    display: none;
  }
  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .btn-primary, .btn-outline {
    width: auto;
    text-align: center;
    padding: 5px;
    font-size: 14px;
  }
  /* intro-section SP対応 */
  .intro-wrap {
    height: auto;
    padding: 24px 0;
  }
  .intro-section {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .intro-image {
    justify-content: center;
  }
  .intro-image img {
    width: 160px;
  }
  .intro-text-box {
    padding: 0;
    text-align: center;
  }
  .intro-note {
    margin: 8px 20px 24px;
    text-align: center;
  }
  /* 縦並びに変更 */
  .p-postListWrap {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
  /* 「新着情報」ラベルを横帯に */
  .p-postListWrap::before {
    writing-mode: horizontal-tb;
    min-width: unset;
    width: 100%;
    padding: 10px 16px;
    font-size: 15px;
    letter-spacing: 0.1em;
  }
  /* リスト全幅 */
  .p-postListWrap .p-postList.-type-simple {
    width: 100%;
  }
  /* リンクのパディング調整 */
  .p-postListWrap .p-postList__link {
    padding: 12px 16px;
  }
  /* タイトルを折り返し */
  .p-postListWrap .p-postList__body {
    flex-wrap: wrap;
    gap: 4px;
  }
  .p-postListWrap .p-postList__title {
    width: 100%;
    font-size: 13px;
  }
  .intro-section {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
  .intro-image {
    justify-content: center;
    margin-top: -30px;
  }
  .intro-note {
    text-align: center;
    padding: 0 20px;
  }
}
@media (max-width: 560px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
  :root {
    --section-pad: 56px 0;
  }
}

@media (max-width: 380px) {
	.hero-eyebrow{
		font-size: 18px;
	}
	.btn-primary, .btn-outline{
		font-size:12px;
	}
}