/*
 Theme Name:   RALLYPLUS.NET
 Theme URI:    http://www.rallyplus.net/
 Description:  For RALLYPLUS.NET
 Author:       CINQ LLC
 Author URI:   http://cinq-5.co.jp/
 Template:     hueman1.5.7

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */

/* Global */
body {
  font-size: 14px;
  line-height: 1.4em;
  color: #111;
  font-weight: normal;
  -webkit-text-size-adjust: 100%;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴシック ProN", YuGothic, "游ゴシック",
    Meiryo, "メイリオ", sans-serif !important;
}
#wrapper {
  background-color: #090909;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

@media only screen and (min-width: 720px) {
  #wrapper {
    background: url("/wp-content/uploads/2018/01/haikei005.jpg") center top
      no-repeat;
  }
}
strong {
  font-weight: bold;
}

/* フォーム内で変換中の文字 */
input::selection {
  color: #666;
}
input::-moz-selection {
  color: #666;
}
textarea::selection {
  color: #666;
}
textarea::-moz-selection {
  color: #666;
}

/* ヘッダー */
#header {
  padding-bottom: 0;
  background: none;
  /*  background: url('/wp-content/uploads/2015/07/haikei004.jpg') center top no-repeat; */
}
#header .pad {
  padding: 10px 0 15px 0;
}
/* navメニュー */
/* #nav-header.nav-container { background: rgba(51, 54, 59, 1); } */
.site-title {
  padding-top: 18px;
  padding-left: 28px;
  max-width: 28%;
}
#header-ads {
  max-width: 65%;
  float: right;
}

#nav-header.nav-container {
  /* background: rgba(47, 84, 12, 0.6);
  background-color: #7ebc32;
  background-color: #3d8b40; */
  background: rgba(61, 139, 64, 0.6);
}
#nav-header.nav-container {
  font-weight: bold;
}
.current-menu-item,
.current-post-parent {
  font-weight: bold;
}

#nav-header .nav li a {
  color: rgba(255, 255, 255, 1);
}
#nav-header .nav li.current-menu-item a,
#nav-header .nav li.current-post-parent a {
}

#nav-header .nav > li > a:hover,
#nav-header .nav > li:hover > a {
  color: #000;
  background: #ffea33;
}

@media only screen and (min-width: 720px) {
  .nav ul {
    width: 200px;
  }
}

#page {
  margin-top: 0;
}

/* モバイル広告 */
#ad_mobile_top {
  display: none;
}

/* スライダー 縦横比 */
body.home .post-thumbnail {
  aspect-ratio: 86/50;
}


/* スライダー 左右の矢印 */
#flexslider-featured .flex-direction-nav {
  top: 10px;
  /*  width: 100%; */
}
#flexslider-featured .flex-direction-nav li:first-child {
  margin-left: 0;
}

/* スライダー インジケーター */
#flexslider-featured .flex-control-nav {
  top: -8px;
}
#flexslider-featured .flex-control-nav li a {
  height: 3px;
}
/* スライダー下スペース */
.featured,
.featured.flexslider {
  padding-bottom: 0;
  margin-bottom: 15px;
}
.featured,
.featured.flexslider {
  border-bottom: none;
}

/* カテゴリー */
.page-title,
.post-meta {
  text-transform: initial;
}

/* ページタイトル */
.page-title span {
  color: #444;
}
.post-standard .format-aside .post-title {
  display: block !important;
}
.portal-tile .format-aside .post-title {
  display: block !important;
}

/* 投稿 */
.post-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 7px;
  color: #333;
  line-height: 1.3em;
}
.post-title a {
  color: #333;
}

.featured .post-title {
  font-size: 20px;
}
.featured .format-aside .post-title {
  display: block;
}
.post-list .format-aside .post-title {
  display: block;
}
.search-results .format-aside .post-title {
  display: block;
}
.format-aside .post-title-3rd {
  display: block;
}
.single .post-title {
  font-size: 26px;
}
.post-meta {
  font-size: 12px;
}
.post-meta .post-category {
  font-weight: bold;
}
.entry {
  line-height: 1.4em;
}
.entry.excerpt {
  font-size: 13px;
  color: #666;
}
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5 {
  font-weight: bold;
}

.page-title-portal {
  padding-top: 0;
}

.pad {
  padding: 15px 15px 10px;
}

/* SPECIAL 見出し */
.special-title {
  padding: 15px 0 10px;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 16px;
  /*margin-top: 30px;*/
}
.special-title span {
  color: #444;
}
.special-posts {
  margin-top: 10px;
}

/* アーカイブ */
.post-list-2 .post {
  width: 50%;
}
.post-list-3 .post {
  width: 33.33%;
}
.post-list .post-inner {
  margin-right: 15px;
}
.post-list {
  margin-right: -15px;
}
.post-list .post-row {
  margin-bottom: 10px;
  border-bottom: none;
}
.post-list .post-row:last-child {
  margin-bottom: 15px;
}

.post-standard .post-inner {
  padding-bottom: 5px;
  border-bottom: none;
  padding-left: 180px;
}

.post-standard .post-thumbnail {
  margin-left: -180px;
  max-width: 160px;
}

/* ポータルページ */
.portal-tile {
  min-height: 270px;
  background-color: #eeeeee;
  margin-bottom: 24px;
  border-bottom: solid 1px #aaa;
}
.portal-tile-inverse {
  background-color: #111;
}
.portal-tile-white {
  background-color: #fff;
  border-bottom: none;
}

.portal-title {
  padding: 10px 10px 4px;
  color: #eee;
  background-color: #666;
  font-size: 16px;
  border-bottom: 5px solid #aaa;
}
.portal-tile .post-thumbnail {
  margin-bottom: 0px;
}
.portal-tile .post-title {
  padding: 8px 12px;
}
.portal-tile .table td {
  font-weight: bold;
}

