@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;
}



/*グローバルメニューのフォントサイズ等変更*/
.navi-in .menu-header .item-label{
font-size: 16px;
font-weight: bold;
}
/*ヘッダー背景透明化*/
#header-container {
background-color:rgb(255 255 255 / 30%);
}

/*ナビゲーションメニュー背景透明化*/
#header-container .navi {
background-color: transparent;
}

/* ロゴ右寄せ高さ調整 */
.navi-in > ul li {
    height: 120px;
    line-height: 120px;
}

.header-container-in.hlt-top-menu .logo-header img {
    max-height: 120px;
}

.header-container-in.hlt-top-menu .logo-header {
    max-height: 120px;
}

.content-top {
    margin-top: 0;
}
/* ロゴ右寄せ高さ調整ここまで */


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

.article h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #28A6A5;
  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, #28A6A5, transparent);
  background: linear-gradient(to right, #28A6A5, 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: #28A6A5; /*アイコン色*/
}

/* 見出し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;
}
/* 見出しリセットここまで */


/* 目次 */
.toc-title{
font-weight:bold;
}
.toc-title::after {
color:#337ab7;
}
.toc-list > li a {
font-weight: bold;
display:block;
margin-top:10px;
margin-left: 10px;
}
.toc-list > li a::before {
font-family: "Font Awesome 5 Free";
content : "\f144";
margin-right: 7px;
}
.toc-list > li li a {
font-weight: normal;
font-size: 95%;
margin-top:0;
margin-left: 2em;
}
.toc-list > li li a::before {
content: "";
width: 7px;
height: 7px;
left: -2px;
display: inline-block;
border-radius: 50%;
background: #28A6A5;/*こちらで緑点の色を変更できます*/
position: relative;
margin-bottom: 2px;
}
@media (max-width:880px){
.toc-list > li a {
margin-left: -10px;
}
.toc-list > li li a {
margin-left: -2em;
}
.toc-list > li li a::before {
left: 3px;
margin-bottom:1px;
}
}
.toc a:hover {
color: #333333;
text-decoration: underline;
}

/*目次ここまで*/


/*-- サイドバーデザイン変更 --*/
.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
}
/*サイドバーデザイン変更ここまで*/

/************************************
** ボトムシェアボタン
************************************/
@media screen and (min-width:481px) {
  .sns-share, .sns-follow {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
  }
}
.sns-share-buttons {
  justify-content: space-evenly;
}
.sns-share-buttons a {
  font-size: 1.25em;
  border-radius: 50%;
  width: 50px!important;
  height: 50px;
}
.sns-share-buttons a:hover {
	opacity: 0.6;
}
@media screen and (max-width:834px) {
  .ss-bottom .sns-share-buttons a {
    font-size: 1.3em;
  }
}
.sns-share-buttons a .button-caption {
  display: none!important;
}
.sns-share-message, .sns-follow-message {
  color: #bbb;
  margin-bottom: 30px;
  position: relative;
}
.sns-share-message:before, .sns-follow-message:before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 2px;
  left: 50%;
  bottom: -5px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-radius: 3px;
  background-color: #c0c0c0;
}

/*-- Rinkerのデザイン変更 --*/
div.yyi-rinker-contents {
  border: solid 2px #e5e5e5;
  border-radius: 5px;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
}

div.yyi-rinker-contents img {
  max-width: 100%;
}

div.yyi-rinker-contents div.yyi-rinker-box {
  padding: .25em 0;
}

div.yyi-rinker-contents div.yyi-rinker-image {
  margin: 2%;
  width: 30%;
}

div.yyi-rinker-info {
  padding: 0 3%;
  width: 100%;
  margin: auto;
}

.yyi-rinker-title {
  font-size: 1em;
  margin-left: .5em;
  padding-top: 1em;
}

div.yyi-rinker-contents div.yyi-rinker-title p {
  margin: 0;
}

div.yyi-rinker-contents div.yyi-rinker-detail {
  font-size: .8em;
  color: #42424280;
  padding-left: 0;
  margin-top: 0;
  margin-left: .5em;
}

div.yyi-rinker-contents div.yyi-rinker-detail .price-box {
  margin: .5em 0;
  margin-left: .5em;
}

div.yyi-rinker-contents div.yyi-rinker-detail .price-box .price {
  letter-spacing: 0.1em;
  font-size: 1.2em;
  margin-right: .5em;
}

div.yyi-rinker-contents ul.yyi-rinker-links {
  display: inline-block;
  text-align: center;
}

div.yyi-rinker-contents ul.yyi-rinker-links li {
  width: 70%;
  padding: 0 .7em;
  margin: .5em .5em .4em .5em;
  font-size: .8em;
  display: inline-block;
  height: 40px;
  border-radius: 3px;
  font-weight: bold;
  vertical-align: middle;
  line-height: 40px;
  transition: .3s ease-in-out;
  text-align: center;
}

