/* テーマ色（共通：変更時はここだけ編集） */
:root {
    --color-primary: #667eea;
    --color-primary-rgb: 102, 126, 234;
    --color-secondary: #764ba2;
    --color-secondary-rgb: 118, 75, 162;
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    overflow-x: hidden;
    background: #fafbfc;
}

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

/* ヘッダー */
.header .container {
    padding-left: 16px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.95) 0%, rgba(var(--color-secondary-rgb), 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.15rem 0;
}

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

.nav-logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    opacity: 0.8;
}

.header-logo-img {
    display: block;
    height: 80px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    opacity: 0.9;
}

/* ヘッダー「お問い合わせ」＝フッターと同様の赤いCTA */
.nav-menu a.nav-cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.4);
}
.nav-menu a.nav-cta::after {
    display: none;
}
.nav-menu a.nav-cta:hover {
    opacity: 1;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.5);
    transform: translateY(-1px);
}

/* お知らせプルダウン */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* お知らせのラベル部分にホバーで下線アニメーション（講師・レッスンプランと同じ） */
.nav-dropdown-toggle-text {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle-text::after {
    width: 100%;
}

/* 詳細度を .nav-menu a::after より高くして下三角を確実に表示 */
.nav-menu .nav-dropdown .nav-dropdown-toggle::after {
    content: '▼';
    position: static;
    width: auto;
    height: auto;
    bottom: auto;
    left: auto;
    background: none;
    font-size: 0.55em;
    opacity: 0.95;
    margin-left: 0.25em;
    vertical-align: 0.15em;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 180px;
    list-style: none;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: #2c3e50;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav-dropdown-menu a::after {
    display: none;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), url('../images/hero/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    color: white;
    padding: 180px 40px 160px;
    text-align: center;
    min-height: 600px;
    display: flex;
    margin-top: 80px;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 18px 48px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
}

.hero-values {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-value-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-value-icon {
    font-size: 2rem;
    display: block;
}

.hero-value-text {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    color: white;
}

/* お知らせ */
.announcement {
    padding: 120px 40px 100px;
    background: #ffffff;
    margin-top: 80px;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-banner {
    background: white;
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 16px 64px rgba(255, 107, 107, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.announcement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f, #ff6b6b);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

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

.announcement-content {
    position: relative;
    z-index: 1;
}

.announcement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

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

.announcement-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.announcement-text {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 2rem 0;
}

.trial-session {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #f0f0f0;
}

.trial-title {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.trial-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-top: 1.5rem;
}

.trial-detail-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
}

.trial-detail-item strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.trial-detail-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.trial-detail-item .address {
    font-size: 0.95rem;
    color: #888;
    margin-top: 0.5rem;
}

.announcement-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin: 1.5rem 0;
}

.announcement-detail-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.announcement-detail-item strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.announcement-detail-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* セクション共通 */
section {
    padding: 100px 40px;
}

section:first-of-type {
    margin-top: 80px;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-title.is-collapsible {
    cursor: pointer;
    user-select: none;
    padding-right: 44px; /* 右側に矢印スペース */
}

.section-title.is-collapsible::before {
    content: '▾';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(102, 126, 234, 0.9);
    transition: transform 0.2s ease;
}

.section.section-collapsed .section-title.is-collapsible::before,
section.section-collapsed .section-title.is-collapsible::before {
    transform: translateY(-50%) rotate(-90deg);
}

.section-collapsible {
    overflow: hidden;
    height: auto;
    opacity: 1;
}

.section-collapsible.section-collapsible--ready {
    transition: height 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
    will-change: height;
}

section.section-collapsed .section-collapsible {
    height: 0;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .section-collapsible.section-collapsible--ready {
        transition: none;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 1.5rem auto 0;
    border-radius: 3px;
}

/* プロモーション動画（スクールセクション内） */
.promo-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 1.5rem auto 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16 / 9;
}

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

.promo-video-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* スクール */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #2c3e50;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-divider {
    margin: 4rem 0 2rem;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

.about-subsection-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.about-subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.about-card:hover {
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.about-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.about-card-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-align: center;
}

.about-card-text {
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
    flex: 1;
}

.about-card-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: rgba(102, 126, 234, 0.2);
}

.about-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.about-card-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    color: #4a5568;
    line-height: 1.7;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    font-size: 1rem;
}

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

.about-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-card-note {
    margin: 0;
    font-size: 1rem;
    color: #667eea;
    font-weight: 500;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.about-cta {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
}

.about-cta-link {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5);
}

/* レッスン */
.lesson-info {
    text-align: center;
    margin-bottom: 4rem;
}

.lesson-target {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 4rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
}

.lesson-target:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35);
}

