/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* 共通コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* サイドナビゲーション */
.side-nav {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 100;
    width: 220px;
    max-height: calc(100vh - 200px);
}

/* PC表示でのサイドナビ調整 */
@media (min-width: 1200px) {
    .side-nav {
        left: 50px;
        width: 200px;
        padding: 25px 20px;
        border-radius: 25px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    }
    
    .logo {
        font-size: 16px;
        padding: 12px;
    }
    
    .side-nav a {
        font-size: 16px;
        padding: 12px 18px;
        margin: 12px 0;
    }
}

@media (min-width: 1400px) {
    .side-nav {
        left: 60px;
        width: 240px;
        padding: 30px 25px;
    }
    
    .logo {
        font-size: 18px;
        padding: 15px;
    }
    
    .side-nav a {
        font-size: 18px;
        padding: 15px 20px;
        margin: 15px 0;
    }
}

.logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    background: #ff6b9d;
    color: white;
    padding: 10px;
    display: inline-block;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.2;
}

.logo-text {
    display: block;
}

.nav-menu {
    list-style: none;
    margin: 0 -10px;
}

.nav-menu li {
    margin-bottom: 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #ff6b9d;
    display: block;
    transition: all 0.3s;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
}

.nav-menu a:hover {
    transform: translateX(5px);
    background: #000;
    color: white;
}

.nav-menu a:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.nav-title {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.nav-subtitle {
    font-size: 10px;
    color: #666;
    display: block;
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3c1 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

/* ヒーローコンテンツ */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 0 40px;
    margin-left: 280px;
}

/* タブレット～中サイズPC表示の調整 */
@media (min-width: 769px) {
    /* achievement-bubbleを中央配置 */
    .achievement-bubble {
        position: relative;
        margin: 20px auto;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        margin-left: 200px;
    }
}

/* PC表示の最適化 */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 120vh;
    }
    
    .hero-content {
        margin-left: 240px;
        padding: 0 60px;
        min-height: calc(100vh - 80px);
    }
    
    .hero-main {
        flex-direction: column;
        gap: 50px;
        padding-top: 0;
        transform: scale(1.1);
        transform-origin: center;
    }
    
    .hero-image {
        max-width: 450px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .achievement-bubble {
        padding: 30px;
    }
    
    .achievement-bubble h2 {
        font-size: 36px;
    }
    
    .achievement-text {
        font-size: 24px;
    }
}

@media (min-width: 1400px) {
    .hero-content {
        margin-left: 280px;
        padding: 0 80px;
    }
    
    .hero-main {
        flex-direction: column;
        gap: 60px;
        transform: scale(1.2);
    }
    
    .hero-image {
        max-width: 500px;
    }
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 50px;
}

.hero-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hero-text {
    color: white;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.tiktok-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: black;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.tiktok-badge img {
    height: 30px;
}

.live-badge {
    background: #FF0050;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.hero-title {
    margin-bottom: 20px;
}

.name-en {
    font-size: 48px;
    font-weight: 300;
    display: block;
}

.name-jp {
    font-size: 72px;
    font-weight: 900;
    display: block;
    margin-top: -10px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
}

.achievement-bubble {
    background: white;
    color: #333;
    padding: 30px 40px;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.achievement-bubble h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.achievement-text {
    font-size: 28px;
    font-weight: 900;
}

.highlight-yellow {
    color: #FFD700;
    text-shadow: 2px 2px 0 #333;
}

/* メンバースライダー */
.member-slider-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    overflow: hidden;
    padding: 20px 0;
}

/* PC表示でのメンバースライダー調整 */
@media (min-width: 1200px) {
    .member-slider-container {
        bottom: 40px;
        padding: 30px 0;
    }
    
    .member-avatar img {
        width: 100px;
        height: 100px;
        border: 4px solid white;
    }
    
    /* PC表示でのachievement-bubble位置調整 */
    .achievement-bubble {
        position: absolute;
        top: 65%;
        right: -60%;
        z-index: 20;
    }
}

@media (min-width: 1400px) {
    .member-slider-container {
        bottom: 60px;
    }
    
    .member-avatar img {
        width: 120px;
        height: 120px;
        border: 5px solid white;
    }
}

.member-slider {
    display: flex;
    gap: 20px;
    animation: slideLeft 80s linear infinite;
    -webkit-animation: slideLeft 80s linear infinite;
    width: max-content;
    will-change: transform;
    animation-play-state: running;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@-webkit-keyframes slideLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.member-avatar {
    flex-shrink: 0;
}

.member-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #333;
}

.section-title i {
    color: #ff6b9d;
}

/* チームセクション */
.team-section {
    background: #f8f9fa;
}

/* SVG/PNGフォールバック */
.member-card img, .member-item img, .member-avatar img, .hero-image, .about-image img, .support-icon img {
    background-image: url('images/team/fallback.png');
    background-size: cover;
    background-position: center;
}

/* メインメンバーグリッド（大きく表示） */
.main-members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    transition: opacity 0.3s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.main-member {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-member:hover {
    transform: translateY(-10px);
}

.main-member img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 30px;
}

.main-member h3 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: 700;
}

