@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){
  /*必要ならばここにコードを書く*/
	.appeal-in {
	  min-height:calc(100svh - 46px)!important;/*スマホでの高さ調整*/
	}
	.appeal-message {
 font-size: .8em;/*スマホ表示する文字の大きさ*/
    }
}

/*ヘッダーブログ名消去-------------------------------------------- */
.site-name-text {
display: none;
}

/*グローバルメニュー-------------------------------------------- */
#navi .navi-in a:after{
	position: absolute;
	content: "";
	left: 0;
	bottom: 1px;
	height: 5px;
	width: 100%;
	background: #8d818c;
	transform: scale(0,1);
	transition: 0.3s;
}

/*④グローバルナビの下線(hover)*/
#navi .navi-in a:hover:after{
	transform: scale(1);
	}

/*⑤メニュー項目の間隔*/
#navi .navi-in>ul>li>a{
	padding: 0 2.0em;
}

/*⑥選択中メニューに下線*/
.current-menu-item:after{
position: absolute;
content: "";
left: 0px;
bottom: 1px;
height: 2px;
width: 100%;
background: #8d818c;
}

/* アピールエリア---------------------------------------------- */
/*全体*/
.appeal{
width: 100%;
/*
height:100vh;
margin-top:-60px;
*/
background-size: cover;
display: table;
}

.appeal-in {
    display: table-cell;
    vertical-align: middle;
}

/*コンテンツエリア*/
.appeal-content {
width:100%;/*幅を最大に*/
padding:2em 1em;/*内側余白調整*/
background-color:transparent;/*コンテンツエリアの背景無効化*/
}
.appeal-logo{
width:200px;/*ロゴの大きさ*/
}

/*タイトル*/
.appeal-title{
padding-bottom:1.5em;/*タイトル下の余白*/
font-weight:normal;/*文字の太さ*/
font-size:1.1em;/*タイトル文字の大きさ*/
}

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

/*ボタン*/
.appeal-button{
background-color:transparent!important;/*ボタンの背景色無効化*/
font-weight:normal;/*文字の太さ*/
color: #8d818c; /*ボタン部分文字とアイコンの色*/
}

/*アイコンを追加*/
.appeal-button:before{
display:block;
font-family: "Font Awesome 5 Free";
font-weight:bold;
content: "\f103";/*アイコン指定*/
font-size: 2em;/*アイコンの大きさ*/
animation: move 1s infinite alternate ease-in-out;/*以下、アイコンを動かすアニメーション*/
}

@keyframes move{
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}

/*スムーズにスクロール*/
html { scroll-behavior: smooth;}

/************************************
** TOP画面カスタマイズ
************************************/
body .entry-content>*:first-child {
    margin-top: .1em !important;
}
h2.top_menu {
    font-size: 1.4em;
    border-left: none;
    background-color: #FFFFFF;
    color: #8d818c;
    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: #8d818c; /* 「もっと見る」ボタンの色*/
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.p-button a:hover{
    box-shadow: none;
    transform: translateY(3px);
    opacity:1;
}

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

/*TOPページ　カード枠*/
.e-card{border: 1px solid #f5f5f5; /*枠線の太さ、形状、色*/
border-radius: 10px;padding: 8px;} /*角の丸み*/