.post-thumbnail-issue img {
  width: 90%;
  padding: 5%;
}

.post-list-compact {
  /* height: 300px;
  overflow: scroll; */
  height: initial;
  overflow: initial;
}
.post-list-compact h2.post-title {
  padding-left: 10px;
  margin-bottom: 0;
}
.post-list-compact .post-inner {
  padding-left: 160px;
}
.post-list-compact .post-thumbnail {
  margin-left: -160px;
}
.post-list-compact .post-meta {
  padding-left: 10px;
}

/* 動画アイコン */
.thumb-icon {
  color: #7ebc32;
  /*width: 60px;*/
  /*height: 60px;*/
}
.thumb-icon i {
  /*font-size: 32px;*/
  /*padding: 12px 0;*/
}
/*
.post-hover:hover .thumb-icon {
  color: #fff;
  background: #7ebc32;
}
*/

/* 投稿シングルページ */
.entry-inner {
  font-size: 17px;
  line-height: 1.7em;
}
.entry-inner h2,
h2.article {
  padding: 0.5em 0.75em;
  background-color: #f6f6f6;
  border-left: 6px solid #7ebc32;
  font-size: 18px;
  color: #333;
  margin-bottom: 1.4em;
}
.entry-inner h3 {
  font-weight: bold;
  font-size: 18px;
}
.entry-inner p {
  margin-bottom: 1.5em;
}
.entry-inner p a {
  font-weight: bold;
}
.entry-inner p a.btn {
  font-weight: normal;
}
.entry-inner div.grid {
  margin-bottom: 19px;
}
.entry-inner div.kakomi {
  border: 1px solid #ccc;
  background-color: #f6f6f6;
  padding: 1em 1.5em;
  margin-bottom: 32px;
}
.entry-inner .entry-photos {
  margin: 6px 0 18px 20px;
  float: right;
  max-width: 300px;
}
img.post-eyecatch-wide {
  width: 100%;
}
img.post-eyecatch-issue {
  border: solid 1px #ccc;
  width: 99%;
}

/* 原因不明のキャプ位置ずれ */
.category-odablo .wp-caption-text,
.category-petter-blog .wp-caption-text {
  top: -9px;
  position: relative;
}
/* .format-aside .entry-photos-wide { margin-bottom: 18px; } */

.entry .wp-caption {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.entry .wp-caption .wp-caption-text {
  text-align: left;
  margin-left: 5px;
  padding-top: 4px;
  padding-bottom: 4px;
  line-height: 1.5em;
  color: #444;
}
.entry .wp-caption .wp-caption-text:before {
  /* content: "©"; */
}
.entry .video-container,
.entry .fb-video,
.entry .fb-video span {
  margin-bottom: 28px;
}

.entry .wp-pagenavi {
  text-align: center;
  margin: 2em 0;
  font-size: 16px;
}
.entry .wp-pagenavi span {
  /* border-top: 1px solid #f1f1f1; */
  border-top: 0;
  border-bottom: 3px solid #7ebc32;
  color: #444;
}
.entry .wp-pagenavi a {
  padding: 0;
  border-top: none;
  border-bottom: none;
}
.entry .wp-pagenavi a span {
  /* border-top: 1px solid #f1f1f1; */
  border-top: 0;
  border-bottom: 3px solid #ddd;
  color: #7ebc32;
  -webkit-transition: background-color 1s linear;
}
.entry .wp-pagenavi a span:hover {
  border-bottom-color: #7ebc32 !important;
  color: #444;
}
.entry span.post-page-numbers.current {
  padding: 0;
  border: none;
}

.blog-header {
  margin-bottom: 20px;
}

/* 固定ページ */
article.page .entry {
  font-size: 17px;
  line-height: 1.7em;
}

/* シェアボタン */
.sharedaddy {
  margin-top: 20px;
}
body.home .sharedaddy,
body.archive .sharedaddy,
body.search .sharedaddy {
  display: none;
}

/* 投稿シングルページ 広告ボックス */
.ad-content-bottom-w336 {
  width: 336px;
  float: left;
  margin: 0 15px 15px 0;
}
.ad-content-bottom-second {
  margin-right: 0;
}

/* 関連記事 */
.jp-relatedposts-headline {
  font-size: 16px;
  margin-top: 30px;
}
#jp-relatedposts {
  margin-top: 10px !important;
  padding-top: 0 !important;
}
.jp-relatedposts-items.jp-relatedposts-items-visual {
  width: 100%;
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
  margin-bottom: 20px;
}
.jp-relatedposts-post-img {
  width: 100%;
}
.jp-relatedposts-post-title {
  margin-top: 4px !important;
}
.jp-relatedposts-post-context {
  display: none;
}
.jp-relatedposts-items-visual h4.jp-relatedposts-post-title a {
  font-weight: bold !important;
  line-height: 1.3em !important;
  color: #7ebc32 !important;
}
.jp-relatedposts-items-visual h4.jp-relatedposts-post-title a:hover {
  color: #7ebc32 !important;
}
.jp-relatedposts-post-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.4em;
}

/* 関連記事２　Wordpress Related Posts */
/* 設定 > Wordpress Related Posts > Advanced settings にて Custom CSS を定義 */
/* 念のためコピペ ----- */
.related_post_title {
}
ul.related_post {
}
ul.related_post li {
  width: 32% !important;
  margin-right: 2% !important;
}
ul.related_post li:nth-child(3n + 3) {
  margin-right: 0 !important;
}
ul.related_post li a {
}
ul.related_post li img {
  width: 100% !important;
  height: auto !important;
}
.wp_rp_publish_date {
  color: #bbb;
}
.wp_rp_title {
  font-weight: bold;
  font-size: 14px;
  color: #111;
}
/* ----- コピペここまで */

