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

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

/************************************
** ●コメント投稿のアイコン修正
************************************/

#submit {
  color: #FFF!important; /*フォントカラー*/
  background-color: #000!important; /*背景色*/
}

#submit:hover{
  color: #DDDDDD!important; /*フォントカラー*/
  background-color: #000!important; /*背景色*/
  transition: all 0.8s ease!important; /*アニメーション*/
}

/************************************
** ●お問い合わせフォームの送信ボタン
************************************/
.wpcf7-submit {
  color: #FFF!important; /*フォントカラー*/
  background-color: #000!important; /*背景色*/
}
.wpcf7-submit:hover{
  color: #DDDDDD!important; /*フォントカラー*/
  background-color: #000!important; /*背景色*/
  transition: all 0.8s ease!important; /*アニメーション*/
}

/************************************
** ●ヘッダーメニュー幅調整
************************************/

/* SNSアイコンメニュー幅変更 */
/* 本番ID: 5156-5160 / ローカルID: 5124-5131 */
#menu-item-5156, #menu-item-5157, #menu-item-5158, #menu-item-5159, #menu-item-5160,
#menu-item-5124, #menu-item-5126, #menu-item-5128, #menu-item-5130, #menu-item-5131 {
  width: 38px!important;
}
#menu-item-5156 > a, #menu-item-5157 > a, #menu-item-5158 > a, #menu-item-5159 > a, #menu-item-5160 > a,
#menu-item-5124 > a, #menu-item-5126 > a, #menu-item-5128 > a, #menu-item-5130 > a, #menu-item-5131 > a,
#menu-item-5155 > a, #menu-item-5122 > a {
  padding: 0!important;
}
/* ダミーメニュー（スペーサー）無効化 */
/* 本番ID: 5155 / ローカルID: 5122 */
#menu-item-5155, #menu-item-5122 {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  width: 20px!important;
}
#menu-item-5155 .caption-wrap, #menu-item-5122 .caption-wrap,
#menu-item-5156 .caption-wrap, #menu-item-5124 .caption-wrap,
#menu-item-5157 .caption-wrap, #menu-item-5126 .caption-wrap,
#menu-item-5158 .caption-wrap, #menu-item-5128 .caption-wrap,
#menu-item-5159 .caption-wrap, #menu-item-5130 .caption-wrap,
#menu-item-5160 .caption-wrap, #menu-item-5131 .caption-wrap {
  font-weight: 500;
  font-size: 18px;
}

/************************************
** ■モバイル端末時のメニュー カスタマイズ
************************************/

#navi-menu-content .menu-item-72,
#navi-menu-content .menu-item-73,
#navi-menu-content .menu-item-74  { /*メニュー削除*/
  display:none!important;
}
	
/************************************
** ■ウィジェット プロフィールのカスタマイズ
************************************/

/* 名前 */

.author-box .author-content .author-name{
	font-weight: normal; /* 太字にしない */
}

/* プロフィール文 */
.author-description{
	font-size: 14px;
}

/************************************
** ■スマホメニューを横スクロール
************************************/

@media screen and (max-width: 1030px){
  #header-container .menu-mobile{
    display:none;
  }
  .navi-in > .menu-mobile{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  #header-container #navi a{
    font-size:0.8em;
    padding: 1em 1.2em;
  }
  #header-container .navi-in > ul > .menu-item-has-children > a::after{
    display:none;
  }
  #navi .navi-in > .menu-mobile li {
    height: auto;
    line-height: 1.8;
  }
  .mblt-header-mobile-buttons {
    margin-top: 53px;
  }
}

/************************************
** #19: モバイルフッターメニューCLS修正
** display:none→flexのJS遅延表示を防止
************************************/
@media screen and (max-width: 834px) {
  .mobile-footer-menu-buttons {
    display: flex !important;
  }
}

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

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

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


/************************/
/* 固定ページの不要情報を非表示 */
/************************/

.page .eye-catch-wrap { /*アイキャッチ*/
display: none;
}

/************************************
**　　　　アピールエリア
************************************/
.appeal{
padding:.1em 0 .2em;
box-shadow: 0px 1px 4px 0 rgba(0,0,0,.1);
}
div#appeal-in.appeal-in.wrap{
padding:0;
min-height:0px;
max-height:30px;
}
.appeal-content{
background-color:#aaaaaa; /*背景色をこちらで変更します*/
margin:auto;
padding:0;
max-width:100%;
opacity:1;
line-height:1.6;
}
a.appeal-button {
color: #fff!important;
font-size:.85em;
padding:0 23em 0;
margin:0;
max-width:100%;
white-space: nowrap;
box-shadow: none;
}
@media screen and (max-width: 1023px){
a.appeal-button {
padding:0 18em 0 ;
}}
@media screen and (max-width: 834px){
a.appeal-button {
padding:0 13em 0 ;
}}
@media screen and (max-width: 652px){
a.appeal-button {
padding:0 8em 0 ;
}}
@media screen and (max-width: 500px){
a.appeal-button {
padding:0 6em 0 ;
}}
@media screen and (max-width: 420px){
a.appeal-button {
padding:0 3em 0 ;
}}
.appeal-button:hover {
transform:none;
box-shadow: none;
}

