@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 767px) {
   .video{
      padding: 20px;
   }
}

/*=================================================================
   video-search
=================================================================*/

.video-search{
   border: 1px solid var(--color-blue);
   border-radius: 1.6rem;
   padding: 3rem;
   margin-bottom: 80px;
}
.searchandfilter ul{
   width: 100%;
   margin: 0;
   padding: 0;
   display: flex;
   flex-flow: column;
}
.searchandfilter ul > li > ul > li:not(.cat-item){
   display: none;
}
.searchandfilter li{
   display: flex;
   list-style: none;
   align-items: center;
   padding-right: 15px;
}
.searchandfilter h4{
   width: 150px;
   font-size: 1.1em;
}
.searchandfilter li > ul{
   display: flex;
   flex-flow: wrap;
   flex: 1;
}
.searchandfilter ul > li:last-child{
   padding-right: 0;
}
.searchandfilter li > ul > li{
   display: block;
}
.searchandfilter .cat-item input[type=radio] {
   display: none;
}
.searchandfilter li.cat-item label{
   cursor: pointer;
}
.searchandfilter li:first-child ul > li.cat-item label{
   position: relative;
   border-radius: 6px;
   border: 1px solid var(--color-blue);
   color: var(--color-blue);
   padding: 2px 10px;
}
.searchandfilter li:first-child ul > li.cat-item label span{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   cursor: pointer;
   display: block;
   z-index: -1;
}
.searchandfilter li:first-child ul > li.cat-item input[type=radio]:checked+span{
   background: var(--color-lightblue2);
}
.searchandfilter input[type=checkbox]{
   transform: scale(1.4);
   margin: 0 4px 0 0;
}
.searchandfilter > div > ul > li:last-child{
   position: relative;
   width: 300px;
   margin: 20px auto auto;
}
.searchandfilter > div > ul > li:last-child::before{
   position: absolute;
   left: 1.4em;
   top: 0;
   bottom: 0;
   margin: auto;
   content: "";
   display: block;
   width: 18px;
   height: 18px;
   background: url("../img/common/icon_search.png");
   background-size: cover;
}
.searchandfilter input[type=submit]{
   cursor: pointer;
   width: 100%;
   height: 65px;
   border-radius: 8px;
   text-indent: 1em;
   color: var(--color-blue);
   font-size: 1.1em;
   font-weight: 600;
   background: #fff;
   border: 1px solid var(--color-blue);
   box-shadow: 0px 7px 15px 2px rgb(var(--color-blue-rgb), 0.3);
}

@media screen and (max-width: 767px) {
   .video-search{
      padding: 1.5rem 2.5rem;
      margin-bottom: 40px;
      border-radius: 1.2rem;
   }
   .searchandfilter h4{
      color: var(--color-blue);
      width: 100%;
      margin: 0 0 8px;
   }
   .searchandfilter li{
      display: block;
      padding: 3px 15px 3px 0;
   }
   .searchandfilter > div > ul > li{
      padding: 8px 0;
   }
   .searchandfilter > div > ul > li:last-child{
      width: 100%;
      margin: 0px auto auto;
   }
   .searchandfilter input[type=submit]{
      height: 55px;
      box-shadow: 0px 5px 8px 2px rgb(var(--color-blue-rgb), 0.2);
   }
}

/*=================================================================
   video-cat
=================================================================*/
.video-cat{
   display: flex;
   flex-wrap: wrap;
   gap: 30px 20px;
   margin: 0;
   padding: 0;
}
.video-cat__item{
   width: 15%;
   list-style: none;
   text-align: center;
}
.video-cat__item-link{
   display: block;
   color: var(--color-blue);
   text-decoration: none;
   font-weight: 500;
   padding: 10px 5px;
   border: 1px solid var(--color-blue);
   border-radius: 6px;
}
.video-cat__item-link.active{
   color: #fff;
   background: var(--color-blue);
}

@media screen and (max-width: 767px) {
   .video-cat{
      gap: 10px 0;
      justify-content: space-between;
   }
   .video-cat__item{
      width: 49%;
   }
}

/*=================================================================
   video-post__list
=================================================================*/
.video-page-name{
   position: relative;
   font-size: 2.6rem;
   padding-block: 14px 12px;
   padding-left: 24px;
   margin: 2em 0 1.5em;
}
.video-page-name::before {
   position: absolute;
   content: "";
   top: 0;
   left: 0;
   width: 4px;
   height: 100%;
   background-color: var(--color-blue);
   border-radius: 2px;
}
.video-post{
   display: flex;
   flex-wrap: wrap;
}
.video-post__item{
   width: 31.5%;
   margin-bottom: 3%;
   border-radius: 12px;
   box-shadow: 0 10px 20px rgba(10, 99, 188, 0.17);
   overflow: hidden;
}
@media print, screen and (min-width: 768px) {
   .video-post__item:nth-child(3n-1) {
      margin-left: 2.75%;
      margin-right: 2.75%;
   }
}
.video-post__conts{
   padding: 25px 25px 30px;
}
.video-post__image {
   aspect-ratio: 380 / 220;
   height: auto;
   object-fit: cover;
}
.video-tag{
   margin-bottom: 1rem;
}
.video-post__title {
   font-size: 2rem;
   font-weight: 700;
   margin: 0;
}
.video-post__description{
   font-size: .9em;
   margin: 0;
}
.video-post__description > p{
   margin: .7em 0 0;
}

@media screen and (max-width: 767px) {
   .video-page-name{
      font-size: 2rem;
      padding-left: 18px;
      margin: 1.5em 0 1em;
   }
   .video-post{
      flex-flow: column;
   }
   .video-post__item{
      width: 100%;
      margin-bottom: 10%;
   }
   .video-post__conts{
      padding: 15px 15px 20px;
   }
   .video-post__title{
      font-size: 1.5rem;
   }
}