/* バックナンバー */
.page_image_area {
  width: 250px;
  float: left;
  margin: 0 20px 20px 0;
}
.page_title_rallyplus {
  font-size: 20px;
  font-weight: bold;
  /*  color: #ff5e19; */
  margin-bottom: 10px !important;
}
.page_memo {
  font-size: 14px;
}

.category-issue .excerpt .btn {
  font-size: 13px;
}
.category-issue .excerpt p {
  margin-bottom: 8px;
}

/* ブログ */
#news_info1_intro .entry_date,
#news_info1_intro h2,
#news_info1_intro .blog_main_photo {
  display: none;
}

/* 共通？ */
.blog .post,
.archive .post,
.search .post,
.search .page {
  margin-bottom: 20px;
}
.single .post {
  margin-bottom: 0;
}

/* 広告ボックス */
.adbox {
  margin: 0 auto;
  text-align: center;
}
.adbox_bottom_archive {
  margin-top: 40px;
}
.adbox a:hover,
.related_post a:hover,
.sidebar a:hover {
  opacity: 0.75;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  transition: all 1s ease;
}

/* ウィジェット */
.sidebar .widget {
  padding-top: 15px !important;
  padding-bottom: 0;
}
.sidebar .widget:first-child {
  padding-top: 15px;
}

/* ウィジェット見出し */
.widget h3 {
  margin: 15px 0;
  border-bottom: solid 2px #333;
  font-weight: normal;
}

/* ウィジェットソーシャルボタン */
.side-social-btn {
  width: 32%;
  margin-right: 2%;
}
.side-social-btn-last {
  margin-right: 0;
}

/* 購読フォーム */
#subscribe-field-blog_subscription-2 {
}
#subscribe-text {
  font-size: 13px;
  padding-left: 3px;
}
#subscribe-email input {
  background: #fff;
  border: 2px solid #ddd;
  color: #777;
  display: block;
  max-width: 100%;
  outline: none;
  padding: 7px 8px !important;
  line-height: 20px;
  color: #999 !important;
  width: 280px !important;
  font-size: 14px;
}
#subscribe-submit input {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px !important;
  line-height: 1.42857;
  border-radius: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  color: #fff;
  background-color: #7ebc32;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  padding: 7px 20px;
}

#subscribe-submit input:focus {
  color: #fff;
  background: #3d8b40;
}
#subscribe-submit input:hover {
  color: #fff;
  background: #444;
}

/* 旧週間アクセスランキング */
.widget-pop-posts {
  color: #333;
}
.widget-pop-posts .pop-img {
  float: left;
  margin-right: 10px;
  margin-bottom: 14px;
  margin: 0 10px 14px 4px;
}
.widget-pop-posts li {
  clear: both;
}
.pop-rank {
  font-weight: bold;
  font-size: 20px;
  position: relative;
  top: -4px;
  left: -78px;
  background: #000;
  color: #fff;
  width: 20px;
  text-align: center;
  display: inline-block;
}

/* 週間アクセスランキング */
.widgets-list-layout-links {
  position: relative;
  top: -1em;
}
body.single .widgets-list-layout-links {
  position: relative;
  top: 0;
}
.widgets-list-layout-links a {
  color: #111;
  font-size: 14px;
  font-weight: bold;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.widgets-list-layout-links a:hover {
  color: #7ebc32;
}

/* ウィジェットタブ  */
.alx-tab .tab-item-title a,
.alx-tab .tab-item-comment a,
.alx-posts .post-item-title a {
  color: #111;
}
.tab-item-category {
  font-weight: bold;
  font-size: 12px !important;
}
.tab-item-date {
  font-size: 12px !important;
}
.tab-item-title {
  font-weight: bold;
  line-height: 1.3em;
  font-size: 14px;
}

/* 人気投稿ランキング by Jetpack */
.widget_top-posts .widgets-list-layout-blavatar {
  max-width: 100px !important;
}

/* フッターnav */
#nav-footer .nav li a {
  color: #555;
  font-weight: bold;
}

/* フッター */
#footer-bottom {
  border-top: solid 5px #7ebc32;
  background: url("/wp-content/uploads/2018/01/footer005.jpg") center top
    no-repeat;
}
#footer-bottom #copyright,
#footer-bottom #credit {
  font-size: 11px;
  font-weight: bold;
  color: #eee;
  text-shadow: 1px 1px 1px #000, 2px 2px 2px #000, 3px 3px 3px #000;
}
#footer-bottom #footer-logo {
  width: 117px;
  height: 40px;
}

#footer-bottom #back-to-top i {
  top: -3px;
}

#credit p {
  margin-top: 1em;
}

.entry blockquote {
  color: #333;
}

/* 対談 -------------------------------------- */
.conv dt {
  margin-bottom: 10px;
}
.conv dd {
  padding-left: 10px;
  margin-bottom: 2em;
}
.conv span.annotation {
  font-size: 90%;
  color: #777;
}
@media only screen and (min-width: 640px) {
  .conv dl {
    display: flex;
  }
  .conv dt {
    width: 20%;
    text-align: right;
  }
  .conv dd {
    width: 70%;
    padding-left: 2em;
  }
}
@media only screen and (max-width: 639px) {
  .conv dd br {
    display: none;
  }
}

/* テキスト揃え -------------------------------------- */
.center {
  text-align: center !important;
}
.left {
  text-align: left !important;
}
.right {
  text-align: right !important;
}

/* テーブル */
.entry table td {
  text-align: left;
}
.entry table th,
.entry table td {
  padding: 5px 15px;
}

table .left,
table .right {
  float: none;
}

/* ボタン */
/* from Honoka via Bootstrap */
/* http://honokak.osaka/ */

