@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.4-challog14
*/

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

/************************************
** ちゃるログ 共通
************************************/
:root {
  --challog-title: #E88C72;
  --challog-header-under: #FFBD72;
  --challog-paper: #FFFFFF;
  --challog-background: #EAEDF2;
  --challog-soft: #FFFBF4;
  --challog-text: #33302E;
  --challog-muted: #6B6662;
  --challog-font: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Noto Sans JP", Meiryo, sans-serif;
  --cocoon-default-font: var(--challog-font);
  --cocoon-text-color: var(--challog-text);
}

body.body,
.body button,
.body input,
.body select,
.body textarea {
  font-family: var(--challog-font);
}

body.body {
  background-color: var(--challog-background);
  color: var(--challog-text);
}

.body a {
  color: inherit;
}

/* SNSボタンの文字とアイコンは白にする */
.body .sns-buttons a,
.body .sns-buttons a span {
  color: #FFFFFF;
}

/* シェアボタンは丸いアイコンのみにする */
.body .sns-share .sns-share-buttons {
  flex-wrap: nowrap;
  gap: 10px !important;
}

.body .sns-share .sns-share-buttons a.sns-button {
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
}

.body .sns-share .sns-share-buttons .button-caption,
.body .sns-share .sns-share-buttons .share-count,
.body .sns-share .sns-share-buttons .pinterest-button {
  display: none !important;
}

.body .sns-share .sns-share-buttons .social-icon {
  width: auto;
  margin: 0;
}

.body .sns-share .sns-share-buttons a.line-button .social-icon {
  font-size: 26px;
}

.body .sns-share-buttons a.x-corp-button {
  background-color: #444444;
}

.body .sns-share-buttons a.facebook-button {
  background-color: #4C78B0;
}

.body .sns-share-buttons a.hatebu-button {
  background-color: #3598D1;
}

.body .sns-share-buttons a.line-button {
  background-color: #57B56E;
}

.body .sns-share-buttons a.copy-button {
  background-color: #F0F0F0;
}

.body .sns-share-buttons a.copy-button,
.body .sns-share-buttons a.copy-button span {
  color: #777777;
}

/* 記事下の投稿者名を出さない */
.body .footer-meta {
  display: none;
}

/* パンくずリスト */
.body .breadcrumb {
  margin: 0 0 28px;
  padding: 0;
  background: none;
  color: var(--challog-muted);
  font-size: 12px;
}

.body .breadcrumb a {
  color: var(--challog-muted);
}

/* 運営者情報とプライバシーポリシーの上部シェアボタンを出さない */
.page-id-7 .article-header .sns-share,
.page-id-7 .sns-share.ss-top,
.privacy-policy .article-header .sns-share,
.privacy-policy .sns-share.ss-top {
  display: none;
}

/************************************
** ヘッダー
************************************/
.body .header-container,
.body .header {
  background-color: var(--challog-paper);
}

.body .header-container-in {
  box-shadow: none;
}

.body .header .header-in {
  width: auto;
  min-height: 96px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.body .logo {
  padding: 0;
  margin: 0;
}

.body .site-name-text-link {
  padding: 0;
  color: var(--challog-title);
}

.body .site-name-text {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--challog-title);
}

.body .tagline {
  display: none;
}

.body .header .header-in {
  min-height: 0;
  padding: 16px 20px 0;
  box-sizing: border-box;
}

.body .logo-image {
  width: 100%;
  padding: 0;
}

.body .logo-image .site-name-text-link,
.body .logo-image .site-name-text {
  display: block;
  padding: 0;
}

.challog-header-picture,
.challog-header-image {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}

/************************************
** ヘッダー下のメニュー
************************************/
.body #navi {
  background-color: var(--challog-header-under);
}

.body #navi .navi-in {
  width: auto;
}

.body #navi .navi-in > ul {
  gap: 0 56px;
}

.body #navi .navi-in > ul > li {
  width: auto;
  height: 48px;
}

.body #navi .navi-in > ul > li > a {
  padding: 0 4px;
  color: var(--challog-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 48px;
}

