/*------------------------------------------------------------------

[RandS Custom Stylesheet]

-------------------------------------------------------------------*/

/**ロゴ画像*/
.p-logo {
	width: 100%;
	margin-bottom: 10px;
}

/**Minimal : 画面ロードバー*/
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #f89734;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

/*ブロック要素を横並びにする*/
.flex-wrapper{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;

    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

/*------------------------------------------------------------------
[ TOAST / .toastr ]
*/
#toast-container>.toast-success {
  /*background-color: #009688;*/
	border: solid 1px #fff;
}

/*------------------------------------------------------------------
[ スイッチ風 ]
*/
.onoffswitch {
	display: inline-block;
  position: relative; 
	width: 90px;
  -webkit-user-select:none !important; 
	-moz-user-select:none; 
	-ms-user-select: none;
	vertical-align: middle;
}
.onoffswitch-checkbox {
    display: none !important;
}
.onoffswitch-label {
    display: block !important; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
		margin-bottom: 0px !important;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "表示";
    padding-left: 10px;
    background-color: #49AFCD; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "非表示";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 56px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

/*------------------------------------------------------------------
[ チェックボックス ]
*/
.checkbox {
  display: none !important;
}
.checkbox + .checkbox-icon {
  position: relative;
  vertical-align: middle;
}
.checkbox + .checkbox-icon:before {
  vertical-align: middle;
  content: "\f0c8";
  font-family: "Font Awesome\ 5 Free";
  color: #bdbdbd;
  font-size: 22px;
  padding-right: 4px;
}
.checkbox:checked + .checkbox-icon:before {
  content: "\f14a";
  color: #f89734;
}

/*------------------------------------------------------------------
[ ツールチップ ]
*/
.dark-tooltip {
    z-index: 1000;
}

/*------------------------------------------------------------------
[ トップへ戻る ]
*/
#back-to-top {
    z-index: 140;
}

/*------------------------------------------------------------------
[ 開閉ヘッダー（矢印用） ]
*/
.open_close_r:after{
	-webkit-transform: rotateZ(180deg); 
	transform: rotateZ(180deg);
}


/*------------------------------------------------------------------
[ 開閉ヘッダー（メイン用） ]
*/
.widget-header.a_item {
	cursor:pointer;
  position: relative
}

.widget-content.a_contents {
	display:none; 
}

.widget-header.a_item:hover {
	background-color:#b3dc2e;
}

.widget-header.a_item:after{
	/*background:url(arrow_dw.png) no-repeat left top; */
	/*content: "\e900"; */
  content: "\f078";
	font-family: Font Awesome\ 5 Free;
  font-size: 22px;
  font-weight: bold;
  color: white;
	display: block; 
	position: 
	absolute; 
	right: 20px; 
	bottom:0; 
	-webkit-transition: 0.3s linear; 
	-moz-transition:0.3s linear; 
	-ms-transition:0.3s linear; 
	transition: 0.3s linear;
}

/*------------------------------------------------------------------
[ 開閉ヘッダー（非強調用） ]
*/
.widget-header.a_item.weak {
  background: white;
  border: 1px solid #cecece;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.widget-header.a_item.weak.open_close_r {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.widget-header.a_item.weak h3{
	color: #838383;
}
.widget-header.a_item.weak i{
	color: #838383 !important;
}
.widget-header.a_item.weak:hover {
  background-color: #f89734;
  color: white !important;
}
.widget-header.a_item.weak:hover > h3 {
  color: white !important;
}
.widget-header.a_item.weak:hover > i {
  color: white !important;
}
.widget-header.a_item.weak:after{  
  color: inherit !important;
	display: block; 
	position: absolute; 
	right: 20px; 
	bottom:0; 
	-webkit-transition: 0.3s linear; 
	-moz-transition:0.3s linear; 
	-ms-transition:0.3s linear; 
  transition: 0.3s linear;
}

