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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

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

.lang-switcher {
  text-align: right;
  padding: 10px 0;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s;
}

.lang-switcher a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

header {
  text-align: center;
  padding: 50px 20px 60px;
  color: white;
}

h1 {
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: 1.3em;
  opacity: 0.95;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.1em;
  opacity: 0.85;
}

.content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin: 20px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #667eea;
  margin: 30px 0 20px 0;
  font-size: 1.8em;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
}

h3 {
  color: #667eea;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature {
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.feature-icon {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

.button {
  display: inline-block;
  padding: 15px 30px;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.button:hover {
  background: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.button.secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.button.secondary:hover {
  background: #667eea;
  color: white;
}

/* FAQ和Support ページ共通 */
.faq-item {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.faq-question {
  font-weight: bold;
  color: #667eea;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.faq-answer {
  color: #555;
}

.contact-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

.contact-box h3 {
  color: #667eea;
  margin-bottom: 15px;
}

/* Privacy Policy ページ */
p,
li {
  margin-bottom: 15px;
}

ul {
  margin-left: 30px;
}

.last-updated {
  color: #666;
  font-style: italic;
  margin-bottom: 30px;
}

/* Support ページ固有 */
.support-links ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: white;
  opacity: 0.8;
}

footer a {
  color: white;
  text-decoration: underline;
}

/* 言語選択ページ */
.lang-label {
  font-size: 1em;
  opacity: 0.75;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.lang-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.lang-button {
  display: inline-block;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 60px;
  font-size: 1.2em;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.lang-button:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.lang-button .flag {
  display: block;
  font-size: 2em;
  margin-bottom: 6px;
}

/* レスポンシブ */
@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }

  .content {
    padding: 20px;
  }

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