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

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

/*サイト名を消す*/
.site-name-text {
display: none;
}

/* ヘッダー全体の余白をなくす
.header {
  min-height: auto !important;
  padding: 0 !important;
}
 */

/* サイト名ブロック自体の余白をなくす */
.logo {
  padding: 0 !important;
  margin: 0 !important;
}

/*ボタン*/
.btn-flat-border {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #3D4259;
  border: solid 2px #3D4259;
  border-radius: 3px;
  transition: .4s;
}

.btn-flat-border:hover {
  background: #3D4259;
  color: white;
}

/* 角丸ボタン */
.btn-gradient-radius {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: #FFF;
  background: #3D4259;
  transition: .4s;
}

.btn-gradient-radius:hover {
  background: #3D4259;
  color: white;
}

/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}

/*フロント固定ページの投稿日を非表示*/
.home.page .post-date{
  display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
  display: none;
}

/* ブログカードの説明文（スニペット）を非表示 */
.blogcard-snippet {
  display: none;
}

/* トップのプロフィール */
/* パソコン用の設定（横並び） */
.responsive-box {
  display: flex;
  align-items: center; /* 上下の中央揃え */
  gap: 10px;           /* 画像と文字の間隔 */
}

/* スマホ用の設定（画面幅が767px以下のときに縦並び） */
@media (max-width: 767px) {
  .responsive-box {
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 左寄せにする（中央ならcenter） */
		gap: 3px;
  }
  .responsive-img {
    width: 100px; /* スマホ時の画像サイズ（100%にすれば横いっぱいに広がります） */
	}
}
/* トップのプロフィール終わり */

/* スマホ用の横幅 */
@media screen and (max-width: 834px){
  main.main {
      padding: 30px;
  }
} 

/* 問い合わせボタン */
a.btn_03 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  position: relative;
  background: #AD4D7D;
  border: 1px solid #AD4D7D;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 0 45px 0 25px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
}

a.btn_03:hover {
  background: #fff;
  color: #AD4D7D;
}
a.btn_03:hover:before {
  border-top: 2px solid #AD4D7D;
  border-right: 2px solid #AD4D7D;
}

/* 問い合わせボタン2 */
.nomadBtn2 {
  color: #FFF;
  border-radius: 50em 50em 50em 50em;
  background: #AD4D7D;
  padding: .7em 2em;
  display: inline-block;
  text-decoration: none;
}

/* 固定ページの新着記事一覧(new_list)をパソコンのみ3カラム表示にする */
@media (min-width: 767px) { 
.new-entry-cards.fp-new-entry-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.fp-new-entry-cards .new-entry-card-link.a-wrap {
    display: inline-block;
    width: 33.333%;
}
} 

/* SNS ボタンをまとめて丸くする */
/*シェア・フォローボタンの枠組み*/
.sns-share.ss-top .sns-share-buttons,
.sns-share.ss-bottom .sns-share-buttons,
.sns-follow.sf-bottom .sns-follow-buttons,
.sns-follow.sf-widget .sns-follow-buttons {
	justify-content: center; /*中央に寄せる*/
	flex-wrap: wrap; /*折り返す*/
}

/*シェア・フォローボタンのリンク*/
.sns-share.ss-top .sns-buttons a,
.sns-share.ss-bottom .sns-buttons a,
.sns-follow.sf-bottom .sns-buttons a,
.sns-follow.sf-widget .sns-buttons a {
	background-color: #c0c0c0; /*背景色*/
	color: #fff; /*文字色*/
	width: 40px; /*横幅*/
	height: 40px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 50%; /*丸み*/
}

/*プロフィールウィジェットのリンク*/
.sns-follow.sf-profile .sns-buttons a {
	border-radius: 50%; /*丸み*/
}

/*フォローボタンのアイコン*/
.sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 24px; /*アイコンの大きさ*/
}

/*シェア数の表示が必要ないシェア・フォローボタン*/
.sns-share.ss-top .sns-buttons a .share-count:empty,
.sns-share.ss-bottom .sns-buttons a .share-count:empty,
.sns-follow.sf-bottom .sns-buttons a .follow-count:empty,
.sns-follow.sf-widget .sns-buttons a .follow-count:empty {
	padding: 0; /*内側の余白*/
	border: 0; /*線*/
}

/*h2の余白を増やす*/
h2 {
  margin-top: 30px; /* 上の余白を空ける */
}

/*トップページのヘッダーを非表示*/
.page-id-236 header {
  display: none;
}

/*問い合わせフォームの幅*/
@media (min-width: 767px) { 
.wpcf7 input[name="your-name"] { /* 名前入力欄 */
	width: 70%;
}
.wpcf7 input[name="your-email"] { /* メール入力欄 */
	width: 70%;
}
.wpcf7 input[name="your-subject"] { /* タイトル入力欄 */
	width: 70%;
}
.wpcf7 textarea[name="your-message"] { /* 本文入力欄 */
	width: 70%;
}
}

/*問い合わせフォームのボタンのデザイン変更*/
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 15px;
  font-weight: bold;
  width: 200px;
  padding: 10px;
  border-radius: 10px;
  background-color: #3D4259;
  border: none;
  color: #fff;
  cursor: pointer;
}
span.wpcf7-spinner {
  display: none;
}

/* スマホだけ表示 */
/* 初期状態は非表示 */
.sp-only {
  display: none;
}

/* 画面幅が768px以下の場合に表示 */
@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}
/* スマホだけ表示おわり */

/* パソコンだけ表示 */
/* 初期状態（スマホなど）は非表示 */
.pc-only {
 display: none; 
} 

/* 画面幅が769px以上（PC）の場合に表示 */ 
@media screen and (min-width: 769px) {
  .pc-only {
    display: block;
  }
}
/* パソコンだけ表示おわり */

/* タグページのタイトル（H1など）を非表示にする */
#archive-title { display: none; }

/* タグクラウド */
.tagcloud a {
	background: none; /*背景を消す*/
	border: 1px solid #8e8e8e; 
	border-radius: 20px; /*角の丸み*/
	color: #8e8e8e; /*文字色*/
	display: inline-block;
	padding: 3px 10px;
	text-decoration: none;
	font-size: 13px;
	margin: 2px;
	flex: 0 1 auto;
	display: flex;
	justify-content: space-between;
}

.tag-caption .fa-tag {
	display: none;
}

.tagcloud a .tag-caption::before {
	content: "#"; /*アイコンの変更*/
	padding-right: 3px;
}

.tagcloud a:hover { /*マウスホバー時*/
	background: #8e8e8e;
	border: 1px solid #8e8e8e;
	color: #fff;
	transition: 0.5s; /*アニメーションの時間*/
}

/*パソコン段組み（その他用）*/
.col-wrap {
  display: flex;
  gap: 25px; /* 左右のすき間 */
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.col-box {
  flex: 1;
  min-width: 280px; /* スマホ表示時に縦積みになる境界 */
}


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

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

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