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

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

/* ーーーーーーーーーーーーーーーーーーーーーーーーーー　ヘッダー部分 */
#header-container {
	padding: 20px;
}

#navi-in #menu-global-navigation li a:hover {
	padding: 10px;
	background: #fff;
	color: #000;
}

#navi-in #menu-global-navigation li a {
	font-size: 0.9rem;
	font-weight: bold;
}






/* ーーーーーーーーーーーーーーーーーーーーーーーーーー　非表示 */

.front-top-page #main .entry-title{
  display: none;
}

.entry-title,
.sns-share,
.sns-follow,
.date-tags,
.author-info{
  display: none;
}

.date-tags {
  display: none;
}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーー　見出しデザイン */

.article h2,
#archive-title,
.under-entry-content h2 {
  position: relative;
  display: inline-block;
	padding: 0 0 0 30px;
	background: none;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	font-weight: normal;
}
.article h2:before,
#archive-title:before,
.under-entry-content h2:before {
  content: '';
  position: absolute;
  top: 30%;
  display: inline-block;
  width: 35px;
  height: 1px;
  background-color: black;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}

.article h2:before,
#archive-title:before,
.under-entry-content h2:before {
  left:0;
}

/* 投稿ページのアイコンを非表示 */
.fas {
	display: none;
}

/* トップへ戻るアイコンのみ表示 */
.go-to-top-button .fas {
	display: block;
}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーー　投稿の見出し */


/* 投稿の見出し位置を調整 */
#archive-title,
.article h2 {
	margin-bottom: 3em;
}

/* 一覧の見出し位置の調整 */
.entry-card-content h2 {
	text-align: center;
	margin-top: 0.5em;
}

/* 投稿記事の個別ページの見出し調整 */
.category-works-post .entry-title {
	display: block;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	text-align: center;
	margin: 50px 0 100px;
}

.entry-card-title {
	font-size: 0.8rem;
}

.entry-card-wrap:hover,
.carousel-entry-card-wrap:hover,
.related-entry-card-wrap:hover {
	opacity: 0.7;
	background-color: rgba(255,255,255,0);
}

/* 関連記事 */
.rect-vertical-card .related-entry-card-title {
	font-size: 0.8rem;
	text-align: center;
	margin-top: 10px;
}





/* ーーーーーーーーーーーーーーーーーーーーーーーーーー　レイアウト */

/* 投稿の横幅を調整 */
#content-in {
	width: 960px;
	margin: 0 auto !important;
}

/* works部分だけの横幅調整 */
.category-works #content-in {
	width: 85%;
}

/* フォーム部分だけの横幅調整 */
.wpcf7 {
	width: 60%;
	margin: 0 auto !important;
}


/* カルーセルの画像のアスペクト比を変更 */
.blogcard-thumbnail img, .card-thumb img {
    aspect-ratio: auto;
}

.under-entry-content {
	margin-top: 150px;
}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーー　トップへ戻る */

.go-to-top-button {
	border-radius: 50%;
}

.go-to-top-button:hover {
	transition: 0.5s;
	opacity: 0.6;
}


.go-to-top {
	bottom: 20px;
	right: 20px;
}





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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
	#content-in,
	.category-works #content-in,
	.wpcf7 {
	width: 93%;
	}
	
	#archive-title {
		margin-bottom: 1em;
	}
	
	.category-works-post .entry-title {
	font-size: 0.8rem;
	margin: 0 0 30px;
}

	
	
}

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