@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

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

/*-------------------------
  ブログカード
-------------------------*/
.blog-card {
  background: #fbfaf8;
	border:1px solid #ddd;
	word-wrap:break-word;
	max-width:100%;
	border-radius:5px;
	margin: 30px;
  /* sp用 ※4 */
}
.blog-card:hover {
  background: #fee;
}
.blog-card a {
  text-decoration: none;
}
.blog-card-title {
	color: #337ab7;
	display: block;
}
.blog-card-thumbnail {
	float:left;
	padding:10px;
}
.blog-card-thumbnail img {
	display: block;
	padding: 0;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}
.blog-card-content {
	line-height:120%;
}
.blog-card-title {
	padding:10px 10px 10px 0;
	font-size:120%;
  font-weight: bold;
  line-height: 1.5em;
}
.blog-card-excerpt {
	color:#333;
	margin:0 10px 10px;
  line-height: 1.5em;
}
.blog-card .clear {
  clear: both;
}
/* 相談内容3つの案内デザイン */
.consultation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.consultation-card {
  padding: 24px 18px;
  background: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.consultation-card h6 {
  color: #5b4936;
  font-size: 18px;
  margin: 12px 0;
}

.consultation-card p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* スマートフォン表示 */
@media screen and (max-width: 767px) {
  .consultation-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* 見出し下の余白を5pxにする*/
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom: 5px;
}
