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

/************************************
** 子テーマ用のスタイルを書く
************************************
/* =========================
   Instagram：円形グラデーション＋白ロゴ
   ========================= */

/* ボタン全体を正円にする */
.sns-follow .instagram-button{
  width: 36px;
  height: 36px;
  padding: 0 !important;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50% !important;

  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  ) !important;
}

/* ロゴを白抜きに */
.sns-follow .instagram-button .icon-instagram-logo{
  color: #fff !important;
  font-size: 24px; /* ロゴサイズ。必要に応じて調整 */
}

/* hover時（任意） */
.sns-follow .instagram-button:hover{
  filter: brightness(0.9);
}

.sns-follow .instagram-button{
  min-width: 36px !important;
  line-height: 1 !important;
}

/*新着記事・人気記事・ナビカードウィジェット（タイトルを重ねた大きなサムネイル以外）*/
.widget-entry-cards:not(.large-thumb-on) .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 0.9em;
}
.widget-entry-cards:not(.large-thumb-on) .card-snippet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 0.9em;
}


/*問い合わせ後の囲み*/
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #ee827c; /* Pink */
}

/*掲示板デザイン*/
div.bbp-template-notice.info {
    border: #808080 1px solid;
    background-color: #f3f3f3
}

#bbpress-forums li.bbp-footer,#bbpress-forums li.bbp-header {
    background: #ee827c;
    border-top: 1px solid #eee;
    font-weight: 700;
    padding: 8px;
    text-align: center
}

div.bbp-template-notice,div.indicator-hint {
    border-width: 1px;
    border-style: solid;
    padding: 0 .6em;
    margin: 5px 0 15px;
    border-radius: 3px;
    background-color: snow;
    border-color: #ee827c;
    color: #000;
    clear: both
}


/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
display: none;
}

/* プロフィールボックス */
.author-box .author-name { /*ニックネームのスタイル指定*/
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0;
}
.author-name a {
  text-decoration: none;
  color: #333; /*ニックネームの文字色*/
}
.author-widget-name { /*肩書きのスタイル指定*/
  font-size: 0.8em;
  color: #bbb;
}
.author-box p { /*プロフィール文のスタイル指定*/
  margin-top: 1em;
  line-height: 1.5;
  font-size: 0.9em;
}
.author-box { /*全体を囲むボックスのスタイル指定*/
  border: none;
  border-top: 1px solid #c0c0c0;
  margin: 2em 0;
  padding: 30px 2% 1.8%;
  line-height: 1.4;
  position: relative;
}
.author-box::after { /*全体を囲むボックス上部の見出し設定*/
  content: "ABOUT ME";
  font-size: 14px;
  background: #c0c0c0;
  border-radius: 0 0 10px 10px;
  color: #fff;
  padding: 6px 20px;
  position: absolute;
  top: 0;
  right: 0;
}
.author-follows {
  background: none;
  margin: 0; 
  padding: 0;
}
.author-box .sns-follow-message {
  display: none;
}
.author-box .sns-follow-buttons a.follow-button { /*フォローボタンのスタイル指定*/
  font-size: 18px;
  width: 36px; 
  height: 36px;
  border-radius: 0%;
  margin-bottom: 4px;
  margin-right: 4px;
  background: #c0c0c0; /*フォローボタン背景*/
  color: #fff; /*アイコンの色*/
  border: none; /*ボーダーの指定*/
  transition: .5s;
}
.author-box .sns-follow-buttons a.follow-button:hover {
  background: #2ea5d0; /*フォローボタンのマウスホバー時の背景色*/
  opacity: 1;
}
.author-box a.follow-button span {
  line-height: 32px;
}
@media screen and (max-width: 480px){
.author-box {
  text-align: center;
  font-size: 0.9em;
}
.author-box::after {
  right: auto;
  left: 0;
}
.author-thumb {
  float: none;
  margin-top: 3px;
  width: 120px;
  display: inline-block;
}
.author-box .author-thumb {
  float: none;
  margin-top: 3px;
  width: 120px;
}
.author-box .author-thumb img {
  margin: 0 auto;
}
.author-box .author-content {
  margin: 0;
}
.author-description {
  text-align: left;
}
.author-box .sns-follow-buttons {
  justify-content: center;
}
}
.author-box .icon-twitter-logo::before {
  font-family: FontAwesome;
  content: "\f099"
}
.author-box .icon-facebook-logo::before {
  font-family: FontAwesome;
  content: "\f09a";
}
.author-box .icon-hatebu-logo::before {
  font-family: Verdana;
  content: 'B!';
  font-weight: bold;
}
.author-box .icon-google-plus-logo::before {
  font-family: FontAwesome;
  content: "\f0d5";
}
.author-box .icon-youtube-logo::before {
  font-family: FontAwesome;
  content: "\f167";
}
.author-box .icon-pinterest-logo::before {
  font-family: FontAwesome;
  content: "\f231";
}
.author-box .icon-amazon-logo::before {
  font-family: FontAwesome;
  content: "\f270";
}
.author-box .icon-github-logo::before {
  font-family: FontAwesome;
  content: "\f09b";
}

/* new listで投稿日・更新日を表示させる */
.new-entry-card-date {
  display: block;
}

/*SNSシェアボタン*/
#main .button-caption {
	display: none; /*キャプション非表示*/
}

.sns-share-message{
	font-weight: bold; /*太字*/
	color: #ee827c; /*文字色*/
	margin-bottom: 10px;
}
.sns-share-buttons {
	flex-wrap: nowrap; /*折り返さない*/
	justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 30px; /*アイコンのサイズ*/
	margin: 0 15px; /*ボタン同士の間隔*/
}
#main .sns-share a {
	width: 50px; /*ボタンの横幅*/
	height: 50px; /*ボタンの高さ*/
}

