
/* =========================================================
common 
=========================================================*/
* {
  outline: none;
}

html {
  font-size: 16px;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 10pt;
  color: #333333;
}
a {
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}

h1, h2, h3 {
  margin: 0px;
  padding: 0px;
  font-weight: 300;
}

h2{
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: flex;
}
h2 .h2_icon{
  margin-left: 20px;
}
h2 a{
  display: inline-block;
  margin-right: 10px;
}

p {
  margin-bottom: 1.2em;
  line-height: 1.6rem;
  white-space: normal;
} 

pre{
  margin-bottom: 1.2em;
  line-height: 1.6rem;
  white-space: normal;
}

a {
  color: rgb(49, 77, 201);
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

strong {
  font-weight: 700;
  color: #2A2A2A;
}

ul,li,dl,dt,dd{
  padding: 0;
  margin: 0;
  text-indent: 0;
  list-style-type: none;
}


/* =========================================================
H1~H5 
=========================================================*/

h1 {
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: bold;
  text-align: right;
  width: 100%;
  margin: 1.2em 0;
  white-space: normal;
}

h2.member_name{
  font-size: 2rem;
  line-height: 2rem;
  color: #37abe1;
  display: block;
  text-align: left;
  width: 80%;
  margin: 0 auto 10px;
}

h2.member_name span{
  display: block;
  color: #333;
  font-size: 1.2rem;
  margin-top: 0px;
  font-weight: normal;
  float: right;
}

h3 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #44c2f2;
}


@media (max-width: 480px){
  h2{
    font-size: 1.2rem;
    line-height: 1.4rem;
    text-align: center;
    margin-bottom: 20px;
    justify-content: center;
  }

  h2.member_name{
    width: 100%;
    text-align: center;
  }

  h2.member_name span{
    display: block;
    float: none;
    text-align: center;
    font-size: .9rem;
    margin-top: 10px;
  }

}


/* =========================================================
table 
=========================================================*/

table{
  width: 100%;
  text-align: left;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: #ccc 1px 1px 7px;
}

td{
  border-bottom: 1px solid #ccc;
  padding: 15px 10px;
  text-align: center;
  position: relative;
}

tbody tr td:nth-child(3){text-align: left;} /*タイトル*/

th{
  background: #666;
  color: #fff;
  padding: 20px 10px;
  text-align: left;
  text-align: center;
}

tr{
  background: #fff;
}

tr.even{
  background: #eee;
}

.search tr.even{
  background: #eee;
}

thead tr th:nth-child(1){ width:15%;} /*配信日時*/
thead tr th:nth-child(2){ width:10%;} /*配信時間*/
thead tr th:nth-child(3){ width:55%;} /*タイトル*/
thead tr th:nth-child(4){ width:12%;} /*再生回数*/
thead tr th:nth-child(5){ width:8%;} /*高評価数*/

tbody tr td a{
  font-size: .9rem;
}

tbody tr td p{
  margin: 10px 0 0 0;
  display: none;
}

tbody tr td span.date{
  font-size: .9rem;
  font-weight: bold;
  display: block;
}

tbody tr td span.played{
  font-size: 2rem;
  font-weight: bold;
  color: #01c489;
  cursor: pointer;
  position: relative;
}

tbody tr td span.played:after{
  content: "視聴済";
  font-size: 0.6rem;
  position: absolute;
  bottom: -10px;
  left: 0;
}


