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

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

/* フロントページからタイトルと投稿時間を消す */
 #main .page .entry-title {
  display: none;
}
.page .date-tags,
.page .author-info {
display: none;
}


/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{	
	border:none;
	background:none;
	padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

/* H6 */
.entry-content h6{
border:none;
background:none;
padding: 0;
}

/* デフォルトカラー追加設定 */
/* 文字色 */
.has-vsa-color1-color {
	color: #26B2CD;
}
.has-vsa-color2-color {
	color: #FCC200;
}
.has-vsa-color3-color {
	color: #B116C7;
}
.has-vsa-color4-color {
	color: #171138;
}


/* 背景色 */
.has-vsa-color1-background-color {
	background-color: #26B2CD;
}
.has-vsa-color2-background-color {
	background-color: #FCC200;
}
.has-vsa-color3-background-color {
	background-color: #B116C7;
}
.has-vsa-color4-background-color {
	background-color: #171138;
}

/* 見出しのデザイン設定 */
/* H2 */
.entry-content h2{
	font-size: 1.5em; /* 文字サイズ */
	line-height: 1.25;	
	color: #191970;
	font-weight: bold;
	padding: 5px;	
	border-bottom: dotted 2px #26B2CD;/* 下側に点線・色*/
}

/* H3 */
.entry-content h3{
	color: #191970;
	font-size: 1.2em; /* 文字サイズ */
	padding: 10px;
border-left: solid 5px #26B2CD; /* 左側に実線・色*/
}

/* H4 */
.entry-content h4{
color: #191970; /* 文字色 */
font-size: 1.2em; /* 文字サイズ */
padding: 8px;
}

/* H5 */
.entry-content h5{
color: #191970; /* 文字色 */
font-size: 1.0em; /* 文字サイズ */
}

/* H6 */
.entry-content h6{
color: #191970; /* 文字色 */
font-size: 1.0em; /* 文字サイズ */
	margin-top:50px;
}

.flex-column {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}


/* CTA用Box */
.box-design1 {
	width:70%;
  margin: 20px auto;
  padding: 30px;
  border-top: 2px dotted #4c9ac0;
  border-bottom: 2px dotted #4c9ac0;
}

.circle_btn02 {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 280px; /* ボタンの最大幅 */
  padding: 1em 3em;
  color: #191970; /* 文字色 */
  transition: 0.3s ease-in-out;
  font-weight: bold;
  text-decoration: none;
}

.circle_btn02::before, .circle_btn02::after {
  content: "";
  position: absolute;
  display: block;
  top: 47%;
}

.circle_btn02::before {
  width: 0.5em;
  height: 0.5em;
  left: 1em;
  border-top: solid 2px #fff; /* 矢印の色 */
  border-right: solid 2px #fff; /* 矢印の色 */
  z-index: 2;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s;
}

.circle_btn02::after {
  left: 0;
  background: #26B2CD; /* 背景色 */
  z-index: 1;
  width: 3em;
  height: 3em;
  border-radius: 3em;
  transform: translateY(-50%);
  transition: all 0.5s;
}

.circle_btn02 span {
  position: relative;
  transition: all 0.3s;
  z-index: 3;
}

/* マウスオーバーした際のデザイン */
.circle_btn02:hover span {
  color: #fff; /* 文字色 */
}

.circle_btn02:hover:before {
  left: 2rem;
}

.circle_btn02:hover:after {
  right: 0;
  width: 100%;
}

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
/*　フォーム全体　*/
#cf7-area {
width:80%;
margin: 0 auto;
}

.cf7-item {
display: flex;
align-items: flex-start;
justify-content: flex-start;
margin: 0 0 1.75em;
}

.cf7-q {
width: 30%;
margin: 0 0 0 10px;
}

.cf7-a {
width: 60%;
}

/* 各項目共通 */
#cf7-area label{
font-weight:bold;
}

#cf7-area input[type=”text”],#cf7-area input[type=”email”],#cf7-area input[type=”tel”],#cf7-area textarea {
background: #F0F8FF;
width:500px;
margin-left:10px;
}

#cf7-area input[type=”text”]:focus,#cf7-area input[type=”email”]:focus,#cf7-area input[type=”tel”]:focus,#cf7-area textarea:focus {
background: #FFE4E1;
border: 2px solid #FF1493;
outline: 0;
}

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

