/*管理画面　アコーディオンCSS*/
#accordion .inner{
    display: none;
  }
   
  #accordion p{
    position: relative;
    cursor: pointer;
  }
   
  #accordion p:after {
    position: absolute;
    top: -50%;
    right: 0;
    content: '+';
    width:50px;
    height:50px;
    line-height:50px;
    background: #2e2624;
    color: #fff;
    text-align: center;
    transition: all 0.4s;
  }
  #accordion p.xmark:after {
      content: '×';
  }

.sub_categ{
    margin: 10px;
    border-radius: 10px;
}
.sub_categ li{
    margin: 8px;
    border-radius: 10px;
    padding: 8px;
}
.sub_categ .border{
    border: 1px solid grey;
}

/*ボタンボックスの種類　TOP使用してる*/
.box_radius{
    background: red;
    border-radius: 10px;
    color:white;
    font-weight:bold;
    text-align:center;
    padding-left:20px;
    margin:5px;
}
.box_radius a{
    text-align:center;
    color:white;
}
.box_radius a:hover{
    box-sizing: border-box;
    border: none;
    background: white;
}
.box_black{
    background: black;
}
.box_red{
    background: red;
}
.box_grey{
    background: grey;
}
.box_green{
    background: green;
}
.box_blue{
    background: blue;
}


/*コメント既読未読のiframe*/
.comment{
    width: 100px;
    height: 30px;
    border: 0px;
    float: left;
    margin-top: 5px;
}
.comment_daily{
    width: 100px;
    height: 30px;
    border: 0px;
    margin-top: 5px;
}
.comment_statsu_btn{
    background: red;
    width:60px;
    padding: 3px;
    border-radius: 4px;
    text-align: center;
    color: white;
}
input[type="text"]{
    width:99%;
}


h5{
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 20px;
}
table.scroll {
width:100%;
table-layout: inherit;
white-space: inherit;
-webkit-overflow-scrolling: touch; /* スマホでなめらかスクロール */
}

