@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

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

:root {
  --primary-color: #1a1a2e;
  --text-color: #333;
  --border-color: #e0e0e0;
  --bg-color: #ffffff;
  --accent: #2563eb;
}

html, body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

/* Main content */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
  margin-top: 3rem;
  color: #666;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.1rem;
  color: #666;
}

/* Section styles */
section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

/* Business info table */
.business-info {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.business-info td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.business-info td:first-child {
  font-weight: 500;
  width: 20%;
  background-color: #f9f9f9;
}

.business-info tr:last-child td {
  border-bottom: none;
}

/* Contact form */
.contact-form {
  max-width: 500px;
}

.form-note {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f0f4f8;
  border-left: 4px solid var(--accent);
  font-size: 0.95rem;
  color: #555;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #1d4ed8;
}

/* Project cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.project-card p {
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.project-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--bg-color);
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.project-links a:hover {
  background-color: var(--accent);
  color: white;
}

/* Privacy Policy */
.privacy-content {
  line-height: 1.8;
}

.privacy-content h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.privacy-content p {
  margin-bottom: 1rem;
  color: #555;
}

.privacy-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  color: #555;
}

.last-updated {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  main {
    padding: 1rem;
  }

  nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  section h2 {
    font-size: 1.4rem;
  }

  .business-info td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

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

  footer {
    padding: 1.5rem;
    font-size: 0.85rem;
  }
}
