@charset "utf-8";

/*================================
    一覧ページ
=================================*/

/*
    メインビジュアル
---------------------------------*/
@media screen and (min-width:737px) {

  #news-mv {
    background: url('../img/news/mv_area_img.jpg') no-repeat;
    background-size: cover;
    text-align: center;
    height: 345px;
    background-color: #ffd400;
  }
}

/*
    #breadcrumbs
---------------------------------*/
#breadcrumbs {
  background-color: #ffd400;
}

/*
    #news-list
---------------------------------*/
@media screen and (min-width:737px) {

  #news-list .front-txt > img:nth-child(3) {
    position: absolute;
    right: 20px;
    bottom: -30px;
    z-index: 50;
  }

  #news-list .front-txt > img:nth-child(4) {
    position: absolute;
    bottom: -20px;
    right: -65px;
  }

  .news-search .search-widget {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
  }
}

#news-list {
  background-color: #ffd300;
  padding-bottom: 1px;
}

#news-list .front-txt {
  text-align: center;
  position: relative;
  width: 730px;
  margin: 0 auto 29px;
  padding-top: 20px;
}

#news-list .front-txt h1 {
  margin-bottom: 18px;
}

#news-list .front-txt p {
  color: #111;
  line-height: 1.7;
}

/*  #news-area
---------------------------------*/
@media screen and (min-width:737px) {

  .news-sec article:nth-child(3n) {
    margin-right: 0;
  }

  .news-sec article ul li.entry-excerpt {
    line-height: 1.6;
    height: 50px;
  }
}

#news-area {
  width: 1040px;
  margin: 0 auto 100px;
}

.news-list h2 {
  font-size: 27px;
  font-weight: bold;
  color: #222;
  border-bottom: 3px solid #ffd300;
  margin: 70px 0 0;
  padding: 0 0 10px 10px;
}

#news-area .category-list {
  border-top: 1px dotted;
  margin-top: 30px;
  padding-top: 25px;
}

.news-sec article {
  width: 325px;
  height: 355px;
  border: 5px solid #111;
  float: left;
  margin: 30px 32px 0 0;
  position: relative;
  font-size: 1.5em;
  background-color: #fff;
}

.news-sec article > img {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
}

.news-sec article ul {
  padding: 0 18px;
}

.news-sec article ul li.date {
  margin: 14px 0 7px;
}

#news-area .entry-thumbnail {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 210px;
  z-index: 1;
}

#news-area .entry-thumbnail img {
  position: absolute;
  left: -100%;
  right: -100%;
  margin: auto;
  width: 350px;
  height: auto;
  transition: .3s ease-in-put;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
  z-index: 0;
}

.news-sec article a:hover .entry-thumbnail img {
  transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
}

#news-area li.cat a {
  padding: 8px;
  display: inline-block;
  margin-top: 5px;
}

#news-area .category-list a {
  padding: 13px 20px;
  display: inline-block;
  margin-top: 5px;
  font-size: 1.8em;
  margin-right: 13px;
}

/*  .news-search  */
.news-search {
  background-color: #ffd300;
  margin-top: 55px;
  display: table;
  width: 100%;
  height: 77px;
  padding: 15.5px;
  text-align: center;
}

.news-search img {
  vertical-align: middle;
}

.news-search > img:nth-child(1) {
  margin-right: 10px;
}

.news-search > img:nth-child(2) {
  margin-right: 18px;
}

.news-search .search-widget input.searchfield {
  width: 670px;
  height: 45px;
  border-radius: 5px;
  font-size: 17px;
  line-height: 1.2;
  margin-right: 15px;
  padding-left: 20px;
  background-color: #fff;
}

.news-search .search-widget input.searchsubmit {
  background-color: #222;
  color: #fff;
  height: 45px;
  width: 142px;
  border-radius: 5px;
  font-size: 19px;
}

.search-widget input.searchsubmit:hover {
  opacity: .8;
}

.searchform label{display: none;}
.searchform input[type="text"]{
  border: none; /* デフォルトCSSリセット */
}

.searchform input[type="submit"]{
  border: none; /* デフォルトCSSリセット */
  box-shadow: none; /* デフォルトCSSリセット */
}

/*================================
    詳細ページ
=================================*/
#news-detail #breadcrumbs {
  background-color: #fff;
}

.news-back {
  text-align: center;
  margin: 40px 0 70px;
}

/*  main
---------------------------------*/
#news-detail .content-area {
  width: 840px;
  margin: 0 auto;
  line-height: 1.7;
  display: block;
}

#news-detail .category-list p {
  margin-top: 50px;
}

#news-detail header {
  margin-bottom: 50px;
}

#news-detail p a {
  color: #007EFF;
}

