@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.1
*/

/************************************
**TOPページ
************************************/

 /* 全体の画像サイズ調整 */
main img{
    max-height: 60vh;
    width: auto;
}

 /* グローバルメニュー */
.header-container-in.hlt-top-menu .logo-header img {
  max-height: 100%;
  height: auto;
  max-width: 210px;
  vertical-align: middle;
  margin: 10px 0;
}

#header-container {
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 10;
}

.site-name-text-link {
  color: #fff;
}

.navi {
  background: none;
}

.navi-in > ul .sub-menu {
  background: #fff;
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
}

.navi-in > ul li {
  width: auto;
}

.navi-in a {
  font-size: 13px; /* ナビ文字大きさ */
  font-weight: bold;
  position: relative;
  color: #fff; /* ナビ文字色 */
  padding: 0 20px;
  display: block;
  text-decoration: none;
}

.navi-in a:hover {
  background: none;
}

.navi-in a:before {
  position: absolute;
  left: 0;
  bottom: 6px;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #fff; /* マウスON時の下線色 */
  transform: scale(0, 1);
  transition: 0.4s;
}

.navi-in a:hover:before {
  transform: scale(1);
}

.navi-in > ul .sub-menu a {
  color: #666; /* サブメニュー文字色 */
  font-size: 12px; /* サブメニュー文字の大きさ */
}

.navi-in > ul .sub-menu a:before {
  background: #42d5e7; /* サブメニューマウスON時の下線色 */
}

.header-container-in.hlt-top-menu .logo-header {
  max-height: 100%;
}

.header-small {
  opacity: 0.9;
}
.header-small .header-container-in.hlt-top-menu .logo-header img {
  max-width: 130px;
  margin: 10px 0;
}

#container {
  padding-top: 60px;
}

[id^="toc"]:target {
  padding-top: 85px;
  margin-top: -85px;
}

/* エントリーカード枠線・影 */

.ect-vertical-card .entry-card-wrap {
margin-bottom: 24px;
}
.entry-card-wrap {
border:1px #d2d6d6;
box-shadow: 3px 3px 3px 3px #d2d6d6
}
.entry-card-wrap a {
transition: color .3s, background.3s, box-shadow .3s, transform .3s;
}
.entry-card-wrap:hover {
background: #ffffff;/*カードの色*/
box-shadow: 0 3px 0 #d2d6d6, 0 6px 0 rgba(0,0,0,.2);
transform: translateY(3px);
}
.entry-card-wrap a:active {
transition-duration: .1s;
}
.entry-card .cat-label{
display: none;
}
.eye-catch .cat-label {
border-radius: 5px;
}

.home main, .archive main{
    background-color: transparent;
    margin-top: 0;
    padding-top: 0;
}

.entry-card-wrap{
    background-color: white;
    border-radius: 4px;
    margin-bottom: 1em!important;
}

.entry-card .cat-label{
  display: none;
}

/* ページ送り */

.pagination-next-link {
  background-color: #18a9eb;
  color: #fff;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2); /*「次のページ」部分の影*/
}
.pagination-next-link:hover {
  background-color: #18a9eb;
  transition: all 0.5s ease;
  color: #fff;
}
.page-numbers {
  color: #007ad8;
  border: 1px solid #18a9eb;
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); /*数字部分の影*/
}
.pagination .current {
  background-color: #18a9eb;
  color: #fff;
}
.page-numbers.dots {
  opacity: 1;
  background: none;
}
.pagination a:hover {
  background-color: #18a9eb;
  color: #fff;
}
a.prev, a.next {
  display: none;
}
@media screen and (max-width: 480px) {
  .page-numbers {
    width: 48px;
    height: 48px;
    line-height: 48px;
  }
}


/************************************
** コンテンツエリア（記事内）
************************************/

/*タイトル真ん中*/
.page .entry-title,
.single .entry-title {
	text-align: center;
}

/* サムネイル真ん中 */
.entry-content figure.wp-block-image {
    width: 100%;
    text-align: center;
}

.eye-catch img{
  margin: 0 auto;
}

/* サムネイルラベル非表示 */
 .eye-catch .cat-label {
    display: none;
}

/* コンテンツ真ん中 */
.video-container, 
.instagram-container, 
.facebook-container,
.twitter-tweet {
    margin: 30px auto;
} 

/*記事内画像中央表示*/
.entry-content img{
margin:auto;
display:block;
}
.wp-caption{
margin:auto;
}


