/* ============================================================
   Variables
   ============================================================ */
:root {
  --navy:   #0a1628;
  --navy2:  #112240;
  --navy3:  #1a3a6b;
  --gold:   #c9a84c;
  --gold2:  #e8c86e;
  --white:  #ffffff;
  --gray:   #8a96a8;
  --light:  #f4f6f9;
  --text:   #1a1a2e;
  --border: rgba(201,168,76,0.25);

  /* 明るいテーマ用サーフェス（下部のライトテーマ上書きで使用） */
  --l-tint:    #eef3fa;   /* 旧ダーク特集セクションの明るい代替 */
  --l-tint2:   #e4ecf7;
  --l-footer:  #e9eef6;
  --l-line:    #d9e1ee;   /* 明るい面の区切り線 */
  --l-text:    #4a5568;   /* 明るい面の本文グレー */
  --l-text2:   #6b7689;   /* 明るい面の補助テキスト */

  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --max-w: 1160px;
  --header-h: 72px;
}

/* ============================================================
   Base
   ============================================================ */
body {
  font-family: var(--font-ja);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
}

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

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-logo .logo-ja {
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.site-logo .logo-en {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-weight: 500;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.nav-contact {
  margin-left: 8px;
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  border-radius: 2px;
}

.nav-contact:hover {
  background: var(--gold2) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--navy2);
  padding: 24px;
  z-index: 999;
  border-top: 1px solid var(--border);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.05em;
}

.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   Page offset for fixed header
   ============================================================ */
.page-body {
  padding-top: var(--header-h);
}

/* ============================================================
   Hero (トップページ)
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 背景写真（パララックスで上下に動くため上下に余白を持たせる） */
.hero .hero-bg {
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: 0;
  right: 0;
  background: url('../img/hero_office.jpg') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(17,34,64,0.82) 55%, rgba(13,42,74,0.78) 100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.hero-title em {
  color: var(--gold);
  font-style: normal;
}

.hero-desc {
  max-width: 560px;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-hint {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ============================================================
   Parallax sections (トップページ)
   ============================================================ */
.plx-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.plx-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 55%, var(--navy3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plx-light {
  background: linear-gradient(160deg, var(--light) 0%, #e9eef5 100%);
}

/* moving layers (translated by JS on scroll) */
.plx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.plx-word {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.18);
  user-select: none;
  white-space: nowrap;
}

.plx-light .plx-word {
  -webkit-text-stroke: 1px rgba(10,22,40,0.1);
}

.hero .plx-word {
  top: auto;
  bottom: 4%;
  transform: none;
}

.plx-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.plx-circle-a {
  top: -15%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border: 1px solid rgba(201,168,76,0.12);
}

.plx-circle-b {
  bottom: -20%;
  left: -6%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(26,58,107,0.1) 0%, transparent 70%);
  border: 1px solid rgba(26,58,107,0.12);
}

/* content */
.plx-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 96px;
}

.plx-content > div {
  max-width: 560px;
}

.plx-content-right {
  display: flex;
  justify-content: flex-end;
}

.plx-num {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  display: inline-block;
}

.plx-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 24px;
}

.plx-dark .plx-title {
  color: var(--white);
}

.plx-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 28px;
}

.plx-dark .plx-desc {
  color: rgba(255,255,255,0.72);
}

.plx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.plx-tags li {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 500;
}

.plx-light .plx-tags li {
  color: var(--navy3);
  border-color: rgba(26,58,107,0.25);
  background: rgba(255,255,255,0.6);
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .plx-layer { transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.3);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   Section common
   ============================================================ */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--light);
}

