/* yuruhabi Support Pages - Common Styles */

:root {
  --primary: #1CE36C;
  --primary-dark: #16A34A;
  --primary-light: #DCfce7;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-tertiary: #94A3B8;
  --background: #F6F8F7;
  --white: #FFFFFF;
  --border: #E2E8F0;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--background);
}

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

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
}

nav {
  display: flex;
  gap: 24px;
}

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light), var(--white));
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content */
main {
  padding: 48px 0;
}

section {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

h3 {
  font-size: 1.125rem;
  margin: 24px 0 12px;
  color: var(--text-primary);
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-question::before {
  content: 'Q';
  background: var(--primary);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.faq-answer {
  color: var(--text-secondary);
  padding-left: 36px;
}

/* Contact Section */
.contact-box {
  background: var(--primary-light);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.contact-box h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.contact-email {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
  transition: background 0.2s;
}

.contact-email:hover {
  background: var(--primary-dark);
}

.contact-button {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-button:hover {
  background: var(--primary-dark);
}

/* Legal Pages */
.legal-content {
  line-height: 1.8;
}

.legal-content h3 {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-content h3:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.update-date {
  text-align: right;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

/* Footer */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 48px;
}

footer .container {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.copyright {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 40px 0;
  }

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

  section {
    padding: 24px 16px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 0.75rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
