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

/************************************
** 子テーマ用のスタイルを書く

/*Cocoonのcat-label（カテゴリラベル）のカスタマイズ（全体）*/
.cat-label, .related-entry-card .cat-label {
    padding: 2px 10px;
    top: 0%;
    left: 0%;
    border: 0;
    border-radius: 0px;
    line-height: 2;
    font-size: 0.75em;
    font-weight: 500;
}

/* POCHIPPボックスのロゴを非表示にする */
.pochipp-box__logo {
    display: none !important;
}

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

/* SNSシェアボタン */
.sns-share-message {
    font-weight: bold; /* 太字 */
	font-size: 14px; /* アイコンのサイズ */
    color: #333; /* 文字色 */
}

.sns-share-buttons {
    display: flex;
    flex-wrap: nowrap; /* 折り返さない */
    justify-content: center; /* 中央寄せ */
}

.sns-share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* 丸くする */
    font-size: 24px; /* アイコンのサイズ */
    width: 50px; /* ボタンの横幅 */
    height: 50px; /* ボタンの高さ */
    margin: 0 10px; /* ボタン同士の間隔 */
}

#main .sns-share a {
    width: 50px; /* ボタンの横幅 */
    height: 50px; /* ボタンの高さ */
    border-radius: 50%; /* 丸くする */
    font-size: 24px; /* アイコンのサイズ */
    display: flex;
    align-items: center;
    justify-content: center;
}

/*シェアボタンのアイコン*/
.sns-share.ss-top .sns-buttons a .social-icon,
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 20px; /*アイコンの大きさ*/
	padding-bottom: 3px; /* アイコンを上方向に移動 */
}

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

/* ページナビ */
.pagination-next {
  display: none;
}

.page-numbers {
  color: var(--cocoon-text-color, #000); /* --cocoon-text-color が未定義の場合は #000 をデフォルト値として使用 */
  text-decoration: none;
  display: inline-block;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  margin: 0 4px;
  border: none;
  border-radius: 0px; /* 角丸適切な値を指定 */
}

.pagination .current,
.pagination a:hover {
  background-color: #333333;
  color: #fff;
}

.page-numbers.dots {
  opacity: 1;
  background-color: #fff;
}

/* プロフィールの調整（デスクトップ・モバイル） */
.author-description {
  font-size: 75%;
  font-feature-settings: "palt";
  letter-spacing: 1.2px;
}
.author-box p {
  line-height: 1.7;
}
.author-content {
  padding: 1em 0 0 !important;
}
/* 全体のスタイル */
.author-box {
  background-color: #fff;
  color: black;
  border: 0;
}
/* PC版・モバイル版のスタイル */
.author-box {
  border: 0; /* 共通スタイル */

  @media screen and (min-width: 768px) {
    /* PC版の場合の追加スタイル */
  }
  @media screen and (max-width: 767px) {
    /* モバイル版の場合の追加スタイル */
  }
}
/* アバターネームのスタイル */
.author-name a {
  color: var(--cocoon-text-color);
  text-decoration: none;
}
/* アイコンをセンタリング */
.author-box .sns-follow-buttons a.follow-button span::before {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -55%);
}
/* SNSボタンのスタイル */
.author-box .sns-follow-buttons a.follow-button {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
}
/* モバイルメニューのスタイル */
.mobile-menu .author-box {
  border: 0;
}

/* ウィジェットカード */
.new-entry-card-link,
.popular-entry-card-link {
    padding: 0 !important;
    margin-bottom: 10px !important;
}
.new-entry-card-link.a-wrap:hover,
.popular-entry-card-link.a-wrap:hover {
    background-color: transparent;
}
.new-entry-card-link.a-wrap .card-thumb,
.popular-entry-card-link.a-wrap .card-thumb {
    transition: all 0.3s ease-in-out;
}
.new-entry-card-link.a-wrap:hover * .card-thumb,
.popular-entry-card-link.a-wrap:hover * .card-thumb {
    opacity: 0.5;
}
/* 見出しの行間を広げる */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.5; /* 適切な行間に調整 */
}

/* 検索の文字 */
.wp-block-search__label {
  color: #fff; /*文字色白*/
}

************************************/
/*必要ならばここにコードを書く*/

/* トップへ戻るボタン画像の表示調整 */
.go-to-top-button {
 width: 60px; /* ボタン画像の表示幅 */
 height: auto; /* ボタン画像の高さは自動調整 */
}
.go-to-top-button:hover { /* カーソルを合わせると少し拡大する */
  transform: scale(1.1);
}
.go-to-top {
 right: 30px; /* 右から10pxの位置に配置 */
 bottom: 30px; /* 下から30pxの位置に配置 */
}

/* ページ内のスムーススクロール */
html {
 scroll-behavior: smooth;
}
/* トップへ戻るボタン＝＝＝ここまで↑↑ */

/* 引用カスタム＝＝＝ここから↓↓ */
blockquote {
    background: #F0F0F0; /*背景色を少し濃いめの灰色に*/
    border: none; /*右線*/
    border-radius: 0px; /*角を丸める*/
    position: relative; /* 要素の位置を指定 */
}

blockquote:before { /*上の引用アイコン*/
    position:  absolute; /* 要素の配置方法を指定 */
    font-family: "Font Awesome 5 Free";
    content: "\f10d";
    top: 8px; /*上からの距離*/
    left: 10px; /*左からの距離*/
    color: #fff;
    font-size: 1.5em;
    font-weight: 900;
}

blockquote:after { /*下の引用アイコン*/
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: "\f10e";
    bottom: 20px; /*下からの距離*/
    right: 10px; /*右からの距離*/
    color: #fff;
    font-size: 1.5em;
    font-weight: 900;
}
/* 引用カスタム＝＝＝ここまで↑↑ */

/*　84のアイコンを中央に　*/
img.wp-image-1610 {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* 84のアイコン＝＝＝ここまで↑↑ */

/* === 景品表示法対応 === */
/* Cocoon設定メインカラム左上のPR表記 */
.pr-label-s {
  display: inline-block;
  position: absolute;
  top: -0px; /* メインカラム上端からの位置調整 */
  left: 0px; /* メインカラム左端からの位置調整 */
  margin: 0;
  padding: 5px 0 5px 0;
  width: 55px;
  text-align: center;
  color: #fff; /* 文字の色 */
  font-size: 12px;
  background: #c8c8c8; /* ラベルの色 */
  border-radius: 3px 0 3px 0;
  border: none;
  }
/* === 景品表示法対応ここまで === */

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

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

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