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

:root {
  /* カラーパレット */
  --primary-color: #2c5282;
  --secondary-color: #ed8936;
  --accent-color: #38b2ac;
  --text-dark: #1a202c;
  --text-medium: #4a5568;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  /* タイポグラフィ */
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-secondary: 'Noto Serif JP', serif;
  
  /* スペーシング */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  
  /* ブレイクポイント */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

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

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

/* ========================= */
/* CONTAINER */
/* ========================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* ========================= */
/* NAVIGATION */
/* ========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  font-family: var(--font-secondary);
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-medium);
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

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

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    display: block;
    padding: 12px;
    font-size: 1.1rem;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* ========================= */
/* TYPOGRAPHY */
/* ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 12px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.8;
}

strong {
  color: var(--primary-color);
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}

/* ========================= */
/* SECTIONS */
/* ========================= */
section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* HERO SECTION */
/* ========================= */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 140px 0 100px !important;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px !important;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================= */
/* BUTTONS */
/* ========================= */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #1e4063);
  color: white;
  box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 82, 130, 0.4);
}

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

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

/* ========================= */
/* LISTS */
/* ========================= */
ul {
  list-style: none;
  padding: 0;
}

section ul li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--text-medium);
  line-height: 1.6;
}

section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ========================= */
/* SITE OVERVIEW */
/* ========================= */
.site-overview {
  background: var(--bg-light);
}

.site-overview p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.site-overview ul {
  max-width: 800px;
  margin: 2rem auto;
}

/* ========================= */
/* PROFILE */
/* ========================= */
.profile {
  background: white;
}

.profile h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-top: 1rem;
}

.profile > .container > p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ========================= */
/* MAIN CELEB */
/* ========================= */
.main-celeb {
  background: #fafafa;
  text-align: center;
}

.main-celeb ul {
  max-width: 600px;
  margin: 2rem auto;
}

.main-celeb ul li {
  font-size: 1.2rem;
  padding: 16px 0;
}

.main-celeb ul li::before {
  content: '★';
  color: var(--secondary-color);
}

.main-celeb > .container > p {
  font-size: 1.1rem;
  margin-top: 2rem;
}

/* ========================= */
/* KIDS */
/* ========================= */
.kids {
  background: white;
}

.kids h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 2.5rem;
  padding-left: 16px;
  border-left: 4px solid var(--secondary-color);
}

.kids p {
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ========================= */
/* ENSHIN */
/* ========================= */
.enshin {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  text-align: center;
}

.enshin p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.enshin ul {
  max-width: 600px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.enshin ul li {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: var(--primary-color);
}

.enshin ul li::before {
  content: '◆';
  color: var(--accent-color);
}

/* ========================= */
/* PROGRAMS */
/* ========================= */
.programs-wrapper {
  background: white;
}

.program-section {
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 8px;
  background: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.program-section h3 {
  color: var(--primary-color);
  margin-top: 0;
  padding-left: 16px;
  border-left: 4px solid var(--secondary-color);
}

/* ========================= */
/* WORKS */
/* ========================= */
.works {
  background: white;
}

.works ul li {
  font-size: 1.05rem;
  padding: 14px 0 14px 32px;
}

/* ========================= */
/* ARTIST LIST */
/* ========================= */
.artist-list-wrapper {
  background: #fafafa;
}

.artist-actor,
.artist-actress,
.artist-ldh {
  margin-bottom: 40px;
}

.artist-actor h3,
.artist-actress h3,
.artist-ldh h3 {
  color: var(--primary-color);
  padding-left: 16px;
  border-left: 4px solid var(--accent-color);
}

.artist-actor p,
.artist-actress p,
.artist-ldh p {
  font-size: 0.95rem;
  line-height: 2;
  padding-left: 20px;
  color: var(--text-medium);
}

.artist-ldh {
  background: #f5f5f5;
  padding: 40px;
  border-radius: 8px;
}

/* ========================= */
/* MESSAGE & CONTACT */
/* ========================= */
.message-contact {
  background: linear-gradient(135deg, #2c5282 0%, #1e4063 100%);
  color: white;
}

.message-contact h2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 2.2rem;
}

.message-contact h2::after {
  background: linear-gradient(90deg, var(--secondary-color), white);
}

.message-contact p {
  color: #ffffff;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-weight: 500;
  line-height: 2;
}

.message-contact p strong {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-section {
  background: white;
  padding: 50px;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
  color: var(--primary-color);
  text-align: center;
}

.contact-types {
  color: var(--text-medium);
  line-height: 2;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-types i {
  color: var(--secondary-color);
  margin-right: 8px;
}

/* ========================= */
/* CONTACT FORM */
/* ========================= */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

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

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

.required {
  color: #e53e3e;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 24px;
}

.contact-info {
  text-align: center;
  color: var(--text-medium);
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.contact-info i {
  margin-right: 8px;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 20px;
  }
}

/* ========================= */
/* FOOTER */
/* ========================= */
.footer {
  background: var(--text-dark);
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  margin: 8px 0;
  color: #f0f0f0;
  font-size: 1rem;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* ========================= */
/* BACK TO TOP BUTTON */
/* ========================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

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

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

/* ========================= */
/* UTILITY CLASSES */
/* ========================= */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* ========================= */
/* SCROLL REVEAL */
/* ========================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}