/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0e0;
  background-color: #0a0a0a;
}

a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #6366f1;
}

ul {
  list-style: none;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav ul {
  display: flex;
  gap: 30px;
}

.nav a {
  font-size: 0.9rem;
  padding: 5px 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  padding: 180px 0 120px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: #888;
}

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

.section-gray {
  background-color: #111111;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

/* Info Table */
.info-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.info-table th {
  width: 30%;
  font-weight: 600;
  color: #a5b4fc;
  background-color: rgba(99, 102, 241, 0.1);
}

.info-table td {
  width: 70%;
}

/* Service */
.service-single {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-align: center;
}

.service-single h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.service-single p {
  font-size: 1rem;
  color: #888;
  line-height: 1.9;
}

/* Works */
.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work-item {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: center;
}

.work-item:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.work-screenshot {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #252525;
}

.work-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.work-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.work-item p {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
  line-height: 1.7;
}

.lp-link {
  display: inline-block;
  font-size: 0.85rem;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  transition: all 0.3s ease;
}

.lp-link:hover {
  color: #fff;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.works-store-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.works-store-links a {
  color: #888;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.works-store-links a:hover {
  color: #a5b4fc;
}

/* Contact */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content p {
  margin-bottom: 25px;
  color: #888;
}

.contact-email {
  font-size: 1.3rem;
}

.contact-email a {
  font-weight: 600;
  color: #fff;
  padding: 15px 40px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 30px;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-email a:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  color: #fff;
}

.contact-note {
  font-size: 0.85rem;
  color: #666;
}

/* Footer */
.footer {
  background-color: #050505;
  color: #666;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
  font-size: 0.8rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header .container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }

  .logo {
    margin-bottom: 10px;
  }

  .nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 40px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 15px;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 5px;
  }

  .info-table td {
    padding-top: 5px;
  }

  .service-list,
  .works-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item,
  .work-item {
    padding: 25px;
  }

  .contact-email {
    font-size: 1rem;
  }

  .contact-email a {
    padding: 12px 30px;
  }
}
