@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");


/* Original CSS */


/* 共通 */

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    height: 100px;
}
.navbar-brand img {
    height: 80px;
    width: auto;
}
.navbar-header {
    height: 100px;
}
.navbar-nav {
    display: flex;
    align-items: flex-end; /* 下揃え */
    height: 100px; /* 高さを100pxに設定 */
}
.navbar-nav > li > a {
    display: flex;
    align-items: flex-end; /* 下揃え */
    padding: 10px 15px;
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: #eee; /*#f8f8f8;*/
        z-index: 1050; /* メニューが前面に表示されるように調整 */
        position: fixed; /* 固定位置にする */
        top: 100px;
        left: 0;
        right: 0; /* 右側も0にして左右のずれを防ぐ */
        width: 100%; /* 幅を画面全体に広げる */
        max-height: none; /* 高さ制限をなくす */
        overflow-y: hidden; /* スクロールバーを表示しない */
    }
    .breadcrumb, .header {
        z-index: 1; /* メニューより低い位置に設定 */
        position: relative;
    }
    .navbar-nav {
      height: auto;
      flex-direction: column; /* 縦方向に並べる */
        align-items: stretch;
        padding-left: 0; /* 左側の余白をなくす */
        margin-left: 0; /* 左側のずれを防ぐためにマージンも0 */
    }
    .navbar-nav > li > a {
        padding: 8px 15px;
    }
    .navbar-default {
        height: auto;
    }
    .navbar-toggle{
      margin-right: 0;
    }
    .container>.navbar-collapse, 
    .container>.navbar-header,
    .container-fluid>.navbar-collapse, 
    .container-fluid>.navbar-header {
        margin-left: 0;
        margin-right: 0;
    }    
}




#footer_box{
	height:20px;
	text-align:center;
	margin-top:10px
}

.footer_adjust{
	margin-bottom:50px;
}

.edit_bottom{
	margin-bottom:20px;
}

/* ヘッダー部分 タイトル */
/* #toggle_navi .navbar-nav {
	margin-left:30px;
	margin-top:3px;
} */

.breadcrumb{
  background-color:#C00;
}

.breadcrumb a{
	color:#FFF;
}
.breadcrumb > li + li:before {
	color:#FFF;
	content: '\03e';
}

/* ログイン画面 */
@media (min-width: 768px) {
	#login_box{
		position:absolute;
		display:block;
		
		width:350px;
		height:170px;

		top:0px;
		right:0px;
		bottom:0px;
		left:0px;
		
		margin:auto;
		padding:20px;
		
		background-color:#f5f5f5;
		border-radius:5px;
		border: 1px solid #ccc;
	}
	
	#login_err{
		margin-top:30px;
		text-align:center;
		color:#900;
	}
}
@media (max-width: 767px) {
	#login_box{
		position:absolute;
		display:block;
		
		width:320px;
		height:170px;

		top:0px;
		right:0px;
		bottom:0px;
		left:0px;
		
		margin:auto;
		padding:20px;
		
		background-color:#f5f5f5;
		border-radius:5px;
		border: 1px solid #ccc;
	}
	
	#login_box .gright{
		text-align:right;
	}
	
	#login_err{
		margin-top:30px;
		text-align:center;
		color:#900;
	}	
}

/* 一覧画面 */

.pagination>li>a, .pagination>li>span{	/*ページナビ微調整*/
	padding: 7px 12px 5px 12px;
}


#master_list{
	font-size:16px;
}

#master_list th{
	background-color: #dff0d8;
	text-align: center;
}
#master_list th a{
	color:#000;
}
#master_list td{
	vertical-align:middle;
}
#master_list .btn_field{
	text-align: center;
}
#master_list .fw10{	width:10%;	}
#master_list .fw15{	width:15%;	}
#master_list .fw20{	width:20%;	}
#master_list .fw30{	width:30%;	}
#master_list .fw50{	width:50%;	}

