:root {
    --primary-color: #ff9a9e;
    /* かわいらしいピンク */
    --secondary-color: #fecfef;
    /* 柔らかいパステルピンク */
    --accent-color: #a1c4fd;
    /* AI感のあるクリアなブルー */
    --text-main: #4a4a4a;
    --text-light: #777777;
    --bg-glass: rgba(255, 255, 255, 0.85);
    /* 吹き出しが綺麗に見えるように少し不透明度を上げる */
    --bg-glass-hover: rgba(255, 255, 255, 0.95);
    --border-glass: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'M PLUS Rounded 1c', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-main);
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.8;
}

/* ====================================
   背景のAI風オーブ＆アニメーション 
==================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 25s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    bottom: -200px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: 30%;
    inset-inline-start: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(120px, 80px) scale(1.15);
    }
}

/* 飾りとしてのキラキラパーティクル */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* ====================================
   レイアウト・ヘッダー
==================================== */
.container {
    max-width: 800px;
    /* 1列なので少し狭めに */
    margin: 0 auto;
    padding: 0 20px 80px;
}

.hero {
    text-align: center;
    padding: 80px 0 50px;
}

.ai-badge {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.95rem;
    color: #ff758c;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255, 117, 140, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    letter-spacing: 1px;
}

.title {
    font-size: 2.8rem;
    color: #555;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 700;
}

.title span {
    color: transparent;
    background: linear-gradient(90deg, #ff758c 0%, #ff7eb3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ====================================
   吹き出しリスト (1列)
==================================== */
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* 余白を少し広めに */
}

/* 1件のアイテム（アイコン＋吹き出し） */
.voice-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* ユーザーアイコン */
.user-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 154, 158, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.user-icon svg {
    width: 30px;
    height: 30px;
}

/* 吹き出し本体 */
.voice-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    width: 100%;
}

/* 吹き出しのしっぽ（影を含む外側） */
.voice-card::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 14px 10px 0;
    border-color: transparent var(--border-glass) transparent transparent;
}

/* 吹き出しのしっぽ（内側） */
.voice-card::after {
    content: '';
    position: absolute;
    top: 25px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 12px 9px 0;
    /* 背景色と同じ白っぽさに設定 */
    border-color: transparent rgba(255, 255, 255, 0.95) transparent transparent;
    z-index: 1;
}

.voice-card:hover {
    transform: translateY(-4px);
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-md);
}

.voice-text {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
    z-index: 2;
    margin: 0;
    position: relative;
}

/* ====================================
   フッター
==================================== */
.footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px dashed rgba(255, 154, 158, 0.4);
    color: var(--text-light);
    font-weight: 500;
}

/* ====================================
   レスポンシブ 
==================================== */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .voice-item {
        gap: 12px;
    }

    .user-icon {
        width: 50px;
        height: 50px;
    }

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

    .voice-card {
        padding: 20px 24px;
    }

    .voice-card::before {
        top: 20px;
    }

    .voice-card::after {
        top: 21px;
    }
}