@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*余白のグレーを消す*/
body {
  background-color: transparent;
}

.rinen-child {
  font-size: 22px;
}

.kokorozasi {
  font-size: 34px;
}

/*ボタン中央揃え*/
.botan {
  display: flex;
  justify-content: center;
}

/*固定ページ投稿日非表示*/
.post-18 .date-tags,
.post-423 .date-tags,
.post-11 .date-tags,
.post-341 .date-tags,
.post-13 .date-tags,
.post-16 .date-tags,
.post-319 .date-tags {
  display: none;
}

/*モバイルメニューの配色*/
.mobile-menu-buttons {
  background: #ECF0FB;
  color: #006630;
}

.mobile-menu-buttons .menu-button>a {
  color: #006630;
}

.navi-menu-content {
  background: #ECF0FB;
}

.menu-drawer a {
  color: #006630;
  box-shadow: 0px 1px 1px 0px #c8d5fa;
}

/*入力確認ボタン*/
.wpcf7-submit {
  background-color: #ECF0FB !important;
  /*背景色*/
}

/*ページネーション*/
.pagination-next {
  margin-top: 0;
}

.pagination-prev-link.key-btn,
.pagination-next-link.key-btn {
  font-size: 1em;
  width: 200px;
  text-align: center;
}

@media screen and (max-width: 480px) {

  .pagination-prev-link.key-btn,
  .pagination-next-link.key-btn {
    width:120px;
  }
}

.page-prev-next:hover {
  background-color: #ECF0FB !important;
}

.page-numbers:hover {
  background-color: #ECF0FB !important;
}

.wpcf7-submit:hover {
  color: #fff;
  /*フォントカラー*/
  background-color: #006630 !important;
  /*背景色*/
  transition: all 0.5s ease;
  /*アニメーション*/
}

/*記事一覧ホバー時の色*/
.a-wrap:hover {
  background-color: #ECF0FB;
}

/*記事一覧次のページの色*/
.pagination a {
  background-color: #ECF0FB;
}

.pagination a:hover {
  color: #fff;
  /*フォントカラー*/
  background-color: #006630 !important;
  /*背景色*/
}

