:root {
  --red: #C0272D;
  --red-dark: #8B1A1E;
  --red-light: #f7e5e5;
  --charcoal: #1E1E1E;
  --charcoal-mid: #2D2D2D;
  --gray: #5a5a5a;
  --gray-light: #f4f4f2;
  --gray-mid: #e8e8e6;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
}

/* ========================================
   PHOTO SLOT SYSTEM
   写真スロット共通スタイル
   ======================================== */

/* 写真スロット：グレーの枠で代替表示。
   実際の写真に差し替える際は <img> タグを
   photo-slot の中に入れ、photo-hint を削除してください */
.photo-slot {
  position: relative;
  background: #d0cdc8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.photo-slot img,
.hero-photo img,
.work-item-photo img,
.strengths-photo-main img,
.strengths-photo-sub img,
.facility-photo-main img,
.facility-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ヒーロー写真：人物が中央下寄りの縦長写真に対応 */
.hero-photo img {
  object-position: center 60%;
}

.hero-photo,
.work-item-photo,
.strengths-photo-main,
.strengths-photo-sub,
.facility-photo-main,
.facility-photo-sub {
  overflow: hidden;
  position: relative;
}

/* 写真ガイドラグ表示（本番では削除） */
.photo-hint {
  text-align: center;
  padding: 16px;
  pointer-events: none;
  user-select: none;
}

.photo-hint-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  opacity: 0.5;
}

.photo-hint-title {
  font-size: 13px;
  font-weight: 700;
  color: #5a5652;
  margin-bottom: 4px;
}

.photo-hint-size {
  font-size: 11px;
  color: #8a8784;
  font-family: monospace;
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.photo-hint-desc {
  font-size: 11px;
  color: #7a7774;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header-topbar {
  background: #111B2A;
  padding: 0 40px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 201;
}
.header-topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8FA3C0;
}
.header-topbar-breadcrumb a {
  color: #8FA3C0;
  text-decoration: none;
  transition: color 0.15s;
}
.header-topbar-breadcrumb a:hover { color: #C8D8EC; }
.header-topbar-breadcrumb .sep { color: #3A5570; }
.header-topbar-links {
  display: flex;
  gap: 16px;
}
.header-topbar-links a {
  font-size: 11px;
  color: #8FA3C0;
  text-decoration: none;
  transition: color 0.15s;
}
.header-topbar-links a:hover { color: #C8D8EC; }

header {
  background: var(--charcoal);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 30px;
  z-index: 200;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ロゴ */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.header-logo-main {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}
.header-logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #8FA3C0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ナビ全体 */
.header-nav {
  display: flex;
  gap: 0;
  list-style: none;
  height: 64px;
  align-items: center;
}

/* トップレベル li */
.header-nav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* トップレベルリンク */
.header-nav > li > a,
.header-nav > li > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: 100%;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.header-nav > li > a:hover,
.header-nav > li > span:hover,
.header-nav > li:hover > a,
.header-nav > li:hover > span {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* プルダウン矢印 */
.header-nav > li > span::after,
.has-dropdown > a::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.6;
  margin-left: 2px;
}

/* ドロップダウンメニュー */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-width: 200px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  list-style: none;
  padding: 8px 0;
}

.header-nav > li:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.dropdown li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  padding-left: 24px;
}

/* 事業紹介は項目が多いので2列 */
.dropdown-wide {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal);
  border-top: 2px solid var(--red);
  min-width: 380px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  padding: 8px 0;
  list-style: none;
}

.header-nav > li:hover .dropdown-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dropdown-wide li a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dropdown-wide li:first-child {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-wide li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--white);
  padding: 12px 40px;
  font-size: 12px;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; color: var(--gray-mid); }

/* ===== HERO ===== */
.hero {
  background: var(--white);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-mid);
}

.hero-left {
  display: flex;
  align-items: flex-end;
  padding: 80px 60px;
  position: relative;
  z-index: 2;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(0,0,0,0.018) 40px, rgba(0,0,0,0.018) 41px
  );
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.hero-title span { color: var(--red); }

.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat-item {}

.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.hero-stat-num sub {
  font-size: 18px;
  vertical-align: baseline;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  background: var(--gray-mid);
  align-self: stretch;
}

/* ヒーロー右：メイン写真スロット */
.hero-photo {
  height: 100%;
  min-height: 560px;
  position: relative;
}

/* 写真スロットがない状態でも赤のアクセントブロックを見せる */
.hero-photo.photo-slot {
  background: var(--red);
}

.hero-photo.photo-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 30px,
    rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 31px
  );
  pointer-events: none;
}