.section-dark {
  background: var(--navy);
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.section-dark .section-title,
.section-dark .section-label {
  color: var(--white);
}

.section-desc {
  margin-top: 16px;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.9;
}

/* ============================================================
   Cards grid
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}

.card {
  background: var(--white);
  padding: 40px 32px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.card:hover {
  border-left-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.card-num {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.card-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
}

.card-link::after {
  content: ' →';
}

/* ============================================================
   News / お知らせ
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e8edf3;
}

.news-item:first-child { border-top: 1px solid #e8edf3; }

.news-date {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  white-space: nowrap;
  font-weight: 700;
  min-width: 96px;
}

.news-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================================
   CTA section
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.cta-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.cta-tel {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.cta-tel-item {
  color: var(--white);
  font-size: 0.85rem;
}

.cta-tel-item strong {
  display: block;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.cta-btn-wrap {
  margin-top: 32px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #060e1c;
  color: rgba(255,255,255,0.5);
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-ja { font-size: 1rem; color: var(--white); letter-spacing: 0.08em; font-weight: 700; }
.footer-logo .logo-en { font-size: 0.6rem; color: var(--gold); letter-spacing: 0.22em; margin-top: 4px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  padding: 72px 0 48px;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--border);
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }

.page-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   Inner content
   ============================================================ */
.content-section {
  padding: 80px 0;
}

.content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.prose {
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 2;
  color: #333;
}

.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 16px;
  margin: 48px 0 20px;
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy2);
  margin: 32px 0 12px;
}

.prose p { margin-bottom: 20px; }

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.prose li { margin-bottom: 8px; }

/* Table */
.data-table {
  width: 100%;
  border-top: 1px solid #dde3ec;
}

.data-table tr { border-bottom: 1px solid #dde3ec; }

.data-table th {
  text-align: left;
  padding: 16px 20px;
  background: var(--light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  width: 28%;
  vertical-align: top;
}

.data-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #444;
  vertical-align: top;
}

/* マージン率ページ用の数値リスト */
.margin-list {
  margin: 0 0 8px;
  border-top: 1px solid #dde3ec;
}

.margin-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  padding: 18px 4px;
  border-bottom: 1px solid #dde3ec;
}

.margin-item .margin-no {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold2);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.margin-item .margin-label {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.7;
}

.margin-item .margin-value {
  flex: none;
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.margin-item .margin-value .unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  margin-left: 2px;
}

.margin-note {
  display: block;
  flex-basis: 100%;
  margin-left: 36px;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.6;
}

/* キャリア形成支援（5列マトリクス） */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dde3ec;
  font-size: 0.85rem;
}

.matrix-table th,
.matrix-table td {
  padding: 12px 14px;
  border: 1px solid #dde3ec;
  text-align: center;
  vertical-align: middle;
}

