:root {
  --primary: #1976d2;
  --primary-light: #2196f3;
  --primary-dark: #0d47a1;
  --primary-50: #e3f2fd;
  --primary-100: #bbdefb;
  --primary-200: #90caf9;
  --primary-300: #64b5f6;
  --primary-400: #42a5f5;
  --primary-500: #2196f3;
  --primary-600: #1e88e5;
  --primary-700: #1976d2;
  --primary-800: #1565c0;
  --primary-900: #0d47a1;

  --accent: #ff9800;
  --accent-light: #ffb74d;
  --accent-dark: #f57c00;
  --accent-50: #fff3e0;
  --accent-100: #ffe0b2;
  --accent-200: #ffcc80;
  --accent-300: #ffb74d;
  --accent-400: #ffa726;
  --accent-500: #ff9800;
  --accent-600: #fb8c00;
  --accent-700: #f57c00;
  --accent-800: #ef6c00;
  --accent-900: #e65100;

  --success: #4caf50;
  --success-light: #81c784;
  --success-dark: #388e3c;

  --error: #f44336;
  --error-light: #e57373;
  --error-dark: #d32f2f;

  --warning: #ff9800;
  --warning-light: #ffb74d;
  --warning-dark: #f57c00;

  --info: #2196f3;
  --info-light: #64b5f6;
  --info-dark: #1976d2;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-inverse: #ffffff;
  --text-link: #1976d2;

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-dark: #cbd5e1;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans',
    'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

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

.header__lang-switch {
  display: flex;
  gap: 8px;
}

.header__lang-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid var(--border);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

.header__lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.header__lang-btn.active {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.hero {
  background: linear-gradient(
    135deg,
    var(--primary-400) 0%,
    var(--primary-700) 50%,
    var(--primary-900) 100%
  );
  color: var(--text-inverse);
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__icon {
  width: 80px;
  height: 80px;
  color: var(--text-inverse);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: none;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background-color: var(--accent-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-inverse);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.section {
  padding: 80px 0;
}

.section--light {
  background-color: var(--bg-primary);
}

.section--dark {
  background-color: var(--bg-tertiary);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section__subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 32px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card__text {
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--primary);
}

.faq__question-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--primary);
}

.faq__item.open .faq__question-icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease;
}

.faq__answer-content {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq__item.open .faq__answer {
  max-height: 1000px;
}

.contact {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.contact__email:hover {
  color: var(--primary-600);
  box-shadow: var(--shadow-lg);
}

.contact__email-icon {
  width: 24px;
  height: 24px;
}

.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer__link:hover {
  color: var(--primary);
}

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

.privacy {
  max-width: 800px;
  margin: 0 auto;
}

.privacy__section {
  margin-bottom: 48px;
}

.privacy__section:last-child {
  margin-bottom: 0;
}

.privacy__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.privacy__text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.privacy__text:last-child {
  margin-bottom: 0;
}

.privacy__list {
  list-style: none;
  padding-left: 0;
}

.privacy__list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.privacy__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .footer__links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .header__logo-text {
    font-size: 1.25rem;
  }
}