.btn {
  display: inline-block !important;
  margin-bottom: 6px !important;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent !important;
  white-space: nowrap;
  padding: 6px 12px !important;
  font-size: 16px;
  line-height: 1.42857;
  border-radius: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn:focus,
.btn.focus,
.btn:active:focus,
.btn:active.focus,
.btn.active:focus,
.btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
}
.btn:active,
.btn.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-default:focus,
.btn-default.focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}
.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-default.active,
.btn-default.active,
.open > .btn-default.dropdown-toggle {
  color: #333;
  background-color: #f2f2f2;
  border-color: #bdbdbd;
}
.btn-default.active:hover,
.btn-default.active:focus,
.btn-default.active.focus,
.btn-default.active:hover,
.btn-default.active:focus,
.btn-default.active.focus,
.open > .btn-default.dropdown-toggle:hover,
.open > .btn-default.dropdown-toggle:focus,
.open > .btn-default.dropdown-toggle.focus {
  color: #333;
  background-color: #d4d4d4;
  border-color: #8c8c8c;
}
.btn-default:active,
.btn-default.active,
.open > .btn-default.dropdown-toggle {
  background-image: none;
}
.btn-default.disabled,
.btn-default.disabled:hover,
.btn-default.disabled:focus,
.btn-default.disabled.focus,
.btn-default.disabled:active,
.btn-default.disabled.active,
.btn-default[disabled],
.btn-default[disabled]:hover,
.btn-default[disabled]:focus,
.btn-default[disabled].focus,
.btn-default[disabled]:active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-default:hover,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default.focus,
fieldset[disabled] .btn-default:active,
fieldset[disabled] .btn-default.active {
  background-color: #fff;
  border-color: #ccc;
}
.btn-default .badge {
  color: #fff;
  background-color: #333;
}

.btn-primary {
  color: #fff;
  background-color: #2196f3;
  border-color: #1791f2;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #0c7cd5;
  border-color: #074c83;
}
.btn-primary:hover {
  color: #fff;
  background-color: #0c7cd5;
  border-color: #0a71c2;
}
.btn-primary.active,
.btn-primary.active,
.open > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0d8aee;
  border-color: #0c82df;
}
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus,
.open > .btn-primary.dropdown-toggle:hover,
.open > .btn-primary.dropdown-toggle:focus,
.open > .btn-primary.dropdown-toggle.focus {
  color: #fff;
  background-color: #0a68b4;
  border-color: #074c83;
}
.btn-primary:active,
.btn-primary.active,
.open > .btn-primary.dropdown-toggle {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary.disabled:hover,
.btn-primary.disabled:focus,
.btn-primary.disabled.focus,
.btn-primary.disabled:active,
.btn-primary.disabled.active,
.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled].focus,
.btn-primary[disabled]:active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:active,
fieldset[disabled] .btn-primary.active {
  background-color: #2196f3;
  border-color: #1791f2;
}
.btn-primary .badge {
  color: #2196f3;
  background-color: #fff;
}

.btn-wide {
  width: 100%;
}

