:root {
  --primary-color: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #6366F1;
  --secondary-color: #06B6D4;
  --accent-color: #F59E0B;
  --success-color: #10B981;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

-------------------------------------
-------------------------------------
/*トップ　CSS*/
-------------------------------------
-------------------------------------

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    /* ==================== Header & Navigation ==================== */
    .modern-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }

    .modern-header.scrolled {
      box-shadow: var(--shadow-md);
    }

    .nav-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 900;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .nav-menu {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
    }

    .cta-button {
      background: var(--gradient-primary);
      color: white;
      padding: 0.75rem 2rem;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 700;
      box-shadow: var(--shadow-md);
      transition: all 0.3s;
      display: inline-block;
    }

    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
      color: white;
    }

    /* ==================== Hero Section ==================== */
    .hero-section {
      margin-top: 80px;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding-top: 100px;
      background: #000;
    }

    /* Image Slider Background */
    .hero-slider {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .hero-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 2s ease-in-out;
    }

    .hero-slide.active {
      opacity: 1;
    }

    .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      filter: brightness(0.6);
    }

    /* Animated Overlay */
    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.75) 50%, rgba(240, 147, 251, 0.85) 100%);
      background-size: 400% 400%;
      animation: gradientShift 15s ease infinite;
      z-index: 2;
      mix-blend-mode: multiply;
    }

    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* Geometric Shapes Animation */
    .hero-shapes {
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: 3;
      overflow: hidden;
    }

    .shape {
      position: absolute;
      opacity: 0.1;
    }

    .shape-circle {
      width: 300px;
      height: 300px;
      border: 3px solid white;
      border-radius: 50%;
      animation: float-shape 20s infinite ease-in-out;
    }

    .shape-square {
      width: 200px;
      height: 200px;
      border: 3px solid white;
      transform: rotate(45deg);
      animation: float-shape 25s infinite ease-in-out reverse;
    }

    .shape-triangle {
      width: 0;
      height: 0;
      border-left: 150px solid transparent;
      border-right: 150px solid transparent;
      border-bottom: 260px solid white;
      animation: float-shape 30s infinite ease-in-out;
    }

    .btn-primary-pg {
      background: white;
      color: var(--primary-color);
      padding: 1.2rem 3rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1.1rem;
      box-shadow: var(--shadow-xl);
      transition: all 0.3s;
      text-decoration: none;
      display: inline-block;
    }

    .btn-primary-pg:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    }

    @keyframes float-shape {
      0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
      }
      25% {
        transform: translateY(-50px) translateX(50px) rotate(90deg);
      }
      50% {
        transform: translateY(-100px) translateX(-50px) rotate(180deg);
      }
      75% {
        transform: translateY(-50px) translateX(-100px) rotate(270deg);
      }
    }

    .hero-particles {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 4;
    }

    .particle {
      position: absolute;
      width: 8px;
      height: 8px;
      background: rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      animation: float 20s infinite;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
    }

    /* Content Container with Split Layout */
    .hero-content {
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
      padding: 2rem;
      position: relative;
      z-index: 5;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .hero-text-section {
      text-align: left;
    }

    .hero-visual-section {
      position: relative;
      height: 500px;
    }

    /* Floating Images */
    .floating-images {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .floating-image {
      position: absolute;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .floating-image:hover {
      transform: scale(1.05) !important;
    }

    .floating-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .floating-image-1 {
      width: 320px;
      height: 240px;
      top: 0;
      left: 0;
      animation: float-img-1 6s ease-in-out infinite;
      z-index: 3;
    }

    .floating-image-2 {
      width: 280px;
      height: 210px;
      top: 50px;
      right: 0;
      animation: float-img-2 7s ease-in-out infinite;
      z-index: 2;
    }

    .floating-image-3 {
      width: 300px;
      height: 225px;
      bottom: 0;
      left: 80px;
      animation: float-img-3 8s ease-in-out infinite;
      z-index: 1;
    }

    @keyframes float-img-1 {
      0%, 100% { transform: translateY(0px) translateX(0px) rotate(-2deg); }
      50% { transform: translateY(-20px) translateX(10px) rotate(2deg); }
    }

    @keyframes float-img-2 {
      0%, 100% { transform: translateY(0px) translateX(0px) rotate(3deg); }
      50% { transform: translateY(-25px) translateX(-10px) rotate(-2deg); }
    }

    @keyframes float-img-3 {
      0%, 100% { transform: translateY(0px) translateX(0px) rotate(-3deg); }
      50% { transform: translateY(-15px) translateX(15px) rotate(3deg); }
    }

    /* Badge Decoration */
    .hero-badge {
      position: absolute;
      background: white;
      color: var(--primary-color);
      padding: 1rem 1.5rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.9rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      animation: badge-pulse 3s ease-in-out infinite;
      z-index: 4;
    }

    .badge-online {
      top: 20px;
      right: 20px;
    }

    .badge-support {
      bottom: 20px;
      left: 20px;
    }

    @keyframes badge-pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .hero-maintitle {
      font-size: clamp(3.0rem, 6.5vw, 5.0rem);
      font-weight: 1000;
      color: white;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      text-shadow: 0 4px 20px rgba(0,0,0,0.3);
      animation: fadeInUp 1s ease-out;
    }

    .hero-title {
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 900;
      color: white;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      text-shadow: 0 4px 20px rgba(0,0,0,0.3);
      animation: fadeInUp 1s ease-out;
    }

    .hero-subtitle {
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      color: rgba(255, 255, 255, 0.95);
      margin-bottom: 2.5rem;
      font-weight: 500;
      line-height: 1.8;
      animation: fadeInUp 1s ease-out 0.2s backwards;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-buttons {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      animation: fadeInUp 1s ease-out 0.4s backwards;
      margin-bottom: 3rem;
      justify-content: center;
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.2);
      color: white;
      padding: 1.2rem 3rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1.1rem;
      backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      transition: all 0.3s;
      text-decoration: none;
      display: inline-block;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-3px);
      color: white;
    }

    .btn-third-pg {
      background: rgba(255, 255, 255, 0.2);
      color: white;
      padding: 0.5rem 0.5rem;
      border-radius: 50px;
      font-weight: 200;
      font-size: 0.8rem;
      backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      transition: all 0.3s;
      text-decoration: none;
      display: inline-block;
    }

    .btn-third-pg:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-3px);
      color: white;
    }

    .hero-stats {
      display: flex;
      gap: 3rem;
      flex-wrap: wrap;
      animation: fadeInUp 1s ease-out 0.6s backwards;
    }

    .stat-item {
      text-align: left;
      color: white;
    }

    .stat-number {
      font-size: 2.5rem;
      font-weight: 900;
      display: block;
      margin-bottom: 0.5rem;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .stat-label {
      font-size: 0.95rem;
      opacity: 0.95;
    }

    /* Responsive Design for Hero */
    @media (max-width: 1024px) {
      .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .hero-text-section {
        text-align: center;
      }

      .hero-visual-section {
        height: 400px;
      }

      .floating-image-1 {
        width: 280px;
        height: 210px;
      }

      .floating-image-2 {
        width: 240px;
        height: 180px;
      }

      .floating-image-3 {
        width: 260px;
        height: 195px;
        left: 50px;
      }

      .hero-buttons {
        justify-content: center;
      }

      .hero-stats {
        justify-content: center;
      }

      .stat-item {
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .hero-visual-section {
        height: 350px;
      }

      .floating-image-1 {
        width: 220px;
        height: 165px;
        left: 10px;
      }

      .floating-image-2 {
        width: 200px;
        height: 150px;
        right: 10px;
      }

      .floating-image-3 {
        width: 210px;
        height: 158px;
        left: 30px;
        bottom: 20px;
      }

      .hero-badge {
        font-size: 0.75rem;
        padding: 0.75rem 1.25rem;
      }

      .hero-stats {
        gap: 2rem;
      }

      .stat-number {
        font-size: 2rem;
      }

      .shape-circle,
      .shape-square,
      .shape-triangle {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .hero-visual-section {
        height: 300px;
      }

      .floating-image-1 {
        width: 160px;
        height: 120px;
        top: 20px;
        left: 5px;
      }

      .floating-image-2 {
        width: 140px;
        height: 105px;
        top: 60px;
        right: 5px;
      }

      .floating-image-3 {
        width: 150px;
        height: 113px;
        left: 20px;
        bottom: 30px;
      }

      .hero-badge {
        display: none;
      }

      .btn-primary-pg,
      .btn-secondary,
      .btn-third-pg {
        width: 100%;
        text-align: center;
      }
    }

    /* ==================== Features Section ==================== */
    .features-section {
      padding: 8rem 2rem;
      background: var(--bg-light);
      position: relative;
    }

    .section-header {
      text-align: center;
      margin-bottom: 5rem;
    }

    .section-badge {
      display: inline-block;
      background: var(--gradient-primary);
      color: white;
      padding: 0.5rem 1.5rem;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 1rem;
      box-shadow: var(--shadow-md);
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 900;
      color: var(--text-dark);
      margin-bottom: 1rem;
    }

    .section-description {
      font-size: 1.2rem;
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
      max-width: 1280px;
      margin: 0 auto;
    }

    .feature-card {
      background: white;
      padding: 3rem 2rem;
      border-radius: 20px;
      box-shadow: var(--shadow-md);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      opacity: 0;
      transform: translateY(50px);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transition: transform 0.4s;
    }

    .feature-card:hover::before {
      transform: scaleX(1);
    }

    .feature-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-xl);
    }

    .feature-icon {
      width: 80px;
      height: 80px;
      background: var(--gradient-primary);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      color: white;
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow-lg);
    }

    .feature-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--text-dark);
    }

    .feature-description {
      color: var(--text-light);
      line-height: 1.8;
    }

    /* ==================== Trust Section ==================== */
    .trust-section {
      padding: 6rem 2rem;
      background: white;
    }

    .trust-badges {
      display: flex;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
      max-width: 1280px;
      margin: 0 auto;
    }

    .trust-badge {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.5rem 2rem;
      background: var(--bg-light);
      border-radius: 15px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s;
    }

    .trust-badge:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }

    .trust-icon {
      font-size: 2rem;
      color: var(--success-color);
    }

    .trust-text {
      font-weight: 600;
      color: var(--text-dark);
    }

    /* ==================== CTA Section ==================== */
    .cta-section {
      padding: 8rem 2rem;
      background: var(--gradient-primary);
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
      background-size: 50px 50px;
      animation: moveBackground 20s linear infinite;
    }

    @keyframes moveBackground {
      0% { transform: translate(0, 0); }
      100% { transform: translate(50px, 50px); }
    }

    .cta-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
    }

    .cta-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 900;
      margin-bottom: 1.5rem;
    }

    .cta-description {
      font-size: 1.3rem;
      margin-bottom: 3rem;
      opacity: 0.95;
    }

    /* ==================== Footer ==================== */
    .modern-footer {
      background: #000000;
      color: white;
      padding: 4rem 2rem 2rem;
    }

    .footer-content {
      max-width: 1280px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-section h5 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 0.8rem;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: white;
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .social-link {
      width: 45px;
      height: 45px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.3rem;
      transition: all 0.3s;
    }

    .social-link:hover {
      background: var(--primary-color);
      transform: translateY(-3px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.6);
    }

    /* ==================== Scroll Animations ==================== */
    .fade-in {
      opacity: 0;
      transform: translateY(50px);
      transition: all 0.8s ease-out;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .slide-in-left {
      opacity: 0;
      transform: translateX(-100px);
      transition: all 0.8s ease-out;
    }

    .slide-in-left.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .slide-in-right {
      opacity: 0;
      transform: translateX(100px);
      transition: all 0.8s ease-out;
    }

    .slide-in-right.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* ==================== Mobile Menu ==================== */
    .mobile-menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .mobile-menu-toggle span {
      width: 25px;
      height: 3px;
      background: var(--text-dark);
      transition: all 0.3s;
    }

    @media (max-width: 768px) {
      .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s;
      }

      .nav-menu.active {
        right: 0;
      }

      .mobile-menu-toggle {
        display: flex;
      }

      .hero-stats {
        gap: 2rem;
      }

      .stat-number {
        font-size: 2rem;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .trust-badges {
        flex-direction: column;
        align-items: stretch;
      }
    }

    /* スムーススクロール */
    html {
      scroll-behavior: smooth;
    }


/*----------------------------------
セクション　授業までの流れ　タイムライン
----------------------------------
*/

      /* timeline adjustments for readability */
      .timeline .timeline-content{background:#fff;border-radius:10px;padding:1rem;box-shadow:0 6px 18px rgba(16,24,40,0.04)}

      /* testimonials */
      .testimonials{background:linear-gradient(90deg,#ffffff,#f3f9ff);padding:3rem;border-radius:14px}

/*
*
* ==========================================
* タイムライン
* ==========================================
*
*/

.timeline-bg-white{
  margin-top:20px;
  background:#eee;
}

.timeline {
    position: relative;
    padding: 10px;
    margin: 0 auto;
    overflow: hidden;
    color: #ffffff;
}

.timeline:after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    border-right: 2px dashed #c4d2e2;
    height: 100%;
    display: block;
}

.timeline-row {
    padding-left: 50%;
    position: relative;
    margin-bottom: 30px;
}

.timeline-row .timeline-time {
    position: absolute;
    right: 50%;
    top: 31px;
    text-align: right;
    margin-right: 20px;
    color: #000000;
    font-size: 1.5rem;
}

.timeline-row .timeline-time small {
    display: block;
    font-size: .8rem;
    color: #8796af;
}

.timeline-row .timeline-content {
    position: relative;
    padding: 20px 30px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.timeline-row .timeline-content:after {
    content: "";
    position: absolute;
    top: 20px;
    height: 3px;
    width: 40px;
}

.timeline-row .timeline-content:before {
    content: "";
    position: absolute;
    top: 20px;
    right: -50px;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    z-index: 100;
    background: #ffffff;
    border: 2px dashed #c4d2e2;
}

.timeline-row .timeline-content h4 {
    margin: 0 0 20px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 150%;
}

.timeline-row .timeline-content p {
    margin-bottom: 30px;
    line-height: 150%;
}

.timeline-row .timeline-content i {
    font-size: 2rem;
    color: #ffffff;
    line-height: 100%;
    padding: 10px;
    border: 2px solid #ffffff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-row .timeline-content .thumbs {
    margin-bottom: 20px;
}

.timeline-row .timeline-content .thumbs img {
    margin-bottom: 10px;
}

.timeline-row:nth-child(even) .timeline-content {
    background-color: #ff5000;
    /* Fallback Color */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fc6d4c), to(#ff5000));
    /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #fc6d4c, #ff5000);
    /* Chrome 10+, Saf5.1+, iOS 5+ */
    background-image: -moz-linear-gradient(top, #fc6d4c, #ff5000);
    /* FF3.6 */
    background-image: -ms-linear-gradient(top, #fc6d4c, #ff5000);
    /* IE10 */
    background-image: -o-linear-gradient(top, #fc6d4c, #ff5000);
    /* Opera 11.10+ */
    background-image: linear-gradient(top, #fc6d4c, #ff5000);
    margin-left: 40px;
    text-align: left;
}

.timeline-row:nth-child(even) .timeline-content:after {
    left: -39px;
    border-right: 18px solid #ff5000;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-row:nth-child(even) .timeline-content:before {
    left: -50px;
    right: initial;
}

.timeline-row:nth-child(odd) {
    padding-left: 0;
    padding-right: 50%;
}

.timeline-row:nth-child(odd) .timeline-time {
    right: auto;
    left: 50%;
    text-align: left;
    margin-right: 0;
    margin-left: 20px;
}

.timeline-row:nth-child(odd) .timeline-content {
    background-color: #5a99ee;
    /* Fallback Color */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#1379bb), to(#5a99ee));
    /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #1379bb, #5a99ee);
    /* Chrome 10+, Saf5.1+, iOS 5+ */
    background-image: -moz-linear-gradient(top, #1379bb, #5a99ee);
    /* FF3.6 */
    background-image: -ms-linear-gradient(top, #1379bb, #5a99ee);
    /* IE10 */
    background-image: -o-linear-gradient(top, #1379bb, #5a99ee);
    /* Opera 11.10+ */
    background-image: linear-gradient(top, #1379bb, #5a99ee);
    margin-right: 40px;
    margin-left: 0;
    text-align: right;
}

.timeline-row:nth-child(odd) .timeline-content:after {
    right: -39px;
    border-left: 18px solid #1379bb;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

@media (max-width: 767px) {
    .timeline {
        padding: 15px 10px;
    }
    .timeline:after {
        left: 28px;
    }
    .timeline .timeline-row {
        padding-left: 0;
        margin-bottom: 16px;
    }
    .timeline .timeline-row .timeline-time {
        position: relative;
        right: auto;
        top: 0;
        text-align: left;
        margin: 0 0 6px 56px;
    }
    .timeline .timeline-row .timeline-time strong {
        display: inline-block;
        margin-right: 10px;
    }
    .timeline .timeline-row .timeline-icon {
        top: 52px;
        left: -2px;
        margin-left: 0;
    }
    .timeline .timeline-row .timeline-content {
        padding: 15px;
        margin-left: 56px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        position: relative;
    }
    .timeline .timeline-row .timeline-content:after {
        right: auto;
        left: -39px;
        top: 32px;
    }
    .timeline .timeline-row:nth-child(odd) {
        padding-right: 0;
    }
    .timeline .timeline-row:nth-child(odd) .timeline-time {
        position: relative;
        right: auto;
        left: auto;
        top: 0;
        text-align: left;
        margin: 0 0 6px 56px;
    }
    .timeline .timeline-row:nth-child(odd) .timeline-content {
        margin-right: 0;
        margin-left: 55px;
    }
    .timeline .timeline-row:nth-child(odd) .timeline-content:after {
        right: auto;
        left: -39px;
        top: 32px;
        border-right: 18px solid #5a99ee;
        border-left: inherit;
    }
    .timeline.animated .timeline-row:nth-child(odd) .timeline-content {
        left: 20px;
    }
    .timeline.animated .timeline-row.active:nth-child(odd) .timeline-content {
        left: 0;
    }
}


    /* AOS は優先して使うが、無い場合は .reveal-left を使って代替 */
    [data-aos="fade-left"]{opacity:0; transform:translateX(-28px); transition:opacity .7s ease, transform .7s ease;}
    [data-aos].aos-animate{opacity:1; transform:none;}
    /* ユーザーがモーションを避けたい場合に配慮 */
    @media (prefers-reduced-motion: reduce) {
      [data-aos="fade-left"]{transition:none; transform:none; opacity:1;}
    }
    .trust-badges img{opacity:.98}


/*----------------------------------------
料金プラン
----------------------------------------*/

/*料金選択*/

.plan-select-pg {
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: left;
    background: var(--light-bg);
}

.radio-button-pg {
    height: 22px;
    width: 22px;
    background-color: #eee;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.radio-button-pg:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.custom-radio-pg {
    display: inline-block;
    position: relative;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.custom-radio-pg input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio-pg:hover .radio-button-pg {
    background-color: #ccc;
}

.custom-radio-pg input:checked ~ .radio-button-pg {
    border-color: var(--primary);
    background-color: white;
}

.custom-radio-pg input:checked ~ .radio-button-pg:after {
    display: block;
}

.select-text-pg {
    margin-left: 10px;
    font-weight: 500;
    color: #555;
}


/* ヒーローセクション */
.hero-modern-pg {
  margin-top: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-modern-pg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.hero-content-pg {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-title-pg {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle-pg {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features-pg {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-feature-pg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.hero-feature-pg svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-color);
}

/* ポイント表示カード */
.points-card-pg {
  max-width: 600px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.points-label-pg {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.points-value-pg {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.points-login-prompt-pg {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.points-login-prompt-pg .btn-pg {
  margin: 10px 5px 0;
}

/* コンテナ */
.container-modern-pg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクションタイトル */
.section-title-pg {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-pg h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title-pg p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* コースカード */
.courses-section-pg {
  padding: 60px 0;
  background: white;
}

.courses-grid-pg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.course-card-pg {
  background: white;
  border-radius: 16px;
  padding: 30px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-card-pg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.course-card-pg:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.course-card-pg:hover::before {
  transform: scaleX(1);
}

.course-number-pg {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.course-title-pg {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.course-meta-pg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.course-price-pg {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.course-price-sub-pg {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 400;
}

.course-format-pg {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.course-description-pg {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* プランカード */
.pricing-section-pg {
  padding: 80px 0;
  background: var(--bg-light);
}

.pricing-grid-pg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.plan-card-modern-pg {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.plan-card-modern-pg.selected {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  transform: scale(1.03);
}

.plan-card-modern-pg:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.plan-badge-pg {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent-color);
  color: white;
  padding: 5px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.plan-name-pg {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.plan-points-pg {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.plan-price-pg {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.plan-features-pg {
  list-style: none;
  margin: 25px 0;
}

.plan-features-pg li {
  padding: 10px 0;
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--text-light);
}

.plan-features-pg li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.plan-input-group-pg {
  margin: 20px 0;
}

.plan-input-group-pg label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.plan-input-group-pg input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.plan-input-group-pg input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.radio-indicator-pg {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card-modern-pg.selected .radio-indicator-pg {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.plan-card-modern-pg.selected .radio-indicator-pg::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 700;
}

/* ボタン */
.btn-pg {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-pg {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary-pg:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline-pg {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-pg:hover {
  background: var(--primary-color);
  color: white;
}

.btn-large-pg {
  padding: 18px 40px;
  font-size: 1.125rem;
  width: 100%;
  max-width: 400px;
  margin: 30px auto 0;
  display: block;
}

/* 支払い方法 */
.payment-section-pg {
  padding: 60px 0;
  background: white;
}

.payment-methods-pg {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.payment-card-pg {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  min-width: 250px;
}

.payment-icon-pg {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

/* FAQ */
.faq-section-pg {
  padding: 60px 0;
  background: var(--bg-light);
}

.faq-item-pg {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question-pg {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-question-pg:hover {
  background: var(--bg-light);
}

.faq-icon-pg {
  transition: transform 0.3s ease;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-item-pg.active .faq-icon-pg {
  transform: rotate(45deg);
}

.faq-answer-pg {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 30px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item-pg.active .faq-answer-pg {
  max-height: 500px;
  padding: 0 30px 25px;
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 横スクロールコンテナ */
.scroll-container-pg {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-light);
  padding-bottom: 20px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.scroll-container-pg::-webkit-scrollbar {
  height: 8px;
}

.scroll-container-pg::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

.scroll-container-pg::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.scroll-hint-pg {
  display: none;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 15px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-modern-pg {
    padding: 60px 20px 40px;
  }
  
  .points-card-pg {
    margin: -30px 20px 40px;
  }
  
  .hero-features-pg {
    flex-direction: column;
    gap: 15px;
  }
  
  .course-meta-pg {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  
  /* スマホでは横スクロール */
  .courses-grid-pg,
  .pricing-grid-pg {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
  }
  
  .course-card-pg,
  .plan-card-modern-pg {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
  }
  
  .scroll-hint-pg {
    display: block;
  }
}

@media (max-width: 480px) {
  .points-value-pg {
    font-size: 2.5rem;
  }
  
  .plan-points-pg {
    font-size: 2rem;
  }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*----------------------------------------
料金プラン　ここまで
----------------------------------------*/
