@charset "UTF-8";
html {
  margin: 0; padding: 0;
}

body {
 /* font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック Medium", YuGothic, YuGothicM, M "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif; */
  margin: 0 0 5rem 0;
  padding: 0;
  min-height: 100vh;
  background-color: #000;
  color: #fff;
}

::selection {
  background-color: #5680ff80;
}

a:link { color: cyan; }
a:visited { color: #4873cf; }
a:hover { color: rgb(0, 191, 255); }
a { color: orange; }
input[type="text"] { background-color: #444; }

header {
  background: rgb(2, 0, 36);
  background: linear-gradient(90deg, #231d9f, #150e94, #00d4ff,#231d9f, #150e94, #00d4ff);
  background-size: 400% 100%;
  color: white;
  height: auto;
  padding: 10px 5%;
  display: flex;
  position: relative;
  z-index: 10;
  animation: gradientScroll 10s ease infinite;
}
/* アニメーションの定義 */
@keyframes gradientScroll {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
header #left-block {
  margin: 0;
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
header #left-block a {
  margin-left: 10px;
  white-space: nowrap;
  display: block;
  text-decoration: none;
  color: white;
  margin-top: auto;
  font-size: 1.8em;
  font-weight: bold; /* H1タグ */
  height: auto;
}
header #left-block img {
  border-radius: 50%;
}
@media (min-width: 641px) {
  header .memu-block {
    position: relative;
    flex: 1;
    height: auto;
  }
  header .memu-block nav.menu-nav {
    position: absolute;
    display: flex;
    bottom: 10px;
    width: 100%;
    height: 50px;
  }
  header .memu-block nav.menu-nav ul.menu { /*ここからズレてる。*/
    width: 100%;
    height: 100%;
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
  }
  header .memu-block nav.menu-nav ul.menu li.menu-content {
    border-left: 2px solid #333;
    height: 100%;
    display: block;
  }
  header .memu-block nav.menu-nav ul.menu li.menu-content a.menu-link {
    padding: 0 10px;
    height: 100%;
    text-align: center;
    white-space: nowrap;
    line-height: 50px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
    border-bottom: 4px solid #AAA;
  }
  header .memu-block nav.menu-nav ul.menu li.menu-content a.menu-link:hover {
    background-color: #AAA;
  }
}
@media (max-width: 640px) {
  header .memu-block {
    height: 100vh;
    position: fixed;
    overflow: hidden;
    width: 350px;
    left: -350px;
    top: 0;
    bottom: 0;
    max-width: calc(100vw - 120px);
    z-index: 30;
    color: #FFF;
    background-color: #000;
    box-shadow: 0 0 150px #0000001a;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0 30px 30px 0;
    border-right: #FFF solid 1px;
    box-shadow: 10px 10px 15px #ffffff4d;
  }
  header .memu-block--header {
    width: 100%;
    border-bottom: 2px solid #FFF;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
    font-weight: bold; /* H1タグ */
    text-align: center;
  }
  header .memu-block ul.menu { /* ul */
    width: 100%;
    padding: 20px;
  }
  header .memu-block ul.menu li.menu-content { /* li */
    list-style: none;
  }
  header .memu-block ul.menu li.menu-content a.menu-link {
    height: 40px;
    padding: 0.5rem;
    display: block;
    border-bottom: 1px solid #555;
    transition: background-color 0.3s;
  }
  header .memu-block ul.menu li.menu-content a.menu-link:hover {
    background-color: #DDD;
  }
}
header #navToggle {
  padding: 9px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 80px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
  z-index: 100;
}
header #navToggle:hover {
  color: #ffffff;
  text-decoration: none;
}
header #navToggle div {
  position: relative;
}
header #navToggle div::before {
  content: "メニュー";
  font-size: 80%;
  line-height: 20px;
  text-align: left;
  color: #ffffff;
  letter-spacing: normal;
  vertical-align: top;
}
header #navToggle div span {
  margin: 0 0 0 60px;
  display: block;
  position: absolute;
  width: 20px;
  border-bottom: solid 3px rgb(255, 255, 255);
  transition: 0.35s ease-in-out;
}
header #navToggle div span:nth-child(1) {
  top: 0;
}
header #navToggle div span:nth-child(2) {
  top: 8px;
}
header #navToggle div span:nth-child(3) {
  top: 16px;
}
header.openNav #navToggle span:nth-child(1) {
  transform: translateY(8px) rotate(-315deg);
}
header.openNav #navToggle span:nth-child(2) {
  opacity: 0;
}
header.openNav #navToggle span:nth-child(3) {
  transform: translateY(-8px) rotate(315deg);
}
@media (max-width: 640px) {
  header.openNav .memu-block {
    transform: translate(350px);
    transition-duration: 0.45s;
  }
}
header a:link {
  color: rgba(9, 255, 152, 0.9921568627);
}
header a:visited {
  color: #bbff00;
}

.update {
  padding: 20px;
}

footer {
  background: rgb(2, 0, 36);
  background: linear-gradient(270deg, #020024, #090979, #00d4ff,#020024, #090979, #00d4ff);
  background-size: 400% 100%;
  color: white;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: gradientScroll 10s ease infinite;
}
footer p {
  display: block;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .pc {
    display: none;
  }
}

@media (min-width: 641px) {
  .sp {
    display: none;
  }
}

.canvas table {
  font-weight: 200;
}
.canvas table p::before {
  content: "　";
}

a.chinese-key {
  color: red;
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
}
a.chinese-key:hover {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  -webkit-text-decoration-style: wavy;
          text-decoration-style: wavy;
}

.intro {
  background-color: #202020AF;
  text-align: center;
  padding: 30px;
  mask-image: linear-gradient(to bottom, #00000000 0%, #000000FF 10%, #000000FF 90%, #00000000 100%);
}
