/* Festa Music Salon CSS — uses @layer */

@layer reset, base, layout, components, sections, pages, utilities;

@layer reset {
  .main-nav .nav-button-item a::after {
    content: none;
  }

  .main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
  }

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

  .about-text h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .about-text h4::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
  }

  .why-festa-item::before {
    content: "0" counter(list-item);
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    color: var(--white-color);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.4s ease-out;
  }

  .why-festa-item:hover::before {
    transform: scale(1.1);
  }

  .why-festa-item:nth-child(1)::before {
    background-color: var(--primary-light-color);
  }

  .why-festa-item:nth-child(2)::before {
    background-color: var(--primary-light-color);
  }

  .why-festa-item:nth-child(3)::before {
    background-color: var(--primary-light-color);
  }

  .why-festa-item:nth-child(4)::before {
    background-color: var(--primary-light-color);
  }

  .why-festa-item:nth-child(5)::before {
    background-color: var(--primary-light-color);
  }

  .why-festa-item::after {
    content: none;
  }

  .course-content h3::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
  }

  .course-content h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    background-color: var(--support-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
  }

  .feature-list-cards li::after {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: -10px;
    right: 5px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    transform: rotate(-20deg);
  }

  .feature-list-cards li::before {
    content: none;
  }

  .plan-card .plan-header h4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
  }

  .plan-card .plan-header h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: var(--support-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
  }

  .plan-card:nth-of-type(2) .plan-header h4::before {
    background-color: var(--secondary-color);
  }

  .plan-card:nth-of-type(2) .plan-header h4::after {
    background-color: var(--primary-color);
  }

  .plan-card .plan li::before {
    content: "※";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
  }

  .hero-live-events::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }

  .faq-question::before {
    content: "Q";
    font-weight: bold;
    color: var(--primary-dark-color);
    margin-right: 10px;
    font-size: 1.5em;
    line-height: 1;
    display: inline-block;
  }

  .faq-answer::before {
    content: "A";
    font-weight: bold;
    color: var(--dark---primary-dark-color);
    margin-right: 10px;
    font-size: 1.5em;
    line-height: 1;
    display: inline-block;
  }

  .flow-steps-list::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 62px;
    width: 2px;
    height: calc(100% - 80px);
    background: repeating-linear-gradient(transparent,
      transparent 4px,
      var(--border-color) 4px,
      var(--border-color) 8px);
    z-index: 0;
  }

  .live-events-subtitle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-dark-color);
    border-radius: 2px;
  }

  .live-events-flow-horizontal>li:not(:last-child)::after {
    content: "▶";
    position: absolute;
    right: calc(-65px + (40px / 2));
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-dark-color);
    font-size: 1.5rem;
    z-index: 0;
    width: auto;
    height: auto;
    background: none;
    border: none;
  }

  .live-events-flow-horizontal>li:not(:last-child)::before {
    content: none;
  }

  .flow-step .step-icon::before {
    counter-increment: flow-step-counter;
    content: counter(flow-step-counter);
  }

  .flow-step::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-light-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
    transform: scale(0);
    transition: transform 0.4s ease-out;
  }

  .flow-step:nth-child(2)::before {
    background-color: var(--secondary-color);
  }

  .flow-step:nth-child(3)::before {
    background-color: #ffd700;
  }

  .flow-step:nth-child(4)::before {
    background-color: #ff69b4;
  }

  .flow-step:nth-child(5)::before {
    background-color: #adff2f;
  }

  .flow-step:hover::before {
    transform: scale(2);
  }

  .philosophy-content .bg.is-animated .quote .bg-wrap::before {
    animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    background: linear-gradient(to right,
      var(--primary-color) 0%,
      var(--primary-light-color) 50%,
      #42d3ed 100%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    z-index: 0;
  }

  section.has-wave::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1200\" height=\"70\" viewBox=\"0 0 1200 70\" preserveAspectRatio=\"none\"><path d=\"M0,40 C150,60 300,10 450,30 C600,50 750,10 900,35 C1050,60 1150,20 1200,35 L1200,70 L0,70 Z\" fill=\"%23000\"/></svg>") center/100% 100% repeat-x;
    mask: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1200\" height=\"70\" viewBox=\"0 0 1200 70\" preserveAspectRatio=\"none\"><path d=\"M0,40 C150,60 300,10 450,30 C600,50 750,10 900,35 C1050,60 1150,20 1200,35 L1200,70 L0,70 Z\" fill=\"%23000\"/></svg>") center/100% 100% repeat-x;
    background: linear-gradient(90deg,
      transparent,
      rgba(231, 65, 113, 0.55),
      rgba(122, 90, 240, 0.55),
      transparent);
    opacity: 0.7;
    transform-origin: center bottom;
    animation: wave-y calc(var(--beat) * 8) ease-in-out infinite,
    wave-scroll 20s linear infinite;
    z-index: 1;
  }

  .section-title .main-title::after,
.subsection-title .main-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), #ff5c8a);
    animation: titleSlide 1.6s ease-out forwards;
  }

  @media (max-width: 768px) {

    .main-nav ul li a::after {
      display: none;
    }

    .why-festa-item::before {
      width: 80px;
      height: 80px;
      top: -20px;
      right: -20px;
      font-size: 1.8rem;
    }

    .feature-list-cards li::after {
      font-size: 3rem;
    }

    .flow-steps-list::before {
      left: 42px;
    }

    .live-events-flow-horizontal>li:not(:last-child)::after {
      content: none;
    }

    .live-events-flow-horizontal>li:not(:last-child)::before {
      content: none;
    }

    .flow-step::before {
      font-size: 5rem;
      transform: translate(-5%, -5%);
    }

  }

  @media (prefers-reduced-motion: reduce) {

    .breathing-bg::before,
  section.has-wave::after,
  .music-note {
      animation: none !important;
    }

  }
}

@layer base {
  :root {
    --primary-color: #1d4ed8;
    --primary-dark-color: #0f3cad;
    --primary-light-color: #93c5fd;
    --secondary-color: #e63946;
    --accent-color: #facc15;
    --support-color: #4caf50;
    --text-color: #222;
    --light-text-color: #666;
    --white-color: #fff;
    --black-color: #000;
    --bg-color: #f8fafc;
    --gray-bg: #f5f5f5;
    --border-color: #e5e7eb;
    --accent-gradient: linear-gradient(135deg, #e63946, #1d4ed8);
    --error-color: #e74c3c;
    --font-heading: "メイリオ", sans-serif;
    --font-body: "Noto Sans JP", sans-serif;
  }

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

  body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
  }

  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  p {
    margin-bottom: 1rem;
  }

  :root {
    --beat: 0.625s;
  }

  @media (max-width: 768px) {

    h1 {
      font-size: 2.2rem;
    }

    h2 {
      font-size: 1.8rem;
    }

    h3 {
      font-size: 1.5rem;
    }

  }
}

