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

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

.body{
  letter-spacing:0.05em;
}

/* 画像を角丸にする */
.skin-grayish .widget-entry-card-link.a-wrap .widget-entry-card-thumb img{
   border-radius:5px;
}

/*  サブメニュー　ボーダーと背景色 */
.skin-grayish .navi-in>ul>li>.sub-menu{
  background:#e9e8e8;
  border:1px solid #A47864;
  border-top:0;
}
:not(.page-id-5).skin-grayish .navi-in>ul>li>.sub-menu{
  background:#fdfdfd;
}

/* 新着記事一覧 カテゴリーラベルは必要な部分のみ表示 まず全て非表示にする*/
.new-entry-card.widget-entry-card .cat-label {
  display: none;
}
/* 新着記事一覧 カテゴリーラベルは必要な部分のみ表示 cstm-pat-2のクラス名がある場合は表示*/
.cstm-pat-8 .new-entry-card.widget-entry-card .cat-label {
  display: block;
}
/* 人気記事一覧 カテゴリーラベルは必要な部分のみ表示 まず全て非表示にする*/
.popular-entry-card.widget-entry-card .cat-label {
  display: none;
}
/* 人気記事一覧 カテゴリーラベルは必要な部分のみ表示 cstm-pat-5のクラス名がある場合は表示*/
.cstm-pat-5 .popular-entry-card.widget-entry-card .cat-label {
  display: block;
}


/* tabブロック(新着一覧、更新一覧）　カーソルの点滅を消す */
:is(.is-style-grytab-cir, .is-style-grytab-cir-equal, .is-style-grytab-cir-equal-pc, .is-style-grytab-cir-equal-odd) .tab-label-group .tab-label{
  caret-color: transparent;
}


/*******************************
**  grayish-cstmpat-css 上書き
*******************************/

/* More文字幅 */
p.cstm-more-btn a{
  font-weight:700;
  letter-spacing:-0.01em;
}

/* Moreアイコン　入れ替えの為 部分的に一旦初期化　*/
p.cstm-more-btn a::before {
  background-color: initial;
  position: initial;
  top: initial;
  bottom: initial;
  margin: initial;
}
p.cstm-more-btn a:hover{
  color:#afa5a5;
}
/* Moreアイコン */
p.cstm-more-btn a::before {
  background-image:url(/wp-content/uploads/2025/09/1574921.png);
  background-size: 930px 580px;
  width:110px;
  height:25px;
  background-position: -1587px -1635px;
  position:absolute;
  right:60px;
  filter: brightness(279%) contrast(255%) grayscale(13%) hue-rotate(82deg) invert(22%) opacity(83%) saturate(213%) sepia(91%);
}
/* Moreアイコン　動き幅　ホバー時のアイコン色 */
p.cstm-more-btn a:hover::before {
  transform: translate(0.6em);
/*  filter: invert(88%) sepia(100%) saturate(2929%) hue-rotate(173deg) brightness(89%) contrast(104%); */
  filter: brightness(279%) contrast(143%)  invert(23%) opacity(71%) sepia(100%);
}
/* 「News」の Moreアイコン　背景色を無効化 色変更 */
.cstm-pat-1.backimg-pat p.cstm-more-btn a::before {
  background-color: initial;
  filter: brightness(0) invert(1);
}

/* More btn 位置を右に移動*/
:is(.cstm-pat-2, .cstm-pat-8, .cstm-pat-9) p.cstm-more-btn {
  background-color: initial;
  justify-content: right;
}


/* infomationボックス　背景 */
:is(.is-style-information-box, .information-box, .information){
  background-color:#fcfcfc;
}

/************************************
** 記事の見出しに連番をつける
************************************/
body:not(.page-id-6) .entry-content {
  counter-reset: counter;
}


body:not(.page-id-2,.page-id-6) .entry-content h2::after {
  position:absolute;
  left:0;  
  counter-increment: counter;
  content: counter(counter, decimal-leading-zero) ;
  top:-40px;
  color:var(--skin-grayish-site-main-hover);
  font-size:3.4em;
  font-style:italic;
  font-weight:460;
  letter-spacing:0;
  opacity:0.2;
  z-index:-1;
}
body:not(.page-id-6) .entry-content h2{
  line-height:1.3;
}

/*****************************************
** お問い合わせページ
*****************************************/
/* お問い合わせformの位置 */
.page-id-2 .article h2{
  margin:-2em 0 2em;
}
.page-id-2 .wp-block-column{
  padding-top:10px;
}
/* header footerを消す */
.page-id-2 .article-header,
.page-id-2 .article-footer
{
 display:none;
}
/** ラベル幅 **/
.smf-form--business .smf-item__col--label {
  flex: 0 0 15em;
  max-width: 15em;
}
/**************************************
** お問い合わせの装飾
***************************************/