/* SP */
@media (max-width: 480px) {
  html table{
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  html table tbody {
    width: 100%;
    display:table;
  }

  html table tbody tr{
    
  }

  html table tbody td{
    text-align: left;
    padding: 15px;
  }

  tbody tr td span.played{
    font-size: 1.4rem;
  }

  tbody tr td a{
    font-size: .8rem;
  }

  html tbody tr td span{
    font-size: 0.7rem;
    display: block;
    margin-bottom: 5px;
  }
  
  html tbody tr td:nth-child(1){ width:50px; text-align: center; position: relative} /*視聴済みチェック*/
  html tbody tr td:nth-child(1):before{
    content:"";
    width: 12px;
    height: 12px;
    background: #fff;
    border: 1px solid #ccc;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -6px;
    margin-top: -6px;
  }
  html tbody tr td:nth-child(2){ width:90%; padding-left: 0;} /*タイトル*/

}


/* =========================================================
nav 
=========================================================*/

nav ul{
  display: flex;
  margin:0 auto 20px;
}

nav ul li{
  display: inline-block;
  cursor: pointer;
  border-right: 1px solid #ccc;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

nav ul li:first-child{  
  border-left: 1px solid #ccc;
}

nav ul li:last-child{
  margin-right: 0;
}

nav ul li.active,
nav ul li.active a,
nav ul li:hover,
nav ul li:hover a,
#menu ul li.active,
#menu ul li.active a,
.sort li.active{
  color: #fd4d58;
}


nav{
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

nav ul li{
  flex: 0 0 auto;
  white-space: normal;
  word-wrap: break-word;
  padding: 0 20px;
}


@media (min-width: 1100px) {

  nav{
    display: flex;
    flex-wrap: wrap;
    margin:0 0 40px 0;
  }

  nav h3{
    width: 150px;
    font-size: 1rem;
  }

  nav ul{
    justify-content: left;
    width: 950px;
    flex-wrap: wrap;
    margin: 0 0 15px;
  }

  nav ul li.disable,
  nav ul li.disable:hover{
    color: #ccc;
    cursor: default;
  }

  nav ul li{
    width: auto;
    margin-bottom: 10px;
    padding: 0 20px;
    flex: 0 0 auto;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* html #menu{
    width: 100%;
    padding: 150px 15px 15px;
    box-sizing: border-box;
  } */

  html #menu{
    background: #fff;
    z-index: 9;
    display: block;
    background-size: 45px;
    padding: 40px 20px 20px;
    position: fixed;
    width: 300px;
    height: 550px;
    top: 0;
    right: 0;
    z-index: 9;
    box-shadow: -3px 3px 13px #ccc;
    border-left: 10px solid #37abe1;
    box-sizing: border-box;
    transform: translateX(300px); 
    transition: all .4s; /* 移動する速さ */
    overflow-y:scroll;
  }

  html #menu ul{
    margin-bottom: 30px;
  }

  html #menu h3{
    text-align: left;
    color: 333;
    font-size: 0.9rem;
  }

  html #menu.open {
    transform: translateX(0);
  }

  html #menu nav{
    white-space: normal;
  }

  html #menu nav ul{
    display: block;
  }

  html #menu nav li{
    font-size: 0.8rem;
    line-height: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: left;
    border: none;
    padding: 0;
    width: 100%;
  }

  #menu nav li:before{
    content: "";
    display: inline-block;
    margin-right: 15px;
    border-top: solid 3px #37abe1;
    border-right: solid 3px #37abe1;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
  }

  html #menu nav li.disable:before{
    border-top: solid 3px #ccc;
    border-right: solid 3px #ccc;
  }
  
  html #menu nav .disable,
  html #menu nav .disable:hover{
    color: #ccc;
    cursor: default;
  }
}



/* =========================================================
menu
=========================================================*/

#button{
  background: #fff;
  position: fixed;
  padding: 10px;
  border-radius: 5px;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 35px;
  height: 30px;
  display: none;
  border: none;
  background: none;
  padding: 10px;  
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 13px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
  width: 45%;
  transform: translate3d(2px, 7px, 0) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  transform: translate3d(-1px, 0, 0) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(3) {
  width: 45%;
  transform: translate3d(15px, -6px, 0) rotate(45deg)
}

@media (max-width: 480px) {
  .menu-trigger{
    display: inline-block;
  }
}


/* =========================================================
form 
=========================================================*/

.search_form {
	position: relative;
	width: 80%;
  margin: 10px auto 40px;
  text-align: center;
}
.search_form input[type=text] {
	font: 18px/26px sans-serif;
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0;
  padding: 1em;
  transition: 0.3s;
  border: 4px solid #ccc;
  border-radius: 4px;
  outline: none;
}
.search_form input[type=text]:focus {
	border-color: #666;
}
.search_form input[type=text] {
	padding-left: 50px;
}
.search_form i {
	position: absolute;
  top: 30px;
  left: 16px;
  background: url(../img/icon_search.png) no-repeat left top;
  background-size: 30px;
  width: 30px;
  height: 30px;
}
.search_form input[type=text]:focus + i {
	color: #666;
}

