body{
    font-family: NotoSansCJKjp, "Helvetica Neue", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", " 游ゴシック Medium", meiryo, sans-serif !important;
}
body #wrapper{
    background-color: white;
}
div#wrapper.ng-scope #header {
    border-top: #FF8F30 solid 4px;
}
.orange-line-bottom:hover h1.ellipsis, .related_post:hover p{
    text-decoration: underline;
}
.orange-line-bottom:hover  p.ellipsis{
    text-decoration: underline;
}
.orange-line-bottom:hover p.author-title{
    text-decoration: underline;
}
.related_post.related_post_last {
    border-bottom: 0px;
}
.related_post {
    background-color: #FFFFFF;
}
.related_post:hover {
    background-color: #FFFFFF;
}
.related_post.related_post_first {
    border-top: 1px solid #FFC96A;
}

#wrapper.ng-scope .main-contents {
    margin-top: 59px !important;
}

#wrapper .main-contents #mainbody .main-single.panel {
    border: 0 !important;
}

.group-search-mar{
    max-width: 350px;
    height: 44px;
    margin-top: 32px;
    margin-bottom: 32px;
}
.group-search-mar-result{
    max-width: 445px;
    margin-top: 18px;
    margin-bottom: 20px;
}
.result-number{
    font-size: 40px;
    color: red;
    padding-left: 20px;
}
.collapse-mag{
    margin-top: 32px;
    margin-bottom: 32px;
    float: right;
}
.collapse-mag button{
    width: 250px;
    height: 55px;
    text-align: center;
}

