/* オンラインコミュニティページ用スタイル */

/* 新しいアニメーション定義 */
@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* 背景スタイル - styles.cssから継承 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    position: relative;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.community-container {
    width: 100%;
    max-width: 700px;
    animation: fadeInScale 1s ease-out;
}

.community-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    animation: subtleGlow 4s ease-in-out infinite;
}

.community-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.community-header {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.community-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.community-neon-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 1px;
    margin: 0 auto;
    width: 60%;
}

.community-content {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.community-description {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.community-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.community-feature {
    text-align: left;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: featureSlideIn 0.8s ease-out both;
}

.community-feature:nth-child(1) {
    animation-delay: 0.2s;
}

.community-feature:nth-child(2) {
    animation-delay: 0.4s;
}

.community-feature:nth-child(3) {
    animation-delay: 0.6s;
}

.community-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

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

.community-feature:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: iconPulse 3s ease-in-out infinite;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    transition: all 0.6s ease;
}

.community-feature:hover .feature-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}

.community-feature:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.6s ease;
}

.feature-description {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
    font-weight: 400;
}

.community-feature:hover .feature-title {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(8px);
}

.community-feature:hover .feature-description {
    color: #e5e5e5;
    transform: translateX(8px);
}

.community-footer {
    animation: bounceIn 0.8s ease-out 1s both;
}

.community-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    color: #1a1a1a;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.community-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.6s;
}

.community-button:hover::before {
    left: 100%;
}

.community-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
}

.community-button-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    animation: arrowSlide 2s ease-in-out infinite;
}

.community-button:hover .community-button-arrow {
    animation: arrowSlide 0.8s ease-in-out infinite;
}

/* ************************************************* */
/* ************************************************* */
/* ************************************************* */


/* 講師紹介ページ用スタイル */
.instructor-container {
    width: 100%;
    max-width: 900px;
    animation: fadeInScale 1s ease-out;
}

.instructor-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    animation: subtleGlow 4s ease-in-out infinite;
}

.instructor-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.instructor-header {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.instructor-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.instructor-neon-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 1px;
    margin: 0 auto;
    width: 60%;
}

.instructor-content {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.instructor-description {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.instructor-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.instructor-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3a3a3a 0%, #2a2a2a 100%);
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.instructor-card:hover .instructor-avatar {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.instructor-initial {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.instructor-name {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.instructor-specialty {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.video-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.instructor-card:hover .video-placeholder {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #3a3a3a 0%, #2a2a2a 100%);
}

.video-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.video-text {
    color: #888;
    font-size: 0.8rem;
    margin-top: 8px;
}

.instructor-footer {
    animation: bounceIn 0.8s ease-out 1s both;
}

.instructor-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    color: #1a1a1a;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.instructor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.6s;
}

.instructor-button:hover::before {
    left: 100%;
}

.instructor-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
}

.instructor-button-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    animation: arrowSlide 2s ease-in-out infinite;
}

.instructor-button:hover .instructor-button-arrow {
    animation: arrowSlide 0.8s ease-in-out infinite;
}

/* ************************************************* */
/* ************************************************* */
/* ************************************************* */

/* トライアルレッスンページ用スタイル */
.trial-container {
    width: 100%;
    max-width: 800px;
    animation: fadeInScale 1s ease-out;
}

.trial-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    animation: subtleGlow 4s ease-in-out infinite;
}

.trial-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.trial-header {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.trial-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.trial-neon-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 1px;
    margin: 0 auto;
    width: 60%;
}

.trial-content {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.trial-description {
    color: #e5e5e5;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 100%;
}

.trial-form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.form-input {
    width: 90%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.calendar-section {
    margin-bottom: 32px;
}

.calendar-header {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.calendar-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 20px;
}

.calendar-weekday {
    text-align: center;
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.calendar-day {
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 500;
    position: relative;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.1);
}

.calendar-day.selected {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.calendar-day.disabled {
    color: #555;
    cursor: not-allowed;
}

.calendar-day.disabled:hover {
    background: transparent;
}

.time-selection {
    margin-bottom: 32px;
}
.time-selection h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-align: center;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.time-slot {
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.time-slot.selected {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    border-color: #4a90e2;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.time-slot.disabled {
    color: #555;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
}

.time-slot.disabled:hover {
    background: rgba(255, 255, 255, 0.05);
}

.selected-slots {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.selected-slots h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-align: center;
}

.slot-item {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    color: #ffffff;
}

.slot-item:last-child {
    margin-bottom: 0;
}

.remove-slot {
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6464;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.remove-slot:hover {
    background: rgba(255, 100, 100, 0.3);
    border-color: rgba(255, 100, 100, 0.4);
}

.trial-footer {
    animation: bounceIn 0.8s ease-out 1s both;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: right;
    justify-content: right;
}

.trial-button {
    display: inline-flex;
    gap: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    color: #1a1a1a;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.trial-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.6s;
}

.trial-button:hover::before {
    left: 100%;
}

.trial-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
}

.trial-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.trial-button:disabled:hover {
    transform: none;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.trial-button-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    animation: arrowSlide 2s ease-in-out infinite;
}

.trial-button:hover .trial-button-arrow {
    animation: arrowSlide 0.8s ease-in-out infinite;
}

/* ************************************************* */
/* ************************************************* */
/* ************************************************* */

/* Class0ページ用スタイル */

/* Class0の新しいセクション用スタイル */
.class0-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.class0-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: featureSlideIn 0.8s ease-out both;
}

.class0-feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.class0-feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.class0-feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.class0-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

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

.class0-feature-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.class0-feature-card .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: iconPulse 3s ease-in-out infinite;
}

.class0-feature-card:hover .feature-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}

.class0-feature-card .feature-icon svg {
    width: 32px;
    height: 32px;
    transition: all 0.6s ease;
}

.class0-feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

.class0-feature-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.6s ease;
}

.class0-feature-card:hover h3 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(8px);
}

.class0-feature-card p {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
    font-weight: 400;
}

.class0-feature-card:hover p {
    color: #e5e5e5;
    transform: translateX(8px);
}

/* ハイライトセクション */
.class0-highlight-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.class0-highlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(74, 144, 226, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

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

.highlight-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.highlight-text p {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: center;
}

.highlight-text strong {
    color: #4a90e2;
    font-weight: 600;
}

/* 文化セクション */
.class0-culture-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.culture-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.culture-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.culture-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
}

.culture-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.culture-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.6s ease;
}