/*請求管理ページの各一覧へのリンク*/
.footer_link{
    height: 165px;
    width: 100%;
    padding: 5px;
    margin-bottom: 50px;
    margin-left: 2%;
}
.footer_link ul li{
    font-size: 15px;
    text-align: center;
    width: 43%;
    float: left;
    padding: 2px;
    margin: 7px;
    border: 1px solid grey;
    border-radius: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer_link ul a li{
    color:black;
}
.footer_link ul .f1{
    width: 91%;
}
td{
    vertical-align: middle;
}
@media (max-width: 900px){ /*スマホとかは、横スクロールバーを表示*/
    table.scroll{
    overflow-x: scroll; /* 横スクロール処理 */
    white-space:nowrap;/* 自動改行させない */
    display: block;
    }
}
/*縦書き*/
.h_word{
    -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
/*
th:hover {
	background-color: #95D2FF;
}
tr:hover {
	background-color: #FFD3D3;
}
td:hover {
	background-color: #FFAEAE;
}
*/
input[type="number"]:focus {
  background: #B5FFC6;
}
input[type="text"]:focus {
  background: #B5FFC6;
}
/*上部に固定するCSS*/
.fixed01{
    position: sticky;
    top: 0;
    color: #fff;
    background: #333;
    &:before{
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: 100%;
        height: 100%;
        border: 1px solid #ccc;
    }
}

.w_80{
    width: 80%
}
/*　　ブライト　*/
a:hover img{
opacity:0.7;
filter:alpha(opacity=70);
-ms-filter: "alpha( opacity=70 )";
    transform: scale(1);
    transition: .3s ease-in-out;
    transform: scale(1.05);
}
.submit{
    padding: 10px;
    text-align: center;
    
}
.news ul{
    margin-bottom: 30px;
    
}
.news ul li{
    margin: 5px;
    margin-top: 10px;
    border-bottom: 1px solid #ECECEC;
    padding: 5px;
    
}
.news ul li:hover{
    background: #FFDAB6;
}
.m_30{
    margin: 30px;
}

.red{
    color: red;
}
.grey{
    color: #9E9E9E;
}
.blue{
    color: blue;
}
.box_r_2{
    border-radius: 25px;
    width: 45%;
    margin: 5px;
    padding: 5px;
    
}
.box_r_3{
    border-radius: 25px;
    width: 29%;
    margin: 5px;
    padding: 5px;
    
}
.red_bg{
    background: #FF0004;
    color: white;
}
.green_bg{
    background: #0B6B00;
    color: white;
}
.blue_bg{
    background: #00188B;
    color: white;
}

.big_font{
    font-size: 18px;
    font-weight: bold;
}
.bold{
    font-weight: bold;
}
.error_mess_box{
    display: grid;
    place-items: center;
    position: fixed;
    top:40%;
    left: 5%;
    background-color: white;
    opacity: 90%;
    width: 90%;
    min-height: 100px;
    text-align: center;
    z-index: 9999;
    margin: 5px;
    color: red;
    border: 3px solid red;
    padding: 5px;
}
.error_mess_box p{
    font-size: 17px;
    margin: 10px;
}
::placeholder {
  color: #D3D3D3;
}

/*ボタンのCSS
------------------------------------------------------------*/
#button a{
    text-decoration: none;
    border: 0px;
}
#button :hover{
    color: black;
    background-color: black;
    border: 2px solid #000000;
}
.button {
    text-align: center;
    background-color: #000000;
    border: 2px solid #000000;

    color: #fff;
    line-height: 50px;
    margin: 5px;font-size: 20px;
    font-weight: bold;
    border-radius: 15px;
    width: 230px;
    margin: 0 auto;
}
.button:hover {
    color: black;
    background-color: #fff;
}
#button_red a{
    text-decoration: none;
    border: 0px;
}
.button_red {
    text-align: center;
    background-color: red;
    border: 2px solid red;
    color: #fff;
    line-height: 50px;
    margin: 5px;font-size: 20px;
    font-weight: bold;
    border-radius: 15px;
    width: 230px;
    margin: 0 auto;
}
.button_red:hover {
    background-color: #fff;
    border-color: red;
    color: red;
}
.border_box a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.border_box {
    font-weight: bold;
    background-color: black;
    border: 2px solid black;
    padding: 2px;
    width: 125px;
    float: left;
    margin:5px;
    text-align: center;
    color: #fff;
    line-height: 30px;
    border-radius: 15px;
}
.border_box:hover {
    background-color: #fff;
    border-color: black;
    color: black;
}
.border_box_red a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.border_box_red {
    font-weight: bold;
    background-color: red;
    border: 2px solid red;
    padding: 2px;
    width: 125px;
    float: left;
    margin:5px;
    text-align: center;
    color: #fff;
    line-height: 30px;
    border-radius: 15px;
}
.border_box_red:hover {
    background-color: #fff;
    border-color: red;
    color: red;
}
.s_box{
    padding: 2px;
    margin: 2px;
    background: #4E4E4E;
    display: block;
    text-align: center;
    border-radius: 7px;
    width: 60px;
    color: white;
    text-align: center;
}
.s_box_red{
    padding: 2px;
    margin: 2px;
    background: #FF0004;
    display: block;
    text-align: center;
    border-radius: 7px;
    width: 60px;
    color: white;
    text-align: center;
}
/*請求ページのボタンリスト
------------------------------------------------------------*/
.s_box_ul .box_black {
    border: black solid 1px;
}
.s_box_ul .box_red {
    border: red solid 1px;
}
.s_box_ul .box_blue {
    border: blue solid 1px;
}
.s_box_ul li a {
    width: 100px;
    padding: 3px;
    margin: 3px;
    display: block;
    float: left;
    /*background: #333333;*/
    border-radius: 10px;
    text-align: center;
    color: white;
}
.s_box_ul li a:hover {
    background:white;
    border: blue solid 1px;
    color: blue;
}