.btn-rp {
  color: #fff;
  background-color: #7ebc32;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-rp:focus,
.btn-rp.focus {
  color: #fff;
  background-color: #3d8b40;
}
.btn-rp:hover {
  color: #fff;
  background: #444;
}
.btn-rp.active,
.btn-rp.active,
.open > .btn-rp.dropdown-toggle {
  color: #fff;
  background: #444;
}
.btn-rp.active:hover,
.btn-rp.active:focus,
.btn-rp.active.focus,
.btn-rp.active:hover,
.btn-rp.active:focus,
.btn-rp.active.focus,
.open > .btn-rp.dropdown-toggle:hover,
.open > .btn-rp.dropdown-toggle:focus,
.open > .btn-rp.dropdown-toggle.focus {
  color: #fff;
  background: #444;
}
.btn-rp:active,
.btn-rp.active,
.open > .btn-rp.dropdown-toggle {
  background-image: none;
}
.btn-rp.disabled,
.btn-rp.disabled:hover,
.btn-rp.disabled:focus,
.btn-rp.disabled.focus,
.btn-rp.disabled:active,
.btn-rp.disabled.active,
.btn-rp[disabled],
.btn-rp[disabled]:hover,
.btn-rp[disabled]:focus,
.btn-rp[disabled].focus,
.btn-rp[disabled]:active,
.btn-rp[disabled].active,
fieldset[disabled] .btn-rp,
fieldset[disabled] .btn-rp:hover,
fieldset[disabled] .btn-rp:focus,
fieldset[disabled] .btn-rp.focus,
fieldset[disabled] .btn-rp:active,
fieldset[disabled] .btn-rp.active {
  background-color: #7ebc32;
}
.btn-rp .badge {
  color: #7ebc32;
  background-color: #fff;
}

.btn-success {
  color: #fff;
  background-color: #4caf50;
  border-color: #49a84d;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-success:focus,
.btn-success.focus {
  color: #fff;
  background-color: #3d8b40;
  border-color: #224f24;
}
.btn-success:hover {
  color: #fff;
  background-color: #3d8b40;
  border-color: #367d39;
}
.btn-success.active,
.btn-success.active,
.open > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #449d48;
  border-color: #409343;
}
.btn-success.active:hover,
.btn-success.active:focus,
.btn-success.active.focus,
.btn-success.active:hover,
.btn-success.active:focus,
.btn-success.active.focus,
.open > .btn-success.dropdown-toggle:hover,
.open > .btn-success.dropdown-toggle:focus,
.open > .btn-success.dropdown-toggle.focus {
  color: #fff;
  background-color: #327334;
  border-color: #224f24;
}
.btn-success:active,
.btn-success.active,
.open > .btn-success.dropdown-toggle {
  background-image: none;
}
.btn-success.disabled,
.btn-success.disabled:hover,
.btn-success.disabled:focus,
.btn-success.disabled.focus,
.btn-success.disabled:active,
.btn-success.disabled.active,
.btn-success[disabled],
.btn-success[disabled]:hover,
.btn-success[disabled]:focus,
.btn-success[disabled].focus,
.btn-success[disabled]:active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success,
fieldset[disabled] .btn-success:hover,
fieldset[disabled] .btn-success:focus,
fieldset[disabled] .btn-success.focus,
fieldset[disabled] .btn-success:active,
fieldset[disabled] .btn-success.active {
  background-color: #4caf50;
  border-color: #49a84d;
}
.btn-success .badge {
  color: #4caf50;
  background-color: #fff;
}

.btn-info {
  color: #fff;
  background-color: #9c27b0;
  border-color: #9525a8;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-info:focus,
.btn-info.focus {
  color: #fff;
  background-color: #771e86;
  border-color: #380e3f;
}
.btn-info:hover {
  color: #fff;
  background-color: #771e86;
  border-color: #681a76;
}
.btn-info.active,
.btn-info.active,
.open > .btn-info.dropdown-toggle {
  color: #fff;
  background-color: #89229b;
  border-color: #7e208f;
}
.btn-info.active:hover,
.btn-info.active:focus,
.btn-info.active.focus,
.btn-info.active:hover,
.btn-info.active:focus,
.btn-info.active.focus,
.open > .btn-info.dropdown-toggle:hover,
.open > .btn-info.dropdown-toggle:focus,
.open > .btn-info.dropdown-toggle.focus {
  color: #fff;
  background-color: #5d1769;
  border-color: #380e3f;
}
.btn-info:active,
.btn-info.active,
.open > .btn-info.dropdown-toggle {
  background-image: none;
}
.btn-info.disabled,
.btn-info.disabled:hover,
.btn-info.disabled:focus,
.btn-info.disabled.focus,
.btn-info.disabled:active,
.btn-info.disabled.active,
.btn-info[disabled],
.btn-info[disabled]:hover,
.btn-info[disabled]:focus,
.btn-info[disabled].focus,
.btn-info[disabled]:active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info,
fieldset[disabled] .btn-info:hover,
fieldset[disabled] .btn-info:focus,
fieldset[disabled] .btn-info.focus,
fieldset[disabled] .btn-info:active,
fieldset[disabled] .btn-info.active {
  background-color: #9c27b0;
  border-color: #9525a8;
}
.btn-info .badge {
  color: #9c27b0;
  background-color: #fff;
}

.btn-warning {
  color: #fff;
  background-color: #ff9800;
  border-color: #f59200;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-warning:focus,
.btn-warning.focus {
  color: #fff;
  background-color: #cc7a00;
  border-color: #754600;
}
.btn-warning:hover {
  color: #fff;
  background-color: #cc7a00;
  border-color: #b86d00;
}
.btn-warning.active,
.btn-warning.active,
.open > .btn-warning.dropdown-toggle {
  color: #fff;
  background-color: #e68900;
  border-color: #d68000;
}
.btn-warning.active:hover,
.btn-warning.active:focus,
.btn-warning.active.focus,
.btn-warning.active:hover,
.btn-warning.active:focus,
.btn-warning.active.focus,
.open > .btn-warning.dropdown-toggle:hover,
.open > .btn-warning.dropdown-toggle:focus,
.open > .btn-warning.dropdown-toggle.focus {
  color: #fff;
  background-color: #a86400;
  border-color: #754600;
}
.btn-warning:active,
.btn-warning.active,
.open > .btn-warning.dropdown-toggle {
  background-image: none;
}
.btn-warning.disabled,
.btn-warning.disabled:hover,
.btn-warning.disabled:focus,
.btn-warning.disabled.focus,
.btn-warning.disabled:active,
.btn-warning.disabled.active,
.btn-warning[disabled],
.btn-warning[disabled]:hover,
.btn-warning[disabled]:focus,
.btn-warning[disabled].focus,
.btn-warning[disabled]:active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning,
fieldset[disabled] .btn-warning:hover,
fieldset[disabled] .btn-warning:focus,
fieldset[disabled] .btn-warning.focus,
fieldset[disabled] .btn-warning:active,
fieldset[disabled] .btn-warning.active {
  background-color: #ff9800;
  border-color: #f59200;
}
.btn-warning .badge {
  color: #ff9800;
  background-color: #fff;
}

.btn-danger {
  color: #fff;
  background-color: #f44336;
  border-color: #f33a2c;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.btn-danger:focus,
.btn-danger.focus {
  color: #fff;
  background-color: #ea1c0d;
  border-color: #981208;
}
.btn-danger:hover {
  color: #fff;
  background-color: #ea1c0d;
  border-color: #d71a0c;
}
.btn-danger.active,
.btn-danger.active,
.open > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #f32c1e;
  border-color: #f21f0f;
}
.btn-danger.active:hover,
.btn-danger.active:focus,
.btn-danger.active.focus,
.btn-danger.active:hover,
.btn-danger.active:focus,
.btn-danger.active.focus,
.open > .btn-danger.dropdown-toggle:hover,
.open > .btn-danger.dropdown-toggle:focus,
.open > .btn-danger.dropdown-toggle.focus {
  color: #fff;
  background-color: #c8180b;
  border-color: #981208;
}
.btn-danger:active,
.btn-danger.active,
.open > .btn-danger.dropdown-toggle {
  background-image: none;
}
.btn-danger.disabled,
.btn-danger.disabled:hover,
.btn-danger.disabled:focus,
.btn-danger.disabled.focus,
.btn-danger.disabled:active,
.btn-danger.disabled.active,
.btn-danger[disabled],
.btn-danger[disabled]:hover,
.btn-danger[disabled]:focus,
.btn-danger[disabled].focus,
.btn-danger[disabled]:active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger,
fieldset[disabled] .btn-danger:hover,
fieldset[disabled] .btn-danger:focus,
fieldset[disabled] .btn-danger.focus,
fieldset[disabled] .btn-danger:active,
fieldset[disabled] .btn-danger.active {
  background-color: #f44336;
  border-color: #f33a2c;
}
.btn-danger .badge {
  color: #f44336;
  background-color: #fff;
}

.btn-link {
  color: #2196f3;
  font-weight: normal;
  border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
  color: #0a6ebd;
  text-decoration: underline;
  background-color: transparent;
}
.btn-link[disabled]:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:hover,
fieldset[disabled] .btn-link:focus {
  color: #777777;
  text-decoration: none;
}

.btn-lg,
.btn-group-lg > .btn {
  padding: 10px 20px;
  font-size: 20px;
  line-height: 1.33;
  border-radius: 4px;
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 1px;
}

.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 1px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: 5px;
}

/* Table */
/* from Honoka via Bootstrap */
/* http://honokak.osaka/     */
table {
  border-spacing: 0;
  border-collapse: collapse;
}
.table {
  width: 100%;
  max-width: 100%;
  /*  margin-bottom: 22px; */
}
th {
  font-weight: bold;
}
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857;
  vertical-align: top;
  border-top: 1px solid #ddd;
}
.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > th,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
.table > tbody + tbody {
  border-top: 2px solid #ddd;
}
.table .table {
  background-color: #f9f9f9;
}

.table-condensed > thead > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}

