@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{
  border-radius: 0px;
}

#sidebar{
  border-radius: 0px;
}

/*デフォルトリンク*/
a {
  text-decoration: none;
}

/*デフォルトリンクホバー色*/
a:hover {
  color: #3683d1;
}

/*ページ内リンクのホバー下線*/
.entry-content a:hover {
  text-decoration: underline;
}

/*キャッチフレーズマージン*/
.tagline {
 margin-top: -5px;	
 margin-bottom: 5px;
}

/*ヘッダーロゴ画像とグローバルメニューの余白*/
.logo {
margin: 0px;
padding: 0px;
}

.logo-header {
  padding: 0;
  margin: 0;
}

.logo-text {
	padding: 0;
	margin: 0;
}
.content {
 margin-top: 3px;
}



/*トップページの画像*/
img.frontimg {
  border: 1px #dcdddd solid;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/*右サイドバー*/
.sidebar_r{
  text-align:center;
  font-size:14px;
}

/*説明画像の影*/
.box-shadow {
  box-shadow: 0 0 5px #c0c0c0;
}

/*アドセンス*/
.g_ads{
  text-align:center;
}

/*サイドバーa8*/
.a8_ads{
  text-align:center;
  font-size:14px;
}
.a8_ads a:hover{
  text-decoration:underline;
}




/*パンくずリストホバー色*/
#breadcrumb.breadcrumb a:hover{
  color: #808080;
  text-decoration: underline;
}

/* パンくずリスト　アイコンを消す */
.breadcrumb .fa-home,
.breadcrumb .fa-folder,
.breadcrumb .fa-file-o {
  display: none; /*非表示*/
}

/*記事下カテゴリーリンク*/
.cat-link {
 background-color: #a2d7dd;
 color: #fff;

}

.cat-link:hover { /* マウスホバー時 */
    opacity: 1;
    background: #c1e4e9;
    transition: all .5s ease; /* ふわっと変化するアニメーション */
    color: #fff;
}

/*カード全般のホバーエフェクト*/
.a-wrap:hover{
transform: none;		/*位置をずらさない*/
}

/*固定ページの投稿日を非表示*/
.page .date-tags {
display: none;
}

/** 特定固定ページのシェアボタン非表示 **/
.page-id-18 .sns-share,
.page-id-3 .sns-share {
  display: none;
}


/*アイキャッチラベル非表示*/
.cat-label {
display: none;
}



/*--------------------------------
ブログカードのカスタマイズ
--------------------------------*/

/*ブログカードのファビコンとURLを非表示*/
.internal-blogcard-footer{
	display: none
}

/*背景色*/
.blogcard-wrap {
  background-color: #fff;
}

/*ホバー時の背景色*/
.blogcard-wrap:hover{
  background-color: #f4f4f4;
}

/*枠線なし、周囲余白*/
.content .blogcard {
  border:none;
  margin-top: -10px; /*外側上余白設定*/
  margin-bottom: -10px; /*外側下余白設定*/
}

/*タイトル文字のサイズ*/
.blogcard-title{
	font-size: 17px;
	color: #1d1d1d
} 
@media screen and (max-width: 480px){
.blogcard-title{
	font-size: 16px;
}
}

/*抜粋文の文字サイズ*/
.blogcard-snippet{
  font-size: 14px;
}

/*「記事を読む」表示用*/
.blogcard {
  position: relative;
}
/*記事を読むボタン*/
.internal-blogcard::after{
    font-family: 'Font Awesome 5 free';
  content: '記事を読む \f101'; /* 内部リンク右下枠の文言 */
  position: absolute;
  bottom: .5rem;
  right: 1rem;
  font-size: 80%;
  background-color: #93b69c; /* 内部リンク右下枠の背景色 */
  padding: .2em 1.8em;
  font-weight: bold;
  color: #fff; /* 内部リンク右下枠の文字色 */
  border-radius: 5px;
}

.internal-blogcard:hover:after {
  background-color: #69b076; /* 内部リンク右下枠のホバー背景色 */
  transition: 1s; /*ふわっとさせる指定*/
}

/*--------------------------------
ブログカードのカスタマイズ　ここまで
--------------------------------*/





/*フロント固定ページのタイトルを非表示*/
.page .entry-title {
  display: none;
}



