﻿html {
    height:100%;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
}
body {

    font-family:"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","Meiryo UI","メイリオ",Meiryo,sans-serif!important;
    font-size:16px;
    line-height:1.42857;
    height:100%;
      color: rgba(0, 0, 0, .84)!important;

    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

.header{
    background-color:#1d2488!important;
    color:#fff;
    width:100%;
}

.allcontents {
    position: relative;
    min-height: 100%;
    padding-bottom: 0em;
}

.contents {
    margin-top: 0em;
    padding-bottom: 80px;
    margin-bottom: 0em;
}

.footer_top {
    background-color:#c9af80;
    height: 70px;
    bottom:0;
    position:absolute;
    text-align:center;
    margin: auto; 
    width:100%;
    z-index:1000;

}

.footer:after{
    content:'Copyright (C)  . All Rights Reserved.';
}

.sidebar {
    margin-top:3.5rem;
    margin-botto1m:1rem;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    display:block;
    overflow-x:hidden;
    overflow-y:auto;
}



@media screen and (max-width:991px) {
    .sidebar {
/*
        bottom:auto;
*/
    margin-top:0;
    margin-bottom:0;

        transition: .3s ease-in-out;
        /*滑らかに表示*/
        -webkit-transform: translateX(-105%);
        transform: translateX(-105%);/*左に隠しておく*/
        z-index: 100;/*最前面に*/
        position: absolute;
        background-color: #ededed;        }
}
.menu {
        margin-top:3.5rem;
/*
        height:15.5rem;
*/
        top:0;
        right:0;
        position:fixed;
}

    .main{
        margin-top:3.5rem;
        margin-bottom:1rem;
        overflow-x:hidden;
        overflow-y:auto;
        top:0;
        bottom:0;
        right:0;
        display:block;
        position:fixed;
        background-color:#E8EAF6;
    }

p{
    text-indent:1em;
    margin-top:0;
    margin-bottom:0;
}


.reind{
     text-indent: -1em;
     margin-left: 1em;
     margin-top:0.5em;
}

.ind1{
    margin-left:1.5em;
    text-indent:-1.5em;
}
.ind2{
    margin-left:1.5em;
    text-indent:-1.5em;
}
.ind3{
    margin-left:2.5em;
    text-indent:-2.5em;
}
.ind4{
    margin-left:3.2em;
    text-indent:-3.2em;
}

/*テキスト*/

.pmd-card {
  padding: 0em 0.3em;
  margin-bottom: 2.0em;
  background-color: #fff;
  border-radius: 0.1em;
}

.pmd-card-title {
  padding: 0 0 0 1em;
  margin-bottom: 2px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;

}

.pmd-card-body {
  padding-right: 1em;
  padding-left: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  color: rgba(0, 0, 0, .84);
}

.pmd-card-body-xs {
  padding-right: 0.5em;
  padding-left: 0.5em;
  margin-top: 0.1em;
  margin-bottom: 0.2em;
  color: rgba(0, 0, 0, .84);
}


h1.list-group-item-heading {/*テキスト（目次・章タイトル）*/
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 0.5;
}

.pmd-card-title-text {
  margin-top: 0;
  margin-bottom: 0;
  color: inherit;
}

h5.pmd-card-title-text {/*テキスト（タイトル）*/
  padding-top: 1.0em;
  margin-bottom:0.5em;
  font-size: 1.1em;
  font-weight: bold;
}

h1.pmd-card-title-text {
  margin-bottom:0.5em;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 2.0;
}

h2.pmd-card-title-text {
  padding-top: 1.0em;
  margin-bottom:0.5em;
  font-size: 1.1em;
  font-weight: bold;
  color: #006896;
}


h3.pmd-card-title-text{
  padding-top: 0.5em;
  margin-bottom:0.2em;
  font-size: 1.0em;
}

.pmd-card-subtitle-text {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: .54;
}

/*テキスト*/

/*
.title_margin{
    margin-top:1em;
    margin-bottom:0.25em;
}
*/

.spy{
    height:100%;
    position:relative;
}

ul {
    margin-bottom:0.125rem!important;
}
.mokuji_title{
    margin-top:1rem!important;
}

.nav > li > a {
  padding: 0.05rem 0.25rem;
}


.list-group-item {
  padding-top: 0px!important;
  padding-bottom: 0px!important;
  color: #555555;
}

.list-group-item.disabled,
.list-group-item.disabled:hover,
.list-group-item.disabled:focus {
  background-color: #fff !important;
  background-color: #eeeeee;
  color: #777777;
  cursor: not-allowed;
}


li.list-group-item { /*練習問題：進捗表示*/
    padding-top: 0.5em !important;
    padding-bottom: 0px !important;
    color: #555555;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  background-color: #EFEBE9;
  border-color: #EFEBE9;
}

.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: red!important;
  background-color: #ffffff;
}


.list-group {
  margin-bottom: 0px!important;
  padding-left: 0;
}

.list-group-info {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 30px;
  list-style: none!important;
}

.list-group-study {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 30px;
  list-style: none!important;
}

.list-group-consider {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 30px;
  list-style: none!important;
}


/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
}

#nav-input:checked ~ .sidebar {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*中身を表示*/
}
/*閉じる用の薄黒カバー*/
#nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

