@charset "UTF-8";
/* ---------------------------------------------------
	news-archive
------------------------------------------------------ */
#news-archive {
  padding-bottom: 100px;
}
#news-archive .sec-tit {
  margin-bottom: 80px;
  padding: 70px 0 60px;
}
#news-archive .sec-tit h3 {
  font-family: Georgia, serif;
  font-weight: normal;
}
#news-archive .news-list li {
  display: flex;
  width: 100%;
  padding: 14px 0 12px;
  border-bottom: 1px dotted #000;
  font-size: 22px;
  line-height: 1.8;
}
#news-archive .news-list li a:hover {
  color: #E57300;
}
#news-archive .news-list li .date {
  display: block;
  width: 130px;
  margin-top: 2px;
  color: #999;
  font-size: 20px;
  font-weight: bold;
}
#news-archive .news-list li .tit {
  display: block;
  width: calc(100% - 130px);
}
#news-archive .news-btn {
  margin-top: 40px;
  text-align: center;
}
#news-archive .news-btn .btn:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 13px;
  margin: 0 0 4px 10px;
  background: url("../img/icon-caret.png") no-repeat center;
  background-size: cover;
  vertical-align: middle;
  transition: transform .2s;
}
#news-archive .news-btn .btn:hover:after {
  transform: translateX(2px);
}

/* PHP工房お知らせstyle */
.catName {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 11px;
  line-height: 100%;
  margin: 0 2px;
}

.newMark {
  display: inline-block;
  border: 1px solid #F00;
  padding: 1px 4px;
  font-size: 11px;
  line-height: 100%;
  background: #F00;
  color: #fff;
  box-shadow: 1px 1px 1px #999;
  border-radius: 8px;
  font-style: italic;
}

.comment {
  display: block;
  padding: 3px 0;
  float: left;
  overflow: hidden;
  width: 500px;
  /* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
}

.thumbNailWrap {
  display: block;
  width: 110px;
  float: left;
  height: 80px;
  overflow: hidden;
}

/* Pager style（外部化可） */
.pager {
  margin-top: 60px;
  text-align: center;
  clear: both;
}

/*ページャーボタン*/
.pager a {
  border: 2px solid #000;
  font-size: 20px;
  padding: 10px 17px 10px;
  text-decoration: none;
  margin: 0 4px;
}

/*現在のページのボタン*/
.pager a.current {
  background: #000;
  color: #fff;
  pointer-events: none;
}

.pager a:hover {
  background: #eee;
}

.overPagerPattern {
  padding: 0 2px;
}

@media screen and (max-width: 767px) {
  #news-archive .sec-tit {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  [id^="news-"] .container {
    padding: 0 10px;
  }
  #news-archive .news-list li {
    -ms-flex-wrap: wrap;
  	flex-wrap: wrap;
    font-size: 18px;
  }
  #news-archive .news-list li .date {
    width: 100%;
    font-size: 18px;
  }
  #news-archive .news-list li .tit {
    width: 100%;
  }
}

/* ---------------------------------------------------
	news-detail
------------------------------------------------------ */
#news-detail {
  padding-bottom: 100px;
}
#news-detail .sec-tit {
  margin-bottom: 90px;
  padding: 70px 0 60px;
}
#news-detail .sec-tit h3 {
  font-family: Georgia, serif;
  font-weight: normal;
}

/* PHP工房お知らせstyle */
#news-detail-content {
  line-height: 2;
  border-bottom: 1px dotted #000;
  padding-bottom: 30px;
  margin-bottom: 50px;
}

#up_ymd {
  display: block;
  margin-bottom: 20px;
  color: #999;
  font-size: 20px;
  font-weight: bold;
  text-align: right;
}

.detailUpfile {
  margin: 50px 0 50px;
  text-align: center;
}

.backORcloseBtn {
  text-align: center;
  line-height: 100%;
}

.backORcloseBtn a {
  display: inline-block;
  padding: 12px 30px 10px;
  border: 1px solid #000;
  border-radius: 30px;
  text-decoration: none;
}
.backORcloseBtn a:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 13px;
  margin: 0 10px 3px 0;
  background: url("../img/icon-caret.png") no-repeat center;
  background-size: cover;
  vertical-align: middle;
  transform: scale(-1, 1);
  transition: transform .2s;
}
.backORcloseBtn a:hover {
  background: #eee;
}
.backORcloseBtn a:hover:before {
  transform: scale(-1, 1) translateX(2px);
}

.detailUpfile img {
  max-width: 100%;
  height: auto;
}

.pNav {
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  #news-detail .sec-tit {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  #news-detail h4 {
    margin-bottom: 0;
  }
  #news-detail-content {
    padding-bottom: 20px;
  }

  /* PHP工房お知らせstyle */
  #up_ymd {
    font-size: 18px;
    margin-bottom: 10px;
  }
}
