/* ==========================================
   村田鉄筋㈱ 採用サイト - メインスタイル
   ========================================== */

/* ===== リセット & 基本 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-red: #cc0000;
  --color-red-dark: #990000;
  --color-red-light: #ff2222;
  --color-black: #111111;
  --color-dark: #1a1a1a;
  --color-gray: #f5f5f5;
  --color-gray-mid: #e0e0e0;
  --color-gray-text: #666;
  --color-white: #ffffff;
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-strong: 0 8px 40px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.sp-only { display: none; }

/* ===== コンテナ ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl { padding: 18px 48px; font-size: 1.15rem; width: 100%; max-width: 400px; }
.btn-red {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(204,0,0,0.35);
}
.btn-red:hover {
  background: var(--color-red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(204,0,0,0.45);
  opacity: 1;
}
.btn-black {
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.btn-black:hover {
  background: #333;
  transform: translateY(-2px);
  opacity: 1;
}
.btn-white {
  background: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-white);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}
.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  opacity: 1;
}

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--color-red);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

.header-logo a {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-main {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.logo-corp { font-size: 0.9em; }
.logo-sub {
  font-size: 0.55rem;
  color: #aaa;
  letter-spacing: 0.08em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.global-nav ul li a {
  color: #ddd;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all var(--transition);
}
.global-nav ul li a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
  opacity: 1;
}
.nav-apply-btn {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
.nav-apply-btn:hover {
  background: var(--color-red-light) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-dark);
  background-image:
    linear-gradient(135deg, rgba(17,17,17,0.92) 0%, rgba(100,0,0,0.8) 50%, rgba(17,17,17,0.95) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.02) 30px,
      rgba(255,255,255,0.02) 31px
    );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(204,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-exclaim {
  color: var(--color-red);
  text-shadow: 0 0 30px rgba(204,0,0,0.8);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #ddd;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-copy {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #aaa;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-link {
  color: #aaa;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.hero-link:hover { color: var(--color-white); opacity: 1; }

/* ヒーローカード */
.hero-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-top: 3px solid var(--color-red);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
  flex: 1 1 140px;
  max-width: 180px;
  backdrop-filter: blur(6px);
  transition: transform var(--transition), background var(--transition);
}
.hero-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}
.hero-card i {
  color: var(--color-red);
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}
.card-label {
  display: block;
  color: #aaa;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.card-value {
  display: block;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ===== セクション共通 ===== */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.section-gray {
  background: var(--color-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-label.red { color: var(--color-red); border-color: var(--color-red); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-red);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-desc {
  font-size: 1rem;
  color: var(--color-gray-text);
  margin-top: 8px;
}
.section-dark .section-desc { color: #aaa; }
.section-dark .section-title { color: var(--color-white); }

.section-apply-btn {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* ===== 仕事紹介 ===== */
.work-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.work-lead-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--color-black);
}
.work-lead-text p {
  color: #444;
  margin-bottom: 12px;
  line-height: 1.8;
}
.work-lead-text strong { color: var(--color-red); }

.img-placeholder {
  background: var(--color-gray-mid);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #999;
  font-size: 0.9rem;
  border: 2px dashed #ccc;
}
.img-placeholder i { font-size: 3rem; color: #ccc; }
.img-placeholder.dark {
  background: #2a2a2a;
  border-color: #444;
  color: #666;
}
.img-placeholder.dark i { color: #555; }

.sub-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid var(--color-red);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.work-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.work-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.work-icon i { color: var(--color-white); font-size: 1.4rem; }
.work-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.work-card p { font-size: 0.875rem; color: var(--color-gray-text); line-height: 1.6; }

/* 未経験者ボックス */
.beginner-box {
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 2px solid var(--color-red);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.beginner-badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.beginner-box h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--color-black);
}
.beginner-box h3 i { color: var(--color-red); margin-right: 8px; }
.beginner-box > p { color: #444; margin-bottom: 20px; line-height: 1.8; }
.beginner-box strong { color: var(--color-red); }
.beginner-quote {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--color-red);
  box-shadow: var(--shadow);
}
.beginner-quote i { color: var(--color-red); font-size: 1.5rem; flex-shrink: 0; }
.beginner-quote p { color: #444; line-height: 1.7; font-style: italic; }

/* ===== 働く魅力 ===== */
.appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.appeal-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--color-red);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition), background var(--transition);
}
.appeal-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.appeal-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.appeal-icon {
  width: 48px;
  height: 48px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.appeal-icon i { color: var(--color-white); font-size: 1.2rem; }
.appeal-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.appeal-card p { font-size: 0.875rem; color: #aaa; line-height: 1.6; }

/* ===== 募集バナー ===== */
.recruit-hero-banner {
  background: linear-gradient(135deg, var(--color-black) 0%, #3a0000 50%, var(--color-black) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.recruit-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.02) 20px,
    rgba(255,255,255,0.02) 21px
  );
}
.recruit-banner-text { position: relative; z-index: 1; }
.banner-catch {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.banner-main {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.red-text { color: var(--color-red); }
.banner-sub {
  font-size: 1.1rem;
  color: #ddd;
}
.banner-sub strong { color: var(--color-red); font-size: 1.3em; }
.recruit-banner-badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.recruit-banner-badge span {
  display: block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 900;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 16px rgba(204,0,0,0.4);
}

/* ===== 募集テーブル ===== */
.recruit-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-gray-mid);
}
.recruit-table {
  width: 100%;
  border-collapse: collapse;
}
.recruit-table th,
.recruit-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-gray-mid);
  vertical-align: top;
  text-align: left;
  line-height: 1.6;
}
.recruit-table th {
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  width: 160px;
}
.recruit-table td { background: var(--color-white); font-size: 0.95rem; }
.recruit-table tr:last-child th,
.recruit-table tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-red { background: var(--color-red); color: var(--color-white); }
.badge-black { background: var(--color-black); color: var(--color-white); }
.badge-gray { background: #e0e0e0; color: #555; font-size: 0.75rem; padding: 2px 8px; }

.large-text { font-size: 1.4rem; }
.tel-link {
  color: var(--color-red);
  font-weight: 700;
  font-size: 1.1rem;
}
.tel-link:hover { text-decoration: underline; opacity: 1; }

.benefit-list { padding: 0; }
.benefit-list li {
  padding: 4px 0;
  font-size: 0.9rem;
}
.benefit-list i { color: var(--color-red); margin-right: 8px; }

/* ===== タイムライン ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 0 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-red), var(--color-black));
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 16px;
  margin-bottom: 0;
  position: relative;
  align-items: start;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 24px;
  width: 40px;
  height: 1px;
  background: #ddd;
}

.timeline-time {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
  padding-top: 18px;
  text-align: right;
  letter-spacing: 0.02em;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-gray-mid);
  z-index: 1;
}
.timeline-dot.start { border-color: var(--color-red); background: var(--color-red); }
.timeline-dot.rest { border-color: #888; background: #888; }
.timeline-dot.end { border-color: var(--color-black); background: var(--color-black); }

.timeline-content {
  padding: 14px 0 32px;
}
.timeline-item.last .timeline-content { padding-bottom: 0; }
.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.timeline-content p { font-size: 0.875rem; color: var(--color-gray-text); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-gray-mid);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  cursor: pointer;
  transition: background var(--transition);
  background: var(--color-white);
}
.faq-q:hover { background: var(--color-gray); }
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
.faq-icon-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
.faq-arrow {
  margin-left: auto;
  transition: transform var(--transition);
  color: var(--color-gray-text);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 16px 16px 20px 68px;
  background: #f9f9f9;
  gap: 16px;
  align-items: flex-start;
}
.faq-a.open { display: flex; }
.faq-a p { font-size: 0.95rem; color: #444; line-height: 1.8; }

/* ===== 見学セクション ===== */
.visit-section {
  background: linear-gradient(135deg, var(--color-black) 0%, #1a0000 100%);
  color: var(--color-white);
}
.visit-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.visit-badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.visit-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}
.visit-text p { color: #ccc; margin-bottom: 28px; line-height: 1.8; }
.visit-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 応募フォーム ===== */
.apply-wrap { max-width: 700px; margin: 0 auto; }

.apply-tel-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 40px;
}
.apply-tel-box p { color: #ddd; font-size: 0.95rem; margin-bottom: 8px; }
.apply-tel-box i { color: var(--color-red); margin-right: 6px; }
.tel-link-big {
  display: block;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin: 8px 0;
  transition: color var(--transition);
}
.tel-link-big:hover { color: var(--color-red); opacity: 1; }
.tel-note { color: #888; font-size: 0.85rem; }

.apply-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-row {
  margin-bottom: 24px;
}
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ddd;
  margin-bottom: 8px;
}
.required {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.optional {
  display: inline-block;
  background: #555;
  color: #ccc;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-red);
  background: rgba(255,255,255,0.1);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #666;
}
.form-row select option {
  background: var(--color-dark);
  color: var(--color-white);
}
.form-row textarea { resize: vertical; }
.form-error {
  display: block;
  color: #ff6666;
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 1em;
}
.form-row input.error,
.form-row select.error,
.form-row textarea.error {
  border-color: #ff4444;
}
.form-submit { text-align: center; margin-top: 32px; }

.apply-thanks {
  text-align: center;
  padding: 60px 40px;
}
.thanks-icon {
  font-size: 5rem;
  color: #44cc44;
  margin-bottom: 24px;
}
.apply-thanks h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 12px;
}
.apply-thanks p {
  color: #aaa;
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ===== 会社概要 ===== */
.company-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.company-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-gray-mid);
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-mid);
  vertical-align: top;
  text-align: left;
  line-height: 1.6;
  font-size: 0.9rem;
}
.company-table th {
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
  width: 120px;
}
.company-table td { background: var(--color-white); }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--color-gray-mid);
}
.company-map iframe { display: block; }