.table-bordered {
  border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td {
  border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

table col[class*="col-"] {
  position: static;
  display: table-column;
  float: none;
}

table td[class*="col-"],
table th[class*="col-"] {
  position: static;
  display: table-cell;
  float: none;
}

.table > thead > tr > td.active,
.table > thead > tr > th.active,
.table > thead > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
  background-color: #e8e8e8;
}

.table > thead > tr > td.success,
.table > thead > tr > th.success,
.table > thead > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
.table > tbody > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr > td.success,
.table > tfoot > tr > th.success,
.table > tfoot > tr.success > td,
.table > tfoot > tr.success > th {
  background-color: #d9eeda;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
  background-color: #c7e7c8;
}

.table > thead > tr > td.info,
.table > thead > tr > th.info,
.table > thead > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr > td.info,
.table > tbody > tr > th.info,
.table > tbody > tr.info > td,
.table > tbody > tr.info > th,
.table > tfoot > tr > td.info,
.table > tfoot > tr > th.info,
.table > tfoot > tr.info > td,
.table > tfoot > tr.info > th {
  background-color: #e3f2fd;
}

.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover,
.table-hover > tbody > tr.info:hover > td,
.table-hover > tbody > tr:hover > .info,
.table-hover > tbody > tr.info:hover > th {
  background-color: #cae6fc;
}

.table > thead > tr > td.warning,
.table > thead > tr > th.warning,
.table > thead > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
.table > tbody > tr.warning > td,
.table > tbody > tr.warning > th,
.table > tfoot > tr > td.warning,
.table > tfoot > tr > th.warning,
.table > tfoot > tr.warning > td,
.table > tfoot > tr.warning > th {
  background-color: #ffeacc;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
  background-color: #ffe0b3;
}

.table > thead > tr > td.danger,
.table > thead > tr > th.danger,
.table > thead > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td,
.table > tbody > tr.danger > th,
.table > tfoot > tr > td.danger,
.table > tfoot > tr > th.danger,
.table > tfoot > tr.danger > td,
.table > tfoot > tr.danger > th {
  background-color: #fff8f7;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
  background-color: #fde1df;
}

@media screen and (max-width: 767px) {
  /*
  .entry-inner table {
    display: block;
    width: auto;
    overflow-x: auto;
    white-space: nowrap;
  }
  .portal-tile table {
    display: block;
    width: auto;
    overflow-x: auto;
    white-space: nowrap;
  }
*/
}

.entry table {
  display: block;
  width: auto;
  overflow-x: auto;
  white-space: nowrap;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  font-size: 13px;
}

.table > thead > tr > td.current,
.table > thead > tr > th.current,
.table > thead > tr.current > td,
.table > thead > tr.current > th,
.table > tbody > tr > td.current,
.table > tbody > tr > th.current,
.table > tbody > tr.current > td,
.table > tbody > tr.current > th,
.table > tfoot > tr > td.current,
.table > tfoot > tr > th.current,
.table > tfoot > tr.current > td,
.table > tfoot > tr.current > th {
  background-color: #7ebc32;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
}
.current a {
  color: #ffeb3b;
}

/* 反転テーブル */
.table-inverse > thead > tr > th,
.table-inverse > tbody > tr > th,
.table-inverse > tfoot > tr > th,
.table-inverse > thead > tr > td,
.table-inverse > tbody > tr > td,
.table-inverse > tfoot > tr > td {
  color: #fff;
  background-color: #111;
  border-top-color: #666;
  border-bottom-color: #666;
}

.standings-footer {
  font-size: 11px;
  color: #444;
  text-align: right;
  padding-right: 4px;
}

/* ポータル */
#home-news-btn {
  text-align: right;
  margin-bottom: 0;
}
#portal-news-btn {
  position: relative;
  top: -55px;
  text-align: right;
}

.pc-ad-box {
  display: block;
}
.mobile-ad-box {
  display: none;
}
.pc-ad-box img,
.mobile-ad-box img {
  width: 100%;
}

.cartbox {
  display: none;
}

.visible-xs {
  display: none;
}
.hidden-xs {
  display: block;
}

#home-ad-box-wide,
#home-ad-box-square {
  margin: 20px 0;
  text-align: center;
}

/* レスポンシブ -------------------------------------- */
/* 以下、ブラウザ幅による指定                            */

@media only screen and (max-width: 1150px) {
  #header-ads {
    display: none !important;
  }
}

