/*
Theme Name: Recruit Corporate Theme
Theme URI: https://mjeinc.co.jp/
Author: MJE Inc.
Author URI: https://mjeinc.co.jp/
Description: 採用サイト専用 WordPressテーマ（SELECT Corporate Theme ベース）
Version: 1.0.0
License: Proprietary
Text Domain: recruit-theme
*/

/* ============================================================
   CSS変数
   ============================================================ */
:root {
  --color-primary:    #1a2a3a;   /* ネイビー：メイン */
  --color-accent:     #2d6a8f;   /* アクセントブルー */
  --color-accent-lt:  #4a90b8;   /* ライトアクセント */
  --color-text:       #222222;
  --color-text-light: #666666;
  --color-bg:         #ffffff;
  --color-bg-gray:    #f5f6f7;
  --color-bg-dark:    #1a2a3a;
  --color-border:     #e0e0e0;
  --color-white:      #ffffff;

  --font-en:  'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-ja:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

  --max-width: 1200px;
  --gutter: 40px;
  --gutter-sp: 20px;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   共通ユーティリティ
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .en {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-primary);
  display: block;
}
.section-header .ja {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-light);
  letter-spacing: 0.2em;
  display: block;
  margin-top: 10px;
}
.section-header .lead {
  font-size: 15px;
  color: var(--color-text-light);
  margin-top: 20px;
  line-height: 2;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: transparent;
  color: var(--color-primary);
  opacity: 1;
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  opacity: 1;
}
.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--accent:hover {
  background: transparent;
  color: var(--color-accent);
  opacity: 1;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-top {
  background: transparent;
}
.site-header.is-scrolled,
.site-header.is-inner {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  /* max-width: var(--max-width); */
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.site-logo a {
  display: block;
}
.site-logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--transition);
}
.site-logo .logo-white { display: block; }
.site-logo .logo-dark  { display: none; }
.site-header.is-scrolled .logo-white,
.site-header.is-inner .logo-white { display: none; }
.site-header.is-scrolled .logo-dark,
.site-header.is-inner .logo-dark { display: block; }
.site-logo .logo-text {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: color var(--transition);
}
.site-header.is-scrolled .logo-text,
.site-header.is-inner .logo-text { color: var(--color-primary); }

/* ナビゲーション */
.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.header-nav a .nav-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}
.header-nav a .nav-ja {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: none;
  line-height: 1;
  opacity: 0.8;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -14px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav a:hover { opacity: 1; }
.site-header.is-scrolled .header-nav a,
.site-header.is-inner .header-nav a { color: var(--color-primary); }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-white);
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}
.site-header.is-scrolled .hamburger span,
.site-header.is-inner .hamburger span { background: var(--color-primary); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ドロワーメニュー */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1010;
}
.drawer-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--color-primary);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.drawer-menu.is-open { right: 0; }
.drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-size: 24px;
}
.drawer-nav { display: flex; flex-direction: column; gap: 0; }
.drawer-nav a {
  display: block;
  color: var(--color-white);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-nav a .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
}
.drawer-nav a .ja-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
  letter-spacing: 0.1em;
}
.drawer-nav a:hover { opacity: 0.7; }

/* ============================================================
   ページヒーロー（下層ページ）
   ============================================================ */
.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 60, 0.35);
  z-index: 0;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
}
.page-hero__en {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  display: block;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.page-hero__en--italic {
  /* font-style: italic; */
  font-weight: 400;
}
.page-hero__ja {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  display: block;
  margin-top: 14px;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ============================================================
   プライバシーポリシー コンテンツ
   ============================================================ */
.privacy-content {
  padding: 72px 0 100px;
  background: var(--color-white);
}
.privacy-content__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* ブロックエディタ出力のスタイル統一 */
.privacy-content__inner p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 1.4em;
}
.privacy-content__inner p:first-child {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}
.privacy-content__inner h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 44px 0 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.privacy-content__inner h2:first-child { margin-top: 0; }
.privacy-content__inner ul,
.privacy-content__inner ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}
.privacy-content__inner ul { list-style: none; padding-left: 0; }
.privacy-content__inner ul li {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text);
  padding-left: 1.2em;
  position: relative;
}
.privacy-content__inner ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-text);
}
.privacy-content__inner ol li {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text);
}

