html, body {
    position: relative;
    width: 100%;
    height: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
    direction: ltr;
    margin: 0;
    font-weight: 400;
    line-height: 1.9;
    color: #333333;
    text-align: left;
    background-color: white;
}

#wrapwrap {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    min-height: 100%;
}

#wrapwrap > footer {
    margin-top: auto;
}

#wrapwrap > main, #wrapwrap > footer {
    display: block;
}

#wrapwrap > main {
    flex: 1 0 auto;
}

#wrapwrap > main .logo_box{
    padding-top: 30px;
    padding-bottom: 30px;
}

#wrapwrap > main .term-content {
    padding-left: 50px;
    padding-right: 50px;
    text-align: justify;
}

#wrapwrap > main .term-title {
    text-align: center;
    color: #0062b0;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
}

#wrapwrap > main .term-block {
    margin-bottom: 40px;
}

#wrapwrap > main .term-sub-title {
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

#wrapwrap > main .term-sub-content {
    white-space: pre-wrap;
    margin-top: 0px;
    margin-bottom: 15px;
}

#wrapwrap > main .term_created_at {
    margin-left: 60%;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    #wrapwrap > main .term-content {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 992px) {
    #wrapwrap > main .term-content {
        padding-left: 75px;
        padding-right: 75px;
    }
}

@media (min-width: 1200px) {
    #wrapwrap > main .term-content {
        padding-left: 100px;
        padding-right: 100px;
    }
}

footer#bottom {
    background-color: #46464b;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.8;
    min-width: 768px !important;
}

footer#bottom #footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px 0 25px 0;
}

footer .footer_copyright {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o_footer > #footer {
    border-top: 1px solid transparent;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

a {
    text-decoration: none;
    background-color: transparent;
}

img {
    vertical-align: middle;
    border-style: none;
}

footer#bottom #footer .container .footer_rikaken img {
    height: 26px;
}

footer#bottom #footer .container .footer_rikaken_hd img {
    height: 21px;
}


