@charset "UTF-8";

/******************************************/
/* ブログ
/*****************************************/
/*** 共通設定　***/
.blog {
  margin: 30px auto;
}

/*** 通常：一覧　***/
.pagination {
  text-align: center;
  padding: 0px;
  margin: 30px 0px;
}

.pagination li {
  display: inline;
  padding: 0px 5px;
  list-style: none;
  border-right: 1px solid #B3B3B3;
}

.pagination li a{
  display: inline-block;
}

.pagination > li > a:link {
  border: none;
  color: #000;
}

.pagination > li > a:visited {
  color: #000;
}

.pagination > li > a:hover {
  color: #f00;
}

.pagination li.active {
  background-color: #E6E6E6;
  font-weight: bold;
}

.pagination li:last-child {
  border-right: none;
}

/* ブログカテゴリ一覧のタイトル */
.blog-category-name {
  font-size: 30px;
  font-weight: bold;
  border-left: 5px solid #000;
  margin-bottom: 10px;
  padding-left: 10px;
}

.blog-list-contents {
  position: relative;
  border: 1px solid #ccc;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  border-radius: 4px;
  margin-bottom: 30px;
  padding: 10px;
  height: 230px;
  overflow: hidden;
}

.blog-list-contents:after {
  content: '';
  height: 40px;
  position: absolute;
  top: 187px;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 4px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.blog-list-contents h3 {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 10px;
  border:none;
  border-bottom: 1px dotted #000;
}

.blog-list-contents h3 a {
  border: none;
}

.blog-list-contents > h3 > a:link,
.blog-list-contents > h3 > a:visited {
  color: #000;
  text-decoration: none;
}

.blog-list-contents > h3 > a:hover {
  color: #f00;
  text-decoration: underline;
}

.blog-list-contents .posted-date {
  font-size: 0.8em;
  margin-bottom: 20px;
}

.blog-eye-catch {
  width: 150px;
  float: left;
  margin-right: 10px;
}

.blog-list-contents p {
  margin: 0px 5px;
  text-align: justify;
}

/* 「続きへ」のデザイン */
.more {
  position: absolute;
  top: 200px;
  right: 5px;
  width: 130px;
  text-align: right;
  background-color: #fff;
  z-index: 10;
}

.more a:link,
.more a:visited {
  color: #000;
  text-decoration: none;
}

.more a:hover {
  color: #f00;
  text-decoration: underline;
}

/*** 通常：サイドバー　***/
.blog-category {
  margin: 90px 0px 40px;
}

.blog-category > div {
  padding: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000;
  background-color: #F0F0F0;
}

.blog-category > ul >li {
  border-bottom: solid 1px #ccc;
}

.blog-category > ul >li[selected] {
  background-color: #e7e7e7;
}

.blog-category > ul > li > a {
  display: block;
  padding: 15px;
  padding-left: 20px;
  font-size: 1.2em;
  color: #000;
  text-decoration: none;
}

.blog-category > ul > li > a:hover {
  color: #f00;
}

/*** 通常：記事画面　***/
.blog-contents {
  padding: 10px;
}

.blog-contents h3 {
  font-size: 1.5em;
  //font-weight: bold;
  margin-top: 10px;
  border-bottom: 1px dotted #B3B3B3;
}

.blog-contents .posted-date {
  margin-top: 10px;
  font-size: 0.8em;
}

.blog-contents > div > p {
  text-align: justify;
}

/*** 管理画面:共通　***/
.blog.panel {
  border: none;
}

.blog > .panel-heading {
  margin: 0px;
}

.blog > .panel-body {
  padding: 0px;
}

/*** 管理画面：一覧　***/
.blog > div > div:nth-child(2) {
  border: 0.5px solid #CCC;
  border-radius: 0px 0px 8px 0px;
}

.blogs {
  border: 1px solid #ccc;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  border-radius: 4px;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 4px;
  margin: 0px 20px 30px 20px;
}

.blogs:first-child {
  margin-top: 15px;
}

.blogs .blog-title {
  border-bottom: 0.5px dotted;
}
.blogs .blog-title p {
  font-size: 1.2em;
  padding: 10px 5px 0px 5px;
  margin-bottom: 0px;
}

.blogs .blog-title a {
  color: #000;
  text-decoration: none;
}

.blogs .blog-info span {
  font-size: 0.8em;
}

/*** 管理画面：サイドバー　***/
.blog-side {
  border: 1px solid #CCC;
  border-right: none;
  background-color: #F2F2F2;
  border-radius: 0px 0px 0px 8px;
}

.blog-side ul {
  margin: 15px 10px 0px;
  padding-left: 0px;
}

.blog-side ul li {
  list-style-type: none;
  border-bottom: 1px solid #dfdfdf;
  line-height: 50px;
  height: 50px;
  padding-left: 40px;
  margin: 0px auto 20px;
  background-repeat: no-repeat;
  background-position: 0px 7px
}

.blog-side ul li a{
  vertical-align: middle;
}

.blog-side ul li a:link,
.blog-side ul li a:visited {
  color: #000;
  text-decoration: none;
}

.blog-side ul li a:hover{
  color: #f00;
}

.blog-side .menu-list li a {
  font-size: 1.1em;
}

.blog-side .menu-list li:nth-child(1) {
  background-image: url("../assets/images/icon_yajirushi.png");
}

.blog-side .menu-list li:nth-child(2) {
  background-image: url("../assets/images/icon_pen.png");
}

.blog-side p {
  font-size: 1.1em;
  //font-weight: bold;
  margin-top: 30px;
  margin-bottom: 0px;
  padding-left: 40px;
  //border-bottom: 1px solid #dfdfdf;
  //color: #555;
  background-image: url("../assets/images/icon_note.png");
  background-repeat: no-repeat;
  background-position: 5px 5px;
  height: 50px;
  line-height: 50px;
}

.blog-side .category-list {
  margin-top: 5px;
}

.blog-side .category-list li {
  list-style-type: disc;
  padding-left: 0px;
  margin-left:40px;
  margin-bottom: 10px;
  height: 30px;
  line-height: 30px;
  border-bottom: none;
}

.blog-side .category-list li ul li{
  list-style-type: circle;
}

/*** 管理画面：作成画面　***/
.edit-blog {
  padding: 20px;
}

.edit-blog label {
  font-weight: bold;
}

.form-row .datepicker {
  width: 100px;
}

.form-row .datetimepicker {
  width: 150px;
}

#currenttime {
  margin: 0px;
}