/*------------------------------------------------------------------
[welcome]QA用　2016/11/4 R&S
-------------------------------------------------------------------*/
/* --- リストエリア --- */
ol.qa {
  /*width: 500px;*/ /* リストエリアの幅 */
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 100%;
  }
  
  /* --- リスト項目の内容 --- */
  ol.qa dl {
  margin: 0;
  background: #f9f9f9 url("../img/welcome/qa_background.gif") repeat-x top; /* リスト項目の背景 */
  }
  
  /* --- Questionエリア --- */
  ol.qa dt {
  margin: 0;
  padding: 8px 6px 8px 35px; /* Questionエリアのパディング（上右下左） */
  background: url("../img/welcome/question.gif") no-repeat 4px 5px; /* Questionエリアの背景 */
  border: 0px; /* Questionエリアの境界線 */
  font-weight: bold;
  line-height: 120%;
  }
  
  /* --- Answerエリア --- */
  ol.qa dd {
  margin: 0;
  padding: 11px 6px 25px 35px; /* Answerエリアのパディング（上右下左） */
  background: #ffffff url("../img/welcome/answer.gif") no-repeat 4px 8px; /* Answerエリアの背景 */
  line-height: 150%;
  }
  
  /*------------------------------------------------------------------
  [ ランキング表 ]
  */
  .ranking{
      margin: 20px 25px;
      padding: 0px;
      list-style-type: none;
      font-size: 16px;
  }
  .ranking li{
      position: relative;
      margin: 20px 10px;
      padding: 0 0 0 20px;
      border-bottom: 1px dotted #ccc;
      counter-increment: li;
  }
  .ranking li::before {
    content: counter(li);
    display: block;
    position: absolute;
    top: .1em;
    left: -1em;
    color: #666;
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
  }
  .ranking li:nth-of-type(1)::before {
    color: #e4aa1d;
  }
  .ranking li:nth-of-type(2)::before {
    color: #9eaeb9;
  }
  .ranking li:nth-of-type(3)::before {
    color: #b76901;
  }
  .ranking li span{
      color: #9ab;
      font-size: 12px;
      float: right;
  }
  
  /*------------------------------------------------------------------
  [ ページのトップタイトル ]
  */
  .page_title {
      float: left;
      font-size: 20px;
  }

  /*------------------------------------------------------------------
  [ テキストエリアの操作制御 ]
  */
  textarea {
      resize: none;
  }

/*------------------------------------------------------------------
[保存ボタン／削除ボタン　2018/04/06 R&S
-------------------------------------------------------------------*/
.form-horizontal .form-actions {
  display: none;
}

.container .action-btns {
/* padding: 20px;
    text-align: center; */

    padding: 20px 0px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    background-color: #f1f1f1;
    z-index: 120;
    box-shadow: inset 0px 2px 3px -3px rgba(50, 50, 50, 0.75);
}

.save-btn {
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #668ad8;
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
    width: 200px;
    text-align: center;
    font-size: 18px;
    text-decoration: none !important;
    color: white !important;
    cursor: pointer;    
}
.save-btn:active {
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}
.delete-btn {
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #F44336;
    color: #FFF;
    border-bottom: solid 4px rgb(187, 79, 71);
    border-radius: 3px;
    width: 200px;
    text-align: center;
    font-size: 18px;
    text-decoration: none !important;
    color: white !important;
    cursor: pointer;
}
.delete-btn:active {
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}

/*------------------------------------------------------------------
 / yolpのコントロール要素のz-index値(999)をオーバライド
-------------------------------------------------------------------*/
div ul.yolp-ctrl {
    z-index: 100 !important;
}


/*------------------------------------------------------------------
 / コンテンツ表示状態のスタイルパターン
-------------------------------------------------------------------*/
.content-visible.none {
  color: crimson;
}
.content-visible.prev {
  color: mediumblue;
}
.content-visible.end {
  color: crimson;
}