button.ellipsis.ng-binding.ng-scope{
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    width: fit-content;
    min-width: 70px;
}
.mag-panel{
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding: 0px !important;
}
.group-search-mar button {
    background-color: #FFC96A;
    margin-top: -3px;
    color: white;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
/* Tabs panel */
.tabbable-panel {
    border:1px solid #eee;
}

/* Default mode */
.tabbable-line > .nav-tabs {
    margin: 0px;
}
.tabbable-line > .nav-tabs > li > a {
    border: 0;
    margin-right: 0;
    color: #737373;
    border-radius: 0 0 0 0;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
    background: none !important;
    color: #333333;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
    color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
    margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
    position: relative;
}
div.white_background .tabbable-line > .nav-tabs > li.active > a {
    color: #FFFFFF;
    background-color: #FFC96A !important;
    /*border-bottom-color: #eee !important;*/
    border: 0px solid #ddd !important;
    padding-left: 0px;
    padding-right: 0px;
}
.tabbable-line > .nav-tabs > li.active > a > li {
    color: #404040;
    background-color: #F9F9F9;
}
.tabbable-line > .nav-tabs > li.active > a > span {
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
}
.tabbable-line > .tab-content {
    margin-top: -3px;
    background-color: #fff;
    padding: 15px 0;
}
.portlet .tabbable-line > .tab-content {
    padding-bottom: 0;
}

/* Below tabs mode */

.tabbable-line.tabs-below > .nav-tabs > li {
    border-top: 2px solid transparent;
}
.tabbable-line.tabs-below > .nav-tabs > li > a {
    margin-top: 0;
}

.tabbable-line.tabs-below > .nav-tabs > li:hover {
    border-bottom: 0;
    border-top: 2px solid #fbcdcf;
}
.tabbable-line.tabs-below > .nav-tabs > li.active {
    margin-bottom: -2px;
    border-bottom: 0;
}
.tabbable-line.tabs-below > .tab-content {
    margin-top: -10px;
    border-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.nav-tabs-mag > li, .nav-pills > li {
    width: 33.333%;
    float:none;
    display:inline-block;
    zoom:1;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background-color: #F9F9F9;
    font-size: 18px;
}

.nav-tabs li:last-child {
    border-right: 0;
}

.nav-tabs, .nav-pills {
    text-align:center;
}

#ck-button label {
    float: left;
    border: 1px solid #FFC96A;
    width: 165px;
    height: 40px;
    color: #FFC96A;
    margin-left: 10px;
    margin-top: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
#ck-button label span {
    text-align:center;
    display:block;
    line-height: 40px;
    font-size: 16px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ck-button label input {
    position:absolute;
    top:-20px;
    color: #FFC96A;
    display: none;
}

#ck-button input:checked + span {
    background-color: #FFC96A;
    color:#fff;
    width: 100%;
    height: 100%;
    line-height: 40px;
}
.container-input-box{
    margin: auto;
    overflow-y: scroll;
    width: 600px;
    height: 150px;
    overflow: auto;
}
.orange-line{
    width: 100%;
    height: 1px;
    background-color: #FFC96A;
}
.filter-mag{
    border-bottom: 1px solid #F4F4F4;
    border-left: 1px solid #F4F4F4;
    border-right: 1px solid #F4F4F4;
    padding: 20px;
}
.filter-mag p
{
    font-weight: bold;
    padding-left: 60px;
    font-size: medium;
    line-height: 1.6;
    margin-top: -10px;
}

.filter-mag div{
    text-align: center;
    padding-top: 20px;
    display: flex;
    width: fit-content;
    margin: auto;
}
.filter-mag div button{
    width: 150px;
    height: 60px;
    margin-left: 20px;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    -webkit-box-shadow: 0px 4px 0px 0px rgba(253,161,0,1);
    -moz-box-shadow: 0px 4px 0px 0px rgba(253,161,0,1);
    box-shadow: 0px 4px 0px 0px rgba(253,161,0,1);
}
.filter-mag div a {
    -webkit-box-shadow: 0px 4px 0px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 4px 0px 0px rgba(204,204,204,1);
    box-shadow: 0px 4px 0px 0px rgba(204,204,204,1);
}

button.btn.orange_background:hover,a.btn:hover {
    color: #ffffff;
}
#pre-pagination:hover, #next-pagination:hover{
    background: #fae8c8;
}
#pre-pagination, #next-pagination{
    border-radius: unset;
    background-color: #ffc96a;
    width: 175px;
    height: 50px;
    padding: 1px;
    border: 0px;
}
.list-report-rest.container.list-mag{
    background : #FFFFFF;
}
.list-report-rest.container.list-mag:hover {
    background: #ffffff;
}
.register-container.orange-line-bottom.ng-scope {
    background: #ffffff;
}
.filter-mag div a{
    width: 150px;
    height: 60px;
    margin-left: 10px;
    margin-right: 20px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.orange_background{
    background-color: #FFC96A;
    color: white;
}

.search-container{
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
}
.orange-line-bottom{
    border-bottom:  1px solid #EC6C00;
}
div.orange-line-top {
    border-top: 1px solid #EC6C00;
}
.register-container{
    text-align: center;
    padding-top: 45px;
    padding-bottom: 25px;
}
.register-container h3{
    font-size: 20px;
    color: #273D77;
}
.register-container span{
    color: #007FC6;
    font-size: 26px;
}
.register-container a{
    background-color: #8CC122;
    width: 250px;
    height: 60px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 45px;
    color: white;
    margin: auto;
    margin-bottom: 20px;
    margin-top:10px;
    -webkit-box-shadow: 0px 4px 0px 0px rgba(92,137,1,1);
    -moz-box-shadow: 0px 4px 0px 0px rgba(92,137,1,1);
    box-shadow: 0px 4px 0px 0px rgba(92,137,1,1);
}
.ellipsis {
    border-radius: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.ellipsis span {
    border-radius: 2px !important;
}
/*.pagination-magazine{*/
/*    min-height: calc(100vh - 240px);*/
/*}*/
.pagination-magazine li a {
    border-color:#EC6C00 !important;
    width: 180px;
    height: 60px;
    text-align: center;
    margin-right: 20px !important;
    margin-left: 20px !important;
    line-height: 45px !important;
    color: black !important;
}

.center-pagination{
    width: fit-content;
    margin: auto;
    text-align: center;
    padding-top: 5px;
}
.disabled a{
    pointer-events:none;
    cursor: not-allowed! important;
    opacity: 0.5 !important;
    text-decoration: none !important;
}
.btn:hover{
    opacity: 0.7;
}
.margin-top-20px{
    margin-top: 20px !important;
}
.padding-top-10px{
    padding-top: 10px !important;
}
.list-mag{
    position: relative;
    padding: 0px !important;
    display: block !important;
}
.button-mag{
    margin-top: 10px !important;
    position: absolute;
    bottom: 0;
    padding-left: 187px;
    padding-bottom: 10px;
    width: 100%;
}
.button-mag p{
    padding-bottom: 5px;
}
.result-filter-string{
    margin-top: 15px;
    font-size: 12px;
    font-weight: bolder;
}
.result-filter-string span {
    margin-top: 15px;
    font-size: 12px;
    font-weight: normal;
}

.result-filter-string span b {
    font-size: 14px;
    font-weight: normal;
}
.white_background{
    background-color: white;
}
.pc_display_none{
    display: none;
}
.sp_display_none{
    display: block;
}
.first-image-mag{
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: cover;
    object-fit: cover;
}
.text-number-result{
    font-size: 18px; !important;
}

.result-container {
    margin-bottom: 10px;
}

.row .change-search .collapse-mag button {
    color: white;
    border: none;
    outline: none;
    font-size: 18px;
}
.disable_button a{
    background-color:#F3F3F3 !important;
    border:none !important;
}
.result-filter-string-pc,.result-filter-string-pc span{
    padding-top: 1px;
    line-height: 1.5;
    font-size: 16px;
    letter-spacing: 1.2px;
    word-spacing: 10px;
}
.filter-show{
    cursor: pointer;
}
.profile_mag h3{
    width: 80%;
}
.bx-controls-direction{
display: none;
}
.img-contain{
    width:80%;
    margin:auto;
}
#nextprev{
    z-index: 2;
    margin-top: -250px;
    padding-bottom: 230px;
    padding-right: 10px;
    padding-left: 10px;

}
#mainbody .list-report-rest .category-subject-button button {
    border: 1px solid #FFC96A;
}

