
dialog {
    border: solid 1px #888;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}


/* モーダルを常に中央に表示するためのスタイル */
dialog {
    position: fixed;  /* スクロールしても固定 */
    width: calc(100% - 20px);
    max-width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* 正確に中央に配置 */
    margin: 0;  /* ブラウザのデフォルトマージンを無効化 */
    /* padding: 20px; */
    /* border: 1px solid black; */
}

/* ダイアログ背景を暗くするためのスタイル */
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.6);  /* 半透明の背景 */
}



.dialog-title {
    font-size: 20px;
    text-decoration: underline;
}

.dialog-head {
    margin-top: 20px;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
}

.dialog-close-button {
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    font-weight: bold;
    background-color: #ff7b00;
    color: white;
    margin: 20px 0 0 0;
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.dialog-close-button:hover, .dialog-close-button:focus {
    background-color: #e26d00;
    color: white;
}

.hint-dialog-code {
    margin: 5px 0;
    padding: 10px;
    background-color: #eee;
    border-radius: 3px;
    font-size: 13px;
}
