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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出し */
.article h1 {
	color: #333333;
	font-size: 20px;
}
.article h2 {
  position: relative;
  background-color: transparent !important; /* 背景を白（透明）にする */
  padding: 10px 0 10px 15px !important; /* 左側に少し余白をあける */
  color: #333333;
  font-size: 20px;
  font-weight: bold;
  border-left: none !important; /* 以前の太い左線を消す */
  border-bottom: 2px solid #e0e0e0 !important; /* 全体の細い下線（グレー） */
  border-radius: 0; /* 角丸をリセット */
  margin: 40px 0 20px !important;
}

/* 下線の左端だけ色を変える（緑のアクセント） */
.article h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* 親要素の下線に重ねる */
  width: 80px; /* 緑色の線の長さ */
  height: 2px; /* 緑色の線の太さ */
  background-color: #2ecc71 !important; /* アクセントカラー（緑） */
}

.article h3 {
    padding: .6em;
    border-left: 5px solid #2ecc71;
	border-top: none;
	border-right: none;
	border-bottom: none;
    color: #333333;
	font-size: 18px;
}

/* 全てのh4：左寄せ・文字幅・複数行対応の決定版 */
.article h4 {
  display: block !important;       /* 安定のブロック形式で回り込みを防止 */
  text-align: left !important;    /* 確実に左寄せ */
  width: 100% !important;
  margin: 40px 0 20px 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  clear: both !important;
}

/* 文字の部分だけに線を引くための指定（複数行対応） */
.article h4 {
  color: #333 !important;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.8 !important;   /* 行間を広げて重なりを物理的に防ぐ */
}

/* spanを使わなくても文字だけに下線を引く指定 */
.article h4 {
  text-decoration: underline solid #333 2px !important;
  text-underline-offset: 0.3em;  /* 文字からの距離をフォントサイズ基準で指定 */
  text-decoration-skip-ink: none; /* 線が文字の足で切れないようにする */
}

.article h6 {
	font-size: 18px;
	border-bottom: none;
}

/* 検索窓を丸くする */
input.search-edit{
  border-radius: 40px;/*角丸の大きさの指定*/
}

/* お問い合わせ必須フィールドのラベルスタイル */
.wpcf7-form .required {
background-color: #ff0000; /* レッド */
color: #ffffff;
padding: 2px 5px;
border-radius: 3px;
margin-left: 10px;
font-size: 12px;
}

#wpcf7-area input[type=”checkbox”], #wpcf7-area input[type=”radio”]{
appearance: auto;
}

.wpcf7 input[type="submit"] {
width:50%;
padding:15px;
border-radius:10px;
-webkit-border-radius: 10px;  
-moz-border-radius: 10px;
border: none;
background: #c8161d;
color: #fff;
transition: 0.3s;
font-weight: bold;
font-size:  16px;
}

.page .date-tags,
.page .author-info {
    display: none;
}

a{
text-decoration: none;
}

.navi-footer-in a {
font-size: 13px;
}
.copyright {
font-size: 11px !important; /* コピーライトサイズ */
}

.pr-label {
font-size: 10px !important; 
text-align: left;
	/* PRサイズ */
}

/*---------------------------------
親カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li a{ 
  border-bottom: 1px dashed #CCCCCC; /* 下線の種類 */
}

.widget_categories ul li a::before{
  font-family: FontAwesome;
  content: "\f138"; /* FontAwesomeのユニコード */
  color: #dc143c; /* アイコンの色 */
  padding-right: 6px;
}

.widget_categories > ul > li > a:first-child{ 
  border-top: none;
}

/*---------------------------------
子カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li ul li a::before{
  font-family: FontAwesome;
  content: "\f054"; /* FontAwesomeのユニコード */
  color: #dc143c; /* アイコンの色 */
  padding-right: 6px;
}

/* サイドバー見出し */
.sidebar h3 {
  background: transparent;  /* 背景を透明にする */

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

/*  ロゴサイズ変更 */
.header-container-in.hlt-top-menu .logo-header img {
	width: 170px;
	max-height: none;
}

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

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