@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap');
html, body { height: 100%; }
body {
  margin: 0;
  width: 100vw;
  min-height: 252px;
  background: #b9ad9f;
  font-family: 'BIZ UDPGothic', sans-serif;
  line-height: 1.5;
  overflow: hidden;
}
nav {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: auto;
  width: max-content;
  height: 100%;
  box-sizing: border-box;
  z-index: 10000;
  transition: all .6s ease-in-out;
}
.sch-box {
  padding: 6px 16px;
  margin: 0 auto;
  border: 0;
  border-radius: 100px;
  width: 70%;
  max-width: 400px;
  box-sizing: border-box;
  background: #e6d6c5;
  color: #5a5039;
  font-size: 100%;
}
.sch-box:focus { outline: #b9ad9f auto 3px; }
.tbl-wrp {
  position: relative;
  display: flex;
}
ul { list-style-type: none; padding: 0; }
.tbl-item-ttl:active {
  transform: scale(1.08);
  box-shadow: inset 100px 100px #ffffffaa;
  transition: transform .2s ease-out;
  z-index: 2;
}
.tbl {
  margin: 0;
  background: #e6d6c5;
  font-size: 0;
}
.tbl-item {
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
}
.tbl-item::before  {
  display: block;
  content: '';
  padding-top: 100%;
}
.tbl-item-ttl {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  overflow: hidden;
}
.tbl-item-ttl { margin: 0; height: 100%; }
.tbl-item-a {
  display: block;
  width: 100%;
  height: 100%;
  color: #454f49;
  text-decoration: none;
  white-space: nowrap;
}
.tbl-item-a.rvs { color: #f7f3ef; }


.diary, .prof, .links {
  position: relative;
  border: 2px solid #000;
  padding: 8px;
  height: 100%;
  box-sizing: border-box;
  background: #454f49;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 1px;
}
.prof, .links, .paper { background: #f7f3fe; color: #454f49; }
.paper {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0;
  width: 300px;
  height: 450px;
  box-sizing: border-box;
  overflow: auto;
  scrollbar-width: none;
 -ms-overflow-style: none;
}
.paper::-webkit-scrollbar { display: none; }
.paper img {
  position: absolute;
}
.diary-ttl {
  position: relative;
  margin: 8px 0 10px;
  padding: 0 4px;
  font-size: 24px;
}
.diary-content {
  position: relative;
  padding: 0 4px;
  margin: 0;
}

.rb {
  position: absolute;
  display: block;
  right: 0;
  bottom: 0;
  padding: 10px;
}
a { color: inherit; }
.move1 {
  right: 140px
}

.diary > .rb { background: #454f4999; color: #f7f3ef; }
.diary.rvs { background: #f7f3ef; }
.rvs > .paper { color: #f7f3ef; }
.rvs > .rb { background: #f7f3ef99; color: #454f49; }
.rb > a:not([href]) { visibility: hidden; } 

[data-ttl]::before { content: attr(data-ttl); }