@charset "UTF-8";
/*------------------------------------------common */
/* ------------------------------------------------*/
.contents-inner {
  background-color: #DBDBDB;
  padding-top: 100px;
}

.container {
  padding-bottom: 60px;
}

.title-inner {
  width: 90%;
  height: 100px;
  border-radius: 25px;
  background-color: #3FA9F5;
  text-align: center;
  color: #FFF;
  margin: 0 auto 60px auto;
}

.title {
  padding-top: 10px;
}

.text-line {
  display: flex;
  align-items: center;
  width: 50%;
  margin: 10px auto;
}

.text-line:before,
.text-line:after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: #FFF;
  margin: 0 10px;
}

/*--------------------------------------pagination */
/* ------------------------------------------------*/
.pagination {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
}

.pagination .page-numbers {
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: 40px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  color: #FFF;
  border-radius: 3px;
  box-shadow: 0 3px 3px #999;
  background: rgb(112, 112, 112);
}

.pagination .current {
  background: #69a4db;
  color: #fff;
  margin-right: 10px;
  padding: 0;
  width: 40px;
  height: 45px;
  text-align: center;
  line-height: 45px;
}

.pagination .prev,
.pagination .next {
  background: transparent;
  box-shadow: none;
  color: #69a4db;
  width: 70px;
}

.pagination .dots {
  background: transparent;
  box-shadow: none;
  color: rgb(112, 112, 112);
}

/*--------------------------------------------works */
/* ------------------------------------------------*/
.random {
  display: flex;
  justify-content: center;
}

.random-inner {
  width: 100%;
}

.random a {
  transition: all ease-in-out 0.3s;
  display: block;
  text-decoration: none;
  width: 100%;
  max-width: 300px;
  /*各自で調節してもOK*/
  height: 280px;
  /*各自で調節してもOK*/
  margin: 0 auto 40px auto;
  overflow: hidden;
  background-color: black;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
}

.random a:hover {
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.random li:last-child {
  /*記事の間隔*/
  margin-right: 10px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.random li p {
  /*記事タイトル*/
  width: 90%;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4em;
  text-align: left;
  padding-bottom: 0;
  margin-top: 0.5em;
  margin-left: 5%;
  color: #FFF;
  /*タイトルを3行しか表示させないためのCSS*/
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.random li img {
  /*アイキャッチ画像*/
  width: 100%;
  /*画像幅*/
  height: 200px;
  /*画像の高さ*/
}

/*--------------------------------------------news */
/* ------------------------------------------------*/
.news .text-content {
  border-bottom: #333 dashed 1px;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.news .text-inner {
  display: flex;
  margin-bottom: 10px;
}

.date {
  color: #696969;
  margin-right: 30px;
}

.category {
  background-color: #5E5E5E;
  color: #FFF;
  padding: 0 10px;
}

.view-more-btn {
  text-align: center;
  margin: 0 auto;
}

/* -----------------------------------------------*/
/* -----------------------------------------------*/
/* -------------------------------　＠media(768px) */
@media (min-width: 768px) {
  .title-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
  }
  .title {
    font-size: 36px;
    margin-right: 10px;
    padding-top: 0px;
  }
  .text-line {
    display: flex;
    align-items: center;
    width: 200px;
    margin: 0;
    font-size: 24px;
  }
  .text-line:before,
.text-line:after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background: #FFF;
    margin: 0 10px;
  }
  /*---------------------------------------------works */
  .random-inner {
    display: flex;
    flex-wrap: wrap;
  }
  .random ul {
    width: 50%;
    display: inline-block;
    padding-left: margin 0 auto;
  }
  /*---------------------------------------------news */
  .news .text-content {
    display: flex;
    padding: 0;
  }
  .news .category {
    margin-right: 30px;
  }
}
/* -----------------------------------------------*/
/* -----------------------------------------------*/
/* -------------------------------　＠media(1200px) */
@media (min-width: 1200px) {
  /*---------------------------------------------news */
  .random ul {
    width: 33%;
    display: inline-block;
    padding-left: margin 0 auto;
  }
}/*# sourceMappingURL=category.css.map */