/* SNSリンク */
.sns-links {
  text-align: center;
  border-top: 1px solid var(--color-gray-mid);
  padding-top: 40px;
}
.sns-links h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.sns-btn-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.web-btn {
  background: var(--color-black);
  color: var(--color-white);
}
.web-btn:hover { background: #333; transform: translateY(-2px); opacity: 1; }
.tiktok-btn {
  background: linear-gradient(135deg, #010101, #69C9D0);
  color: var(--color-white);
}
.tiktok-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.sns-btn i { font-size: 1.2rem; }

/* ===== フッター ===== */
.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 48px 0 24px;
  border-top: 3px solid var(--color-red);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-logo .logo-main { font-size: 1.6rem; font-weight: 900; }
.footer-logo .logo-sub { font-size: 0.6rem; color: #888; margin-top: 4px; display: block; }
.footer-info p {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 6px;
}
.footer-info i { color: var(--color-red); margin-right: 8px; }
.footer-info a { color: #aaa; }
.footer-info a:hover { color: var(--color-white); opacity: 1; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-nav a {
  color: #aaa;
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-white); opacity: 1; }
.footer-copy {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #666;
  font-size: 0.8rem;
}

/* ===== トップへ戻るボタン ===== */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(204,0,0,0.4);
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  font-size: 1rem;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--color-red-light); opacity: 1; }

/* ===== スマホ固定ボタン ===== */
.sp-fixed-btns {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  flex-direction: row;
}
.sp-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition);
}
.sp-tel-btn {
  background: var(--color-black);
  border-right: 1px solid #333;
}
.sp-apply-btn { background: var(--color-red); }
.sp-btn:hover { opacity: 0.85; }
.sp-btn i { font-size: 1.2rem; }