.edit-blog .closed-label {
  font-weight: normal;
}

/* 管理画面：作成画面 サブカテゴリ　*/
.edit-blog .sub-category-list {
  list-style: none;
  padding-left: 20px;
}

.edit-blog .sub-category-list li {
  float: left;
  width: 33%;
}

/* 投稿日の土曜・日曜の背景色・文字色の設定 */
.xdsoft_calendar thead tr th:nth-of-type(1),
.xdsoft_calendar tbody tr td:nth-of-type(1) {
  background-color: #fcc;
  color: #f00;
}

.xdsoft_calendar thead tr th:nth-of-type(7),
.xdsoft_calendar tbody tr td:nth-of-type(7) {
  background-color: #ccf;
  color: #00f;
}

/*** インデックス：最新情報　***/
.blog-new {
  overflow: auto;
}

.blog-new > .col-free > dt {
   width: 100px;
}

.blog-new > .col-free > dd {
  width: calc(100% - 100px);
}

/******************************************/
/* スマホ対応
/******************************************/

@media print, screen and (max-width: 767px) {
  /*** 共通設定　***/
  .blog > *[class*="col-"] > div:first-child {
    width: 25%;
  }

  .blog > *[class*="col-"] > div:last-child {
    width: 75%;
  }

  /*** インデックス：最新情報　***/
  .blog-new > .col-free > dt,
  .blog-new > .col-free > dd {
    float: none;
    width: 100%;
  }

}
