@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){
  /*必要ならばここにコードを書く*/
}

/************************************
** 筆者プロフィール
************************************/
.widget_author_box .author-box {
    border: none;
    padding: unset;
}
.widget_author_box .author-widget-name {
    margin-bottom: 1em;
    color: gray;
    font-size: smaller;
}
.widget_author_box .author-box .author-name {
    margin-bottom: 1em;
}
.widget_author_box .author-box .author-name a:where(:not(.wp-element-button)) {
    text-decoration: unset;
	color: var(--cocoon-text-color);
}
.widget_author_box .author-box p {
    margin-top: 0.6em;
	line-height: 1.5;
}
.widget_author_box .author-box .icon-home-logo:before {
    content: "\f83b";
}
.widget_author_box .author-box .feedly-button, .author-box .rss-button {
    display: none;
}

.under-entry-content h2 {
	padding-bottom: 1em;
}
.under-entry-content .author-content {
    margin-left: 145px;
}
.under-entry-content .author-name {
    position: absolute;
    left: 15px;
    top: 140px;
}
@media screen and (max-width: 480px) {
    .under-entry-content .author-content {
        margin-left: 28%;
    }
	.under-entry-content .author-name {
        top: 115px;
    }
}

/************************************
** Contact Form 7
************************************/
/* フォームの上部をあける */
.contact-form-container{
	margin-top: 3rem;
}

/* フォーム項目の間隔をあける */
.form-group {
    margin-bottom: 1.5em;
}

/* ラベルを太字にしてブロック要素にする（改行させる） */
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

/* 説明文は小さく薄い色 */
.form-description {
	font-size: small;
	color: gray;
}

/* 必須マークを赤くする */
.required {
    color: #c00;
}

/* 入力欄を幅いっぱいに広げる（スマホ対応） */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box; /* 枠線を含めた幅計算 */
}

/* フォームボタン */
.wpcf7-submit {
	background-color: #13223b !important;
	color: #fff !important;
	border-radius: 4px;
	transition: 0.2s ease;
}
.wpcf7-submit:hover {
	background-color: #0af2d4 !important;
	color: #13223b !important;
	transition: 0.2s ease;
}