.main-member p {
    color: #666;
    font-size: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* TEAMセクションのリンクスタイル */
.member-card a,
.member-item a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-card a:hover,
.member-item a:hover {
    color: #ff4582;
    text-decoration: underline;
}

/* メンバーカードのクリック時のスタイル */
.member-card.clickable:hover,
.member-item.clickable:hover {
    cursor: pointer;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.4);
    background-color: rgba(255, 255, 255, 0.95);
}

/* サブメンバーグリッド（小さく表示） */
.sub-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.sub-member {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.sub-member:hover {
    transform: translateY(-5px);
}

.sub-member img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.sub-member .member-info {
    padding: 12px;
    text-align: center;
}

.sub-member .member-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sub-member .member-info p {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

/* 大画面でのPC表示 */
@media (min-width: 1200px) {
    .ranking-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
}

.member-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.member-card:hover {
    transform: translateY(-10px);
}

.rank-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #333;
    font-size: 20px;
    padding: 14px 35px;
}

/* 1位カード特別スタイル */
.rank-1 {
    background: linear-gradient(135deg, #fff 0%, #fffdf5 100%);
    border: 2px solid #ffd700;
    width: 100%;
}

.rank-1:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #c0c0c0 0%, #e6e6e6 100%);
    color: #333;
}

/* 2位カード */
.rank-2 {
    width: 100%;
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
}

/* 3位カード */
.rank-3 {
    width: 100%;
}

/* 4位カード */
.rank-4 {
    width: 100%;
}

.member-card img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 15px;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.member-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.member-card p {
    color: #666;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    transition: opacity 0.3s ease;
    max-width: 1200px;
    margin: 0 auto;
}

/* タブレット表示 */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

.member-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 100%;
}

.member-item:hover {
    transform: translateY(-5px);
}

.member-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.member-info {
    padding: 12px;
    text-align: center;
}

.member-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.member-name {
    height: 30px;
    width: auto;
    margin-bottom: 5px;
}

.member-info p {
    color: #888;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* RECRUITセクション */
.recruit-section {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3c1 100%);
    color: white;
}

.recruit-content-redesign {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.recruit-header {
    margin-bottom: 50px;
}

.recruit-header h3 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.recruit-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.condition-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.condition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.condition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
}

