/* kengen.php から移動（2026-11-10 CSP の unsafe-inline 除去） */
        /* 権限明示ページ専用スタイル */
        
        .kengen_flex {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-top: 20px;
            margin-bottom: 30px;
        }

        .kengen_box {
            flex: 1;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            overflow: hidden;
            display: flex;
            flex-direction: column; /* 中身を縦並びに */
        }

        .kengen_header {
            background: #5bb7ae;
            color: #fff;
            padding: 15px;
            text-align: center;
            font-size: 1.3em;
            font-weight: bold;
        }
        
        .kengen_box.life .kengen_header {
            background: #5d58a6; /* 紫系 */
        }

        /* ▼▼▼ ここを修正しました ▼▼▼ */
        .kengen_content {
            padding: 25px;
            flex-grow: 1; /* 親ボックスの高さに合わせて伸びる */
            
            /* 中身の配置制御 */
            display: flex;
            flex-direction: column; 
        }
        /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

        .status_badge {
            display: block;
            text-align: center;
            padding: 10px;
            margin-bottom: 20px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1.1em;
        }

        .status_badge.done {
            background: #e0f2f1;
            color: #00695c;
            border: 2px solid #00695c;
        }

        .status_badge.relay {
            background: #f3e5f5;
            color: #4a148c;
            border: 2px solid #4a148c;
        }

        .kengen_text {
            font-size: 1.0em;
            line-height: 1.8;
            margin-bottom: 20px;
            color: #333;
        }

        .kengen_text strong {
            background: linear-gradient(transparent 70%, #ffeb3b 70%);
            font-weight: bold;
        }

        /* ▼▼▼ ここを修正しました ▼▼▼ */
        /* 注意書きボックス */
        .note_box {
            background: #fff8e1;
            border: 2px dashed #fbc02d;
            padding: 15px;
            font-size: 0.95em;
            border-radius: 8px;
            line-height: 1.6;
            
            margin-top: auto; /* これにより、ボックスが常に最下部に配置されます */
        }
        /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */
        
        .note_title {
            display: block;
            font-weight: bold;
            color: #e65100;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
        }
        
        .note_title::before {
            content: "！";
            display: inline-block;
            width: 20px;
            height: 20px;
            background: #e65100;
            color: white;
            text-align: center;
            line-height: 20px;
            border-radius: 50%;
            margin-right: 8px;
            font-size: 14px;
        }

        @media screen and (max-width: 768px) {
            .kengen_flex {
                flex-direction: column;
            }
        }
    