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

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



/* ---------------------------------------------------------
   アコーディオン（トグルボックス）共通スタイル
--------------------------------------------------------- */

/* トグルボタン（共通） ---------------------------- */
[class*="is-style-cstm-toggle"] .toggle-button {
  border: none;
  border-radius: 0;
  padding: 0.8em 1em;
  font-weight:bold;
  color:var(--cocoon-dark-grey-color);
}

[class*="is-style-cstm-toggle"] .toggle-button::before {
  opacity: 1;
}

/* 白抜き／下線スタイル ------------------------------ */
[class*="is-style-cstm-toggle-outline"] .toggle-button,
[class*="is-style-cstm-toggle-underline"] .toggle-button {
  background: none;
}

/* 外枠あり（シンプル／白抜き） */
.toggle-box[class*="is-style-cstm-toggle-simple"],
.toggle-box[class*="is-style-cstm-toggle-outline"] {
  border: 1px solid var(--cocoon-custom-border-color);
}

/* 下線のみ */
.toggle-box[class*="is-style-cstm-toggle-underline"] {
  border-bottom: 1px solid var(--cocoon-custom-border-color);
}

/* 左寄せボタン（-left系） ------------------------- */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button {
  padding: 0.8em 2em 0.8em 1em;
  text-align: left;
}

/* 左寄せ・FAQ 共通アイコン位置 */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button::before,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::before {
  position: absolute;
  right: 1em;
  margin: 0;
  font-size: 1em;
}

/* チェック時の装飾 -------------------------------- */
/* 白抜き：開閉時に下線を破線に */
[class*="is-style-cstm-toggle-outline"] .toggle-checkbox:checked ~ .toggle-button {
  border-bottom: 1px dashed var(--cocoon-custom-border-color);
}

/* 開閉コンテンツ：境界線リセット */
[class*="is-style-cstm-toggle"] .toggle-checkbox:checked ~ .toggle-content {
  border: none;
  border-radius: 0;
}

/* コンテンツ余白（シンプル／白抜き） ---------------- */
[class*="is-style-cstm-toggle-simple"].toggle-wrap .toggle-content,
[class*="is-style-cstm-toggle-outline"].toggle-wrap .toggle-content {
  padding: 0 1.5em;
}

[class*="is-style-cstm-toggle-simple"] .toggle-checkbox:checked ~ .toggle-content,
[class*="is-style-cstm-toggle-outline"] .toggle-checkbox:checked ~ .toggle-content {
  padding: 1.5em;
}

/* ボタン風デザイン ------------------------------- */
.is-style-cstm-toggle-button .toggle-button {
  width: fit-content;
  border: 1px solid var(--cocoon-custom-border-color);
  border-radius: 99px;
  padding: 0.3em 1.5em;
  margin: 0 auto;
}

.is-style-cstm-toggle-button .toggle-checkbox:checked ~ .toggle-button {
  border-radius: 99px;
}

 /* 背景色なしの場合 */
.is-style-cstm-toggle-button:not(.has-background).toggle-wrap .toggle-content {
 padding:0;
}
.is-style-cstm-toggle-button:not(.has-background) .toggle-checkbox:checked ~ .toggle-content {
  padding:1em 0;
}

/* FAQスタイル ------------------------------------ */
/* FAQ共通：左寄せ */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-content {
  position: relative;
  text-align: left;
}

/* FAQコンテンツ余白（初期） */
[class*="is-style-cstm-toggle"][class*="-faq"].toggle-wrap .toggle-content {
  padding: 0 2em 0 2.2em;
}

/* FAQボタン余白 */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button {
  padding: 0.8em 2em 0.8em 2.2em;
}

/* FAQコンテンツ余白（展開時） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content {
  padding: 1.5em 2em 1.5em 2.2em;
}

/* Q・A ラベル ------------------------------------- */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::after,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content::after {
  position: absolute;
  left: 1em;
  font-weight: bold;
}

