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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main section {
  scroll-margin-top: 120px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 8rem 0;
}

.section-alt {
  background: #f9fafb;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.divider {
  width: 80px;
  height: 4px;
  background: #111111;
}

.divider.center {
  margin: 0 auto;
}

.mini-divider {
  width: 48px;
  height: 2px;
  background: #111111;
  margin: 1.5rem 0;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  height: 40px;
}

.logo.large {
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 0.875rem;
  color: #6b7280;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #111111;
}

.hero {
  padding: 10rem 0 8rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111111;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 5rem);
  margin: 0 0 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-text {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 2px solid #111111;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button.primary {
  background: #111111;
  color: #ffffff;
}

.button.primary:hover {
  background: #2f2f2f;
}

.button.outline:hover {
  background: #111111;
  color: #ffffff;
}

.button.large {
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 4px;
  background: linear-gradient(180deg, #7c3aed, #c4b5fd, transparent);
}

.about-card p {
  margin: 0 0 1.5rem;
  color: #374151;
}

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

.section-head {
  text-align: center;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2.5rem;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: #111111;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.12);
}

.service-number {
  font-size: 4rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.service-card:hover .service-number {
  color: #d1d5db;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.service-sub {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.service-card p {
  margin: 0 0 1.2rem;
  color: #6b7280;
}

.service-card p.small {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.product-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-item {
  border-left: 2px solid #d1d5db;
  padding-left: 1rem;
  transition: border-color 0.2s ease;
}

.product-item:hover {
  border-color: #111111;
}

.product-item .small {
  font-size: 0.75rem;
  color: #6b7280;
}

.works-grid {
  display: grid;
  gap: 1.5rem;
}

.work-card {
  background: #ffffff;
  border-left: 4px solid #111111;
  padding: 2.5rem;
  box-shadow: 0 18px 32px rgba(17, 17, 17, 0.1);
  transition: box-shadow 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 26px 40px rgba(17, 17, 17, 0.14);
}

.work-title {
  margin: 0 0 2rem;
  font-size: 1.4rem;
}

.work-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  color: #6b7280;
}

.work-list li {
  display: flex;
  gap: 0.75rem;
}

.bullet {
  color: #111111;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.contact-body {
  max-width: 780px;
  margin: 0 auto;
}

.contact-text {
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 4rem;
}

.contact-card {
  position: relative;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  padding: 3rem;
  margin-bottom: 2.5rem;
}

.contact-email {
  text-align: center;
}

.email-link {
  display: inline-block;
  font-size: 2rem;
  color: #111111;
  transition: color 0.2s ease;
}

.email-link:hover {
  color: #7c3aed;
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #111111;
}

.corner.tl {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.corner.tr {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.corner.bl {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.corner.br {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.contact-action {
  text-align: center;
}

.company-card {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.company-label,
.company-value {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.company-label {
  background: #f9fafb;
  color: #6b7280;
  border-right: 1px solid #e5e7eb;
}

.company-grid div:nth-last-child(-n + 2) {
  border-bottom: none;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 4rem 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  color: #6b7280;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

@media (max-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    padding: 9rem 0 6rem;
  }

  .about-grid {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .services-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

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

  .company-label {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.4rem, 7vw, 3.6rem);
  }

  .contact-card {
    padding: 2.5rem 2rem;
  }

  .email-link {
    font-size: 1.6rem;
  }
}
