@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){
  .tagline {
    display: none;
  }
}

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

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

/************************************
** その他
************************************/
/* タイトル、日付を非表示（固定ページすべて） */
.container {
  background-color: antiquewhite;
}

/* 投稿タイトル・投稿日を非表示（固定ページ） */
.page .entry-title,
.page .date-tags {
  display: none;
}

.main {
  padding-top: 0;
}

.body {
  background-color: #fff;
}

.content {
  margin-top: 0;
}

.logo-image {
  padding: 0;
}

/*マウスオーバー時のメニューの色を変更*/
#navi .navi-in a:hover{
  color: #d93!important;
  background: #ffffff;
  transition: all 0.5s ease;
}

/* ギャラリー画像の大きさを揃える */
.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: 0;
}

/************************************
** モバイルメニュー
************************************/
/* モバイルメニューのドロワー */
.navi-menu-content {
  background-color: rgba(221, 153, 51, 0.9);
  color: #fff;
}
.menu-drawer a {
  color: #fff;
  height: 3em;
}
.menu-drawer a:hover {
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(221, 153, 51, 0);
}
.mobile-menu-buttons .menu-icon {
  color: #d93;
}
label .menu-open .menu-button-in {
  border: 1px solid;
}

/************************************
** サイドバー
************************************/
/* お問い合わせセクション */
.fa-phone-square::before {
  color: #d93;
}
.contact_frame a {
  background-color: #d93;
  margin: 1em;
}
@media screen and (max-width: 1024px){
  .contact_frame a {
    max-width: 250px;
    margin: 1em auto;
  }
} 
/* アーカイブ、カテゴリー */
.widget_archive ul li a,
.widget_categories ul li a {
  font-size: 15px;
  color: #666666;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/*アーカイブ記事数*/
.widget_archive ul li a .post-count,
.widget_categories ul li a .post-count {
  border:1px solid #333333;
  border-radius: 5px;
  padding:1px 10px;
}
/*アーカイブ上線*/
.widget_archive ul li,
.widget_categories ul li {
  padding-left: 10px;
  border-top: 1px dotted #333333;
}

/************************************
** テーブルデザイン
************************************/
.wp-block-table thead {
  border-bottom: initial;
}
.wp-block-table thead tr th {
  border-bottom: 1px solid #fff;
}
.wp-block-table thead tr th:not(:last-child) {
  border-right: 1px solid #fff;
}
.wp-block-table tbody tr td:first-child {
  font-weight: bold;
  background-color: #eee;
  border-bottom: 1px solid #fff;
}
.wp-block-table tbody tr:last-child td:first-child {
  border-bottom: initial;
}

/************************************
** お問い合わせフォーム（Contact Form 7）
************************************/
.wpcf7 table {
  margin-top: 0.5rem;
}
.wpcf7 table th {
  text-align: left;
}
.wpcf7 table tr:not(:last-child) th {
  border-bottom: 1px solid #fff;
}

/* 送信ボタン */
.wpcf7 .submit-btn {
  text-align: center; /* 親要素の中央揃え */
}
input.wpcf7-submit{
  margin-top: 1rem;
  width:  200px;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  background-color: #d93;
  color: #fff;
  border-radius: 4px;
}

div.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 5px auto 0;
}

/* 必須と任意タグ */
.label_tag {
  font-size: 0.9em;
  font-weight: normal;
  color: #fff;
  border-radius: .3em;
  margin-right: 1em;
  padding: 5px 10px;
}
/* 必須タグ */
.label_must {
  background-color: #d93;
}
/* 任意タグ */
.label_option {
  background-color: #888;
}
/* レスポンシブ */
@media screen and (max-width: 768px){
	.wpcf7 table tr, .wpcf7 table td, .wpcf7 table th {
    display: block;
    width: 100%;
    line-height:2.5em;
	}
  .wpcf7 table td p, .wpcf7 table th p {
    margin-bottom: 0;
  }
}
