html, body {
    margin: 0;
    padding: 0;
    font-family: "メイリオ","ヒラギノ角ゴシック","Arial";
    font-size: 16px;
    background-color: #000;
}
p, h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}
/* WRAP */
#book-wrap {
}

/* HEADER */
#header {
    text-align: center;
    background-color: #fff;
    background-image:url(../images/back_books.png),url(../images/back_books.png),url(../images/border_blue.png);
    background-repeat:repeat-y, repeat-y,repeat-x;
    background-position:calc(50% - 899px)-199px,calc(50% + 899px)-119px,0 0;
    padding-top: 40px;
    padding-bottom: 10px;
}
.header-wrap {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}
.header-title {
    width: 50%;
}
.head-icon-pipo {
    text-align: right;
    position: absolute;
    top: 15px;
    right: 5px;
    margin-top: 0;
    animation: bouns-anim 1s ease-in-out 0s  infinite alternate;
}
.head-icon-pipo img {
    width: 60%;
}
.head-btn-return {
    position: absolute;
    top: -30px;
    left: 5px;
    margin-top: 0;
    animation: bouns-anim 1s ease-in-out 0s  infinite alternate-reverse;
}
.head-btn-return img {
    width: 80%;
}
@media(min-width:768px) {
    .header-wrap {
        width: 960px;
    }
    .head-icon-pipo {
        top: 15px;
        right: 10px;
    }
    .head-btn-return {
        top: -30px;
        left: 10px;
    }
    .header-title, .head-icon-pipo img {
        width: auto;
    }
}