.nav-unshown{
    display:none;
}

.progress-bar {
    font-size:0.7rem;
}

.kento_checkbox{
    display:none;
}
.kento_checkbox:checked  ~  .ashi, .kento_checkbox:checked  ~ .ashi2{
    text-decoration:line-through;
    color:#888;
}

.ashi{
    margin-left:0.5rem;
    cursor:pointer;  font-weight:normal;
}

.ashi2{
    cursor:pointer;  font-weight:normal;
}

.gogun_kaito{   
    font-weight:bold;
}
.gogun_kaito:before{
    content:"［  ";
}
.gogun_kaito:after{
    content:"  ］";
}

.spacer_bottom1{
    margin-bottom:1rem;
}

label{
    display:inline;
}

.progress {
  margin-bottom: 0px;
}
.fuchi {
	font-weight: bold; text-shadow: 1px 1px 1px #263238, 1px -1px 1px #263238, -1px 1px 1px #263238, -1px -1px 1px #263238, 3px 3px 6px #888;
}

.midashi_inf {
    border-left: 2.5px solid #2196f3;
    padding-left: 0.25em;
    padding-top: 0.125em;
    padding-bottom: 0.125em;
    color:#111!important;
}
@media screen and (min-width:768px) {

    .flexbox_container{
        display:flex;
    }
    .flexbox_item{
        display:flex;
    }

    .flexbox_item_inner {
        display: flex;
        flex-direction:column;
width:100%;
max-height:200px;overflow-y:scroll;
    }
    }


.btn-block {
  display: block;
  width: 100%!important;
  margin-top:1rem!important;
}


/*-------------------目次-----------------*/
.midashi1{
    padding-left:1.0em;
    text-indent:-1.0em;
    color: #FFF;
    font-size:1.2em;
    font-weight: bold;
}
.midashi2 {
    margin-left: -0.5em;
    padding-right: 0.5em;
    color: #000000;
    font-weight: bold;
}
.midashi3{
    padding-left:1.0em;
    text-indent:-1.0em;
    padding-right: 0.5em;
    color: #000000;
    font-weight: bold;
}
.midashi4{
    padding-left: 1.0em;
    text-indent: -1.0em;
    padding-right: 0.5em;
    line-height: 150%;
    color: #006896;
}
.midashi5{
    padding-left:3.0em;
    text-indent:-3.0em;
}

.mokuji-color{
    color: #000000;
    font-weight: bold;
}


/*-------------------目次-----------------*/


/*-----------------囲い込み---------------*/
.COLUMN {
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #f0f8ff;

    border-radius: 5px;/*角の丸み*/
}
.COLUMN-title {
    padding: 0.1em 0.2em;
    margin-right: 1em;
    font-weight: bold;
    background: #6091d3;
    color: #FFF;/*文字色*/
    border: solid 3px #6091d3;/*線*/
    border-radius: 5px;/*角の丸み*/
}

.box1 {
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #f0f8ff;
    border: solid 1px #000000;/*線*/
}

.box2 {
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #FFF;
    border: solid 1px #1e90ff;/*線*/
}
.box2-title {
    padding: 0.1em 1em;
    font-weight: bold;
    color: #FFF;/*文字色*/
    background: #1e90ff;
    border-radius: 5px;/*角の丸み*/
}

.box3 {
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #FFF;
    border: solid 1px #000000;/*線*/
}
/*-----------------囲い込み---------------*/


.setumon{
    margin-left:1.0em;
    margin-right:0.5em;
    margin-bottom:1.0em;
    font-weight:bold;
}

hr.line1{
    border-top: 1px solid #8c8b8b;
    margin-top:1.0em;
    margin-bottom:0.5em;
}

.pagetop{
    position: fixed;
    bottom: 16px;
    right: 16px;
    }

.pagetopMP{
    position: fixed;
    bottom: 16px;
    right: 16px;
}


/*問題選択肢用*/
.question_radio_none input[type="radio"] {
    display:none;
}
.question_radio_none input[type="radio"] + label {
  margin: 0.25em;
  content: "";
  /*btn*/
    display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  border-radius: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /*btn-ghost*/
    background: transparent;
    padding: 8px 15px;
  /*btn-success*/
  color: #5cb85c;
  border: 1px solid #5cb85c;

}
.question_radio_none input[type="radio"] + label:hover{
	opacity: 0.75;color:#FFFFFF;
        background-color:#5cb85c;    

}
.question_radio_none input[type="radio"] + label:focus{
    color:#FFFFFF;
}


.question_radio_none input[type="radio"]:checked + label {
    background-color:#5cb85c;    
    color: #fff;
    text-shadow: 0.5px 0.5px 0.5px #263238,0.5px -0.5px 0.5px #263238,-0.5px 0.5px 0.5px #263238,-0.5px -0.5px 0.5px #263238;

}

.question_radio_none td{
    padding-left:0.125em;
    padding-right:0.125em;
}

  /*No.4*/
  .label-result{
    display:block;
    width:70px;
}

.userSelect{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/*印刷設定*/
@media print {
    .collapse {
        display: block;
    }
}

@media print {
    .main {
        position: relative;
        margin-top: -3.5em !important;
        background-color: #FFFFFF !important;
    }

    .mokuji {
        display: none;
    }
}