/* ===== ヒーローコピーサブ ===== */
.hero-copy-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-red) !important;
}

/* ==========================================
   レスポンシブ（スマートフォン）
   ========================================== */
@media (max-width: 900px) {
  .work-lead { grid-template-columns: 1fr; gap: 32px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .appeal-grid { grid-template-columns: repeat(2, 1fr); }
  .company-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; }
  .visit-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sp-only { display: block; }
  .hamburger { display: flex; }
  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-dark);
    z-index: 999;
    padding: 80px 24px 40px;
    transition: right var(--transition);
    overflow-y: auto;
    border-left: 3px solid var(--color-red);
  }
  .global-nav.open { right: 0; }
  .nav-overlay.open { display: block; }
  .global-nav ul { flex-direction: column; gap: 4px; }
  .global-nav ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    color: #ddd;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-apply-btn {
    margin-top: 16px;
    text-align: center;
  }

  .section { padding: 60px 0; }
  .hero-content { padding: 40px 20px 32px; }
  .hero-cards { padding: 0 20px 80px; gap: 10px; }
  .hero-card { min-width: 110px; padding: 16px; }

  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 340px; }
  .section-apply-btn { flex-direction: column; align-items: center; }
  .section-apply-btn .btn { width: 100%; max-width: 340px; }

  .work-grid { grid-template-columns: 1fr; }
  .appeal-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 48px; }
  .timeline::before { left: 16px; }
  .timeline-dot { left: -28px; }
  .timeline-item::before { left: -24px; }

  .recruit-hero-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .recruit-banner-badge { flex-direction: row; justify-content: center; }
  .recruit-table th { width: 110px; padding: 14px 12px; font-size: 0.85rem; }
  .recruit-table td { padding: 14px 12px; font-size: 0.9rem; }
  .company-table th { width: 90px; padding: 12px; font-size: 0.82rem; }
  .company-table td { padding: 12px; font-size: 0.85rem; }

  .apply-form { padding: 24px 20px; }
  .beginner-box { padding: 24px 20px; }
  .beginner-quote { flex-direction: column; gap: 8px; }

  .sp-fixed-btns { display: flex; }
  .back-to-top { bottom: 80px; right: 16px; }

  .visit-btns { flex-direction: column; }
  .visit-btns .btn { width: 100%; text-align: center; justify-content: center; }

  .sns-btn-wrap { flex-direction: column; align-items: center; }
  .sns-btn { width: 100%; max-width: 300px; justify-content: center; }

  .hero-links { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .logo-main { font-size: 1.1rem; }
  .logo-sub { font-size: 0.5rem; }
  .container { padding: 0 16px; }
  .hero-cards { gap: 8px; }
  .hero-card { min-width: 90px; flex: 1 1 90px; }
  .card-value { font-size: 0.9rem; }
}