/* パンくず */
.breadcrumb {
  padding: 16px 0;
  background: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-light);
}
.breadcrumb__list a { color: var(--color-accent); }
.breadcrumb__list a:hover { text-decoration: underline; opacity: 1; }
.breadcrumb__list span { color: var(--color-border); }

/* ============================================================
   TOPページ：MV（メインビジュアル）
   ============================================================ */
.mv {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 var(--gutter);
}
.mv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(10 20 40 / 20%) 0%, rgb(10 20 40 / 18%) 100%);
}
.mv__content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: var(--color-white);
  padding: 0 20px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.mv__label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.8;
  display: block;
  margin-bottom: 24px;
}
.mv__copy {
  font-family: var(--font-ja);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  display: block;
  white-space: pre-line;
  text-align: left;
}
.mv__sub {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 300;
  opacity: 0.85;
  margin-top: 24px;
  line-height: 1.8;
  display: block;
  text-align: left;
}
.mv__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  opacity: 0.8;
}
.mv__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--color-white);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   MESSAGE セクション
   ============================================================ */
.sec-message {
  padding: 120px 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}
/* 背景画像あり時 */
.sec-message--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sec-message__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgb(0 0 0 / 14%);
}
.sec-message .message-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.sec-message .message-body p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.2;
  color: var(--color-text);
}
.sec-message--bg .message-body p { color: rgba(255,255,255,0.9); }
.sec-message .message-body p + p { margin-top: 1.6em; }

/* ============================================================
   BUSINESS セクション（左：テキスト / 右：画像）
   ============================================================ */
.sec-business {
  padding: 0;
  background: var(--color-white);
  overflow: hidden;
}
.business-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.business-layout__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 80px 80px;
}
.business-layout__ja {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 36px;
}
.business-layout__en {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.business-layout__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.1;
  color: var(--color-text);
}
.business-layout__img {
  position: relative;
  overflow: hidden;
}
.business-layout__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   OUR JOB セクション
   ============================================================ */
.sec-job {
  padding: 120px 0;
  background: var(--color-white);
}
.job-list { display: flex; flex-direction: column; gap: 80px; }
.job-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
/* PC: 偶数アイテムの画像を右に交互配置 */
.job-item:nth-child(even) .job-item__img-wrap { order: 2; }
.job-item:nth-child(even) .job-item__body { order: 1; }
.job-item__img-wrap {
  position: relative;
  overflow: hidden;
}
.job-item__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.job-item__num {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}
.job-item__label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 12px;
}
.job-item__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}
.job-item__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text-light);
}

/* ============================================================
   SYSTEM セクション（福利厚生）
   ============================================================ */
.sec-system {
  padding: 120px 0;
  background: var(--color-bg-gray);
}
.system-table {
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
}
.system-table th, .system-table td {
  padding: 22px 30px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}
.system-table th {
  width: 200px;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-white);
  white-space: nowrap;
}
.system-table td {
  background: var(--color-white);
  color: var(--color-text-light);
}
.system-table tr:first-child th,
.system-table tr:first-child td {
  border-top: 2px solid var(--color-primary);
}
/* th空欄時：tdを左詰め1カラムで表示 */
.system-table__full-row td {
  width: 100%;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
}

.system-group {
  max-width: 1000px;
  margin: 0 auto 60px;
}
.system-group:last-child { margin-bottom: 0; }
.system-group__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0;
  padding: 16px 24px;
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================================
   COMPANY セクション
   ============================================================ */
.sec-company {
  padding: 120px 0;
  background: var(--color-white);
}
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.company-table {
  border-collapse: collapse;
  width: 100%;
}
.company-table th, .company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}
.company-table th {
  width: 120px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.company-table td { color: var(--color-text-light); }
.company-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.company-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.company-map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   JOB DESCRIPTION セクション
   ============================================================ */
.sec-jd {
  padding: 120px 0;
  background: var(--color-bg-gray);
  position: relative;
  overflow: hidden;
}
.sec-jd--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sec-jd__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* background はカスタマイザーのオーバーレイ濃度設定でインラインstyleに出力 */
}
.sec-jd--bg .container { position: relative; z-index: 1; }
/* 背景画像あり時：カードを半透明に */
.sec-jd--bg .jd-card {
  background: rgba(255,255,255,0.92);
}
.sec-jd--bg .section-header .en { color: var(--color-white); }
.sec-jd--bg .section-header .ja { color: rgba(255,255,255,0.75); }
.jd-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.jd-card {
  background: var(--color-white);
  padding: 40px;
}
.jd-card__type {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 12px;
}
.jd-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
}
.jd-table {
  border-collapse: collapse;
  width: 100%;
}
.jd-table th, .jd-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}
.jd-table th {
  width: 160px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  padding-right: 24px;
}
.jd-table td { color: var(--color-text-light); }

