@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');
.site-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
  color: black;
  width: 100%;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  min-height: 25px;
}
.header-inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.logo-area {
    display: flex;
    align-items: center;
    position: fixed;
    text-decoration: none;
    top: 10px;
    left: 30px;
    height: 50px;
    z-index: 100;
}
.site-logo {
    position: static;
    margin-right: 10px;
    height: 50px;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: center;
}
.company-name {
  font-size: 1.5em;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  color: gray;
}
.recruit-text {
  font-size: 1.2em;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  color: gray;
}
.no-hero .site-header {
  position: fixed;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}
.no-hero main {
  padding-top: 80px;
}
.main-nav {
  display: flex;
  gap: 20px;
  position: absolute;
  top: 20px;
  right: 30px;
}
.main-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #ff6600;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 160px;
  z-index: 1000;
  flex-direction: column;
  padding: 8px 0;
  border: 1px solid #eee;
}
.dropdown-menu a {
  display: block;
  padding: 10px 0 10px 0;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background-color: #f5f5f5;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.hamburger, .mobile-nav {
  display: none;
}
body {
  font-family: sans-serif;
  margin: 0;
  background: #f9f9f9;
  line-height: 1.7;
  color: #333;
}
.content header, .content section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
h1, h2 {
  color: #FF6600;
  text-align: center;
}
.mission-section {
  background: #f6fdfb;
  border-left: 6px solid #00aa88;
  padding: 80px 30px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.mission-section h2 {
  color: #00aa88;
  font-size: 1.8em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.mission-section .lead {
  font-size: 1.2em;
  font-weight: bold;
  color: #006655;
  margin-bottom: 15px;
}
.mission-section p {
  font-size: 1.05em;
  line-height: 1.8;
  color: #333333;
}
.business-section {
  background: #fffefc;
  border-left: 6px solid #ffee00;
  padding: 40px 30px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 8px;
  text-align: left;
}
.business-section h2 {
  font-size: 1.8em;
  color: #f3e300;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.business-section h3 {
  font-size: 1.3em;
  margin-bottom: 5px;
  display: flex;
  align-items: left;
}
.business-section p {
  font-size: 1.05em;
  color: #333333;
  line-height: 1.8;
}
.company-info {
  text-align: center;
}
.company-info table {
  width: auto;
  border-collapse: collapse;
  background: white;
  margin: 0 auto;
  min-width: 300px;
  max-width: 600px;
  border-collapse: collapse;
  background: #ffffff;
}
.company-info th, .company-info td {
  padding: 10px 40px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  white-space: nowrap;
}
.gallery-section {
  background: #f7fafd;
  padding: 40px 30px;
  margin: 40px auto;
  border-radius: 8px;
  text-align: center;
  max-width: 1500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.gallery-section h2 {
  font-size: 1.8em;
  color: #0077cc;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin: 0 auto;
}
.gallery-item {
  width: calc(50% - 10px);
  text-align: center;
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.caption {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}
.message-section {
  background: #fff8f0;
  padding: 50px 30px;
  margin: 40px auto;
  border-radius: 8px;
  max-width: 1500px;
  text-align: center;
  border-left: 6px solid #ff6600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.message-section h2 {
  color: #ff6600;
  font-size: 1.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.message-box {
  font-size: 1.2em;
  font-family: 'Sawarabi Mincho', serif;
  color: #444444;
  line-height: 1.8;
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
}
.message-box b {
  font-size: 1.5em;
  color: #ff670f;
}
.cta-section {
  background-color: #fff7ec;
  padding: 50px 30px;
  text-align: center;
  border-top: 4px solid #ff6600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  margin-top: 60px;
}
.cta-section h2 {
  font-size: 1.8em;
  color: #ff6600;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.05em;
  color: #444444;
  margin-bottom: 30px;
  line-height: 1.7;
}
.cta-buttons a {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.cta-buttons a:hover {
  background-color: #e55500;
}
/* video {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 8px;
} */
.video-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  padding-top: 80px;
  overflow: hidden;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
.video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.video-fallback img {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding-top: 68px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.4);
  color: white;
  z-index: 2;
  transition: opacity 0.8s ease;
}
.video-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
.video-overlay h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.scroll-down {
  font-size: 2em;
  margin-top: 20px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
footer {
  background-color: #1a73e8;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.footer-logo {
  max-height: 40px;
  margin-bottom: 15px;
}
footer p {
  font-size: 0.95em;
  line-height: 1.6;
}
.corporate-link {
  position: absolute;
  bottom: 10px;
  right: 20px;
}
.corporate-link a {
  color: #ffffff;
  font-weight: underline;
  text-decoration: underline;
  font-size: 1.2em;
}
.corporate-link a:hover {
  color: #e55500;
}
.corporate-link a[target=_blank][rel=nofollow] {
  padding-right: 20px;
  background: url(../images/icons8-外部リンク-24.png) right center/11px auto no-repeat;
  text-decoration: underline;
}

@media (max-width: 1280px) {
  .site-header {
    padding: 8px 0;
  }
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    min-height: 60px;
  }
  .main-nav {
    display: none !important;
  }
  .hamburger {
    display: block;
    font-size: 2em;
    cursor: pointer;
    color: #333;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 1100;
  }
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1200;
  }
  .mobile-nav a {
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    font-weight: bold;
  }
  .mobile-nav a:hover {
    background-color: #f9f9f9;
  }
  .mobile-nav.active {
    display: flex;
  }
  .main-nav.active {
    display: flex;
  }
  .main-nav a {
    margin: 10px 0;
  }
  .site-logo {
    height: 35px;
  }
  .logo-text {
    line-height: 1.1;
  }
  .company-name {
    font-size: 1.3em;
  }
  .recruit-text {
    font-size: 0.9em;
  }
  .video-hero {
    padding-top: 68px;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .gallery-item {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-wrapper {
    display: none;
  }
  .video-fallback {
    display: block;
  }
}