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


/* 介護ワークジャーナル：投稿末尾の共通編集部プロフィール */
body.single-post .kw-editorial-profile {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--kw-line, #cfc7bc);
  border-radius: 2px;
  background: var(--kw-footer, #e6e1d7);
  box-shadow: none;
  font-family: "Noto Sans JP", sans-serif;
}
body.single-post .kw-editorial-profile__image { flex: 0 0 88px; }
body.single-post .kw-editorial-profile__image img {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0;
  border-radius: 50%;
  object-fit: contain;
}
body.single-post .kw-editorial-profile__text { min-width: 0; }
body.single-post .kw-editorial-profile__text p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
body.single-post .kw-editorial-profile__text .kw-editorial-profile__name {
  font-size: 16px;
  font-weight: 700;
}
body.single-post .kw-editorial-profile__text p:last-child { margin-bottom: 0; }
body.single-post .article-footer:has(.kw-editorial-profile) .footer-meta .author-info { display: none; }
@media screen and (max-width: 600px) {
  body.single-post .kw-editorial-profile { flex-direction: column; gap: 16px; padding: 20px; }
  body.single-post .kw-editorial-profile__image { flex-basis: auto; }
}
