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

.sp-only {
  display: none;
}

:root {
  /* Dark & Blue Theme Colors (Brighter Dark Gray base) */
  --black: #1e293b;
  --white: #ffffff;
  --gray: #2d3f56;
  --mid-gray: #475569;
  --accent: #00d2ff;
  --main-color: #173f67;
  --dark-color: #0f172a;
  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background-color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 101;
}

.logo img {
  height: 52px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: 42%;
  transform: rotate(-45deg);
}

nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
}

.header-contact {
  background: var(--main-color);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px !important;
  font-weight: 700;
  transition: background 0.2s !important;
}

.header-contact:hover {
  background: var(--accent);
  color: var(--black) !important;
}

.header-reserve {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px !important;
  text-decoration: none;
  transition: all 0.25s;
}

.header-reserve:hover {
  background: var(--accent);
  color: var(--black) !important;
}

/* ===== HERO / FV ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  background: #02050a;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 55% 70% at 72% 44%, rgba(23, 63, 103, 0.3) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 30% 75%, rgba(23, 63, 103, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(30, 41, 59, 0.8) 0%, transparent 60%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.fv-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  transform: scale(1.5);
  transform-origin: 78% 48%;
}

/* SVG Animations (Plant Engineering - Simple) */
.fv-rotate-slow {
  animation: fvRotateSlow 20s linear infinite;
}

@keyframes fvRotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.fv-pipe-flow {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: pipeFlow 12s linear infinite;
}

@keyframes pipeFlow {
  to {
    stroke-dashoffset: 0;
  }
}

.fv-spark {
  animation: sparkPulse 1.5s infinite;
}

@keyframes sparkPulse {

  0%,
  100% {
    opacity: 0;
  }

  10%,
  30% {
    opacity: 1;
  }

  20%,
  40% {
    opacity: 0.5;
  }
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.hero-ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  gap: 60px;
}

.hero-ticker span {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.hero-ticker .dot {
  color: var(--accent);
  font-size: 16px;
  line-height: 0;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 60px 0 100px 80px;
}

.hero-image-wrap {
  position: relative;
  z-index: 4;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 80px;
}

.fv-slider {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 85, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-image-wrap img.fv-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fvFade 18s infinite;
}

.hero-image-wrap img.fv-slide:nth-child(1) { animation-delay: 0s; }
.hero-image-wrap img.fv-slide:nth-child(2) { animation-delay: 6s; }
.hero-image-wrap img.fv-slide:nth-child(3) { animation-delay: 12s; }

@keyframes fvFade {
  0% { opacity: 0; }
  11% { opacity: 1; }
  33% { opacity: 1; }
  44% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.8s ease both 0.2s;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both 0.4s;
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  animation: fadeUp 0.8s ease both 0.6s;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease both 0.75s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--main-color);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(0, 85, 255, 0.4);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
  color: var(--black);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 16px 44px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.25s;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 210, 255, 0.1);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 58px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
}

.scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    left: -100%
  }

  50% {
    left: 100%
  }
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title-ja {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--black);
}

.about-text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-main);
  margin-bottom: 32px;
}

.about-diagram {
  background: var(--gray);
  border-radius: 20px;
  padding: 15px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1.4 / 1;
  border-radius: 12px;
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) contrast(1.1);
}

.orbit-nodes-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}

.orbit-node {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.orbit-node.active {
  background: var(--main-color);
  border-color: var(--accent);
  color: var(--white);
}

/* ===== SERVICE ===== */
.service {
  padding: 100px 80px;
  background: var(--gray);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--mid-gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 85, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.4);
}

.svc-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.svc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

@media (min-width: 769px) {
  .svc-img-01 {
    /* 中央(50%)から10%ずらして、画像の下寄り（または上寄り）を見せる調整 */
    object-position: center 60%;
  }
}

.service-card:hover .svc-image img {
  transform: scale(1.05);
}

.svc-content {
  padding: 30px;
  flex: 1;
}

.svc-num {
  font-family: 'Montserrat', sans-serif;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.svc-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.4;
}

.svc-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-section {
  padding: 100px 80px;
  background: var(--gray);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(23, 63, 103, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(23, 63, 103, 0.6);
  border-color: rgba(0, 210, 255, 0.4);
}

.feature-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
  transition: color 0.3s;
}

.feature-card:hover .feature-num {
  color: rgba(0, 210, 255, 0.1);
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent);
  position: relative;
  z-index: 2;
  line-height: 1.4;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
  opacity: 0.7;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  color: var(--white);
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.8));
}

/* ===== RECRUIT ===== */
.recruit-section {
  display: grid;
  position: relative;
}

.recruit-section::before {
  content: "";
  grid-area: 1 / 1;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.85)), url('../img/recruitbg.jpg') no-repeat center center / cover;
  z-index: 1;
}

