        .rules {
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 1.5em;
            margin-bottom: 2em;
            text-align: left;
        }
        
        .rules h2 {
            font-size: 1.1em;
            color: #333;
            margin-top: 0;
            margin-bottom: 1em;
            text-align: center;
        }
        
        .rules p {
            font-size: 0.9em;
            line-height: 1.7;
            margin: 0.5em 0;
        }
        
        .number-chart {
            font-family: monospace;
            font-size: 1.1em;
            text-align: center;
            padding: 0.5em;
            background-color: #fff;
            border-radius: 4px;
        }

        .input-group {
            margin-bottom: 1.5em;
        }

        label {
            display: block;
            margin-bottom: 0.5em;
            font-weight: bold;
            color: #555;
        }

        #fullName {
            width: 100%;
            padding: 0.8em;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-sizing: border-box;
            font-size: 1em;
        }

        #calculate-btn {
            background-color: #2a9d8f; /* メインカラーを少し変更 */
            color: white;
            border: none;
            padding: 0.9em 1.5em;
            border-radius: 6px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.1s;
        }
        
        #calculate-btn:hover {
            background-color: #268a7e;
        }

        #calculate-btn:active {
            transform: scale(0.98);
        }

        .result-area {
            margin-top: 2em;
            display: none;
        }

        .result-area h2 {
            color: #555;
            font-size: 1.2em;
            margin-bottom: 0.5em;
        }

        #result-display a {
            text-decoration: underline;
        }
        
        #result-display p {
            font-size: 6em;
            font-weight: bold;
            color: #000000;
            margin: 0;
            padding: 0.2em 0 0;
            text-align: center;
            line-height: 1 !important;
        }

        #result-display p.link {
            font-size: 1.2rem !important;
            font-weight: normal;
            margin: 0 0 2em;
            padding: 0em;
        }