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

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

/*全体のカスタムCSS記載*/
html {
  scroll-behavior: smooth;
}

.sub_p {
  border-bottom: 1px solid #88abda;
  padding: 0.5em 0;
  font-size: 1.2em;
  line-height: 1.5;
  color: #88abda;
  font-weight: 600;
}

/*ヘッダーのカスタムCSS記載*/
.header-in {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/*ヘッダーロゴのカスタムCSS記述*/
.logo-image {
  padding: 0;
  margin: 0 auto 0 0;
}
.logo-header img {
  width: 220px;
  height: auto;
}

/*フッターのカスタムCSS記述*/
.footer {
  padding: 8px 8px 45px 8px;
}

/*プロフィールのカスタムCSS記述*/

.nwa .author-box {
  background-color: #fbfaf6;
  box-shadow: 0 2px 6px 0 rgba(170, 170, 170, 0.15);
  border-radius: 8px;
}

.nwa .author-box p {
  font-size: 13px;
}

/*おすすめカードのカスタムCSS記述*/

/*角の丸み*/
.widget-entry-cards.card-large-image figure img {
  border-radius: 10px;
}

/*カーソルでhover*/
.navi-entry-card-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/*おすすめカードのカスタムCSS記述終わり*/

/*テキストカスタムCSS記述*/
.cocoon-custom-text-1 {
  color: #f27708;
}

.cocoon-custom-text-2 {
  color: #f27708;
  font-weight: 700;
}

.box5 {
  padding: 25px 27px;
  margin: 3em 0 !important;
  max-width: 100%;
}

.list-box-1 {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* タイトルカスタムに効かせるcss記述*/

.article h1 {
  font-size: 29px;
}

.article h3 {
  border-left: 5px solid #88abda;
  border-top: none;
  border-right: none;
  border-bottom: 2px dotted #88abda;
  padding: 9px 10px;
}

.article h4 {
  border: none;
  border-bottom: 2px dotted #88abda;
  padding: 0.5em 0;
}

/* カテゴリーアーカイブに効かせる記述*/
body.archive .content-in {
  display: block;
}

body.archive .main {
  width: 100%;
}

body.archive .archive__block {
  background-color: #ecf1f9;
  border: 1px solid;
  border-color: #88abda;
  border-radius: 8px;
  margin-bottom: 40px;
}

body.archive .archive__inner {
  padding: 27px 30px 33px;
}

body.archive .archive__ttl {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  margin-left: 30px;
  position: relative;
}

body.archive .archive__ttl::before {
  content: "";
  display: block;
  position: absolute;
  top: 29px;
  left: -32px;
  width: 12px;
  height: 12px;
  background-color: #44566d;
}

body.archive .archive__ttl__box {
  margin-bottom: 100px;
}

body.archive .archive__text__box {
  display: flex;
  justify-content: start;
  gap: 0 5%;
}

body.archive .archive__profile__box {
  width: 10%;
  border-radius: 999px;
}

body.archive .archive__text {
  width: 85%;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 400;
  background-color: #ecf1f9;
  padding: 15px;
  position: relative;
}

body.archive .text__color {
  color: #f27708;
  font-weight: 700;
}

body.archive .archive__text::before {
  content: "";
  display: block;
  position: absolute;
  top: 16px;
  left: -34px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-right: 35px solid #ecf1f9;
  border-bottom: 15px solid transparent;
}

body.archive .archive__second__ttl {
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 6px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(68, 86, 109, 1);
}

body.archive .archive__list {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 60px 2%;
}

body.archive .archive__list li {
  list-style: none;
}

body.archive .archive__item__box {
  list-style: none;
  width: 32%;
}

body.archive .archive__item img {
  width: 100%;
  margin-bottom: 12px;
}

body.archive .archive__item {
  text-decoration: none;
}

body.archive .post__text {
  font-size: 20px;
  font-weight: 700;
  color: #44566d;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

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

/* サイバー削除、投稿をフルワイド化 */

@media screen and (min-width: 834px) {
  /* スラッグが page-profile の固定ページ専用のスタイル */
  body.page.page-id-2 #sidebar {
    display: none !important;
  }

  body.page.page-id-2 #content-in.wrap {
    display: block !important;
  }

  body.page.page-id-2 main#main {
    width: 100% !important;
    max-width: none !important;
  }

  /* 「archive」カテゴリ一覧のサイバー削除、投稿をフルワイド化 */
  body.archive .sidebar {
    display: none !important;
  }
  body.archive .content-outer,
  body.archive .content-inner {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 834px 以下では再度表示 */
@media screen and (max-width: 834px) {
  /* ハンバーガー開閉で body に付く .sidebar-open クラスがあるときだけ表示 */
  body.sidebar-open .sidebar {
    display: block !important;
  }
}

/* 「archive」カテゴリ一覧のサイバー削除、投稿をフルワイド化記述終わり */

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

  /*フッターのカスタムCSS記述*/
  .footer {
    padding: 8px 8px 45px 8px;
  }

  .footer-bottom-logo img {
    width: 140px;
    height: auto;
  }

  /* フッターロゴを左寄せに */
  .footer-bottom.fdt-logo.fnm-text-width {
    /* 中央揃えになっている場合はリセット */
    text-align: left !important;
  }

  /* ロゴ自体にも float が効いている可能性があるのでクリア */
  .footer-bottom-logo {
    float: left !important;
    margin: 0 0 20px 0;
    padding: 0;
  }

  /* float 解除のため clearfix を無効化したいなら */
  .footer-bottom-logo + .footer-bottom-content {
    clear: left;
  }

  /*おすすめカードのカスタムCSS記述*/

  .recommended {
    margin: 0 0 10px;
  }

  /*ヘッダーのカスタムCSS記載*/
  .header-in {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }

  /*ヘッダーロゴのカスタムCSS記述*/
  .logo-header img {
    width: 140px;
    height: auto;
  }

  /* カテゴリーアーカイブに効かせる記述*/

  body.archive .main,
  div.sidebar {
    padding: 0 16px;
    margin: 0 0 12px;
    border-width: 0;
  }

  body.archive .content {
    margin-top: 0;
  }

  body.archive .archive__list {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 30px 4%;
  }

  body.archive .archive__item__box {
    list-style: none;
    width: 48%;
  }

  body.archive .archive__block {
    background-color: #ecf1f9;
    border: 1px solid;
    border-color: #88abda;
    border-radius: 8px;
    margin-bottom: 30px;
  }

  body.archive .archive__inner {
    padding: 10px 12px;
  }

  body.archive .archive__ttl {
    font-size: 22px;
    margin-bottom: 25px;
    margin-left: 20px;
  }

  body.archive .archive__ttl::before {
    top: 16px;
    left: -18px;
    width: 8px;
    height: 8px;
  }

  body.archive .archive__ttl__box {
    margin-bottom: 40px;
  }

  body.archive .archive__text__box {
    display: flex;
    justify-content: fast;
    gap: 0 5%;
  }

  body.archive .archive__profile__box {
    width: 15%;
    border-radius: 999px;
  }

  body.archive .archive__text {
    width: 80%;
    font-size: 14px;
    padding: 8px;
  }

  body.archive .archive__text::before {
    content: "";
    display: block;
    position: absolute;
    top: 12px;
    left: -14px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-right: 17px solid #ecf1f9;
    border-bottom: 9px solid transparent;
  }

  body.archive .archive__second__ttl {
    font-size: 20px;
    padding-bottom: 6px;
    margin-bottom: 20px;
  }

  body.archive .archive__list {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 60px 2%;
  }

  body.archive .archive__list li {
    list-style: none;
  }

  body.archive .archive__item__box {
    list-style: none;
    width: 32%;
  }

  body.archive .archive__item img {
    width: 100%;
    margin-bottom: 12px;
  }

  body.archive .archive__item {
    text-decoration: none;
  }

  body.archive .post__text {
    font-size: 20px;
    font-weight: 700;
    color: #44566d;
  }
}

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

/* .profile__link {
  width: 100%;
}

.profile__link__box {
  width: 100%;
  border: solid 1px #333;
  box-shadow: 0 3px 0 #fff;
  border-radius: 1px;
}
.profile__link__box a {
  width: 100%;
  color: #44566d;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  margin-right: auto;
  margin-left: auto;
  font-weight: bold;
  box-sizing: border-box;
} */