#cf7-area .wpcf7-list-item {
display: block;
}

#cf7-area textarea{
height:150px;
padding: 0.6em 0.4em;
}

.cf7-accept-check{
text-align: center;
margin: 20px auto;
}

.cf7-submit {
width: 40%;
margin: 0 auto;
text-align: center;
}

#cf7-area input[type=”submit”]
{
width: 100%;
background-color: #191970;
color: #ffffff;
border-radius: 5px;
font-size: 1.2em;
padding: 1em 10px;
}

#cf7-area input[type=”submit”]:hover
{
background-color:#ffffff;
border: 2px solid #191970;
color:#191970;
}

.cf7-btn{
width: 40%;
margin: 0 auto;
text-align: center;
}

/*　必須ラベル　*/
.cf7-req{
font-size:.8em;
padding: 4px 6px;
background: #eb2a2a;
color: #ffffff;
margin-left: 10px;
display:inline-block;
}

@media screen and (max-width:768px){
.cf7-item {
display: block;
}

#cf7-area label{
display: block;
margin-bottom: 10px;
}

.cf7-q {
width: 100%;
margin: 0;
}

.cf7-a {
width: 100%;
}

#cf7-area input[type=”text”], #cf7-area input[type=”email”], #cf7-area input[type=”tel”], #cf7-area textarea{
margin-left: 0;
}

.cf7-submit{
width: 90%;
}
}



/******************************/
/** テーブル装飾 **/
/******************************/
.center-top td {
	vertical-align: top;
	text-align: center;
}

/******************************/
/** ライセンスメッセージ **/
/******************************/
.license-msg {
	background-color:#26B2CD;
	vertical-align: middle;
	text-align: center;
	font-weight:bold;
	color: white;
	
}

/******************************/
/** アイコンの装飾 **/
/******************************/
.icon-white{
filter: brightness(0) saturate(100%) invert(97%) sepia(97%) saturate(0%) hue-rotate(59deg) brightness(103%) contrast(105%);
vertical-align: middle;
}

.icon-middle{
vertical-align: middle;
margin: 0 2px;
}

/******************************/
/** リストの下に余白 **/
/******************************/
.entry-content ol li {
  margin-bottom: 1em;
}

.entry-content ol li:last-child {
  margin-bottom: 0;
}

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

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

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

/************************************
** サイドバーのウィジェットを加工
************************************/

/* アイキャッチ画像を消す */
.sidebar .widget-entry-card-thumb {
    display: none !important;
}

/* 画像が消えた分、タイトルを左に寄せる */
.sidebar .widget-entry-card-content {
    margin-left: 0 !important;
}

/* 1. カテゴリーの数字を名前の横に移動させる */
.widget_categories ul li a, 
.widget_archive ul li a,
.widget_nav_menu ul li a {
    display: inline-block; /* 横並びにする */
    width: auto;
}

.post-count {
    display: inline-block;
    position: static; /* 右端固定を解除 */
    margin-left: 10px; /* 名前との間に少し隙間を作る */
    background: #f0f0f0; /* 数字に薄い背景色をつける（お好みで） */
    padding: 2px 6px;
    border-radius: 10px; /* 丸みをつける */
    font-size: 0.8em;
    color: #666;
}

/* 2. リストにドットの下線をつけて見やすくする */
.widget_categories ul li {
    border-bottom: 1px dotted #ccc;
    padding: 8px 0; /* 行間を少し広げる */
}

.widget_categories ul li:last-child {
    border-bottom: none; /* 最後の線の削除 */
}

/* 3. 新着記事のタイトルを少し太く、青色を抑える */
.sidebar .widget-entry-card-title {
    font-weight: bold;
    color: #333; /* 真っ青より少し落ち着いた色 */
    line-height: 1.4;
}

/* 4. リンクにマウスを乗せた時の動き */
.sidebar a:hover {
    color: #00bcd4; /* Cocoonの水色系に合わせる */
    text-decoration: none;
    opacity: 0.8;
}

/* 新着記事のタイトルと右矢印の間に余白を作る */
.sidebar .widget-entry-card-content {
    padding-right: 20px !important; /* 右側に余白を確保 */
    position: relative;
}

/* 矢印の位置を微調整したい場合 */
.sidebar .widget-entry-card-link-after {
    margin-left: 10px; /* タイトルとの距離を広げる */
}



