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

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


/* =========================
   このページの見出しタグ
========================= */
/* H2 */
.article h2 {
  background: transparent;
  padding: 0;
  border: none;
  font-weight: 700;
  color: #777777 !important;
	margin-bottom: 25px;
	font-size: 28px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

/* H3 */
.article h3 {
  background: transparent;
  padding: 0;
  border: none;
  font-weight: 500;
	color:#666666!important;
	line-height:1.5;
	font-size: 19px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}



/* ------------------------------
   PCのみ／モバイルのみ 非表示  
---------------------------------*/
/* PCのみ表示（モバイル非表示） */
.pc-only {
    display: none;
}
/* モバイルのみ表示（PCで非表示） */
.mobile-only {
    display: block;
}

/* PC（768px以上） */
@media (min-width: 768px) {
.pc-only {
     display: block;
}
.mobile-only {
     display: none;
}
}

/* ------------------------------
   スマホの文字調整  
---------------------------------*/
/* スマホで中央揃え＋改行の解除 */
@media (max-width: 767px) {
  .sp-left-reset {
    text-align: left !important;
  }
  .sp-left-reset br {
    display: none!important;
  }
}

/* ------------------------------
   グローバルナビ設定  
---------------------------------*/
/* テキスト左右の空白 */
#navi .navi-in>ul>li>a {
    padding: 0;
}

/* テキスト 上 */
#navi .item-label {
  font-weight:600;
  color: #888888;
  letter-spacing: 0.06em;
}

/* テキスト 下 */
#navi .menu-item .item-description.sub-caption {
	font-size: 10px;
	line-height: 1.2;
	color: #444;
}

/* ナビ マウスカーソル色 */
#navi .navi-in a:hover .item-label,
#navi .navi-in a:hover .item-description.sub-caption {
  color: #37a2ad;
}



/*---------------------------
*　スマホメニューを横スクロール　*/
/*---------------------------*/

@media screen and (max-width: 1030px) {
  .menu-mobile {
    display: none;
  }
  .navi-in > .menu-mobile {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap; /* 横スクロールを維持 */
    justify-content: flex-start;
    flex-wrap: nowrap; /* 2段にならないようにする */
	background-color:#dce9ea;
  }
	#navi .menu-item .item-description.sub-caption{
	display:none;	
	}
  #header-container #navi a {
    font-size: 0.7em;
    padding: 0.5em 0.3em;
  }
  #header-container .navi-in > ul > .menu-item-has-children > a::after {
    display: none; /* アイコンを非表示 */
  }
  .navi-in > .menu-mobile li {
    height: auto;
    line-height: 0;
  }

#navi .navi-in > .menu-mobile > .menu-item-has-description > a > .caption-wrap {
        height: 27px;
	}
  .mblt-header-mobile-buttons {
    margin-top: 55px;
  }
}


/* ------------------------------
   リンク画像の視覚効果  
---------------------------------*/
.animated-link img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.animated-link:hover img {
	transform: scale(1.03);
}


/* ------------------------------
  WP標準ボタン ホーバー設定
---------------------------------*/
/* 文字色を白、上昇効果付与 */
.wp-block-button__link:hover {
  color: #fff;
  transform: translateY(-4px);
}


/* ------------------------------
  PC 上に戻るボタン  
---------------------------------*/
.go-to-top-button {
    width: 40px;
	height:40px;
	border-radius: 45px;
    font-size: 25px;
}

/* ------------------------------
  フッターテキスト リンク下線削除
---------------------------------*/
#footer a:not(.sns-button), .footer-title {
    text-decoration-line: none;
}


/*---------------------------*/
/* リストの点をキーカラーに */
/*---------------------------*/
.wp-block-list li::marker {
    color: #37a2ad;
}



/*---------------------------*/
/* フッターモバイルボタン透明背景色 */
/*---------------------------*/
.mobile-footer-menu-buttons {
background: rgba(1,1,1,0.6); 
}
.mobile-footer-menu-buttons .menu-button,
.home-menu-button menu-button,
.mobile-menu-buttons .home-menu-button > a,
.mobile-menu-buttons .top-menu-button > a {
  color: #fff;
}

/*---------------------------*/
/* コンタクトフォーム7 デザイン */
/*---------------------------*/
input[type=submit] {
    background-color: #37a2ad;
    color: #fff;
    transition: all 0.3s ease; /* ←これを追加（重要） */
}
/* ホバー時 */
input[type=submit]:hover {
    transform: translateY(-4px);
}

/*---------------------------*/
/* サイトバー検索ラベル非表示 */
/*---------------------------*/
.wp-block-search__label {
    display: none;
}



/*---------------------------*/
/*もくじデザイン*/
/*---------------------------*/

/* もくじ全体デザイン */
.toc-center {
margin-bottom: 70px !important;
}

/* 全体の最小幅を50%に */
.toc {
  min-width: 50%;
  width: auto; /* 自動調整を許可 */
  max-width: 100%; /* はみ出し防止 */
}

/* もくじアイコン */
.toc-title:before {
width: 50px;
height: 50px;
font-family: "Font Awesome 5 Free";
content : "\f03c";
font-size:22px;
margin-right:8px;
color:#FFF;
}

.toc-title{
background-color:#37a2ad;
font-size: 19px;
padding: 0.1em;
font-weight: 600; 
color: #ffffff;
font-family: "Font Awesome 5 Free";
content : "\f03c";
margin-bottom: 10px
}

/*見出し2（H2）の設定*/
.toc-content > .toc-list > li:before { 
font-family: "Font Awesome 5 Free";
content: "\f144";
font-weight: 900;
color: #37a2ad;
padding-right:8px;
}
.toc-content .toc-list li {
font-weight:600;
}
/*H3以降の文字サイズ*/
.toc-content .toc-list li li {
font-weight:normal;
}
.toc .toc-list ul, .toc .toc-list ol {
padding-left: 1.25em;
}

	
/*---------------------------*/
/*モバイル ブログ記事一覧の文字サイズ*/
/*---------------------------*/
.related-entry-card-title, .entry-card-title {
    font-size: 14px !important;
	font-weight: 500;
}

/*---------------------------*/
/*モバイル ブログページのタイトル余白 */
/*---------------------------*/
.entry-title {
padding:0 0 10px;		
	}


/*---------------------------*/
/*記事一覧の見た目修正 */
/*---------------------------*/
/* ページ送りボタン */
.pagination-next {
	display: none;
}
.page-numbers {
	border-radius: 25px;
}

/* 記事一覧リスト 影と視覚効果 */
.entry-card-wrap {
	box-shadow: 0 0 1px 0 rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.2);
}
.entry-card-wrap:hover {
	transform: translateY(-2px);
}

/* 記事一覧 カラム間余白 */
.ect-vertical-card {
    column-gap: 3%;
}
.ect-vertical-card .entry-card-wrap {
	width: 48.5%; /* 余白と併せて100 */
}

#list.list {
	row-gap: 1.5em;
}

/* 記事一覧 タイトル文字･余白 */
.related-entry-card-title, .entry-card-title {
    font-size: 16px;
    margin: 0.5em 0 0.8em 0;
}




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

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

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