/* 目次全体デザイン */
	
.toc{
    background:#ffff; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#FFC679;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px -10px;
    padding-left: 20px;
    font-size: 23px;
    font-weight: 700;
    color: #FFC679; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次全体デザイン */
	
.toc{
    background:#ffff; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#FFC679;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px 10px;
    padding-left: 20px;
    font-size: 23px;
    font-weight: 700;
    color: #FFC679; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: FontAwesome;
    content : "\f0ca"; /* アイコンを変える場合はここを変更 */
    font-size:20px;
    margin-right:5px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#FFC679; /* アイコンの背景色を変える場合はここを変更 */
    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: FontAwesome;
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color: #FFC679; /* 色を変える場合はここを変更 */
}
.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以降の文字サイズを普通に */
}



/* ブログカード */

.blogcard-snippet,
.blogcard-footer {
  display: none;
}
.blogcard-wrap {
  transition: all .3s;
  max-width: 600px;
  margin: 2em auto;
}
.blogcard {
  border:1px solid #eaeaea !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
  padding: 10px;
}
.blogcard-wrap:hover {
  background: none;
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, .1);
}
.blogcard-thumbnail {
  margin: 0;
}
.blogcard-thumbnail img {
  display: block;
}
.blogcard-title {
  color: #555;
  letter-spacing: 0.5px;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 0 0;
  height: 45px;
  overflow: hidden;
}
.blogcard-content {
  min-height: auto;
  margin-left: 185px;
  padding-right: 6px;
}
.blogcard-label {
  top: -11px;
  left: 9px;
  padding: 3px 0.6em;
  background:#aaa;
  padding: 1px 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
}
.blogcard-content:after {
  content: "クリックして読む";
  background: #08bf5a; /* 背景色 */
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  width: 180px;
  border-radius: 20px;
  font-size: 13px;
  padding: 1px 0;
  margin-top: 6px;
}
@media screen and (max-width: 834px) {
  .blogcard-content {
    margin-left: 130px;
  }
  .blogcard-title {
    font-size:12px;
    line-height: 1.5;
    height: 35px;
    margin:0;
  }
  .blogcard-content:after {
    content: "タップして読む";
  }
  .blogcard-thumbnail{
    width:120px;
  }
}
@media screen and (max-width: 560px) {
  .blogcard-content:after {
    width: 120px;
    font-size: 12px;
  }
  .blogcard-title {
    margin:0;
  }
}
@media screen and (max-width: 320px) {
  .blogcard-thumbnail {
    width: 100px;
  }
  .blogcard-content {
    margin-left: 110px;
  }
  .blogcard-title {
    height: 35px;
  }
}

.single-post .entry-content {
    padding: 0 16px;
}
.article h2 {
    margin: 4em -20px 2em;
}
.article h3 {
    margin: 3em -16px 2em;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
}
.article h4 {
    border-top: 0;
}



/* 記事下の関連記事*/

h2.related-entry-heading span:before {
  content: "";
  z-index: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: "Font Awesome 4 Free"!important;
  content: "\f15c";
  color:#fff;
  background-color:#f8c678;/*お好みの色に*/
  display:inline-block;
  text-align: center;
 }