#master_list .fw30p{	width:30px;	}
#master_list .fw40p{	width:40px;	}
#master_list .fw50p{	width:50px;	}
#master_list .fw60p{	width:60px;	}
#master_list .fw70p{	width:70px;	}
#master_list .fw80p{	width:80px;	}
#master_list .fw90p{	width:90px;	}
#master_list .fw100p{	width:100px;	}
#master_list .fw110p{	width:110px;	}
#master_list .fw120p{	width:120px;	}
#master_list .fw130p{	width:130px;	}
#master_list .fw150p{	width:150px;	}
#master_list .fw180p{	width:180px;	}
#master_list .fw200p{	width:200px;	}
#master_list .fw230p{	width:230px;	}
#master_list .fw250p{	width:250px;	}
#master_list .fw300p{	width:300px;	}
#master_list .fw500p{	width:500px;	}

/***********************************************************************
テーブル列固定のJqueryと共存するため
***********************************************************************/

.m_list{
	font-size:16px;
}

.m_list th{
	background-color: #dff0d8;
	text-align: center;
	color:#f00;
}
.m_list th a{
	color:#000;
}
.m_list td{
	vertical-align:middle;
}
.m_list .btn_field{
	text-align: center;
}
.m_list .fw10{	width:10%;	}
.m_list .fw15{	width:15%;	}
.m_list .fw20{	width:20%;	}
.m_list .fw30{	width:30%;	}
.m_list .fw50{	width:50%;	}

.m_list .fw30p{	width:30px;	}
.m_list .fw40p{	width:40px;	}
.m_list .fw50p{	width:50px;	}
.m_list .fw60p{	width:60px;	}
.m_list .fw70p{	width:70px;	}
.m_list .fw80p{	width:80px;	}
.m_list .fw90p{	width:90px;	}
.m_list .fw100p{	width:100px;	}
.m_list .fw110p{	width:110px;	}
.m_list .fw120p{	width:120px;	}
.m_list .fw130p{	width:130px;	}
.m_list .fw150p{	width:150px;	}
.m_list .fw180p{	width:180px;	}
.m_list .fw200p{	width:200px;	}
.m_list .fw230p{	width:230px;	}
.m_list .fw250p{	width:250px;	}
.m_list .fw300p{	width:300px;	}
.m_list .fw500p{	width:500px;	}

/************************************************************************/


#page_cnt{
	font-size:large;
	font-weight:bold;
	color:#C00;
}


/*	todo	*/

.lbltext{
	font-size:1.8rem;
}

/*検索*/
.display_cnt{
/*	margin-top:3px;*/
}


/*フォーム*/

.require, .error {
  color: #e50062;
}
.require_red {
  color: #ff0000;
}

.ret_msg{
	margin:30px 0 30px 0;
}

.tblbox{
	width: 100%;
	border-top: 1px solid #ccc;
	margin-bottom:20px;
}
.tblbox dt,
.tblbox dd{
   	padding: 0.3em 0.5em;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	vertical-align: middle;
	text-align:center;
}
.tblbox dt{
	background-color: #eee;
}
.tblbox dd{
	border-right: 1px solid #ccc;
	text-align:left;
}
.tblbox dl,
.tblbox .table-row {
	margin-bottom: 0em;
}


/**  768px以上でパソコンの表示になる  **/
@media screen and (min-width: 768px){

	.tblbox{
		display: table;
		width: 100%;
		border-top: 1px solid #ccc;
	}
	.tblbox dl{
		display: table-row;
	}
	.tblbox dt,
	.tblbox dd{
		display: table-cell;
    	padding: 0.3em 0.5em;
		border-bottom: 1px solid #ccc;
		text-align:left;
		vertical-align: middle;
	}
	.tblbox dt{
		width: 20%;
		text-align:right;
	}
	.tblbox .half {
	  width: 50% !important;
	}
	
	.tblbox .third {
	  width: 30% !important;
	}

	.tblbox .eighty_per {
	  width: 80% !important;
	}

}

.form textarea,
.form select,
.form input[type=text] {
  width: 100%;
  padding: .3em;
  margin-bottom:3px;
}

.form input[type=email],
.form input[type=tel] {
  width: 100%;
  padding: .3em;
}

.form textarea {
  height: 6em;
}

.tblbox label {
  margin: .5em .5em .5em 0;
  display: inline-block;
}

.tblbox .short {
  width: 9em !important;
}

.button {
	text-align: center;
}