/* CONTENTS */
#contents {
    position: relative;
    background-color: #ffc001;
    width: 100%;
}
#contents::before {
    content:"";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image:url(../images/back_books.png),url(../images/back_books.png);
    background-repeat: repeat-y, repeat-y;
    background-position: calc(50% - 899px)-446px,calc(50% + 899px)-376px;
    z-index: 100;
    pointer-events: none;
}
.contents-wrap {
    margin-left: auto;
    margin-right: auto;
}
.wrap-space {
    padding-top: 20px;
}
.contents-footer {
    position: relative;
    text-align: center;
}
.contents-footer-in {
    text-align: center;
    background-color: #fff;
}
.contents-footer-wrap {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}
.contents-footer-pipo {
    position: absolute;
    left: 10px;
    bottom: 0;
}
.contents-footer-pipo img {
    width: 90%;
}
.police-logo {
    width: 30%;
}
.btn-return {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2em;
    background-color: #142345;
    border-radius: 100vh;
    text-decoration: none;
    padding: 7px 12px 7px 45px;
}
.btn-return::before {
    content:"";
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: url(../images/btn_arrow.png);
}
.btn-up {
    position: absolute;
    color: #fff;
    font-size: 0.7em;
    bottom: 10px;
    right: 10px;
    width: 86px;
    height: 86px;
    padding-top: 20px;
    border: none;
    background: url(../images/btn_up.png);
    cursor: pointer;
    transform: translateY(0);
    animation: bouns-trans-anim 1s ease-in-out 0s  infinite alternate;
}
@media(min-width:768px) {
    .contents-wrap {
        width: 960px;
    }
    .wrap-space {
        padding-top: 0;
    }
    .contents-footer {
        width: 960px;
    }
    .contents-footer-wrap {
        width: 960px;
    }
    .police-logo {
        width: auto;
    }
    .contents-footer-pipo {
        left: 20px;
    }
    .contents-footer-pipo img {
        width: auto;
    }
}
/* CONTENTS BLOCK */
.contents-block {
    padding-left: 20px;
    padding-right: 20px;
}
.contents-block-image {
    text-align: center;
}
.contents-block-text-title {
    color: #142345;
    border-bottom: 5px solid #142345;
}
.contents-block-numlist {
}
.numlist-line {
    display: flex;
}
.numlist-num {
    display: inline;
    color: #ff7e00;
    background-color: #142345;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
    margin-right: 10px;
}
.contents-block-list {
    list-style-image: url(../images/list_icon.png);
    margin: 0;
    padding-left: 20px;

}
.contents-block-list li {
    margin: 0;
    padding: 0;
}
.block-list-hex {
    display:flex;
    flex-wrap: wrap;
    align-items:flex-end
}
.block-list-hex li {
    margin-left: 30px;
}
.contents-image-cols {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
.contents-image-cols img {
    width: auto;
}
.contents-table {
}
.contents-table-title {
    color: #fff;
    background-color: #142345;
    padding: 15px;
}
.contents-table-sub {
    border-top: 3px solid #142345;
    border-left: 3px solid #142345;
    border-right: 3px solid #142345;
    padding: 15px;
}
.ct-end {
    border-bottom: 3px solid #142345;
}
.contents-block-flow {
}
.contents-block-flow {
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}
.contents-block-flow .item-s {
    font-size: 1.2em;
    position: relative;
    text-align: center;
    background-color: #142345;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}
.contents-block-flow .item-l {
    font-size: 1.2em;
    position: relative;
    text-align: center;
    background-color: #142345;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.item-l-wrap {
    position: relative;
    width: 100%;
}
.item-l-wrap::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0px;
    background-color: #ff3000;
    transform: translateY(-50%);
    width: 50%;
    height: 5px;
}
.item-l-text {
    font-size: 0.7em;
    padding:10px;
    text-align: left;
}
.item-y-wrap {
    display: flex;
    justify-content: center;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(10px);
}
.item-y {
    font-size: 1em;
    background-color: #142345;
    color: #fff;
    border-radius: 15px;
    width: 15%;
    margin: 5px;
    position: relative;
    height: 220px;
}
.item-y::before {
    content: "";
    display: block;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 20px;
    background-color: #ff3000;
}
.item-y p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    white-space: nowrap;
}
.flow-line {
    display: block;
    width: 5px;
    height: 20px;
    background-color:#ff3000;
    margin-left: auto;
    margin-right: auto;
}
.flow-line-s {
    display: block;
    width: 50%;
    height: 5px;
    background-color: #ff3000;
    margin-right: auto;
    transform: translateY(-5px);
}
.flow-line-box {
    border-left: 5px solid #ff3000;
    padding-top: 20px;
    transform: translateY(-5px);
}
.flow-line-box-end {
    transform: translateY(-5px);
    position: relative;
}
.flow-line-box-end::after {
    position: absolute;
    content: "";
    display: block;
    background-color: #ff3000;
    width: 5px;
    height: 50%;
    top: 0;
    left: 0;
}
.rand-wrap {
    margin-left: auto;
    margin-right: auto;
}
.rand-flex {
    display: flex;
}
.rand-item {
    position: relative;
    z-index: 0;
    
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
    padding: 20px;
}
.rand-item img {
    width: 100%;
}
.rand-br br {
    display: none;
}
.rand-name {
    position: absolute;
    top: -30px;
    left: -15px;
    background-color: #fff;
    color: #142345;
    font-weight: 900;
    font-size: 1.5em;
    border-radius: 50%;
    width: 98px;
    height: 98px;
    text-align: center;
    vertical-align: middle;
    z-index: -1;
}
.rand-name p {
    position: absolute;
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pick-text {
    color: #142345;
    background-color: #fff;
    font-size: 1.3em;
    border-radius: 15px;
    width: 100%;
}
.pick-text p {
    padding: 15px;
}
.contents-block-riot {
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9em;
}
.contents-image-riot {
    cursor: pointer;
    padding: 0 10px;
    width: 40%;
}
.contents-image-riot img {
    width: 100%;
}
@media(min-width:768px) {
    .contents-block {
        display: flex;
        flex-wrap: wrap;
    }
    .flex-revers {
        flex-direction: row-reverse;
    }
    .contents-block-text-right {
        padding-left: 20px;
        width: 65%;
    }
    .contents-block-text-left {
        padding-right: 20px;
        width: 65%;
    }
    .contents-block-text {
        width: 960px;
    }
    .contents-block-image p {
        text-align: left;
    }
    .contents-image-cols {
        text-align: left;
        width: 31.1%;
    }
    .contents-image-cols img {
        width: 100%;
    }
    .contents-table {
        width: 100%;
        display: flex;
    }   
    .contents-table-title {
        width: 20%;
    }
    .contents-table-sub {
        width: 80%;
    }
    .contents-block-flow {
        width: 100%;
    }
    .contents-image-riot {
        padding: 0 5px;
        width: 18.9%;
    }
    .item-y-wrap {
        width: 83%;
    }
    .rand-item {
        width: auto;
    }
    .rand-item img {
        width: auto;
    }
    .rand-br br {
        display:block
    }
    .rand-pos-1 {
        transform: translateY(100px);
    }
    .rand-pos-2 {
        transform: translateX(50px);
    }
    .rand-pos-3 {
        margin-left: inherit;
    }
    .rand-pos-4 {
        transform: translateX(80px);
    }
    .rand-pos-5 {
        transform: translateY(120px);
    }
    .rand-pos-6 {
        transform: translate(-90px, 90px);
    }
    .rand-pos-7 {
        transform: translateY(-50px);
    }
    .rand-pos-8 {
        transform: translateY(-70px);
    }
     .rand-pos-9 {
        transform: translate(-80px, 90px)
     }
     .rand-pos-10 {
        transform: translateY(50px);
     }
}

/* SHIGOTO - 101 */
.shigoto-wrap {
    text-align: center;
}
.shigoto-item {
    position: relative;
    margin-bottom: 100px;
}
.shigoto-arrow::before {
    content: "";
    display: block;
    width: 200px;
    height: 80px;
    background-image: url(../images/category_01/sub_03/col01_img_06.png);
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
}
.shigoto-item img {
    max-width: 300px;
    width: 100%;
}

@media(min-width:768px) {
    .shigoto-wrap {
        width: 100%;
        background-image: url(../images/category_01/sub_03/col01_img_05.png);
        background-repeat: no-repeat;
        background-position: center 150px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .shigoto-arrow::before {
        display: none;
    }
    .shigoto-item {
        padding: 20px;
        margin-bottom: auto;
    }
    .shigoto-item img {
        max-width: none;
        width: auto;
    }
    .spos-01 {
        transform: translate(-50px, -70px);
    }
    .spos-02 {
        transform: translate(-30px, -20px);
    }
}

/* MOCHIMONO */
.mono-block {
    width: 100%;
}
.mono-wrap {
    width: 100%;
    margin-bottom: 40px;
}
.mono-item {
    position: relative;
    z-index: 0;
    text-align: center;
}
.mono-image {
    position: relative;
    z-index: 0;
    margin-bottom: 10px;
}
.mono-text-pos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.mono-text {
    background-color: #fff;
    font-weight: bold;
    font-size: 1.3em;
    color: #142345;
    width: 100px;
    height: 100px;
    border-radius: 100vh;
}
.mono-text p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.mono-sun::before {
    position: absolute;
    content: "";
    width: 195px;
    height: 195px;
    display: block;
    background-color: #ff7e00;
    border-radius: 100vh;
    bottom: 0;
    left: 35px;
    z-index: -1;
}

.t-pos1 { transform: translate(-40px, -50px);}
.i-pos2 { transform: translate(-40px, 0px);}
.t-pos2 { transform: translate(80px, -30px);}
.t-pos3 { transform: translate(50px, 35px);}
.t-pos4 { transform: translate(50px, -65px);}
.i-pos5 { transform: translate(40px, 0);}
.t-pos5 { transform: translate(-70px, 0px);}
.t-pos6 { transform: translate(-70px, -40px);}

.pi-pos1 { transform: translate(40px, 0);}
.pt-pos1 { transform: translate(-80px, 100px);}
.pi-pos2 { transform: translate(-30px, 0);}
.pt-pos2 { transform: translate(130px, 90px);}
.pi-pos3 { transform: translate(-40px, 0);}
.pt-pos3 { transform: translate(110px, 50px);}
.pi-pos4 { transform: translate(-40px, 0);}
.pt-pos4 { transform: translate(110px, 50px);}
.pi-pos5 { transform: translate(35px, 0);}
.pt-pos5 { transform: translate(-110px, 90px);}
.pi-pos6 { transform: translate(50px, 0);}
.pt-pos6 { transform: translate(-90px, 100px);}
.pi-pos7 { transform: translate(-50px, 0);}
.pt-pos7 { transform: translate(105px, 50px);}
.pi-pos8 { transform: translate(20px, 0);}
.pt-pos8 { transform: translate(-50px, 100px);}
.pi-pos9 { transform: translate(50px, 0);}
.pt-pos9 { transform: translate(-100px, 90px);}

@media(min-width:768px) {
    .mono-block {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .mono-wrap {
        width: 33%;
    }
    .mono-text-pos {
    }
    .t-pos1 { transform: translate(-40px, -50px);}
    .m-pos2 { transform: translate(0px, 60px);}
    .i-pos2 { transform: translate(-40px, 0px);}
    .t-pos2 { transform: translate(80px, -30px);}
    .t-pos3 { transform: translate(50px, 35px);}
    .t-pos4 { transform: translate(50px, -65px);}
    .m-pos5 { transform: translate(0, 90px);}
    .i-pos5 { transform: translate(40px, 0);}
    .t-pos5 { transform: translate(-70px, 0px);}
    .t-pos6 { transform: translate(-70px, -40px);}

    .pi-pos1 { transform: translate(40px, 0);}
    .pt-pos1 { transform: translate(-80px, 100px);}
    .pm-pos2 { transform: translate(0, 110px);}
    .pi-pos2 { transform: translate(-30px, 0);}
    .pt-pos2 { transform: translate(130px, 90px);}
    .pi-pos3 { transform: translate(-40px, 0);}
    .pt-pos3 { transform: translate(110px, 50px);}
    .pi-pos4 { transform: translate(-40px, 0);}
    .pt-pos4 { transform: translate(110px, 50px);}
    .pm-pos5 { transform: translate(0, 110px);}
    .pi-pos5 { transform: translate(35px, 0);}
    .pt-pos5 { transform: translate(-110px, 90px);}
    .pi-pos6 { transform: translate(50px, 0);}
    .pt-pos6 { transform: translate(-90px, 100px);}
    .pi-pos7 { transform: translate(-50px, 0);}
    .pt-pos7 { transform: translate(105px, 50px);}
    .pm-pos8 { transform: translate(0, 80px);}
    .pi-pos8 { transform: translate(20px, 0);}
    .pt-pos8 { transform: translate(-50px, 100px);}
    .pi-pos9 { transform: translate(50px, 0);}
    .pt-pos9 { transform: translate(-100px, 90px);}

}

/* CT */
.ct-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}
.ct-image {
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}
.ct-image img {
    display: inline;
    width: 48%;
}
.img-firtst {
    padding-right: 10px;
}
.ct-text {
    padding-left: 0;
    width: 100%;
}
.ct-title {
    display: block;
    color: #fff;
    background-color: #142345;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 5px;
    width: auto;
}

@media (min-width:768px) {
    .ct-image {
        width: auto;
        display: block;
    }
    .ct-image img {
        display: block;
        width: 100%;
        margin-right: auto;
    }
    .img-firtst {
        margin-bottom: 20px;
    }
    .ct-text {
        width: auto;
        padding-left: 20px;
    }
    .ct-title {
        text-align: center;
        display: inline-block;
        width: 30%;
    }
}

/* SCHEDULE */
.sch-wrap {
    width: 100%;
    position: relative;
}
.sch-box {
    position: relative;
    z-index: 0;
}
.sch-box-back::before {
    position: absolute;
    content: "";
    top: 0;
    left: 20px;
    width: 120px;
    background-color: #ff9600;
    height: 100%;
    z-index: -10;
}
.sch-time {
    position: absolute;
    color: #ffc001;
    font-weight: bold;
    background-color: #142345;
    width: 100%;
    z-index: -1;
    border-radius: 10px;
}
.sch-time p {
    padding: 5px 10px;
    display: inline;
}
.sch-title {
    color: #fff;
}
.sch-image img {
    display: block;
    margin-left: auto;
}
.sch-image-dummy {
    max-width: 300px;
    width: 100%;
    display: block;
}
.sch-text {
    width: 80%;
    margin-bottom: 20px;
}
.sch-text-first {
    padding-top: 50px;
}
.sch-col {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}
@media (min-width:768px) {
    .sch-wrap {
        width: 100%;
    }
    .sch-text {
        width: 50%;
    }
}

/* Q & A */
.qa-wrap {
    width: 100%;
}
.qa-q {
    padding-top: 20px;
    position: relative;
    padding-left: 100px;
}
.qa-q::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 80px;
    background-image: url(../images/category_05/sub_01/col03_img_02.png);
    background-size:cover;
    top: 0;
    left: 0;
}
.qa-a {
    padding-top: 20px;
    position: relative;
    text-align: right;
    padding-right: 100px;
    transform: translateY(-10px);
}
.qa-a::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 80px;
    background-image: url(../images/category_05/sub_01/col03_img_01.png);
    background-size:cover;
    top: 0;
    right: 0;
}
.qa-mes {
    position: relative;
    text-align: left;
    display: inline-block;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    z-index: 0;
}
.qa-cur-left::after, .qa-cur-right::after {
    position: absolute;
    content: "";
    display: block;
    background-color: #fff;
    top: 7px;
    transform:rotate(45deg) ;
    width: 30px;
    height: 30px;
    z-index: -1;
}
.qa-cur-left::after {
    left: -5px;
}
.qa-cur-right::after {
    right: -5px;
}
.qa-r {
    margin-right: auto;
}