.culture-item:hover .culture-icon {
    opacity: 1;
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.culture-icon svg {
    width: 24px;
    height: 24px;
}

.culture-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.culture-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ステップアップセクション */
.class0-stepup-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stepup-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.stepup-description p {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.stepup-cycle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cycle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.cycle-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.cycle-item span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.cycle-arrow {
    color: #4a90e2;
    font-size: 1.5rem;
    font-weight: bold;
}

.trial-info {
    color: #4a90e2 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-top: 20px !important;
}

.trial-info strong {
    color: #ffffff;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
}

/* 直接参加セクション */
.class0-direct-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.direct-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.direct-content p {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

/* Class0ページ用の言語切り替えスタイル */
.class0-signboard .language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.class0-signboard {
    position: relative;
}

/* Offline Activities Page Styles */
.offline-container {
    width: 100%;
    max-width: 1000px;
    animation: fadeInScale 1s ease-out;
    position: relative;
}

.offline-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.offline-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.offline-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.offline-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offline-neon-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #7b68ee, #4a90e2);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

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

.offline-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e5e5e5;
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.offline-schedule {
    margin-bottom: 40px;
}

.offline-schedule h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.schedule-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(74, 144, 226, 0.5);
}

.schedule-day {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a90e2;
    margin-bottom: 10px;
}

.schedule-content {
    font-size: 1rem;
    color: #e5e5e5;
}

.account-creation-steps {
    margin-bottom: 40px;
}

.account-creation-steps h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    border-color: rgba(74, 144, 226, 0.5);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #7b68ee);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 1rem;
    color: #e5e5e5;
    margin: 0;
    line-height: 1.5;
}

.reservation-section {
    margin-bottom: 30px;
}

.reservation-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7f7f7f 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reservation-section p {
    font-size: 1.1rem;
    color: #4b4b4b;
    text-align: center;
    margin-bottom: 30px;
}

.calendar-section {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav {
    background: linear-gradient(135deg, #4a90e2, #7b68ee);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.calendar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.calendar-weekday {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: #4a90e2;
    font-size: 0.9rem;
    min-width: 0;
    overflow: hidden;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.calendar-day.other-month {
    color: #666;
    cursor: default;
}

.calendar-day.past-day {
    color: #666;
    cursor: default;
}

.calendar-day.available-day {
    color: #ffffff;
    background: rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.3);
}

.calendar-day.available-day:hover {
    background: rgba(74, 144, 226, 0.4);
    transform: scale(1.05);
}

.calendar-day.unavailable-day {
    color: #666;
    cursor: default;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #4a90e2, #7b68ee);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.selected-date {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.selected-date h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 15px;
}

#selectedDateDisplay {
    font-size: 1.1rem;
    color: #4a90e2;
    margin-bottom: 20px;
    font-weight: 600;
}

.reservation-button {
    background: linear-gradient(135deg, #4a90e2, #7b68ee);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.reservation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

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

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .offline-signboard {
        padding: 30px 20px;
    }
    
    .offline-header h1 {
        font-size: 2.2rem;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .calendar-section {
        padding: 20px;
    }
    
    .calendar-grid {
        gap: 4px;
    }
    
    .calendar-weekday {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .offline-header h1 {
        font-size: 1.8rem;
    }
    
    .offline-description {
        font-size: 1rem;
        padding: 20px;
    }
    
    .calendar-section {
        padding: 15px;
    }
    
    .calendar-grid {
        gap: 2px;
    }
    
    .calendar-weekday {
        padding: 6px 2px;
        font-size: 0.7rem;
    }
    
    .calendar-day {
        font-size: 0.7rem;
        padding: 6px;
    }
}
.class0-container {
    width: 100%;
    max-width: 1000px;
    animation: fadeInScale 1s ease-out;
    position: relative;
}

/* Instagram Gallery Page Styles */
.gallery-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.instagram-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

/* 静的ギャラリー用スタイル */
.store-gallery {
    margin: 40px 0;
}

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

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.gallery-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.placeholder-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
    padding: 40px 20px;
}

.placeholder-image svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.placeholder-image p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
}

.gallery-caption h4 {
    color: #1e293b;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.gallery-caption p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.instagram-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.instagram-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.instagram-post:hover .post-image img {
    transform: scale(1.05);
}

.video-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.post-content {
    padding: 20px;
}

.post-caption {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.post-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.post-link:hover {
    color: #2563eb;
}

.instagram-info {
    margin-top: 40px;
}

.instagram-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.instagram-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.instagram-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.instagram-avatar svg {
    width: 32px;
    height: 32px;
}

.instagram-details h3 {
    color: #1e293b;
    font-size: 20px;
    margin: 0 0 4px 0;
}

.instagram-details p {
    color: #64748b;
    margin: 0;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.instagram-button svg {
    width: 20px;
    height: 20px;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.fallback-content {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.fallback-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.fallback-icon svg {
    width: 40px;
    height: 40px;
}

.fallback-content h3 {
    color: #1e293b;
    font-size: 24px;
    margin: 0 0 16px 0;
}

.fallback-content p {
    color: #64748b;
    margin: 0 0 32px 0;
}

.instagram-fallback-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.instagram-fallback-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.instagram-fallback-button svg {
    width: 20px;
    height: 20px;
}

.store-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    color: white;
}

.map-container {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.store-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.store-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.store-info-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.store-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.store-icon svg {
    width: 32px;
    height: 32px;
}

.store-info-card h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 16px 0;
}

.store-info-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .instagram-feed {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .instagram-header {
        flex-direction: column;
        text-align: center;
    }
    
    .store-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .gallery-hero {
        padding: 60px 20px;
    }
    
    .instagram-section {
        padding: 60px 0;
    }
    
    .store-info-section {
        padding: 60px 0;
    }
    
    .map-container {
        margin: 30px 0;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .instagram-post {
        margin: 0 10px;
    }
    
    .post-content {
        padding: 16px;
    }
    
    .instagram-card {
        padding: 24px;
    }
    
    .store-info-card {
        padding: 24px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Events Page Styles */
.events-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.reservation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.reservation-form {
    max-width: 600px;
    margin: 0 auto;
}

.email-input-container {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.email-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 16px;
}

.email-input {
    flex: 1;
    min-width: 300px;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.email-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.activate-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.activate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.email-status {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.email-status.valid {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.email-status.invalid {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.status-text {
    font-size: 14px;
    color: rgba(80, 80, 80, 0.8);
    font-weight: 500;
}

.email-status.valid .status-text {
    color: #10b981;
}

.email-status.invalid .status-text {
    color: #ef4444;
}

.events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    color: white;
}

.events-slider-container {
    overflow-x: auto;
    padding: 20px 0;
    margin: 40px 0;
}

.events-slider {
    display: flex;
    gap: 24px;
    min-width: max-content;
    padding: 0 20px;
}

.event-card {
    flex: 0 0 240px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.event-image {
    position: relative;
    aspect-ratio: 1080/1350;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.event-content {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}


.reserve-button {
    width: 100%;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.reserve-button.active {
    opacity: 1;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-color: #4a90e2;
}

.reserve-button.selected {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    transform: scale(1.05);
}

.reserve-button:hover.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.submit-button.active {
    opacity: 1;
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}

.submit-button:hover.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .events-hero {
        padding: 60px 20px;
    }
    
    .reservation-section {
        padding: 40px 0;
    }
    
    .events-section {
        padding: 60px 0;
    }
    
    .email-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .email-input {
        min-width: auto;
    }
    
    .event-card {
        flex: 0 0 200px;
    }
    
    .events-slider {
        gap: 16px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .event-card {
        flex: 0 0 160px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .events-slider {
        gap: 12px;
    }
}

/* Fixed Event Button */
.fixed-event-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.fixed-event-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: white;
}

.fixed-event-button svg {
    width: 20px;
    height: 20px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.5);
    }
    100% {
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fixed-event-button {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fixed-event-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
        font-size: 12px;
    }
    
    .fixed-event-button svg {
        width: 18px;
        height: 18px;
    }
}

/* SundayEventThanks Page Styles */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 80px 20px;
}

.thanks-container {
    width: 100%;
    max-width: 800px;
    animation: fadeInScale 1s ease-out;
}

.thanks-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: white;
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s ease;
}

.success-icon svg {
    width: 50px;
    height: 50px;
}

.thanks-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
    font-family: 'Playfair Display', serif;
}

.thanks-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 0 0 48px 0;
    line-height: 1.6;
}

.thanks-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    flex-direction: column;
    text-align: center;
}

.detail-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-content h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.detail-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-button.primary {
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    color: white;
}

.action-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
    text-decoration: none;
    color: white;
}

.action-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.action-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.action-button svg {
    width: 20px;
    height: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .thanks-section {
        padding: 60px 20px;
    }
    
    .thanks-content {
        padding: 40px 24px;
    }
    
    .thanks-title {
        font-size: 28px;
    }
    
    .thanks-subtitle {
        font-size: 16px;
    }
    
    .thanks-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .thanks-content {
        padding: 32px 20px;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .thanks-title {
        font-size: 24px;
    }
    
    .detail-card {
        flex-direction: column;
        text-align: center;
    }
}

.privacy-signboard, .law-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.privacy-signboard::before, .law-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.privacy-header, .law-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.privacy-header h1, .law-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-neon-line, .law-neon-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #7b68ee, #4a90e2);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.privacy-content, .law-content {
    position: relative;
    z-index: 2;
}

.privacy-description, .law-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e5e5e5;
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.privacy-section, .law-section {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.privacy-section h2, .law-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section p, .law-section p {
    color: #e5e5e5;
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-section ul, .law-section ul {
    color: #e5e5e5;
    line-height: 1.7;
    margin-left: 20px;
}

.privacy-section li, .law-section li {
    margin-bottom: 8px;
}

.law-table {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.law-table table {
    width: 100%;
    border-collapse: collapse;
}

.law-table th {
    background: rgba(74, 144, 226, 0.2);
    color: #ffffff;
    padding: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    min-width: 200px;
}

.law-table td {
    color: #e5e5e5;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.contact-info {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: #4a90e2;
    text-decoration: none;
}

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

.privacy-footer, .law-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .privacy-signboard, .law-signboard {
        padding: 30px 20px;
    }
    
    .privacy-header h1, .law-header h1 {
        font-size: 2.2rem;
    }
    
    .privacy-section, .law-section {
        padding: 20px;
    }
    
    .law-table {
        padding: 15px;
    }
    
    .law-table th, .law-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .privacy-header h1, .law-header h1 {
        font-size: 1.8rem;
    }
    
    .privacy-description, .law-description {
        font-size: 1rem;
        padding: 20px;
    }
    
    .privacy-section, .law-section {
        padding: 15px;
    }
    
    .law-table th, .law-table td {
        padding: 8px;
        font-size: 0.8rem;
    }
}

.class0-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    animation: subtleGlow 4s ease-in-out infinite;
}

.class0-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.class0-header {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.class0-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.class0-neon-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 1px;
    margin: 0 auto;
    width: 60%;
}

.class0-content {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.class0-description {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.class0-section {
    margin-bottom: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.class0-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.class0-section h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 24px;
}

.class0-section p {
    color: #e5e5e5;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.class0-section ul {
    color: #e5e5e5;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.class0-section li {
    margin-bottom: 8px;
}

.class0-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin: 40px auto;
    max-width: 600px;
    text-align: left;
}

.class0-form h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.form-label.required::after {
    content: ' *';
    color: #ff6464;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 48px;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-6.5%200-12.3%203.2-16.1%208.1-3.8%204.9-4.6%2011-2.1%2016.9l130.6%20142.7c2.8%203.1%206.8%204.8%2010.9%204.8s8.1-1.7%2010.9-4.8L289.1%2091.3c2.5-5.9%201.7-12-2.1-16.9z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* 日付入力フィールドの特別なスタイル */
.form-input[type="date"] {
    position: relative;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.form-input[type="date"]::-webkit-inner-spin-button,
.form-input[type="date"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-input[type="date"]::-webkit-datetime-edit {
    color: #ffffff;
}

.form-input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.form-input[type="date"]::-webkit-datetime-edit-text {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 2px;
}

.form-input[type="date"]::-webkit-datetime-edit-month-field,
.form-input[type="date"]::-webkit-datetime-edit-day-field,
.form-input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff;
    padding: 0 2px;
}

.form-select option {
    background: #2d2d2d;
    color: #ffffff;
    padding: 8px;
}

.cta-section {
    margin: 40px 0;
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.cta-section p {
    color: #e5e5e5;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(74, 144, 226, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

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

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(74, 144, 226, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #5a9ee2 0%, #4a90e2 100%);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.cta-button:disabled:hover {
    transform: none;
    box-shadow: 
        0 8px 20px rgba(74, 144, 226, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cta-button-arrow {
    font-size: 1.1rem;
    font-weight: bold;
    animation: arrowSlide 2s ease-in-out infinite;
}

.cta-button:hover .cta-button-arrow {
    animation: arrowSlide 0.8s ease-in-out infinite;
}

.class0-footer {
    animation: bounceIn 0.8s ease-out 1s both;
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .community-features {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        margin: 0 20px 50px 20px;
    }
    
    .community-signboard {
        padding: 36px 24px;
    }
    
    .community-header h1 {
        font-size: 2.4rem;
    }
    
    .community-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .community-feature {
        padding: 30px 24px;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 20px auto;
    }
    
    .feature-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .feature-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .community-feature:hover .feature-title,
    .community-feature:hover .feature-description {
        transform: translateX(0);
    }
    
    .community-button {
        padding: 18px 32px;
        font-size: 1rem;
    }
    
    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .instructor-signboard {
        padding: 36px 24px;
    }
    
    .instructor-header h1 {
        font-size: 2.4rem;
    }
    
    .instructor-description {
        font-size: 1rem;
    }
    
    .instructor-button {
        padding: 18px 32px;
        font-size: 1rem;
    }

    .trial-signboard {
        padding: 36px 24px;
    }
    
    .trial-header h1 {
        font-size: 2.4rem;
    }
    
    .trial-description {
        font-size: 0.8rem;
    }
    
    .time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .trial-button {
        padding: 18px 32px;
        font-size: 1rem;
    }

    .class0-signboard {
        padding: 36px 24px;
    }
    
    .class0-header h1 {
        font-size: 2.4rem;
    }
    
    .class0-description {
        font-size: 1rem;
    }
    
    .class0-section h2 {
        font-size: 1.6rem;
    }
    
    .class0-section h3 {
        font-size: 1.3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        padding: 16px 28px;
        font-size: 0.95rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    /* Class0の新しいセクションのレスポンシブ対応 */
    .class0-features {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px 20px;
    }
    
    .class0-feature-card {
        padding: 25px 20px;
        text-align: center;
    }
    
    .class0-feature-card .feature-icon {
        margin: 0 auto 16px auto;
    }
    
    .class0-feature-card h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .class0-feature-card p {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .class0-feature-card:hover h3,
    .class0-feature-card:hover p {
        transform: translateX(0);
    }
    
    .class0-highlight-section,
    .class0-culture-section,
    .class0-stepup-section,
    .class0-direct-section {
        margin: 30px 20px;
        padding: 30px 20px;
    }
    
    .highlight-content h2,
    .culture-content h2,
    .stepup-content h2,
    .direct-content h2 {
        font-size: 1.6rem;
    }
    
    .culture-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stepup-cycle {
        flex-direction: column;
        gap: 15px;
    }
    
    .cycle-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .community-signboard {
        padding: 32px 20px;
    }
    
    .community-header h1 {
        font-size: 2.2rem;
    }
    
    .community-features {
        margin: 0 10px 50px 10px;
        gap: 25px;
    }
    
    .community-feature {
        padding: 25px 20px;
        text-align: center;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 18px auto;
    }
    
    .feature-title {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .feature-description {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .instructor-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .instructor-signboard {
        padding: 32px 20px;
    }
    
    .instructor-header h1 {
        font-size: 2.2rem;
    }
    
    .instructor-card {
        padding: 20px;
    }
    
    .instructor-avatar {
        width: 60px;
        height: 60px;
    }
    
    .instructor-initial {
        font-size: 1.5rem;
    }

    .trial-signboard {
        padding: 32px 20px;
    }
    
    .trial-header h1 {
        font-size: 2.2rem;
    }
    
    .calendar-day {
        padding: 10px 6px;
        font-size: 0.9rem;
    }
    
    .time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    
    .trial-button {
        padding: 16px 28px;
        font-size: 0.9rem;
    }

    .class0-signboard {
        padding: 32px 20px;
    }
    
    .class0-header h1 {
        font-size: 2.2rem;
    }
    
    .class0-section h2 {
        font-size: 1.5rem;
    }
    
    .class0-section h3 {
        font-size: 1.2rem;
    }
    
    .class0-form {
        padding: 24px 20px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 0.9rem;
    }
    
    /* Class0の新しいセクションの小さな画面対応 */
    .class0-features {
        margin: 25px 10px;
        gap: 20px;
    }
    
    .class0-feature-card {
        padding: 20px 15px;
    }
    
    .class0-feature-card .feature-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 14px auto;
    }
    
    .class0-feature-card h3 {
        font-size: 1.2rem;
    }
    
    .class0-feature-card p {
        font-size: 0.9rem;
    }
    
    .class0-highlight-section,
    .class0-culture-section,
    .class0-stepup-section,
    .class0-direct-section {
        margin: 25px 10px;
        padding: 25px 15px;
    }
    
    .highlight-content h2,
    .culture-content h2,
    .stepup-content h2,
    .direct-content h2 {
        font-size: 1.5rem;
    }
    
    .highlight-text p,
    .stepup-description p,
    .direct-content p {
        font-size: 1rem;
    }
    
    .culture-item {
        padding: 15px;
    }
    
    .culture-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 12px auto;
    }
    
    .culture-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .culture-item h3 {
        font-size: 1.1rem;
    }
    
    .culture-item p {
        font-size: 0.9rem;
    }
    
    .cycle-item {
        min-width: 100px;
    }
    
    .cycle-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .cycle-item span {
        font-size: 0.85rem;
    }
    
    .trial-info {
        font-size: 1rem !important;
    }
}

/* ************************************************* */
/* ************************************************* */
/* ************************************************* */

/* TrialThanksページ用スタイル */
.trial-thanks-container {
    width: 100%;
    max-width: 900px;
    animation: fadeInScale 1s ease-out;
}

.trial-thanks-signboard {
    background: linear-gradient(135deg, #1e293b 0%, #0d2c5d 100%);
    padding: 48px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    animation: subtleGlow 4s ease-in-out infinite;
}

.trial-thanks-signboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.trial-thanks-header {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.trial-thanks-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.trial-thanks-neon-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 1px;
    margin: 0 auto;
    width: 60%;
}

.trial-thanks-content {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.trial-thanks-message {
    color: #e5e5e5;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin: 40px auto;
    max-width: 700px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.confirmation-section h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.confirmation-item {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-label {
    font-weight: 600;
    color: #ffffff;
    min-width: 120px;
}

.confirmation-value {
    color: #e5e5e5;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

.flow-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin: 40px auto;
    max-width: 700px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.flow-section h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.flow-step {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.step-number {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin: 40px auto;
    max-width: 700px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.contact-section h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.contact-message {
    color: #e5e5e5;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    background: linear-gradient(145deg, #5a9ee2 0%, #4a90e2 100%);
}

.contact-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .trial-thanks-signboard {
        padding: 36px 24px;
    }
    
    .trial-thanks-header h1 {
        font-size: 2.4rem;
    }
    
    .trial-thanks-message {
        font-size: 1.1rem;
    }
    
    .confirmation-section,
    .flow-section,
    .contact-section {
        padding: 24px;
    }
    
    .flow-step {
        padding: 16px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        margin-right: 16px;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .trial-thanks-signboard {
        padding: 32px 20px;
    }
    
    .trial-thanks-header h1 {
        font-size: 2.2rem;
    }
    
    .confirmation-section,
    .flow-section,
    .contact-section {
        padding: 20px;
    }
    
    .confirmation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .confirmation-value {
        text-align: left;
        margin-left: 0;
    }
    
    .flow-step {
        padding: 12px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        margin-right: 12px;
    }
}

/* 言語切り替えタブ用スタイル */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 4px;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.language-tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-width: 80px;
    text-align: center;
}

.language-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.language-tab.active {
    background: linear-gradient(145deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.language-tab.active:hover {
    background: linear-gradient(145deg, #5a9ee2 0%, #4a90e2 100%);
}

/* 言語切り替えタブのレスポンシブ対応 */
@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .language-tab {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .language-tab {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-width: 60px;
    }
}

/* ヘッダーナビゲーション */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.9));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* グローバルスタイル */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロールを防ぐ */
    width: 100%;
    max-width: 100%;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

/* メインコンテンツエリア */
.main-content {
    margin-top: 70px;
    padding: 0;
    flex: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.logo:hover {
    color: #3b82f6;
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

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

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e293b;
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(241, 245, 249, 0.9) 50%, 
        rgba(226, 232, 240, 0.85) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(100,116,139,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #5a9ee2, #4a90e2);
}

.hero-button.secondary {
    background: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.hero-button.secondary:hover {
    border-color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

/* セクション共通スタイル */
.section {
    padding: 4rem 0;
    position: relative;
    width: 100%;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.5), rgba(226, 232, 240, 0.3));
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.section-title2 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-subtitle2 {
    font-size: 1.3rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* サービスセクション */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 5rem;
    position: relative;
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(241, 245, 249, 0.6) 50%, 
        rgba(226, 232, 240, 0.4) 100%);
    border: none;
    border-radius: 0;
    padding: 4rem 3rem;
    text-align: left;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    margin: 0 2rem;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    border: 1px solid rgba(100, 116, 139, 0.1);
}

.service-card:nth-child(odd) {
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    text-align: right;
}

.service-card:nth-child(even) {
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    text-align: left;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 300px 150px at 20% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 300px 150px at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(74, 144, 226, 0.1) 50%, 
        transparent 100%);
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        rgba(74, 144, 226, 0.06) 25%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(74, 144, 226, 0.04) 75%, 
        rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(74, 144, 226, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 2rem 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.2) 0%, 
        rgba(74, 144, 226, 0.1) 50%, 
        rgba(74, 144, 226, 0.05) 100%);
    border-radius: 50%;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 
        0 8px 25px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    float: left;
    margin-right: 2rem;
}

.service-card:nth-child(even) .service-icon {
    float: right;
    margin-right: 0;
    margin-left: 2rem;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(from 0deg, #4a90e2, #64b5f6, #4a90e2, #4a90e2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.8s ease;
    animation: rotate 4s linear infinite;
}

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

.service-card:hover .service-icon {
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.3) 0%, 
        rgba(74, 144, 226, 0.2) 50%, 
        rgba(74, 144, 226, 0.1) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 15px 35px rgba(74, 144, 226, 0.3),
        0 0 0 1px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: #4a90e2;
    transition: all 0.8s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.service-card:hover .service-icon svg {
    fill: #64b5f6;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(74, 144, 226, 0.4));
}

.service-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.8s ease;
    text-shadow: none;
    display: block;
    clear: both;
}

.service-card:hover .service-title {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    font-weight: 400;
    transition: all 0.8s ease;
    display: block;
    clear: both;
}

.service-card:hover .service-description {
    color: #1e293b;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: block;
    clear: both;
}

.service-features li {
    color: #64748b;
    padding: 0.8rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.6s ease;
    position: relative;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.service-card:hover .service-features li {
    color: #475569;
    transform: translateX(8px);
}

.service-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, 
        #8cb6f9 0%, 
        #3b82f6 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid rgba(74, 144, 226, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(74, 144, 226, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    float: left;
}

.service-card:nth-child(even) .service-button {
    float: right;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: left 0.8s ease;
}

.service-button:hover::before {
    left: 100%;
}

.service-button:hover {
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.25) 0%, 
        rgba(74, 144, 226, 0.15) 100%);
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(74, 144, 226, 0.25),
        0 0 0 1px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* フッター */
.footer {
    padding: 8rem 0;
    border-top: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3b82f6 15%, 
        #60a5fa 30%, 
        #93c5fd 50%, 
        #60a5fa 70%, 
        #3b82f6 85%, 
        transparent 100%);
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.6),
        0 0 60px rgba(59, 130, 246, 0.3);
    animation: shimmer 3s ease-in-out infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="50" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q12.5,0 25,10 T50,10" fill="none" stroke="rgba(100,116,139,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    justify-items: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 20%, 
        rgba(59, 130, 246, 0.6) 50%, 
        rgba(59, 130, 246, 0.3) 80%, 
        transparent 100%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.footer-section {
    position: relative;
    padding: 2.5rem 1.5rem;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.9) 0%, 
            rgba(241, 245, 249, 0.8) 50%, 
            rgba(255, 255, 255, 0.7) 100%);
    border-radius: 0;
    backdrop-filter: blur(25px);
    border: none;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(59, 130, 246, 0.05) 0%, 
            transparent 50%, 
            rgba(100, 116, 139, 0.03) 100%);
    opacity: 0;
    transition: opacity 1s ease;
}

.footer-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3b82f6 20%, 
        #60a5fa 50%, 
        #3b82f6 80%, 
        transparent 100%);
    transform: scaleX(0);
    transition: transform 1s ease;
    transform-origin: left;
}

.footer-section:hover {
    transform: translateY(-15px) scale(1.03);
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(241, 245, 249, 0.85) 50%, 
            rgba(255, 255, 255, 0.75) 100%);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        0 0 30px rgba(59, 130, 246, 0.1);
}

.footer-section:hover::before {
    opacity: 1;
}

.footer-section:hover::after {
    transform: scaleX(1);
}

.footer-section h3 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 1s ease;
    position: relative;
    text-align: center;
}

.footer-section:hover h3 {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

.footer-section p,
.footer-section a {
    color: #475569;
    text-decoration: none;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.8s ease;
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-section a {
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.8s ease;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(59, 130, 246, 0.02) 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-section a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: -1;
}

.footer-section a:hover {
    color: #1e293b;
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding-top: 4rem;
    color: #64748b;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3b82f6 30%, 
        #60a5fa 50%, 
        #3b82f6 70%, 
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.5),
        0 0 40px rgba(59, 130, 246, 0.3);
}

.footer-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 30%, 
        rgba(59, 130, 246, 0.1) 50%, 
        rgba(59, 130, 246, 0.3) 70%, 
        transparent 100%);
    transform: translateX(-50%);
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.02);
    }
}



/* index.htmlの主要なレスポンシブ対応 */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* ヒーローセクション */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* セクション共通 */
    .section {
        padding: 3rem 0;
    }
    
    .section-title, .section-title2 {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* サービスセクション */
    .services-grid {
        gap: 3rem;
        margin-top: 3rem;
        margin: 0 1rem;
    }
    
    .services-grid::before {
        display: none;
    }
    
    .service-card {
        padding: 2.5rem 1.5rem;
        margin: 0;
        clip-path: none;
        text-align: center;
    }
    
    .service-card:nth-child(odd),
    .service-card:nth-child(even) {
        clip-path: none;
        text-align: center;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 2rem;
        float: none;
        margin-right: 0;
        margin-left: 0;
    }
    
    .service-card:nth-child(even) .service-icon {
        float: none;
        margin-right: 0;
        margin-left: 0;
    }
    
    .service-icon svg {
        width: 45px;
        height: 45px;
    }
    
    .service-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .service-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .service-features {
        text-align: center;
    }
    
    .service-features li {
        font-size: 1rem;
        padding: 0.6rem 0;
        text-align: center;
        padding-left: 0;
    }
    
    .service-features li::before {
        position: static;
        display: inline-block;
        margin-right: 0.5rem;
        transform: none;
    }
    
    .service-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        float: none;
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    
    .service-card:nth-child(even) .service-button {
        float: none;
    }
    
    /* インストラクターセクション */
    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .instructor-card {
        padding: 1.5rem;
    }
    
    .instructor-card h3 {
        font-size: 1.3rem;
    }
    
    .instructor-card p {
        font-size: 0.9rem;
    }
    
    /* コミュニティセクション */
    .community-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-feature {
        padding: 1rem;
    }
    
    .community-feature h3 {
        font-size: 1.3rem;
    }
    
    .community-feature p {
        font-size: 0.9rem;
    }
    
    /* コンテナ調整 */
    .hero-content,
    .section-container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* モバイルでの追加修正 */
    .hero-section,
    .section {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    
    .hero-content,
    .section-container {
        padding: 0 1.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* フッターのモバイル対応 */
    .footer {
        padding: 6rem 0;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .footer-section {
        padding: 2.5rem 1.5rem;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        clip-path: none;
        box-shadow: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
    
    .footer-section h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 1.05rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-section a {
        padding: 0.8rem 1.5rem;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 25px;
        display: inline-block;
        margin: 0 auto;
    }
    
    .footer-bottom {
        padding-top: 3rem;
        font-size: 1.05rem;
    }
}

/* さらに小さな画面サイズでの対応 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .hero-content,
    .section-container{
        padding: 0 1rem;
    }
    
    .hero-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title, .section-title2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .instructor-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .instructor-card {
        padding: 1rem;
    }
    
    .community-features {
        gap: 1rem;
    }
    
    .community-feature {
        padding: 1rem;
    }
    
    /* フッターのモバイル対応 */
    .footer {
        padding: 4rem 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-section {
        padding: 2rem 1rem;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        clip-path: none;
        box-shadow: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 260px;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-section a {
        padding: 0.6rem 1.2rem;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 20px;
        display: inline-block;
        margin: 0 auto;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        font-size: 1rem;
    }
}

/* モバイルメニュー */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルメニューのレスポンシブ対応 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(241, 245, 249, 0.9) 100%) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(100, 116, 139, 0.2) !important;
        flex-direction: column !important;
        padding: 2rem 0 !important;
        gap: 1rem !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        transition: all 0.3s ease !important;
        z-index: 1000 !important;
        display: none !important;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    .nav-item {
        text-align: center !important;
    }
    
    .nav-link {
        display: block !important;
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
        border-radius: 0 !important;
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.1) !important;
        color: #1e293b !important;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 30px;
    }
}

.hero-background-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

.background-logo-image {
    width: 600px;
    height: auto;
    opacity: 0.1;
    transition: all 0.8s ease;
}

.hero-section:hover .background-logo-image {
    opacity: 0.32;
    transform: scale(1.02);
}