#news-detail article > p {
  margin-bottom: 30px;
}

.category-list p a {
  padding: 7px 18px;
  display: inline-block;
  margin-top: 5px;
  font-size: 18px;
  margin-right: 13px;
}

#news-detail .entry-header h1 {
  font-size: 36px;
  margin: 30px 0;
  border-bottom: 4px solid #ffd900;
  padding-bottom: 20px;
}

#news-detail .entry-thumbnail img {
  width: 840px;
  height: auto;
}

#news-detail .text-sec {
  line-height: 1.6;
  margin-top: 60px;
}

#news-detail .paging {
  width: 320px;
  margin: 100px auto 0;
  font-size: 16px;
  font-weight: bold;
}

/* ページネーション */
#page .pagination .page-numbers {
  margin: 2px;
}

.pagination :not(:first-child):not(:last-child):not(.dots) {
  background-color: #222;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  vertical-align: middle;
  color: #fff;
}

#news-area .pagination span.current {
  background-color: #ffd300;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 36px;
  vertical-align: middle;
  border: 2px solid;
  color: #222;
}

#page .pagination .dots {
  font-size: 30px;
  display: inline-block;
  vertical-align: middle;
}

#page .pagination .next,
#page .pagination .prev {
  display: inline-block;
  font-weight: bold;
  padding-top: 40px;
}

/*================================
    レスポンシブ
=================================*/

/* ↓スマホ閲覧時適用 */
@media screen and (max-width:736px) {

  /*================================
    一覧ページ
  =================================*/
  #news-area {
    width: 100%;
    padding: 0 3%;
  }

  .news-search {
    padding-bottom: 25px;
    margin: 60px 0 40px;
  }

  #breadcrumbs {
    padding: 20px 17px;
  }

  /*
      メインビジュアル
  ---------------------------------*/
  #news-mv {
    background: url('../img/news/sp/mv_area_img.jpg') no-repeat;
    height: 0;
    background-color: #ffd400;
    background-size: contain;
    padding-top: 66.7%;
  }

  /*
    #news-list
  ---------------------------------*/
  #news-list .front-txt h1 {
    width: 90%;
    margin: 0 auto 18px;
  }

  #news-list .front-txt {
    width: 100%;
    margin: 0 auto;
  }

  #news-list .front-txt h2 {
    width: 68%;
    margin: 0 auto 4% auto;
  }

  #news-list .front-txt p {
    margin-bottom: 20px;
  }

  #news-list .front-txt > img:nth-child(4) {
    margin-left: -15px;
  }

  /*  #news-area
  ---------------------------------*/
  .news-search .search-widget input.searchfield {
    width: 100%;
    margin: 15px auto;
  }

  .news-search .search-widget input.searchsubmit {
    width: 100%;
  }

  #news-area .category-list a {
    font-size: 1.6em;
  }

  #news-area .category-list {
    padding-top: 20px;
  }

  .news-list h2 {
    font-size: 21px;
    text-align: center;
  }

  .news-sec article {
    width: 48%;
    margin: 7% 4% 0 0;
    height: auto;
  }

  .news-sec article:nth-child(even) {
    margin-right: 0;
  }

  .news-sec article > img {
    right: 6px;
    top: 6px;
  }

  .news-sec article ul {
    padding: 5px 11px 12px;
  }

  .news-sec article ul .date a {
    font-size: 13px;
    color: #808080;
  }

  .news-sec article ul .entry-excerpt {
    height: 90px;
  }

  .news-sec article ul .entry-excerpt a {
    font-size: 15px;
    line-height: 1.5;
    font-weight: bold;
  }

  .news-sec article ul .cat {
    font-size: 13px;
  }

  #news-area .entry-thumbnail {
    height: 120px;
  }

  #news-area .entry-thumbnail {
    height: 110px;
  }

  .news-sec article ul li.date {
    margin: 5px 0;
  }

  /*================================
    詳細ページ
  =================================*/

  #news-detail #breadcrumbs {
    background-color: #fff;
    padding: 75px 3% 0;
    line-height: 1.5;
  }

  #news-detail .category-list p {
    margin-top: 40px;
  }

  /*  main
  ---------------------------------*/

  #news-detail .content-area {
    width: 100%;
    padding: 0 3%;
  }

  .category-list p span {
    display: block;
    margin-top: 18px;
    color: #808080;
  }

  #news-detail .entry-header h1 {
    font-size: 2.4em;
    margin: 0 0 30px;
    font-weight: bold;
  }

  .category-list p a {
    font-size: 16px;
    margin: 0;
    padding: 10px 17px;
  }

  .news-back a img {
    width: 74%;
    max-width: 325px;
  }
}
