html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Mochiy Pop One", sans-serif;
    background-color: #153a76;
    display: flex;
}

header {
    height: calc(100% - 680px);
    min-height: 70px;
    padding-left: 30px;
    display: flex;
    align-items: center;
    font-size: 2.6em;
    color: #f1ff92;
    overflow: auto;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

aside {
    width: 20%;
    display: flex;
    flex-direction: column;
}

.newshead {
    color: #c8f875;
    font-size: 0.9em;
    background-color: #26bf00;
    width: 19.3%;
    border-top-right-radius: 15px;
    padding: 8px 25px 5px 10px;
    line-height: 1.8;
    z-index: 1;
    margin-top: 11px;
}

.newshead p {
    border: groove 3.2px #797979;
    text-align: center;
    font-size: 1.1em;
    width: 100%;
    overflow-x: auto;
}

.newshead a {
    display: none;
    font-size: 0.9em;
    aspect-ratio: 1 / 1;
    text-align: center;
    line-height: 20px;
    background-color: coral;
    color: white;
}

.news {
    border-right: solid 20px #26bf00;
    border-top-right-radius: 8px;
    background-color: #3bacc4;
    height: 100%;
    overflow-y: auto;
}

.news ul {
    line-height: 1;
}

.news li {
    margin: 3px;
    padding: 3px;
    list-style: none;
    font-family: "BIZ UDGothic", serif;
    background-color: #30575d;
    text-align: center;
}

.news li a {
    height: 100%;
    display: block;
    color: #d1ddc8;
    text-decoration: none;
}

.news li a:hover {
    color: #cffffc;
    text-decoration: none;
}

.news li .rssdate {
    font-size: 0.65em;
}

.news li .rsstitle {
    font-size: 0.6em;
    margin-left: 5px;
}

.drawer {}

.drawer .panel {
    overflow: auto;
}

.drawer p {
    color: #cffffc;
    font-size: 0.9em;
    line-height: 1.8em;
    padding-left: 15px;
    background-color: #44a294;
    border: groove 3.2px #797979;
}

.panel div {
    text-align: center;
    padding-right: 10px;
    height: 10px;
    font-size: 0.9em;
    border: solid 2px #5d5d5d;
    background-color: #696969;
    cursor: pointer;
}

.panel div a {
    color: #d1ddc8;
    display: block;
}

.panel div:hover {
    box-shadow: inset 2px 2px 4px #cfcdcd, inset -2px -2px 4px #cfcdcd;
    background-color: #7a7a7a;
    transition: 0s;
}

.copyright {
    color: #a5f352;
    font-weight: bold;
    padding-top: 0.5em;
    font-size: 0.8em;
    font-family: "メイリオ", 'Meiryo', Arial, sans-serif;
    position: absolute;
    bottom: 0;
}

.copyright .designer {
    color: #c1aa28;
}

nav {
    display: flex;
    align-items: center;
    box-shadow: inset 2px 2px 2px #d6d6d6, inset -2px -2px 2px #362525;
    background: linear-gradient(#cdcabe, #696969);
    height: 50px;
}

nav div {
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extra {
    flex: 1;
}

nav.column {
    flex-direction: column;
    width: 45px;
    height: auto;
}

nav.column div {
    box-shadow: inset 2px 2px 2px #d6d6d6, inset -2px -2px 2px #362525;
    background: linear-gradient(#cdcabe, #696969);
    writing-mode: vertical-rl;
    width: 100%;
    padding-inline: 10px;
}

nav.column div a {
    text-orientation: upright;
    text-decoration: none;
    width: 100%;
    margin-inline: -10px;
    padding-inline: 10px;
    display: flex;
    align-items: center;
}

nav.column div a:hover {
    color: white !important;
}

.menu-background {
    background-color: #153a76;
    border-bottom-left-radius: 30px;
    border: solid 2px rgb(125, 209, 130);
    border-right: none;
    border-top: none;
    padding-left: 12px;
    height: 42px;
    width: 660px;
    margin-bottom: 8px;
}

.tab-item {
    background-color: #575757;
    width: 155px;
    margin-right: 3px;
    height: 45px;
    padding-bottom: 2px;
    border-radius: 10px;
    cursor: pointer;
    background-color: #8f6200;
    border: solid 2px darkolivegreen;
    box-shadow: inset 0 0 0 1px #4777b6;
    margin-top: -20px;
    white-space: nowrap;
}

.tab-item:hover {
    font-size: 1.15em;
}

.tab-item.active {
    cursor: default;
    box-shadow: inset 0 0 0 1px #5d5d5d, inset 0 0 12px #acacac;
}

.stone {
    position: relative;
    height: 90%;
    width: 150px;
    user-select: none;
    margin-left: 5px;
    box-shadow: inset 2.5px 2.5px 3px #d6d6d6, inset -2px -2px 2px #362525;
    background: linear-gradient(90deg, #acaba8, #a3a39f, #838383, #4d4d4d);
    border: solid 2px transparent;
}

.toggle {
    height: 90%;
    width: 95%;
    font-size: 0.9em;
    box-sizing: content-box;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: inset 2.5px 2.5px 3px #d6d6d6, inset -2px -2px 2px #362525;
    background: linear-gradient(90deg, #acaba8, #a3a39f, #838383, #4d4d4d);
    cursor: pointer;
}

.toggle:active {
    box-shadow: inset 3px 3px 4px #524b4b, inset 0 -2px 2px #cfcdcd;
    background: linear-gradient(120deg, #cdcabe, #696969);
}

.borderline {
    border-bottom: groove 3.2px #797979;
}

main {
    flex: 1;
    min-height: 0;
    display: flex;
    border-top: solid 1px #5bffff;
    background-color: #f0eace;
}

.tab-panel {
    display: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    font-family: 'Roboto', "メイリオ", 'Meiryo', Arial, sans-serif;
    padding: 4px 0 0 16px;
}

.tab-panel.active {
    display: block;
}

.tab-panel h2 {
    color: #426727;
    line-height: 1.7;
}

.tab-panel h4 {
    margin-top: 10px;
}

.tab-panel ul {
    list-style: inside;
}

.tab-panel a {
    color: #1f419e;
    position: relative;
}

.tab-panel a:hover {
    color: #cf16cf;
    top: 0.8px;
}