/* 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: #333;
  background-color: #fff;
}

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

a:hover {
  color: #666;
}

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: #fff;
  border-bottom: 1px solid #e0e0e0;
  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;
}

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

.nav a {
  font-size: 0.9rem;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: #333;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background-color: #f8f9fa;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

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

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

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

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 15px;
  border-bottom: 2px solid #333;
  display: inline-block;
  width: 100%;
}

/* 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 #e0e0e0;
  text-align: left;
}

.info-table th {
  width: 30%;
  font-weight: 600;
  background-color: #f8f9fa;
}

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

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

.service-item {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #e0e0e0;
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.service-item p {
  font-size: 0.9rem;
  color: #666;
}

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

.work-item {
  background-color: #f8f9fa;
  padding: 30px;
  border: 1px solid #e0e0e0;
}

.work-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.work-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.work-item p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
}

.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  background-color: #333;
  color: #fff;
}

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

.contact-content p {
  margin-bottom: 20px;
}

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

.contact-email a {
  font-weight: 600;
  border-bottom: 1px solid #333;
  padding-bottom: 3px;
}

.contact-email a:hover {
  border-bottom-color: #666;
}

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

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.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: 140px 0 60px;
  }

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

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

  .section {
    padding: 60px 0;
  }

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

  .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: 1.1rem;
  }
}
