:root {
  --primary: #007FC9;
  --danger: #DD4B5E;
  --warning: #F3D34A;
  --success: #86BBD8;
  --default: #644536;
  --info: #AA4C7E;
  --secondary: #FFAE03;
  --light: #f8f9fa;
  --dark: #212529;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-800: #343a40;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--secondary);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-cta {
  background-color: var(--danger);
  color: white;
  border: 2px solid var(--danger);
  font-size: 18px;
  padding: 16px 32px;
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--danger);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--default);
  font-weight: 500;
}

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

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  color: white;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why Needed Section */
#why-needed {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--default);
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 16px auto 0;
}

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

.reason-box {
  padding: 30px;
  border-radius: 8px;
  background-color: var(--gray-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.reason-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.reason-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Features Section */
#features {
  padding: 100px 0;
  background-color: var(--gray-100);
}

.feature-box {
  background-color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon i {
  color: white;
  font-size: 28px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--default);
}

/* Courses Section */
#courses {
  padding: 100px 0;
}

.course-box {
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.course-box:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-header {
  padding: 20px;
  background-color: var(--primary);
  color: white;
}

.course-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
}

.course-content {
  padding: 20px;
}

.course-skills {
  margin: 0;
  padding-left: 20px;
}

.course-skills li {
  margin-bottom: 8px;
}

/* Download Section */
#download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--info) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
}

.download-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.download-content {
  max-width: 800px;
  margin: 0 auto 40px;
}

.download-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--default);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 127, 201, 0.25);
}

/* Related Services */
#related {
  padding: 100px 0;
  background-color: var(--gray-100);
  text-align: center;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.service-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-img {
  height: 200px;
  background-color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-800);
}

.service-content {
  padding: 24px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--default);
}

/* Contact Section */
#contact {
  padding: 100px 0;
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--default);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  margin-top: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--gray-300);
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  nav ul li {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  nav {
    display: none;
  }
}