@charset "UTF-8";

/* =========================================
   共通設定 (Common Settings)
   ========================================= */
body {
    font-family: 'Noto Sans JP', sans-serif;
    padding-top: 64px;
}

.font-eng {
    font-family: 'Inter', sans-serif;
}

/* =========================================
   index.html 用スタイル
   ========================================= */

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.tester-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

    .tester-item .name {
        font-weight: 500;
    }

.social-links {
    display: flex;
    gap: 16px;
    font-size: 1.8rem;
}

    .social-links a {
        color: #666;
        transition: opacity 0.2s;
        text-decoration: none;
    }

        .social-links a:hover {
            opacity: 0.7;
        }

@media (max-width: 600px) {
    .testers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.voice-section {
    width: 100%;
    padding: 60px 0px;
    box-sizing: border-box;
}

.voice-container {
    max-width: 1080px;
    margin: 0 auto;
}

.chat-scroller-component {
    width: 100%;
    max-width: 100%;
    height: 400px;
    background-color: #ffffff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.chat-scroll-content {
    height: 100%;
    overflow-y: auto;
    padding: 30px 40px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}

    .chat-scroll-content::-webkit-scrollbar {
        width: 6px;
    }

    .chat-scroll-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .chat-scroll-content::-webkit-scrollbar-thumb {
        background-color: #cccccc;
        border-radius: 10px;
    }

.chat-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: cover;
    /* border: 1px solid #ccc; */
}

.bubble {
    padding: 14px 20px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 80%;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.user-row {
    justify-content: flex-start;
}

.user-avatar {
    background-color: #e5e7eb;
    margin-right: 15px;
}

.user-bubble {
    background-color: #e0e0e0;
    color: #333;
    border-top-left-radius: 4px;
}

.admin-row {
    justify-content: flex-end;
    margin-bottom: 30px;
}

.admin-avatar {
    background-color: #777777;
    margin-left: 15px;
}

.admin-bubble {
    background-color: #777777;
    color: #ffffff;
    border-top-right-radius: 4px;
}

.admin-badge {
    background-color: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
}

.text-highlight {
    color: #555555;
    font-weight: bold;
}

.scroll-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.user-avatar {
    background-color: #e0e0e0;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .user-avatar svg {
        width: 60%;
        height: 60%;
        fill: #9e9e9e;
    }

.message-container {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

    .message-container .bubble {
        max-width: 100%;
    }

.user-name {
    font-size: 12px;
    color: #888888;
    margin-bottom: 5px;
    margin-left: 4px;
    font-weight: bold;
}


/* =========================================
   manual.html 用スタイル
   ========================================= */

main h2 {
    background: linear-gradient(to right, #f0fdf4, #fff);
    border-left: 5px solid #16a34a;
    padding: 10px 15px;
}

details > summary {
    list-style: none;
}

    details > summary::-webkit-details-marker {
        display: none;
    }
