@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-img img {
    margin: 0 auto;
    display: block;
}

div.top-content-title{
	margin-bottom:12px;
	text-align:center;
}

div.top-title{
	font-weight: bold;
	font-size: x-large;
}

div.top-sub-title{
	font-size: small;
}

div.top-title::first-letter{
	color:#db6abf;
}

div.top-contents-list, div.top-contents-illust-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

a.top-contents{
	text-decoration: none;
	border:1px solid #a8a8a8;
	border-radius:2px;
	padding:10px;
	margin:4px;
	color:currentcolor;
	width: 32%;
}


a.top-contents:hover{
	opacity: 0.7;
}

.blog-title {
	font-weight: bold;
	margin-bottom: 6px;
}

span.category-icon{
	background: #db6abf;
	border-radius:3px;
	color: white;
	font-size: small;
	padding: 3px 6px 3px 6px;
	opacity: 0.8;
}

a.bt-top-more{
	border:1px solid #db6abf;
	color: #db6abf;
	padding: 8px 50px 8px 50px;
	display: inline-block;
	text-decoration: none;
	margin-top: 20px;
	border-radius: 8px;
}


a.bt-top-more:hover{
	background:#db6abf;
	color: white;
}

div.no-image{
	background: #bbbbc2;
	padding: 80px 10px 80px 10px;
	text-align: center;
	margin-bottom: 3px;
}
div.sec-title{
	margin: 0;
	padding-top: 6px;
}
#header { 
	display: none;
}

/*サイドバー　カテゴリ一覧*/
ul.sidebar-category {
	padding:0px;
	border-top:1px dotted lightgray;
}
ul.sidebar-category li {
	list-style:none;
	border-bottom:1px dotted lightgray;
}

ul.sidebar-category li a{
   text-decoration:none;
	display:inline-block;
	width:100%;
	padding:10px;
	color:var(--cocoon-text-color);
}
ul.sidebar-category li a:hover{
	background: #f5f4f4;
	opacity:0.8;
}


li.newarticles-list{
  list-style: none;
  padding:10px;
  border-bottom:1px dotted lightgray;
}

li.newarticles-list:hover{
  opacity:0.8;
}

/* 固定ページ用 */
div.blog-detail{
	font-size:small;
}
.blog-subtitle {
	font-weight: bold;
}

/* プロフィールページ用 */
div.prof-img {
	text-align: center;
	margin-bottom: 0;
}
/* 投稿用 */
.ttl_line {
	position: relative;
  　padding: 0.6em 1em;
	background: #65c2e9;
	color: white;
	font-weight: bold;
}
.ttl_line::after {
	position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #65c2e9;
  width: 0;
  height: 0;
}

h2.title {
  position: relative;
	padding: 10px;
	background:none;
}

h2.title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: -webkit-repeating-linear-gradient(-45deg, #db6abf, #db6abf 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #db6abf, #db6abf 2px, #fff 2px, #fff 4px);
}

h2.prof-title {
	position: relative;
	padding: 0.5rem;
	text-align: center;
	background:none;
}

h2.prof-title:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #db6abf;
}

/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}


table.CF7_table tr th p, table.CF7_table tr td p{
	margin: 0;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 3px 6px 3px 6px;
	background: #db6abf;
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 3px 6px 3px 6px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
		text-align: left;
		font-size: medium;
	}
}



/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#db6abf;
	border:0;
	color:#fff;
	font-size:medium;
	font-weight:bold;
	margin:0 auto;
	width: 30%;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

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

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

/* ContactForm7カスタマイズ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

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

	div.top-contents-list {
		display: block;
	}
	
	a.top-contents{
		width:100%;
		display:block;
		margin-bottom: 10px;
	}
	
}
