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

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

/************************************
** トップシェアボタン
************************************/
.sns-share.ss-high-and-low-lc a .social-icon {
  font-size: 22px;
}
/************************************
** ボトムシェアボタン
************************************/
@media screen and (min-width:481px) {
  .sns-share, .sns-follow {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
  }
}
.sns-share-buttons {
  justify-content: space-evenly;
}
.sns-share-buttons a {
  font-size: 1.25em;
  border-radius: 50%;
  width: 50px!important;
  height: 50px;
  opacity: .6;
}
@media screen and (max-width:834px) {
  .ss-bottom .sns-share-buttons a {
    font-size: 1.3em;
  }
}
.sns-share-buttons a .button-caption {
  display: none!important;
}
.sns-share-message, .sns-follow-message {
  color: #bbb;
  margin-bottom: 30px;
  position: relative;
}
.sns-share-message:before, .sns-follow-message:before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 2px;
  left: 50%;
  bottom: -5px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-radius: 3px;
  background-color: #c0c0c0;
}

/************************************
** ボトムフォローボタン
************************************/
.sns-follow-buttons {
  justify-content: space-evenly;
}
.sns-follow-buttons a {
  font-size: 1.7em;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  opacity: .6;
}
@media screen and (max-width:834px) {
  .ss-bottom .sns-follow-buttons a {
    font-size: 1.3em;
  }
}

/*グローバルナビ*/
nav#navi, .menu-header .sub-menu{
 box-shadow:0 2px 5px -6px rgba(0,0,0,.8);
}
.menu-header .sub-menu .item-label{
  font-size: 90%;
  color: #ffffff;
}
.menu-header .menu-item:hover {
  border-bottom: 1px solid #57b5a8;
  transition: all .1s ease;
}
.menu-header .current-menu-item>a .item-label,
.menu-header .current-menu-ancestor>a .item-label,
.menu-header .item-label:hover{
  color: #4d4d4d !important;
  transition: all .2s ease;
  border-bottom: none;	
}

.widget-entry-card-content{
 font-size: 11pt;
}

#navi .navi-in > ul > li{
  border-left: 1px solid #eee;
}

#navi .navi-in > ul > li:last-child{
  border-right: 1px solid #eee;
}

/*グローバルナビメニュー マウスオーバーでアンダーライン*/
#navi .navi-in a:after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 0px;/*線の位置*/
bottom: 1px;/*線の位置*/
height: 1px;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #4d4d4d;/*線の色*/
transform: scale(0,1);/*マウスオーバーの前は線を消す*/
transition: 0.3s;/*線が0→100%になるまでの秒数*/
}
/*グローバルメニューのフォントサイズ等変更*/
.navi-in .menu-header .item-label{
6font-size: 16px;
font-weight: bold;
}

#navi .navi-in a:hover:after{
transform: scale(1);/*マウスオーバー後、線を100%出す*/
}
/*選択中のカテゴリーにアンダーライン*/
.current-menu-item:not(:first-child):after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 0px;/*線の位置*/
bottom: 1px;/*線の位置*/
height: 1.5px;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #4d4d4d;/*線の色*/
}

.internal-blogcard::after{
	content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #57b5a8; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}
/*日付非表示*/
.page .date-tags {
display: none;
}
/*スマホで全ページ上サイドバーを非表示480px以下*/
@media screen and (max-width: 480px){
  #sidebar{
    display: none;
  }
}
/* エントリーカード横に並べる */
.widget-entry-cards.card-large-image .a-wrap {
width:32.5%;
height:auto;
display: inline-flex;
}
@media screen and (max-width: 768px) {
.widget-entry-cards.card-large-image .a-wrap {
width:49%;
display: inline-flex;
}
}
@media screen and (max-width: 480px) {
.widget-entry-cards.card-large-image .a-wrap {
width:auto;
display: inline-flex;
}
}
.widget-entry-cards.not-default figure img {
padding: .5em;
}

.widget-entry-cards.card-large-image .a-wrap {
font-size: 95%;
text-align: left;
padding:.5em;
}

