diff --git a/index.html b/index.html index 020626c..45ae753 100644 --- a/index.html +++ b/index.html @@ -16,9 +16,12 @@ color: #ffcc00; text-align: center; } - p { -  text-align: center; - } + + p { + width: fit-content; /* 内容に応じた幅だけにする */ + margin: 0 auto; /* ブロック全体を中央寄せ */ + text-align: right; /* 中の文字だけ右揃え */ + }   .section { margin-bottom: 3em;