/* ============================================
   ZEROONE SYSTEM - Corporate Site
   Design: Modern Dark Business x Tech Accent
   ============================================ */

:root {
  --c-bg: #0a0e1a;
  --c-bg-2: #111827;
  --c-bg-light: #f5f6f8;
  --c-text: #1a1a1a;
  --c-text-light: #5a6478;
  --c-text-dark: #f5f6f8;
  --c-text-dark-sub: rgba(255,255,255,0.7);
  --c-line: rgba(255,255,255,0.1);
  --c-line-light: #e4e7ee;
  --c-accent: #00d9c0;
  --c-accent-2: #00a2ff;
  --c-accent-grad: linear-gradient(135deg, #00d9c0, #00a2ff);
  --f-jp: 'Noto Sans JP', sans-serif;
  --f-en: 'Outfit', sans-serif;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 60px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-jp);
  color: var(--c-text);
  background: #fff;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

/* ============================================
   HEADER
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad);
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-line);
  transition: padding 0.3s;
}
#header.scrolled { padding: 10px var(--pad); background: rgba(10,14,26,0.95); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 162, 255, 0.3));
  transition: filter 0.3s, transform 0.3s;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 4px 18px rgba(0, 217, 192, 0.55));
  transform: translateY(-1px);
}
#header.scrolled .logo-img { height: 48px; }
.logo-mark {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 24px;
  background: var(--c-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -1px;
}
.logo-text {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
}
.nav ul { display: flex; gap: 32px; }
.nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 0.7; }
.nav-cta {
  padding: 10px 22px;
  background: var(--c-accent-grad);
  border-radius: 100px;
  color: var(--c-bg) !important;
  font-weight: 700;
}
.nav-cta:hover { opacity: 1; transform: translateY(-1px); transition: transform 0.2s; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.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); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.85) 0%, rgba(10,14,26,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--pad) 80px;
  width: 100%;
  color: #fff;
}
.hero-tag {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--c-accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.5s; }
.hero-title em {
  background: var(--c-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.9;
  color: var(--c-text-dark-sub);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: var(--f-jp);
}
.btn span { transition: transform 0.3s; }
.btn:hover span { transform: translateX(5px); }
.btn-primary {
  background: var(--c-accent-grad);
  color: var(--c-bg);
  box-shadow: 0 10px 30px rgba(0, 217, 192, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(0, 217, 192, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 20px 44px; font-size: 16px; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.7;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  position: relative;
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  margin-bottom: 60px;
  position: relative;
}
.section-num {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent-2);
  letter-spacing: 4px;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.section-title em {
  font-family: var(--f-en);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--c-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title span {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--c-text-light);
  letter-spacing: 4px;
}
.section-head.light .section-title span { color: rgba(255,255,255,0.7); }
.section-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--c-text-light);
  margin-bottom: 60px;
  max-width: 700px;
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
  color: var(--c-text);
}
.about-text p {
  color: var(--c-text-light);
  margin-bottom: 20px;
  font-size: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line-light);
}
.stat-num {
  font-family: var(--f-en);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  background: var(--c-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-num span { font-size: 0.6em; }
.stat-label {
  font-size: 13px;
  color: var(--c-text-light);
  font-weight: 500;
}
.about-img {
  position: relative;
}
.about-img img {
  border-radius: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.about-img-deco {
  position: absolute;
  inset: -20px -20px 20px 20px;
  border: 2px solid var(--c-accent);
  border-radius: 8px;
  z-index: 1;
}

/* ============================================
   SERVICE
   ============================================ */
.service { background: var(--c-bg-light); }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.service-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-body { padding: 40px 36px; }
.service-no {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent-2);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 12px;
}
.service-body h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-body p {
  color: var(--c-text-light);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-size: 12px;
  padding: 6px 14px;
  background: var(--c-bg-light);
  border-radius: 100px;
  color: var(--c-text-light);
  font-weight: 500;
}