/*固定ページ上部の隙間を狭くする*/
.page-id-1,
.page-id-1 .main {
padding-top:0px;
}
@media screen and (max-width: 834px) {
.page-id-1,
.page-id-1 .main {
padding-top: 5px;
}
}

/*コンタクトフォームのサイズ*/
.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-subject"] {
        width: 80%;
        height: 35px !important;
}

.wpcf7 textarea[name="your-message"] {
        width: 100%;
        height: 350px !important;
}

.wpcf7 input[type="submit"] {
width:35%
}




/*各サービス商品検索リンクのボタンの色*/
.shoplinkamazon a {
    background: #f6b340;
    transition: .4s;
}
.shoplinkamazon a:hover {
    background: #e59c1c;
    color: #fff;
    opacity: 1;
}
.shoplinkrakuten a {
    background: #e85e5e;
    transition: .4s;
}
.shoplinkrakuten a:hover {
    background: #d93636;
    color: #fff;
    opacity: 1;
}
.shoplinkyahoo a {
    background: #62bedc;
    transition: .4s;
}
.shoplinkyahoo a:hover {
    background: #3ba9cd;
    color: #fff;
    opacity: 1;
}

/*楽天商品リンクのフォント*/
.raku
a {
	color:#20b2aa;		/*リンクの色*/
	text-decoration: none; 
}

.raku
a:hover {		
	transition: 0.3s ;		/*ゆっくり変える*/
	color:#48d1cc;			/*マウスオーバーしたときの色*/
	text-decoration: none;
}


/*商品リンクのスマホ用画像を大きく*/
@media screen and (max-width: 768px){
.product-item-thumb { 
  width: 100%;
}
}







/************************************
** SNSボタン
************************************/

/*---SNSボタンを丸くする---*/
#main .button-caption {
	display: none; /*キャプション非表示*/
}

/*SNSシェアボタン*/
.sns-share-message{
    font-weight: bold; /*太字*/
    color: #7d7d7d; /*文字色*/
}
.sns-share-buttons {
	flex-wrap: wrap; /*折り返す*/
	justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
	color: #fff; /*リンクの色*/
}
#main .sns-share a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
	color: #fff; /*リンクの色*/
}




/************************************
** ページナビゲーション
************************************/

/*次へボタン非表示*/
.pagination-next-link {
  display: none;
}

.page-numbers {
  color: #595857;
  border: 1px solid #DDD;
  border-radius: 50%;
}
.pagination .current {
  background-color: #f6bfbc;
  color: #fff;
}

.pagination a:hover {
  background-color: #fdeff0;
  color: #595857;
}

@media screen and (max-width: 480px) {
.page-numbers {
  width: 48px;
  height: 48px;
  line-height: 48px;
}
}

/************************************
** ダウンロードボタン
************************************/
/*ダウンロードボタン*/
a.btn--push {
  color: #fff;
  background: #f68d4d;
  border-bottom: 5px solid #c96d35;
}
a.btn--push:hover {
  margin-top: 3px;
  color: #fff;
  background: #fb8f4e;
  border-bottom: 2px solid #c96d35;
  text-decoration: none;
  opacity: 1;
}
/*ダウンロードエリア*/
.dl_container{
  width: 100%;
  display: flex; /*横並び*/
  margin: 10px 0 25px 0;
}
.dl_box {
  margin: 20px 20px;
}

/************************************
** 見出しに関するコード
************************************/

/*見出し初期化*/
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6
{
/*padding: 0;*/
/*margin: 0;*/
background:none;
/*border-collapse: separate;*/
/*border-spacing: 0;*/
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
border-radius: 0px 0px 0px 0px;
line-height: normal;
/*position:relative;*/
}


/*H1見出しデザイン*/
h1 {
  color: #595857;
}

/*H4見出しデザイン*/
/*entry-content内適用*/
.entry-content h4 {
     position: relative;
     color: #524e4d;
     padding:0.5em 0.5em 0.5em 1.4em;
     background-color: #d8f3a4;
	 margin:0 0 20px 0;
}
 
.entry-content h4::after {
     position: absolute;
     top: 50%;
     left:0;
     transform:translateY(-50%);
     content: '';
     width: 18px;
     height:4px;
     background-color:white;
}