.pagination-next-link,
.pagination-prev-link {
  background-color: #ECF0FB;
  /*背景色*/
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.pagination-next-link:hover,
.pagination-prev-link:hover {
  color: #fff;
  /*フォントカラー*/
  background-color: #006630 !important;
  /*背景色*/
}

/* ページネーション全体のレイアウト */
.pagination-wrapper.cumstom_pagination {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

/* 前へ・次へボタンのラッパー（横並び） */
.pagination-prev-next-wrapper.cumstom_pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* ボタンが1つだけの場合は中央揃え */
.pagination-prev-next-wrapper.cumstom_pagination.single-button {
  justify-content: center;
}

/* 前へ・次へボタンのスタイル */
.pagination-prev.cumstom_pagination,
.pagination-next.cumstom_pagination {
  flex: 0 0 auto;
}

/* ページ番号（前へ・次への下に配置） */
.pagination.cumstom_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* arrowボタン（< >）を非表示 */
.pagination.cumstom_pagination .prev,
.pagination.cumstom_pagination .next {
  display: none !important;
}

/* モバイル版：サイズを調整 */
@media screen and (max-width: 480px) {
  .pagination-prev-next-wrapper.cumstom_pagination {
    gap: 10px;
  }

  .pagination-prev-link,
  .pagination-next-link {
    padding: 8px 15px;
    font-size: 14px;
  }
}

/*コラム、活動報告ボタンをふんわり光らせる*/
.maxbutton-1,
.maxbutton-2:hover {
  transition: all 0.5s ease;
}

/*ボトムシェア・フォローボタンの枠組み*/
.sns-share.ss-bottom .sns-share-buttons {
  justify-content: center;
  /*左寄せ*/
  flex-wrap: wrap;
  /*折り返す*/
}

.sns-share.ss-bottom .sns-buttons a {
  background-color: #f5f5f5;
  color: #191970;
  border: 2px solid #191970;
  font-size: 17px;
}

/*記事のアイキャッチラベルを非表示*/
.cat-label {
  display: none;
}

/*時局講演会動画*/
.douga {
  padding: 0 150px 150px 150px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1200px以下*/
@media screen and (max-width: 1200px) {

  /*必要ならばここにコードを書く*/
  .sns-share.ss-bottom .sns-buttons a {
    font-size: 15px;
  }

  .menu-item .item-label {
    font-size: 12px;

  }
}

/*834px以下*/
@media screen and (max-width: 834px) {

  /*必要ならばここにコードを書く*/
  .is-style-success-box p span {
    font-size: 18px;
  }

  .kokorozasi {
    font-size: 22px;
  }

  .stealth span {
    display: none;
  }

  .sns-share.ss-bottom .sns-buttons a {
    font-size: 13px;
  }

  /*時局講演会動画*/
  .douga {
    padding: 10px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}

/************************************
****　全体のバランス
************************************/
/*本文下の空白を削除*/
.entry-content {
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 1023px) {

  article>.entry-content,
  aritcle>footer.article-footer {
    /*本文左右の空白*/
    padding: 0 20px;
  }
}

@media screen and (max-width: 880px) {
  .page-body {
    font-size: 17px;
  }
}

@media screen and (max-width: 480px) {
  .page-body {
    font-size: 17px;
  }
}

img {
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, .2);
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.body .article {
  /*本文SNSフォロー下の空白*/
  margin-bottom: 0;
}

/*ヘッダーの画像から影を消す*/
.logo-header img {
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
}

.logo-footer img {
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
}

/*固定ページ全タイトルを非表示*/
.page .entry-title {
  display: none;
}

/*フロント固定ページの投稿日を非表示*/
.home.page .post-date {
  display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update {
  display: none;
}

/*アピールエリアモバイル画像変更*/
@media screen and (max-width: 769px) {
  .appeal {
    background-image: url(http://backup.snmaeshima.com/wp-content/uploads/2023/09/モバイルタイトルロゴ.png);
    height: 410px;
  }
}

/*アピールエリアPC画像変更*/
@media screen and (min-width:769px) {
  #appeal {
    height: calc(100vw * 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .appeal-in {
    min-height: auto;
    padding: 0;
    margin: 0;
  }

  .appeal-content {
    padding: 0;
  }

  /*モバイルだけ改行*/
  .kokorozasi br {
    display: none;
  }
}

/*h5見出しデザイン*/
.article h5 {
  font-size: 22px;
  padding-left: 0;
  border-bottom: solid 3px #006630;
  position: relative;
}

.button1 {
  display: block;
  text-align: center;
}

/*h1見出しデザイン*/
.article h1 {
  font-size: 36px;
  /*文字のサイズ*/
  border-bottom: 2px solid #006630;
  /*下線*/
  color: #006630;
  padding-bottom: 1.5em;
  margin-bottom: 15px;
  border-top: none;
}

@media screen and (max-width: 769px) {
  .article h1 {
    font-size: 22px;
  }

}

/*ショートコードでエントリーカードのような表示に*/
.like-entry-cards .new-entry-card-link.widget-entry-card-link.a-wrap {
  padding: 1.5%;
  max-width: none;
  margin-bottom: 3%;
  border: 1px solid #ccc;
}

.like-entry-cards .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
  width: 320px;
  float: left;
  margin-right: 1.6%;
}

.like-entry-cards .new-entry-card-content.widget-entry-card-content.card-content {
  margin-left: 330px;
  padding-bottom: 1.2em;
}

.like-entry-cards .new-entry-card-title.widget-entry-card-title.card-title {
  font-size: 18px;
  margin: 0 0 5px 0;
  line-height: 1.2;
  font-weight: bold;
}

.like-entry-cards .new-entry-card-snippet.widget-entry-card-snippet.card-snippet {
  font-size: 0.8em;
  max-height: 7.8em;
  line-height: 1.3;
  overflow: hidden;
}

.like-entry-cards .new-entry-card-date.widget-entry-card-date.display-none {
  bottom: 0;
  position: absolute;
  right: 0;
  text-align: right;
  line-height: 1;
  display: block;
  font-size: 0.7em;
}

.gyougae {
  display: block;
  margin-left: 2em;
  text-indent: -3em;
}

.sp_disp {
  display: none;
}

@media screen and (max-width:1280px) {

  .like-entry-cards .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    width: 38%;
  }

  .like-entry-cards .new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 40%;
  }

}

@media screen and (max-width: 480px) {

  .like-entry-cards .new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 0;
  }

  .like-entry-cards .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    margin-bottom: 6px;
  }

  .like-entry-cards .new-entry-card-title.widget-entry-card-title.card-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .like-entry-cards .new-entry-card-snippet.widget-entry-card-snippet.card-snippet {
    margin-bottom: 0;
    clear: both;
    font-size: 13px;
    /*display: none;スニペットを非表示にする場合に使用*/
  }


}

/************************************
** ショートコードカテゴリ一覧
************************************/
.custom-entry-card-wrap.a-wrap {
  text-decoration: none;
  display: block;
  color: #333;
  padding: 1.5%;
  margin-bottom: 3%;
  transition: all 0.3s ease-in-out;
  border: 1px solid #ccc;
}

.custom-entry-card-wrap h2 {
  color: #333;
  font-size: 18px;
  margin: 0 0 5px 0;
  padding: 0;
  line-height: 1.6;
  font-weight: bold;
  background: none;
}

.custom-entry-card-wrap .entry-card-content {
  margin-left: 216px;
}

.custom-entry-card-wrap .entry-card-thumb {
  width: 216px;
}

.custom-entry-card-wrap .card-thumb img {
  display: block;
  width: 216px;
  height: 14vw;
  max-height: 140px;
  object-fit: cover;
}

.pagination.cumstom_pagination .border-partition a,
.pagination-next.cumstom_pagination .border-partition a,
.pagination-next.cumstom_pagination .border-partition a:first-of-type {
  border-top: solid;
  border-left: solid;
  border-right: solid;
  border-bottom: solid;
}

@media screen and (max-width: 480px) {
  .custom-entry-card-wrap h2 {
    font-size: 16px;
    line-height: 1.3;
  }

  .custom-entry-card-wrap .entry-card-content {
    margin-left: 38%;
  }

  .custom-entry-card-wrap .entry-card-thumb {
    width: 38%;
  }

  .custom-entry-card-wrap .card-thumb img {
    width: 100%;
    height: 18vw;
    max-height: 180px;
  }
}

.post-date {}