* {
    padding: 0px;
    margin: 0px;
    font-size: 12pt;
    font-family: sans-serif;
    color: #333333;
}

body {
    background-color: #F8F9FC;
}

hr {
    border: 0;
    border-top: 2px dashed #dd0000;
}

#body {
    width: 800px;
    margin: auto;
    display: block;
    padding: 10px;
    background-color: #ffcf00;
    border-radius: 10px;
}

#header {
    width: 100%;
    height: 250px;
    position: relative;
    border-radius: 10px;
}

#header-title {
    color: #F8F9FC;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 16pt;
}

#menu {
    width: 100%;
    text-align: center;
    margin: 10px 0px;
}

.menu-item {
    padding-left: 50px;
    padding-right: 50px;
    font-size: 16pt;
}

.menu-item:visited {
    color: #333333;
}

#lang {
    text-align: right;
    margin-bottom: 5px;
}

#lang-link-ja {
    display: none;
}

a.lang-link {
    font-size: 10pt;
    margin-left: 10pt;
}

#news {
    margin-bottom: 50px;
}

#about {
    margin-bottom: 50px;
}

#event {
    margin-bottom: 50px;
}

#contact {
    margin-bottom: 50px;
}

div.title {
    border-style: solid;
    border-top: none;
    border-right: none;
    border-color: #dd0000;
    border-left-width: 5px;
    border-bottom-width: 2px;
    padding: 5px;
    margin-top: 10px;
    font-size: 20pt;
}

div.content {
    padding: 10px;
    width: 95%;
    word-wrap: break-word;
}

.bold {
    font-weight: bold;
}

.under {
    text-decoration: underline;
}

.sizexx {
    font-size: 20pt;
}

.sizex {
    font-size: 16pt;
}

.sizes {
    font-size: 10pt;
}

.sizexs {
    font-size: 8pt;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.tab {
    margin-left: 4em;
}

.rtab {
    margin-right: 4em;
}

select {
    background-color: transparent;
    border: 2px solid #dd0000;
    border-radius: 10px;
    line-height: 2em;
    padding: 3px 20px 3px 3px;
    margin: 1% auto;
    width: 98%;
    font-size: 1.2rem;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
}

#footer {
    text-align: center;
    font-size: 12pt;
}

#toplink {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12pt;
}

#toplink:visited {
    color: #333333;
}

details {
    width: 100%;
    outline: none;
}

summary {
    cursor: pointer;
    user-select: none;
    outline: none;
}

#input {
    width: 95%;
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 10px;
    background-color: transparent;
    outline: none;
}

td.cnt {
    text-align: center;
    white-space: nowrap;
    font-size: 10pt;
}

table.search {
    width: 95%;
}

td.search {
    width: 90%;
}

img.imgicon {
    cursor: pointer;
}

#layer {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.75;
}

#popup {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5%;
    margin: auto;
    max-width: 800px;
    max-height: 90%;
}

.slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: auto;
    background: #ffcf00;
}

.slide img {
    display: block;
    position: absolute;
    width: inherit;
    height: inherit;
    opacity: 0;
    animation: slideAnime 50s ease infinite;
    border-radius: 10px;
    object-fit: cover;
}

.slide img:nth-of-type(1) {
    animation-delay: 0s
}

.slide img:nth-of-type(2) {
    animation-delay: 10s
}

.slide img:nth-of-type(3) {
    animation-delay: 20s
}

.slide img:nth-of-type(4) {
    animation-delay: 30s
}

.slide img:nth-of-type(5) {
    animation-delay: 40s
}

@keyframes slideAnime {
    0% {
        opacity: 0;
        transform: rotateX(90deg)
    }

    1% {
        opacity: 1;
        transform: rotateX(0deg)
    }

    19% {
        opacity: 1;
        transform: rotateX(0deg)
    }

    20% {
        opacity: 0;
        transform: rotateX(90deg)
    }

    100% {
        opacity: 0;
        transform: rotateX(90deg)
    }
}