@media (min-width:768px) {
    .qa-mes {
        
    }
}

/* CATEGORY HEADER */
.category-head {
    padding-top: 20px;
    text-align: center;
    position: relative;
    z-index: 0;
}
.category-head-sp {
    padding-top: 11px;
}
.category-head::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #142345;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}
.category-head-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;

    width: 120px;
    height: 22px;

    color: #fff;
    background-color: #142345;
    border-radius: 100vh;
    text-decoration: none;
    padding: 7px 10px 7px 35px;

    transform-origin: left center;
    transform: scale(0.7);
}
.category-head-btn:before {
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    background-image: url(../images/btn_arrow.png);
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
}
.btn-type {
    width: 60px;
}
.category-head-title {
    width: 30%;
}

.category-head-image {
    width: 27%;
    position: absolute;
    bottom: 20px;
    right: 0;
}
@media(min-width:768px) {
    .category-head-title {
        width: auto;
    }
    .category-head-image {
        width: auto;
    }
    .category-head-btn {
        transform: scale(1);
    }
}

/* CATEGORY MENU */
.category-menu {
    padding-left: 10px;
    padding-right: 10px;
}
.category-box {
    text-align: center;
    width: auto;
    margin-bottom: 40px;
    padding: 0 5px;
    opacity: 0;
    transform: translateY(0) scale(0.9);
}
.category-box img {
    width: auto;
}
.category-box a {
    display: inline-block;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2em;
    color: #142345;
}
.category-text {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-left: 35px;
    text-align: left;
}
.category-arrow {
    position: absolute;
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    top: 0.2em;
    left: 0;
    background-image: url(../images/btn_arrow_b.png);
}

