/* ============================================================
   HK工業 スタイルシート
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:    #1a5fa8;
  --primary-d:  #134d8a;
  --accent:     #3aa0d8;
  --dark:       #0d1f35;
  --dark2:      #1a3a5c;
  --gray:       #f4f4f4;
  --gray2:      #e0e0e0;
  --text:       #333333;
  --text-light: #666666;
  --white:      #ffffff;
  --header-h:   70px;
  --shadow:     0 4px 20px rgba(0,0,0,0.12);
  --radius:     8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
strong { font-weight: 700; }
em { font-style: normal; }

/* ---------- Container ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Common ---------- */
.section { padding: 90px 0; }
.bg-gray { background: var(--gray); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
}
.section-line {
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-line--white { background: var(--white); }
.section-header--white .section-label { color: rgba(255,255,255,0.8); }
.section-header--white .section-title { color: var(--white); }
.section-desc {
  margin-top: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 95, 168, 0.4);
}
.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 168, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }
.btn-recruit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 20px;
  transition: all var(--transition);
}
.btn-recruit:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 95, 168, 0.4);
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(13, 31, 53, 0.96);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
#header.scrolled {
  background: rgba(13, 31, 53, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.logo-svg {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.logo-mark {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

/* Nav */
#nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 28px);
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition);
}
.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { transform: translateX(-50%) scaleX(1); }

/* Header Tel */
.header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}
.header-tel:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 1px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-overlay.active { display: block; opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* hero-bg は hero-slides に置き換えたため削除 */
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 31, 53, 0.80) 0%,
    rgba(13, 31, 53, 0.55) 50%,
    rgba(26, 95, 168, 0.30) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--header-h);
  animation: heroFadeIn 1s ease 0.3s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.hero-company {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-title em {
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroFadeIn 1s ease 1s both;
}
.scroll-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   NOTICE BAR
   ============================================================ */
.notice-bar {
  background: var(--dark);
  padding: 14px 0;
}
.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.notice-item {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
}
.notice-item i { color: var(--primary); font-size: 0.9rem; }
.notice-sep { color: rgba(255,255,255,0.3); font-weight: 300; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img:hover img { transform: scale(1.03); }
.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(26, 95, 168, 0.5);
}
.about-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.9;
}
.about-text p strong { color: var(--primary); }