/* 記事一覧のタイトル */
.top-title01 {
  display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
	font-size: 24px;
	margin-bottom:1em;
}
.top-title01:before, .top-title01:after {
  border-top: 1px solid;
  content: "";
  width: 3em; /* 線の長さ */
}
.top-title01:before {
  margin-right: 1em; /* 文字の右隣 */
}
.top-title01:after {
  margin-left: 1em; /* 文字の左隣 */
}
.top-title02{font-size: 20px;} /* カテゴリー一覧タイトル文字サイズ */

/* もっと見るボタン */
.more-button {
    max-width: 160px;
    margin: 0 auto;
}
.more-button a {
    display: block;
    margin:25px 0;
    padding: 0.5em 1em;
    border-radius: 0.4em;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: #57b5a8;
    box-shadow: 0 5px 20px #B2B2B2;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.more-button a:hover{
    box-shadow:none;
    transform: translateY(3px);
    opacity:1;
}

/*---------------------------------
カテゴリーに線だけを入れる
--------------------------------*/
.widget_categories ul li a{ 
  border-bottom: 1px dashed #CCCCCC; /* 下線の種類 */
}

.widget_categories > ul > li > a:first-child{ 
  border-top: none;
}
/************************************
** サイドバー追尾目次
************************************/
.sidebar-scroll{
  top:15px !important;
}
.sidebar h3{
  font-size:0.9em;
  padding: 7px 12px;
}
.sidebar .widget_toc{
   box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.sidebar .toc-widget-box{
  margin-top: -0.9em;
}
.sidebar .toc{
  padding: 0;
  width:100%;
}
.sidebar .toc-content {
  overflow-y: scroll;
  max-height: 390px;
  background: #fff;
  padding: 0.5em 1.5em;
}
.sidebar .toc li{
  line-height:1.6;
  margin-bottom: 1em;
  font-size:0.85rem;
  color:#57b5a8;
}
.sidebar .toc-content > ol  > li,.sidebar .toc-content > ul  > li{
  font-weight:600;
  padding-left: 0.5em;
}
.sidebar .toc-content a{
  letter-spacing:0.5px;
}
.sidebar .toc .toc-list ul, .sidebar .toc .toc-list ol {
  margin: 1em 0;
  list-style-type:none;
  font-weight:500;
}
@media screen and (max-width: 768px){
  .sidebar-menu-button .widget_toc{
    display:none;
  }
}
/* 目次全体デザイン */
.toc{
    background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#57b5a8;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:center;
    margin: 0 20px 20px -10px;
    padding-left: -20px;
    font-size: 20px;
    font-weight: 700;
    color: #57b5a8; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: "Font Awesome 5 Free";
    content : "\f03a"; /* アイコンを変える場合はここを変更 */
    font-size:10px;
    margin-right:5px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#57b5a8; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.7em 0 0.5em 1.4em;
    border-bottom: dashed 1px silver;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: "Font Awesome 5 Free";
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color: #57b5a8; /* 色を変える場合はここを変更 */
    font-weight: bold;
}
.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
}

.sidebar {
font-size: 0.9em;
}

/*フォームスタート*/
.inquiry{
    text-align: left;
    max-width:800px;
    width:100%;
}
.wpcf7 form {
    background: #fff;
}
/*テーブル設定*/
.wpcf7-form table td,.wpcf7-form table th {
    border: 0px solid #fff;
    background: #fff;
    border-bottom: 1px solid #ccc;
}
.wpcf7-form table th{
    vertical-align: top;
    color:#5a5a5a;
}
.wpcf7-form table tr th {width:30%;}
.wpcf7-form table tr td {width:70%;}
@media screen and (max-width: 767px){
  .wpcf7-form table tr th ,
  .wpcf7-form table tr td {
      display:block;
      width:100%;
  }
  .wpcf7-form table th{
        padding: 10px 0px 0px 0px;
        border-bottom: 0px solid #fff;
  }
  .wpcf7-form table td{
        padding: 0px 15px 20px 15px;
  }
}
/*タイトル*/
.cont7-title {
    line-height:14px;
    text-align: left !important;
}