/* Qラベル（ボタン側） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::after {
  content: 'Q';
  color: #004aad;
  top: 0.8em;
}

/* Aラベル（コンテンツ側） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content::after {
  content: 'A';
  color: #bc5731;
  top: 1.5em;
}

/* アイコン（Font Awesome利用） ------------------ */
/* 白抜きタイプ：矢印 */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button::before {
  content: "\f078"; /* V字型 */
}
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-checkbox:checked ~ .toggle-button::before {
  content: "\f077"; /* V字型 */
}

/* FAQタイプ：矢印 */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::before {
  content: "\f0d7"; /* ▼ */
}
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-button::before {
  content: "\f0d8"; /* ▲ */
}




/* 自作CTAボックスの余白調整 */
/* 白抜きボックス調整 */
.blank-box{
border-width: 0.1px;
border-radius:0;
}
/* ボタン同士の間隔 */
.is-layout-flex.cta-btn {
   gap: 0.5rem; 
}
/* ボタン下部の余白を除去 */
.cta-btn .btn-wrap a {
   margin-bottom: 0 !important;
}




/* === 景品表示法対応 === */
/* Cocoon設定本文上のPR表記 */
.pr-label-l {
    border-top: 1px dotted #333; /* 上の点線 */
    border-bottom: 1px dotted #333; /* テキスト下の点線 */
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 13px; /* 文字サイズ */
    color: #333; /* 文字の色 */
    text-align: center; /* テキスト中央揃え */
    background: #F9FCFD;
    padding: 3px 0;
    margin-bottom: 2em;
}


/* 見出し2カスタマイズ */
.article h2{
  position: relative;
  padding: 0.6em;
  background: #E8854A;
}

.article h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #E8854A;
  width: 0;
  height: 0;
}
/* 見出し2カスタマイズここまで */

/* 見出し3カスタマイズ */
h3 {
  position: relative;
  padding: 0.25em 0;
}

h3:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, #E8854A, transparent);
  background: linear-gradient(to right, #E8854A, transparent);
}
/* 見出し3カスタマイズここまで */

/* 見出し4カスタマイズ */
.article h4 {
  position: relative;
  padding-left: 1.2em;/*アイコン分のスペース*/
  line-height: 1.4;
}

.article h4:before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 1em;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: 10px;/*アイコンの位置*/
  color: #E8854A; /*アイコン色*/
}

/* 見出し4カスタマイズここまで */


/* 見出しリセット */
.article h2::before {
border-top: none;
}
.article h2::after {
border-bottom: none;
}
.article h2{
border: none;
}
.article h3::before {
border-top: none;
}
.article h3::after {
border-bottom: none;
}
.article h3{
border: none;
}
.article h4::before {
border-top: none;
}
.article h4::after {
border-bottom: none;
}
.article h4{
border: none;
}
.article h5::before {
border-top: none;
}
.article h5::after {
border-bottom: none;
}
.article h5{
border: none;
}
.article h6::before {
border-top: none;
}
.article h6::after {
border-bottom: none;
}
.article h6{
border: none;
}
/* 見出しリセットここまで */


/*-- サイドバーデザイン変更 --*/
.sidebar h3 {
    background: none;
    padding: 0;
    font-size: 16px;
    letter-spacing: 2px; 
	color:#082627
}
.sidebar h3:first-letter {
    font-size: 1.5em;
	color:#082627
}
.sidebar h3:after {
    content:"";
    display:block;
    height:1px;
    width:100%;
    background: -webkit-linear-gradient(left, #40bfa0 0%,#fef785 82%,#f37b7b 100%);
    background: linear-gradient(to right, #40bfa0 0%,#fef785 82%,#f37b7b 100%);
}

.header-container, 
.main, 
.sidebar, 
.footer {
  background-color: #F9FCFD
}
/*サイドバーデザイン変更ここまで*/



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

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

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