.recruit-content {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  padding: 100px 80px;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: rgba(45, 63, 86, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.recruit-table th,
.recruit-table td {
  padding: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.recruit-table tr:last-child th,
.recruit-table tr:last-child td {
  border-bottom: none;
}

.recruit-table th {
  width: 25%;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.3);
  vertical-align: top;
}

.recruit-table td {
  color: var(--text-main);
  line-height: 1.8;
}

.recruit-table ul {
  list-style: none;
}

.recruit-table li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 5px;
}

.recruit-table li::before {
  content: '■';
  color: #00d2ff;
  position: absolute;
  left: 0;
  font-size: 0.8em;
  top: 0.2em;
}

/* ===== MESSAGE ===== */
.message-section {
  padding: 100px 80px;
  background: var(--black);
  display: flex;
  gap: 80px;
  align-items: stretch;
}

.message-img {
  flex: 0 0 450px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.message-content {
  flex: 1;
}

.message-content h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 30px;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  line-height: 1.5;
}

.message-content p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* ===== PARTNER ===== */
.partner-section {
  padding: 100px 80px;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.partner-content {
  flex: 1;
}

.partner-content h2 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 24px;
}

.partner-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.partner-btn:hover {
  background: rgba(0, 210, 255, 0.1);
  transform: translateX(5px);
}

.partner-btn svg {
  width: 20px;
  height: 20px;
}

.partner-image {
  flex: 1;
}

.partner-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== CONTACT BANNER ===== */
.contact-banner {
  background: var(--main-color);
  padding: 100px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.contact-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 260px;
  text-align: left;
}

.btn-tel {
  background: var(--white);
  color: var(--main-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-web {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
}

.cta-btn-text span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.cta-btn-text small {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
}

.cta-btn:hover {
  transform: translateY(-5px);
}

.btn-tel:hover {
  background: #fdfdfd;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-web:hover {
  background: #111;
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ===== FOOTER & COMPANY ===== */
footer {
  background: #000;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 80px 30px;
  border-top: 1px solid #111;
}

.footer-inner {
  display: flex;
  gap: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  flex: 1;
}

.footer-brand .logo {
  color: var(--white);
  font-size: 24px;
  display: block;
  margin-bottom: 20px;
}

.company-info {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.company-info strong {
  color: var(--white);
}

.sns-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.sns-btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.sns-btn:hover {
  background: var(--main-color);
  border-color: var(--main-color);
}

.footer-map {
  flex: 1;
  min-height: 250px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
  position: relative;
}

.footer-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  color: #666;
}

/* ===== MOBILE ===== */
@media (max-width: 1000px) {
  .message-section {
    flex-direction: column;
    padding: 80px 20px;
    gap: 40px;
  }

  .message-img {
    flex: 0 0 auto;
    width: 100%;
    height: 300px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  header {
    padding: 0 20px;
  }

  .hamburger {
    display: block;
  }

  .sp-only {
    display: block;
  }

  .pc-only {
    display: none !important;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(11, 17, 33, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    transition: all 0.4s;
    z-index: 1000;
    gap: 30px;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    text-align: center;
  }

  .header-contact,
  .header-reserve {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 15px !important;
    font-size: 16px !important;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-image-wrap {
    order: 1;
    padding: 30px 24px 20px;
    height: 350px;
    display: block;
    width: 100%;
  }

  .fv-slider {
    height: 100%;
    width: 100%;
  }

  .hero-content {
    order: 2;
    padding: 20px 24px 80px;
  }

  .hero-title {
    font-size: 25px;
  }

  .about {
    display: flex;
    flex-direction: column;
    padding: 60px 24px;
    gap: 40px;
  }

  .about-visual {
    order: 1;
  }

  .about-text-block {
    order: 2;
  }

  .orbit-nodes-overlay {
    position: relative;
    bottom: auto;
    left: 0;
    width: 100%;
    margin-top: 15px;
  }

  .service,
  .features-section,
  .message-section,
  .partner-section,
  .contact-banner,
  footer {
    padding: 60px 24px;
  }

  .recruit-section {
    padding: 0;
  }

  .recruit-content {
    padding: 60px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .partner-container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .partner-content h2 {
    font-size: 25px;
  }

  .message-content h3 {
    font-size: 20px;
  }

  .partner-btn {
    display: flex;
    width: max-content;
    margin: 0 auto;
  }

  .contact-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
  }

  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
  }

  .recruit-table th {
    border-bottom: none;
    padding-bottom: 10px;
  }

  .recruit-table td {
    padding-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .recruit-table tr:last-child td {
    border-bottom: none;
  }

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

  .footer-map {
    height: 300px;
  }

  .hero-sub,
  .about-text,
  .svc-desc,
  .feature-card p,
  .recruit-table th,
  .recruit-table td,
  .message-content p,
  .partner-content p,
  .contact-lead,
  p {
    font-size: 14px !important;
  }

  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--black);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
  }

  .sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sticky-btn:last-child {
    border-right: none;
  }

  .sticky-btn svg {
    width: 20px;
    height: 20px;
  }

  .sticky-tel {
    background: var(--gray);
  }

  .sticky-web {
    background: var(--main-color);
  }

  body {
    padding-bottom: 60px;
  }

  .page-top {
    bottom: 90px !important;
    right: 15px !important;
  }
}


/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Page Top Button */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: var(--main-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.page-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

.page-top svg {
  width: 24px;
  height: 24px;
}