/*
Theme Name: Spring English School
Description: A modern English school theme
Version: 1.0
*/

/* Font Awesome強制読み込み */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #ffffff;
  --foreground: #000000;
  --primary: #ff8e37;
  --secondary: #e2750f;
  --primary-light: #fff0e6;
  --accent: #4bb6de;
  --accent-light: #e1f5fe;
  --muted: #d9d9d9;
  --muted-foreground: #6f6f6f;
  --border: #e1e1e1;
  --input: #f4f4f5;
  --card: #ffffff;
  --card-foreground: #171717;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  padding-top: 80px; /* ヘッダーの高さ分のパディングを追加 */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

/* Header Styles - 現在のheader.php構造に対応 */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225, 245, 254, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  height: 80px;
}

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

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  height: 80px;
  min-height: 80px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 10000;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.3s ease;
  font-size: 1.5rem;
  font-weight: 700;
  gap: 0.25rem;
}

.site-logo:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: var(--foreground);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

/* Desktop Navigation */
.main-navigation {
  display: none;
  flex: 1;
  justify-content: center;
  margin: 0 2rem;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--foreground);
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

.main-menu a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
  text-decoration: none;
}

/* Header CTA */
.header-cta {
  display: none;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(255, 142, 55, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary: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: all 0.6s;
  z-index: -1;
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 142, 55, 0.3);
  color: white;
  text-decoration: none;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--foreground);
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10001;
}

.mobile-menu-toggle:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--foreground);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 1rem;
}

.mobile-menu-list a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.mobile-menu-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.mobile-menu-cta .btn-primary {
  width: 100%;
  max-width: 300px;
  justify-content: center;
  text-align: center;
  display: inline-flex;
}

/* Header CTA */
.header-cta {
  display: none;
  flex-shrink: 0;
}

.header-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--foreground);
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10001;
}

.mobile-menu-toggle:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px; /* ヘッダーの高さ分下に配置 */
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  padding: 2rem 1rem;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--foreground);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 1rem;
}

.mobile-menu-list a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.mobile-menu-list a i {
  margin-right: 1rem;
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.mobile-menu-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.mobile-cta-btn {
  width: 100%;
  max-width: 300px;
  justify-content: center;
  text-align: center;
  display: inline-flex;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(255, 142, 55, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary: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: all 0.6s;
  z-index: -1;
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 142, 55, 0.3);
  color: white;
  text-decoration: none;
}

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

.btn-secondary {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(75, 182, 222, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary: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: all 0.6s;
  z-index: -1;
}

.btn-secondary:hover {
  background-color: #3a9cc0;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(75, 182, 222, 0.3);
  color: white;
  text-decoration: none;
}

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

/* Main Content */
.main-content,
.site-content {
  min-height: calc(100vh - 80px);
  padding-top: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  margin-top: -80px; /* ヘッダーの高さ分上にずらす */
  padding-top: 80px; /* ヘッダーの高さ分のパディングを追加 */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta-container {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-message-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

.hero-message-box:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-message-box::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.hero-message {
  text-align: center;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 20%;
  left: 10%;
  animation-delay: 0.7s;
}

.sparkle-3 {
  bottom: 15%;
  right: 20%;
  animation-delay: 1.4s;
}

.hero-cta-button {
  text-align: center;
  position: relative;
  z-index: 10;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 142, 55, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.btn-hero:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 142, 55, 0.5);
  color: white;
  text-decoration: none;
}

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

.btn-hero i.fa-star {
  color: #ffd700;
  animation: pulse 2s infinite;
}

/* About Hero Section */
.about-hero-section,
.teachers-hero-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: calc(8rem + 80px);
}

.about-hero-section::before,
.teachers-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.about-hero-content,
.teachers-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-title,
.teachers-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.about-hero-subtitle,
.teachers-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
}

.font-bold {
  font-weight: 700;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid Layouts */
.grid {
  display: grid;
}

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

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

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

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

.gap-8 {
  gap: 2rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 1rem;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, rgba(255, 142, 55, 0.05), rgba(75, 182, 222, 0.05));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.8s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-light), rgba(75, 182, 222, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(75, 182, 222, 0.2);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  box-shadow: 0 12px 30px rgba(75, 182, 222, 0.4);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--foreground);
  flex-shrink: 0;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.9rem;
  flex-grow: 1;
}