.body #navi .navi-in > ul > li > a:hover {
  background-color: transparent;
  opacity: .7;
}

/************************************
** 本文の枠
************************************/
.body .content,
.body .content-in {
  margin-top: 0;
  padding-top: 0;
}

.body .content-in.wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.body .main {
  width: 100%;
  margin: 0;
  padding: 80px 120px 72px;
  border: 0;
  border-radius: 0;
  background-color: var(--challog-paper);
}

.front-top-page .main {
  padding: 0 120px 80px;
}

/************************************
** 記事ページ
************************************/
.body .article {
  margin-bottom: 0;
}

.body .article-header {
  margin-bottom: 20px;
}

.body .entry-title,
.body .article h1 {
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--challog-text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
}

.body .article .entry-content {
  font-size: 16px;
  line-height: 2.1;
}

.body .article .entry-content p {
  margin: 0 0 32px;
}

.body .article h2,
.body .article .entry-content h2 {
  margin: 72px 0 28px;
  padding: 0 0 12px;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--challog-header-under);
  border-radius: 0;
  color: var(--challog-text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
}

.body .article h3,
.body .article .entry-content h3 {
  margin: 48px 0 20px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--challog-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.body .article img {
  height: auto;
}

.body .article .eye-catch,
.body .article .eye-catch-wrap {
  margin-bottom: 14px;
}

.body .article-header .sns-share .sns-buttons {
  margin-top: 0;
  margin-bottom: 8px;
}

.body .article-header .date-tags {
  margin-top: 0;
}

.body .article .eye-catch .cat-label {
  display: none;
}

.body .toc {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 36px 0;
  padding: 24px 28px;
  border: 1px solid var(--challog-background);
  border-radius: 0;
  font-size: 15px;
}

.body .toc-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: left;
}

.body .article .entry-content ul,
.body .article .entry-content ol {
  box-sizing: border-box;
  margin: 0 0 32px;
  padding: 20px 24px 20px 40px;
  background-color: var(--challog-soft);
  border: 0;
}

.body .article .entry-content .toc ul,
.body .article .entry-content .toc ol {
  margin: 0;
  padding: 0 0 0 1.2em;
  background: none;
}

.body .speech-wrap .speech-balloon {
  background-color: var(--challog-soft);
  border-color: var(--challog-soft);
  border-radius: 0;
}

.body .speech-wrap .speech-balloon::before,
.body .speech-wrap .speech-balloon::after {
  display: none;
}

.body .btn,
.body .amazon-button a,
.body .shoplinkamazon a {
  background: var(--challog-header-under);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--challog-text);
  font-weight: 700;
}

.body .author-box {
  margin: 56px 0 0;
  padding: 40px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--challog-background);
  border-radius: 0;
}

/************************************
** 一覧ページ(カテゴリなど)
************************************/
.body .entry-card-wrap {
  margin-bottom: 8px;
  padding: 16px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--challog-background);
}

.body .entry-card-wrap:hover {
  background: none;
  opacity: .7;
}

.body .cat-label {
  display: none;
}

.body .entry-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

/************************************
** フッター
************************************/
.body .footer-in.wrap {
  width: auto;
  max-width: 860px;
}

.body .footer {
  margin-top: 0;
  padding: 24px 0 32px;
  background-color: var(--challog-background);
  color: var(--challog-text);
}

.body .footer-bottom-logo {
  display: none;
}

.body .footer-bottom,
.body .footer-bottom-content {
  display: block;
  width: 100%;
  text-align: center;
}

.body .navi-footer-in > .menu-footer {
  justify-content: center;
}

.body .footer a {
  color: var(--challog-text);
}

.body .copyright {
  color: var(--challog-muted);
  font-size: 12px;
}

/************************************
** トップページ
************************************/
.challog-hero {
  padding: 80px 0 8px;
}

.challog-hero-title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.7;
}

.challog-hero-text {
  margin: 0;
  color: var(--challog-muted);
  font-size: 15px;
  line-height: 1.9;
}

.challog-section {
  padding-top: 72px;
}

.challog-front > .challog-section:first-child {
  padding-top: 56px;
}