/* Company Table */
.company-table { margin-top: 28px; }
.company-table dl { border: 1px solid var(--gray2); border-radius: var(--radius); overflow: hidden; }
.dl-row {
  display: flex;
  border-bottom: 1px solid var(--gray2);
}
.dl-row:last-child { border-bottom: none; }
.dl-row dt {
  background: var(--gray);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 140px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.dl-row dt i { color: var(--primary); margin-top: 3px; }
.dl-row dd {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  flex: 1;
}
.dl-row dd a { color: var(--primary); font-weight: 700; }
.dl-row dd a:hover { text-decoration: underline; }

/* ============================================================
   SERVICES
   ============================================================ */
.service-single {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: var(--white);
  border-radius: 14px;
  padding: 48px 44px;
  box-shadow: 0 4px 24px rgba(26,95,168,0.10);
  border-left: 5px solid var(--primary);
  max-width: 860px;
  margin: 0 auto;
}
.service-single-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,95,168,0.30);
}
.service-single-body h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
}
.service-single-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-tags li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
}
.service-tags li i {
  color: var(--primary);
  font-size: 0.75rem;
}
@media (max-width: 640px) {
  .service-single {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .service-tags { justify-content: center; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: all var(--transition);
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.feature-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-body h3 i { color: var(--primary); margin-right: 6px; }
.feature-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================================
   FLOW
   ============================================================ */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.flow-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  width: 200px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: all var(--transition);
}
.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.flow-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(26, 95, 168, 0.3);
}
.flow-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}
.flow-text h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.flow-text p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}
.flow-arrow {
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ============================================================
   RECRUIT
   ============================================================ */
.recruit {
  position: relative;
  overflow: hidden;
}
.recruit-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.recruit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2px) brightness(0.6);
  transform: scale(1.05);
}
.recruit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,95,168,0.55) 100%);
  z-index: 1;
}
.recruit-inner {
  position: relative;
  z-index: 2;
}
.recruit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.recruit-main-text {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.recruit-sub-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.recruit-card {
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.recruit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray2);
}
.recruit-card h3 i { color: var(--primary); margin-right: 6px; }
.recruit-dl {}
.rdl-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gray2);
  padding: 10px 0;
}
.rdl-row:last-child { border-bottom: none; }
.rdl-row dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 70px;
  white-space: nowrap;
}
.rdl-row dd {
  font-size: 0.88rem;
  color: var(--text);
  flex: 1;
}
.rdl-row.highlight { background: rgba(26, 95, 168, 0.05); margin: 0 -32px; padding: 10px 32px; }
.salary {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 900;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.contact-tel-box {
  background: var(--primary);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  color: var(--white);
}
.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.contact-label {
  font-size: 0.85rem;
  margin-bottom: 12px;
  opacity: 0.9;
}
.contact-tel-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  transition: opacity var(--transition);
}
.contact-tel-num:hover { opacity: 0.8; }
.contact-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-note {
  font-size: 0.75rem;
  opacity: 0.75;
  line-height: 1.6;
}
.contact-form-box {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}
.required {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 700;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input.error,
.form-group textarea.error { border-color: #e53935; }
.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  display: none;
}
.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-message.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ============================================================
   MAP
   ============================================================ */
.map-section {}
.map-header {
  padding: 40px 24px 20px;
}
.map-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.map-header h3 i { color: var(--primary); margin-right: 6px; }
.map-header p {
  font-size: 0.88rem;
  color: var(--text-light);
}
.map-embed { line-height: 0; }
.map-embed iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a1929;
  color: rgba(255,255,255,0.8);
  padding-top: 50px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-logo-svg {
  height: 50px;
  width: auto;
  display: block;
}
.footer-logo .logo-mark {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}
.footer-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
  letter-spacing: 0.1em;
  align-self: flex-end;
  padding-bottom: 2px;
}
.footer-info p {
  font-size: 0.85rem;
  line-height: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-info i { color: var(--primary); margin-top: 4px; }
.footer-info a { color: rgba(255,255,255,0.8); }
.footer-info a:hover { color: var(--primary); }
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--primary); }
/* SNSリンク */
.footer-sns {
  display: flex;
  justify-content: center;
  padding: 20px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.footer-sns-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}
.footer-sns-link.instagram:hover {
  transform: scale(1.15);
  filter: brightness(1.15);
}
.footer-copy {
  text-align: center;
  padding: 16px 20px 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   SCROLL TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(26, 95, 168, 0.5);
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--primary-d);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  #nav { display: none; }
  .header-tel { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  /* Mobile Nav */
  #nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: 280px;
    height: calc(100vh - var(--header-h));
    background: #0d1f35;
    flex-direction: column;
    z-index: 1000;
    padding: 20px;
    animation: slideIn 0.3s ease;
  }
  @keyframes slideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }
  #nav.open .nav-list {
    flex-direction: column;
    gap: 0;
  }
  #nav.open .nav-list li a {
    display: block;
    padding: 16px 20px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  #nav.open .nav-list li a:hover { color: var(--primary); background: none; }
  #nav.open .nav-list a::after { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img img { height: 320px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .recruit-content { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { height: 100svh; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; align-items: stretch; }
  .flow-step { width: 100%; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .notice-sep { display: none; }
  .notice-inner { gap: 12px; justify-content: flex-start; }
  .contact-form-box { padding: 24px 16px; }
  .recruit-card { padding: 24px 20px; }
  .rdl-row.highlight { margin: 0 -20px; padding: 10px 20px; }
  .scroll-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
  .recruit-jobs { grid-template-columns: 1fr; }
  .recruit-jobs--single { max-width: 100%; }
  .job-modal { width: 95vw; max-height: 90vh; padding: 28px 20px; }
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 10s ease-out forwards;
}
/* ヒーローのドットナビ */
.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.8);
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.hero-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ============================================================
   RECRUIT - 求人カード
   ============================================================ */
