html
{
  font-size: 24px;
  font-family: "Helvetica Neue", "Helvetica", "Segoe UI", "Arial",
               "JPAGothic", "IPAGothic",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", "MS Gothic",
               sans-serif;
  width: 960px;
  text-align: justify;
  margin: auto;
  punctuation-trim: adjacent;
}

em
{
  font-style: normal;
  font-size: 120%;
  font-weight: bold;
  color: red;
  font-family: "Helvetica Neue", "Helvetica", "Segoe UI", "Arial",
               "JPAGothic", "IPAGothic",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", "MS Gothic",
               sans-serif;
}

.miteruzochan
{
  white-space: nowrap;
}

section
{
  margin-bottom: 3em;
}

p:not(.noindent)
{
  text-indent: 1em;
}

p
{
  margin: 0 2em;
  line-height: 3em;
}

.copy
{
  font-size: 200%;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  font-family: "Times New Roman",
               "JPAMincho", "IPAMincho", "Hiragino Mincho ProN",
               "Yu Mincho", "MS Mincho",
               serif;
  margin: 1em 0;
}

footer
{
  font-size: 16px;
  color: dimgray;
  text-align: center;
  line-height: 2em;
  padding-bottom: 24px;
}

footer > div
{
  margin: 24px 0;
}

.copyright
{
  text-align: center;
  margin: 24px 0;
}

footer a
{
  color: darkslategray;
}

a
{
  text-decoration: none;
}

div.paragraph
{
  margin-bottom: 1.5em;
}

table
{
  margin: auto;
}

tr:nth-child(odd)
{
  background-color: lightgray;
}

th, td
{
  padding: 8px 16px;
}

#title
{
  text-align: left;
  display: inline-block;
}

#translate
{
  text-align: right;
  display: inline-block;
  width: 288px;
}

header
{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button, input
{
  font-size: 24px;
}

body
{
  background-color: aquamarine;
}

table
{
  margin: 24px auto 40px;
}

td
{
  padding: 8px;
}

table, td
{
  border: solid 1px;
  background-color: white;
}

#paint
{
  margin-bottom: 64px;
}

#paint > div
{
  margin: 24px auto;
}

h1, .illust
{
  text-align: center;
}

.radio
{
  /* width: 704px; */
  /* display:        inline-block; */
  vertical-align: middle;
  line-height:    1.5em;
  /* margin:         auto; */
}

.button-area, .canvas-area
{
  text-align: center;
}

.canvas-area
{
  width: 480px;
  height: 480px;
  max-width: 100%;
  position: relative;
  padding: 0;
  box-sizing: content-box;
}

.canvas-area:before
{
  content: "";
  display: block;
  padding-top: 100%;
}

.canvas-area > canvas
{
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid;
  max-width: 100%;
  box-sizing: content-box;
  padding: 0;
  margin: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 400px;
  text-align: center;
}

@media only screen and (max-width: 600px) {
  .modal-content {
    width: 70%;
  }
}