@layer layout {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
  }

  .section-title .main-title {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  .section-title .sub-title {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 1px;
  }

  .section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .header {
    background-color: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

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

  .plan-card .plan-header {
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
  }

  .plan-card .plan-header h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.6rem;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
    min-height: 100px;
    text-align: center;
  }

  .cta-section .section-title {
    color: var(--white-color);
    margin-bottom: 25px;
  }

  .footer {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 60px 0 40px;
    font-size: 0.9rem;
  }

  .footer .container,
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-brand-info {
    flex: 1 1 auto;
    min-width: 280px;
    max-width: 350px;
  }

  .footer-brand-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white-color);
  }

  .footer-brand-info p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--white-color);
    font-weight: bold;
    margin-bottom: 20px;
  }

  .footer-nav,
.footer-social {
    flex: 1 1 auto;
    min-width: 150px;
  }

  .footer-nav h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
  }

  .footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
  }

  .footer-nav li,
.footer-social li {
    margin-bottom: 10px;
  }

  .footer-nav a,
.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
  }

  .footer-nav a:hover,
.footer-social a:hover {
    color: var(--white-color);
  }

  .footer-social ul {
    display: flex;
    gap: 15px;
  }

  .footer-social .fab {
    font-size: 1.5rem;
  }

  .live-events .section-description {
    text-align: left;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
  }

  .live-events .section-description {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title .main-title,
.subsection-title .main-title {
    position: relative;
    display: inline-block;
  }

  .live-events-card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--primary-dark-color);
    font-size: 1.5rem;
  }

  @media (max-width: 992px) {

    .plan-card .plan-header h4 {
      font-size: 1.2rem;
    }

  }

  @media (max-width: 768px) {

    .section-description {
      max-width: 100%;
      padding: 0 20px;
      font-size: 0.95rem;
    }

    .footer .container,
  .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .footer-social ul {
      justify-content: center;
    }

  }
}

@layer components {
  a:hover {
    color: var(--primary-dark-color);
  }

  h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-color);
  }

  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
  }

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

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

  .dot-loader>div {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: dot-bounce 1.4s infinite ease-in-out both;
  }

  .dot-loader>div:nth-child(1) {
    animation-delay: -0.32s;
  }

  .dot-loader>div:nth-child(2) {
    animation-delay: -0.16s;
  }

  .dot-loader>div:nth-child(3) {
    animation-delay: 0s;
  }

  .subsection-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
  }

  .subsection-title .main-title {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  .subsection-title .sub-title {
    font-size: 1.2rem;
    color: var(--light-text-color);
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 1px;
  }

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

  .btn-hero-cta {
    background-color: #e74171;
    color: var(--white-color);
    border: 2px solid #e74171;
    padding: 15px 35px;
    font-size: 1.25rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
    letter-spacing: 0.05em;
    display: inline-block;
    margin-top: 30px;
    font-weight: bold;
    text-shadow: none;
  }

  .btn-hero-cta:hover {
    color: var(--white-color);
    border-color: #e74171;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
    filter: brightness(0.9);
  }

  .main-nav .btn-hero-cta {
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: none;
  }

  .main-nav .btn-hero-cta:hover {
    transform: none;
    box-shadow: none;
  }

  .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    padding: 5px 0;
    transition: color 0.3s ease;
    text-align: left;
    line-height: 1.2;
  }

  .main-nav a small {
    display: block;
    font-size: 0.7em;
    font-weight: 400;
    color: #666;
    text-align: left;
    margin-top: 2px;
  }

  .main-nav .nav-button-item {
    margin-left: 20px;
  }

  .main-nav .nav-button-item a {
    background-color: var(--primary-color);
    border-radius: 50px;
    color: var(--white-color);
    text-align: center;
    white-space: normal;
    min-width: 10px;
    box-sizing: border-box;
    margin: 10px auto 10px auto;
    width: 150%;
  }

  .main-nav .nav-button-item a:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white-color);
  }

  .main-nav .nav-button-item a small {
    display: block;
    color: var(--white-color);
    text-align: center;
    font-size: 0.7em;
    line-height: 1.2;
    margin-top: 2px;
  }

  .btn-white {
    font-size: 1.4rem;
    font-weight: bold;
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--white-color);
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
  }

  .btn-white:hover {
    background-color: transparent;
    color: var(--white-color);
    transform: translateY(-3px);
  }

  .btn-primary {
    font-size: 1.2rem;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
  }

  .btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    filter: brightness(1.1) saturate(1.2);
  }

  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: var(--font-heading);
  }

  .logo a {
    color: var(--primary-color);
    text-decoration: none;
  }

  .site-logo-img {
    height: 50px;
    width: auto;
    display: block;
  }

  .logo a:hover .site-logo-img {
    opacity: 0.8;
  }

  .main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
  }

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

  .main-nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    line-height: 1.3;
    text-align: left;
  }

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

  .main-nav ul li a small {
    display: block;
    font-size: 0.75rem;
    color: var(--light-text-color);
    margin-top: 2px;
    font-weight: 400;
  }

  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
  }

  .menu-toggle,
.close-menu,
.overlay {
    display: none;
  }

  .hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
  }

  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .slide.active {
    opacity: 1;
    z-index: 1;
  }

  .hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
  }

  .hero-content {
    position: absolute;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    z-index: 3;
    max-width: 800px;
    width: min(92%, 920px);
    padding: 20px;
    text-align: center;
  }

  .hero-content h1 {
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  }

  .hero-content h2,