.body .challog-section-title {
  margin: 0 0 32px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--challog-text);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
  text-align: center;
}

.body .challog-section-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 10px auto 0;
  background-color: var(--challog-title);
}

.challog-post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.body .challog-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  padding: 14px;
  background-color: var(--challog-paper);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(51, 48, 46, .10);
  color: var(--challog-text);
  text-decoration: none;
  transition: box-shadow .2s ease;
}

.body .challog-post:hover {
  box-shadow: 0 4px 18px rgba(51, 48, 46, .16);
}

.challog-post-featured {
  grid-column: 1 / -1;
  flex-direction: row !important;
  align-items: center;
  gap: 24px !important;
}

.challog-post-thumb {
  display: block;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--challog-background);
  border-radius: 4px;
}

.challog-post-featured .challog-post-thumb {
  width: 300px;
}

.challog-post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.challog-post-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.challog-post-category {
  color: var(--challog-muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.challog-post-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.challog-post-featured .challog-post-title {
  font-size: 16px;
}

.challog-empty {
  margin: 0;
  color: var(--challog-muted);
  font-size: 14px;
  text-align: center;
}

.body .challog-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 24px;
  color: var(--challog-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
}

.body .challog-more::after {
  content: "→";
}

.challog-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.body .challog-category {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background-color: var(--challog-soft);
  color: var(--challog-text);
  text-decoration: none;
}

.body .challog-category:hover {
  opacity: .7;
}

.challog-category-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.challog-category-desc {
  color: var(--challog-muted);
  font-size: 12px;
  line-height: 1.7;
}

.challog-profile-card {
  box-sizing: border-box;
  padding: 28px 28px 14px;
  background-color: var(--challog-paper);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(51, 48, 46, .10);
}

.challog-profile-card .challog-more {
  margin-top: 12px;
}

.challog-profile-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.challog-profile-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--challog-background);
  box-sizing: border-box;
  object-fit: cover;
}

.challog-profile-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .1em;
}

.challog-profile-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/************************************
** スマホ
************************************/
@media screen and (max-width: 834px) {
  .body .header .header-in {
    padding: 12px 16px 0;
  }

  .body .site-name-text {
    font-size: 25px;
    letter-spacing: .06em;
  }

  .body #navi .navi-in > .menu-mobile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .body #navi .navi-in > ul > li {
    width: auto;
    height: 44px;
  }

  .body #navi .navi-in > ul > li > a {
    padding: 0;
    font-size: 13px;
    line-height: 44px;
  }

  .body .main {
    padding: 48px 20px 64px;
  }

  .front-top-page .main {
    padding: 0 20px 72px;
  }

  .body .entry-title,
  .body .article h1 {
    font-size: 23px;
  }

  .body .article h2,
  .body .article .entry-content h2 {
    margin-top: 64px;
    font-size: 20px;
  }

  .body .article h3,
  .body .article .entry-content h3 {
    font-size: 17px;
  }

  .body .article .entry-content {
    line-height: 2;
  }

  .challog-hero {
    padding-top: 64px;
  }

  .challog-hero-title {
    font-size: 22px;
  }

  .challog-hero-text {
    font-size: 14px;
  }

  .challog-pc-br {
    display: none;
  }

  .challog-section {
    padding-top: 64px;
  }

  .challog-front > .challog-section:first-child {
    padding-top: 40px;
  }

  .body .challog-section-title {
    font-size: 18px;
  }

  .challog-post-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .body .challog-post {
    flex-direction: row;
    gap: 14px;
    padding: 12px;
  }

  .challog-post-thumb {
    width: 104px;
    height: 72px;
    aspect-ratio: auto;
  }

  .challog-post-title {
    font-size: 14px;
  }

  .challog-post-featured {
    flex-direction: column !important;
    align-items: stretch;
    gap: 14px !important;
  }

  .challog-post-featured .challog-post-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .challog-post-featured .challog-post-title {
    font-size: 17px;
  }

  .challog-category-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .body .challog-category {
    padding: 14px 18px;
  }
}

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

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

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