.hero-photo.photo-slot .photo-hint-title { color: rgba(255,255,255,0.9); }
.hero-photo.photo-slot .photo-hint-size { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.hero-photo.photo-slot .photo-hint-desc { color: rgba(255,255,255,0.7); }
.hero-photo.photo-slot .photo-hint-icon { opacity: 0.8; }

/* ===== SECTION COMMON ===== */
section { padding: 80px 0; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: justify;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
  max-width: 600px;
}

/* ===== MESSAGE ===== */
.message-section {
  background: var(--gray-light);
  padding: 80px 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}

.message-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.message-left .section-label { color: var(--red); }

.message-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 20px;
}
.message-title em { font-style: normal; color: var(--red); }

.message-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 2;
}

.message-right {
  border-left: 1px solid var(--gray-mid);
  padding-left: 80px;
}

.quote-mark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: var(--red);
  line-height: 0.8;
  margin-bottom: 16px;
  opacity: 0.5;
}

.quote-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.8;
}

/* ===== WORK ===== */
.work-section { background: var(--white); }

/* 業務セクション：写真＋テキストの交互レイアウト */
.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
}

.work-item:nth-child(even) .work-item-photo { order: 2; }
.work-item:nth-child(even) .work-item-body  { order: 1; }

.work-item-photo {
  height: 300px;
  overflow: hidden;
}

.work-item-body {
  padding: 0px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-item-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.work-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.work-item-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
  margin-top: 12px;
}

/* ===== STRENGTHS ===== */
.strengths-section { background: var(--charcoal); }

.strengths-section .section-label { color: var(--red); }
.strengths-section .section-title { color: var(--white); }
.strengths-section .section-desc { color: rgba(255,255,255,0.6); }

/* 職場環境：カード型グリッド */
.strengths-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.strength-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 32px 28px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.strength-card:hover { background: rgba(255,255,255,0.07); }
.strength-card:hover::before { transform: scaleX(1); }

.strength-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.strength-card-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.strength-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.strength-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* 強みセクション：テキスト左 + 写真右 */
.strengths-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.strengths-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.strength-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.strength-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.strength-item:hover { background: rgba(255,255,255,0.04); }

.strength-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}

.strength-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.strength-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* 強み右サイドの写真スタック */
.strengths-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.strengths-photo-main {
  height: 260px;
}

.strengths-photo-sub {
  height: 160px;
}

/* ===== BAND PHOTO（写真帯） ===== */
.band-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 写真未設定時のプレースホルダー */
.band-photo.photo-slot {
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 写真帯のオーバーレイ（テキストを重ねる場合に使用） */
.band-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30,30,30,0.75) 0%,
    rgba(30,30,30,0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.band-photo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  max-width: 480px;
}

.band-photo-text span {
  color: var(--red);
}

/* ===== CAREER ===== */
.career-section {
  background: var(--charcoal);
  padding: 80px 0;
}

.career-section .section-label { color: var(--red); }
.career-section .section-title { color: var(--white); }
.career-section .section-desc { color: rgba(255,255,255,0.6); }

/* キャリアパスブランチUIレイアウト */
.career-intro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.career-diagram {
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 0 40px;
}

/* 入社ノード */
.career-entry {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 18px 24px;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 auto 0;
  display: block;
  max-width: 200px;
  margin: 0 auto;
}

/* 矢印・分岐ライン */
.career-branch-wrapper {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0;
  position: relative;
}

.career-branch-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
}

/* 共通研修ステップ */
.career-common-step {
  max-width: 1080px;
  margin: 0 auto 0;
  padding: 0 40px;
}

.career-common-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(192,39,45,0.15);
  border: 1px solid rgba(192,39,45,0.35);
  padding: 18px 24px;
  margin: 16px 0 0;
  position: relative;
}

.career-common-inner::after {
  content: '↓';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 16px;
}

.career-common-icon { font-size: 24px; flex-shrink: 0; }

.career-common-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.career-common-note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

/* 3ルートの並列グリッド */
.career-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 28px;
}

.career-route {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 20px;
  position: relative;
}

.career-route-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.badge-a { background: var(--red); color: var(--white); }
.badge-b { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); }
.badge-c { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.6); }
.badge-d { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }

.career-route-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.5;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.career-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.career-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.career-step:last-child { border-bottom: none; }

.career-step::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 36px;
  bottom: -14px;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.career-step:last-child::before { display: none; }

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.step-dot.current { background: var(--red); border-color: var(--red); color: var(--white); }

.step-body {}
.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.step-note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* 合流：キャリアアップの共通ゴール */
.career-converge {
  margin-top: 2px;
  background: rgba(192,39,45,0.12);
  border: 1px solid rgba(192,39,45,0.3);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.converge-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  flex-shrink: 0;
}