.hero-content .hero-slide-title {
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  }

  .hero-content p {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  }

  .slider-nav button {
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white-color);
    border: none;
    padding: 15px 20px;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease,
    transform 0.3s ease;
    outline: none;
    display: none;
  }

  .slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
  }

  .slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-inline: 12px;
    z-index: 6;
    pointer-events: auto;
  }

  .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.25s ease,
    transform 0.25s ease;
  }

  .dot:hover {
    transform: scale(1.15);
  }

  .dot.active {
    background-color: #e74171;
    transform: scale(1.3);
  }

  .about-section {
    padding: 80px 0;
    background-color: var(--white-color);
  }

  .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
    margin-bottom: 0px;
  }

  .about-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }

  .about-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #1d4ed8, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: none;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
    position: relative;
  }

  .about-text p {
    color: #3d3d3d;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.2em;
    text-align: left;
  }

  .about-text span {
    background: linear-gradient(to top,
      transparent 25%,
      #d7e5ff 25%,
      #d7e5ff 75%,
      transparent 75%);
    font-weight: 700;
  }

  .about-text h4 {
    color: var(--primary-dark-color);
    font-weight: 700;
    position: relative;
    padding-left: 45px;
    margin: 30px 0 15px;
    font-size: 1.2rem;
    text-align: left;
  }

  .why-festa-section {
    margin-top: 80px;
    text-align: center;
  }

  .why-festa-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    counter-reset: list-item;
    max-width: 1200px;
    margin: 0 auto;
  }

  .why-festa-item {
    flex: 1 1 320px;
    max-width: 380px;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    counter-increment: list-item;
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
  }

  .why-festa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .why-festa-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    padding-top: 10px;
    margin: 0;
  }

  .message-from-top {
    background-color: var(--gray-bg);
    padding: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .top-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
  }

  .top-image {
    flex-shrink: 0;
    width: 500px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
  }

  .top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .top-text {
    flex-grow: 1;
  }

  .message-from-top p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text-color);
    margin-bottom: 1.5em;
    text-align: left;
  }

  .message-from-top p:last-of-type {
    margin-bottom: 0;
  }

  .top-signature {
    text-align: right;
    font-weight: bold;
    color: var(--primary-dark-color);
    margin-top: 30px;
    font-size: 1rem;
  }

  .scroll-indicator-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    margin: 50px auto;
    position: relative;
    width: 200px;
  }

  .scroll-indicator-horizontal .scroll-text {
    font-family: "Josefin Sans", sans-serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--text-color);
    margin-right: 15px;
    text-transform: uppercase;
  }

  .scroll-indicator-horizontal .scroll-line {
    position: relative;
    width: 80px;
    height: 2px;
    background: var(--text-color);
    border-radius: 1px;
  }

  .scroll-indicator-horizontal .scroll-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    animation: move-dot-horizontal 1.6s ease-in-out infinite,
    fade-dot-horizontal 1.6s ease-out infinite;
  }

  .courses-section {
    padding: 80px 0;
    background: linear-gradient(to right, #f0f0ff, #e0e0f8);
  }

  .course-tabs {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    background-color: var(--gray-bg);
    padding: 8px;
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
  }

  .tab-button {
    background-color: transparent;
    color: var(--light-text-color);
    border: none;
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: none;
  }

  .tab-button:hover {
    color: var(--text-color);
  }

  .tab-button.active {
    background-color: var(--white-color);
    color: var(--primary-dark-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
  }

  .tab-content-wrapper {
    position: relative;
  }

  .tab-content {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .tab-content.active {
    display: block;
    opacity: 1;
    position: static;
    animation: fadeIn 0.5s forwards;
  }

  .white-box {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
  }

  .white-box p {
    padding-top: 20px;
    text-align: center;
  }

  .course-item {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    border-radius: 12px;
  }

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

  .course-content h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding: 20px;
    z-index: 1;
  }

  .course-content h4,
.course-content .course-lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.8;
    text-align: center;
  }

  .course-text {
    flex-grow: 1;
    padding: 10px 0;
    text-align: center;
  }

  .course-text h3,
.course-text h4 {
    color: var(--primary-dark-color);
    font-size: 1.3rem;
    margin-top: 1em;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary-light-color);
    display: inline-block;
    line-height: 1.3;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-family: var(--font-heading);
  }

  .feature-list-cards {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .feature-list-cards li {
    background: linear-gradient(135deg, #dfd8ff, #d7e5ff);
    color: var(--primary-dark-color);
    border-radius: 12px;
    padding: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(93, 59, 184, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
  }

  .feature-list-cards li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(93, 59, 184, 0.15);
  }

  .lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0;
  }

  .lesson-grid-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .lesson-grid-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  .price-section {
    padding: 80px 0;
    text-align: center;
  }

  .price-section .pre-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  .price-initial-offers {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
  }

  .price-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
  }

  .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .price-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
  }

  .price-card .price-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1;
    display: block;
  }

  .price-card .price-value span {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--light-text-color);
  }

  .price-card .card-description {
    font-size: 0.95rem;
    color: var(--light-text-color);
    margin-bottom: 30px;
    min-height: 50px;
  }

  .price-monthly-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
  }

  .plan-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
  }

  .plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .price-option {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: var(--white-color);
    transition: all 0.3s ease;
  }

  .plan-card .plan-duration {
    font-size: 0.95rem;
    color: var(--light-text-color);
  }

  .plan-card .plan {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
  }

  .plan-card .plan li {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    list-style: none;
    padding-left: 1.2em;
  }

  .plan-card .plan-prices {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .plan-card .price-option {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 15px;
    background-color: var(--gray-bg);
    border-radius: 5px;
  }

  .plan-card .plan-count {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
  }

  .plan-card .plan-cost {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
  }

  .plan-card .plan-cost small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--light-text-color);
    margin-left: 5px;
  }

  .live-lesson-cta {
    text-align: center;
    margin-top: 40px;
  }

  .hero-subpage {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/band/band1.jpg") no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 120px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
  }

  .hero-subpage-content h2 {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }

  .hero-subpage-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
  }

  .sns-link-area {
    margin-bottom: 40px;
    padding: 20px;
  }

  .highlight-hashtag {
    color: var(--primary-color);
    font-weight: bold;
  }

  .cta-section {
    background: linear-gradient(90deg, #93c5fd, #1d4ed8);
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
  }

  .cta-section p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
  }

  .instructors-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
  }

  .faq-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
  }

  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
  }

  .faq-item {
    background-color: var(--gray-bg);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-question {
    display: flex;
    align-items: center;
    font-weight: 700;
    padding: 18px 25px;
    font-size: 1.05rem;
    color: var(--text-color);
    cursor: pointer;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s ease;
    margin-bottom: 0;
  }

  .faq-question:hover {
    background-color: #f8f8f8;
  }

  .faq-question i {
    font-size: 0.9rem;
    margin-left: auto;
    color: var(--primary-dark-color);
    transition: transform 0.3s ease;
  }

  .faq-item.active .faq-question {
    background-color: #f0f0f0;
  }

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

  .faq-answer {
    padding: 0 25px;
    font-size: 0.95rem;
    color: var(--light-text-color);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out,
    opacity 0.4s ease-out,
    padding 0.4s ease-out;
    display: flex;
    align-items: flex-start;
  }

  .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 25px 25px;
    opacity: 1;
  }

  .access-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .access-map {
    flex: 2;
    min-width: 300px;
  }

  .access-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .access-info {
    flex: 1;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-width: 300px;
  }

  .access-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-light-color);
    padding-bottom: 10px;
  }

  .access-info p {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
  }

  .access-info p .fas {
    font-size: 1.3rem;
    color: var(--primary-light-color);
    margin-right: 15px;
    flex-shrink: 0;
  }

  .access-info .small-text {
    font-size: 0.9rem;
    color: var(--light-text-color);
    margin-top: 20px;
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
  }

  .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .notes-block {
    list-style: none;
    text-align: center;
  }

  .notes-block h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .trial-lesson-cta {
    text-align: center;
    margin: 50px 0 50px;
  }

  .br-sp {
    display: none;
  }

  .br-pc {
    display: block;
  }

  .voice-section {
    padding: 80px 0;
    overflow: hidden;
  }

  .voice-cards-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 30px;
    margin: 0 -30px;
  }

  .voice-cards-wrapper::-webkit-scrollbar {
    display: none;
  }

  .voice-card {
    width: 350px;
    flex-shrink: 0;
    background-color: var(--gray-bg);
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    scroll-snap-align: start;
    min-height: 490px;
    transition: background-color 0.3s ease;
  }

  .voice-card .voice-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .voice-card .voice-tag {
    display: inline-block;
    background-color: var(--primary-dark-color);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    width: fit-content;
  }

  .voice-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    min-height: 54px;
  }

  .voice-card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
    flex-shrink: 0;
    border-radius: 10px;
  }

  .voice-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }

  .voice-info {
    margin-bottom: 0;
  }

  .voice-meta {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 700;
  }

  .voice-quote {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    flex-grow: 1;
    white-space: normal;
    word-wrap: break-word;
    margin-bottom: 0;
  }

  .voice-card.active .voice-toggle-btn .fa-chevron-down {
    transform: rotate(180deg);
  }

  .member-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding-bottom: 30px;
    align-items: center;
    text-align: center;
    overflow: hidden;
  }

  .member-img-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .member-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .member-card.member-detail-card {
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    padding: 0 0 30px;
  }

  .member-card.member-detail-card h3,