/* Spring Thoughts Section */
.spring-thoughts-section {
  background: white;
}

.spring-thoughts-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary);
  margin-bottom: 4rem;
  position: relative;
}

.spring-thoughts-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.spring-thoughts-content {
  max-width: 900px;
  margin: 0 auto;
}

.spring-thoughts-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(225, 245, 254, 0.8);
}

.spring-thoughts-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 2.5rem 2rem;
  text-align: center;
}

.spring-thoughts-header-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.spring-thoughts-body {
  padding: 3rem 2rem;
}

.spring-thoughts-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.thought-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.thought-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.thought-icon.travel {
  background: linear-gradient(135deg, var(--primary), #ff6b35);
}

.thought-icon.study {
  background: linear-gradient(135deg, var(--accent), #3a9cc0);
}

.thought-icon.business {
  background: linear-gradient(135deg, var(--secondary), #d4650a);
}

.thought-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.thought-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
}

.spring-thoughts-message {
  text-align: center;
  margin-bottom: 2.5rem;
}

.thoughts-highlight-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 8px 25px rgba(255, 142, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.thoughts-highlight-box::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.6s;
}

.thoughts-highlight-box:hover::before {
  left: 100%;
}

.spring-thoughts-text {
  text-align: center;
  margin-bottom: 2.5rem;
}

.thoughts-main-text {
  font-size: 1.375rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.text-highlight {
  color: var(--primary);
  font-weight: 800;
  position: relative;
}

.text-highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  opacity: 0.3;
}

.spring-thoughts-footer {
  text-align: center;
}

.thoughts-footer-box {
  background: linear-gradient(135deg, rgba(255, 142, 55, 0.05), rgba(75, 182, 222, 0.05));
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(75, 182, 222, 0.1);
}

.thoughts-footer-box p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
  background: white;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.commitment-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(225, 245, 254, 0.8);
  position: relative;
  transition: all 0.4s ease;
}

.commitment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.commitment-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 142, 55, 0.3);
}

.commitment-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-light), rgba(75, 182, 222, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 2rem 0;
  color: var(--accent);
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(75, 182, 222, 0.2);
  transition: all 0.4s ease;
}

.commitment-card:hover .commitment-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
}

.commitment-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.commitment-description {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1rem;
}

/* Classes Section */
.classes-section {
  background: white;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.class-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(225, 245, 254, 0.5);
  position: relative;
}

.class-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.class-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.class-card.featured::before {
  content: "人気";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

.class-header {
  background: linear-gradient(135deg, var(--accent-light), rgba(75, 182, 222, 0.1));
  padding: 2rem;
  text-align: center;
}

.class-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.class-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.class-card:hover .class-thumbnail {
  transform: scale(1.05);
}

.class-image-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.class-content,
.class-body {
  padding: 2rem;
}

.class-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.class-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.class-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.class-price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.class-details {
  margin-bottom: 1.5rem;
}

.class-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.class-detail-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.class-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.class-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--foreground);
}

.class-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

.class-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.class-cta {
  text-align: center;
}

.class-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.class-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.btn-class {
  background: linear-gradient(135deg, var(--accent), #3a9cc0);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(75, 182, 222, 0.3);
}

.btn-class:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(75, 182, 222, 0.4);
  color: white;
  text-decoration: none;
}

.btn-class.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 6px 20px rgba(255, 142, 55, 0.3);
}

.btn-class.primary:hover {
  box-shadow: 0 10px 30px rgba(255, 142, 55, 0.4);
}

/* Teachers Section */
.teachers-section {
  background: var(--accent-light);
}

.teachers-main-section {
  padding: 6rem 0;
  background: white;
}

.teachers-intro-section {
  background: var(--accent-light);
  padding: 3rem 2.5rem;
  margin-bottom: 5rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(75, 182, 222, 0.1);
  border: 1px solid rgba(75, 182, 222, 0.1);
  position: relative;
  overflow: hidden;
}

.teachers-intro-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(75, 182, 222, 0.05) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.teachers-intro-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.teachers-intro-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ホームページ用の講師グリッド */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