h2.related-entry-heading span{
  color:#999;
}
.related-entry-card-thumb img {
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.entry-card-title, .related-entry-card-title {
  color:#555;
}
.rect-mini-card .related-entry-card-wrap {
  border-bottom: 1px dashed #CCCCCC;/*区切り線*/
}
.related-entry-card .cat-label {
  display: none;/*カテゴリー非表示に*/
}



/************************************
** サイドバーエリア
************************************/

/* 検索窓 */
.sidebar .search-box, .search-menu-content .search-box {
  width: 100%;
  margin: 1em 0 2em;
  position: relative;
  display: flex;
  border-radius: 50px; /*全体を囲むボックスの角丸*/
  box-shadow:2px 4px 6px 3px #c4c4c4; /*全体を囲むボックスのシャドウ*/
}
.search-menu-content .search-box {
  box-shadow:0px 4px 6px 0px #333; /*スライドイン表示でのシャドウ*/
}

.sidebar .search-edit, .search-menu-content .search-edit {
  width: 80%; /*入力部分の長さ*/
  background: #fff; /*入力部分の背景色*/
  padding: 0 10px;
  border: none; /*ボーダーを消す*/
  border-radius: 50px 0 0 50px; /*左上、左下のみ角丸*/
  font-size: 16px;
}


.search-submit {
  width: 20%; /*ボタン部分の長さ*/
  background: #007ad8; /*ボタン部分の背景色*/
  color: #fff; /*アイコンの色*/
  position: static;
  right: auto;
  top: auto;
  font-size: 20px; /*アイコンの大きさ*/
  cursor: pointer;
  line-height: 40px; /*検索窓の高さ*/
  border: none;
  border-radius: 0 50px 50px 0; /*右上、右下のみ角丸*/
  padding: 0;
}

.search-box input::placeholder {
  color: #bbb; /*プレースホルダーの色*/
}
.search-box input:focus, .search-box button:focus {
  outline: 0; /*フォーカス時の枠線を消す*/
}

/* サイドバー見出し装飾 */
  h3.widget-sidebar-title {
    color: #333333;                      /* 文字色 */
    background: #ffffff;                 /* 背景色 */
    padding: 0.25em 0.6em;               /* [上下][左右]の余白 */
    border-top: none;                    /* 上枠 */
    border-right: none;                  /* 右枠 */
    border-bottom: none;                  /* 下枠 */
    border-left: solid 6px #18a9eb;      /* 左枠 */
  }


/* ---------------------------------09/19 吹き出しショートコード用追加------------------------------------ */

.voice {
    margin: 1em 0 1.3em;
    font-size: 0.95em;
}

.voice.l .icon {
    float: left;
}

.voice .icon .name {
    text-align: center;
}

.voice.l .voicecomment {
    float: right;
}

.clearfix:before, .clearfix:after, .cf:before, .comment-respond:before, .cf:after, .comment-respond:after, .widget ul li:before, .widget ul li:after {
    content: "";
    display: table;
}

.voice.big .icon {
    width: 18%;
}

.voice .icon img {
    border-radius: 50%;
    margin: 0;
    border: 4px solid #f5f5f5;
}

.voice .icon .name {
    font-size: 1em;
    padding: 0.4em 0;
}

.voice.big .voicecomment {
    width: 79%;
}

.voice .voicecomment {
    border: 3px solid #eee;
    background-color: #fff;
    color: #444;
    padding: 2.5%;
    position: relative;
    width: 85%;
    border-radius: 5px;
}

.voice.l .voicecomment:before {
    content: '';
    position: absolute;
    border-right: 8px solid #eee;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    top: 10px;
    left: -11px;
}

.voice.l .voicecomment:after {
    content: '';
    position: absolute;
    border-right: 10px solid #fff;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    top: 10px;
    left: -7px;
}

.voice .voicecomment p {
    margin-bottom: 1em;
	margin-top:0;
}

.voicecomment ul li {
    line-height: 1.5;
    border-bottom: dashed 1px silver;
    padding: 0.5em 2em;
    list-style-type: none!important;
}

.voicecomment ul li:before {
    background: #4dbcf0;
}

.voicecomment ul li:before {
    width: 0px;
    height: 0px;
    font-family: FontAwesome;
    font-size: 1.2em;
    content: "\f14a";
    position: absolute;
    left: 0em;
    color: #18a9eb;
}

.voice .voicecomment ol,.voice .voicecomment ul {
    margin: 1em 0;
    padding-left: 0;
	position: relative;
}

/* 20200927 吹き出しの中の出典の余白調整 */
.voice .voicecomment p.wp-caption-text {
    margin: 2px;
}

@media only screen and (max-width: 480px){
	.voice .voicecomment {
    	font-size: 0.95em;
	}
}

/* ---------------------------------09/20 関連記事追加------------------------------------ */
.box28 {
    position: relative;
    margin: 2em 0;
    padding: 20px 10px 0px;
    border: solid 7px #EEC032;
    border-radius: 4px;
}

.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #EEC032;
    color: #ffffff;
    font-weight: bold;
}

/* #mainの中のサーチボックス削除 */
main#main .search-box {
    display: none;
}

/* サイドバーサーチボックス右側の余白削除 */
.sidebar .search-submit {
    position: relative;
    right: -1px;
}

/************************************
** フッターエリア
************************************/

/* フッター幅*/
.footer {
	margin-top: 0;
	padding-top: 0;
}

#custom_html-8,
.footer-bottom {
	margin-top: 0;
	padding-top:0;
}