/* ==========================================
   テーブル スマホ横はみ出し防止
   ========================================== */
.recruit-table-wrap,
.company-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.recruit-table,
.company-table {
  min-width: 300px;
}
/* スマホでth幅を縮小しセル折り返し許可 */
@media (max-width: 480px) {
  .recruit-table th {
    width: 90px;
    white-space: normal;
    font-size: 0.8rem;
    padding: 10px 8px;
  }
  .recruit-table td {
    font-size: 0.85rem;
    padding: 10px 8px;
  }
  .company-table th {
    width: 76px;
    white-space: normal;
    font-size: 0.78rem;
    padding: 10px 8px;
  }
  .company-table td {
    font-size: 0.82rem;
    padding: 10px 8px;
  }
  .large-text { font-size: 1.15rem; }
}

/* ==========================================
   スマホ固定ボタン 安全領域（iPhone等）対応
   ========================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sp-fixed-btns {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
/* スマホ固定ボタン トランジション */
.sp-fixed-btns {
  transition: opacity 0.3s ease;
}

/* ==========================================
   応募フォーム 送信完了メッセージ
   ========================================== */
.apply-thanks {
  text-align: center;
  padding: 60px 32px;
  animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.thanks-icon {
  font-size: 5rem;
  color: #44cc66;
  margin-bottom: 24px;
  display: block;
}
.apply-thanks h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.5;
}
.apply-thanks p {
  color: #bbb;
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 480px) {
  .apply-thanks { padding: 40px 16px; }
  .thanks-icon { font-size: 4rem; }
  .apply-thanks h3 { font-size: 1.2rem; }
}

/* ==========================================
   準備中モーダル（HP・TikTok仮リンク）
   ========================================== */
#comingSoonModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#comingSoonModal.active {
  display: flex;
}
.coming-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.coming-modal-box {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
  animation: modalPop 0.25s ease forwards;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.coming-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  line-height: 1;
}
.coming-modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-black);
  margin-bottom: 12px;
}
.coming-modal-body {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.7;
}
.coming-modal-note {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 24px;
}
.coming-modal-close {
  min-width: 120px;
  padding: 12px 32px;
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  .coming-modal-box { padding: 28px 20px; }
}
