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

/************************************
** 子テーマ用のスタイルを書く
************************************/


/************************************
** ページ内スクロール
************************************/

html {
  scroll-behavior: smooth;
}


/************************************
** 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;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

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

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

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


/************************************
** ●ヘッダーサブメニューのカスタマイズ
************************************/
.navi-in>ul .sub-menu li {
  height: 44px; /*高さ*/
}




/************************************
** ■見出しカスタマイズ（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: xx-large;
  background-color: #cccccc;
  font-weight: light;
  line-height: 1.8em;
  padding: 40px 0px;
  margin-top: 110px;
  margin-bottom: 30px;
}

.article h3 {
  font-size: 24px;
  font-weight: bold;
  color: #18586E;
  line-height: 1.7em;
  padding: 1em;  /*文字まわり（上下左右）の余白*/
  border-right: 0px;
  border-left: 0px;
  border-top: 2px solid #18586E;
  border-bottom: 2px solid #18586E;
  border-color: #18586E;
  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;
}


/************************************
** ■リンク（ホバー時のエフェクト・半透明に）
************************************/

a:hover{
  color: #18586e;
  opacity: 0.7;
}



 /************************************
** ■リンク（ホバー時のエフェクト・ボタンに使用）
************************************/
.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;
}
/** 画像終了 **/



 /************************************
** ■アピールエリア
************************************/
/*ボタン*/
.appeal-button{
  background-color: transparent!important;  /*ボタンの背景色無効化*/
  font-weight: bold;  /*文字の太さ*/
  color: #eb5e00; /*ボタン部分文字とアイコンの色*/
}

.appeal-in a:hover { color: #18586e; } /*ボタン部分リンク色マウスオーバー時*/

/*本文*/
.appeal-message {
  font-size: 1em;  /*本文文字の大きさ*/
}



/************************************
** ■アピールエリア・モバイル
************************************/

/*480px以下*/
@media screen and (max-width: 684px){
.appeal-in {
  min-height: 600px!important;  /*スマホでのアピールエリアの高さ調整*/
  background-image: url("https://ju-raku.co.jp/wp-content/uploads/2023/07/b8e8c1697ce885311d852301cce0498d.jpg");  /*画像の指定*/
  background-repeat: no-repeat;
  background-position:center;  /*画像の配置*/
	}
	
/*アピールエリアの白い箱*/
.appeal-content {
  padding: 0px 0px; 
  width: 80%;
  margin: 200px auto 0px;
  display: none;  /*とりあえず非表示*/

/*白い箱のなかの文字*/
.appeal-message {
  font-size: .7em;  /*スマホ表示する文字の大きさ*/
  width: 100%;
  }
}