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

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

/* 見出しリセット */
/* 見出し2 */
.article h2{
background:none;
padding: 0;
}

/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* 見出し4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}

/*　見出しH2~H6の変更　*/
.article h2 {
position: relative;
padding: 15px 15px 10px 35px;
border-radius: 5px;
color: #ffffff;
background-color: #003366;
}
 
.article h2::after {
position: absolute;
content: '';
top: 50%;
left: 15px;
transform: translateY(-50%);
width: 5px;
height: 25px;
background-color: #ffffff;
}

.article h3 {
color: #333; /*文字の色を変更*/
padding: .2em 1em;
margin-top: 40px;
border-left: 6px solid #003366; /*線の色を変更*/
}

.article h4 {
position: relative;
border-bottom: 4px solid #009999;
}

.article h4::after {
position: absolute;
content: " ";
display: block;     
border-bottom: solid 4px #003366;
bottom: -4px;
width:15%;
}

.article h5 {
color: #e95506; /*文字の色を変更*/
margin-top: 40px;
border-bottom: solid 2px #e95506; /*線の色を変更*/
}
.article h6 {
color: #003366; /*文字の色を変更*/
margin-top: 40px;
border-bottom: solid 2px #003366; /*線の色を変更*/
}
/*******************************
* 目次
********************************/
.toc {
    border: 1px solid #666;
    font-size: 0.9em;
    line-height: 1.5;
    padding: 0;
    margin-bottom: 1em;
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.toc-title {
    background: #666; /*目次タイトルの背景色*/
    color: #fff; /*目次タイトルの文字色*/
    font-size: 1.1em;
    text-align: center;
    padding: 6px 16px;
}
.toc-title::before {
    font-family: FontAwesome;
    content: '\f0ca'; /*目次タイトルのアイコン*/
    margin-right: 0.5em;
}
.toc-content {
    padding: 8px;
}
.toc ul li a, .toc ol li a {
    display: block;
    border-bottom: 1px dashed #666; /*h3以下の下側ボーダー*/
    margin-left: -20px;
    padding-left: 20px;
}
.toc ul.toc-list>li, .toc ol.toc-list>li {
    margin-top: 1em;
}
.toc ul.toc-list>li>a, .toc ol.toc-list>li>a {
    border-bottom: 2px solid #666; /*h2の下側ボーダー*/
    font-weight: bold;
}


/*******************************
* 固定ページ記事タイトル非表示
********************************/
.type-page h1,
.type-page 
.post-meta{
  display:none;
}

/*******************************
* 固定ページ日付非表示
********************************/
.post-2 .date-tags,
.post-3 .date-tags,
.post-10 .date-tags {
display: none;
}

/************************************
****　ヘッダーロゴ
************************************/
@media screen and (max-width: 1023px){
.container {
margin-top:50px;
}
}
.logo-image {
padding:0;
margin-left:1em;/*ロゴ画像が左に詰まってしまう場合は、ここの数字を0.1刻みで大きくしてみてください*/
margin-top:1em;
margin-bottom:1em;
max-height:200px;/*大きなロゴ画像を使いたい方は、ここの数字を大きくしてみてください*/
}
.logo {/*ロゴ画像を中央に配置したい方は、以下3行を削除*/
text-align: left;
}
.logo-header img {
box-shadow: none!important;
}
/************************************
**ヘッダー　モバイル表示
************************************/
@media (max-width:1023px){
.header-container {
display:none;
}
img.site-logo-image{
max-height:80px;
padding:2px 0 0 5px;
box-shadow:none;
}
.mobile-header-menu-buttons {/*ヘッダー背景色を変えるときはここを変更*/
background: #fff;
}
}

/************************************
****　モバイル表示　ヘッダーメニュー・検索アイコン
************************************/
.mobile-menu-buttons{
height:50px;
box-shadow: none;
}
.mobile-menu-buttons > li {
padding-top:0;
}
.menu-button{
margin: auto;
}
.mobile-menu-buttons .menu-button:hover{
background-color:white;
}
span.fas.fa-search::before{
color:#90C31F;/*検索マーク色変更はこちら*/
margin-left:1em;
}
span.fas.fa-bars::before{
color:#90C31F;/*ハンバーガーメニュー色変更はこちら*/
margin-right:1em;
}
.navi-menu-caption.menu-caption,.home-menu-caption.menu-caption,.search-menu-caption.menu-caption,.top-menu-caption.menu-caption,.sidebar-menu-caption.menu-caption{
display:none;
}

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

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

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

.reason-content {
  display: flex;
  align-items: center;
}

.reason-photo {
  width: 50px; /* 小さめに設定 */
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.grecaptcha-badge {
    bottom: 100px !important;
}

.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 15px calc(env(safe-area-inset-bottom) + 10px) 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 隠す時 */
.fixed-contact-bar.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* ボタン共通 */
.contact-btn {
    flex: 1 1 auto;
    max-width: 180px;
    min-width: 120px;
    padding: 12px 0;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

/* HPボタン */
.hp-btn {
    background: #FFC107;
    color: #000;
}

.hp-btn:hover {
    background: #e0a800;
}

/* LINEボタン */
.line-btn {
    background: #28C900;
    color: #fff;
}

.line-btn:hover {
    background: #1b9200;
}
/* SNSシェアボタンの強制非表示（Cocoon） */
.sns-share-buttons,
.sns-share,
.article-footer .sns-buttons,
.article-footer .sns-share-buttons,
#sns-share,
#sns-share-bottom,
#sns-share-top {
  display: none !important;
}