/** 入力、確認、完了　数字の背景色　**/
[data-screen=back] .smf-progress-tracker__item--input .smf-progress-tracker__item__number, 
[data-screen=complete] .smf-progress-tracker__item--complete .smf-progress-tracker__item__number, 
[data-screen=confirm] .smf-progress-tracker__item--confirm .smf-progress-tracker__item__number, 
[data-screen=input] .smf-progress-tracker__item--input .smf-progress-tracker__item__number, 
[data-screen=invalid] .smf-progress-tracker__item--input .smf-progress-tracker__item__number
{
  background:#A47864;
}
.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__number {
  font-weight:400;
}
.smf-progress-tracker__item__number{
  font-size:0.9em;
}

/** 入力エリア　borderと背景色 **/
.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control
{
  background:#f9f5ec12;
  border-radius:4px;
  border:none;
  box-shadow : 0 0 0 1px #A47864 inset;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

/**********************************
** プライバシーポリシー用　チェックボックス
***********************************/
.smf-checkbox-control input[type="checkbox"] { display: none; }

.smf-checkbox-control input[type="checkbox"] + span {
  display: block;
  position: relative;
  height:30px;
  padding-left: 32px;
  padding-right:5px;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  color:#8d492a;
  border-bottom:1px solid #a47864;
}

.smf-checkbox-control input[type="checkbox"] + span:last-child { margin-bottom: 0; }

.smf-checkbox-control input[type="checkbox"] + span:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid #A47864;
  position: absolute;
  left: 6px;
  top: 7px;
  opacity: .8;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

.smf-checkbox-control input[type="checkbox"]:checked + span:before {
  width: 10px;
  top: 3px;
  left: 11px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*** 確認画面でテキストを消す ***/
[data-screen="confirm"] .policy-txt{
  display:none;
}

.policy-txt .smf-error-messages{
  font-size:0;
}

.policy-txt .smf-error-messages::before{
  font-size:var(--_font-size);
  content:"チェックをいれてください。"
}
/**************************************
**  お問い合わせ　確認ボタン ホバー　アニメーション
**************************************/
.smf-action .smf-button-control__control{
  width:200px;
  background:#A47864;
  color:#fff;
  font-size:1em;
  letter-spacing:2px;
  border:2px solid #A47864;
  transition: .2s;
  box-sizing: border-box;
  border-radius:4px;
}
/*** ボタン文字の後ろに矢印 ***/
.smf-action .smf-button-control__control::after{
  content: '';
  position:absolute;
  top:0;
  bottom:0;
  right: 25px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: .2s;
  box-sizing: border-box;
}

/*** ホバー用　下地***/
.smf-action .smf-button-control__control{
  border: 3px solid #A47864;
  z-index:1;
}
.smf-action .smf-button-control__control::before{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background:#fff;
  transform-origin: left bottom;
  transform: scaleY(0);
  transition: transform .2s ease;
  z-index:-1;
}

.smf-action .smf-button-control__control:hover{
  color:#A47864;
}
.smf-action .smf-button-control__control:hover::before{
  transform-origin: left top;
  transform: scaleY(1);
}
.smf-action .smf-button-control__control:hover::after{
  border-color:#A47864;
}

/*** 確認画面　戻るボタン　矢印 ***/
.smf-button-control__control[data-action="back"]::after{
  left: -110px;
  transform: rotate(-135deg);
}

/***************************************
** form ラベル
***************************************/
/* formタイプ　businessの時　labelの調整 */
.smf-form--business .smf-item__col{
  padding:20px;
}
/* 必須 の部分の装飾　*/
.badge-red, .badge-grey{
  padding: .1em .8em;
  font-size: .8em;
  box-shadow: 0 2px 1px -1px rgba(0,0,0, 0.2), 0 1px 1px 0 rgba(0,0,0, .14), 0 1px 3px 0 rgba(0,0,0, .12);
}
.badge-grey{
  background:#78909c94;
}

/***********************************
** トグル　開閉
***********************************/
.toggle-button {
	text-align: left;
}

.toggle-button .sam-1:not, .toggle-button::before{content: '\f067';color:#e08600; }

/* 開いた時　一旦　消す */
/*
.postid-189 .toggle-box .toggle-checkbox:checked ~ .toggle-button{ font-size:0; }
*/
/** 開いた時のアイコン　位置調整も含む **/
/*
.postid-189 .toggle-box .toggle-checkbox:checked ~ .toggle-button::before { content: '\f068'; font-size:14px;}
*/
/** 開いた時の文字を追加　**/
/*
.postid-189 .toggle-box .toggle-checkbox:checked ~ .toggle-button::after{ content :'閉じる'; font-size:16px; margin-left:-15px}
**/

/************************************
** サイドバー
************************************/
#search-2,
.search-box
{
  margin-bottom:0;
}
#text-2{
  margin:0;
}
#text-2 .textwidget{
  margin:-10px 0;
}
/*** サイドバー　広告を丸める ***/
.widget-sidebar .textwidget img{
  border-radius:5px;
}

/*** サイドバー　スクロールウィジェット　上下調整　***/
.skin-grayish .widget-sidebar-scroll:first-child,
.skin-grayish.admin-bar .widget-sidebar-scroll:first-child
{
  padding-top:10px;
}
.sidebar-scroll{
  top:35px;
}
.logged-in .sidebar-scroll{
  top:70px;
}

.grecaptcha-badge {
	margin-bottom:25px;
	｝

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

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

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