/*=============== VARIABLES CSS ===============*/
:root {
  /* Colors */
  --primary-color: #6366f1;
  --primary-light: #8b5cf6;
  --primary-dark: #4f46e5;
  --secondary-color: #f59e0b;
  --accent-color: #ec4899;
  --success-color: #10b981;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Text Colors */
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --bg-card: #ffffff;
  
  /* Border & Shadow */
  --border-color: #e5e7eb;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  
  /* Typography */
  --font-primary: 'Inter', 'Noto Sans JP', sans-serif;
  --font-japanese: 'Noto Sans JP', sans-serif;
  
  /* Font Sizes */
  --h1-font-size: 3.5rem;
  --h2-font-size: 2.5rem;
  --h3-font-size: 1.75rem;
  --h4-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  
  /* Font Weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Spacing */
  --header-height: 4rem;
  --section-padding: 6rem 0;
  --container-margin: 0 1.5rem;
  --border-radius: 0.75rem;
  --border-radius-lg: 1rem;
  
  /* Z-index */
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive Font Sizes */
@media screen and (max-width: 968px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --section-padding: 4rem 0;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--normal-font-size);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-japanese);
  font-weight: var(--font-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin: var(--container-margin);
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*=============== BUTTONS ===============*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-medium);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

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

.btn--outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: var(--font-bold);
  font-size: 1.25rem;
  color: var(--text-dark);
}

.nav__logo i {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-weight: var(--font-medium);
  color: var(--text-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-dark);
}

/*=============== HERO ===============*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__graphic {
  position: relative;
  width: 400px;
  height: 400px;
}

.hero__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.2;
  animation: pulse 3s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-medium);
  color: var(--text-dark);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 30%;
  right: 0%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}

/*=============== ABOUT ===============*/
.about {
  background: var(--bg-light);
}

.about__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.about__description {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.25rem;
}

.value-content h4 {
  font-size: var(--h4-font-size);
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.value-content p {
  color: var(--text-medium);
  line-height: 1.5;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--small-font-size);
  color: var(--text-medium);
  font-weight: var(--font-medium);
}

/*=============== SERVICES ===============*/
.services__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--text-white);
}

.service-title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-description {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-medium);
}

.service-features i {
  color: var(--success-color);
  font-size: 0.875rem;
}

/*=============== VISION ===============*/
.vision {
  background: var(--bg-light);
}

.vision__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.vision__description {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.vision__goals {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.goal-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.goal-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: var(--font-bold);
  font-size: 1.125rem;
}

.goal-content h4 {
  font-size: var(--h4-font-size);
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.goal-content p {
  color: var(--text-medium);
  line-height: 1.5;
}

.vision__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision__graphic {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision__circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid;
}

.circle-1 {
  width: 200px;
  height: 200px;
  border-color: var(--primary-color);
  animation: rotate 10s linear infinite;
}

.circle-2 {
  width: 250px;
  height: 250px;
  border-color: var(--accent-color);
  animation: rotate 15s linear infinite reverse;
}

.circle-3 {
  width: 300px;
  height: 300px;
  border-color: var(--secondary-color);
  animation: rotate 20s linear infinite;
}

.vision__text {
  font-size: 3rem;
  font-weight: var(--font-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*=============== TEAM ===============*/
.team__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.team-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.team-avatar {
  margin-bottom: 1.5rem;
}

.avatar-placeholder {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: var(--text-white);
}

.team-name {
  font-size: var(--h4-font-size);
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.team-role {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
}

.team-description {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

.team__join {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  color: var(--text-white);
}

.team__join h3 {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.team__join p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.team__join .btn {
  background: var(--bg-white);
  color: var(--primary-color);
}

.team__join .btn:hover {
  background: var(--bg-light);
}

/*=============== CONTACT ===============*/
.contact {
  background: var(--bg-light);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.25rem;
}

.contact-content h4 {
  font-size: var(--h4-font-size);
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-content p {
  color: var(--text-medium);
  line-height: 1.5;
}

.contact__form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-medium);
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: var(--normal-font-size);
  transition: border-color 0.3s ease;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: var(--font-bold);
  font-size: 1.25rem;
}

.footer__logo i {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__description {
  color: var(--text-light);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social .social-link {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.footer__social .social-link:hover {
  background: var(--primary-color);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__title {
  font-size: var(--h4-font-size);
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__list a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.25rem;
  box-shadow: var(--shadow-medium);
  z-index: var(--z-fixed);
  transition: all 0.3s ease;
}

.scrollup:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.show-scroll {
  bottom: 2rem;
}

/*=============== ANIMATIONS ===============*/
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*=============== RESPONSIVE ===============*/
@media screen and (max-width: 1024px) {
  .hero__container,
  .about__container,
  .vision__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero__visual {
    order: -1;
  }
  
  .hero__graphic {
    width: 300px;
    height: 300px;
  }
  
  .hero__circle {
    width: 200px;
    height: 200px;
  }
  
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem 2rem 2rem;
    transition: right 0.3s ease;
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav__link {
    font-size: 1.125rem;
  }
  
  .nav__close,
  .nav__toggle {
    display: block;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
  
  .hero__buttons {
    flex-direction: column;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
  
  .services__container {
    grid-template-columns: 1fr;
  }
  
  .team__container {
    grid-template-columns: 1fr;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
    --section-padding: 3rem 0;
  }
  
  .container {
    margin: 0 1rem;
  }
  
  .hero__graphic {
    width: 250px;
    height: 250px;
  }
  
  .floating-card {
    padding: 0.75rem 1rem;
    font-size: var(--small-font-size);
  }
  
  .contact__form {
    padding: 1.5rem;
  }
}