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

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

/** TOP画面カスタマイズ始まり**/
body .entry-content>*:first-child {
    margin-top: .1em !important;
}
h2.top_menu {
    font-size: 1.4em;
    border-left: none;
    background-color: #FFFFFF;
    color: #666;
    overflow: hidden;
    text-align: center;
    margin: 4em 0 0 !important;
    padding-bottom: 0px !important;
}
h2.top_menu:after {
    margin: .7rem auto 0;
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: #FFFFFF;
}
.page .breadcrumb,
.page .article-header,
.page .article-footer{
    display: none;
}
.widget-entry-cards {
    justify-content: space-between;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.widget-entry-cards.card-large-image .a-wrap {
    width: 48.5%;
    margin: 1em 0;
    max-width: none;
    background: white;
    padding: 10px;
}
.sidebar .widget-entry-cards.card-large-image .a-wrap {
    width: 100%;
    margin: 0;
}
.widget-entry-cards.card-large-image .a-wrap:nth-child(odd) {
    margin-right: 3%;
}
.card-content {
    padding-top: 10px;
    line-height: 1.6;
}
.widget-entry-card-date {
    text-align: right;
}
.p-button {
    max-width: 300px;
    margin: 0 auto;
}
.p-button a {
    display: block;
    margin:25px 0;
    padding: 0.6em 0.8em;
    border-radius: 2em;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    background: #fa8c72; /* 「もっと見る」ボタンの色*/
    text-align: center;
	-webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.p-button a:hover{
	background: #9d968c; /* 「もっと見る」ボタンの色*/
    box-shadow: none;
    transform: translateY(3px);/*（コピペについてたから残しておく）*/
    opacity:1;
}

/*(スマホ)480px以下の表示設定*/
@media screen and (max-width: 480px) {
    .widget-entry-cards.card-large-image .a-wrap {
	width: 50%;  /*スマホで２列表示にさせたい場合は50％に変更する*/
    }
    .widget-entry-cards.card-large-image .a-wrap:nth-child(odd) {
 	margin-right: 0;
    }
}

/*TOPページ　カード枠*/
.e-card{
border: 1px solid #9d968c; /*枠線の太さ、形状、色*/
box-shadow: 0px 4px 15px -5px rgba(85,85,85,0.75);/*影の色*/
border-radius: 10px;padding: 8px;/*角の丸み*/
transition-duration: 0.4s;
} 

/*記事を浮き上がらせる*/
.new-entry-card:hover { /*マウスオン時*/
background-color: #f2f2f2; /*背景色*/
-webkit-transform: translateY(-6px);
-ms-transform: translateY(-6px);
transform: translateY(-6px);
box-shadow: 0px 8px 18px -5px rgba(85,85,85,0.75); /*影の色*/
}

/** TOP画面カスタマイズ終わり**/

/*テーブル内の囲みボタン*/
table .btn-wrap,
table .btn-wrap a{
	margin-bottom: 0!important;/*下の余白を0にする*/
}

table .btn-wrap.btn-wrap-l > a::after{
	content:none; /* 矢印を非表示にする */
}

/*テーブル内のCocoonボタン*/
 table .button-block{
	margin-bottom: 0!important;/*下の余白を0にする*/
}
/*ヘッダーモバイルボタンの文字色と背景色を変更*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	background: #ffffff;
	color: #9d968c;
}

.logo-menu-button.menu-button{
	background: #ffffff;
}

.mobile-menu-buttons{
	background: #ffffff;
}

/**ヘッダー下にピックアップコンテンツを表示する始まり**/
/**https://web-ashibi.net/archives/3991**/

.content-top {
  background: #ffffff;
  margin: 0;
  padding: 20px 16px;
}
.pickup-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.pickup-item {
  list-style: none;
  width: 24%;
  transition-duration: 0.4s;
  box-shadow: 0px 4px 15px -5px rgba(85,85,85,0.75);
}
.pickup-item img {
  width: 100%;
  vertical-align: bottom;
}
.pickup-item:hover {
  transform: translateY(-6px);
  box-shadow: 0px 8px 18px -5px rgba(85,85,85,0.75);
}
@media screen and (max-width: 768px){
.content-top {
  padding: 20px 16px 4px 16px;
}
.pickup-item {
  width: 48.5%;
  margin-bottom: 16px;
}
}
/**ヘッダー下にピックアップコンテンツを表示する終わり**/

/* Full画面幅 */
.full-width {
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50%);
	padding-top: 20px; /* 不要なら削除または、任意の数値を設定してください */
	padding-bottom: 20px; /* 不要なら削除または、任意の数値を設定してください */
}

/* 画像をカラムや画面の横幅いっぱいに広げるCSS */
/* https://pasoviva.com/wordpress-fullcover/ */
.my-cover-full{
margin: 0 calc(50% - 50vw) 1.5em; /*外側余白*/
padding:0  calc(50vw - 50%); /*内側余白*/
width: auto;
}

/* 固定ページの見出しデザイン変更 */
/*chatGPTに聞いた*/

/* 固定ページ：控えめh3（線なし） */
.page h3 {
  border: none;
  background: none;
  padding: 0;
  color: #6f6a63;
  font-size: 1.05em;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 1.5em;
}

/* strongを太く＆マーク */
/*chatGPTに聞いた*/
.entry-content strong {
  font-weight: 700;
  background: linear-gradient(transparent 65%, #fff0c9 65%);
}

.cta-box {
  background: #f4fbfa; /* #95cfc3 を極薄 */
  border: 1px solid rgba(149, 207, 195, 0.5);
  padding: 16px;
  margin: 24px 0;
  border-radius: 6px;
  color: #9d968c;
}

.cta-box a {
  color: #fa8c72;
  font-weight: 600;
}

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

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

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