/* ホームページ用の講師カード */
.teacher-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.teacher-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.8s ease;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.teacher-card:hover::before {
  left: 100%;
}

.teacher-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.teacher-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}

.teacher-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-image {
  transform: scale(1.05);
}

.teacher-avatar-placeholder {
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2.5rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), rgba(75, 182, 222, 0.2));
}

.teacher-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  position: relative;
  line-height: 1.2;
}

.teacher-name::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.teacher-country {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.teacher-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.teacher-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
  flex: 1;
}

.teacher-bio p {
  margin-bottom: 1rem;
}

.teacher-bio p:last-child {
  margin-bottom: 0;
}

.teacher-specialties {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  font-style: italic;
}

/* 講師詳細ページ用のスタイル */
.teachers-page .teachers-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.teachers-page .teacher-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(225, 245, 254, 0.8);
  text-align: left;
}

.teachers-page .teacher-card:nth-child(even) {
  grid-template-columns: 1fr 300px;
  direction: rtl;
}

.teachers-page .teacher-card:nth-child(even) > * {
  direction: ltr;
}

.teachers-page .teacher-image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.teachers-page .teacher-image-wrapper {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  position: relative;
  background: var(--accent-light);
}

.teachers-page .teacher-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teachers-page .teacher-header {
  margin-bottom: 1.5rem;
}

.teachers-page .teacher-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  position: relative;
  line-height: 1.2;
}

.teachers-page .teacher-name::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.teachers-page .teacher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.teacher-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.country-badge {
  background: rgba(255, 142, 55, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 142, 55, 0.2);
}

.experience-badge {
  background: rgba(75, 182, 222, 0.1);
  color: var(--accent);
  border: 1px solid rgba(75, 182, 222, 0.2);
}

.qualification-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.teacher-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.teachers-page .teacher-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  flex: 1;
}

.teachers-page .teacher-subjects {
  background: linear-gradient(135deg, rgba(255, 142, 55, 0.05), rgba(75, 182, 222, 0.05));
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  margin-top: auto;
}

.subjects-label {
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.5rem;
}

.subjects-content {
  color: var(--foreground);
  font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .teachers-page .teacher-card,
  .teachers-page .teacher-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
    direction: ltr;
  }

  .teachers-page .teacher-image-container {
    justify-content: center;
  }

  .teachers-page .teacher-image-wrapper {
    width: 200px;
    height: 200px;
  }

  .teachers-page .teacher-name::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .teachers-page .teacher-badges {
    justify-content: center;
  }

  .teachers-page .teacher-bio {
    text-align: center;
  }

  .teacher-card {
    padding: 1.5rem;
  }

  .teacher-avatar {
    width: 100px;
    height: 100px;
  }

  .teacher-name {
    font-size: 1.125rem;
  }

  .teacher-bio {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .teachers-page .teacher-image-wrapper {
    width: 150px;
    height: 150px;
  }

  .teachers-page .teacher-name {
    font-size: 1.25rem;
  }

  .teacher-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .teacher-card {
    padding: 1rem;
  }

  .teacher-avatar {
    width: 80px;
    height: 80px;
  }
}

/* Student Materials Section */
.student-materials-section {
  background: linear-gradient(135deg, rgba(255, 142, 55, 0.05), rgba(75, 182, 222, 0.05));
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.material-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.material-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.material-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-light), rgba(75, 182, 222, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(75, 182, 222, 0.2);
}

.material-card:hover .material-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  box-shadow: 0 12px 30px rgba(75, 182, 222, 0.4);
}

.material-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.material-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.material-stats {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, rgba(255, 142, 55, 0.05), rgba(75, 182, 222, 0.05));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.testimonial-rating .star {
  color: #ffd700;
  font-size: 1rem;
}

/* Blog Section */
.blog-section {
  background: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(225, 245, 254, 0.5);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumbnail {
  transform: scale(1.05);
}

.blog-image-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.blog-date {
  color: var(--muted-foreground);
}

.blog-category {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-title a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.blog-excerpt {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-link,
.blog-read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link:hover,
.blog-read-more:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* CTA Section */
.cta-section,
.teachers-cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.teachers-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.3"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.3"/><circle cx="40" cy="60" r="0.5" fill="white" opacity="0.3"/><circle cx="60" cy="30" r="0.5" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  pointer-events: none;
}

.teachers-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title,
.teachers-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-subtitle,
.teachers-cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-cta,
.teachers-cta-button {
  background: white;
  color: var(--primary);
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-cta::before,
.teachers-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 142, 55, 0.1), transparent);
  transition: left 0.6s;
}