.lesson-target strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lesson-target p {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.school-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 5px solid #667eea;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.school-card:hover {
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.school-name-block {
    text-align: center;
    margin-bottom: 2rem;
    min-height: 7em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.school-name-block--new {
    gap: 0.4rem;
    margin-bottom: 2rem;
    justify-content: flex-end;
}

.school-name {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.school-name-block:not(.school-name-block--new) .school-name {
    margin-bottom: 0;
}

.school-name-block--new .school-name {
    margin-bottom: 0;
}

/* 博多校のバッジ（５月より新規スタート） */
.school-card .school-name-block--new .school-badge-new {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
    padding: 0.35em 0.85em;
    border-radius: 999px;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.school-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.school-detail-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.school-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.school-detail-item strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.school-detail-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.school-detail-item .sub-location {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.3rem;
    font-style: italic;
}

.school-card .map-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.school-card .map-link:hover {
    text-decoration: underline;
}

.school-detail-item.highlight {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 1rem;
    border-radius: 10px;
    border: none;
    text-align: center;
    margin-top: 0.5rem;
}

.school-detail-item.highlight p {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
}

/* 雰囲気ギャラリー */
.gallery {
    background: #ffffff;
    padding: 100px 40px;
}

.gallery-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
    text-align: center;
    color: #555;
    font-size: 1rem;
    margin: 0;
    background: #f8f9fa;
}

/* 口コミ */
.testimonials {
    background: #ffffff;
}

.testimonials-rating {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rating-display {
    margin-bottom: 1.5rem;
}

.rating-stars {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.rating-text {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 600;
}

.testimonials-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.testimonial-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.testimonial-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.testimonial-rating {
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-stars {
    font-size: 1.5rem;
    display: block;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.testimonial-text-collapsible {
    position: relative;
    overflow: hidden;
}

.testimonial-text-short {
    display: block;
    max-height: 600px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease-out;
}

.testimonial-text-full {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 展開時：短いテキストをさっと畳み、全文は下に滑らかに伸ばす */
.testimonial-content.is-expanded .testimonial-text-short {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.testimonial-content.is-expanded .testimonial-text-full {
    max-height: 2000px;
}

.testimonial-toggle-btn {
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.testimonial-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.testimonial-toggle-btn:active {
    transform: translateY(0);
    opacity: 0.9;
}

.testimonial-author {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-name {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
}

.testimonial-age {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* レッスンプラン */
.pricing {
    background: #f8f9fa;
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
}

/* 3プラン並び用 */
.pricing-plans-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem;
    margin-bottom: 0;
}

.pricing-plan-name {
    font-size: 1.4rem;
    color: #333;
    margin: 0 0 0.4rem;
    font-weight: bold;
}

.pricing-plan-desc {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1.5rem;
    min-height: 3em;
    text-align: center;
}

.pricing-plan-card .pricing-item {
    margin-bottom: 0.5rem;
}

.pricing-plan-card .pricing-item:last-child {
    margin-bottom: 0;
}

.pricing-card {
    background: white;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.pricing-item strong {
    display: block;
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.pricing-item .price {
    font-size: 3rem;
    color: #667eea;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
}

.pricing-item .price-note {
    margin: 0.4rem 0 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.payment-methods {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-methods h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-option {
    display: inline;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.payment-option::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* イベント */
.events {
    background: #f8f9fa;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.event-season {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.event-season.summer {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
}

.event-season.autumn {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}

.event-season.winter {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
}

.event-title {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.event-description {
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 0.5rem;
}

.event-description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.event-description p:last-child {
    margin-bottom: 0;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1.5rem;
    max-width: 100%;
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-image:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.event-video {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.event-video-player {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #000;
}

/* お知らせページ */
.news-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.news-intro {
    text-align: center;
    color: #555;
    margin: -2rem auto 3rem;
    max-width: 600px;
    font-size: 1.05rem;
}

.news-back-link {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.news-back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.news-back-link a:hover {
    text-decoration: underline;
}

.news-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.news-index-card {
    display: block;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-index-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.news-index-card-label {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-index-card-desc {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.news-index-card--performance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-index-card--merchandise {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-index-card--sponsor {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.news-index-card--other {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.news-item .event-title {
    margin-top: 0.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.news-category--performance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-category--events {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.news-category--school {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.news-category--merchandise {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.news-category--sponsor {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-category--other {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-date {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* 物販 バリエーション（Tシャツ種類・価格） */
.merchandise-variants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.merchandise-variant {
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.merchandise-variant-title {
    font-size: 1rem;
    margin: 0 0 0.35em;
    color: #334155;
}
.merchandise-variant-spec {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.5em;
}
.merchandise-variant-price {
    font-size: 1.05rem;
    color: #667eea;
    margin: 0;
}

/* 物販 Tシャツ サイズチャート */
.merchandise-size-chart {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.merchandise-size-chart-title {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    color: #334155;
}
.merchandise-size-chart-note {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1rem;
}
.merchandise-size-chart-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.merchandise-size-chart-table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.merchandise-size-chart-table th,
.merchandise-size-chart-table td {
    padding: 0.6rem 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}
.merchandise-size-chart-table th {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}
.merchandise-size-chart-table tbody tr:nth-child(even) {
    background: #f1f5f9;
}
.merchandise-size-chart-table tbody tr:hover {
    background: #e2e8f0;
}
.merchandise-variants-heading {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: #334155;
    grid-column: 1 / -1;
}

.news-video-placeholder {
    padding: 2rem;
    background: #f1f5f9;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

.news-video-placeholder code {
    background: #e2e8f0;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
}

/* 出演情報 */
.performances {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.performances .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 出演情報ページ ギャラリー（横3×縦n） */
.performance-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.performance-gallery-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.performance-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.performance-gallery-card-thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.performance-gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.performance-gallery-card-date {
    display: block;
    padding: 0.75rem 1.25rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.3;
}

.performance-gallery-card-sponsor {
    display: block;
    padding: 0.2rem 1.25rem 0;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.3;
}

.performance-gallery-card-title {
    display: block;
    padding: 0.35rem 1.25rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
}

/* 出演情報 詳細ページ */
.event-detail-page .container {
    max-width: 900px;
}

.event-detail-card .event-detail-title {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* 講師 */
.instructor {
    background: #f8f9fa;
}

.instructor-content {
    max-width: 1200px;
    margin: 0 auto;
}

.instructor-card {
    background: white;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.instructor-left-info {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.instructor-left-info .instructor-detail {
    margin-bottom: 0;
}

.instructor-center {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instructor-image-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.instructor-header {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.instructor-header h3 {
    margin: 0;
}

.instructor-age {
    margin: 0;
}

    .instructor-center-info {
        width: 100%;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .instructor-center-info .instructor-detail {
        margin-bottom: 0;
        text-align: left;
    }

    /* PC版では外側のinstructor-center-infoを非表示 */
    .instructor-center-info-outer {
        display: none;
        flex-direction: column;
        gap: 0.8rem;
    }

    .instructor-center-info-outer .instructor-detail {
        margin-bottom: 0;
    }

.instructor-right {
    flex: 1;
}

.instructor-header h3 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.instructor-age {
    font-size: 1.2rem;
    color: #666;
}

.instructor-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.instructor-detail {
    margin-bottom: 0;
}

.instructor-right .instructor-detail {
    margin-bottom: 0;
}

.instructor-detail strong {
    display: block;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.instructor-detail p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.instructor-left-info .instructor-detail p {
    line-height: 2;
    margin-bottom: 0;
}

.instructor-left-info .instructor-detail .instagram-link {
    line-height: 2;
    margin-top: 0;
}

.instagram-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.instagram-link:hover {
    color: #764ba2;
}

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

.career-list li {
    color: #666;
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
}

.career-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* よくある質問 */
.faq {
    background: #f8f9fa;
}

.faq-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.faq-question {
    margin-bottom: 1.5rem;
}

.faq-question h3 {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 0.8rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* お問い合わせ */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.info-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #764ba2;
}

.contact-form {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form > p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* フォームスタイル */
.contact-form .form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    margin-bottom: 1.5rem;
}

.contact-form .form-group:last-child {
    margin-bottom: 0;
}

.contact-form .form-group label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: block;
}

.contact-form .form-group .required {
    color: #ff6b6b;
    margin-left: 0.2rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form .form-group input:hover,
.contact-form .form-group select:hover,
.contact-form .form-group textarea:hover {
    border-color: #b0b0b0;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-group button[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 18px 48px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.contact-form .form-group button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
}

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: fadeInUp 0.6s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fixed-cta-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fixed-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.5);
}

.fixed-cta-icon {
    font-size: 1.5rem;
    display: block;
}

.fixed-cta-text {
    line-height: 1.3;
    text-align: left;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0.75rem 20px 0.75rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    padding: 0 20px;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.45);
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.55);
}

.footer-cta-icon {
    font-size: 1.5rem;
}

.footer-cta-text {
    white-space: nowrap;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.footer-contact-item {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    display: block;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
/* iPad・タブレット用のメディアクエリ */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 24px;
    }

    .instructor-card {
        padding: 3rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    /* タブレット版では内側のinstructor-center-infoを非表示、外側を表示 */
    .instructor-center-info-inner {
        display: none;
    }

    .instructor-center-info-outer {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .instructor-center-info-outer .instructor-detail {
        margin-bottom: 0;
    }

    /* 順序を調整: 名前年齢(1), 写真(2), ダンサーネーム等(3), きっかけ等(4), 資格等(5) */
    .instructor-center {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .instructor-center .instructor-header {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .instructor-center .instructor-image-container {
        order: 2;
        margin-bottom: 1.5rem;
    }

    .instructor-left-info {
        order: 3;
        width: 100%;
    }

    .instructor-center-info-outer {
        order: 4;
        width: 100%;
    }

    .instructor-right {
        order: 5;
        width: 100%;
    }

    .instructor-image-container {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .instructor-header {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    .instructor-header h3 {
        font-size: 1.8rem;
    }

    .instructor-age {
        font-size: 1.1rem;
    }

    .instructor-detail strong {
        font-size: 1.1rem;
    }

    .instructor-detail p {
        font-size: 1rem;
    }

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

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

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

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

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

    /* レッスンプラン：iPadでも3列を維持。min-width: 0 で幅はみ出しを防止 */
    .pricing-plans-grid > * {
        min-width: 0;
    }

    .pricing-item {
        min-width: 0;
    }
}

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

    section {
        padding: 56px 16px;
    }

    .header {
        padding: 0.12rem 0;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .header-logo-img {
        height: 64px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }

    .nav-menu a.nav-cta {
        padding: 0.35rem 0.65rem;
        font-size: 0.85rem;
    }

    /* スマホ：全プルダウンが画面左右にはみ出ないように fixed でビューポート内に収める */
    .nav-dropdown-menu {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        top: var(--dropdown-top, 120px);
        transform: translateY(-4px);
        position: fixed;
        box-sizing: border-box;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        transform: translateY(0);
    }

    .hero {
        padding: 120px 20px;
        min-height: 500px;
    }

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

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

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

    .about-intro {
        margin-bottom: 3rem;
    }

    .about-lead {
        font-size: 1.2rem;
    }

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

    .about-card {
        padding: 2rem;
    }

    .about-card-icon {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }

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

    .contact-form {
        padding: 2rem;
    }

    .contact-form .form {
        gap: 1.2rem;
    }

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

    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

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

    .lesson-target {
        padding: 1.2rem 2rem;
    }

    .lesson-target p {
        font-size: 1.1rem;
    }

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

    .pricing-plan-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card {
        flex-direction: column;
        padding: 2rem;
    }

    .pricing-item .price {
        font-size: 2rem;
    }

    .pricing-plan-card .pricing-item .price {
        font-size: 1.8rem;
    }

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

    .faq-item {
        padding: 1.8rem;
        margin-bottom: 0;
    }

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

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

    .payment-options {
        flex-direction: column;
        align-items: center;
    }

    .payment-option {
        width: 100%;
        max-width: 200px;
    }

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

    .performance-gallery-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 2rem;
    }

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

    .testimonial-card {
        padding: 2rem;
    }

    .event-title {
        font-size: 1.5rem;
    }

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

    .event-card {
        padding: 1.5rem;
    }

    .instructor-card {
        padding: 2rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    /* スマホでも同じ順序を維持 */
    .instructor-center-info-inner {
        display: none;
    }

    .instructor-center-info-outer {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .instructor-center-info-outer .instructor-detail {
        margin-bottom: 0;
    }

    .instructor-center {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .instructor-center .instructor-header {
        order: 1;
        margin-bottom: 1.5rem;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    .instructor-center .instructor-image-container {
        order: 2;
        margin-bottom: 1.5rem;
    }

    .instructor-left-info {
        order: 3;
        width: 100%;
    }

    .instructor-center-info-outer {
        order: 4;
        width: 100%;
    }

    .instructor-right {
        order: 5;
        width: 100%;
    }

    .instructor-image-container {
        max-width: 100%;
    }

    .instructor-header h3 {
        font-size: 1.6rem;
    }

    .instructor-age {
        font-size: 1rem;
    }

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

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

    .announcement-text {
        font-size: 1rem;
    }

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

    .announcement-banner {
        padding: 2rem;
    }

    .announcement-details {
        grid-template-columns: 1fr;
    }

    .trial-details {
        grid-template-columns: 1fr;
    }

    .trial-title {
        font-size: 1.5rem;
    }

    .hero-values {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-value-item {
        width: 100%;
        max-width: 280px;
    }

    .gallery {
        padding: 60px 20px;
    }

    .fixed-cta-button {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

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

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

    .header {
        padding: 0.1rem 0;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .header-logo-img {
        height: 52px;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    .nav-menu a.nav-cta {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .hero {
        padding: 80px 20px;
        min-height: 400px;
    }

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

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    section {
        padding: 52px 12px;
    }

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

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

    .event-card {
        padding: 1.2rem;
    }

    .hero-values {
        gap: 1rem;
    }

    .hero-value-item {
        padding: 1rem 1.2rem;
    }

    .hero-value-icon {
        font-size: 1.5rem;
    }

    .hero-value-text {
        font-size: 0.85rem;
    }

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

    .gallery-image {
        height: 250px;
    }

    .testimonials-links {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .fixed-cta {
        bottom: 20px;
        right: 20px;
    }

    .fixed-cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

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

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

/* 画像拡大モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px 20px 20px;
}

body.modal-open {
    overflow: hidden;
}

.modal-content {
    display: block;
    width: min(92vw, 1100px);
    max-width: 92vw;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.45);
    animation: zoomIn 0.3s ease-in-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 16px;
}

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

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

/* クリック可能な画像にカーソルを追加 */
.gallery-image,
.event-image,
.instructor-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-image:hover,
.event-image:hover,
.instructor-image:hover {
    transform: scale(1.02);
}

/* ============================================
   表紙アニメーション（TRINITY風・ロゴ登場）
   ============================================ */
.cover-animation {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
    visibility: visible;
}

.cover-animation.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.cover-visible {
    overflow: hidden;
    height: 100vh;
}

.cover-animation-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}

.cover-logo {
    max-width: min(320px, 80vw);
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.7);
    animation: coverLogoAppear 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes coverLogoAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