.search_btn{
  width: 300px;
  padding: 11px;
  border-radius: 25px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 30px 0 20px;
  cursor:pointer;
  background:#fd4d58;
  border: #fd4d58 4px solid;
  color: #fff;
  border: none;
  box-sizing: border-box;
}

.search_btn:hover{
  padding: 7px;
  background:#fff;
  color: #fd4d58;
  border: #fd4d58 4px solid;
  box-sizing: border-box;
}

.search_loading{
  display: none;
  padding: 30px;
  text-align: center;
}

.search_count{
  font-weight: bold;
  font-size: 1.1rem;
}

table .no_result td{
  text-align: center;
  padding: 80px 0;
  font-size: 1.2rem;
  font-weight: bold;
  background: #fff !important;
}

/* SP */
@media (max-width: 480px) {

  .search_form {
    width: 100%;
    margin: 0px auto 10px;
  }

  #search #sectionin{
    padding-top: 30px;
  }

  #sectionin #title{
    background: #fff;
    box-shadow: 3px 3px 3px #ccc;
    border: 1px solid #ccc;
    padding: 20px 15px;
    border-radius: 10px;
    margin: 0 0px 20px;
    display: block;
  }

  #search #sectionin #title{
    box-shadow: none;
    border: none;
    padding: 0;
  }
}


/* =========================================================
base
=========================================================*/

section,header{
  margin: 0 auto 30px;
  text-align: center;
}
header{
  position: relative;
}
#headerin{
  display: flex;
}
footer{
  width: 1100px;
  margin: 0 auto;
  text-align: center;
}

body.bg{
  background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

#sectionin,#headerin,#menu{
  text-align: left;
  width: 1100px;
  margin: 0 auto;
  padding: 5px 0 1px;
}

#headerin img{
  vertical-align: bottom;
  width: 200px;
}

#sectionin.top{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#sectionin.top dl{
  border: 3px solid #37abe1;
  box-shadow: #ccc 1px 1px 7px;
  width: 30%;
  margin-right: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  cursor: pointer;
}

#sectionin.top dl.disable{
  cursor: default;
  border: 3px solid #e7e7e7;
  color: #e7e7e7;
}

#sectionin.top dl:nth-child(3n){
  margin-right: 0;
}

#sectionin.top dl dt img{
  width: 100%;
}

#sectionin.top dl dd{
  font-size: 1rem;
  padding: 15px;
  text-align: center;
}

#sectionin.top dl:hover dd{
  color: #37abe1;
}

#sectionin.top dl.disable:hover dd{
  color: #e7e7e7;
}

.loading{
  text-align: center;
  padding: 30px 0;
  width: 100%;
}
.loading img{
  margin: 0 auto;
}

/* SP */
@media (max-width: 480px) {
  section,footer,header{
    width: auto;
    margin: 0 auto;
    text-align: center;
  }
  footer{
    border-top: 1px solid #ccc;
    padding: 0px 15px 0;
    margin-top: 15px;
  }
  #headerin{
    width: 100%;
    padding: 0px 20px;
    box-sizing: border-box;
    display: block;
    /* text-align: center; */
  }
  #headerin .sitetitle{
    padding-top: 30px;
    text-align: center;
  }
  #headerin img{
    vertical-align: bottom;
    margin: 0 auto;
    width: 130px;
  }
  #sectionin{
    width: 100%;
    padding: 15px 15px 15px;
    box-sizing: border-box;
  }
  #sectionin.top{
    justify-content: space-between;
  }
  
  #sectionin.top dl{
    border: 3px solid #37abe1;
    box-shadow: none;
    width: 47%;
    margin-right: 0px;
    margin-bottom: 20px;
    border-radius: 10px;
    cursor: pointer;
  }

  #sectionin.top dl dd{
    font-size: .8rem;
    padding: 10px;
    text-align: center;
  }
}