@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.2
*/

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

/* Post Article Styles */
.single .entry-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  border-left: 4px solid #000;
  padding-left: 12px;
}
.single .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #111;
}
.single .entry-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  padding-left: 0;
  margin-top: 48px;
  margin-bottom: 16px;
  border-left: none;
  border-bottom: 2px solid #000;
}
.single .entry-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  padding-left: 0;
  margin-top: 32px;
  margin-bottom: 12px;
  border-left: none;
  border-bottom: 1px solid #000;
}
.single .entry-content p {
  margin: 16px 0;
}
.single .entry-content ul,
.single .entry-content ol {
  margin: 16px 0 16px 20px;
}
.single .entry-content blockquote {
  border-left: 4px solid #000;
  padding: 12px 16px;
  background: #f7f7f7;
  margin: 24px 0;
}
.single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.single .entry-content table th,
.single .entry-content table td {
  border: 1px solid #000;
  padding: 8px;
}

/* .article h2 {
    color: white;
    font-size: 1.1em;
    padding: 15px;
    background-color: black;
    border-radius: 2px;
    box-shadow: 0 0 10px 1px #5a5a5a;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
} */

.article h2:before {
    border-top: none;
}

.article h2:after {
    border-bottom: none;
}

.article h2{
background:none;
	border-top:none;
border-bottom:none;
padding: 0;
border-left: none;
}

.article h2:before {
    border-top: none;
	border-bottom: none;
}
.article h2:after {
	border-top: none;
    border-bottom: none;
}

.article h3 {
	border-top: none;
    border-bottom: none;
}


.section-title {
    border-left: none;
}

/* 2025/12/06　追加：HOMEのデザイン見直し中 */

/* カテゴリカードグリッド */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

/* 各カード */
.category-card {
  border: 1px solid #222;
  padding: 20px;
  text-decoration: none;
  color: #000;
  border-radius: 12px;
  transition: all .2s ease;
  background: #fff;
}

/* ホバーで浮かせる */
.category-card:hover {
  background: #000;
  color: #fff;
  transform: translateY(-4px);
}

/* タイトルの調整 */
.category-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* 説明文 */
.category-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}



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

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

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