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

html {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #eee;
}

header h1 {
  font-size: 2.5rem;
  color: #4a5568;
  margin-bottom: 10px;
  font-weight: 700;
}

header h2 {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 10px;
  font-weight: 400;
}

.domain {
  font-size: 1.1rem;
  color: #718096;
  font-style: italic;
}

.links-section h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 30px;
  text-align: center;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.link-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

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

.link-card h4 {
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 10px;
  font-weight: 600;
}

.link-card p {
  color: #718096;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.link-card a {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.link-card a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #eee;
  color: #718096;
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-link {
  color: #667eea;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* コンテンツページスタイル */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h3 {
  font-size: 1.8rem;
  color: #2d3748;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 2px solid #667eea;
  padding-bottom: 15px;
}

.policy-content {
  margin-bottom: 40px;
}

.policy-content section {
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.policy-content h4 {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 15px;
  border-left: 4px solid #667eea;
  padding-left: 15px;
}

.policy-content p {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.policy-content a {
  color: #667eea;
  text-decoration: none;
}

.policy-content a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

.back-link {
  text-align: center;
  margin-top: 40px;
}

.back-link a {
  color: #667eea;
  text-decoration: none;
  font-size: 1rem;
  padding: 10px 20px;
  border: 1px solid #667eea;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.back-link a:hover {
  background-color: #667eea;
  color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .container {
    padding: 20px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  header h2 {
    font-size: 1.4rem;
  }
  
  .link-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .link-card {
    padding: 20px;
  }
}
