/*
Theme Name:cbfm-wp
Theme URI:https://cbfm.tottori.jp/
Description:鳥取大学地域医療学講座用カスタマイズ「Parallaxsome Pro」
Template:parallaxsome-pro
Author:S.Yabunaka[strCode]
Author URI:https://www.strcode.biz/
Version:1.0.0
*/

/* Added 2020.1.28 S.Yabunaka[strcode] begin */
/* common */
/* header */
/* ヘッダ初期位置固定 */
.ps-whole-header {
  position: static;
}
.ps-header-wrapper {
  padding: 10px 0;
}
/* ヘッダーカラー変更 */
.sticky-wrapper.is-sticky .site-header {
  background: rgba(255,255,255,0.9);
  z-index: 9999;
}
/* ヘッダーイメージフィルターカラー変更 */
.ps-innerpages-header-wrapper::before {
  background: rgba(0,0,0,0);
}
/* site-navigation */
/* グローバルナビ、マージン変更 */
#site-navigation {
  margin: 1.8em 0;
}
@media screen and (max-width: 768px) {
  #site-navigation {
      margin: 0.8em 0 0 20px;
  }
}
/* グローバルナビ要素、カラー・間隔・リンク色・幅変更 */
.main-navigation {
  width: 65%;
}
@media screen and (max-width: 768px) {
  .main-navigation {
      width: auto;
  }
}
.main-navigation ul li {
  margin-left: 15px;
}
.main-navigation ul li a {
  color: #014086;
  font-size: 100%;
}
.main-navigation ul li:last-child a {
  color: #ed6400;
}
/* グローバルナビスマホ、背景色変更 */
/* 重ね順修正 */
@media screen and (max-width: 768px) {
  .nav-wrapper .menu {
      background: rgba(255,255,255,0.9);
	  z-index: 1;
  }
}
/* グローバルナビアイコン、ラインカラー変更 */
.nav-toggle span {
  background-color: #2ca6e0;
}
/* ps-head-search */
/* 検索アイコン、幅、位置調整 */
.ps-head-search {
  width: 8%;
  padding-top: 1.8em;
}
@media screen and (max-width: 768px) {
  .ps-head-search {
      width: 15%;
      padding-top: 0.8em;
  }
}
/* slide背景 */
#rev_slider_2_1_wrapper {
  background: url(images/slide_bg.jpg) !important;
  padding: 5% 0 !important;
}
@media screen and (max-width: 768px) {
  #rev_slider_2_1_wrapper {
      padding: 0 !important;
  }
}
/* footer */
/* フッター、リンク、背景色・文字色・レイアウト変更 */
#colophon.site-footer {
  color: #fff;
}
#colophon .ps-top-footer {
  background: #004da0;
}
@media screen and (max-width: 1060px) {
  #colophon .ps-top-footer .ps-footer-widget {
      width: 60%;
      max-width: 574px;
      margin: 30px auto;
      float: none;
  }
}
@media screen and (max-width: 480px) {
  #colophon .ps-top-footer .ps-footer-widget {
      width: 80%;
      max-width: 80%;
  }
}
#colophon .ps-top-footer .ps-footer-widget a {
  color: #ddd;
  text-decoration: none;
  padding-bottom: 1px;
}
#colophon .ps-top-footer .ps-footer-widget a:hover {
  text-decoration: underline;
}
#colophon .site-info {
  background: #004da0;
}
/* section-slider */
/* スライダー、リンク・フィルター・ナビ非表示 */
/* section-portfolio */
/*
スタッフ紹介
拡大アイコン非表示
リンクアイコン位置調整
カテゴリー非表示
タイトルサイズ調整
*/
#section-portfolio .project-icons a.zoom-icon {
  display: none;
}
#section-portfolio .project-icons a.link-icon {
  margin-left: 0;
}
#section-portfolio .ps-protfolio-wrapper .project-title {
  padding-top: 0;
}
#section-portfolio .ps-protfolio-wrapper .project-title::before {
  display: none;
}
#section-portfolio .project-info-wrap .post-cat-name {
  display: none;
}
/* entry-header */
/* 下層ページヘッダ要素表示位置変更 */
.entry-header h1 {
  box-sizing: border-box;
  color: #004da0;
  text-align: left;
  padding-left: 30px;
}
@media screen and (max-width: 480px) {
  .entry-header h1 {
    font-size: 24px;
    color: #fff;
    background: #004da0;
    border-radius: 4px;
    padding: .25em;
    text-align: center;
    transform: translateY(-240%);
  }
}
.entry-header #crumbs {
  box-sizing: border-box;
  text-align: left;
  padding-left: 30px;
}
@media screen and (max-width: 480px) {
  .entry-header #crumbs {
      padding-left: auto;
  }
}
.ps-innerpages-header-wrapper .entry-header .page-title {
	color: #004da0;
	font-weight: bold;
}
@media screen and (max-width: 480px) {
	.ps-innerpages-header-wrapper .entry-header .page-title {
		color: #fff;
	}
}
/* crumbs */
/* パンくずリスト非表示 */
#crumbs {
  display: none;
}
/* section-item */
/* 非表示 */
#section-item {
  display: none;
}
/* section-cta */
/* 非表示 */
#section-cta {
  display: none;
}
/* section-blog */
/* 非表示 */
#section-blog.ps-home-section {
  display: none;
}
/* 投稿者非表示 */
#section-blog .post-author {
  display: none;
}
/* comments */
/* コメント非表示 */
#comments {
  display: none;
}
/* .entry-meta */
/* 投稿者、コメント非表示 */
.entry-meta > span.post-author {
  display: none;
}
.entry-meta > span.comments-link {
  display: none;
}
/* comment-author-readmore */
/* 投稿者、コメント非表示 */
.comment-author-readmore span.author {
  display: none;
}
.comment-author-readmore span.comment {
  display: none;
}
/* blog-page-wrap */
/* 一覧日付非表示 */
.blog-page-wrap .date-blog {
  display: none;
}
/* type-post */
/* スタッフ紹介文字非表示 */
.type-post .entry-meta {
  display: none;
}
/* section-video */
/* 動画セクションh2サイズ修正 */
#section-video .right-desc {
  font-size: 20px;
  font-weight: normal;
  line-height: 1.8em;
}
/* section-new-about */
/* 概要新規分 */
#section-new-about {
  box-sizing: border-box;
  width: 100%;
  background: rgba(0, 77, 160);
  padding: 60px 30px;
}
#section-new-about .cbfm-new-about-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
#section-new-about .cbfm-new-about-title {
  color: #fff;
  font-size: 2.25rem;
  font-weight: bold;
  font-family: serif;
  text-align: left;
  margin: 0;
  padding: 0;
}
#section-new-about .cbfm-new-about-catch {
  width: 6em;
  color: #fff;
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  border: 1px solid #fff;
  margin: 0;
  padding: 0.25em;
  vertical-align: middle;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  #section-new-about .cbfm-new-about-catch {
      margin: 1em 0;
  }
}
#section-new-about .cbfm-new-about-sub-titles-list {
  color: #fff;
  font-family: serif;
  font-size: 1rem;
  list-style: decimal;
  margin: 0 0 0 2rem;
  padding: 0;
  vertical-align: middle;
  display: inline-block;
}
#section-new-about .cbfm-new-about-sub-titles-item {
  list-style: decimal;
  margin: 0;
  padding: 0 0 0 0.5em;
}
#section-new-about .cbfm-new-about-sub-title {
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  font-family: serif;
  text-align: left;
}
#section-new-about .cbfm-new-about-sub-title-bold {
  font-size: 1.2em;
  font-weight: bold;
  margin-right: 0.5em;
}
/* section-blog */
/* 新着情報 */
#section-blog {
  width: 100%;
  margin: 60px 0;
}
#section-blog #cbfm-topics-wrap {
  width: 60%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #section-blog #cbfm-topics-wrap {
      width: 80%;
  }
}
#section-blog .section-header {
  width: 100%;
}
#section-blog .section-header h2.section-title {
  width: 100%;
  text-align: center;
}
#section-blog .section-header p.section-description {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
#section-blog #cbfm-topics-navi {
  width: 100%;
}
#section-blog #cbfm-topics-navi ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}
#section-blog #cbfm-topics-navi ul li {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 30px;
  color: #fff;
  background: #004da0;
  border: 1px solid #004da0;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#section-blog #cbfm-topics-navi ul li.current {
  color: #004da0;
  background: #fff;
}
/* cbfm-topics */
/* 新着情報 */
.cbfm-topics {
  width: 90%;
  margin: 30px 5%;
  display: none;
}
.cbfm-topics.active {
  display: block;
}
.cbfm-topics .listing-item {
  width: calc(100% - 30px);
  margin-bottom: 15px;
  padding-left: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
}
.cbfm-topics .listing-item::before {
  content: '>';
  position: absolute;
  top: 0;
  left: 0;
}
.cbfm-topics .listing-item .title {
  width: calc(100% - 120px);
  order: 2;
}
@media screen and (max-width: 480px) {
  .cbfm-topics .listing-item .title {
      width: 100%;
  }
}
.cbfm-topics .listing-item .date {
  width: 120px;
  order: 1;
}
/* cbfm-series */
/* 地域と医療のいま */
.cbfm-pickup {
  width: 100%;
}
.cbfm-pickup h3 {
  box-sizing: border-box;
  width: 50%;
  height: 50px;
  font-size: 100%;
  font-weight: bold;
  color: #fff;
  background: #ed6400;
  margin: 0 auto 1em;
  padding: 0 2em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .cbfm-pickup h3 {
      width: 100%;
  }
}
.cbfm-pickup .display-posts-listing {
  width: 50%;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .cbfm-pickup .display-posts-listing {
      width: 100%;
  }
}
.cbfm-pickup .display-posts-listing .listing-item {
  width: 100%;
}
.cbfm-pickup .display-posts-listing .listing-item .image {
  width: 100%;
  height: 100%;
}
.cbfm-pickup .display-posts-listing .listing-item .image img {
  width: 100%;
  min-width: 100%;
  height: 380px;
  min-height: 380px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}
