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

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

/************************************
** プロフィールのリンクアイコン
************************************/

/* リンクアイコンの基本設定 */
.author-box .sns-follow .sns-follow-buttons a.follow-button {
  font-size: 22px;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  margin-right: 6px;
  color: #fff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 5px 0 rgba(0,0,0,.1),0 3px 5px 0 rgba(0,0,0,.2);
}

/* リンクアイコンをセンタリングする */
.author-box .sns-follow-buttons a.follow-button span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

/* リンクアイコンの背景色にSNSのブランドカラーを設定する */
.author-box .sns-follow-buttons a.twitter-button {
  background-color: #000 !important;
}
.author-box .sns-follow-buttons a.instagram-button {
  background-color: #405de6 !important;
}
.author-box .sns-follow-buttons a.youtube-button {
  background-color: #cd201f !important;
}
.author-box .sns-follow-buttons a.note-button {
  background-color: #41c9b4 !important;
}
.author-box .sns-follow-buttons a.feedly-button {
  background-color: #6cc655 !important;
}
.author-box .sns-follow-buttons a.rss-button {
  background-color: #f26522 !important;
}

/************************************
** お問い合わせフォーム
************************************/

/*基本デザイン*/
#cf-tbl{
	width: 100%;
}

#cf-tbl table{
	width: 100%;
	border-collapse: collapse;
	border: solid #CCC;
	border-width: 1px;
	color: #444;
}
#cf-tbl table tr th,
#cf-tbl table tr td{
	padding: 0.5em;
	text-align: left;
	vertical-align: top;
	border: solid #CCC;
	border-width: 1px;
	vertical-align: middle;
}
#cf-tbl table tr th{
	width: 35%;
	background: #eee;
}
#cf-tbl table tr td{
	background: #fff;
}
@media screen and (max-width:768px){
	#cf-tbl{
		width: 100%;
	}
	
	#cf-tbl table,
	#cf-tbl table tbody,
	#cf-tbl table tr,
	#cf-tbl table tr th,
	#cf-tbl table tr td{
		display: block;
	}
	
	#cf-tbl table{
		width: 100%;
		border-width: 0 0 1px 0;
	}
	
	#cf-tbl table tr th,
	#cf-tbl table tr td{
		width: 100%;
		padding: 3% 5%;
	}
	
	#cf-tbl table tr td{
		border-width: 0px 1px 0px 1px;
	}
}
/*「必須」文字デザイン*/
#cf-tbl .required{
	font-size: .8em;
	padding: 5px;
	background: #F57500;
	color: #fff;
	border-radius: 3px;
	margin-right: 5px;
}
/*「任意」文字デザイン*/
#cf-tbl .optional{
	font-size: .8em;
	padding: 5px;
	background: #000080;
	color: #fff;
	border-radius: 3px;
	margin-right: 5px;
}
/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
	background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}
/* 「送信する」ボタン */
input.wpcf7-submit {
    display: block;
    padding: 15px;
    width: 400px;
    background: #393f4c;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 15px auto 0
}
@media screen and (max-width:768px){
	input.wpcf7-submit {
		width: 250px;
	}
}
input.wpcf7-submit:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}
/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}
/*reCAPTCHAの使用を明示*/
#cf-txt{
	font-size: 12px;
	color: #ccc;
	text-align: center;
}

/************************************
************************************/

/*必要ならばここにコードを書く*/

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

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

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