.member-card.member-detail-card h4 {
    padding: 20px 0 10px;
    width: 100%;
    text-align: center;
  }

  .member-instrument {
    padding: 5px 0 5px;
    width: 90%;
    text-align: center;
    background-color: var(--primary-dark-color);
    color: var(--white-color);
    font-weight: 700;
    border-radius: 15px;
    margin-bottom: 10px;
    display: block;
    align-self: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .member-social {
    width: 100%;
    text-align: center;
  }

  .member-social a {
    font-size: 1.8rem;
    margin: 0 8px;
    color: #000;
    filter: grayscale(100%);
    transition: color 0.3s ease,
    filter 0.3s ease;
  }

  .member-social a:hover {
    color: var(--primary-color);
    filter: grayscale(0%);
  }

  .member-profile {
    margin-top: 0;
    padding: 0 30px 30px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
    text-align: left;
    width: 100%;
    word-wrap: break-word;
  }

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

  .member-description .bio-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    margin-top 0.6s ease;
    text-align: left;
  }

  .member-description.expanded .bio-text {
    max-height: 1000px;
    margin-top: 20px;
  }

  .voice-toggle-btn,
.member-description .read-more-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 20px auto 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    text-transform: none;
    letter-spacing: normal;
  }

  .voice-toggle-btn:hover,
.member-description .read-more-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
  }

  .voice-toggle-btn .fa-chevron-down,
