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

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

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

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

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


h3 { 
color: #d2b48c;
padding: 30 0 100 0;
margin: 30 0 1000;
border-bottom: 3px dotted #d2b48c;
border-left: 5px #d2b48c;
}

html {
  scroll-behavior: smooth;
}

/************************************
** ■見出しカスタマイズ（h1-6）
************************************/
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  line-height: 1.25;
  font-weight: bold;
}





.article h2 {
  font-size: 40px;
  color: #249353;
  background-color: #ffffff;
  font-weight: bold;
  line-height: 1.8em;
  padding: 0px 0px;
  margin-top: 110px;
  margin-bottom: 30px;
}

.article h3 {
  font-size: 24px;
  font-weight: bold;
  color: #d2b48c;
  line-height: 1.7em;
  padding: 1em;  /*文字まわり（上下左右）の余白*/
  border-right: 0px;
  border-left: 0px;
  border-top: 2px dotted #d2b48c;
  border-bottom: 2px dotted #d2b48c;
  border-color: #d2b48c;
  margin-top: 0px;
  margin-bottom: 30px
}

.article h4 {
  color: #dc143c;
  line-height: 1.5em;
  padding-left: 0px;
  border-left: 0px none;
  border-right: 0px none;
  border-top: 0px none;
  border-bottom: 0px none;
  margin-top: 0px;
  margin-bottom: 0px;
}

.article h5 {
  margin-bottom: -100px;
}



/************************************
** SNSシェアボタン
************************************/

#main .button-caption {
  display: none; /*キャプション非表示*/
}

/*SNSシェアボタン*/
.sns-share-message{
  font-weight: bold; /*太字*/
  color: #875d5b; /*文字色*/
}
.sns-share-buttons {
  flex-wrap: nowrap; /*折り返さない*/
  justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
  border-radius: 50%; /*丸くする*/
  font-size: 20px; /*アイコンのサイズ*/
  margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-share a {
  width: 40px; /*ボタンの横幅*/
  height: 40px; /*ボタンの高さ*/
}


/************************************
** 投稿日
************************************/

/*投稿日・更新日を非表示*/
.page .date-tags {
  display: none;
}

/*投稿者名を非表示*/
.page .footer-meta {
  display: none;
}



/************************************
** 「次の投稿」「前の投稿」を非表示
************************************/
.nav-links {
  display: none;
}



 /************************************
** ■リンク（ホバー時のエフェクト・ボタンに使用）
************************************/
.link a{
  padding: 0 10px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #18586e 50%);
  background-position: 0 0;
  background-size: 200% auto;
  transition: .3s;
  padding: 20px;
}

.link a:hover{
  background-position: -100% 0;
  color: #fff;
}



 /************************************
** ■マウスオーバー時に画像を拡大する方法
************************************/
/** 画像開始 **/
.card-thumb {
  overflow: hidden;
}

.card-thumb img {
  transition: all .6s ease-out 0.1s;
}

.card-thumb img:hover {
  transform: scale(1.1);
  transition: all .6s ease-out 0.1s;
}
/** 画像終了 **/





/* ヘッダーとグローバルナビのスタイル */
.header {
background-color: transparent; /* 最初は透明な背景 */
transition: background-color 0.3s ease; /* 背景色の変化にトランジションを追加 */
}

/* スクロールしたら背景色を白に変更 */
.header.scrolled {
background-color: white;
}

/* ナビゲーションのスタイル */
.navbar {
background-color: transparent; /* 最初は透明な背景 */
transition: background-color 0.3s ease; /* 背景色の変化にトランジションを追加 */
}

/* スクロールしたら背景色を白に変更 */
.navbar.scrolled {
background-color: white;
}