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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
    background: #F5F39D;
    font-size: 16px;
}

/* アニメーション定義 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3), 0 0 40px rgba(78, 205, 196, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.5), 0 0 80px rgba(78, 205, 196, 0.4);
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

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

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

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

/* ヘッダー */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #FFE66D 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 5s ease infinite;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4, #FFE66D);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.logo:hover::after {
    transform: scaleX(1);
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #F5F39D;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 560px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 80px 30px 30px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    font-size: 1.3rem;
    text-align: left;
}


.nav.active {
    right: 0;
}

.nav a:hover {
    color: #FFE66D;
    background: rgba(255, 107, 107, 0.1);
}

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

.header-social-link {
    color: #ffffff;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 1rem 1.5rem;
}

.header-social-link:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.header-social-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.header-social-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E1306C 100%) !important;
}

.header-social-line {
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%) !important;
}

.cta-button {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    padding: 0.9rem 2rem !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* 右側固定縦型CTAボタン */
.vertical-cta-container {
    position: fixed;
    right: 30px;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

@media (max-width: 768px) {
    .vertical-cta-container {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem !important;
        font-weight: 700 !important;
        -webkit-text-stroke: 3px #000000 !important;
        text-stroke: 3px #000000 !important;
    }

    .hero-title span {
        padding-left: 10px !important;
    }

    .hero-slide {
        background-position: center !important;
    }

    .hero-slide-pc {
        display: none !important;
    }

    .hero-slide-mobile {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .logo {
        font-size: 0.85rem !important;
    }

    .hero {
        margin-top: 70px !important;
    }

    .hero-content {
        padding: 22vh 20px 0 10px !important;
    }

    .nav a {
        font-size: 1rem !important;
        padding: 1.2rem 0 !important;
    }

    .header-social-link {
        padding: 1rem 2rem 1rem 3rem !important;
        font-size: 1rem !important;
    }

    .header-social-link svg {
        width: 20px !important;
        height: 20px !important;
        margin-left: 1rem !important;
    }

    .social-label {
        font-size: 1rem !important;
    }

    .nav a.cta-button {
        font-size: 1rem !important;
        padding: 1rem 1.5rem !important;
    }
}

.vertical-cta-button {
    padding: 1.5rem 0.6rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.1em;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.vertical-cta-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    min-height: 200px;
}

.vertical-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.vertical-cta-secondary {
    background: transparent;
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 2px solid #ff6b6b;
    min-height: 150px;
}

.vertical-cta-secondary:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 107, 0.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.vertical-cta-text {
    font-size: 1.1rem;
}

.vertical-cta-price {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* メインビジュアル */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    max-height: 1200px;
    margin-top: 40px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    max-width: 100%;
    width: 100%;
    padding: 5vh 80px 0 8rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 6rem) !important;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: transparent !important;
    letter-spacing: -3px;
    -webkit-text-stroke: 3px #000000 !important;
    text-stroke: 3px #000000 !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 4px 30px rgba(255, 255, 255, 0.5);
    animation: fadeInScale 1s ease-out 0.4s both;
    padding-left: 0 !important;
}

.scrolling-text-container {
    position: fixed;
    right: 80px;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    pointer-events: none;
    transform: rotate(-90deg);
    transform-origin: top right;
}

.scrolling-text {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    margin: 0;
    display: block;
}

.scrolling-text:nth-child(2) {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: center;
    animation: fadeInScale 1s ease-out 0.8s both;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: clamp(0.8rem, 1.5vmin, 1.3rem) clamp(1.5rem, 3vmin, 3rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.2vmin, 1.05rem);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

/* ボタン内のインラインスタイルを上書き（全デバイス共通） */
.hero-button span span[style*="font-size"] {
    font-size: clamp(0.8rem, 1.5vmin, 1.1rem) !important;
}

.hero-button span span[style*="font-weight: 900"] {
    font-size: clamp(1rem, 2vmin, 1.5rem) !important;
}

.hero-button.primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.hero-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.6);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.button-arrow {
    transition: transform 0.3s;
}

.hero-button:hover .button-arrow {
    transform: translateX(5px);
}

.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 10;
}

.slider-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #FF6B6B;
    opacity: 0;
    animation: ripple 1s ease-out infinite;
}

