/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本設定 */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
}

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

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #2c3e50;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #2c3e50;
}

/* メインコンテンツ */
.main {
  min-height: calc(100vh - 140px);
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* セクション共通 */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #667eea;
}

/* アバウトセクション */
.about {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #667eea;
}

.feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #666;
  font-size: 0.95rem;
}

/* サービスセクション */
.services {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* コンタクトセクション */
.contact {
  padding: 4rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.contact-info p {
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 500;
}

/* プライバシーページ */
.privacy-content {
  padding: 4rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.compliance-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.privacy-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #667eea;
}

.privacy-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.8rem;
  position: relative;
}

.privacy-section h3::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.privacy-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 1.5rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid #667eea;
}

.privacy-section p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: #555;
}

.privacy-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.privacy-section li {
  margin-bottom: 0.8rem;
  color: #555;
  line-height: 1.7;
  position: relative;
}

.privacy-section li::before {
  content: "•";
  color: #667eea;
  font-weight: bold;
  position: absolute;
  left: -1rem;
}

.company-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid #667eea;
}

.company-info p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.data-categories {
  margin: 1.5rem 0;
}

.data-categories h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.purpose-table {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.purpose-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.purpose-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.purpose-table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  line-height: 1.6;
}

.purpose-table tr:hover {
  background-color: #f8f9fa;
}

.contact-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid #667eea;
}

.contact-info p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #2c3e50;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* フッター */
.footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .page-title {
    font-size: 2rem;
  }

  .privacy-content {
    padding: 2rem 0;
  }

  .privacy-section {
    padding: 1.5rem;
  }

  .compliance-badges {
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .purpose-table {
    font-size: 0.9rem;
  }

  .purpose-table th,
  .purpose-table td {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 3rem 0;
  }

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

  .about,
  .services,
  .contact {
    padding: 3rem 0;
  }

  .service-card,
  .feature {
    padding: 1.5rem;
  }
}
