.nomal_font,
.caution_list,
#contents input,
#contents select,
#contents textarea {
    font-family: "SawarabiGothic-Regular";
}

html {
    background-color: #000;
    color: #fff;
    font-family: "Makinas-4-Square";
    --sub-color1: #F00;
    --sub-color2: #333;
    --header-height: 60px;
    --footer-height: 90px;
    --border-design-width: 3px;
    --border-design: var(--border-design-width) solid #FFF;
    --limit-width: 700px;
    --font-size: 16px;
}

html::-webkit-scrollbar {
    display: none;
}

header {
    height: var(--header-height);
    border-bottom: var(--border-design);
    position: fixed;
    width: 100%;
    background-color: #000;
}

hr {
    border: 1px solid;
    margin: 20px 0;
}

#header_logo,
#header_logo div,
#header_menu>li {
    float: left;
}

#header_logo {
    height: 100%;
}

#header_logo>div {
    height: 100%;
    text-align: center;
}

#header_logo>div:nth-child(1) {
    display: flex;
}

#header_logo>div>img {
    margin: auto 0;
}

#logo_img {
    height: 100%;
}

#logo_text {
    padding-top: calc(var(--header-height) * 0.25);
}

#logo_text>p:nth-child(1) {
    font-size: 10px;
}

#logo_text>p:nth-child(2) {
    font-size: 20px;
}

#header_menu {
    float: right;
    height: 100%;
}

#header_menu>li {
    text-align: center;
    padding: 0 10px;
    height: 100%;
    display: flex;
    position: relative;
}

#header_menu>li:hover {
    background-color: #FFF;
    color: #000;
}

#header_menu>li>a {
    align-content: center;
}

#header_menu>li>a>p {
    font-size: 12px;
}

#header_menu>li>a>p:first-child {
    font-size: 20px;
}

#humberger_button {
    z-index: 2;
    position: relative;
    cursor: pointer;
}

#humberger {
    padding: 10px;
    position: absolute;
    right: 0;
    z-index: 1;
    border-left: var(--border-design);
}

#humberger_button,
#humberger {
    height: 100%;
    float: right;
    display: none;
    width: var(--header-height);
}

#humberger>div {
    width: 100%;
    height: 100%;
    position: relative;
}

#humberger_button:checked+div {
    border: none;
}

.humberger_bar {
    width: 100%;
    height: calc(100% / 11);
    margin: calc(100% / 11 * 2) 0;
    background-color: #FFF;
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: ease;
}

#humberger_button:checked+div .humberger_bar:nth-child(1),
#humberger_button:checked+div .humberger_bar:nth-child(3) {
    position: absolute;
    top: calc(50% - 100% / 18);
    left: 0;
    margin: 0;
}

#humberger_button:checked+div .humberger_bar:nth-child(1) {
    transform: rotate(45deg);
}

#humberger_button:checked+div .humberger_bar:nth-child(2) {
    display: none;
}

#humberger_button:checked+div .humberger_bar:nth-child(3) {
    transform: rotate(-45deg);
}

#humberger_button:checked~ol {
    visibility: visible;
    opacity: 1;
}

main {
    max-width: var(--limit-width);
    margin: 0 auto;
    padding: calc(var(--header-height) + 10px) 10px 20px 10px;
    border-left: var(--border-design);
    border-right: var(--border-design);
    min-height: calc(100dvh - var(--footer-height));
}

#content_title {
    font-size: 35px;
    margin: 10px 0 10px 15px;
    border-left: 3px solid;
    padding-left: 10px;
    word-break: keep-all;
}

#contents h1 {
    font-size: 25px;
    margin: 20px 0 10px 0;
    display: inline-block;
    border-image: linear-gradient(90deg, #FFF, #000) 1;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-image-source: url("/static/img/h1border.png");
    border-image-width: 0 0 3px 0;
    border-image-slice: 0 0 100 0;
}

#contents h1:first-child {
    margin-top: 0;
}

#contents h1>span {
    font-size: 15px;
    margin-left: 10px;
}

#contents h2 {
    font-size: 20px;
    margin: 10px 0 10px 10px;
}

#contents p,
#contents li {
    margin: 3px 0;
    font-size: var(--font-size);
}

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 3px solid #FFF;
    height: var(--footer-height);
    display: flex;
}

footer>small {
    align-content: center;
    margin: 0 auto;
}

.link {
    text-decoration: underline;
}

.link:hover {
    color: var(--sub-color1);
}

@media all and (max-width:900px) {

    #header_menu {
        height: 100%;
        position: fixed;
        background-color: black;
        right: 0;
        padding: var(--header-height) 10px 0 10px;
        visibility: hidden;
        opacity: 0;
        transition-property: all;
        transition-duration: 0.5s;
        transition-timing-function: ease;
    }

    #header_menu>li {
        text-align: left;
        padding: 10px 0;
        height: auto;
        display: revert;
        position: static;
        float: none;
    }

    #humberger {
        display: block;
    }

    #humberger_button {
        display: revert;
    }
}

@media all and (max-width:700px) {
    main {
        border: none;
    }
}