/* .drawer .panel {
  overflow: auto;
}

.drawer p {
  padding-left: 15px;
  font-size: 0.9em;
  line-height: 1.8em;
  color: #cffffc;
  background-color: #44a294;
  border: groove 3.2px #797979;
}

.panel div {
  height: 10px;
  padding-right: 10px;
  font-size: 0.9em;
  text-align: center;
  cursor: pointer;
  background-color: #696969;
  border: solid 2px #5d5d5d;
}

.panel div a {
  display: block;
  color: #d1ddc8;
}

.panel div:hover {
  background-color: #7a7a7a;
  box-shadow:
    inset 2px 2px 4px #cfcdcd,
    inset -2px -2px 4px #cfcdcd;
  transition: 0s;
} */

html,
body {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  overflow: hidden;
  font-family: 'Mochiy Pop One', sans-serif;
}

body a {
  position: relative;
  color: #1f419e;
}

header {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 20px;
  padding-bottom: 5px;
  overflow: hidden auto;
  font-size: 2em;
  text-decoration: none;
  text-shadow: 2px 2px 0 #ddd093;
  background: #9b7a0e;
  box-shadow:
    inset 3px 3px 4px #524b4b,
    inset 0 -2px 2px #cfcdcd;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* header::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: #7dd182;
    rotate: -3deg;
    z-index: -1;
}

header::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: #7dd182;
    rotate: 3deg;
    z-index: -1;
} */

nav {
  display: flex;
  align-items: center;
  height: 45px;
  padding: 2px 10px;
  background: linear-gradient(#cdcabe, #696969);
  box-shadow:
    inset 2px 2px 2px #d6d6d6,
    inset -2px -2px 2px #362525;
}

nav div {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: start;
  height: 100%;
  padding: 5px 30px;
  font-size: 1em;
}

nav div a {
  z-index: 1;
  padding: 5px;
  line-height: 1;
  color: black;
  text-decoration: none;
  border-radius: 5px;
}

nav div p {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.4em;
}

.extra {
  flex: 1;
}

.stone {
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, #acaba8, #a3a39f, #838383, #4d4d4d);
  border: solid 2px transparent;
  box-shadow:
    inset 2.5px 2.5px 3px #d6d6d6,
    inset -2px -2px 2px #362525;
}

.toggle {
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 95%;
  height: 90%;
  font-size: 0.9em;
  cursor: pointer;
  background: linear-gradient(90deg, #acaba8, #a3a39f, #838383, #4d4d4d);
  box-shadow:
    inset 2.5px 2.5px 3px #d6d6d6,
    inset -2px -2px 2px #362525;
}

.toggle:active {
  background: linear-gradient(120deg, #cdcabe, #696969);
  box-shadow:
    inset 3px 3px 4px #524b4b,
    inset 0 -2px 2px #cfcdcd;
}

aside {
  width: 200px;
  padding: 0 3px;
  padding-top: 20px;
  overflow: hidden auto;
  background: radial-gradient(#521438, #521438, #0d0d0d);
  border-bottom: solid 5px #85156c;
}

aside div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  margin: 15px 0;
  font-size: 1.05em;
  letter-spacing: 1.5px;
  white-space: nowrap;
  cursor: default;
  background-color: #19668a;
  border: solid 3px #5c5609;
  border-radius: 20px;
  rotate: 7deg;
}

aside div a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  letter-spacing: normal;
  cursor: pointer;
}

aside div:hover {
  font-size: 1.2em;
}

aside .tab-item {
  cursor: pointer;
}

aside .tab-item.active {
  cursor: default;
  border: solid 3px;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.newshead {
  box-sizing: border-box;
  width: stretch;
  padding: 2px;
  margin: 0 3px;
  font-size: 0.9em;
  color: #e8ffc1;
  background-color: #609c00;
  border-radius: 5px;
}

.newshead p {
  width: 100%;
  padding-left: 4px;
  overflow-x: auto;
  font-size: 1.1em;
  line-height: 1.8;
  border: groove 3px #797979;
}

.newshead a {
  display: none;
  aspect-ratio: 1 / 1;
  font-size: 0.9em;
  line-height: 20px;
  color: white;
  text-align: center;
  background-color: coral;
}

.news {
  box-sizing: content-box;
  width: 19%;
  height: 100%;
  margin-top: -5px;
  overflow-y: auto;
  background: linear-gradient(to right, black, #08085a);
  border-bottom: 5px solid;
  border-image: linear-gradient(to right, black, #08085a) 1;
  box-shadow: inset 0 5px 0 0 #555;
}

.news ul {
  font-family: 'BIZ UDGothic', serif;
  line-height: 1;
  word-break: break-all;
}

.news li {
  padding: 3px;
  list-style: none;
}

.news li a {
  display: block;
  height: 100%;
  padding: 3px 5px;
  color: #d3c9cf;
  text-decoration: none;
  background-color: transparent;
  border: solid 1px #2e9951;
  box-shadow: 2px 2px 2px #3a879b;
}

body a:hover {
  top: 0.8px;
  color: #e63c3c;
}

.news li a:hover {
  color: #e8acff;
}

.news li .rssdescription {
  font-size: 0.8em;
  line-height: 1.2;
}

.news li a:hover .rssdescription {
  text-decoration: underline;
}

.news li .rssdate {
  font-size: 0.8em;
}

.news li .rsstitle {
  margin-left: 5px;
  font-size: 0.8em;
}

.news li hr {
  margin: 3px 0;
  border-image: url('assets/img/borderman.png') 1 repeat;
  opacity: 0.8;
}

main {
  display: flex;
  flex: 1;
  min-height: 0;
  background-color: #f0ecb4;
  border-top: solid 5px #555;
}

.tab-panel {
  display: none;
  flex: 1;
  min-height: 0;
  padding: 5px 0 0 18px;
  overflow-y: auto;
  font-family: Roboto, 'メイリオ', Meiryo, Arial, sans-serif;
  border: solid 3px #029e9e;
}

.tab-panel.active {
  display: block;
}

.tab-panel h2 {
  line-height: 1.7;
  color: #426727;
}

.tab-panel h4 {
  margin-top: 10px;
}

.tab-panel ul {
  list-style: inside;
}