.dot.active {
    background: #FF6B6B;
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
}

.dot.active::before {
    animation: none;
}

.dot:hover {
    background: rgba(255, 107, 107, 0.7);
    transform: scale(1.2);
}


/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #000000;
}

.title-badge {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #000000;
    margin-bottom: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #FF6B6B 0%, #4ECDC4 50%, #FFE66D 100%);
    border-radius: 3px;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, #FF6B6B 0%, #4ECDC4 50%, #FFE66D 100%);
    border-radius: 3px;
    opacity: 0.15;
}

/* 特徴セクション */
.features {
    padding: 60px 0 0;
    background: #F5F39D;
    position: relative;
}

.features .section-title {
    margin-bottom: 60px;
    color: #000000;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.features-item {
    width: 100%;
}

.features-item-inner {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #F5F39D;
}

.features-num-box {
    position: absolute;
    top: 80px;
    left: 10%;
    z-index: 10;
}

.features-num {
    display: block;
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Arial', sans-serif;
}

.features-num-txt {
    display: block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 10px;
    color: #000000;
    font-family: 'Arial', sans-serif;
}

.features-img-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.features-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 1025px) {
    .features-img {
        object-fit: cover;
    }

    .features-item:nth-child(3) .features-img {
        object-fit: contain;
    }
}

.features-txt-box {
    position: absolute;
    bottom: -20px;
    left: 5%;
    max-width: 40%;
    z-index: 5;
    background: transparent;
    padding: 30px;
    border-radius: 15px;
}

/* 02の部分は左右反転 */
.features-item:nth-child(2) .features-img-box {
    left: 0;
    right: auto;
}

.features-item:nth-child(2) .features-txt-box {
    left: auto;
    right: 5%;
    max-width: 40%;
}

.features-item:nth-child(2) .features-num-box {
    left: auto;
    right: 10%;
}

.features-item-ttl {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #000000;
}

.features-item-desc {
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.8;
    color: #000000;
}

/* クラス紹介 */
.classes {
    padding: 60px 20px;
    background: #F5F39D;
    position: relative;
}