@media only screen and (min-width: 720px) and (max-width: 1150px) {
  #home-ad-box-wide {
    display: block !important;
  }
}
@media only screen and (max-width: 719px) {
  #home-ad-box-square {
    display: block !important;
  }
}

@media only screen and (max-width: 964px) {
}

@media only screen and (min-width: 961px) and (max-width: 1076px) {
  .ad-content-bottom-second {
    display: none;
  }
}

@media only screen and (min-width: 961px) and (max-width: 1049px) {
  .entry-inner .wp-caption.alignright,
  .entry-inner .wp-caption.alignleft {
    float: none;
    margin: 1em auto 2em;
  }
}

/* for iPad Rayout Adjust */
@media only screen and (min-width: 961px) and (max-width: 1123px) {
  .wrc-calendar > tbody > tr > td:nth-child(1),
  .wrc-calendar > tbody > tr > td:nth-child(2),
  .wrc-calendar > tbody > tr.current > td:nth-child(1),
  .wrc-calendar > tbody > tr.current > td:nth-child(2) {
    font-size: 80%;
  }
  .wrc-calendar > tbody > tr > td:nth-child(3),
  .wrc-calendar > tbody > tr.current > td:nth-child(3) {
    font-size: 60%;
  }
  .wrc-drivers-standings th:nth-child(3),
  .wrc-drivers-standings td:nth-child(3) {
    display: none;
  }
}
@media only screen and (min-width: 720px) and (max-width: 844px) {
  .wrc-calendar > tbody > tr > td:nth-child(1),
  .wrc-calendar > tbody > tr > td:nth-child(2),
  .wrc-calendar > tbody > tr.current > td:nth-child(1),
  .wrc-calendar > tbody > tr.current > td:nth-child(2) {
    font-size: 80%;
  }
  .wrc-calendar > tbody > tr > td:nth-child(3),
  .wrc-calendar > tbody > tr.current > td:nth-child(3) {
    font-size: 60%;
  }
  .wrc-drivers-standings th:nth-child(3),
  .wrc-drivers-standings td:nth-child(3) {
    display: none;
  }
}

@media only screen and (min-width: 801px) {
  .site_logo_pc {
    display: block !important;
  }
  .site_logo_mobile {
    display: none !important;
  }
}

@media only screen and (max-width: 759px) {
  .entry-inner .wp-caption.alignright,
  .entry-inner .wp-caption.alignleft,
  .entry-inner img.alignright,
  .entry-inner img.alignleft {
    float: none;
    margin: 1em auto 2em;
  }
  .entry-inner img.alignright,
  .entry-inner img.alignleft {
    margin: 1em 5% 2em;
    width: 90%;
  }
}

/* Tablet - 800px, 768px & 720px */
@media only screen and (min-width: 720px) and (max-width: 800px) {
  .site_logo_pc {
    display: block !important;
  }
  .site_logo_mobile {
    display: none !important;
  }
}

/* Mobile - 480px & 320px */
@media only screen and (max-width: 719px) {
  .post-standard .post-inner {
    padding-left: 100px !important;
  }
  .post-standard .post-thumbnail {
    margin-left: -100px !important;
    max-width: 100px !important;
  }

  .featured .post-title {
    font-size: 18px !important;
  }

  h2.post-title {
    font-size: 18px;
  }
  h2.post-title-3rd {
    font-size: 15px;
  }
  .post-list-compact h2.post-title {
    font-size: 15px;
  }
  .post-content {
    margin-left: 15px;
  }

  .post-list-compact .post-content {
    margin-left: 1px;
  }

  .content .pad {
    padding-top: 10px !important;
  }
  #nav-header.nav-container {
    background: rgb(28, 51, 5);
    background: #222;
  }
  .site_logo_pc {
    display: none !important;
  }
  .site_logo_mobile {
    display: block !important;
  }
  #ad_mobile_top {
    background-color: #f4f4f4;
    display: block;
  }
  .post-title {
    font-size: 17px;
  }
  .post-title-3rd {
    font-size: 15px;
  }
  .post-meta {
    font-size: 14px;
    line-height: 1.8em;
    display: none;
  }
  #header .group .pad {
    height: 0;
  }
  .site-title {
    padding: 0 0 !important;
    position: relative;
    top: 5px;
    left: 0;
    float: left;
    width: 170px !important;
    z-index: 99;
  }
  .site-title a img {
    width: 170px;
    margin: 5px 0 0 20px;
  }
  .featured .post-title,
  .single .post-title {
    line-height: 1.3em !important;
  }
  .entry-inner .wp-caption.alignright,
  .entry-inner .wp-caption.alignleft {
    float: none;
    margin: 1em auto 2em;
  }
  .thumb-icon {
    width: 32px;
    height: 32px;
  }
  .thumb-icon i {
    font-size: 18px;
    padding: 7px 0;
  }
  .visible-xs {
    display: block;
  }
  .hidden-xs {
    display: none;
  }
}

@media only screen and (max-width: 840px) {
  #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(1n) {
    clear: none !important;
  }
  .adbox_bottom {
    display: none;
  }
}

@media only screen and (max-width: 801px) {
  .ad-content-bottom-w336 {
    float: none !important;
    margin: 15px auto;
    margin-top: 0;
  }
  .ad-content-bottom-second {
    display: none;
  }
}

/* Mobile */
@media only screen and (max-width: 639px) {
  .site-title {
    max-width: none;
  }
  .entry .entry-photos {
    width: 100%;
    max-width: 100%;
  }
  .entry-photos-issue {
    width: 300px;
    max-width: 300px;
  }
  .entry img.post-eyecatch {
    width: 100%;
  }
  .post-list-standard .entry.excerpt {
    display: none;
  }
  .page_image_area {
    width: 100%;
    float: none;
    margin: 0 auto;
  }
  .pc-ad-box {
    display: none;
  }
  .mobile-ad-box {
    display: block;
  }
  .data-ewent tr > td:nth-child(3) {
    display: none;
  }
}