.fade-obj {
    opacity: 0;
}
.fade-anim {
    animation: pop-anim 0.3s ease-in-out 0s both;
}
.pop-obj {
    opacity: 0;
}
.pop-anim {
    animation: pop-up 0.5s ease-in-out 0s both;
}

@keyframes pop-anim {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        transform: translateY(-10px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop-up {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media(min-width:768px) {
    .category-menu {
        display: flex;
        flex-wrap: wrap;
    }
    .category-box {
        width: 32.1%;
    }
}

/* CATEGORY */
.category-title {
    display: inline-block;
    color: #fff;
    font-weight: 900;
    background-color: #142345;
    padding: 20px 30px 10px 30px;
    font-size: 1.5em;
    border-radius: 10px;
}

/* TOP */
.top-menu {
}
.top-box {
    text-align: center;
    margin-bottom: 20px;
    background: url(../images/top_bord.png) repeat-y center bottom 15px;
    opacity: 0;
}
.top-box-image {
    display: inline;
}
.top-box .fuki-01 {
    position: relative;
    display: block;
    font-weight: bold;
    color: #fff;
    font-size: 1.2em;
    background-color: #142345;
    margin: auto;
    width: 190px;
    height: 45px;
    border-radius: 100vh;
    border: 3px solid #142345;
    cursor: pointer;
}
.top-box .fuki-01:before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-bottom: 15px solid #142345;
}
.top-box .fuki-01:hover {
    background-color: #ff7e00;
}
.top-box a {
    text-decoration: none;
}

@media(min-width:768px) {
    .top-menu {
        display: flex;
        align-items: flex-end;
        background: url(../images/top_bord.png) repeat-y;
    }
    .top-board1 {
        background-position: center 260px;
    }
    .top-board2 {
        background-position: center -48px;
    }
    .top-box {
        width: 33.3%;
        margin-bottom: 0;
        background: none;
    }
    .top-first {
        transform: translateY(-20px);
    }
}

/* FOOTER */
.book-footer {
    text-align: center;
    padding-top: 10px;
    color: #fff;
    font-size: 0.8em;
}

/* GALLERY */
#riot-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 100;
    transition: opacity 0.5s;
    display: none;
    opacity: 0;
}
.riot-wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background-color:#ffc001;
}
.riot-image {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}
.riot-image img {
    width: 100%;
    transform:translateY(20px)
}
.riot-text {
    color: #fff;

}
.riot-text-wrap {
    background-color: #142345;
    text-align: center;
    padding-top: 35px;
    padding-bottom: 25px;
}
.riot-close {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    right: 5px;
    top: -55px;
    cursor: pointer;
}
.riot-close::before, .riot-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 50px;
    background: #142345;
}
.riot-close::before {
    transform: translate(-50%,-50%) rotate(45deg);
}
.riot-close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
.riot-next, .riot-prev {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
.riot-next::after, .riot-prev::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-top: 10px solid #fff;
    border-right: 10px solid #fff;
}
.riot-next::after {
    transform: translate(-50%,-50%) rotate(45deg);
}
.riot-prev::after {
    transform: translate(-50%,-50%) rotate(-135deg);
}
.riot-next {
    bottom: 15px;
    right: 20px;
}
.riot-prev {
    bottom: 15px;
    left: 20px;
}
@media(min-width:768px) {
    .riot-close {
        position: absolute;
        right: 10px;
        top: 10px;
    }
    .riot-next::after, .riot-prev::after {
        border-top: 10px solid #142345;
        border-right: 10px solid #142345;
    }
    .riot-next {
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }
    .riot-prev {
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
    }
}
/* OTHER */
.text-center {width: 100%;text-align: center;}
.p-t10 {padding-top: 10px;}
.p-t20 {padding-top: 20px;}
.p-t60 {padding-top: 60px;}
.p-t80 {padding-top: 80px;}
.p-t100 {padding-top: 100px;}
.p-b20 {padding-bottom: 20px;}
.p-b40 {padding-bottom: 40px;}
.p-b80 {padding-bottom: 80px;}
.m-t10 {margin-top: 10px;}
.m-t20 {margin-top: 20px;}
.m-b5 {margin-bottom: 5px;}
.m-b10 {margin-bottom: 10px;}
.m-b20 {margin-bottom: 20px;}
.m-b40 {margin-bottom: 40px;}
.m-b60 {margin-bottom: 60px;}
.m-b80 {margin-bottom: 80px;}
.center { text-align: center;}
.left { text-align: left;}
.right { text-align: right;}
.text-s { font-size: 0.7em;}

@keyframes bouns-anim {
    0% {
        margin-top: 0px;
    }
    100%{
        margin-top: 10px;
    }
}
@keyframes bouns-trans-anim {
    0% {
        transform: translateY(0px);
    }
    100%{
        transform: translateY(-10px);
    }
}