div.yyi-rinker-contents ul.yyi-rinker-links li:hover{
	opacity: 0.9;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.amazonkindlelink{
	background: #90CAF9;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink {
  background: #FFC266;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a {
  color: #fff;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink {
  background: #ff7c74;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink {
  background: #95cad7;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.freelink2 {
  background: #90d581;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a {
  height: 40px;
  line-height: 40px;
  font-size: 0.95em;
  padding-left: 0px;
  padding-right: 0;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a:after {
  position: absolute;
  right: auto;
  padding-left: 5px;
  font-family: "Font Awesome 5 Free";
  content: "\f138"!important;
  transition: .3s ease-in-out;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a:hover::after {
  opacity: .9;
  transform: translateX(2px);
  -webkit-transform: translateX(2px);
}

@media screen and (max-width: 540px) {
  div.yyi-rinker-contents div.yyi-rinker-box {
    padding: 1em 0 0 0;
    display: block;
  }
  div.yyi-rinker-contents div.yyi-rinker-image {
    width: auto;
  }
  div.yyi-rinker-contents div.yyi-rinker-box div.yyi-rinker-info {
    padding: 0;
    margin: auto;
    width: 90%;
    text-align: center;
  }
  .yyi-rinker-title {
    font-size: .9em;
    text-align: center
  }
  div.yyi-rinker-contents div.yyi-rinker-detail .price-box .price {
    display: block;
  }
  div.yyi-rinker-contents ul.yyi-rinker-links li {
    width: 85%;
    font-size: .9em;
  }
  body div.yyi-rinker-contents ul.yyi-rinker-links li a {
    padding: 0;
  }
  div.yyi-rinker-contents ul.yyi-rinker-links li a:after {}
}
/*Rinkerここまで*/

/* プロフィールボックスの外枠を消す */
.author-box {
    border: none !important;
}
/* プロフィールボックスの外枠を消すここまで */






/*--------------------------------------
  アイコンボックスカスタマイズ
----------------------------------------*/

/* アイコン変更：メモアイコン */
.wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-"].memo-box::before {
  content: "\f304"; /* FontAwesomeメモアイコン */
}

/* 四角スタイル（枠あり・枠なし・背景透明） */
.wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-"]:not([class*="circle"]) {
  border-radius: 0;
  padding: 1.2em 1.5em 1.2em 4em;
}
.wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-"]:not([class*="circle"])::before {
  font-size: 1em;
  padding: 0;
}

/* 枠あり・背景透明 */
body .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-outline,
body .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-circle-outline {
  border-width: 1px;
  background-color: transparent;
}

/* 枠なし */
.wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-borderless,
.wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-circle-bg {
  border-width: 0;
}

/* 部分枠スタイル */
.wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-top-border,
.wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-left-border {
  border-width: 5px;
}
.wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-top-border {
  border-right: none;
  border-left: none;
  border-bottom: none;
}
.wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-left-border {
  border-top: none;
  border-right: none;
  border-bottom: none;
}

/* 丸アイコンスタイル */
.wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-circle-"] {
  padding: 2em;
}
.wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-circle-"]::before {
  display: grid;
  place-content: center;
  margin: 0;
  padding: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-size: 0.9em;
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
  top: -1em;
  left: 0.75em;
}

/* アイコン背景色（種類別） */
.information-box[class*="is-style-cstm-icon-circle-"]::before { background-color: #87cefa; }
.question-box[class*="is-style-cstm-icon-circle-"]::before    { background-color: gold; }
.alert-box[class*="is-style-cstm-icon-circle-"]::before       { background-color: #f3aca9; }
.memo-box[class*="is-style-cstm-icon-circle-"]::before        { background-color: #7ad0b6; }
.comment-box[class*="is-style-cstm-icon-circle-"]::before     { background-color: #999; }
.ok-box[class*="is-style-cstm-icon-circle-"]::before          { background-color: #3cb2cc; }
.ng-box[class*="is-style-cstm-icon-circle-"]::before          { background-color: #dd5454; }
.good-box[class*="is-style-cstm-icon-circle-"]::before        { background-color: #98e093; }
.bad-box[class*="is-style-cstm-icon-circle-"]::before         { background-color: #eb6980; }
.profile-box[class*="is-style-cstm-icon-circle-"]::before     { background-color: #999; }

/* コメント・プロフィール共通背景 */
.comment-box[class*="is-style-cstm-icon-"],
.profile-box[class*="is-style-cstm-icon-"] {
  background-color: #f8f8f8;
  border-color: #aaa;
}

/* モバイル対応（480px以下） */
@media screen and (max-width: 480px) {
  .wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-"]:not([class*="circle"]) {
    padding: 1em 1.5em 1em 3.5em;
  }
  .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-top-border,
  .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-left-border {
    padding: 1em 1.5em 1em 3em;
  }
  .wp-block-cocoon-blocks-icon-box[class*="is-style-cstm-icon-"]:not([class*="circle"])::before {
    top: 50%;
    left: 5px;
    width: 35px;
    margin-left: 0;
  }
  .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-outline::before,
  .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-borderless::before,
  .wp-block-cocoon-blocks-icon-box.is-style-cstm-icon-bordered::before {
    border-right: 1px solid;
  }
}




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

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

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