/*.form .button button {
  padding: 1em 3em;
  background-color: rgba(13, 51, 135, 0.5);
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.form .button button:after {
  content: "\f105";
  font-family: 'FontAwesome', sans-serif;
  display: inline-block;
  margin-left: .5em;
}

.form .button #btn_before:after {
  content: "";
}
.form .button #btn_before:before {
  content: "\f104";
  font-family: 'FontAwesome', sans-serif;
  display: inline-block;
  margin-right: .5em;
}
.form .button button:hover {
  background-color: #0d3387;
}
*/

#thanks_outer{
	display: table;
	width: 100%;
}

#thanks_inner{
	height:150px;
	display: table-cell;
	vertical-align: middle;
	text-align:center
}

#btn_search{
  padding: 0.57em 1.2em;
  background-color: rgba(13, 51, 135, 0.5);
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

#entry_privacy{
	text-align:left;
}

/* 未読アイコン */
.midoku_icon {
    background: #FF0000;
    padding: 3px 6px 3px 5px;
    border-radius: 6px;
    color: white;
    font-size: 0.8em;
	margin-left:5px;
	vertical-align:text-top;
}


.txtR{
	text-align:right;
}
.txtC{
	text-align:center;
}
.txtL{
	text-align:left;
}


/*写真アップロードエリア*/
.pic_area .input td{
	overflow: auto;
}
.pic_area .input input[type="text"]{
	margin-bottom:2px;
}
.pic_area .pic_area{
	float:left;
	margin-right:10px;
	text-align:center;
	width:110px;
}
.pic_area .pic{
	margin-top:5px;
	margin-right:15px;
	margin-bottom:5px;
	width:110px;
	height:110px;
	background-image: url(../images/camera.png);
	background-repeat: no-repeat;
	background-position: center center;
	border:#CCC 1px solid;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pic_area .pic_settibasho{
	background-image: url(../images/pic_bak_settibasho.png);
}
.pic_area .pic_satuei_image{
	background-image: url(../images/pic_bak_satuei_image.png);
}
.pic_area .pic_area label{
	font-weight: normal;
}
.pic_area .pic img{
	max-width: 110px;
    max-height: 110px;
    width: auto;
    height: auto;
}
.pic_area .upbtn{
	font-size:12px;
    border: 1px solid;
    display: inline-block;
    padding: 1px 1em;
    position: relative;
	background-color:#efefef;
	border-radius: 4px;
	cursor: pointer;
}
.pic_area .upbtn input[type="file"] {
	display: none;
}
.pic_area .selected{
	border: 5px solid red;
}



@media screen and (min-width: 769px) {
  .spOnly {
    display: none;
  }
}
/*-PC only-*/

@media screen and (max-width: 768px) {
  .pcOnly {
    display: none;
  }
}

/* 共通部品 */
.align_even{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.poiter_none{
	pointer-events: none;
}


/*検索条件*/
.text_w50{
	width:50px;
}
/*検索結果リスト*/
.list-group{
	margin-bottom: 0;
}
.list-group-item{
	border:0px;
	padding:5px 5px;
	}
.list-group-item .news_date{
	margin-right:20px;
}
.list-group-item{
	border:0px;
}
.list-group-item .news_date{
	margin-right:20px;
}


.list-group-item .cate_col{
	margin-right:20px;
}
.search_area label{
	font-weight: normal;
}
.search_btn_area{
	margin-top:20px;
}
.pagination_area{
	text-align:center;
	margin-top:5px;
}
.pagination{
	margin-top:5px;
	margin-bottom:0;
}

.result_list {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px; /* 要素間の余白を追加 */
}

.result_list:last-child {
    border-bottom: none; /* 最後の要素には区切り線を表示しない */
    margin-bottom: -5px;
}

.chat_none{
	text-align:center;
	margin-top:50px;
}

.chat_new_icon {
    display: inline-block;
    background-color: #ff4d4d;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px 2px 6px;
    border-radius: 3px;
}

.chat_new_cnt {
    display: inline-block;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 0 8px;
}


.btn_area{
	text-align: center;
	margin-top:20px;
}

/* 案件の各種資料へのリンクボタン */
.btn_link {
    display: inline-block;
    padding: 4px 8px;
    font-size: 14px;
    color: #000;
    background-color: #cce5ff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
	margin-right:10px;
}
.btn_link:hover {
    background-color: #99ccff;
}