/*SNSフォローボタン*/
.sns-follow-message{
	font-weight: bold; /*太字*/
	color: #ee827c; /*文字色*/
	margin-bottom: 10px;
}
.sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 30px; /*アイコンのサイズ*/
	margin: 0 15px; /*ボタン同士の間隔*/
}
#main .sns-follow a {
	width: 50px; /*ボタンの横幅*/
	height: 50px; /*ボタンの高さ*/
}

/* strongタグをピンク色に */
strong {
    font-weight: bold; 
    color: #ee827c;
}

/* カテゴリーページのアイコンを非表示にする */
.archive-title :before {
  display: none;
}

/* 関連記事のカスタマイズ */
h2.related-entry-heading span {
  color: #333;
}

.related-entry-card-thumb img {
  border-radius: 5px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 22%);
}

.entry-card-title,
.related-entry-card-title {
  color: #333;
}

.rect-mini-card .related-entry-card-wrap {
  border-bottom: 1px dashed #ccc; /* 区切り線 */
}

.widget-entry-card {
  font-size: 0.9rem;
  position: relative;
}

.widget-entry-cards .a-wrap {
    padding: 5px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.card-thumb img {
	border-radius:5px;
	box-shadow: 0 2px 4px rgb(0 0 0 / 22%);
}

/* ウィジェット新着記事のサムネイルを角丸 */
.new-entry-card img{
	border-radius:5px;
	box-shadow: 0 2px 4px rgb(0 0 0 / 22%);
}

/* アイキャッチ画像を角丸 */
.eye-catch img {
	border-radius: 8px;
}

/* コンテンツ内の画像を角丸 */
.wp-block-image img {
	border-radius: 8px;
}

/* ブログカードのサムネイルを角丸 */
.blogcard-thumbnail img {
	border-radius:5px;
	box-shadow: 0 2px 4px rgb(0 0 0 / 22%);
}

/* 記事タイトルとアイキャッチ画像の間を空ける */
.entry-title {
  margin: 10px 0px 40px 0px; 
}

/* 見出しリセット */
/* 見出し1 */
.article h1{
	margin-top: 0em; 
	margin-bottom: 0em; 
	background:none; 
}

/* 見出し2 */
.article h2{
	margin-top: 0em; 
	margin-bottom: 0em; 
	background:none; 
}

/* 見出し3 */
.article h3{
	border-top:none; 
	border-bottom:none; 
	border-left:none; 
	border-right:none; 
	padding: 0; 
}

/* 見出し4 */
.article h4{
	border-top:none; 
	border-bottom:none; 
	padding: 0; 
}

/* 見出し5 */
.article h5{
	border-bottom:none; 
	padding: 0; 
}

/* 見出し6 */
.article h6{
	border-bottom:none; 
	padding: 0; 
}

/* 見出しのデザイン */
.article h1{
    position: relative;
    width: 100%;
	margin-top: 0px;
	margin-bottom: 16px;	
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 14px;
}
	
.article h1::before {
	font-family:"FontAwesome"; 
	content:"\f1b0"; 
	margin-right:9px; 
}

.article h2{
    position: relative;
    width: 100%;
	margin-top: 80px;
	margin-bottom: 20px;
	padding-top: 0px;
    padding-left: 25px;
    color: #ee827c;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 20px;
    border-bottom: 5px solid #f7f7f7

}

.article h2:before{
    position: absolute;
    top: .2em;
    left: 0;
    content: "";
    display: inline-block;
    width: 6px;
    height: .6em;
    margin-right: 8px;
    background-color: #ee827c;
    border-radius: 3px 3px 0 0
}

.article h2:after{
    position: absolute;
    top: .7em;
    left: 0;
    content: "";
    display: inline-block;
    width: 6px;
    height: .5em;
    margin-right: 8px;
    background-color: #efcaca;
    border-radius: 0 0 3px 3px
}

.article h3{
	color: #3c3c3c;
    position: relative;
    margin: 40px 0 20px;
	padding-left: 25px;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.5
}

.article h3:before {
    position: absolute;
    top: .15em;
    left: 0;
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.1em;
    margin-right: 8px;
    background-color: #ee827c;
    border-radius: 3px;
    vertical-align: text-top
}

.article h4{
	color: #3c3c3c;
    position: relative;
    margin: 40px 0 20px;
	padding-left: 25px;
	font-size: 1.0rem;
    font-weight: bold;
    line-height: 1.4
}

.article h4:before {
    position: absolute;
    top: .1em;
    left: 0;
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.1em;
    margin-right: 8px;
    background-color: #bfbfbf;
    border-radius: 3px;
    vertical-align: text-top
}

/*トップページのタイトルを非表示にする*/
.home.page .entry-title {
        display: none;/*タイトル非表示*/
}

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

/*アピールエリアの高さ設定　スマホ*/
@media (max-width: 767px){
#appeal {
height: 80vw; 
}

/* ショートコード「new_list」のPCの場合のスタイル */
@media screen and (min-width: 769px) {
  .widget-entry-card {
    font-size: 18px;
  }
  .widget-entry-card-snippet {
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.6;
    color: #3c3c3c;
  }
}

/* ショートコード「new_list」のスマートフォンの場合のスタイル */
@media screen and (max-width: 768px) {
  .widget-entry-card {
    font-size: 17px;
  }
  .widget-entry-card-snippet {
    display: none; /* スニペットを非表示にする */
    margin-top: 10px;
    line-height: 1.6;
    color: #3c3c3c;
  }
}

/* サムネイルとタイトルとの間を空ける */
.card-title-bold .card-title {
  padding-left: 10px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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