@charset "UTF-8";
/* コンテンツ */

#category {
    position: relative;
    float: right;
    width: 180px;
}
#category li.current a {
    background-color:#c6e6f8;
}
.catadj {
    display: none;
}
#doc {
    position: relative;
    float: left;
    width: 950px;
}
.article {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.date {
    width: 250px;
    font-size: 2.6em;
    font-family: 'B612 Mono', monospace;
    color: #37b4e7;
}
.date span {
    font-size: 0.4em;
}
.document {
    width: 700px;
}
.document h3 {
    font-size: 1.24em;
    line-height: 1.5;
    color: #1c4a6b;
    border-bottom: 1px solid #37b4e7;
    padding-bottom: 8px;
}
.nimg {
    margin-top: 40px;
    text-align: center;
}
.nimg img {
	max-width:700px;
	max-height:700px;
	width: expression(this.width >= this.height ? "700px" : "auto");
	height: expression(this.width <= this.height ? "700px" : "auto");
}
.ft_tx {
    text-align: right;
    font-size: 0.76em;
    border-bottom: 1px dotted #999;
    line-height: 1.5;
    padding-bottom: 5px;
}
#doc .ft_tx:last-child {
    margin-bottom: 0 !important;
}
.pgn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    font-family: 'Ropa Sans', sans-serif;
    letter-spacing: 1px;
}
.pgn p {
    width: 180px;
}
.pgn p a {
    display: block;
    color:#111;
    background-color: #fff;
    line-height: 50px;
    text-align: center;
    font-size: 1em;
    border: 1px solid #999;
    background-image: url("../../img/link_rv.png");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 8px auto;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    transition: background-color 0.3s;
    padding-left: 15px;
}
.pgn p:last-child a {
    background-image: url("../../img/link.png");
    background-position: right 15px center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-left-width: 0;
    padding-left: 0;
    padding-right: 15px;
}
.pgn p a:hover {
    background-color: #c6e6f8;
}
.bvoid a {
    pointer-events: none !important;
    opacity: 0.4 !important;
}

@media screen and (min-width: 500px) {
#category {
    height: 300px;
    pointer-events: none;
}
.cat_box {
    position: relative;
    float: right;
    width: 180px;
    pointer-events: auto;
}
.cat_box li a {
    display: block;
    color:#111;
    background-color: #fff;
    line-height: 50px;
    text-align: left;
    font-size: 1em;
    padding-left: 15px;
    border-bottom: 1px dotted #999;
    background-image: url("../../img/link.png");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 8px auto;
    transition: background-color 0.3s;
}
.cat_box li a:hover {
    background-color:#c6e6f8;
}
.cat_box li:last-child a {
    border-bottom-width: 0;
}
.cfix #category {
    position: fixed;
    width: 1200px;
    left: 0;
    right: 0;
    top: 140px;
    margin: auto;
    z-index: 1900;
}
.cfix .catadj {
    display: block;
    float: right;
    width: 200px;
    height: 300px;
}
}

@media screen and (max-width: 499px) {

#category {
    float: none;
    width: 100%;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
#category li {
    float: left;
    width: 25%;
}
#category li a {
    display: block;
    color:#111;
    background-color: #fff;
    line-height: 40px;
    text-align: center;
    font-size: 0.84em;
    border-left: 1px dotted #999;
    background-image: url("../../img/link.png");
    background-repeat: no-repeat;
    background-position: right 4px bottom 4px;
    background-size: 5px auto;
    transition: background-color 0.3s;
}
#category li:first-child a {
    border-left-width: 0;
}
#category li a:hover {
    background-color:#c6e6f8;
}
.cfix #category {
    position: fixed;
    left: 0;
    top: 50px;
    z-index: 1900;
}
.cfix .catadj {
    display: block;
    height: 40px;
}
#doc {
    position: relative;
    float: none;
    width: auto;
    padding: 60px 25px 0;
}
.article {
    display: block;
}
.date {
    width: auto;
    font-size: 1.5em;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.date span {
    font-size: 0.6em;
}
.document {
    width: 100%;
}
.document h3 {
    font-size: 1.16em;
    padding-bottom: 8px;
}
.nimg {
    margin-top: 30px;
    text-align: center;
}
.nimg img {
	max-width:330px;
	max-height:330px;
	width: expression(this.width >= this.height ? "330px" : "auto");
	height: expression(this.width <= this.height ? "330px" : "auto");
}
.pgn {
    margin-top: 60px;
}
.pgn p {
    width: 140px;
}
.pgn p a {
    line-height: 40px;
}
.txadj {
    margin-top: 60px;
}
}
