@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

/* スマホ用グローバルメニュー */
@media screen and (max-width: 834px) {
  #navi .navi-in > .menu-mobile {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #e5ddd5;
    margin: 12px 0;
    padding: 1px;
  }

  #navi .navi-in > .menu-mobile > li {
    width: 100%;
    height: auto;
    min-width: 0;
    background: #f7f4ef;
  }

  #navi .navi-in > .menu-mobile > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    height: auto;
    padding: 8px 2px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
    color: #685448;
    text-align: center;
    box-sizing: border-box;
  }
}
/* ピックアップカード修正版 */
.recommended .navi-entry-card-link {
  background: #685748 !important;
  border-radius: 6px !important;
  overflow: hidden;
  padding: 0 !important;
}

.recommended .navi-entry-card {
  position: relative !important;
  background: #685748 !important;
  height: 100px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.recommended .card-thumb,
.recommended .navi-entry-card img {
  display: none !important;
}

.recommended .card-content {
  position: absolute !important;
  inset: 0 !important;
  transform: none !important;
  background: #685748 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
}

.recommended .card-content .card-title {
  display: block !important;
  color: #ffffff !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: normal !important;
  text-align: center;
  text-shadow: none !important;
  max-height: none !important;
  opacity: 1 !important;
}

.recommended .card-title::before {
  display: block;
  font-family: "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-size: 24px;
  color: #e8dccd;
  margin-bottom: 8px;
  content: "\f02d";
}

.recommended a:nth-child(2) .card-title::before {
  content: "\f0f4";
}

.recommended a:nth-child(3) .card-title::before {
  content: "\f040";
}

.recommended a:nth-child(4) .card-title::before {
  content: "\f02e";
}
/* スマホ上部のMENUボタンを非表示 */
@media screen and (max-width: 834px) {
  .slicknav_menu {
    display: none !important;
  }
}
/* スマホの記事一覧の余白調整 */
@media screen and (max-width: 834px) {
  #list .entry-card-wrap {
    margin-bottom: 12px !important;
    padding: 10px 8px !important;
  }

  #list .entry-card-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 6px;
  }

  #list .entry-card-snippet {
    font-size: 12px;
    line-height: 1.6;
  }

  .home #content {
    margin-top: 15px !important;
  }
}
/* トップページの余白調整 */
@media screen and (max-width: 834px) {
  .home .recommended-in {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .home .recommended .navi-entry-cards {
    margin-bottom: 0 !important;
  }

  .home #main {
    padding-top: 10px !important;
    margin-top: 0 !important;
  }
}
/* お問い合わせページ専用デザイン */
.page-id-71 .sns-share,
.page-id-71 .sns-follow,
.page-id-71 .date-tags {
  display: none !important;
}

.page-id-71 .wpcf7 input[type="submit"] {
  background-color: #685748 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px;
  font-size: 16px;
}