/* Mobile */
@media only screen and (max-width: 479px) {
  .site-title a img {
    margin-left: 10px;
  }
  .content .pad {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .sidebar-top,
  .sidebar .widget {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #flexslider-featured {
    margin-top: 10px !important;
  }
  #portal-news-btn {
    position: static;
    float: none;
    top: -16px;
    text-align: center;
  }
  #portal-news-btn > a {
    width: 100%;
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
  }
  .featured,
  .featured.flexslider {
    margin-bottom: 0;
  }
  .portal-tile {
    min-height: initial;
    margin-top: 20px !important;
  }
  .post-standard .post-inner {
    padding-left: 122px !important;
  }
  .post-standard .post-thumbnail {
    margin-left: -122px !important;
    max-width: 122px !important;
  }
  .sidebar-content .jetpack-image-container,
  .sidebar-content .execphpwidget,
  .sidebar-content .widget_media_image {
    text-align: center;
  }
  .data-ewent tr > td:nth-child(3),
  .data-ewent tr > td:nth-child(8),
  .data-ewent tr > td:nth-child(9) {
    display: none;
  }
}

/* iPhone5 */
@media only screen and (max-width: 356px) {
  .ad-content-bottom-w336 {
    display: none;
  }
  .ad-content-bottom-w300 {
    display: block;
    float: none !important;
  }
  .ad-content-bottom-second {
    display: none !important;
  }
}

@media only screen and (min-width: 357px) and (max-width: 479px) {
  .widgets-list-layout-links {
    width: 75% !important;
  }
  .widgets-list-layout-links a {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* Print */
@media print {
  #wrapper {
    width: 1000px;
  }
  .site_logo_mobile,
  #header-ads {
    display: none !important;
  }

  .nav > li {
    font-size: 16px;
    border-right: 1px solid #999;
    display: inline-block;
    position: relative;
  }
  #nav-header .nav > li {
    border-right: none;
  }

  .nav > li > a {
    padding: 15px 14px;
  }
  .nav li a {
    color: #ccc;
    display: block;
    line-height: 20px;
    line-height: 1.2em;
  }
  .sidebar {
    display: none !important;
  }

  .col-2cl .main-inner {
    background: none;
    padding-right: 0;
  }
  .s1 {
    width: 50px;
  }
  .col-2cl .s1 {
    margin-right: -50px;
  }

  #nav-footer .nav {
    text-align: center;
  }
  #nav-footer .nav > li:first-child {
    border-left: 0;
  }
  #nav-footer .nav > li {
    border-right: 0;
  }
}

a.tmp {
  transition: all 0.3s;
}
a.tmp:hover {
  color: #ccc !important;
  background-color: #2ecc71 !important;
}

#followBanner {
  display: none;
  position: relative;
  width: 180px;
  height: 216px;
  margin-right: 10px;
}

@media only screen and (min-width: 1370px) {
  #followBanner {
    display: block !important;
  }
}

.portal-tile h2.day {
  background-color: #111;
  color: #fff;
  padding: 3px 4px 1px;
}

/* tabs */
.tabs li {
  color: #7ebc32;
  padding: 4px 8px 4px;
  float: left;
  font-weight: bold;
  cursor: pointer;
}
.tabs li.active {
  background-color: #7ebc32;
  color: #fff;
}

/* Google Map */
.ggmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 投票 */
.widget_polls-widget li {
  line-height: 1.75;
}

/* ラベル */
.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.label-default {
  background-color: #777;
}
.label-primary {
  background-color: #337ab7;
}
.label-success {
  background-color: #5cb85c;
}
.label-info {
  background-color: #5bc0de;
}
.label-warning {
  background-color: #f0ad4e;
}
.label-danger {
  background-color: #d9534f;
}

/* 特設ページ 誘導バナー */
.live-banner {
  font-size: 15px;
  margin: 3px 6px 3px 0;
  padding: 7px 14px;
  color: #fff;
  float: left;
  /*  box-shadow:0 5px 5px -5px #000 !important;
    -webkit-box-shadow:0 5px 5px -5px #000 !important;
    -moz-box-shadow:0 5px 5px -5px #000 !important;
*/
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  width: 48%;
  box-sizing: border-box;
}

@media only screen and (max-width: 719px) {
    .live-banner { 
      width: 100%;
      margin-bottom: 6px;
      float: none !important;
    }
}

.live-banner-wrc {
  /*background-color: #4286f4;*/
  background-color: #FC4C02;
}
.live-banner-jrc {
  background-color: #ed0043;
}
.live-banner-line {
/*  background-color: #1dcd00;*/
  background-color: #06C755;
}

.content-top-banner-area {
  margin-bottom: 10px;
}

.wp-caption + br {
  display: none;
}

.entry .wp-caption img {
  width: 98.6%;
}

body.page article div.entry.excerpt {
  margin-bottom: 24px;
}

.portal-tile .tab-content .tab-pane {
  display: none;
}

/* Google Auto Ad */
.google-auto-placed.ap_container {
  margin: 1.5em 0;
}
.post-tags .google-auto-placed,
.portal-tile .google-auto-placed,
.post-inner.post-hover .google-auto-placed {
  display: none;
}









/* 関連記事 */
.related-posts {
    margin-top: 40px;
    padding: 20px 0;
    clear: both;
    border-bottom: none;
}

.related-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 12px; /* 記事間の余白 */
}

.related-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.related-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* 横長に統一 */
    object-fit: cover;
    border-radius: 4px; /* 角丸 */
}

.related-date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin: 8px 0 4px;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

/* スマホ対応：1列にする場合 */
@media (max-width: 479px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}