.member-description .read-more-btn .fa-chevron-down {
    transition: transform 0.3s ease;
  }

  .voice-card.active .voice-toggle-btn .fa-chevron-down {
    transform: rotate(180deg);
  }

  .calendar {
    position: relative;
    width: 100%;
    margin: 0 auto 30px auto;
    border-radius: 10px;
  }

  .calendar iframe {
    border: none;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .copyright {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
  }

  .video-responsive {
    position: relative;
    width: 50%;
    padding-bottom: 28.125%;
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    padding: 0 10px;
  }

  .service-item {
    background-color: var(--gray-bg);
    border-radius: 10px;
    padding: 20px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
  }

  .service-item h3 {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .trial-flow-container {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px 40px;
    margin: 40px auto 60px;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .trial-flow-container h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .flow-steps-list {
    position: relative;
    padding-left: 20px;
  }

  .flow-step-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 25px;
  }

  .step-number-wrapper {
    flex-shrink: 0;
    z-index: 1;
  }

  .step-number {
    width: 85px;
    height: 85px;
    background: var(--primary-light-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    border: 5px solid var(--white-color);
    box-shadow: 0 0 0 2px var(--primary-light-color);
  }

  .step-number span {
    font-size: 2.2rem;
    font-family: var(--font-heading);
  }

  .step-content {
    margin-left: 25px;
    padding-top: 15px;
  }

  .step-content h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
  }

  .step-content p {
    font-size: 0.95rem;
    color: var(--light-text-color);
    line-height: 1.7;
  }

  .live-events {
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 0;
  }

  .liveevent-item {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
  }

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

  .live-events-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark-color);
    margin-bottom: 40px;
    font-family: var(--font-body);
    position: relative;
    padding-bottom: 15px;
    padding-top: 40px;
  }

  .live-events-flow-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
  }

  .live-events-flow-wrapper::-webkit-scrollbar {
    display: none;
  }

  .live-events-flow-wrapper::-webkit-scrollbar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
  }

  .live-events-flow-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--primary-dark-color);
    border-radius: 4px;
  }

  .live-events-flow-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    counter-reset: step-counter;
    align-items: stretch;
  }

  .live-events-flow-horizontal>li {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
  }

  .live-lesson-cta {
    text-align: center;
    margin-top: 40px;
  }

  .event-flow {
    background-color: var(--gray-bg);
  }

  .event-flow h3 {
    text-align: center;
  }

  .flow-steps {
    counter-reset: flow-step-counter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

  .flow-step {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease,
    box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
  }

  .flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .flow-step .step-icon {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-light-color);
    opacity: 0.08;
    line-height: 1;
    z-index: 0;
    transform: translate(-10%, -10%);
  }

  .flow-step .flow-image {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .flow-step h3 {
    color: var(--primary-dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
  }

  .flow-step p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
  }

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

  .event-philosophy .philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .event-philosophy .quote {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(var(--primary-color-rgb), 0.05);
    text-align: center;
  }

  .event-philosophy p {
    margin-bottom: 1em;
  }

  .philosophy-content .quote .bg-wrap {
    position: relative;
    display: inline-block;
    margin-top: 5px;
  }

  .philosophy-content .quote .bg-wrap .inn {
    color: var(--white-color);
    display: inline-block;
    font-size: 36px;
    font-weight: bold;
    padding: 5px 10px;
    position: relative;
    z-index: 1;
  }

  .liveevent-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
  }

  .liveevent-content-image {
    flex: 0 0 auto;
    max-width: 40%;
    text-align: center;
  }

  .liveevent-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
  }

  .liveevent-text {
    text-align: center;
    flex: 1;
    min-width: 300px;
  }

  .liveevent-text h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark-color);
    margin-bottom: 30px;
    line-height: 1.4;
  }

  .liveevent-text p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
  }

  .liveevent-text p span {
    font-weight: 700;
    font-size: 1.1em;
  }

  .lesson-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .lesson-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

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

  .tab-content {
    display: none;
    opacity: 0;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .tab-content.active {
    display: block;
    opacity: 1;
  }

  .courses-section .pre-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  .tab-content-wrapper {
    position: relative;
    min-height: 400px;
  }

  .courses-section {
    color: var(--text-color) !important;
  }

  section.has-wave {
    overflow: visible;
  }

  .hero-section .music-notes {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
  }

  .music-note {
    position: absolute;
    bottom: -10vh;
    color: #fff;
    opacity: 0;
    font-size: clamp(14px, 2.2vw, 28px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    animation: note-float var(--note-dur, 6s) linear forwards;
  }

  .main-nav .nav-member-only a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
  }

  .main-nav .nav-member-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .main-nav .nav-member-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
  }

  .main-nav .nav-member-text small {
    color: inherit;
    opacity: 0.85;
  }

  .main-nav .nav-member-only a {
    background: #fff;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.12);
  }

  .main-nav .nav-member-only a small {
    color: inherit;
    opacity: 0.85;
  }

  .main-nav .nav-member-only .nav-member-icon svg {
    fill: currentColor;
  }

  .main-nav .nav-member-only a:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 26px rgba(29, 78, 216, 0.28);
  }

  .main-nav .nav-member-only a {
    transition: background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  }

  .main-nav .nav-member-only a:hover {
    transform: translateY(-2px);
  }

  .main-nav ul {
    gap: 18px;
  }

  .main-nav ul li {
    margin-left: 0;
  }

  .main-nav .nav-button-item {
    margin-left: 0;
  }

  .main-nav .nav-button-item a {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 10px 14px;
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .cta-section .cta-description {
    color: rgba(255, 255, 255, 0.88);
    margin: 18px auto 30px;
    max-width: 900px;
    line-height: 1.8;
  }

  .cta-section .live-events-card {
    color: var(--text-color);
    text-align: left;
  }

  .cta-section .live-events-card p,
.cta-section .live-events-card figcaption {
    max-width: none;
    margin: 0 0 16px;
  }

  .cta-section .live-events-card figcaption {
    margin: 10px 0 0;
  }

  .live-events-card figure {
    margin: 0;
  }

  .live-events-media-link {
    display: block;
    color: inherit;
  }

  .live-events-media-frame {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white-color);
  }

  .live-events-media-frame--paper {
    height: 560px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
  }

  .live-events-media-frame--paper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    background: var(--white-color);
  }

  .live-events-media-frame--photo {
    height: 560px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
  }

  .live-events-media-frame--photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    background: var(--white-color);
  }

  .cta-section .live-events-extra-grid {
    margin-top: 24px;
  }

  .live-events-extra-grid .live-events-photo img {
    width: 100%;
    display: block;
  }

  .live-events-extra {
    background-color: var(--bg-color);
  }

  .live-events-extra-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: stretch;
    margin-top: 28px;
  }

  .live-events-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 26px;
  }

  .live-events-card figure {
    margin: 0;
  }

  .live-events-card-desc {
    margin: 0 0 16px;
    color: var(--text-color);
    line-height: 1.7;
  }

  .live-events-photo {
    margin: 0;
  }

  .live-events-photo figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--light-text-color);
    line-height: 1.6;
    text-align: center;
  }

  .live-events-paper-link {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .live-events-paper-link .live-events-photo {
    cursor: zoom-in;
  }

  .lb {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
  }

  .lb:target {
    display: block;
  }

  .lb__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: zoom-out;
  }

  .lb__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
  }

  .lb__content img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    background: #000;
    pointer-events: auto;
  }

  .lb__close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    border: none;
    background: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
  }

  .cta-flow-title {
    margin: 22px 0 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--white-color);
  }

  .cta-section .flow-step .step-icon {
    opacity: 0.24;
    color: var(--primary-color);
  }

  .cta-section .flow-step h3 {
    font-size: 1.15rem;
  }

  .hero-content .hero-slide-title {
    margin-top: 0.83em;
  }

  .course-content .course-lead {
    font-weight: 700;
  }

  .cta-section .flow-step {
    justify-content: center;
  }

  .cta-section .flow-step h3 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .cta-section .flow-step .step-icon {
    z-index: 0;
  }

  .cta-section .flow-step {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-section .flow-step h3 {
    margin: 0;
  }

  .hero-content .hero-slide-title {
    font-family: var(--font-heading) !important;
    font-weight: inherit;
  }

  .lb__content img {
    width: auto !important;
    height: auto !important;
    max-width: min(92vw, 1100px) !important;
    max-height: 88vh !important;
    object-fit: contain !important;
  }

  .hero-content p.hero-slide-title {
    font-family: var(--font-heading) !important;
    font-weight: 700;
  }

  .instructors-category-title {
    margin-top: 35px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark-color);
  }

  .instructor-gallery {
    margin: 18px 0 26px;
  }

  .instructor-gallery-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .instructor-gallery-track {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 0;
    width: max-content;
  }

  .instructor-gallery-track img {
    height: clamp(170px, 18vw, 250px);
    width: auto;
    flex: 0 0 auto;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    box-shadow: none;
  }

  .instructors-note {
    display: block;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--light-text-color);
    margin: 18px auto 22px;
    padding: 0 16px;
    max-width: 980px;
  }

  @media (max-width: 1100px) {

    .main-nav .nav-button-item a small {
      display: none;
    }

  }

  @media (max-width: 992px) {

    .hero-section {
      height: 80vh;
    }

    .hero-content h1 {
      font-size: 3.5rem;
    }

    .hero-content h2,
  .hero-content .hero-slide-title {
      font-size: 3.5rem;
    }

    .hero-content p {
      font-size: 1.3rem;
    }

    .btn-hero-cta {
      padding: 12px 30px;
      font-size: 1.2rem;
    }

    .about-content {
      flex-direction: column;
      text-align: center;
      gap: 30px;
    }

    .about-text h3 {
      font-size: 2rem;
    }

    .courses-section {
      padding: 60px 0;
    }

    .tab-buttons {
      gap: 10px;
      margin-bottom: 30px;
    }

    .tab-button {
      padding: 12px 20px;
      font-size: 1rem;
    }

    .tab-content-wrapper {
      padding: 0px;
      min-height: 350px;
    }

    .course-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }

    .course-text p,
  .course-text ul li {
      font-size: 0.95rem;
    }

    .course-text h3,
  .course-text h4 {
      font-size: 1rem;
    }

    .price-section {
      padding: 60px 0;
    }

    .price-initial-offers {
      flex-direction: row;
      gap: 15px;
    }

    .price-initial-offers .price-card {
      flex: 1 1 45%;
      min-width: 0;
      padding: 20px;
    }

    .price-initial-offers .price-card h3 {
      font-size: 0.8rem;
    }

    .price-initial-offers .price-card .price-value {
      font-size: 1.5rem;
    }

    .price-card h3 {
      font-size: 1.2rem;
    }

    .price-initial-offers .price-value span {
      font-size: 0.9rem;
    }

    .voice-card {
      width: 300px;
      margin-right: 25px;
      padding: 20px;
    }

    .voice-card-title {
      font-size: 1.2rem;
    }

    .voice-quote {
      font-size: 0.85rem;
    }

    .hero-subpage {
      min-height: 300px;
      padding: 100px 20px;
    }

    .hero-subpage-content h2 {
      font-size: 2.8rem;
    }

    .access-content {
      flex-direction: column;
    }

  }

  @media (min-width: 768px) and (max-width: 991px) {

    .cta-section .flow-steps {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

  }

  @media (max-width: 768px) {

    .menu-toggle {
      display: block;
    }

    .main-nav {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background-color: var(--white-color);
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      z-index: 9999;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding-top: 60px;
      align-items: center;
      padding-bottom: 32px;
    }

    .main-nav.active {
      transform: translateX(0);
    }

    .main-nav ul {
      list-style: none;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 100%;
      padding: 0;
      margin: 0;
    }

    .main-nav ul li {
      text-align: center;
      width: 100%;
      padding: 0;
      margin: 0;
    }

    .main-nav ul li:last-child {
      margin-bottom: 0;
    }

    .main-nav ul li a {
      display: block;
      font-size: 1rem;
      color: var(--text-color);
      text-align: center;
    }

    .main-nav ul li a br {
      display: none;
    }

    .main-nav ul li a:hover {
      background-color: var(--gray-bg);
    }

    .main-nav ul li a small {
      text-align: center;
      font-size: 0.7rem;
    }

    .close-menu {
      display: block;
      position: absolute;
      top: 15px;
      right: 20px;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--text-color);
      cursor: pointer;
      z-index: 10000;
    }

    .close-menu i {
      color: var(--primary-color);
    }

    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 9998;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease,
      visibility 0.4s ease;
    }

    .overlay.active {
      display: block;
      opacity: 1;
      visibility: visible;
    }

    .why-festa-item {
      flex-basis: 100%;
      padding: 25px;
    }

    .why-festa-item h4 {
      font-size: 1rem;
    }

    .feature-list-cards {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      width: 100%;
    }

    .feature-list-cards li {
      padding: 15px;
      font-size: 0.9rem;
    }

    .course-content h3 {
      font-size: 1.5rem;
    }

    .course-content h4,
  .course-content .course-lead {
      font-size: 1rem;
    }

    .course-text h3,
  .course-text h4 {
      font-size: 1.5rem;
    }

    .course-text p,
  .course-text ul li {
      font-size: 0.9rem;
    }

    .course-item {
      padding: 5px;
      gap: 15px;
    }

    .white-box {
      padding: 10px;
      margin-bottom: 10px;
    }

    .lesson-grid-item img {
      height: 200px;
    }

    .lesson-grid {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
      gap: 15px;
      padding: 0 20px;
      margin: 0 10px;
    }

    .lesson-grid-item {
      flex: 0 0 100%;
      scroll-snap-align: start;
    }

    .lesson-grid::-webkit-scrollbar {
      display: none;
    }

    .lesson-grid {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    .sns-link-area {
      margin-bottom: 40px;
      padding: 15px;
    }

    .sns-link-area p {
      font-size: 1rem;
      margin-bottom: 15px;
    }

    .sns-link-area .btn {
      font-size: 1.2rem;
      padding: 12px 20px;
    }

    .cta-section h2 {
      font-size: 1.4rem;
      margin: 0 auto 40px;
      line-height: 1.8;
    }

    .cta-section p {
      font-size: 1rem;
    }

    .cta-section h4 {
      font-size: 2rem;
      margin: 0 auto 40px;
      line-height: 1.8;
    }

    .trial-lesson-cta .btn {
      font-size: 1.2rem;
    }

    .notes-block h4 {
      font-size: 1rem;
    }

    .br-sp {
      display: block;
    }

    .br-pc {
      display: none;
    }

    .voice-card {
      min-height: 0;
      width: calc(100vw - 60px);
      max-width: 320px;
    }

    .voice-card-title {
      min-height: 0;
    }

    .voice-cards-wrapper {
      gap: 20px;
      padding: 0 20px;
      margin: 0 -20px;
    }

    .btn-hero-cta {
      width: 92%;
      max-width: 360px;
      padding: 12px 22px;
      font-size: clamp(14px, 4vw, 16px);
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 24px auto 0;
      line-height: 1.2;
      letter-spacing: 0.02em;
    }

    .btn-white {
      margin: 10px 0;
      width: 100%;
      display: block;
      border-radius: 50px;
    }

    .hero-section {
      min-height: 300px;
      padding: 60px 20px;
    }

    .hero-content h1 {
      font-size: 2.8rem;
    }

    .hero-content h2,
  .hero-content .hero-slide-title {
      font-size: 2.8rem;
    }

    .hero-content p {
      font-size: 1.1rem;
    }

    .about-section {
      padding: 60px 0;
    }

    .about-text h3 {
      font-size: 1.1rem;
    }

    .message-from-top {
      padding: 25px;
    }

    .tab-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .tab-button {
      width: 100%;
    }

    .price-monthly-plans {
      grid-template-columns: 1fr;
    }

    .faq-question {
      font-size: 0.95rem;
    }

    .faq-answer {
      font-size: 0.85rem;
    }

    .voice-card {
      width: 280px;
      margin-right: 20px;
      padding: 18px;
    }

    .voice-card-title {
      font-size: 1.1rem;
    }

    .voice-quote {
      font-size: 0.8rem;
    }

    .top-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .top-image {
      width: 100%;
      max-width: 350px;
      margin-bottom: 20px;
    }

    .top-text {
      width: 100%;
    }

    .video-responsive {
      width: 100%;
      padding-bottom: 56.25%;
    }

    .services-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .service-item {
      padding: 5px;
    }

    .service-icon {
      font-size: 1.5rem;
      margin-bottom: 5px;
    }

    .service-item h3 {
      font-size: 0.8rem;
    }

    .trial-flow-container {
      padding: 25px 20px;
    }

    .trial-flow-container h3 {
      font-size: 1.5rem;
    }

    .flow-steps-list {
      padding-left: 0;
    }

    .step-number {
      width: 70px;
      height: 70px;
    }

    .step-number span {
      font-size: 1.8rem;
    }

    .step-content {
      margin-left: 15px;
      padding-top: 5px;
    }

    .step-content h4 {
      font-size: 1.1rem;
    }

    .step-content p {
      font-size: 0.9rem;
    }

    .live-lesson-cta .btn {
      font-size: 1.2rem;
      padding: 12px 20px;
    }

    .liveevent-text h3 {
      font-size: 2rem;
      text-align: center;
    }

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

    .live-events-flow-horizontal {
      gap: 20px;
    }

    .live-events-flow-horizontal>li {
      width: 280px;
    }

    .flow-steps {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 25px;
    }

    .flow-steps {
      grid-template-columns: 1fr;
      gap: 25px;
    }

    .flow-step {
      padding: 25px;
    }

    .flow-step .step-icon {
      font-size: 3rem;
    }

    .flow-step .flow-image {
      width: 100%;
    }

    .flow-step h3 {
      font-size: 1.1rem;
    }

    .event-philosophy .quote {
      font-size: 1.5rem;
    }

    .event-philosophy .philosophy-content {
      font-size: 1rem;
    }

    .past-events-grid {
      grid-template-columns: 1fr;
    }

    .event-info h3 {
      font-size: 1.4rem;
    }

    .event-detail-btn {
      width: 100%;
      text-align: center;
    }

    .philosophy-content .quote {
      padding: 20px 0;
      text-align: center;
    }

    .bg .quote .bg-wrap .inn {
      font-size: 1.4rem;
    }

    .flow-steps {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .flow-step .step-icon {
      padding: 20px;
    }

    .liveevent-content-image {
      max-width: 100%;
      height: auto;
      text-align: center;
      border-radius: 10px;
    }

    .main-nav .nav-button-item a {
      max-width: 360px;
      margin: 10px auto !important;
      box-sizing: border-box;
    }

    .main-nav .nav-button-item a small {
      display: block !important;
      font-size: 0.78em;
      line-height: 1.2;
      opacity: 0.9;
    }

    .main-nav .nav-member-only a {
      justify-content: center;
      gap: 10px;
      text-align: center;
    }

    .main-nav .nav-member-text {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .main-nav .nav-member-text small {
      display: block !important;
    }

    .main-nav .nav-button-item:last-of-type {
      margin-bottom: 24px;
    }

    .live-events-media-frame--paper {
      height: 380px;
      padding: 12px;
    }

    .live-events-media-frame--photo {
      height: auto;
      padding: 12px;
      display: block;
    }

    .live-events-media-frame--photo img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .cta-flow-title {
      font-size: 1.2rem;
    }

    .cta-section .flow-step h3 {
      font-size: 1.05rem;
    }

    .main-nav {
      height: 100vh;
      height: 100dvh;
      max-height: 100dvh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      padding-top: calc(52px + env(safe-area-inset-top));
      padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .main-nav ul li a {
      line-height: 1.25;
      padding: 10px 0;
    }

    .main-nav ul li a small {
      margin-top: 1px;
      line-height: 1.15;
    }

    .main-nav .nav-button-item a {
      margin: 6px auto !important;
    }

    .close-menu {
      top: calc(15px + env(safe-area-inset-top));
    }

    .cta-section .flow-step {
      padding: 28px 26px;
      padding-right: 118px;
      min-height: 130px;
      display: flex;
      align-items: center;
    }

    .cta-section .flow-step h3 {
      margin: 0;
      font-size: 1.35rem;
    }

    .cta-section .flow-step .step-icon {
      top: 50%;
      left: auto;
      right: 22px;
      transform: translateY(-50%);
      font-size: 7.2rem;
      opacity: 0.1;
      pointer-events: none;
    }

    .main-nav {
      padding-top: calc(48px + env(safe-area-inset-top));
      padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .main-nav ul {
      gap: 6px;
    }

    .main-nav ul li a {
      padding: 8px 0;
      line-height: 1.2;
    }

    .main-nav ul li a small {
      margin-top: 0;
      line-height: 1.1;
    }

    .main-nav .nav-button-item a {
      margin: 4px auto !important;
    }

    .cta-section .flow-step {
      justify-content: center;
    }

    .cta-section .flow-step h3 {
      width: 100%;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .cta-section .flow-step .step-icon {
      z-index: 0;
    }

    .cta-section .flow-step h3 {
      font-size: 1.15rem;
    }

    .cta-section .flow-step {
      padding-left: 118px;
    }

    .cta-section .flow-steps {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .cta-section .flow-step {
      padding: 22px 18px;
      min-height: 120px;
    }

    .cta-section .flow-step .step-icon {
      font-size: 6.2rem;
      opacity: 0.1;
      transform: translate(-8%, -10%);
    }

    .lb__content {
      padding: 16px;
    }

    .lb__content img {
      max-width: 92vw !important;
      max-height: 82vh !important;
    }

    .cta-section .flow-steps {
      grid-template-columns: 1fr;
      gap: 22px;
    }

    .cta-section .flow-step {
      padding: 28px 26px;
      padding-right: 118px;
      min-height: 130px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .cta-section .flow-step h3 {
      margin: 0;
      width: 100%;
      text-align: left;
    }

    .cta-section .flow-step .step-icon {
      top: 50%;
      left: auto;
      right: 22px;
      transform: translateY(-50%);
      opacity: 0.1;
      pointer-events: none;
    }

    .instructors-category-title {
      font-size: 1.2rem;
      margin-top: 28px;
      margin-bottom: 14px;
    }

    .instructor-gallery {
      margin: 16px 0 22px;
    }

    .instructor-gallery-track {
      gap: 12px;
    }

    .instructor-gallery-track img {
      height: clamp(130px, 34vw, 180px);
      border-radius: 14px;
    }

    .instructors-note {
      font-size: 0.9rem;
      margin: 16px auto 18px;
    }

  }

  @media (max-width: 768px) and (max-height: 740px) {

    .main-nav {
      padding-top: calc(60px + env(safe-area-inset-top));
      padding-bottom: calc(24px + env(safe-area-inset-bottom));
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .main-nav ul li a {
      padding: 10px 0;
    }

    .main-nav ul li a br {
      display: none;
    }

    .main-nav ul li a small {
      display: block;
      font-size: 0.65rem;
      line-height: 1.2;
      margin-top: 2px;
    }

  }

  @media (max-width: 767px) {

    .cta-section .flow-steps {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
    }

  }

  @media (max-width: 600px) {

    .tab-buttons {
      flex-direction: column;
      background-color: transparent;
      border-radius: 0;
      padding: 0;
      gap: 12px;
      max-width: 100%;
    }

    .tab-button {
      width: 100%;
      background-color: var(--gray-bg);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .tab-button.active {
      background-color: var(--primary-dark-color);
      color: var(--white-color);
      box-shadow: 0 4px 12px rgba(93, 59, 184, 0.3);
    }

  }

  @media (max-width: 360px) {

    .cta-section .flow-step {
      padding-right: 100px;
    }

    .cta-section .flow-step .step-icon {
      right: 16px;
      font-size: 6.6rem;
    }

    .cta-section .flow-step {
      padding-left: 100px;
    }

    .cta-section .flow-steps {
      gap: 14px;
    }

    .cta-section .flow-step {
      padding: 20px 16px;
      min-height: 112px;
    }

    .cta-section .flow-step .step-icon {
      font-size: 5.8rem;
    }

    .cta-section .flow-step {
      padding-right: 100px;
    }

    .cta-section .flow-step .step-icon {
      right: 16px;
    }

  }

  @media (min-width: 768px) {

    .live-events-extra-grid {
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

  }

  @media (min-width: 992px) {

    .cta-section .flow-steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

  }

  @media (prefers-reduced-motion: reduce) {

    .instructor-gallery-viewport {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .instructor-gallery-viewport::-webkit-scrollbar {
      display: none;
    }

  }
}

@layer sections {
  #live-events .main-title {
    font-size: 3rem;
    color: var(--white-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  #live-events .sub-title {
    font-size: 1.2rem;
    color: var(--white-color);
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 1px;
  }

  #band-member-section {
    padding-bottom: 0px;
  }

  #triallesson {
    padding: 80px 0;
    background-color: var(--primary-dark-color);
  }

  #triallesson .main-title {
    color: var(--white-color);
  }

  #triallesson .sub-title {
    color: var(--white-color);
  }

  #youtube-section {
    background-color: var(--gray-bg);
    padding: 50px 0;
    text-align: center;
  }

  #live-events .main-title {
    font-size: 3rem;
    color: var(--white-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  #live-events .sub-title {
    font-size: 1.2rem;
    color: var(--white-color);
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 1px;
  }

  #live-events .trial-lesson-cta {
    margin: 22px 0 26px;
  }

  #live-events .course-text h3 {
    margin: 12px 0 14px;
  }

  #live-events .live-event-desc {
    margin: 14px 0 18px;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
  }

  @media (max-width: 768px) {

    #triallesson .main-title,
  #courses .main-title {
      font-size: 2rem;
    }

    #triallesson .sub-title,
  #courses .sub-title {
      font-size: 1rem;
    }

  }
}

