@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

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

:root {
  --primary: #3b82f6;
  --primary-dark: #1e40af;
  --cyan: #06b6d4;
  --dark-bg: #0f172a;
  --dark-bg-light: #1a1f3a;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-bg-hover: rgba(255, 255, 255, 0.12);
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.8);
  --text-light: rgba(255, 255, 255, 0.6);
  --border-light: rgba(255, 255, 255, 0.15);
  --radius: 0.65rem;
}

html, body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--border-light);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-white);
  font-weight: bold;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3));
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: var(--text-white);
  padding: 0.625rem 1.75rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.6);
}

.cta-button:hover::before {
  left: 100%;
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(26, 31, 58, 0.8) 50%, rgba(15, 23, 42, 0.8) 100%);
}

.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .accent {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* Section */
section {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

section h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 3rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.2), 0 0 40px rgba(6, 182, 212, 0.1);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card h3 {
  position: relative;
  z-index: 1;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Typography */
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-white);
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Form Elements */
input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  color: var(--text-white);
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-white);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: var(--cyan);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
}

footer p {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Utility Classes */
.mb-4 {
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
    height: 60px;
  }

  nav {
    display: none;
  }

  .logo img {
    height: 30px;
  }

  section {
    padding: 2rem 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .glass-card {
    padding: 1.5rem;
  }
}

/* Scroll Animation */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Flow Cards Animation */
.flow-card {
  animation: slideInFromLeft 0.6s ease-out;
}

.flow-card:nth-child(2) {
  animation-delay: 0.1s;
}

.flow-card:nth-child(3) {
  animation-delay: 0.2s;
}

.flow-card:nth-child(4) {
  animation-delay: 0.3s;
}


/* Accordion Styles */
.accordion-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background: rgba(6, 182, 212, 0.1);
}

.accordion-header span:first-child {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-white);
  flex: 1;
  padding-right: 1rem;
}

.accordion-header span:last-child {
  font-size: 1.5rem;
  color: var(--cyan);
  font-weight: 300;
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
}

.accordion-item.active .accordion-header span:last-child {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.320, 1), 
              padding 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  padding: 0 1.5rem;
}

.accordion-content.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.accordion-content a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.accordion-content a:hover {
  border-bottom-color: var(--cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* FAQ Category Headers */
section h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--cyan);
  position: relative;
}

section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--primary) 100%);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* Utility Classes */
.mb-4 {
  margin-bottom: 1.5rem;
}