.condition-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.condition-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.condition-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.recruit-cta {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.recruit-highlight {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ABOUTセクション */
.about-section {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.achievements {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.achievements h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.achievements ul {
    list-style: none;
}

.achievements li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.achievements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-weight: bold;
}

/* SUPPORTセクション */
.support-section {
    background: #fff;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.support-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    margin-bottom: 30px;
}

.support-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.support-icon i {
    font-size: 60px;
    color: #ff6b9d;
}

.support-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.support-text p {
    font-size: 16px;
    color: #666;
}

/* FAQセクション */
.faq-section {
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    color: #ff6b9d;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.8;
}

/* CONTACTセクション */
.contact-section {
    background: #fff;
    text-align: center;
}

.contact-content p {
    font-size: 24px;
    margin-bottom: 40px;
    color: #333;
}

.social-links {
    display: flex;
    justify-content: center;
}

.tiktok-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url('/images/tiktok-logo.svg') no-repeat center center;
    background-size: contain;
    color: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.3s;
    width: 300px;
    height: 100px;
}

.tiktok-link:hover {
    transform: scale(1.05);
}

.tiktok-link i {
    font-size: 40px;
}

/* フッター */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* ランキンググリッドのモバイル調整 - 必ず縦1列 */
    .ranking-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        width: 100%;
        padding: 0 15px;
        max-width: 500px;
        margin: 0 auto 60px;
        gap: 25px;
    }
    
    .member-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 25px;
    }
    
    .member-card img {
        max-width: 250px;
    }
    
    /* サイドナビをモバイル用に調整 */
    .side-nav {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        transform: none;
        max-height: none;
        padding: 70px 15px 20px 15px;
        transition: left 0.3s ease;
        z-index: 1500;
        box-shadow: 0 0 30px rgba(0,0,0,0.8);
        overflow-y: auto;
        overflow-x: visible;
        background: #fff !important;
        border-radius: 0;
        border-right: 8px solid #ff6b9d !important;
    }
    
    .side-nav.mobile-active {
        left: 0;
    }
    
    /* モバイルオーバーレイ */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1400;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* モバイルメニューボタンを表示 */
    .mobile-menu-toggle {
        display: block;
        z-index: 1600;
    }
    
    /* ヒーローコンテンツのマージンを削除 */
    .hero-content {
        margin-left: 0;
        flex-direction: column;
        text-align: center;
        padding: 20px 20px 150px;
        min-height: calc(100vh - 150px);
        justify-content: center;
    }
    
    /* ヒーローメインを縦並びに調整 */
    .hero-main {
        flex-direction: column;
        gap: 30px;
        padding-top: 20px;
        align-items: center;
    }
    
    /* ヒーロー画像をモバイル用に調整 */
    .hero-image {
        max-width: 250px;
        order: 1;
    }
    
    /* ヒーローテキストをモバイル用に調整 */
    .hero-text {
        order: 2;
        width: 100%;
    }
    
    /* 白い丸（achievement-bubble）をモバイル用に調整 */
    .achievement-bubble {
        width: 200px;
        height: 200px;
        padding: 20px;
        margin: 20px auto 40px;
        position: relative;
        z-index: 10;
    }
    
    .achievement-bubble h2 {
        font-size: 18px;
    }
    
    .achievement-text {
        font-size: 20px;
    }
    
    /* メンバースライダーを左端から開始 */
    .member-slider-container {
        left: 0;
        bottom: 0;
        position: absolute;
        z-index: 5;
    }
    
    /* モバイルナビのメニュー調整 */
    .side-nav .logo-area {
        margin-bottom: 20px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center;
    }
    
    .side-nav .logo {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 0;
        background: #ff6b9d !important;
        color: white !important;
        padding: 10px !important;
        font-weight: 900 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        border-radius: 0 !important;
        border: none !important;
    }
    
    .side-nav .logo-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: white !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        text-shadow: none !important;
    }
    
    .side-nav .nav-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .side-nav .nav-menu li {
        margin-bottom: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    .side-nav .nav-menu a {
        display: block !important;
        background: #ff6b9d !important;
        color: white !important;
        padding: 15px 10px !important;
        margin: 10px 0 !important;
        font-size: 16px !important;
        font-weight: bold !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        border: 2px solid #000 !important;
    }
    
    .side-nav .nav-menu a:hover {
        background: #000 !important;
        color: white !important;
        transform: translateX(5px) !important;
    }
    
    .side-nav .nav-title {
        display: block !important;
        color: white !important;
        font-size: 18px !important;
        font-weight: bold !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .side-nav .nav-subtitle {
        display: block !important;
        color: rgba(255,255,255,0.8) !important;
        font-size: 12px !important;
        font-weight: normal !important;
        margin: 2px 0 0 0 !important;
        padding: 0 !important;
    }
    
    .side-nav .nav-menu a:hover .nav-title {
        color: white !important;
    }
    
    .side-nav .nav-menu a:hover .nav-subtitle {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* ヒーロータイトルをモバイル用に調整 */
    .hero-title {
        margin-bottom: 15px;
    }
    
    .name-en {
        font-size: 28px;
    }
    
    .name-jp {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    /* TikTokバッジをモバイル用に調整 */
    .tiktok-badge {
        padding: 8px 16px;
        margin-bottom: 15px;
    }
    
    .tiktok-badge img {
        height: 24px;
    }
    
    .live-badge {
        padding: 4px 12px;
        font-size: 12px;
    }
    
    /* コンテナのパディング調整 */
    .container {
        padding: 0 15px;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 32px;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    /* セクション全体のパディング調整 */
    section {
        padding: 60px 0;
    }
    
    .ranking-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 10px;
        max-width: 100%;
        width: 100%;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .member-card {
        max-width: 100%;
        width: 100%;
    }
    
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .member-item {
        width: 100%;
    }
    
    .member-item img {
        height: 140px;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .condition-card {
        max-width: 100%;
    }
    
    /* RECRUITセクションのモバイル調整 */
    .recruit-content-redesign {
        padding: 0 10px;
    }
    
    .recruit-header h3 {
        font-size: 32px;
    }
    
    .recruit-subtitle {
        font-size: 18px;
    }
    
    .recruit-highlight {
        font-size: 20px;
    }
    
    .condition-card {
        padding: 20px 15px;
    }
    
    .condition-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .condition-content h4 {
        font-size: 20px;
    }
    
    .condition-content p {
        font-size: 14px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* FAQセクションのモバイル調整 */
    .faq-question {
        font-size: 16px;
        padding: 20px 15px;
    }
    
    .faq-answer p {
        padding: 0 15px 20px;
        font-size: 14px;
    }
    
    /* CONTACTセクションのモバイル調整 */
    .contact-content p {
        font-size: 20px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .tiktok-link {
        padding: 15px 30px;
        font-size: 18px;
        margin: 0 15px;
    }
    
    .tiktok-link i {
        font-size: 24px;
    }
}

/* iPhone・Android対応 */
@media (max-width: 480px) {
    /* 5-8位メンバーの表示調整 */
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 10px;
    }
    
    .member-item {
        width: 100%;
    }
    
    .member-item img {
        height: 100px;
    }
    
    .member-info {
        padding: 8px;
    }
    
    .member-info h4 {
        font-size: 11px;
    }
    
    .member-info p {
        font-size: 10px;
    }
    /* ランキングカード調整 - 必ず縦1列 */
    .ranking-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .member-card {
        padding: 20px 15px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .member-card img {
        width: 100%;
        max-width: 220px;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .member-card h3 {
        font-size: 24px;
    }
    
    .member-card p {
        font-size: 16px;
    }
    
    .rank-badge {
        font-size: 16px;
        padding: 10px 25px;
    }
    
    .rank-1 .rank-badge {
        font-size: 18px;
        padding: 12px 30px;
    }
    /* より小さい画面用の調整 */
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    section {
        padding: 40px 0;
        overflow-x: hidden;
        width: 100%;
    }
    
    /* ヒーローセクションの追加調整 */
    .hero-content {
        padding: 10px 15px 120px;
        width: 100%;
        min-height: calc(100vh - 120px);
        overflow-x: hidden;
    }
    
    .hero-main {
        gap: 20px;
        padding-top: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 200px;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
    
    .achievement-bubble {
        width: 160px;
        height: 160px;
        padding: 12px;
        margin: 10px auto 25px;
        z-index: 10;
    }
    
    .achievement-bubble h2 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .achievement-text {
        font-size: 16px;
    }
    
    .name-en {
        font-size: 20px;
    }
    
    .name-jp {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* TikTokバッジをスマホ用に調整 */
    .tiktok-badge {
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .tiktok-badge img {
        height: 20px;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
        gap: 8px;
    }
    
    /* チームセクション */
    .member-card {
        padding: 20px 15px;
    }
    
    .member-card img {
        width: 100%;
        height: 180px;
        border-radius: 10px;
    }
    
    .member-card h3 {
        font-size: 18px;
    }
    
    .member-item img {
        height: 150px;
    }
    
    .member-info {
        padding: 15px;
    }
    
    .member-info h4 {
        font-size: 16px;
    }
    
    /* RECRUITセクション */
    .recruit-header h3 {
        font-size: 24px;
    }
    
    .recruit-subtitle {
        font-size: 14px;
    }
    
    .condition-card {
        padding: 15px 10px;
    }
    
    .condition-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .condition-content h4 {
        font-size: 18px;
    }
    
    .condition-content p {
        font-size: 13px;
    }
    
    .recruit-highlight {
        font-size: 18px;
    }
    
    /* ABOUTセクション */
    .about-text h3 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    /* SUPPORTセクション */
    .support-card {
        padding: 25px 15px;
    }
    
    .support-icon img {
        width: 60px;
        height: 60px;
    }
    
    .support-text h3 {
        font-size: 20px;
    }
    
    /* FAQセクション */
    .faq-question {
        font-size: 14px;
        padding: 15px 12px;
    }
    
    .faq-answer p {
        padding: 0 12px 15px;
        font-size: 13px;
    }
    
    /* CONTACTセクション */
    .contact-content p {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .tiktok-link {
        padding: 10px 20px;
        font-size: 14px;
        margin: 0 5px;
    }
    
    .tiktok-link i {
        font-size: 20px;
    }
    
    /* メンバースライダー */
    .member-slider-container {
        bottom: 5px;
        padding: 10px 0;
    }
    
    .member-slider {
        gap: 15px;
    }
    
    .member-avatar img {
        width: 60px;
        height: 60px;
        border: 2px solid white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
}

/* 超小型端末対応（iPhone SE等） */
@media (max-width: 375px) {
    /* 全体的な余白調整 */
    body {
        overflow-x: hidden;
    }
    
    .ranking-grid {
        padding: 0 10px;
    }
    
    .member-card {
        padding: 15px 10px;
        max-width: 100%;
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    
    .member-card img {
        width: 100%;
        max-width: 240px;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 10px;
    }
    
    .member-item {
        width: 100%;
    }
    
    .member-item img {
        height: 80px;
    }
    
    .member-info {
        padding: 6px;
    }
    
    .member-info h4 {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .member-info p {
        font-size: 9px;
    }
    .hero-image {
        max-width: 180px;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
    
    .achievement-bubble {
        width: 140px;
        height: 140px;
        padding: 10px;
    }
    
    .achievement-bubble h2 {
        font-size: 12px;
    }
    
    .achievement-text {
        font-size: 14px;
    }
    
    .name-en {
        font-size: 18px;
    }
    
    .name-jp {
        font-size: 24px;
    }
    
    .condition-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .condition-content h4 {
        font-size: 16px;
    }
    
    .member-avatar img {
        width: 50px;
        height: 50px;
    }
}

/* タッチデバイス対応 */
@media (pointer: coarse) {
    /* タッチしやすいボタンサイズ */
    .mobile-menu-toggle {
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .faq-question {
        min-height: 44px;
    }
    
    .tiktok-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ナビゲーションメニューのタッチ対応 */
    .side-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px !important;
    }
}

/* 横向き表示対応 */
@media (max-width: 768px) and (orientation: landscape) {
    /* ランキンググリッドを縦1列に固定 */
    .ranking-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    
    .member-card {
        max-width: 350px;
        width: 90%;
    }
    .hero-content {
        padding: 10px 10px 80px;
        min-height: calc(100vh - 80px);
    }
    
    .hero-main {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .hero-image {
        max-width: 200px;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        order: 1;
    }
    
    .hero-text {
        order: 2;
        flex: 1;
    }
    
    .achievement-bubble {
        width: 120px;
        height: 120px;
        margin: 10px 0;
    }
    
    .member-slider-container {
        bottom: 10px;
    }
}