/* ============================================================
   ENTRY セクション（お問い合わせ）
   ============================================================ */
.sec-entry {
  padding: 120px 0;
  background: var(--color-primary);
  background-image: linear-gradient(135deg, #1a2a3a 0%, #2d3e50 100%);
  position: relative;
  overflow: hidden;
}
.sec-entry::before {
  content: 'ENTRY';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: 200px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
}
.sec-entry .section-header .en { color: var(--color-white); }
.sec-entry .section-header .ja { color: rgba(255,255,255,0.6); }
/* お電話ブロック全体 */
.entry-tel-block {
  text-align: center;
  margin-bottom: 60px;
  padding: 30px;
  border: 3px solid rgba(255,255,255,0.2);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.entry-tel-block__title {
  font-family: var(--font-ja);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin: 0;
  display: block;
}
.entry-tel-wrap {
  text-align: center;
}
.entry-tel {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.05em;
  display: block;
}
.entry-tel-info {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  display: block;
}

.top-contact__lead {
    text-align: center;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-white);
    margin-bottom: 40px;
}

/* お問い合わせフォーム */
.entry-form-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.entry-form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf7-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  align-items: start;
}
.cf7-row label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cf7-row .req,
.CF7_req {
  background: var(--color-accent-lt);
  color: var(--color-white);
  font-size: 10px;
  padding: 2px 6px;
  margin: 0 6px 0 0;
  letter-spacing: 0.1em;
}
.cf7-row .opt,
.CF7_unreq {
  background: var(--color-text-light);
  color: var(--color-white);
  font-size: 10px;
  padding: 2px 6px;
  margin: 0 6px 0 0;
  letter-spacing: 0.1em;
}
.entry-form-wrap input[type="text"],
.entry-form-wrap input[type="email"],
.entry-form-wrap input[type="tel"],
.entry-form-wrap select,
.entry-form-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.entry-form-wrap input::placeholder,
.entry-form-wrap textarea::placeholder { color: rgba(255,255,255,0.4); }
.entry-form-wrap input:focus,
.entry-form-wrap textarea:focus {
  border-color: var(--color-accent-lt);
  background: rgba(255,255,255,0.15);
}
.entry-form-wrap select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M6 7L0 0h12z' fill='rgba(255,255,255,0.6)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.entry-form-wrap select option { background: var(--color-primary); }
.entry-form-wrap textarea { height: 160px; resize: vertical; }
.entry-form-wrap .wpcf7-radio,
.entry-form-wrap .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
}
.entry-form-wrap .wpcf7-radio .wpcf7-list-item,
.entry-form-wrap .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-white);
  cursor: pointer;
}
.entry-form-wrap .wpcf7-radio input,
.entry-form-wrap .wpcf7-checkbox input { accent-color: var(--color-accent-lt); }
.privacy-agree {
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}
.privacy-agree a { color: var(--color-accent-lt); text-decoration: underline; }
.contact-privacy a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-privacy a:hover { opacity: 0.75; }
.entry-form-wrap .wpcf7-submit {
  display: block;
  width: 30%;
  padding: 18px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--color-accent);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  margin: 10px auto 0;
}
.entry-form-wrap .wpcf7-submit:hover {
  background: transparent;
  color: var(--color-accent-lt);
}
/* CF7_table クラス：CF7フォームビルダーで付与するテーブルレイアウト用 */
.CF7_table th,
.CF7_table td {
  padding: 14px 16px;
  vertical-align: top;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}
.CF7_table th {
  color: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
  width: 180px;
}
.CF7_table td {
  color: var(--color-white);
}