.btn-cta:hover,
.teachers-cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  color: var(--primary);
  text-decoration: none;
}

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

.teachers-cta-button i {
  color: #ffd700;
  animation: pulse 2s infinite;
}

/* No Teachers Message */
.no-teachers-message {
  text-align: center;
  padding: 5rem 2rem;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(225, 245, 254, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.no-teachers-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-teachers-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.no-teachers-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.no-teachers-text {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* About Page Specific Styles */
.facility-grid {
  display: grid;
  gap: 4rem;
  margin-top: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.facility-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.facility-item.reverse {
  direction: rtl;
}

.facility-item.reverse > * {
  direction: ltr;
}

.facility-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.facility-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.facility-item:hover .facility-img {
  transform: scale(1.05);
}

.facility-content {
  padding: 1rem;
}

.facility-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.facility-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.facility-features {
  list-style: none;
  padding: 0;
}

.facility-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.facility-features li i {
  margin-right: 0.75rem;
  font-size: 0.875rem;
}

.facility-amenities {
  margin-top: 4rem;
  text-align: center;
}

.amenities-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.amenity-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.amenity-item i {
  font-size: 2rem;
  color: var(--accent);
}

.amenity-item span {
  font-weight: 600;
  color: var(--foreground);
}

/* Access Section */
.access-section {
  background: linear-gradient(135deg, rgba(255, 142, 55, 0.05), rgba(75, 182, 222, 0.05));
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.access-info {
  display: flex;
  flex-direction: column;
}

.access-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.access-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.access-address {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.access-transport,
.access-parking {
  margin-bottom: 2rem;
}

.transport-title,
.parking-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.transport-list {
  list-style: none;
  padding: 0;
}

.transport-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.transport-list li:last-child {
  border-bottom: none;
}

.transport-time {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.parking-info {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.access-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.map-container {
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--primary-light);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--primary);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Page Styles */
.contact-page {
  background: var(--background);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto 4rem;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-form-header p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.contact-form,
.wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group,
.wpcf7-form p {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group.full-width,
.wpcf7-form p.full-width {
  grid-column: 1 / -1;
}

.wpcf7-form p.form-submit {
  grid-column: span 2;
  text-align: center;
  margin-top: 1rem;
}

.form-label,
.wpcf7-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 0.95rem;
  display: block;
}

.form-control,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  width: 100%;
  font-family: inherit;
}

.form-control:focus,
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 142, 55, 0.1);
}

.form-control[type="textarea"],
textarea.form-control,
.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.form-check,
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  width: auto;
  margin-right: 0.5rem;
  accent-color: var(--primary);
}

.form-check input[type="checkbox"] {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-check label,
.wpcf7-form .wpcf7-list-item label {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  cursor: pointer;
  display: inline;
  font-weight: normal;
  margin-bottom: 0;
  margin-left: 0.5rem;
}

.wpcf7-form .wpcf7-list-item {
  margin-bottom: 0.5rem;
}

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1rem;
}

.btn-submit,
.wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 142, 55, 0.3);
}

.btn-submit:hover,
.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 142, 55, 0.4);
}