/************************************
** reCAPTCHA バッジ非表示
** ※Googleの規約上、フォームに説明文が必要
************************************/
.grecaptcha-badge {
  visibility: hidden;
}

/************************************
** ロゴ画像に白い縁取り効果（優しめ）
************************************/
.site-logo-image,
.logo-menu-button img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.6));
}

/************************************
** CLS防止
************************************/
/* ロゴ画像: サイズを事前確定してCLS防止 */
.header-site-logo-image,
.footer-site-logo-image {
  width: 240px;
  height: auto;
  aspect-ratio: 10 / 3;
}

/************************************
** NAVメニュー項目の下線削除
** ※Cocoonカスタム設定のインラインCSSを上書き
************************************/
.navi-in > ul > li {
  border-bottom: none !important;
}

/************************************
** NAVホバー時のトランジション修正
** 点滅防止のため::afterエフェクト無効化
************************************/
#navi .navi-in a::after {
  display: none !important;
}
#navi .navi-in a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}
/* カテゴリメニュー項目の余白（SNSアイコン・スペーサーは除く） */
#navi .navi-in > ul > .menu-item-type-taxonomy > a {
  padding-left: 1.2em!important;
  padding-right: 1.2em!important;
}

/************************************
** FAQ アコーディオン デザイン
************************************/
.cocoon-block-faq .faq {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.cocoon-block-faq .faq:hover {
  border-color: #94a3b8;
}
.cocoon-block-faq .faq-question {
  background: #f8fafc;
  padding: 16px 20px;
  transition: background 0.25s ease;
}
.cocoon-block-faq.is-style-accordion .faq-question {
  cursor: pointer;
}
.cocoon-block-faq.is-style-accordion .faq-question:hover {
  background: #f1f5f9;
}
.cocoon-block-faq .faq-question-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 8px;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.cocoon-block-faq .faq-question-content {
  font-weight: 700;
  font-size: 1.05em;
  color: #1e293b;
}
.cocoon-block-faq .faq-answer {
  background: #fff;
  padding: 18px 20px;
  border-top: 1px solid #e2e8f0;
}
.cocoon-block-faq .faq-answer-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 8px;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}
.cocoon-block-faq .faq-answer-content {
  color: #334155;
  line-height: 1.8;
  margin-top: -2px;
}
.cocoon-block-faq .faq-answer-content p {
  margin: 0;
}


/* Highlighting Code Block: コピーボタンを常時表示（デフォルトはホバー時のみ） */
.hcb_wrap {
  --hcb-clipbtn-opacity: 100 !important;
}

/* HCB コピーボタンを Font Awesome の clone アイコンに置き換え */
.hcb-clipboard {
  background-image: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.hcb-clipboard::after {
  content: "\f24d"; /* fa-clone */
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 1.1em;
  color: #333;
}
.hcb-clipboard.-done {
  background-image: none !important;
}
.hcb-clipboard.-done::after {
  content: "\f00c"; /* fa-check */
  color: #4caf50;
}


/* Amazon 価格の表示（asobulo-pochipp-price プラグイン・2026-11-05）
   文字の大きさはポチップの箱の価格（12px）、フッターの文字（.copyright の 14px）に合わせる */
/* 値段の数字だけを大きく太く。大きさ・太さ・色は同じ箱の商品名（.pochipp-box__title: 16px・700・同じ色）に合わせる */
.pochipp-box__price .asb-price-amount {
  font-size: 16px;
  font-weight: 700;
  color: inherit;
}
.asb-price-note {
  display: inline;   /* 価格・時点と同じ行の最後に「詳細」を並べる（details を行内にする） */
  margin: 0 0 0 .4em;
  font-size: 12px;
  line-height: 1.5;
}
.asb-price-note summary {
  display: inline;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;   /* 「詳細」の途中で折り返さない（行ごと次の行に落ちるのは可） */
  text-decoration: underline;
}
.asb-price-note summary::-webkit-details-marker {
  display: none;
}
.asb-price-note p {
  display: block;
  margin: 4px 0 0;
  opacity: .75;
}
/* 免責文は Copyright の行（.source-org.copyright）と同じクラスを持つので、文字の大きさ・色・行の高さはテーマのまま。折り返しだけ足す */
.asb-amazon-site-note {
  overflow-wrap: anywhere;
}
