        :root {
            --dolby-base: #0033aa;
            --dolby-bright: #0088ff;
            --edgy-brown: #9E5B22;
            --edgy-dark-brown: #4A2B0E;
            --bg-body: #f4f7fa;
            --bg-card: #ffffff;
            --text-main: #334155;
            --text-muted: #64748b;
            --accent-color: #0ea5e9;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, .05), 0 5px 10px rgba(0, 0, 0, .01);
            --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, .08), 0 10px 20px rgba(0, 0, 0, .04);
            /* チャット用カラー */
            --bubble-user-bg: linear-gradient(135deg, #0088ff, #0033aa);
            --bubble-user-text: #ffffff;
            --bubble-admin-bg: #e8f4fd;
            --bubble-admin-text: #1a3a52;
            --bubble-admin-border: #90c8f0;
        }

        body {
            font-family: 'Noto Sans JP', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }


        /* --------------------------
           ヒーローセクション (Slim 25vh)
           -------------------------- */
        .hero-slim {
            position: relative;
            width: 100%;
            height: 25vh;
            min-height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: transparent;
            margin-bottom: 2rem;
        }

        .sound-wave-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 1px;
            height: 1px;
            pointer-events: none;
            z-index: 1;
        }

        .wave {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            border-radius: 50%;
            background: transparent;
            box-shadow: 0 0 20px rgba(0, 136, 255, 0.4);
            border: 2px solid rgba(102, 178, 255, 0.6);
            opacity: 0;
            filter: blur(4px);
            animation: bass-drop-epic 4.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
        }

        .wave:nth-child(1) {
            animation-delay: 0s;
            width: 100px;
            height: 100px;
        }

        .wave:nth-child(2) {
            animation-delay: 0.15s;
            width: 100px;
            height: 100px;
        }

        .wave:nth-child(3) {
            animation-delay: 0.3s;
            width: 100px;
            height: 100px;
            border-style: dashed;
        }

        .wave-huge {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 136, 255, .8) 0%, rgba(0, 51, 170, .5) 50%, transparent 80%);
            filter: blur(15px);
            animation: bass-boom 4.5s cubic-bezier(0.1, 0.9, 0.2, 1) infinite;
        }

        .core {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 60px;
            height: 60px;
            background: radial-gradient(circle, #fff 0%, #66b2ff 40%, #0033aa 100%);
            border-radius: 50%;
            filter: blur(8px);
            transform: translate(-50%, -50%);
            box-shadow: 0 0 40px rgba(0, 136, 255, .9);
            animation: core-pulsate 4.5s ease-in-out infinite;
        }

        @keyframes bass-drop-epic {
            0% {
                transform: translate(-50%, -50%) scale(0);
                opacity: 0;
            }

            5% {
                transform: translate(-50%, -50%) scale(.6);
                opacity: .6;
            }

            15% {
                transform: translate(-50%, -50%) scale(.9);
                opacity: .8;
            }

            28% {
                transform: translate(-50%, -50%) scale(2);
                opacity: 1;
                background: rgba(0, 136, 255, .05);
                border: 3px solid var(--edgy-brown);
                box-shadow: 0 0 70px rgba(0, 136, 255, .9), inset 0 0 20px var(--edgy-dark-brown);
            }

            45% {
                transform: translate(-50%, -50%) scale(6);
                opacity: 0;
            }

            100% {
                transform: translate(-50%, -50%) scale(10);
                opacity: 0;
            }
        }

        @keyframes bass-boom {

            0%,
            20% {
                transform: translate(-50%, -50%) scale(0);
                opacity: 0;
            }

            25% {
                transform: translate(-50%, -50%) scale(5);
                opacity: .9;
            }

            50% {
                transform: translate(-50%, -50%) scale(25);
                opacity: 0;
            }

            100% {
                transform: translate(-50%, -50%) scale(30);
                opacity: 0;
            }
        }

        @keyframes core-pulsate {
            0% {
                transform: translate(-50%, -50%) scale(1);
                filter: blur(8px);
            }

            28% {
                transform: translate(-50%, -50%) scale(1.8);
                filter: blur(15px);
                box-shadow: 0 0 80px rgba(0, 136, 255, 1);
                background: #fff;
            }

            50% {
                transform: translate(-50%, -50%) scale(1);
                filter: blur(8px);
                background: radial-gradient(circle, #fff 0%, #66b2ff 40%, #0033aa 100%);
            }

            100% {
                transform: translate(-50%, -50%) scale(1);
                filter: blur(8px);
            }
        }

        .hero-text {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0 1rem;
        }

        /* --------------------------
           コンテナ
           -------------------------- */
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 1.2rem;
            box-sizing: border-box;
        }

        /* --------------------------
           注意書きカード
           -------------------------- */
        .notice-card {
            background: #fffbeb;
            border: 1px solid #fde68a;
            border-radius: 16px;
            padding: 1.2rem 1.5rem;
            margin-bottom: 2rem;
            font-size: 0.88rem;
            color: #92400e;
            line-height: 1.8;
        }

        .notice-card strong {
            display: block;
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
            color: #78350f;
        }

        .notice-card ul {
            margin: 0.4rem 0 0;
            padding-left: 1.3rem;
        }

        .notice-card li {
            margin-bottom: 0.3rem;
        }

        /* --------------------------
           成功・エラーメッセージ
           -------------------------- */
        .msg-box {
            border-radius: 12px;
            padding: 1rem 1.5rem;
            margin-bottom: 1.5rem;
            font-weight: bold;
            font-size: 0.95rem;
        }

        .msg-box.success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }

        .msg-box.error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        /* --------------------------
           投稿フォームカード
           -------------------------- */
        .form-card {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 1.8rem 1.5rem;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(0, 0, 0, .03);
            margin-bottom: 3rem;
        }

        .form-card h2 {
            font-family: 'M PLUS Rounded 1c', sans-serif;
            font-size: 1.15rem;
            color: var(--dolby-base);
            margin: 0 0 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

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

        .form-group label {
            display: block;
            font-weight: 700;
            font-size: 0.9rem;
            margin-bottom: 0.4rem;
            color: var(--text-main);
        }

        .form-group input[type="text"],
        .form-group textarea {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            font-family: 'Noto Sans JP', sans-serif;
            color: var(--text-main);
            background: #f8fafc;
            box-sizing: border-box;
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
            resize: vertical;
        }

        .form-group input[type="text"]:focus,
        .form-group textarea:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
            background: #fff;
        }

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

        /* ハニーポット非表示 */
        .hp-field {
            display: none !important;
        }

        .submit-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--dolby-bright), var(--dolby-base));
            color: #fff;
            border: none;
            border-radius: 50px;
            font-size: 1.05rem;
            font-weight: bold;
            font-family: 'M PLUS Rounded 1c', sans-serif;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0, 136, 255, .3);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0, 136, 255, .4);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* --------------------------
           チャット一覧エリア
           -------------------------- */
        .chat-area {
            margin-bottom: 3rem;
        }

        .chat-empty {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
            padding: 2rem;
            background: var(--bg-card);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
        }

        /* チャットグループ（1投稿＋返信で1セット） */
        .chat-group {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 1.5rem 1.2rem;
            margin-bottom: 1.8rem;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(0, 0, 0, .04);
            position: relative;
        }

        /* グループ番号バッジ */
        .chat-group-number {
            position: absolute;
            top: -0.6rem;
            left: 1.2rem;
            background: linear-gradient(135deg, var(--dolby-bright), var(--dolby-base));
            color: #fff;
            font-size: 0.72rem;
            font-weight: 700;
            font-family: 'M PLUS Rounded 1c', sans-serif;
            padding: 0.15rem 0.7rem;
            border-radius: 50px;
            box-shadow: 0 2px 8px rgba(0, 136, 255, .25);
            letter-spacing: 0.03em;
        }

        /* ユーザー吹き出し（右） */
        .bubble-wrap.user {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            margin-bottom: 0.6rem;
        }

        .bubble-meta.user {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-bottom: 0.3rem;
            text-align: right;
        }

        .bubble.user {
            background: var(--bubble-user-bg);
            color: var(--bubble-user-text);
            border-radius: 20px 20px 4px 20px;
            padding: 0.9rem 1.2rem;
            max-width: 82%;
            word-break: break-word;
            box-shadow: 0 4px 15px rgba(0, 136, 255, .2);
        }

        .bubble.user .bubble-subject {
            font-weight: 800;
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
            opacity: 0.9;
        }

        .bubble.user .bubble-body {
            font-size: 0.9rem;
            line-height: 1.7;
        }

        /* 管理者吹き出し（左） */
        .bubble-wrap.admin {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 0.6rem;
            padding-left: 1.5rem;
        }

        .bubble-meta.admin {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-bottom: 0.3rem;
        }

        .bubble.admin {
            background: var(--bubble-admin-bg);
            color: var(--bubble-admin-text);
            border-radius: 20px 20px 20px 4px;
            padding: 0.9rem 1.2rem;
            max-width: 82%;
            word-break: break-word;
            box-shadow: 0 4px 15px rgba(0, 136, 255, .12);
            border: 1.5px solid var(--bubble-admin-border);
            border-left: 4px solid var(--accent-color);
        }

        .bubble.admin .bubble-label {
            font-size: 0.78rem;
            font-weight: 800;
            color: var(--dolby-base);
            margin-bottom: 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .bubble.admin .bubble-body {
            font-size: 0.9rem;
            line-height: 1.7;
        }

        /* --------------------------
           ページネーション
           -------------------------- */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 2.5rem;
        }

        .page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 2.4rem;
            height: 2.4rem;
            padding: 0 0.6rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 700;
            font-family: 'M PLUS Rounded 1c', sans-serif;
            text-decoration: none;
            transition: background 0.2s, color 0.2s, transform 0.15s;
        }

        .page-btn.current {
            background: linear-gradient(135deg, var(--dolby-bright), var(--dolby-base));
            color: #fff;
            box-shadow: 0 4px 12px rgba(0, 136, 255, .3);
        }

        .page-btn.other {
            background: var(--bg-card);
            color: var(--text-main);
            border: 1.5px solid #e2e8f0;
        }

        .page-btn.other:hover {
            border-color: var(--accent-color);
            color: var(--accent-color);
            transform: translateY(-1px);
        }

        .page-btn.disabled {
            background: #f1f5f9;
            color: #cbd5e1;
            cursor: default;
            pointer-events: none;
        }

        /* --------------------------
           セクションタイトル
           -------------------------- */
        .section-title {
            font-family: 'M PLUS Rounded 1c', sans-serif;
            font-size: 1.2rem;
            color: var(--dolby-base);
            text-align: center;
            margin: 0 0 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .section-title::before,
        .section-title::after {
            content: '';
            display: inline-block;
            width: 36px;
            height: 3px;
            background: linear-gradient(90deg, var(--dolby-bright), var(--dolby-base));
            border-radius: 2px;
        }

        /* --------------------------
           下部アクション
           -------------------------- */
        .action-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 4rem;
        }

        .pill-btn.secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            color: var(--text-main);
            text-decoration: none;
            font-weight: bold;
            font-family: 'M PLUS Rounded 1c', sans-serif;
            font-size: 1.05rem;
            padding: 0.9rem 2rem;
            border-radius: 50px;
            border: 2px solid #e2e8f0;
            box-shadow: var(--card-shadow);
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s;
            box-sizing: border-box;
        }

        .pill-btn.secondary:hover {
            border-color: var(--accent-color);
            color: var(--accent-color);
            box-shadow: var(--card-shadow-hover);
            transform: translateY(-2px);
        }