.contact-info-section {
  margin-top: 4rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-info-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-icon.address {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.contact-info-icon.phone {
  background: linear-gradient(135deg, var(--accent), #3a9cc0);
}

.contact-info-icon.email {
  background: linear-gradient(135deg, #10b981, #059669);
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.contact-info-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

/* Contact Form 7 Error Messages */
.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.wpcf7-validation-errors {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #dc2626;
}

.wpcf7-mail-sent-ok {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #166534;
}

.wpcf7-mail-sent-ng {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #dc2626;
}

.wpcf7-spam-blocked {
  background-color: #fffbeb;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #ea580c;
}

.wpcf7-form input[type="file"] {
  padding: 0.5rem;
  background-color: white;
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.wpcf7-form input[type="file"]:hover {
  border-color: var(--accent);
}

.wpcf7-spinner {
  visibility: visible !important;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

/* Blog and Archive Styles */
.single-post .main-content,
.single .main-content,
.category .main-content,
.archive .main-content {
  padding: 0;
}

.single-post .py-16.bg-gradient-to-r,
.single .py-16.bg-gradient-to-r,
.category .py-16.bg-gradient-to-r,
.archive .py-16.bg-gradient-to-r {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 4rem 0;
  color: white;
  margin-bottom: 2rem;
  margin-top: -80px;
  padding-top: calc(4rem + 80px);
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card .aspect-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: none;
}

.card .aspect-video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.card:hover .aspect-video img {
  transform: scale(1.05);
}

.card .p-6 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.card .text-muted {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card .text-xl {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card .text-xs {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.card .no-thumbnail {
  background: linear-gradient(135deg, var(--accent-light), #e1f5fe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  padding-bottom: 56.25%;
  position: relative;
}

.card .no-thumbnail i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Footer */
.site-footer {
  background-color: var(--accent-light) !important;
  padding: 2rem 0 2rem !important;
  position: relative !important;
  margin-top: 0;
}

.site-footer .footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2rem;
  overflow: hidden;
}

.site-footer .footer-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  color: white;
  fill: currentColor;
}

.footer-content {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 2rem !important;
  margin-bottom: 2rem !important;
  padding-top: 1rem !important;
}

.footer-section {
  padding: 0 !important;
}

.footer-section.accent-border {
  padding-left: 1.5rem !important;
  position: relative;
}

.footer-section.accent-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent) !important;
  margin-bottom: 1rem !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
}

.footer-section .site-title {
  margin-bottom: 1.5rem;
  padding: 1rem;
  position: relative;
}

.footer-section .site-title::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--primary);
  border-left: 3px solid var(--primary);
}

.footer-section .site-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}

.footer-section .site-title h3 {
  position: relative;
  font-size: 1.875rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-bottom: 0.25rem !important;
}

.footer-section .site-title h3:last-child {
  font-size: 2.25rem !important;
  color: var(--accent) !important;
  margin-bottom: 0 !important;
}

.footer-section .site-title .since-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  font-size: 0.75rem;
  background-color: var(--primary);
  color: white;
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
}

.footer-section p {
  margin-bottom: 1.5rem !important;
  color: var(--muted-foreground) !important;
}

.footer-contact-info {
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-right: 0.75rem;
  color: white;
}

.footer-contact-icon.phone {
  background-color: var(--primary);
}

.footer-contact-icon.email {
  background-color: var(--accent);
}

.footer-social {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.footer-menu,
.footer-section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-menu li,
.footer-section ul li {
  margin-bottom: 0.75rem !important;
}

.footer-menu a,
.footer-section a {
  color: var(--muted-foreground) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  font-size: 1rem;
}

.footer-menu a:hover,
.footer-section a:hover {
  color: var(--primary) !important;
}

.footer-bottom {
  text-align: center !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(75, 182, 222, 0.3) !important;
  color: var(--muted-foreground) !important;
  position: relative !important;
}

.scroll-to-top {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--accent);
}

.scroll-to-top:hover {
  background-color: var(--accent-light);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1) rotate(5deg);
  color: white;
  text-decoration: none;
}

.facebook {
  background: linear-gradient(45deg, #3b5998, #5b7bd5);
}

.twitter {
  background: linear-gradient(45deg, #1da1f2, #55acee);
}

.youtube {
  background: linear-gradient(45deg, #ff0000, #ff5e3a);
}

/* Utility Classes */
.bg-white {
  background-color: white;
}

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

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

.text-muted {
  color: var(--muted-foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.inline-block {
  display: inline-block;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.transition-all {
  transition: all 0.3s ease;
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.border-t-4 {
  border-top-width: 4px;
}

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

.border-accent {
  border-color: var(--accent);
}

.border-green-500 {
  border-color: #10b981;
}

.bg-green-100 {
  background-color: #dcfce7;
}

.bg-green-500 {
  background-color: #10b981;
}

.hover\:bg-green-600:hover {
  background-color: #059669;
}

.text-green-600 {
  color: #059669;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:transform {
  transform: translateY(-2px);
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.w-full {
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

@keyframes ping-slow {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

.animate-ping-slow {
  animation: ping-slow 3s ease-in-out infinite;
}

/* Font Awesome Icons */
.fas,
.far,
.fab,
.fal,
.fad,
.fass,
.fasr,
.fasl {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Font Awesome 6 Duotone",
    "Font Awesome 6 Sharp", "Font Awesome 6 Sharp Regular", "Font Awesome 6 Sharp Light" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.fab {
  font-weight: 400 !important;
}

.far {
  font-weight: 400 !important;
}

/* Icon fallbacks */
.fa-star::before {
  content: "\f005" !important;
}
.fa-heart::before {
  content: "\f004" !important;
}
.fa-check::before {
  content: "\f00c" !important;
}
.fa-yen-sign::before {
  content: "\f157" !important;
}
.fa-calendar-alt::before {
  content: "\f073" !important;
}
.fa-users::before {
  content: "\f0c0" !important;
}
.fa-laptop::before {
  content: "\f109" !important;
}
.fa-comments::before {
  content: "\f086" !important;
}
.fa-globe::before {
  content: "\f0ac" !important;
}
.fa-globe-americas::before {
  content: "\f57d" !important;
}
.fa-plane::before {
  content: "\f072" !important;
}
.fa-graduation-cap::before {
  content: "\f19d" !important;
}
.fa-briefcase::before {
  content: "\f0b1" !important;
}
.fa-clock::before {
  content: "\f017" !important;
}
.fa-book-open::before {
  content: "\f518" !important;
}
.fa-book::before {
  content: "\f02d" !important;
}
.fa-user::before {
  content: "\f007" !important;
}
.fa-arrow-right::before {
  content: "\f061" !important;
}
.fa-bars::before {
  content: "\f0c9" !important;
}
.fa-times::before {
  content: "\f00d" !important;
}
.fa-phone::before {
  content: "\f095" !important;
}
.fa-phone-alt::before {
  content: "\f879" !important;
}
.fa-sparkles::before {
  content: "\f890" !important;
}
.fa-chart-line::before {
  content: "\f201" !important;
}
.fa-certificate::before {
  content: "\f0a3" !important;
}
.fa-home::before {
  content: "\f015" !important;
}
.fa-info-circle::before {
  content: "\f05a" !important;
}
.fa-envelope::before {
  content: "\f0e0" !important;
}
.fa-blog::before {
  content: "\f781" !important;
}
.fa-map-marker-alt::before {
  content: "\f3c5" !important;
}
.fa-train::before {
  content: "\f238" !important;
}
.fa-car::before {
  content: "\f1b9" !important;
}
.fa-wifi::before {
  content: "\f1eb" !important;
}
.fa-coffee::before {
  content: "\f0f4" !important;
}
.fa-parking::before {
  content: "\f540" !important;
}
.fa-question-circle::before {
  content: "\f059" !important;
}
.fa-chevron-down::before {
  content: "\f078" !important;
}
.fa-trophy::before {
  content: "\f091" !important;
}
.fa-dollar-sign::before {
  content: "\f155" !important;
}

/* Responsive Design */
@media (min-width: 768px) {
  .main-navigation {
    display: flex;
  }

  .header-cta {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .site-logo {
    font-size: 1.75rem;
  }

  .site-logo {
    font-size: 1.75rem;
  }

  .header-cta {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .logo-text {
    font-size: 1.75rem;
  }

  .since-badge {
    display: inline-block;
  }

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

  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .about-hero-title,
  .teachers-hero-title {
    font-size: 4rem;
  }

  .facility-item {
    grid-template-columns: 1fr 1fr;
  }

  .access-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form,
  .wpcf7-form {
    grid-template-columns: 1fr 1fr;
  }

  .wpcf7-form p.full-width,
  .wpcf7-form p.form-submit {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .header-content {
    padding: 0.75rem 0;
    min-height: 60px;
  }

  .site-header {
    height: 70px;
  }

  body {
    padding-top: 70px;
  }

  .hero-section {
    margin-top: -70px;
    padding-top: 70px;
  }

  .about-hero-section,
  .teachers-hero-section {
    margin-top: -70px;
    padding-top: calc(8rem + 70px);
  }

  .single-post .py-16.bg-gradient-to-r,
  .single .py-16.bg-gradient-to-r,
  .category .py-16.bg-gradient-to-r,
  .archive .py-16.bg-gradient-to-r {
    margin-top: -70px;
    padding-top: calc(4rem + 70px);
  }

  .mobile-menu {
    top: 70px;
    max-height: calc(100vh - 70px);
  }

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

  .since-badge {
    display: none;
  }

  .contact-form,
  .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .wpcf7-form p.full-width,
  .wpcf7-form p.form-submit {
    grid-column: span 1;
  }
}

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

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

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

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

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

  .section-title {
    font-size: 3rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .about-hero-title,
  .teachers-hero-title {
    font-size: 4.5rem;
  }

  .teacher-card,
  .teacher-card-reverse {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
  }

  .teacher-image-wrapper {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-message-box {
    max-width: 350px;
    padding: 1.5rem;
    transform: rotate(-1deg);
  }

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

  .about-hero-title,
  .teachers-hero-title {
    font-size: 2.5rem;
  }

  .about-hero-subtitle,
  .teachers-hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.875rem;
  }

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

  .commitment-card {
    padding: 2rem 1.5rem;
  }

  .spring-thoughts-icons {
    flex-direction: column;
    gap: 2rem;
  }

  .spring-thoughts-header-text {
    font-size: 1.25rem;
  }

  .facility-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .facility-item.reverse {
    direction: ltr;
  }

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

  .access-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .cta-title,
  .teachers-cta-title {
    font-size: 2rem;
  }

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

  .teacher-card,
  .teacher-card-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
    direction: ltr;
  }

  .teacher-image-container {
    justify-content: center;
  }

  .teacher-image-wrapper {
    width: 200px;
    height: 200px;
  }

  .teacher-name::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .teacher-badges {
    justify-content: center;
  }

  .teacher-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .classes-grid {
    grid-template-columns: 1fr;
  }

  .class-card.featured {
    transform: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .footer-section.accent-border {
    padding-left: 0 !important;
  }

  .footer-section.accent-border::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-section {
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-message-box {
    max-width: 300px;
    padding: 1.25rem;
  }

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

  .about-hero-section,
  .teachers-hero-section {
    padding: 6rem 0 3rem;
  }

  .about-hero-title,
  .teachers-hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .spring-thoughts-body {
    padding: 2rem 1.5rem;
  }

  .thought-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .commitment-card {
    padding: 1.5rem 1rem;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .material-card {
    padding: 2rem 1.5rem;
  }

  .teacher-card {
    padding: 1.5rem;
  }

  .teacher-image-wrapper {
    width: 150px;
    height: 150px;
  }

  .teacher-name {
    font-size: 1.5rem;
  }

  .teacher-badges {
    gap: 0.5rem;
  }

  .teacher-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .teachers-cta-section {
    padding: 4rem 0;
  }

  .teachers-cta-title {
    font-size: 1.75rem;
  }

  .teachers-cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* WordPress specific styles */
.wp-block-image {
  margin: 2rem 0;
}

.wp-block-image img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-quote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
  background: rgba(75, 182, 222, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
}

.wp-block-button .wp-block-button__link {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

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

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* Footer spacing */
footer {
  margin-top: 0;
}

/* セクション間のスペーシング統一 */
.main-content > *:last-child,
.site-content > *:last-child {
  margin-bottom: 0;
}

.cta-section,
.teachers-cta-section {
  margin-bottom: 0;
  padding-bottom: 4rem;
}
/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 7px;
  width: auto;
  z-index: 100000;
}

/* Skip link */
.skip-link {
  left: -9999px;
  position: absolute;
  top: -9999px;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  left: 6px;
  top: 7px;
  width: auto;
  z-index: 999999;
}

/* セクション間のスペーシング統一 */
.main-content > *:last-child,
.site-content > *:last-child {
  margin-bottom: 0;
}

.cta-section,
.teachers-cta-section {
  margin-bottom: 0;
  padding-bottom: 4rem;
}
