/* メイン */

#main {
  float: left;
  width: 65%;
}

/* サイドバー */

#sidebar {
  position: absolute;
  right: 0;
  background: floralwhite;
  width: 35%;

  div {
    &.box-item-left, &.box-item-right {
      width: 97.5%;
      margin: 0 1.25%;
    }
  }
}

/* アウターヘッダー */

#header {
  position: fixed;
  z-index: 2;
  background: lavender;
  color: white;
  width: 100%;
  height: 55px;

  ul {
    display: -webkit-box;
    display: flex;
    height: 55px;

    li {
      width: 100%;
      height: 40px;
      padding: 15px 0 0 10px;

      a {
        display: block;
        color: white;
        font-size: 1.2em;
        text-decoration: none;
      }

      &.center a {
        color: black;
      }

      a:hover {
        color: orange;
        text-decoration: none;
      }
    }
  }
}

#wrapper {
  background: white;
  width: 65%;
  margin: 0 auto;
}

#contents {
  position: relative;
  width: 100%;
}

/* mediaクエリ */
@media screen and (max-width: 980px) {
  #wrapper {
    width: 100%;
  }

  #contents {
    position: static;
  }

  #main {
    width: auto;
  }

  #sidebar {
    position: static;
    right: auto;
    display: flex;
    width: 100%;

    div {
      &.box-item-left {
        width: 65%;
      }

      &.box-item-right {
        width: 35%;
      }
    }
  }
}

/* ボタン */

#button-container {
  margin-top: 4em;
  padding-bottom: 2em;

  a.twitter-share {
    display: table-cell;
    color: white;
    text-align: center;
    text-decoration: initial;
    vertical-align: middle;
    font-size: 1.3em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #1b95e0;
    padding: 1em 2em;
  }

  .facebook {
    color: white;
    background: #3b5998;
  }
}

/* アウターフッター */

#footer {
  position: fixed;
  bottom: 0;
  z-index: 9999;
  background: lavender;
  color: white;
  width: 100%;
  height: 50px;

  ul {
    width: 1080px;
    height: 35px;
    margin: 0 auto;

    li {
      float: right;
      padding: .15em;

      a {
        display: block;
        color: black;
        font-size: 2.5em;
        text-decoration: none;

        &:hover {
          display: block;
          text-decoration: none;
        }
      }
    }
  }
}

/* ページリンクス */

div.actions {
  font-size: 1.125em;
  background: honeydew;
  margin-top: .75em;
  padding: 1em 0;
}

span.page-links {
  span, a {
    display: inline-block;
    background: lightgreen;
    border: darkgreen solid 1px;
    border-radius: 4px;
    margin: .5em .57em;
    padding: 1em .47em;
  }

  span.active {
    background: darkgreen;
    color: white;
  }
}

/* ブログ */

.blog-h3 {
  color: white;
  padding: .25em;
}

.blog-h4 {
  border-top: double;
  border-bottom: double;
}

.blog-h5 {
  border-bottom: solid 1px;
}

/* ブログ（運行表） */

.blog-timeTable-div {
  border: solid 2px;
  padding: 1em;
}

.blog-timeTable-h5 {
  display: inline;
  font-weight: normal;
  border-bottom: double;
  padding: 0em .5em;
}

/* 記事、記事一覧 */

ul {
  &#articles li, &#archives li {
    border-bottom: tan 1px dashed;
    padding: 10px 0 1.0em 0;
  }
}

/* ブロック */

div.container ul.a8List li p a img {
  width: 50%;
  height: auto;
}

li.blogList {
  background: #fdfdfd;
  margin-bottom: 1em;
  padding: .5em;
}

p {
  &.paddingRight {
    padding-right: 1.6%;
  }

  &.paddingBottom {
    padding-bottom: 1.6%;
  }
}

.articles_p_a {
  display: block;
  position: absolute;
  bottom: 5px;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  width: 100%;
  padding: .5em 0;
}

/* ブロック,インライン（スタイル）*/

.clear-left {
  clear: left;
}

.font-weight-bold {
  font-weight: bold;
}

width-height-auto {
  width: auto;
  height: auto;
}

.margin-top-2em {
  margin-top: 2em;
}

.margin-bottom-1em {
  margin-bottom: 1em;
}

.margin-bottom-4em {
  margin-bottom: 4em;
}

.padding-top-55px {
  padding-top: 55px;
}

.padding-top-0px {
  padding-top: 0px;
}

/* インライン */

.gray {
  color: gray;
}

.blue {
  color: blue;
}

.red {
  color: red;
}

.orange {
  color: orange;
}

.bigger {
  font-size: 120%;
}

.bold {
  font-weight: bold;
}

.border-dashed-gray {
  background: #fdfdfd;

  /*border:dashed 1px gray;
  padding:10px 5px;*/
  /* margin:10px; */
}

/* aリンク色初期値 */

.a_initial {
  color: initial;
  text-decoration: none;
}

/* カテゴリーインライン */

.category_inline {
  margin-right: 2em;
}

/* マテリアルアイコン */

.share:before {
  font-family: 'Material Icons';
  content: 'share';
}

.facebook:before {
  font-family: 'Material Icons';
  content: 'facebook';
}

.article:before {
  font-family: 'Material Icons';
  content: 'article';
}

.list:before {
  font-family: 'Material Icons';
  content: 'list';
}

.calendar_view_day:before {
  font-family: 'Material Icons';
  content: 'calendar_view_day';
}

.folder:before {
  font-family: 'Material Icons';
  content: 'folder';
}

.create:before {
  font-family: 'Material Icons';
  content: 'create';
}

.schedule:before {
  font-family: 'Material Icons';
  content: 'schedule';
}

.update:before {
  font-family: 'Material Icons';
  content: 'update';
}

.login:before {
  font-family: 'Material Icons';
  content: 'login';
}

.shop:before {
  font-family: 'Material Icons';
  content: 'shop';
}

.games:before {
  font-family: 'Material Icons';
  content: 'games';
}

.rss_feed:before {
  font-family: 'Material Icons';
  content: 'rss_feed';
}

.http:before {
  font-family: 'Material Icons';
  content: 'http';
}

.content_copy:before {
  font-family: 'Material Icons';
  content: 'content_copy';
}

.photo:before {
  font-family: 'Material Icons';
  content: 'photo';
}

.photo_album:before {
  font-family: 'Material Icons';
  content: 'photo_album';
}

.read_more:before {
  font-family: 'Material Icons';
  content: 'read_more';
}

/* Twtterウイジェット */

iframe#twitter-widget-0 {
  width: auto;
}

/* clearfix */

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