/* CF7 エラー表示 */
.wpcf7-not-valid-tip { color: #ff8a8a; font-size: 12px; margin-top: 4px; display: block; }
.wpcf7-response-output {
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: var(--color-white) !important;
  padding: 12px 20px !important;
  font-size: 13px !important;
  margin-top: 10px !important;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: #ffffff;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}
.footer-main {
  padding: 64px 0 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}

/* ブランド（左） */
.footer-brand .footer-logo {
  margin-bottom: 20px;
}
.footer-brand .footer-logo img {
  height: 44px;
  width: auto;
}
.footer-brand .footer-logo .logo-text {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}
.footer-address {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-top: 0;
}

/* ナビ（右） */
.footer-nav-wrap {
  display: flex;
  gap: 60px;
  padding-top: 8px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav-col h4 {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.footer-nav-col a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  transition: color var(--transition);
}
.footer-nav-col a:hover { color: var(--color-accent); opacity: 1; }

/* コピーライト */
.footer-bottom-bar {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}
.footer-copy {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  text-align: center;
}

/* ============================================================
   TOPへ戻るボタン
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* ============================================================
   固定ページ共通（プライバシー・完了）
   ============================================================ */
.page-content {
  padding: 80px 0 120px;
}
.page-content__inner {
  max-width: 860px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 1.2em;
}
.page-content ul, .page-content ol {
  list-style: initial;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.page-content ul li, .page-content ol li {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text-light);
}
.thanks-box {
  text-align: center;
  padding: 80px 40px;
  background: var(--color-bg-gray);
}
.thanks-box .thanks-icon {
  font-size: 60px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 24px;
}
.thanks-box h2 {
  font-size: 26px;
  font-weight: 700;
  border: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: center;
  color: var(--color-primary);
}
.thanks-box p {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 0;
}
.thanks-box .btn { margin-top: 40px; }

/* ============================================================
   アニメーション（フェードイン）
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 30px; }
  .company-inner { grid-template-columns: 1fr; gap: 40px; }
  .jd-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-wrap { flex-wrap: wrap; gap: 40px; }
  /* ヘッダー：1024px以下でハンバーガーに切り替え */
  .header-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root { --gutter: var(--gutter-sp); }
  .footer-nav-wrap { display: none; }

  .section-header .en { font-size: 36px; }
  .section-header { margin-bottom: 40px; }

  .mv__copy { font-size: clamp(24px, 8vw, 36px); }
  .mv__scroll { display: none; }

  .sec-message { padding: 80px 0; }
  .sec-business, .sec-job, .sec-system,
  .sec-company, .sec-jd, .sec-entry { padding: 80px 0; }

  /* BUSINESS */
  .business-layout { grid-template-columns: 1fr; }
  .business-layout__body { padding: 60px 24px; }
  .business-layout__img { min-height: 280px; }
  .business-layout__en { font-size: 32px; }

  .job-list { gap: 60px; }
  .job-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* SP: 全アイテム共通で本文→画像の順（画像は下） */
  .job-item .job-item__body    { order: 1; }
  .job-item .job-item__img-wrap{ order: 2; }
  /* PC用の交互配置をSPでリセット */
  .job-item:nth-child(even) .job-item__img-wrap { order: 2; }
  .job-item:nth-child(even) .job-item__body     { order: 1; }

  .system-table th { width: 120px; }
  .system-table th, .system-table td { padding: 16px 16px; font-size: 13px; }

  .cf7-row { grid-template-columns: 1fr; }
  .cf7-row label { padding: 0 0 6px; }

  .entry-tel { font-size: 32px; }
  .page-hero { height: 280px; }
  .page-hero__en { font-size: 36px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-wrap { display: flex; }
  .footer-copy { text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  .sec-entry::before { font-size: clamp(60px, 20vw, 120px); }

  /* テーブル1カラム化（SP） */
  .system-table tr:first-child th,
  .system-table tr:first-child td {
    border-top: none;
  }
  .system-table th,
  .system-table td,
  .jd-table th,
  .jd-table td,
  .CF7_table th,
  .CF7_table td {
    display: block;
    width: 100%;
  }
  .system-table th,
  .jd-table th,
  .CF7_table th {
    border-bottom: none;
    padding-bottom: 4px;
    white-space: normal;
  }
  .system-table td,
  .jd-table td,
  .CF7_table td {
    padding-top: 4px;
  }
}

@media (max-width: 480px) {
  .system-table {
    display: block;
    overflow-x: auto;
  }
}