@media screen and (max-width: 480px) {
  .cbfm-pickup .display-posts-listing .listing-item .image img {
      height: 200px;
      min-height: 200px;
  }
}
.cbfm-pickup .display-posts-listing .listing-item .title {
  width: 100%;
  text-decoration: none;
  display: block;
  padding: 0.5em 0 1px;
}
.cbfm-pickup .display-posts-listing .listing-item .title:hover {
  text-decoration: underline;
}
.cbfm-pickup .display-posts-listing .listing-item .date {
  width: 100%;
  padding: 0.5em 0 1px;
  display: block;
}
.cbfm-pickup .display-posts-listing .listing-item .excerpt-dash {
  display: none;
}
.cbfm-pickup .display-posts-listing .listing-item .excerpt {
  width: 100%;
  padding: 0.5em 0 1px;
}
.cbfm-series {
  width: 100%;
}
.cbfm-series .display-posts-listing {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
.cbfm-series .display-posts-listing .listing-item {
  width: 30%;
  margin-right: 5%;
}
@media screen and (max-width: 480px) {
  .cbfm-series .display-posts-listing .listing-item {
      width: 100%;
      margin-right: 0;
      margin-bottom: 30px;
  }
}
.cbfm-series .display-posts-listing .listing-item:nth-child(3n) {
  margin-right: 0;
}
.cbfm-series .display-posts-listing .listing-item .image img {
  width: 100%;
  min-width: 100%;
  height: 200px;
  min-height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}
.cbfm-series .display-posts-listing .listing-item .title {
  width: 100%;
  text-decoration: none;
  padding: 0.5em 0 1px;
  display: block;
}
.cbfm-series .display-posts-listing .listing-item .title:hover {
  text-decoration: underline;
}
.cbfm-series .display-posts-listing .listing-item .date {
  width: 100%;
  padding: 0.5em 0 0;
  display: block;
}
.cbfm-series .display-posts-listing .listing-item .excerpt-dash {
  display: none;
}
.cbfm-series .display-posts-listing .listing-item .excerpt {
  width: 100%;
  padding: 0.5em 0 0;
}
.cbfm-series .display-posts-listing .listing-item .excerpt a {
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  border: 1px solid #535353;
  margin-top: 0.5em;
  padding: 0.25em 0;
  display: block;
  transition: 0.3s;
}
.cbfm-series .display-posts-listing .listing-item .excerpt a:hover {
  opacity: 0.8;
}
/* ボタン作成 */
a.content-list-button {
  width: 430px;
  height: 50px;
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  background: #014086;
  border-radius: 4px;
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
/* a.content-list-button:hover {
  opacity: 0.8;
} */
@media screen and (max-width: 480px) {
  a.content-list-button {
      width: 100%;
  }
}
/* blog-page-wrap
アイキャッチセンター寄せ */
.blog-page-wrap .image-wrap {
  width: 100%;
  text-align: center;
}

/* ボタン設定 */
.cbfm-button {
  width: 300px;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none !important;
  background: rgba(140,193,31,1);
  background: linear-gradient(to bottom, rgba(140,193,31,1) 0%, rgba(119,164,25,1) 100%);
  border: 3px solid #f0f0f0;
  border-radius: 4px;
  box-shadow:1px 1px 6px -2px #000000;
  margin: 0 auto;
  padding: 0.5em 1.25em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s
}
.cbfm-button:hover {
  color: #fff !important;
  text-decoration: none !important;
  opacity: .8;
}
/* Added 2020.1.28 S.Yabunaka[strcode] end */
