@font-face {
    font-family: 'NotoSansJP';
    src: url('font/NotoSansJP-Light.ttf') format('truetype'); /* Font file in TTF format */
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'NotoSans';
    src: url('font/NotoSans-Light.ttf') format('truetype'); /* Font file in TTF format */
    font-weight: 300;
    font-style: normal;
}
* {
    font-family: 'NotoSansJP', 'NotoSans';
}
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
}

.container {
    max-width: 60%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

span[romanized]:nth-child(2n+1) {
    color: #787878;
}

span[romanized] {
    display: inline-block;
    overflow-wrap: break-word;
}

h1 {
    text-align: center;
    font-size: 24px;
    color: #333333;
}

button {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

#output {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

#stats, #status {
    font-size: 24px;
}

.container {
    text-align: center;
}

.options * {
    display: inline-block;
    margin: 0 5px;
}

#character, .options * {
    font-size: 30px;
}
.options {
    counter-reset: option-inc;
}
.options button::after {
    counter-increment: option-inc;
    display: block;
    content: "(" counter(option-inc) ")";
    font-size: 14px;
}
.options button {
    margin-bottom: 5px;
}
button.onlyHover {
    color: #fff;
    color: rgba(255, 255, 255, 0);
}
button.onlyHover:hover {
    color: #fff;
}
#status, #stats {
    display: block;
}
#status {
    color: red;
}