.converge-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.converge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.converge-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.career-note {
  max-width: 1080px;
  margin: 20px auto 0;
  padding: 0 40px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

/* ===== CERTIFICATION ===== */
.cert-section { background: var(--gray-light); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.cert-card {
  background: var(--white);
  border-top: 3px solid var(--red);
  padding: 24px 16px;
  text-align: center;
}

.cert-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.cert-name { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.cert-note { font-size: 12px; color: var(--red); font-weight: 500; }

/* ===== FACILITY ===== */
.facility-section { background: var(--white); }

.facility-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.facility-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--gray-light);
  border-left: 3px solid var(--red);
}

.facility-address-icon { font-size: 20px; flex-shrink: 0; }
.facility-address-text { font-size: 14px; color: var(--charcoal); line-height: 1.7; }
.facility-address-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.facility-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.facility-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--charcoal);
}

.facility-feature::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  flex-shrink: 0;
}

/* 施設写真スロット */
.facility-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 24px;
}

.facility-photo-main {
  grid-column: 1 / -1;
  height: 200px;
  overflow: hidden;
}

.facility-photo-sub {
  height: 140px;
  overflow: hidden;
}
}

/* ===== MAP ===== */
.map-placeholder {
  background: var(--gray-mid);
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray);
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--gray-mid);
}

.map-placeholder a {
  color: var(--red);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

/* ===== RECRUIT CTA ===== */
.recruit-section {
  background: var(--red);
  padding: 72px 0;
}

.recruit-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.recruit-text .section-label { color: rgba(255,255,255,0.6); }

.recruit-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 8px;
  text-align: justify;
}

.recruit-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  text-align: justify;
}

.recruit-cta-group {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--charcoal); color: var(--white); }

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal-mid, #2D2D2D);
  padding: 40px 0 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-block {}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-logo span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: none;
}

.footer-group-badge {
  display: inline-block;
  font-size: 10px;
  background: rgba(42,93,176,0.35);
  color: #7AAAE0;
  padding: 2px 10px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  color: #8FA3C0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-nav { list-style: none; margin-bottom: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-nav a:hover { color: rgba(255,255,255,0.85); }
.footer-nav-section { margin-bottom: 20px; }

.footer-bottom { text-align: center; font-size: 11px; color: rgba(255,255,255,0.25); padding: 16px 0; }

.footer-address {
  font-style: normal;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-top: 0;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.footer-address a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.footer-address a:hover {
  color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE ===== */

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

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

/* ×に変化 */
.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); }

/* スマホメニューパネル */
.mobile-nav {
  display: none;
  position: fixed;
  top: 94px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--charcoal);
  z-index: 199;
  overflow-y: auto;
  padding: 16px 0 40px;
}

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

/* スマホメニュー：アコーディオン親 */
.mobile-nav-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mobile-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.mobile-nav-title::after {
  content: '＋';
  font-size: 16px;
  color: rgba(255,255,255,0.4);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.mobile-nav-item.is-open .mobile-nav-title::after {
  transform: rotate(45deg);
}

/* リンクのみの場合（採用・お問い合わせ） */
.mobile-nav-link {
  display: block;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.04em;
}

/* アコーディオン子メニュー */
.mobile-sub {
  display: none;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
  list-style: none;
  padding: 4px 0;
}

.mobile-nav-item.is-open .mobile-sub { display: block; }

.mobile-sub li a {
  display: block;
  padding: 12px 24px 12px 36px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  letter-spacing: 0.04em;
}

.mobile-sub li a:hover { color: var(--white); }

/* 赤ライン区切り（事業紹介の「事業一覧」など先頭項目） */
.mobile-sub li:first-child a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 260px; height: 260px; display: block; }
  .hero-left { padding: 60px 24px; }
  .hero-title { font-size: 30px; }
  .container { padding: 0 24px; }
  .message-inner { grid-template-columns: 1fr; gap: 40px; }
  .message-right { border-left: none; border-top: 1px solid var(--gray-mid); padding-left: 0; padding-top: 40px; }
  .work-item { grid-template-columns: 1fr; }
  .work-item .work-item-body  { order: 1; }
  .work-item .work-item-photo { order: 2; }
  .work-item-photo { height: 220px; }
  .strengths-cards { grid-template-columns: 1fr 1fr; }
  .band-photo { height: 200px; }
  .band-photo-text { font-size: 16px; }
  .career-routes { grid-template-columns: 1fr; }
  .career-common-step { padding: 0 24px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-layout { grid-template-columns: 1fr; }
  .facility-photos { grid-template-columns: 1fr 1fr; }
  .facility-photo-main { height: 160px; }
  .facility-photo-sub { height: 110px; }
  .recruit-inner { flex-direction: column; text-align: center; }
  .recruit-cta-group { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { text-align: center; }
  header { padding: 0 16px 0 20px; }
  .header-topbar { padding: 0 16px; }
  .header-topbar-breadcrumb { display: none; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-logo-main { font-size: 13px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .breadcrumb { padding: 12px 24px; }
  .converge-items { gap: 12px; }
  .career-converge { flex-direction: column; gap: 12px; align-items: flex-start; }
}