.orange-line-bottom {
    border-bottom: 1px solid #FFC96A;
}
a#next-pagination i.fa.fa-caret-right {
    margin-left: 4px;
}
a#pre-pagination i.fa.fa-caret-left {
    margin-right: 4px;
}
.related_story p span.fa-book {
    margin-right: 4px;
}
/*=================SP =================*/
@media screen and (max-width: 767px) {
    #nextprev{
        margin-top: -220px;
        padding-bottom: 200px;
    }
    button#search-submit {
        background-color: #FFC96A;
        height: 44px;
        margin-top: 0px;
    }
    input#search-list {
        height: 44px;
    }
    .sp_display_none{
        display: none;
    }
    .pc_display_none{
        display: block;
    }
    .pagination-magazine li a {
        width: 80px;
        height: 30px;
    }

    .nav-tab-mag > li, .nav-pills > li {
        width: 33.333%;
        float:none;
        display:inline-block;
        zoom:1;
        height: 45px;
        background-color: #F9F9F9;
        font-size: 16px;
    }

    #ck-button label {
        border: 1px solid #FFC96A;
    }

    #ck-button label span {
        text-align:center;
        display:block;
        line-height: 30px;
        font-size: 14px;
        color: #FFC96A;
    }
    #ck-button label {
        float: left;
        width: fit-content;
        min-width: 85px;
        height: 30px;
        color: #EC6C00;
        margin-bottom: 0px;
    }
    #ck-button label.category-item {
        min-width: 120px;
    }
    #ck-button label input {
        position:absolute;
        top:-20px;
        color: #EC6C00;
        display: none;
    }
    #ck-button input:checked + span {
        background-color: #FFC96A;
        color:#fff;
        width: 100%;
        height: 100%;
        line-height: 30px;
    }
    .container-input-box{
        margin: auto;
        overflow-y: scroll;
        width: 300px;
        height: 125px;
    }
    .filter-mag div button{
        background-color: #FFC96A;
        width: 100px;
        height: 45px;
        margin-left: 15px;
        margin-right: 5px;
        font-size: 14px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        -webkit-box-shadow: 0px 3px 0px 0px rgba(253,161,0,1);
        -moz-box-shadow: 0px 3px 0px 0px rgba(253,161,0,1);
        box-shadow: 0px 3px 0px 0px rgba(253,161,0,1);
    }

    .filter-mag div a{
        width: 100px;
        height: 45px;
        margin-left: 5px;
        margin-right: 15px;
        font-size: 14px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        -webkit-box-shadow: 0px 3px 0px 0px rgba(204,204,204,1);
        -moz-box-shadow: 0px 3px 0px 0px rgba(204,204,204,1);
        box-shadow: 0px 3px 0px 0px rgba(204,204,204,1);
    }
    .filter-mag p
    {
        font-weight: bold;
        padding-left: 30px;
        font-size: 14px;
    }
    .register-container a{
        height: 46px;
        width: 200px;
        line-height: 35px;
        font-size:16px
    }
    a.disabled {
        pointer-events: none;
        cursor: default;
    }
    .collapse-mag{
        margin-top: 5px;
        margin-bottom: 0px;
        float: right;
        text-align: center;
    }
    .collapse-mag button{
        width: 80px;
        height: 35px;
        text-align: center;
        line-height: 2px;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
    }
    .pagination-magazine li a {
        line-height: 15px !important;
    }
    .search-container{
        padding-left: 10px;
        padding-right: 10px;
    }
    .button-mag{
        padding-left: 134px;
        padding-bottom: 12px;
    }
    .group-search-mar-result{
        max-width: 445px;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .group-search-mar-result input::placeholder{
        font-size: 12px;
    }
    .result-filter-string{
        margin-top: 8px;
    }
    .result-filter-string-search{
        margin-top: -10px;
        padding-left: 10px;
        padding-top:10px;
        line-height: 1.6;
    }
    span.result-number{
        font-size: 18px;
        color: red;
        padding-left: 20px;
    }
    .result-filter-string span b {
        font-size: 18px;
        font-weight: normal;
    }
    .register-container h3{
        font-size: 12px;
        font-weight: 700;
    }
    .register-container span{
        font-size: 18px;
    }

    .row .change-search {
        margin-top: 3px;
    }

    .row .change-search .collapse-mag button {
        font-size: 13px;
        height: 44px;
        width: 90px;
        border-radius: 16px;
    }
    .first-image-mag-sp{
        display: none;
    }
    .author-title{
        max-width: 93%;
    }
    #mainbody .main-single .archive-info .box-mag .txt-mag {
        width: fit-content;
        min-width: 75px;
        max-width: 120px;
        padding: 0px 3px;
        height: 26px;
        border: 1px solid #ffd996;
    }
    #mainbody .main-single .archive-info .txt-mag span{
        font-weight: normal;
    }
    .btn-social-share.pc {
        display: none;
    }
    div#floating_button{
        right: 20px;
    }
    i.register_pc {
        display: none;
    }
    i.register_sp {

    }
    .related_story p, span.fa.fa-book.txt.fa_icon_home {
        font-size: 18px;
    }
    div#floating_button {
        background: #FFC96A;
        border: #FFC96A solid 0.5px;
    }

    #mainbody div.title-content-report .title-report-rest h1 {
        font-size: 14px;
    }

    #mainbody .list-report-rest .category-subject-button p {
        font-size: 11px;
    }

    #mainbody .list-report-rest .category-subject-button .margin-top-10px button {
        font-size: 11px;
        width: 100px;
    }

    .register-container a {
        background-color: #8CC122;
        -webkit-box-shadow: 0px 3px 0px 0px rgba(92,137,1,1);
        -moz-box-shadow: 0px 3px 0px 0px rgba(92,137,1,1);
        box-shadow: 0px 3px 0px 0px rgba(92,137,1,1);
    }

    .tabbable-line > .nav-tabs > li.active > a > span {
        border-bottom: 0;
    }

    .tabbable-line > .nav-tabs > li.active {
        padding: 11px 5px;
        height: 46px;
    }

    .tabbable-line > .nav-tabs > li.active a {
        display: contents;
        color: #FFFFFF !important;
    }

    .tabbable-line > .nav-tabs > li.active {
        background-color: #FFC96A !important;
    }
    .list-report-rest.container.list-mag {
        background: #FFFAF2;
    }

}
/*=================END SP mobile =================*/
.related_story p, span.fa.fa-book.txt.fa_icon_home {
    color: #EC6C00;
}