.classes .section-title {
    color: #000000;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.class-card {
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.class-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

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

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-content {
    padding: 2.5rem;
}

.class-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

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

.class-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.class-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.class-card h3 {
    font-size: 2rem;
    margin-bottom: 0.7rem;
    color: #ffffff;
}

.class-genre {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.class-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.class-info {
    list-style: none;
    border-top: 2px solid #333333;
    padding-top: 1.2rem;
    margin-top: 1.5rem;
}

.class-info li {
    padding: 0.6rem 0;
    color: #cccccc;
    display: flex;
    align-items: center;
}

.class-info li::before {
    content: '✓';
    color: #4ECDC4;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* スケジュール */
.schedule {
    padding: 50px 20px;
    background: #F5F39D;
}

.schedule .section-title {
    color: #000000;
}

.schedule-table {
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.schedule-table th {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    color: white;
    padding: 1.2rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.schedule-table td {
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #333333;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: #ffffff;
}

.schedule-table td:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-hip-hop {
    background: rgba(255, 107, 107, 0.2);
    font-weight: bold;
    color: #FF6B6B;
}

.class-jazz {
    background: rgba(78, 205, 196, 0.2);
    color: #4ECDC4;
    font-weight: bold;
}

.class-lock {
    background: rgba(255, 230, 109, 0.2);
    font-weight: bold;
    color: #FFE66D;
}

.class-break {
    background: rgba(102, 126, 234, 0.2);
    font-weight: bold;
    color: #667eea;
}

.class-house {
    background: rgba(255, 142, 83, 0.2);
    font-weight: bold;
    color: #FF8E53;
}

.class-advanced {
    background: rgba(255, 107, 107, 0.3);
    font-weight: bold;
    color: #FF6B6B;
}

.class-choreography {
    background: rgba(78, 205, 196, 0.3);
    font-weight: bold;
    color: #4ECDC4;
}

/* 講師紹介 */
.instructors {
    padding: 60px 0;
    background: #F5F39D;
}

.instructors .section-title {
    color: #ffffff;
}

.instructors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.instructor-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    clip-path: ellipse(100% 100% at 50% 0%);
    transition: all 0.5s;
}

.instructor-card:hover::before {
    height: 170px;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}

.instructor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.2);
    background: #F5F39D;
    border-color: rgba(255, 107, 107, 0.3);
}

.instructor-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.instructor-photo {
    width: 180px;
    height: 180px;
    background: white;
    border: 5px solid white;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s;
    overflow: hidden;
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instructor-card:hover .instructor-photo {
    transform: scale(1.1) rotateZ(5deg);
}

.instructor-card:hover .instructor-photo img {
    transform: scale(1.15);
}

.instructor-card h3 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 900;
}

.instructor-genre {
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.instructor-bio {
    color: #cccccc;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.instructor-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.achievement {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s;
}

.achievement:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateX(5px);
}

/* ギャラリー */
.gallery {
    padding: 60px 20px;
    background: #F5F39D;
}

.gallery .section-title {
    color: #000000;
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #FF8E53, #4ECDC4);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4/3;
    cursor: pointer;
    min-width: 380px;
    max-width: 450px;
    height: auto;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
    .gallery-item:hover {
        box-shadow: 0 20px 60px rgba(255, 107, 107, 0.4);
    }

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

    .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-overlay p {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin: 0;
}


/* 生徒の声 */
.voices {
    padding: 60px 20px;
    background: #F5F39D;
}

.voices .section-title {
    color: #000000;
}

@media (min-width: 769px) {
    .voices-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .voices-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
}

.voice-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.voice-card::after {
    content: '詳しく見る →';
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    color: #FF6B6B;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voice-card:hover::after {
    opacity: 1;
}

.voice-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Georgia, serif;
    opacity: 0.15;
}

.voice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
    background: #F5F39D;
    border-color: rgba(255, 107, 107, 0.3);
}

.voice-rating {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.voice-text {
    color: #cccccc;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.voice-author {
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-align: right;
}

/* FAQ */
.faq {
    padding: 60px 20px;
    background: #F5F39D;
}

.faq .section-title {
    color: #000000;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.faq-item:hover {
    border-color: rgba(255, 107, 107, 0.5);
    background: #222222;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 2rem;
    cursor: pointer;
    position: relative;
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FF6B6B;
    transition: all 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(255, 107, 107, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 2rem 7.5rem;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.9;
    margin: 0;
}

/* アクセス */
.access {
    padding: 60px 20px;
    background: #F5F39D;
}

.access .section-title {
    color: #000000;
}

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

.access-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.access-info p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: #000000;
}

.access-map {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.access-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.7), rgba(78, 205, 196, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.map-overlay span {
    font-size: 4rem;
}

.map-overlay p {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.access-map:hover img {
    transform: scale(1.1);
}

.access-map:hover .map-overlay {
    opacity: 1;
}

.access-map:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
}

/* お問い合わせ */
.contact {
    padding: 60px 20px;
    background: #F5F39D;
    position: relative;
    overflow: hidden;
}

.contact .section-title {
    color: #000000;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05), transparent);
    border-radius: 50%;
}

.contact-description {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: bold;
    color: #ffffff;
    font-size: 1.05rem;
}

.required {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-left: 0.3rem;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333333;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: #0a0a0a;
    color: #ffffff;
}

.form-group select {
    font-size: 20px;
}

.form-group select option {
    font-size: 20px !important;
    padding: 1rem;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
    background: #F5F39D;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.radio-option {
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    background: #0a0a0a;
    border: 2px solid #333333;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
    color: #cccccc;
}

.radio-option:hover {
    background: #111111;
    border-color: rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.radio-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FF6B6B;
}

.radio-option:has(input[type="radio"]:checked) {
    background: rgba(255, 107, 107, 0.15);
    border-color: #FF6B6B;
    color: #FF6B6B;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    background-size: 200% 200%;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 400px;
    height: 400px;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-top: 2px solid rgba(255, 107, 107, 0.2);
    padding: 0;
    z-index: 1000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    display: none;
}

@media (max-width: 1024px) {
    .fixed-cta {
        display: block;
    }
}

.fixed-cta-container {
    max-width: 100%;
    margin: 0 auto;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.fixed-cta-btn {
    padding: 1rem 1rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.fixed-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.fixed-cta-btn:hover::before {
    width: 400px;
    height: 400px;
}

.fixed-cta-btn:hover {
    transform: translateY(-5px);
}

.fixed-cta-btn.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E1306C 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(131, 58, 180, 0.3);
}

.fixed-cta-btn.instagram:hover {
    box-shadow: 0 10px 35px rgba(131, 58, 180, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.fixed-cta-btn.line {
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(6, 199, 85, 0.3);
}

.fixed-cta-btn.line:hover {
    box-shadow: 0 10px 35px rgba(6, 199, 85, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.fixed-cta-btn.contact {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.fixed-cta-btn.contact:hover {
    box-shadow: 0 10px 35px rgba(255, 107, 107, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.fixed-cta-icon {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.fixed-cta-text {
    position: relative;
    z-index: 1;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    padding: 3rem 0 6rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* スワイプ可能なグリッド（モバイル専用） */
@media (max-width: 1024px) {
    .swipeable {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1.5rem;
        padding-bottom: 1rem;
    }

    .swipeable::-webkit-scrollbar {
        display: none;
    }

    .swipeable > * {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    .instructors-grid.swipeable > * {
        flex: 0 0 90%;
    }

    .gallery-grid.swipeable {
        flex-direction: row;
    }

    .gallery-grid.swipeable > * {
        flex: 0 0 85%;
        min-width: 320px;
        max-width: 380px;
        height: auto;
    }

    .gallery-item {
        min-width: 320px;
        max-width: 380px;
        height: auto;
    }

    .voices-grid.swipeable > * {
        flex: 0 0 85%;
    }

    .classes-grid.swipeable > * {
        flex: 0 0 85%;
    }

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

/* レスポンシブ */
@media (max-width: 1024px) {
    .header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        text-align: left;
    }

    .header-social {
        display: none;
    }

    .nav a.cta-button {
        margin-top: 10px;
        padding: 1rem;
        text-align: center;
        border: 2px solid;
        border-radius: 8px;
    }

    .hero {
        height: 65vh;
    }

    .hero-title {
        font-size: 4.5rem;
        letter-spacing: -2px;
        padding-left: 0;
        text-align: left;
        line-height: 0.9;
    }

    .hero-title span:first-of-type {
        padding-left: 2rem !important;
    }

    .hero-title span:last-of-type {
        padding-left: 4rem !important;
    }

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

    .hero-content {
        position: static;
        padding: 25vh 20px 0 10px !important;
        align-items: flex-start;
        text-align: left;
    }

    .hero-buttons {
        position: absolute;
        bottom: 80px;
        right: 20px;
        flex-direction: row;
        gap: 0.8rem;
        z-index: 10;
    }

    .hero-buttons {
        display: none;
    }

    .hero-button {
        display: none;
    }

    .slider-controls {
        bottom: 140px;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
    }

    .slider-dots {
        display: none;
    }

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

    .title-badge {
        font-size: 0.75rem;
    }

    /* 縦型CTAボタン - タブレット対応 */
    .vertical-cta-container {
        right: 20px;
    }

    .vertical-cta-button {
        padding: 1.2rem 0.8rem;
    }

    .vertical-cta-text {
        font-size: 1rem;
    }

    .vertical-cta-price {
        font-size: 0.85rem;
    }

    .features-item-inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .features-num-box {
        position: relative;
        top: auto;
        left: auto;
        padding: 20px 5%;
        order: 1;
    }

    .features-num {
        font-size: 80px;
    }

    .features-num-txt {
        font-size: 18px;
    }

    .features-img-box {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        top: auto;
        right: auto;
        left: auto;
        order: 2;
    }

    .features-txt-box {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: 100%;
        margin: 0;
        padding: 30px 5%;
        background: transparent;
        border-radius: 0;
        order: 3;
    }

    .features-item-ttl {
        font-size: 24px;
        color: #000000;
    }

    .features-item-desc {
        font-size: 14px;
        color: #000000;
    }

    /* 02の部分もモバイルでは通常表示 */
    .features-item:nth-child(2) .features-img-box {
        left: auto;
        right: auto;
        width: 100%;
        position: relative;
    }

    .features-item:nth-child(2) .features-txt-box {
        left: auto;
        right: auto;
        max-width: 100%;
        position: relative;
    }

    .features-item:nth-child(2) .features-num-box {
        left: auto;
        right: auto;
        position: relative;
    }

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

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

    .classes-grid,
    .voices-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .instructor-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .contact-description {
        font-size: 0.85rem;
    }

    .rental-description {
        font-size: 0.85rem !important;
    }

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

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

    .form-group label {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 16px;
    }

    .form-group select {
        padding: 0.8rem;
        font-size: 20px;
        line-height: 1.5;
    }

    .form-group select option {
        font-size: 20px !important;
        line-height: 2 !important;
    }

    .radio-option {
        padding: 0.9rem 0.8rem;
    }

    .hero-button {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
    }

    .schedule-table {
        font-size: 0.85rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-table table {
        min-width: 600px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }


    .faq-question {
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }

    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 4.5rem;
    }

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

    .radio-option {
        padding: 1rem;
    }
}

@media (max-width: 1024px) {
    .fixed-cta {
        padding: 0;
    }

    .fixed-cta-container {
        display: grid;
        gap: 0;
    }

    .fixed-cta-btn {
        padding: 0.4rem 0.3rem;
        font-size: 0.75rem;
        border-radius: 0;
        border: none;
    }

    .fixed-cta-icon {
        font-size: 1.1rem;
    }

    .fixed-cta-text {
        font-size: 0.65rem;
    }

    .footer {
        padding: 3rem 0 6rem 0;
    }

    .footer p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 4rem;
        letter-spacing: -2px;
    }

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

    .hero-button {
        width: 110px;
        height: 110px;
        font-size: 0.95rem;
    }

    .hero-button span {
        max-width: none;
        white-space: nowrap;
    }

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

    .class-card {
        padding: 0;
        margin: 0 auto;
        max-width: 90%;
    }

    .instructor-card {
        padding: 1.5rem 1rem;
        margin: 0 auto;
        max-width: 90%;
        height: 460px;
    }

    .instructor-bio {
        font-size: 12px;
    }

    .voice-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 90%;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .voice-card:active {
        transform: scale(0.98);
    }

    .voice-card::after {
        display: none;
    }

    .class-card h3 {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
    }

    .class-genre {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        padding-left: 0.5rem;
    }

    .class-description {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .class-info {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .class-info li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .class-badge {
        display: none;
    }

    /* 縦型CTAボタン - スマートフォン対応 */
    .vertical-cta-container {
        right: 10px;
    }

    .vertical-cta-button {
        padding: 1rem 0.6rem;
    }

    .vertical-cta-text {
        font-size: 0.9rem;
    }

    .vertical-cta-price {
        font-size: 0.75rem;
    }

    .class-content {
        padding: 2rem 1.5rem;
    }

    .class-image {
        height: 220px;
    }

    .features-num {
        font-size: 60px;
    }

    .features-num-txt {
        font-size: 16px;
    }

    .features-item-ttl {
        font-size: 20px;
    }

    .features-item-desc {
        font-size: 13px;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.6rem 0.3rem;
        font-size: 0.7rem;
    }

    .access-map {
        height: 300px;
    }

    .gallery-item {
        min-width: 280px;
        max-width: 320px;
        height: auto;
    }

    .gallery-grid.swipeable > * {
        min-width: 280px;
        max-width: 320px;
        height: auto;
    }
}

@media (min-width: 1400px) {
    .instructors-grid {
        gap: 2.5rem;
    }
}