/*H5見出しデザイン*/
.entry-content h5 {
     position: relative;
     padding:0.3em 0.5em 0.3em 1.4em;
     border: 1px solid #524e4d;
     border-radius: 3px;
	 margin:20px 0 20px 0;
}
 
.entry-content h5::after {
     position: absolute;
     top: 50%;
     left:0.7em;
     transform:translateY(-50%);
     content: '';
     width: 5px;
     height:25px;
     background-color: #87dce5;
}

/*H6見出しデザイン*/
.entry-content h6 {
  position: relative;
  padding: .25em 0 .5em .75em;
  border-left: 6px solid #c0c0c0;
  margin:20px 0 20px 0;
}
.entry-content h6::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  width: 100%;
  height: 0;
  border-bottom: 1px solid #808080;
}



/************************************
** サイドバー関連のカスタマイズ
************************************/

/* ウィジェット全体の行間 */
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
  margin: 2px 0;
  padding: 1px 6px;
}

/* サイドバー背景色透明 */
.sidebar{
  background:transparent;
}

/* サイドバー見出しH3デザイン */
.sidebar h3 {
  position: relative;
  color: #524e4d;/*文字色*/
 background-color: transparent;
  margin-bottom: 1em;
 text-align: center;
}

.sidebar h3:before {
  content: '';
  position: absolute;
  bottom: 10px;
  display: inline-block;
  width: 40px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #524e4d;
  border-radius: 5px;
}

.sidebar .widget h3 {
	margin: 0px 0px;
}

/*--------------------------------
サイドバーリンクのカスタマイズ
--------------------------------*/
ul.sidelink{
  counter-reset:list;
  list-style-type:none;
  padding:0;
  position: relative;
  text-align: center;
}

ul.sidelink li {
    font-size: 14px;
}
ul.sidelink li a {
  display: block;
  width: 80%;
  position: relative;
  color: #524e4d;
  font-size: 17px;
  font-weight: bold;
  padding: 6px 2px;
  margin: 10px auto;
  border: 1px solid #524e4d;
  border-radius: 20px;
  background-color: #f5f6f6;
}

/*ホバー背景色*/
ul.sidelink li a:hover {
  transition: 0.5s;
}
.mi a:hover{
  background-color: #e4f6ec;
}
.pu a:hover{
  background-color: #fbeefc;
}
.gr a:hover{
  background-color: #e9fad7;
}
.or a:hover{
  background-color: #fcedd3;
}
.bl a:hover{
  background-color: #e2fbfd;
}
.pi a:hover{
  background-color: #fbe9f2;
}
.be a:hover{
  background-color: #f5f4db;
}
.re a:hover{
  background-color: #fce6dd;
}


	
/************************************
** フッター設定
************************************/

/*フッター色*/
#footer {
	background: #a9a9a9;
	color: #fff;
}

/*メニュー区切り線非表示*/
#navi-footer li {
  border: none;
}

.navi-footer-in a {
  font-size: 13px; /*メニューの文字サイズ*/
  color: #fff;
}

.navi-footer-in a:hover { /*メニューのマウスホバー時の指定*/
  color: #fff;
  background: none; /*背景色をなしに*/
  text-decoration: underline; /*アンダーラインなし*/
}


/*モバイルでメニューを1カラムにする*/
@media screen and (max-width: 460px) {
  .navi-footer-in > .menu-footer li.menu-item { 
    width: 100%;
    display: block;
    flex: auto;
    padding: 0.1em 0;
  }
}


/************************************************
 ページ右下トップへ戻るボタン
*************************************************/

.go-to-top {
  right: 20px; /*右から20px*/
  bottom: 40px; /*下から55px*/
}

.go-to-top-button {
  border-radius: 50%; /*丸くする*/
  width: 60px; /*横幅*/
  height: 60px; /*高さ*/
  font-size: 30px; /*アイコンフォントのサイズ*/
  opacity:0.9; /*透明度*/
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2); /*影*/
  color: #595857; /*アイコンフォントの色*/
}

/*ホバー時*/
.go-to-top-button:hover {
  color: #595857; /*アイコンフォントの色*/
  background-color:#d3ffa8; /*背景色*/
  transition: all .5s ease; /* ふわっと変化するアニメーション */
}




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

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

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