.related_story {
    padding: 9px 9px;
    text-align: left;
    font-size: 20px;
}
#footer .btn_top {
    text-align: right;
}
footer.footer {
    padding-top: 50px;
}
@media (min-width: 1200px) {
    .main-contents #mainbody.container {
        width: 1140px !important;
    }
}

/*=================PC =================*/
@media only screen and (min-width: 767px){
    .first-image-mag{
        height: 400px;
    }
    .collapse-mag button{
        width: 160px ;
    }
    .fix-footer{
        bottom: 0;
        position: fixed;
        width: 100%;
    }
    .input-search{
        height: 50px;
    }
    #search-submit{

    }
    .group-search-mar{
        max-width: 450px;
        height: 55px;
        margin-top: 32px;
        margin-bottom: 32px;
    }
    input#search-list{
        height: 100%;
        font-size: 18px;
    }
    button#search-submit {
        height: 100%;
        margin-top: 0px;
        width: 170%;
        font-size: 18px;
    }
    .btn-social-share.sp {
        display: none;
    }
    div#loginmenumag{
        float: right;
        margin-top: 8px;
    }
    i.register_sp {
        display: none;
    }
    i.register_pc {
        font-size: 30px !important;
    }
    span.fa-text {
        color: #fff;
        background-color: #669900;
        padding: 11px 50px 11px;
    }
    .register_pc span.fa-text {
        font-size: 17px;
        padding: 10px 50px 10px;
        border-radius: 4px;
    }
    .tabbable-panel {
        border: 2px solid #eee;
    }
    .orange-line {
        height: 3px;
    }
    .register-container span{
        font-size: 38px;
    }
    .register-container a {
        margin-top: 25px;
    }
    div.title-content-report {
        width: 100%;
        height: auto;
        padding-top: 30px;
    }
    div.button-mag {
        padding-bottom: 30px;
    }
    div.orange-line-top {
        border-top: 0px solid #EC6C00;
    }
    .register-container h3 {
        font-weight: 700;
    }
    .related_story p, span.fa.fa-book.txt.fa_icon_home {
        font-size: 23px;
    }

    div#floating_button.display {
        display: table;
    }
    div#floating_button {
        display: none;
        position: fixed;
        z-index: 999;
        bottom: 24px;
        left: calc(85% - 20px);
        padding: 12px;
        width: 20px;
        height: 20px;
        color: #fff;
        background: #FFC96A;
        border: #FFC96A solid 0.5px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
    .fa.fa-angle-up.fa-2x {
        font-size: 4em;
    }
}
/*=================END PC =================*/

@media only screen and (max-width: 375px) {
    .register-container h3 {
        font-size: 11px;
    }
    .register-container span {
        font-size: 14px;
    }
    .register-container a {
        height: 40px;
        width: 180px;
        line-height: 27px;
        font-size: 15px;
    }
}

@media only screen and (max-width: 360px) {
    .register-container h3 {
        font-size: 10px;
    }
}