@layer pages {
  .hero-live-events {
    background-image: url("../img/live/joy3.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero-live-events .hero-subpage-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
  }

  .hero-live-events h1 {
    font-size: 3.8rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease-out;
  }

  .hero-live-events p {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: auto;
    margin: 0 auto;
  }

  @media (max-width: 992px) {

    .members-section {
      padding: 60px 0;
    }

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

  }

  @media (max-width: 768px) {

    .members-grid {
      grid-template-columns: 1fr;
      max-width: 350px;
    }

    .hero-live-events h1 {
      font-size: 2.8rem;
    }

    .hero-live-events p {
      font-size: 1.1rem;
    }

    .hero-live-events {
      min-height: 300px;
      padding: 60px 20px;
    }

    .hero-live-events h1 {
      font-size: 2.8rem;
    }

    .hero-live-events p {
      font-size: 1.1rem;
    }

  }

  @media (min-width: 993px) {

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

    .members-grid--instructors>.member-card:only-child {
      grid-column: 2;
    }

  }

  @media (min-width: 1200px) {

    .members-grid--band {
      grid-template-columns: repeat(5, 1fr);
    }

  }
}

@layer utilities {
  .section-padding {
    padding: 80px 0;
  }

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

  /* Utility: force white text (used in CTA titles, etc.) */
  .white-text {
    color: var(--white-color);
  }

  /* Utility: footer headings should always be white */
  .footer h3,
  .footer h4 {
    color: var(--white-color);
  }

  @media (max-width: 480px) {
    #price-live .course-text h3 {
      font-size: 1.1rem;
    }
  }

  .loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  @keyframes dot-bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

  @keyframes move-dot-horizontal {
  0% {
    left: -5px;
  }

  100% {
    left: calc(100% - 5px);
  }
}

  @keyframes fade-dot-horizontal {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

  @keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  @keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }

  30% {
    transform: scaleX(1) translateX(0);
  }

  100% {
    transform: scaleX(1) translateX(0);
  }

  30%,
  100% {
    opacity: 1;
  }
}

  @keyframes wave-y {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }

  100% {
    transform: translateY(0);
  }
}

  @keyframes wave-scroll {
  from {
    background-position: -30% 0;
  }

  to {
    background-position: 130% 0;
  }
}

  @keyframes note-float {
  0% {
    transform: translateY(0) rotate(var(--rot, -8deg));
    opacity: 0;
  }

  8% {
    opacity: 0.85;
  }

  70% {
    opacity: 0.85;
  }

  100% {
    transform: translateY(-110vh) rotate(calc(var(--rot, -8deg) * -1));
    opacity: 0;
  }
}

  @keyframes titleSlide {
  to {
    width: 100%;
  }
}
}