/*必須項目*/
.con-need {
    background: #fc5b5b;
    color: #FFF !important;
    padding: 3px;
    border-radius: 10%;
    font-size: 11px;
    margin-right: 5px;
}

/*任意項目*/
.con-any {
    background: #2ca9e1;
    color: #FFF !important;
    padding: 3px;
    border-radius: 10%;
    font-size: 11px;
    margin-right: 5px;
}

/*項目名サブタイトル*/
.con-sub {
    font-size: 11px;
    color: #f8a7a0
}
@media screen and (max-width: 767px){
    .con-sub{
        top: -10px;
        position: relative;
    }
}
/*入力幅*/
.con7-long{
    width:100%;
}
.con7-short{
    height: 35px;
}
.con7-date {
    width: 180px!important;
    margin-right: 10px;
    min-height:35px;
    height: 35px;
}
.con7-time {
    width: 90px!important;
    height: 35px;
}
.con7-age{
    width: 60px!important;
    height: 35px;
}

.con7-comment{
    font-size:90%!important;
    line-height: normal;
    width: 90%;
    margin: 0 auto;
}
@media screen and (min-width: 768px){
    .con7-short {
        width: 50%;
        max-width:300px;
    }
}

@media screen and (max-width: 480px){
    .con7-date {
        width: 140px!important;
    }
}
/*ボタン*/
.box-button{
    text-align: center;
    padding: 20px;
}
.wpcf7 .wpcf7-submit {
    background: #1260ce!important;
    border: 1px solid #1260ce!important;
    color:#fff;
    font-size:14px;
    font-weight: bold;
    width :50%;
    max-width:250px;
    height:60px;
}
.wpcf7 .wpcf7-submit:hover{
    background: #fff!important;
    border: 1px solid #1260ce!important;
    color:#1260ce!important;
}
/*フォームエンド*/

/************************************
** モバイル版（フッターメニュー表示時）ナビゲーションメニュー
************************************/

/* ↓↓ナビゲーションメニュー、サイドバーの×ボタン */
.menu-close-button {
  margin-right: 8%;
  text-align: right;
  color: #57b5a8;
  opacity: 0.7;
}
/* ↑↑ ナビゲーションメニュー、サイドバーの×ボタン */

/* ↓↓ナビゲーションメニュー、サイドバーの背景色 */
.menu-content {
  background-color: #ecf6ed;
}
/* ↑↑ナビゲーションメニュー、サイドバーの背景色 */

/*  ↓↓主項目 */
.menu-drawer > li {
  padding: 15px 0;
  line-height: 2;
  text-align: center;
}

.menu-drawer > li > a {
  border-radius: 10px;
  box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.5);
  background: linear-gradient(10deg, #57b5a8, #57b5a8);
  margin: 6px 0;
  padding: 4px 1em;
  border: 2px solid white;
  color: white;
}

.menu-drawer > li > a:hover {
  color: white;
  opacity: 0.6;
}
/*  ↑↑主項目 */

/*  ↓↓副項目 */
.menu-drawer .sub-menu li {
  text-align: left;
}

.menu-drawer .sub-menu li a {
  position: relative;
  padding: 0 25px;
  color: #312F2F;
}

.menu-drawer .sub-menu li a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-left: 11px solid #57b5a8;
  border-bottom: 8px solid transparent;
}

.menu-drawer .sub-menu li a:hover {
  opacity: 0.6;
}

/*グローバルメニューのフォントサイズ等変更*/
.navi-in .menu-header .item-label{
font-size: 12px;
font-weight: bold;
}

/*  ↑↑副項目 */


/*フロント固定ページのタイトルを非表示　*/
.home .article h1{display:none;}
/*フロント固定ページのの投稿日を非表示　*/
.home .post-date{display:none;}
/*フロント固定ページの更新日を非表示*/
.home .post-update{display: none;}
/*フロント固定ページのシェアボタンを非表示*/
.home.page .sns-share{display: none;}
/*フロント固定ページのフォローボタンを非表示*/
.home.page .sns-follow{display: none;}
/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{display: none;}

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

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

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