@font-face {
    font-family: 'Cethik';
    font-style: normal;
    font-weight: 400;
    src: url('Cethik.woff2') format('woff2'); 
    font-display: block;
}

@font-face {
    font-family: 'MPlus';
    font-style: normal;
    font-weight: 400;
    src: url('m-plus-2-v5-latin_japanese-regular.woff2') format('woff2'); 
    font-display: block;
}

@font-face {
    font-family: 'Ryumin';
    font-style: normal;
    font-weight: 400;
    src: url('Ryumin.woff2') format('woff2'); 
    font-display: block;
}

@font-face {
    font-family: 'Kinta';
    font-style: normal;
    font-weight: 400;
    src: url('Kinta.woff2') format('woff2'); 
    font-display: block;
}

@font-face {
    font-family: 'shippori-mincho';
    font-style: normal;
    font-weight: 400;
    src: url('shippori-mincho.woff2') format('woff2'); 
    font-display: block;
}


body {
  background: #171412;
  color: Snow;
  font-family: 'MPlus', 'System-UI';
  font-size:13pt;
  margin: 0;
  padding: 0;
}

a {
  color: #ffbc71;
  white-space: nowrap;
}

sup {
  font-size: 9pt;  
}

.update {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2vh;
}

.update a, #mobile_links a {
  text-decoration: none;
  color: #e32636;
}

.update a::before {
  content: "↪ ";  
  opacity: 0;
  transition: opacity 0.2s ease;
}

.update a:hover::before {
  opacity: 1; 
}

iframe {
    border: solid 1px snow;
}

body > p {
  text-align: center;
  max-width: 70vw; 
  margin-left: auto;
  margin-right: auto;
}

body > p, td > p {
  text-wrap: balance;  
}

.charblock {
    margin-left: 12vw;
    margin-right: 12vw;
}

table {
    border-collapse:collapse;
}

td {
    vertical-align:top
}

td > h1{
    margin-left: 3vw;
    margin-right: 12vw;
}

td > p, td > ul, td > small {
    margin-left: 4vw;
    margin-right: 12vw;
}

h1:has(+small) {
    margin-bottom: 20px;
}



ruby {
    font-family: 'shippori-mincho', 'yu mincho', 'yumincho'
}

.jpruby {
    font-family: 'Ryumin', 'yu mincho', 'yumincho'
}

rt {
    font-size: 17pt;
}

.title {
    font-family: 'Cethik';
    font-size: 10em;
    color: #e32636;
    line-height: 1;
    pointer-events: none;
}

figcaption {
  text-shadow: 0 0 10px black;
}

.header, .update, .mobile_links_inner {
    letter-spacing: 3px;
    font-family: 'Kinta';
}

.jpheader, .jpupdate {
    letter-spacing: 3px;
    font-family: 'Ryumin';
}

.jpdate {
    font-family: 'Kinta';
    display: inline;
}


hr.fancy-line { 
    border: 0; 
    height: 1px;
    position: relative;
    margin: 0.5em 0; /* Keep other elements away from pseudo elements*/
}
hr.fancy-line:before {
    top: -0.5em;
    height: 1em;
}
hr.fancy-line:after {
    content:'';
    height: 0.5em;   /* half the height of :before */
    top: 1px;        /* height of hr*/
}

hr.fancy-line:before, hr.fancy-line:after {
    content: '';
    position: absolute;
    width: 100%;
}

hr.fancy-line, hr.fancy-line:before {
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 75%);
    background: -webkit-gradient(radial, center center, 0px, center center, 75%, color-stop(0%,rgba(255,255,255,0.1)), color-stop(75%,rgba(255,255,255,0)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 75%);
    background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 75%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 75%);
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 75%);
}

hr.fancy-line:after {
    background: #f4f4f4;
}


.charblock {
    border-collapse:collapse;
}

.charblock img {
    padding: 15px;
}

.charblock tr {
    border-bottom: thin solid Snow;
}

tr:last-of-type {
    border: none;
}

.language_picker {
  right: 0%;
  top: 0%;
  padding-right: 40px;
  padding-top: 25px;
  position: absolute;
  cursor: pointer;
  user-select: none;
  color: snow;
}

.language_picker a {
  text-decoration: none;
  color: inherit;
}

.links_button {
  display: none;
  border: none;
  background-color: inherit;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  position: absolute;
  top: 0%;
  padding-left: 25px;
  padding-top: 10px;
  font-size: inherit;
}

.mobile_links_inner {
  display: grid;
  padding: 10px;
}

@media (max-width: 600px) {
   .title {font-size: 5em;}
   .language_picker {padding-top: 10px;}
   .links_button {display: block;}
   .update a { display: none;}
   #mobile_links { background: inherit; border: outset 4px #e32636;}
   .charblock { margin: 0; }
   h1:has(+ small) {margin-bottom: 5px;}
   small {font-size: 4vmin}
   td { display: block; max-width: 80vw; margin-left: 12vw; text-wrap: balance; margin-bottom: 30px;}
   iframe { width: 300px; }
   .charblock img { padding: 0; }
}