/* ============================================
   VISION
   ============================================ */
.vision {
  background: var(--c-bg);
  color: #fff;
  overflow: hidden;
}
.vision-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vision-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.2) saturate(1.2) hue-rotate(180deg);
}
.vision .section-inner { position: relative; z-index: 2; }
.vision-text {
  max-width: 800px;
}
.vision-lead {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 32px;
  color: #fff;
}
.vision-text p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ============================================
   COMPANY
   ============================================ */
.company { background: #fff; }
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 80px;
}
.company-table tr {
  border-bottom: 1px solid var(--c-line-light);
}
.company-table tr:first-child { border-top: 1px solid var(--c-line-light); }
.company-table th, .company-table td {
  padding: 24px 20px;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}
.company-table th {
  width: 200px;
  font-weight: 700;
  color: var(--c-text);
}
.company-table td {
  color: var(--c-text-light);
}
.reception-time {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-light);
  opacity: 0.85;
}

/* Sub Title (周辺地図 / アクセス) */
.sub-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 60px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-text);
  letter-spacing: 1px;
}

/* Map */
.map-block { margin-bottom: 20px; }
.map-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: #f0f0f0;
}
.map-frame iframe {
  display: block;
  width: 100%;
}

/* Access */
.access-block { margin-bottom: 60px; }
.access-item {
  background: var(--c-bg-light);
  padding: 28px 32px;
  border-radius: 8px;
  border-left: 4px solid var(--c-accent);
}
.access-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.access-icon {
  font-size: 20px;
}
.access-list {
  list-style: none;
  padding: 0;
}
.access-list li {
  font-size: 14.5px;
  color: var(--c-text-light);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.7;
}
.access-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-size: 10px;
  top: 12px;
}

.kobutsu {
  background: var(--c-bg-light);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  border-left: 4px solid var(--c-accent);
}
.kobutsu-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 1px;
}
.kobutsu-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.kobutsu-table tr { border-bottom: 1px solid var(--c-line-light); }
.kobutsu-table tr:last-child { border-bottom: none; }
.kobutsu-table th, .kobutsu-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 14px;
}
.kobutsu-table th {
  width: 140px;
  background: #fafbfc;
  font-weight: 700;
}
.kobutsu-note {
  font-size: 12px;
  color: var(--c-text-light);
  margin-top: 14px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--c-bg-light); }
.contact-form {
  max-width: 720px;
}
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-bg);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 700;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--c-line-light);
  border-radius: 6px;
  font-family: var(--f-jp);
  font-size: 15px;
  background: #fff;
  color: var(--c-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0, 217, 192, 0.15);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-submit { text-align: center; margin-top: 40px; }
.form-thanks {
  display: none;
  text-align: center;
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 217, 192, 0.1);
  color: #008a78;
  border-radius: 6px;
  font-weight: 700;
}
.form-thanks.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--c-bg);
  color: #fff;
  padding: 80px var(--pad) 30px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--c-line);
}
.footer-brand .footer-logo {
  height: 36px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 12px rgba(0, 162, 255, 0.25));
}
.footer-brand p { font-size: 13px; color: var(--c-text-dark-sub); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--c-accent); }
.footer-bottom {
  max-width: var(--container);
  margin: 30px auto 0;
  text-align: center;
}
.footer-bottom small {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.active {
    display: block;
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    padding: 30px var(--pad);
    border-bottom: 1px solid var(--c-line);
  }
  .nav.active ul {
    flex-direction: column;
    gap: 24px;
  }
  .hamburger { display: flex; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .service-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .hero-title { font-size: 44px; }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .company-table th { width: 100px; font-size: 13px; padding: 18px 12px; }
  .company-table td { font-size: 13px; padding: 18px 12px; }
  .kobutsu-table th { width: 90px; padding: 14px; }
  .kobutsu-table td { padding: 14px; }
  .service-body { padding: 28px 24px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
