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

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

#header {
  padding-top: 20px; /* ← ヘッダー全体の上に余白を追加 */
}

.main, .content {
  background-color: #f7fcfc;
}
/*ーーーTopページについてーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

.page-id-28 .entry-title {
  display: none;
}

.page-id-109 .entry-title {
  display: none;
}


.page-id-28 .entry-content,
.page-id-162 .entry-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-id-28 .entry-content h2::after,
.page-id-162 .entry-content h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #61e9f6, #0d47a1);
  margin: 20px auto 0;
  border-radius: 4px;
}

.page-id-162 .entry-content .underline::after {
	content: "";
	display: block;
	width: 150px;
	height: 2px;
	background: linear-gradient(to right, #4f92c6, #0d47a1);
	margin: 15px auto 0;
	border-radius: 2px;
}


/*ーーーTopページ-学習したいことーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.keyword-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin: 20px 0;
}

.keyword-item {
	border: 2px solid #2f3944;
	border-radius: 10px;
	padding: 8px 14px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: #2f3944;
}

.keyword-item2 {
	border: 2px solid #2f3944;
	border-radius: 10px;
	padding: 8px 14px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: #2f3944;
}

.keyword-item::before {
	content: "";
	width: 12px;
	height: 12px;
	display: inline-block;
	border-radius: 2px;
}

.keyword-item.blue::before {
	background-color: #0D47A1;
}

.keyword-item.aqua::before {
	background-color: #61E9F6;
}

.keyword-item.mint::before {
	background-color: #8EE0C5;
}

.keyword-item.sky::before {
	background-color: #B3D7FF;
}

.keyword-item.gray::before {
	background-color: #E0E7EF;
}

.keyword-item.navy::before {
	background-color: #29457D;
}

.keyword-item.purple::before {
	background-color: #AEB8E6;
}



/* H2タグの文字色を濃い青に設定 */
.entry-content h2 {
border:none;
background:none;
padding: 0;
}


.entry-content h3 {
	font-size: 20px;
	border:none;
	background:none;
	padding: 0;
}


.rounded-box {
  border: 1px solid #d0e8f8;          /* 枠線の色 */
  border-radius: 12px;               /* 角丸 */
  padding: 20px;
  background-color: #ffffff;         /* 白背景（必要なら） */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 軽い影で立体感 */
  margin: 10px;
}

.rounded-box-2 {
  border: 1px solid #5b7fff;          /* 枠線の色 */
  border-radius: 12px;               /* 角丸 */
  padding: 20px;
  background-color: #ffffff;         /* 白背景（必要なら） */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 軽い影で立体感 */
  margin: 10px;
}

/* カードボックスのホバー */
.card-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* Topページ最下部のボタン */
.cta-button {
  display: inline-block;
  background: linear-gradient(to right, #3FBEE5, #104FAE);
  color: #fff;
  padding: 10px 40px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}


.cta-button:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}


/* カテゴリーページの投稿日を非表示 */
.archive .entry-card-info .post-date {
  display: none;
}

/* カテゴリーページのH1を非表示 */
.archive-title {
	display: none;
}


/*ーーーSTEP1ブログカードーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.blog-card {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px;
	margin: 12px auto;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	max-width: 720px;  /* ← ここで最大幅を指定！ */
	width: 100%;
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-card-thumbnail img {
	width: 180px; /* ここは好きなサイズに調整OK */
	height: auto;
	border-radius: 4px;
}

.blog-card-content {
  margin-left: 16px;
  flex: 1;
}

.blog-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
}



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

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

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