.matrix-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.matrix-table tbody th {
  background: var(--light);
  color: var(--navy);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.matrix-table tbody tr:nth-child(even) td { background: #fafbfd; }

.margin-sub {
  margin: 16px 0 8px;
  font-weight: 700;
  color: var(--navy2);
}

@media (max-width: 768px) {
  .margin-item .margin-value { margin-left: 0; }
  .matrix-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* 所在地（会社情報） */
.office-item {
  padding: 14px 0;
  border-bottom: 1px dashed #dde3ec;
  line-height: 1.8;
}

.office-item:first-child { padding-top: 0; }
.office-item:last-child { border-bottom: none; padding-bottom: 0; }

.office-name {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.office-map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.office-map-link::after { content: ' →'; }

.office-map-link:hover { text-decoration: underline; }

/* Result table (column-header table, 業務実績など) */
.result-table {
  width: 100%;
  border-top: 1px solid #dde3ec;
  margin-bottom: 32px;
}

.result-table tr { border-bottom: 1px solid #dde3ec; }

.result-table th {
  text-align: left;
  padding: 12px 20px;
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.result-table th + th { width: 28%; }

.result-table td {
  padding: 12px 20px;
  font-size: 0.9rem;
  color: #444;
  vertical-align: top;
}

.result-table tr:nth-child(even) td { background: var(--light); }

/* Sub nav (company / recruit) */
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 48px;
}

.sub-nav a {
  padding: 10px 20px;
  background: var(--light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid #dde3ec;
  transition: all 0.2s;
}

.sub-nav a:hover,
.sub-nav a.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.sitemap-group h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 12px;
}

.sitemap-group ul { padding-left: 0; }

.sitemap-group li { margin-bottom: 8px; }

.sitemap-group a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.sitemap-group a:hover { color: var(--gold); }

.sitemap-group a::before { content: '— '; }

/* Contact form */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccd3de;
  border-radius: 2px;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--navy3);
}

.form-row textarea { height: 160px; resize: vertical; }

.required {
  display: inline-block;
  font-size: 0.65rem;
  background: var(--gold);
  color: var(--navy);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-alert {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f3c4c0;
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.form-row.has-error input,
.form-row.has-error textarea,
.form-row.has-error select {
  border-color: #b3261e;
}

.field-error {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #b3261e;
}

/* Privacy */
.privacy-box {
  background: var(--light);
  border: 1px solid #dde3ec;
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 32px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 60px 24px; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }

  .cards-grid { grid-template-columns: 1fr; gap: 2px; }

  .section { padding: 64px 0; }

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

  .data-table th,
  .data-table td { display: block; width: 100%; }
  .data-table th { background: var(--light); }

  .cta-tel { flex-direction: column; gap: 20px; }

  .news-item { flex-direction: column; gap: 4px; }

  .plx-section { min-height: auto; }
  .plx-content { padding-top: 72px; padding-bottom: 72px; }
  .plx-content-right { justify-content: flex-start; }
  .plx-circle-a, .plx-circle-b { width: 280px; height: 280px; }
}

/* ============================================================
   明るいテーマ（ライトバージョン）
   ------------------------------------------------------------
   ダーク基調の「面」を明るい配色へ置き換え、
   その上に乗る文字色を可読なダーク／グレーに反転する。
   ゴールドのアクセントは維持。
   ※ --navy / --gold 等は文字色としても使うため変数自体は
     変えず、背景と文字色のみを個別に上書きしている。
   ============================================================ */

/* --- Header --- */
.site-header {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--l-line);
}
.site-logo .logo-ja { color: var(--navy); }
.site-nav a { color: var(--navy); }
.site-nav a:hover,
.site-nav a.active { color: var(--gold); background: rgba(201,168,76,0.10); }
.hamburger span { background: var(--navy); }

/* --- Mobile nav drawer --- */
.mobile-nav { background: #ffffff; border-top: 1px solid var(--l-line); }
.mobile-nav a { color: var(--navy); border-bottom: 1px solid #eef1f6; }

/* --- Hero --- */
.hero { background: var(--light); }
.hero-overlay {
  background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(238,243,250,0.82) 55%, rgba(228,236,247,0.76) 100%);
}
.hero-title { color: var(--navy); }
.hero-title em { color: var(--gold); }
.hero-desc { color: var(--l-text); }
.hero-scroll { color: rgba(10,22,40,0.45); }

/* hero / dark文脈で使われていたアウトラインボタン */
.btn-outline { border: 1px solid rgba(10,22,40,0.35); color: var(--navy); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* --- Parallax 特集セクション --- */
.plx-dark {
  background: linear-gradient(135deg, var(--l-tint) 0%, var(--l-tint2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plx-dark .plx-title { color: var(--navy); }
.plx-dark .plx-desc { color: var(--gray); }
.plx-dark .plx-word { -webkit-text-stroke: 1px rgba(10,22,40,0.10); }
.plx-light {
  background: linear-gradient(160deg, #ffffff 0%, #eef2f8 100%);
}

/* --- Section variants --- */
.section-dark { background: var(--l-tint); }
.section-dark .section-title { color: var(--navy); }
.section-dark .section-label { color: var(--gold); }

/* --- CTA（明るいゴールド基調） --- */
.cta-section { background: linear-gradient(135deg, #fbf6e8 0%, #f3e8cf 100%); }
.cta-title { color: var(--navy); }
.cta-desc { color: var(--l-text); }
.cta-tel-item { color: var(--navy); }
.cta-tel-item strong { color: #9a7b28; }

/* --- Footer（明るいグレー） --- */
.site-footer { background: var(--l-footer); color: var(--l-text); }
.footer-top { border-bottom: 1px solid var(--l-line); }
.footer-logo .logo-ja { color: var(--navy); }
.footer-logo .logo-en { color: var(--gold); }
.footer-nav a { color: var(--l-text); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { color: var(--l-text2); }

/* --- Page header（下層ページ） --- */
.page-header { background: linear-gradient(135deg, var(--l-tint) 0%, var(--l-tint2) 100%); }
.breadcrumb { color: var(--l-text2); }
.breadcrumb a { color: var(--l-text2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: #aab3c4; }
.page-title { color: var(--navy); }
.page-subtitle { color: var(--gold); }

/* --- 業務実績などのテーブル見出し --- */
.result-table th {
  background: #e7edf6;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

/* ============================================================
   Recruit 図解コンポーネント
   ============================================================ */

/* リード文 + ハイライト */
.recruit-lead {
  background: linear-gradient(135deg, var(--l-tint) 0%, var(--l-tint2) 100%);
  border: 1px solid var(--l-line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 40px 40px 36px;
  margin-bottom: 56px;
}
.recruit-lead .lead-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
}
.recruit-lead .lead-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 16px;
}
.recruit-lead .lead-title em {
  font-style: normal;
  color: #9a7b28;
}
.recruit-lead .lead-text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--l-text);
  max-width: 720px;
}

/* 数字ハイライト */
.recruit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--l-line);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10,22,40,0.08);
}
.stat-card .stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-card .stat-num .unit {
  font-size: 1rem;
  color: var(--gold);
  margin-left: 2px;
}
.stat-card .stat-label {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--l-text2);
  letter-spacing: 0.04em;
}

/* セクション見出し（図解用） */
.diagram-head {
  text-align: center;
  margin-bottom: 40px;
}
.diagram-head .dh-en {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}
.diagram-head .dh-ja {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

/* 採用フロー（ステップ図解） */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto 72px;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--l-line);
  border-radius: 10px;
  padding: 22px 28px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.flow-step:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(10,22,40,0.07);
}
.flow-step .step-no {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  color: var(--gold2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: Georgia, serif;
}
.flow-step .step-body .step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.flow-step .step-body .step-desc {
  font-size: 0.84rem;
  color: var(--l-text);
  line-height: 1.7;
}
/* ステップ間の矢印 */
.flow-arrow {
  align-self: center;
  width: 2px;
  height: 26px;
  background: var(--border);
  position: relative;
  margin: 6px 0;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--gold);
}
.flow-step.is-goal {
  background: linear-gradient(135deg, #fbf6e8 0%, #f3e8cf 100%);
  border-color: var(--gold);
}
.flow-step.is-goal .step-no {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--navy);
}

/* 福利厚生（アイコンカード） */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--l-line);
  border-radius: 10px;
  padding: 26px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10,22,40,0.08);
}
.benefit-card .b-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--l-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-card .b-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--navy2);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card .b-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.benefit-card .b-desc {
  font-size: 0.84rem;
  color: var(--l-text);
  line-height: 1.7;
}

/* 募集ポジション（カード） */
.position-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 72px;
}
.position-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--l-line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 24px 28px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.position-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(10,22,40,0.09);
}
.position-card .p-no {
  flex-shrink: 0;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  width: 36px;
  text-align: center;
}
.position-card .p-main { flex: 1; }
.position-card .p-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.position-card .p-loc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.position-card .p-loc span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--navy2);
  background: var(--l-tint);
  border: 1px solid var(--l-line);
  border-radius: 4px;
  padding: 2px 10px;
}
.position-card .p-arrow {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.position-card:hover .p-arrow { transform: translateX(4px); }

/* 応募について（情報ボックス） */
.apply-box {
  background: var(--l-tint);
  border: 1px solid var(--l-line);
  border-radius: 10px;
  padding: 8px 32px;
  margin-bottom: 24px;
}
.apply-box .data-table { border-top: none; }
.apply-box .data-table tr:last-child { border-bottom: none; }
.apply-box .data-table th { background: transparent; }

@media (max-width: 720px) {
  .recruit-lead { padding: 30px 24px 28px; }
  .recruit-lead .lead-title { font-size: 1.3rem; }
  .recruit-stats { grid-template-columns: 1fr; gap: 12px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .flow-step { gap: 16px; padding: 18px 20px; }
  .flow-step .step-no { width: 44px; height: 44px; font-size: 1.05rem; }
  .position-card { gap: 14px; padding: 20px; }
  .apply-box { padding: 4px 18px; }
}