.c_0 {
    background: #292929;
    border: #292929 solid 1px;
    color: white;
}
.c_1 {
    background: #FF7173;
    border: #FF7173 solid 1px;
    color: white;
}
.c_2 {
    background: #1627D9;
    border: #1627D9 solid 1px;
    color: white;
}
.c_3 {
    background: #337B00;
    border: #337B00 solid 1px;
    color: white;
}
.c_4 {
    background: #E06F00;
    border: #E06F00 solid 1px;
    color: white;
}
placeholder{
    color: #D1D1D1;
}
/*アコーディオンCSS
----------------------------------------------------------*/
.accordion {
  margin: 3em auto;
  max-width: 60vw;
}
.toggle {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 1em;
}
.title,
.content {
  -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
.title {
	border: solid 1px #ccc;
	padding: 1em;
	display: block;
	color: #333;
	font-weight: bold;
}
.title:after, .title:before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #999;
  transition: all 0.3s;
}
.title:after {
  transform: rotate(90deg);
}
.content {
  max-height: 0;
  overflow: hidden;
}
.content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
}
.toggle:checked + .title + .content {
	max-height: 10000px;
	transition: all .8s;
}
.toggle:checked + .title:before {
	transform: rotate(90deg) !important;
}
/* ページャースタイル
-----------------------------------------------------------*/
.pager{
	margin-top:50px;
	margin-bottom:50px;
	font-size: 12px;
	color:black;
}
.pager a{
	padding:3px;
	padding-right:7px;
	padding-left:7px;
	border:black 1px solid;
	background:white;
	color:black;
	border-radius: 15px;
}
.pager b{
	padding:3px;
	padding-right:7px;
	padding-left:7px;
	border-radius: 15px;
	/*
	border:#008735 1px solid;
	*/
	background:#7E7E7E;
	color:white;
}
/*-----------------------------------------------------------*/

/*スマホ対応テーブルCSS
------------------------------------------------------------*/
th {
  background: #000000;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
td {
  border: solid 1px #ccc;
  padding: 10px;
}
.tbl-r05 th {
  background: #000000;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
.tbl-r05 td {
  border: solid 1px #ccc;
  padding: 10px;
}
.tbl-r05 td:first-child {
  background: #fbf5f5;
}
.tbl-r05 input[type="checkbox"]{
    height: 30px;
    width: 30px;
}
.th_right th{
    text-align: right;
    padding-right: 25px;
}
@media screen and (max-width: 640px) {
  .tbl-r05 {
    width: 80%;
  }
  .tbl-r05 .thead {
    display: none;
  }
  .tbl-r05 tr {
    width: 100%;
  }
  .tbl-r05 td {
    display: block;
    text-align: right;
    width: 100%;
  }
  .tbl-r05 td:first-child {
    background: #000000;
    color: #fff;
    font-weight: bold;
    text-align: center;
  }
  .tbl-r05 td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
}



/*------------------------------------------------------------*/


/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
    
}

@media only screen and (min-width: 800px){
    
}

@media only screen and (min-width: 641px){
    
}

@media only screen and (max-width: 640px){
    
}

@media only screen and (max-width: 799px){
    /*タブレット　スマホ*/
    .s_box_ul li a {
        width: 98%;
        padding: 6px;
        margin: 6px;
    }
    .error_mess_box{
    }
    .error_mess_box p{
        font-size: 13px;
        margin: 5px;
    }
    .footer_link {
        height: 55vh;
    }
    .footer_link ul li{
        font-size: 13px;
        text-align: center;
        width: 95%;
        padding: 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .footer_link ul .f1{
        width: 95%;
    }


}

@media only screen and (max-width: 1199px){
    /*
    .col2 li{
		width: 40%;
		padding: 0 3%;
		vertical-align: top;
	}
    */
}