html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  background-color: rgb(247,250,252)!important;
}

html {
  font-size: 14px;
} 

.jumbotron {
  background-color: rgb(247,250,252)!important;
}

.h1, h1 {
  font-size: 2.6rem!important;
}

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: var(--gray-dark);
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  .offcanvas-collapse.open {
    -webkit-transform: translateX(-1rem);
    transform: translateX(-1rem);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  padding-right: .75rem;
  padding-left: .75rem;
  font-size: .875rem;
  color: var(--secondary);
}

.nav-underline .nav-link:hover {
  color: var(--blue);
}

.nav-underline .active {
  font-weight: 500;
  color: var(--gray-dark);
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: var(--purple); }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.font-lg {
  font-size: 1.1em;
}

.step {
  border-width: 0 0 7px 0;
  font-size: 0.9rem
}

.footer {
  background-color: #e9ecef;
}

.btn-outline-secondary {
  color: rgb(119, 118, 119) !important;
  background-color: transparent !important;
  border: 1px solid #999 !important;
}

/* modal-2 */
.modal.right.fade .modal-dialog {
	-webkit-transform: translateX(-100vw);
	        transform: translateX(-100vw);
}
.modal.right.show .modal-dialog {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
#modal-2 .modal-dialog {
  position: fixed;
  right: 0;
  max-width: 250px;
  margin: 0;
  height: 100%;
}
#modal-2 .modal-content {
  height: 100%;
  border: none;
  border-radius: 0;
}
#modal-2 .modal-header {
  display: block;
}
#modal-2 .modal-title {
  display: inline-block;
}
#modal-2 .modal-body {
  overflow-y: scroll;
}

/* table */
.table-double-striped>tbody>tr:nth-of-type(4n+1)
, .table-double-striped>tbody>tr:nth-of-type(4n+2)
{
  background-color:#f2f2f2;
}

.table-triple-striped>tbody>tr:nth-of-type(6n+1)
, .table-triple-striped>tbody>tr:nth-of-type(6n+2)
, .table-triple-striped>tbody>tr:nth-of-type(6n+3)
{
  background-color: #f2f2f2;
}

table {
  border-top: 0!important;
}

th {
  font-weight: normal!important;
  text-align: center;
  vertical-align: middle!important;
}

.table-hover tr:hover{
  background-color: #c1f3ff!important;
}

/* thumbnail */
.topic-index-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.topic-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  /*
  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  */
  /*
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  */

  .btn-group {
    margin-right: 3px !important;
    margin-left: 3px !important;
  }

  .breadcrumb {
    margin-right: 3px !important;
    margin-left: 3px !important;
  }
}
/*
.grecaptcha-badge { 
  visibility: hidden; 
}
*/
#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 20px;
  bottom: 0px;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #3f98ef;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #3f98ef;
}

/* radio */
.radio {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: block;
  margin: 0 0 8px 0;
  padding: 12px 12px 12px 42px;
  border-radius: 8px;
  background-color: #f6f7f8;
  cursor: pointer;
}
.radio:hover {
  background-color: #e2edd7;
}
.radio:hover:after {
  border-color: #53b300;
}
.radio:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 54%;
  left: 17px;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #bbb;
  border-radius: 6px;
  content: '';
}
.radio:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 20px;
  display: inline-block;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #53b300;
  content: '';
  opacity: 0;
}
input[type=radio]:checked + .radio:before {
  opacity: 1;
  background-color: #53b300;
}
input[type=radio]:checked + .radio:after {
  border-color: #53b300;
}
input[type=radio]:checked + .radio {
  background-color: #e2edd7;
}

/* mark */ 
.link-marker {
  background: linear-gradient(transparent 60%, #ffff66 60%);
}

/* rank-badge */
body {
  counter-reset: cnt;
}
.badge-ranking {
  margin: 0 auto;
  position: relative;
}
.badge-ranking::before {
  content: "";
  top: -1rem;
  left: 0;
  border-bottom: 2.2em solid transparent;
  border-left: 2.2em solid #c12748;
  position: absolute;
  z-index: 100;
}
.badge-ranking::after {
  text-align:center;
  counter-increment:cnt;
  content : counter(cnt) "位";
  font-size: 12px;
  display: block;
  top: -0.8rem;
  transform: rotate(-45deg);
  color: #fff;
  left: 0.3rem;
  position: absolute;
  z-index: 101;
}

/* fanza-actress-genre */
label.fanza-genre {
  margin-right: 5px; /* ボタン同士の間隔 */
}
label.fanza-genre input {
  display: none; /* デフォルトのinputは非表示にする */
}
label.fanza-genre span {
  color: #aaa; /* 文字色を黒に */
  border: 1px solid #aaa; /* 淵の線を指定 */
  border-radius: 20px; /* 角丸を入れて、左右が丸いボタンにする */
  padding: 5px 20px; /* 上下左右に余白をトル */
}
label.fanza-genre input:checked + span {
  color: #FFF; /* 文字色を白に */
  background: #FBB; /* 背景色を薄い赤に */
  border: 1px solid #FBB; /* 淵の線を薄い赤に */
}

/* search-strings */
.search-strings > a {
	display: inline-block;
	margin: 0 .1em .6em 0;
	padding: .7em;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	background-color: rgb(255,169,164);
}

a.search-strings-future:before {
	content: "\0ab";	
}

a.search-strings-previous:after {
	content: "\0bb";	
}

/* delete-background */
.bg-delete {
  background-color: #f8d8d6!important;
}
