@charset 'utf-8';

@import url(kch_elm_header.css);
@import url(kch_elm_footer.css);
@import url(kch_elm_information.css);

/******************************..
*   
*   レスポンシブ対応クラス
*   
******************************/
/* デバイス依存汎用クラス */
.pc-only {
  display: block;
}

@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  /* PCのみtext-align */
  .pc-align-left {
    text-align: left;
  }
  .pc-align-center {
    text-align: center;
  }
  /* PCのみfont-size */
  .pc-font-size-90p {
    font-size: 0.9em;
  }
  .pc-font-size-80p {
    font-size: 0.8em;
  }
  .pc-font-size-70p {
    font-size: 0.7em;
  }
  .pc-font-size-60p {
    font-size: 0.6em;
  }
  .pc-font-size-50p {
    font-size: 0.5em;
  }
}
@media screen and (max-width: 768px) {
  /* SPのみtext-align */
  .sp-align-left {
    text-align: left;
  }
  .sp-align-center {
    text-align: center;
  }
  /* SPのみfont-size */
  .sp-font-size-90p {
    font-size: 0.9em;
  }
  .sp-font-size-80p {
    font-size: 0.8em;
  }
  .sp-font-size-70p {
    font-size: 0.7em;
  }
  .sp-font-size-60p {
    font-size: 0.6em;
  }
  .sp-font-size-50p {
    font-size: 0.5em;
  }
}
@media screen and (max-width: 768px) {
  /* SPのみ画像縮小 */
  .sp-img-90p img {
    width: 90%;
  }

  .sp-img-80p img {
    width: 80%;
  }

  .sp-img-70p img {
    width: 70%;
  }
}

/* 画像サイズ */
@media screen and (min-width: 768px) {
  /* PC */
  .pc-photo-size-90p img {
    max-width: 90% !important;
  }
  .pc-photo-size-80p img {
    max-width: 80% !important;
  }
  .pc-photo-size-70p img {
    max-width: 70% !important;
  }
  .pc-photo-size-60p img {
    max-width: 60% !important;
  }
  .pc-photo-size-50p img {
    max-width: 50% !important;
  }
}
@media screen and (max-width: 767px) {
  /* SP */
  .sp-photo-size-90p img {
    max-width: 90% !important;
  }
  .sp-photo-size-80p img {
    max-width: 80% !important;
  }
  .sp-photo-size-70p img {
    max-width: 70% !important;
  }
  .sp-photo-size-60p img {
    max-width: 60% !important;
  }
  .sp-photo-size-50p img {
    max-width: 50% !important;
  }
}

/******************************
*   
*   エレメントスタイル
*   ブログ記事一覧
*   
*   /Blog/default/posts.php
*   
******************************/
.post-list {
  /* ul */
  margin-top: 0;
  margin-bottom: 50px;
}
.post-list li {
  margin-bottom: 0;
  padding: 1em 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
}
.post-list li::before,
.post-list li::after {
  display: none;
}

/* 投稿日付*/
.post-list li .post-list__date {
  width: auto;
  font-weight: 500;
  font-size: 0.8em;
  flex-shrink: 0;
  flex-grow: 0;
  margin-right: 20px;
}

/* 投稿タイトル */
.post-list li .post-list__title {
  display: block;
  flex-wrap: wrap;
}

/* 投稿カテゴリ */
.post-list li .post-list__category {
  margin-right: 20px;
  width: 120px;
  font-weight: 500;
  font-size: 0.8em;
  flex-shrink: 0;
  flex-grow: 0;
  background-color: #00a6bf;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.post-list li .post-list__category a {
  width: 100%;
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  /* SP */
  .bge-contents .post-list li {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    line-height: 1.5;
    padding: 1rem 0;
  }
  .bge-contents .post-list li .post-list__date {
    flex-basis: 40%;
    display: block;
    font-size: 1em;
  }
  .bge-contents .post-list li .post-list__category {
    margin-right: 0;
    flex-basis: 35%;
    font-size: 1em;
  }
  .bge-contents .post-list li .post-list__title {
    display: block;
    width: 100%;
  }
  .bge-contents .post-list li .post-list__title a {
    font-size: 1em;
    text-decoration: none;
  }
  #ContentsWrap {
    flex-wrap: wrap;
  }
  #Home #ContentsWrap .sideMenu {
    width: 100%;
    order: 2;
    padding-bottom: 0;
  }
  #Home footer {
    padding-top: 0;
  }
  .snsLink {
    order: 3;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
}

/****************************************************
*
*     ブログ記事ページ
*   
*   /Blog/default/single.php
*   /Blog/attention/single.php
*
****************************************************/
/* 記事詳細（article） */
.bge-contents .post {
  margin-bottom: 1.5em;
}
.bge-contents h3 + .post {
  margin-top: 2em;
}

/* 記事情報 */
.post .meta {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.post .meta .post_meta_cat a {
  color: white;
  text-decoration: none;
  text-align: center;
  font-size: 0.875rem;
  padding: 3px 20px;
  background-color: #00a6bf;
}

.post .meta .post_meta_date {
  color: #00a6bf;
}
@media screen and (max-width: 767px) {
  /* SP */
  .post .meta {
    margin-top: 10px;
  }
}

/* 知らせサイドメニュー */
.sideMenu.blogList .widget {
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #fff;
}

.blogListYear {
  margin-bottom: 40px;
}

/* お知らせ詳細 */
#News .bge-contents h2:first-child,
#Attention .bge-contents h2:first-child {
  margin-bottom: 1rem;
}

#News .post.single,
#Attention .post.single {
  border-bottom: none;
}
