<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <style>
            body { writing-mode: vertical-rl; }
            .underline { text-decoration: underline; }
            .overline { text-decoration: overline; }
    </style>
</head>
<body lang="en">
    <div class="underline">サンプル</div>
    <div class="underline">サンプル</div>
</body>
</html>

