@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){
  /*必要ならばここにコードを書く*/
}

/************************************
** 貯金ノート: simple readable article design
************************************/
body {
  background: #f8f7f3;
  color: #333333;
  letter-spacing: 0;
}

.header-container,
.navi,
.footer {
  background: #ffffff;
}

#header {
  padding-top: 28px;
  padding-bottom: 26px;
}

.site-name-text {
  font-size: 30px;
  letter-spacing: 0;
  font-weight: 600;
}

.tagline {
  color: #6f766f;
  font-size: 14px;
  letter-spacing: 0;
}

.single .content-in {
  justify-content: center;
}

.single .main {
  width: min(100%, 840px);
  margin: 0 auto;
}

.single .sidebar {
  display: none !important;
}

.article {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(40, 45, 40, 0.05);
  padding: 44px 48px;
}

.entry-title {
  font-size: 25px;
  line-height: 1.55;
  letter-spacing: 0;
  margin-bottom: 16px;
  color: #2f332f;
}

.date-tags {
  color: #8a8f86;
  font-size: 13px;
  margin-bottom: 18px;
}

.sns-share,
.sns-follow {
  display: none !important;
}

.article-hero {
  margin: 24px 0 34px;
}

.article-hero img,
.eye-catch img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(45, 50, 45, 0.08);
}

.article p {
  line-height: 2.05;
  margin: 1.05em 0;
}

.article h2 {
  background: #f3efe5;
  border-left: 0;
  border-radius: 8px;
  color: #2f332f;
  font-size: 24px;
  line-height: 1.55;
  margin-top: 48px;
  margin-bottom: 22px;
  padding: 15px 18px;
}

.article h3 {
  border-left: 4px solid #9caf8e;
  color: #2f332f;
  font-size: 20px;
  padding-left: 12px;
}

.article ul,
.article ol {
  background: #fbfaf6;
  border: 1px solid #ede6d8;
  border-radius: 8px;
  margin: 1.2em 0;
  padding: 18px 26px 18px 2.1em;
}

.article li {
  margin: .45em 0;
  line-height: 1.85;
}

.toc {
  background: #fffdf8;
  border: 1px solid #eadfcd;
  border-radius: 10px;
  box-shadow: none;
  margin: 34px auto;
  padding: 20px 24px 20px 28px;
}

.toc-list {
  padding-left: 1.45em;
}

.toc-list li {
  padding-left: .15em;
  line-height: 1.75;
  margin: .35em 0;
}

.toc-title {
  color: #4b5049;
  font-weight: 700;
}

.a-wrap,
.blogcard {
  border-radius: 8px;
}

@media screen and (max-width: 834px) {
  body {
    background: #ffffff;
  }

  #header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .site-name-text {
    font-size: 25px;
  }

  .article {
    border-radius: 0;
    box-shadow: none;
    padding: 28px 18px;
  }

  .entry-title {
    font-size: 20px;
    line-height: 1.55;
  }

  .article h2 {
    font-size: 21px;
    margin-top: 40px;
  }

  .article p {
    line-height: 2;
  }

  /* 目次のスマホ余白調整 */
  .toc {
    padding: 18px 18px 18px 22px;
  }

  .toc-list {
    padding-left: 1.35em;
  }
}
/* アイキャッチ自動表示は広告表記より上に出るため、記事内画像だけ使う */
.single .eye-catch {
  display: none !important;
}

/************************************
** 貯金ノート: header logo
************************************/
.logo-header.logo-text .site-name-text {
  display: inline-block;
  width: 270px;
  height: 72px;
  background-image: url("https://chokin-note.com/wp-content/uploads/2026/06/chokin_note_logo_v2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  vertical-align: middle;
}

.logo-header.logo-text .site-name-text-link {
  display: inline-block;
}

@media screen and (max-width: 834px) {
  .logo-header.logo-text .site-name-text {
    width: 225px;
    height: 60px;
  }
}
