:root {
  --bg: #050505;
  --bg-alt: #0a0a0a;
  --surface: #111111;
  --surface-glass: rgba(18, 18, 18, 0.7);
  --text: #fafafa;
  --text-muted: #888888;
  --accent: #ff3d00;
  --accent-2: #ff6d00;
  --accent-glow: rgba(255, 61, 0, 0.4);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 20px;
  --font-jp: 'Zen Kaku Gothic New', sans-serif;
  --font-en: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: var(--accent);
  color: white;
}

/* Background Grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* Glow orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  top: -200px;
  right: -200px;
}

.glow-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 109, 0, 0.2), transparent 60%);
  bottom: 20%;
  left: -100px;
  animation-delay: -10s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 20px) scale(1.1);
  }
}

/* Container */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-plate {
  padding: 8px 12px;
  display: flex;
  align-items: center;
}

.logo-plate img {
  height: 24px;
  width: auto;
}

/* Navigation */
.nav {
  display: none;
  gap: 8px;
  align-items: center;
}

.nav a {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 14px;
  color: #555555;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-2) !important;
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Mobile Menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  font-size: 16px;
  color: #555555;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-nav a:hover {
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../image/hero_bg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.6;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 61, 0, 0.1);
  border: 1px solid rgba(255, 61, 0, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero h1 {
  font-family: var(--font-jp);
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Section */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Services */
.services-grid {
  display: grid;
  gap: 20px;
}

.service-card {
  position: relative;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 61, 0, 0.3);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 20px;
  right: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.service-list {
  margin-top: 16px;
  padding-left: 20px;
}

.service-list li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.service-note {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 61, 0, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* About */
.about-section {
  background: var(--bg-alt);
}

.company-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-header {
  background: linear-gradient(135deg, rgba(255, 61, 0, 0.1), rgba(255, 109, 0, 0.05));
  padding: 32px;
  border-bottom: 1px solid var(--border);
}

.company-header h3 {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
}

.company-header p {
  font-size: 24px;
  font-weight: 700;
}

.company-details {
  padding: 32px;
}

.company-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.company-value {
  font-size: 14px;
  color: var(--text);
}

.business-list {
  list-style: none;
}

.business-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
}

.business-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--accent);
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 61, 0, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-checkbox label {
  font-size: 14px;
  color: var(--text-muted);
}

.form-submit {
  width: 100%;
  margin-top: 24px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Honeypot */
.hp {
  position: absolute !important;
  left: -10000px !important;
}

/* Google Forms Embed */
.google-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}

.google-form-wrapper iframe {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo-plate {
  background: transparent;
  border-radius: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: #555555;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.copyright {
  font-size: 13px;
  color: #555555;
}

/* Responsive */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

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

  .company-row {
    grid-template-columns: 160px 1fr;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }
}

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Policy Content */
.policy-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.policy-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.policy-content li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Terms Content */
.terms-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.terms-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}

.terms-content h3:first-child {
  margin-top: 0;
}

.terms-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.terms-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.terms-content li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
