* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    color: #232324;
    font-size: 16px;
    line-height: 18px;
    vertical-align: middle;
    font-family: /*"Helvetica Neue",*/ sans-serif;
    background-color: #f9f9f9;
    word-break: break-all;
}


#container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    padding-top: 56px
}

.innerwrap {
    max-width: 936px;/*960-24*/
    margin: 32px auto;
}

.listwrap {
    max-width: 960px;
    margin: 16px auto 30px;
    background-color: #fff;
    padding: 12px 24px;
}

.flex {
    display: flex;
}

.flex.start {
    align-items: flex-start
}
.topbox1{
    flex-basis: 70%;
}
.topbox2{flex-basis: 30%;}
.sublist {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 12px 24px 12px;
    margin-left: 24px;
    background-color: #fff;
}
.sublisttitle{
    font-size: 17px;
    color: #666;
    position: absolute;
    top: -28px;
    margin-left: 24px;
}
.sublistwrap{
    position: relative;
    flex-basis: 30%;
}
#article {
    flex: 1 1 auto;
    margin: 0 auto;
    padding: 24px ;
    background-color: #fff;
    min-height: 400px;
}

#article > * {
    word-break: break-word
}

#content {
    line-height: 24px
}

h3#title {
    padding-bottom: 24px;
    font-size: 17px;
    line-height: 1.3rem;
    font-weight: normal;
}

#date {
    color: #888889;
    line-height: 15px;
    padding-bottom: 8px;
    font-size: 13px;
    padding-top: 8px;
}

#image {
    text-align: center
}

.articleimage {
    width: auto;
    height: auto;
    max-width: 500px;
    max-height: 500px;
}

#button {
    text-align: center;
    padding: 1rem 0
}

#button a.button1 {
    display: inline-block;
    background-color: #1e1e1e;
    color: #fff;
    padding: 0.5rem 2rem;
    border-radius: 2px;
}

ul {
    list-style: none;
}

.listtitle {
    line-height: 1.2rem;
    color: #888889
}

.pubdate {
    display: block;
    color: #888889 !important;
    line-height: 18px;
    font-size: 13px;
    padding-top: 10px;
}


a {
    text-decoration: none;
    color: #039be5
}

a:hover,
a:hover li {
    opacity: .6
}

.list a {
    color: #1e1e1e;
    line-height: 22px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0 12px;
}
h2.sub {
    margin: 12px 0 0;
    line-height: 28px;
}
ul {
    list-style: none;
}

.listtitle {
    margin: 0;
    padding: 12px 0;

}
.sublist .listtitle {
}
.listtitle.sub {
    margin: 0;
    font-weight: 600;
    line-height: 22px;
}
.listtitle.sub.link {
    font-weight: 300;
    display: block;
}

span.divider{
    border-top: 1px solid #e6e6e6;
    width: 100%;
    display: block;
}
.divider:last-child {
    margin: 0 ;
    border: none;
}
.sublist .divider:last-child {
    border: none;
}
.paging {
    display: inline-block;
    line-height: 30px;
    min-width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 4px;
    background-color: #dfdfdf;
    margin: 0 4px
}

#pagination {
    display: flex;
    justify-content: center;
    margin: 1rem auto
}

#pagination a {
    color: #1e1e1e
}

.paging.current {
    color: #fff;
    background-color: #1e1e1e;
    font-weight: 600;
}

#prevarrow .disable,
#nextarrow .disable {
    opacity: .2
}

.leftarrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(-45deg);
    margin-left: 4px;
}

.rightarrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
    margin-right: 4px;
}


body.maintenance {
    background-color: #1f1f20;
    color: #fff;
}

.maintenance.innerwrap {
    min-height: 500px;
    display: flex;
    align-items: center
}

.maintenance_area {
    text-align: center;
    font-size: 24px;
    max-width: 580px;
    margin: 0 auto;
}

.maintenance_area img {
    height: 30px;
    margin-bottom: 30px
}

.maintenance_area p {
    text-align: center
}

span.nodata{
    display: block;
    text-align: center;
    padding: 10px;
    opacity: .8
}

.back_index{
    font-size: 13px;
    color: #888889;
    display: inline-block;
}
.back_index svg{
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-bottom: 2px;
}
.flexbox{
    flex: 1 1 auto;
    flex-basis: 70%;
}
@media only screen and (max-width: 860px) {
    main {
        padding-top: 44px;
    }
}

@media only screen and (max-width: 960px) {
    html, body {
    font-size: 15px ;
    line-height: 18px;
}
.flexbox{
    flex: 1 1 100%
}
.back_index{
    padding-left: 24px;
}
.topbox1{
    flex-basis: 100%;
}
.topbox2{
    flex-basis: 0;
    display: none;
}

h2{
    font-size: 17px;
    padding:0 24px;
    margin: 24px 0;
    line-height: 22px;
}
h2.sub{
    margin-top: 24px;
    margin-bottom: 2px;
    line-height: 24px;
}
#content{
    line-height: 22px;
}
    .flex {
        flex-wrap: wrap
    }
    .sublisttitle{
        margin: 24px 0 8px;
        position: static;
    }
    .listtitle.sub{
        line-height: 21px;
    }
    .sublist{
    }
    #article,
    .sublist,
    .listwrap {
        margin: 0 auto;
        flex: 0 0 100%
    }

    .sublistwrap{
        margin: 0 24px;
        flex-basis: 100%;
    }

    .innerwrap {
        margin: 24px 0;
        min-height: auto;
    }
    #article{
        min-height: auto;
        margin-bottom: 24px;
    }
    .listwrap {
        margin: 0;
        padding: 24px;
    }
    #article　{
        margin: 0;
        padding: 12px;
    }
    #date {
        font-size: 13px;
        padding:6px 24px 24px;
    }
    .pubdate{
        line-height: 20px;
        padding-top: 6px;

    }

    .articleimage {
        max-width: 90%;
        max-height: 300px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1f1f20 !important;
        color: #fff !important;
    }
    .sublisttitle{
        color: #999;
    }
    span.divider {
        border-color: #666;
    }
    .sublist span.divider {
        border-color: #666;
    }
    .list a {
        color: #fff
    }

    a {
        color: #42a4d3
    }

    #article,
    .listwrap,
    .sublist {
        background-color: #2a2a2b;
    }

    #button a.button1 {
        background-color: #fff;
        color: #000;
    }

    span.bulletin_board_subject *,
    li.listtitle a .sublist li.listtitle span.bulletin_board_subject * .sublist li.listtitle span.bulletin_board_subject * {
        color: #fff !important;
    }


    .paging {
        background-color: #999
    }

    .paging.current {
        background-color: #fff;
        color: #000;

    }
    .back_index{
        color:#999;
    }
}