.recruit-header-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-top: 12px;
}
.recruit-jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 10px;
}
/* 求人1枚のとき中央・最大幅制限 */
.recruit-jobs--single {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.job-card {
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
}
/* 横幅いっぱいのカード（単独表示時） */
.job-card--wide .job-tags {
  flex-wrap: wrap;
}
.job-card--wide .job-catch {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.job-badge {
  background: rgba(26,95,168,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(26,95,168,0.3);
}
.job-new {
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
.job-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
}
.job-catch {
  font-size: 0.85rem;
  color: var(--text-light);
}
.job-salary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(26,95,168,0.07), rgba(58,160,216,0.07));
  border: 1px solid rgba(26,95,168,0.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--dark);
}
.job-salary i { color: var(--primary); font-size: 1rem; }
.job-salary strong { font-size: 1.2rem; color: var(--primary); font-weight: 900; }
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.job-tags li {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}
.job-tags li i { color: var(--primary); font-size: 0.75rem; }
.btn-job-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: auto;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}
.btn-job-detail:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26,95,168,0.4);
}

/* ============================================================
   SIMPLE CTA SECTION (採用・お問い合わせ共通)
   ============================================================ */
.simple-cta-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.simple-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.simple-cta-inner--light {
  /* お問い合わせ用（背景なし） */
}
.simple-cta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  display: block;
}
.simple-cta-label--dark { color: var(--primary); }
.simple-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.simple-cta-title--dark {
  color: var(--dark);
  text-shadow: none;
}
.simple-cta-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}
.simple-cta-sub--dark { color: var(--text-light); }
.simple-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 900;
  padding: 18px 52px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transition: all var(--transition);
  text-decoration: none;
}
.simple-cta-btn:hover {
  background: #eef3fb;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.simple-cta-btn i { transition: transform 0.3s ease; }
.simple-cta-btn:hover i { transform: translateX(5px); }
.simple-cta-btn--blue {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(26,95,168,0.35);
}
.simple-cta-btn--blue:hover {
  background: #1456a0;
  box-shadow: 0 10px 28px rgba(26,95,168,0.45);
}

/* ============================================================
   RECRUIT PREVIEW (index.html用)
   ============================================================ */
.recruit-preview {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.recruit-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.recruit-preview-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}
.recruit-preview-tags span i { color: #7ec8f7; }
.btn-recruit-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
  padding: 18px 44px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-recruit-link:hover {
  background: #eef3fb;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.btn-recruit-link i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.btn-recruit-link:hover i { transform: translateX(4px); }

/* ============================================================
   JOB DETAIL MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.job-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.95);
  z-index: 2001;
  background: var(--white);
  border-radius: 16px;
  width: 620px;
  max-width: 95vw;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.job-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}
/* モーダル内コンテンツ */
.modal-job-badge {
  display: inline-block;
  background: rgba(26,95,168,0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(26,95,168,0.3);
  margin-bottom: 12px;
}
.modal-job-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.modal-job-catch {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.modal-salary-box {
  background: linear-gradient(135deg, rgba(26,95,168,0.07), rgba(58,160,216,0.07));
  border: 1px solid rgba(26,95,168,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.modal-salary-box i { font-size: 1.5rem; color: var(--primary); }
.modal-salary-label { font-size: 0.78rem; color: var(--text-light); }
.modal-salary-num { font-size: 1.6rem; font-weight: 900; color: var(--primary); }
.modal-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  border-left: 4px solid var(--primary);
  padding-left: 10px;
  margin-bottom: 12px;
  margin-top: 20px;
}
.modal-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.modal-detail-table tr {
  border-bottom: 1px solid var(--gray2);
}
.modal-detail-table th {
  background: var(--gray);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  width: 120px;
  white-space: nowrap;
}
.modal-detail-table td {
  padding: 10px 14px;
  color: var(--text);
  line-height: 1.7;
}
.modal-appeal {
  background: var(--gray);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}
.modal-appeal li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}
.modal-appeal li:last-child { margin-bottom: 0; }
.modal-appeal li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.modal-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
  transition: all var(--transition);
}
.modal-tel-btn:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26,95,168,0.4);
}
.modal-tel-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
}