/*------------------------------------------------------------------
 / 一覧表示の画像スタイル
-------------------------------------------------------------------*/
td.img-width img{
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: initial;
    width: 100%;
    height: auto;
}
td.img-width {
    width: 100px;
    min-width: 100px;
    height: 50px;
    position: relative;
    overflow: hidden;
}
@media all and (-ms-high-contrast: none) {
td.img-width img{
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
td.img-width {
    width: 100px;
    height: 50px;
    position: relative;
    overflow: hidden;
}
}


/*------------------------------------------------------------------
 / バッチスタイル
-------------------------------------------------------------------*/
.badge.Now_open
{
    background-color: #388E3C;
}

.badge.Exit
{
    background-color: tomato;
}

.badge.before
{
    background-color: #3F51B5;
}


/** 最小画面時のはみ出し無し */
form.form-horizontal > fieldset {
  min-width: auto;
}
table {
	width:100% !important;
}
 
/*tableにスクロールバーを追加*/
table::-webkit-scrollbar {
	height: 5px;
}
 
/*tableにスクロールバーを追加*/
table::-webkit-scrollbar-track {
	background: #F1F1F1;
}
 
/*tableにスクロールバーを追加*/
table::-webkit-scrollbar-thumb {
	background: #BCBCBC;
}

table.table.table-bordered tbody tr td {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

table.table.table-bordered tbody tr:last-child,
table.table.table-bordered tbody td:last-child {
    width: 1px;
    white-space: nowrap;
}

/*-コンテンツ追加枠------------------------------*/

.add-content-frame {
    text-align: center;
    padding: 10px;
    border: dashed 1px;
    cursor: pointer;
}
.add-content-frame:hover {
  background-color: #f89734;
  color: white !important;
}
/*----------------------------------------------*/

/*------------------------------------------------------------------
  [ タグ風 ]
  */
ul.tag {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}
ul.tag li {
    float: left;
    width: 200px;
    margin: 0 10px 10px 0;
    padding: 0;
    position: relative;
}
ul.tag li a {
    display: block;
    width: 100%;
    height: 32px;
    line-height: 32px;
    padding: 0 1.3em;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    -webkit-transition: .2s;
    transition: .2s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul.tag li a.add {
    text-align: center;
    border: 1px dashed;
}

ul.tag li a:hover {
    background-color: #3498db;
    border: 1px solid #3498db;
    color: #fff;
}

ul.tag li a.add:hover {
    background-color: #f89734;
    border: 1px dashed;
    color: #fff;
}
.delete-tag {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    z-index: 100;
    background-image: url(../img/gallery/delete_tag.png);
}

/*------------------------------------------------------------------
  [ シークバーデザイン ]
*/
input[type=range] {
  -webkit-appearance: none;
  margin: 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}

/* WebKit・Blink向け 溝のスタイル */
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  cursor: pointer;  
  background: #c7c7c7;
}
/* WebKit・Blink向け つまみのスタイル */
input[type=range]::-webkit-slider-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #49AFCD;
  cursor: pointer;
  -webkit-appearance: none;
  /* 以下は つまみの縦位置調整 */
  margin-top: -10px;  /* (つまみの高さ - トラックの高さ) / 2 。つまみの高さは border を含む */	
}

/* 何故か上の margin-top 指定が Edge に効いてしまうので、Edge向けに設定をリセット */
@supports (-ms-ime-align: auto) {
	input[type=range]::-webkit-slider-thumb {
		margin-top: 0 !important;
	}
}

/* WebKit・Blink向け focus時のスタイル */
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #999999;
}

/* Firefox向け 溝のスタイル */
input[type=range]::-moz-range-track {
  width: 100%;
  height: 2px;
  cursor: pointer;
  background: #c7c7c7;
}
/* Firefox向け つまみのスタイル */
input[type=range]::-moz-range-thumb {  
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #49AFCD;
  cursor: pointer;
}

/* Edge・IE向け 溝のスタイル */
input[type=range]::-ms-track {
  width: 100%;
  height: 2px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
/* Edge・IE向け 溝の色（つまみより左側） */
input[type=range]::-ms-fill-lower {
  background: #c7c7c7;
}
/* Edge・IE向け 溝の色（つまみより右側） */
input[type=range]::-ms-fill-upper {
  background: #c7c7c7;
}
/* Edge・IE向け つまみのスタイル */
input[type=range]::-ms-thumb {  
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #49AFCD;
  cursor: pointer;
}
/* Edge・IE向け focus時の色（つまみより左側） */
input[type=range]:focus::-ms-fill-lower {
  background: #c7c7c7;
}
/* Edge・IE向け focus時の色（つまみより右側） */
input[type=range]:focus::-ms-fill-upper {
  background: #c7c7c7;
}

/* Edge・IE向け ポップアップを非表示に */
input[type=range]::-ms-tooltip {
  display: none;
}


/* ul.tag {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.tag li {
  position: relative;
  display: inline-block;
  margin: 0 .75em .5em 0;
  padding: 0;
}
ul.tag li a {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 28px;
  line-height: 28px;
  padding: 0 1em;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 3px;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  -webkit-transition: .2s;
  transition: .2s;
}
ul.tag li span {
  position: absolute;
  top: 0;
  right: -10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  line-height: 28px;
  background-color: #3498db;
  border: 1px solid #3498db;
  border-radius: 100%;
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  -webkit-transition: .2s;
  transition: .2s;
  -webkit-transform: scale(.4);
  transform: scale(.4);
}
ul.tag li span::after {
  position: absolute;
  top: 50%;
  left: -8px;
  content: '';
  width: 0;
  height: 0;
  margin-top: -7px;
  border-color: transparent #3498db transparent transparent;
  border-style: solid;
  border-width: 7px 14px 7px 0;
}
ul.tag li a:hover {
  border: 1px solid #3498db;
  color: #3498db;
}
ul.tag li:hover span {
  right: -26px;
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
} */
